Started by user Lukas Jungmann Rebuilds build #7 Running as Lukas Jungmann Agent basic-t6gwj is provisioned from template basic --- apiVersion: "v1" kind: "Pod" metadata: annotations: {} labels: jenkins: "slave" jenkins/label-digest: "61a7508ed1b04e9ada836fcd14d4d8ef5687c7dd" jenkins/label: "basic" name: "basic-t6gwj" namespace: "tyrus" spec: containers: - env: - name: "JENKINS_SECRET" value: "********" - name: "JENKINS_TUNNEL" value: "jenkins-discovery.tyrus.svc.cluster.local:50000" - name: "JENKINS_AGENT_NAME" value: "basic-t6gwj" - name: "JENKINS_REMOTING_JAVA_OPTS" value: "-showversion -XshowSettings:vm -Xmx256m -Dorg.jenkinsci.remoting.engine.JnlpProtocol3.disabled=true\ \ -Dorg.jenkinsci.plugins.gitclient.CliGitAPIImpl.useSETSID=true" - name: "JAVA_TOOL_OPTIONS" value: "" - name: "_JAVA_OPTIONS" value: "" - name: "OPENJ9_JAVA_OPTIONS" value: "-XX:+IgnoreUnrecognizedVMOptions -XX:+IdleTuningCompactOnIdle -XX:+IdleTuningGcOnIdle" - name: "JENKINS_NAME" value: "basic-t6gwj" - name: "JENKINS_AGENT_WORKDIR" value: "/home/jenkins/agent" - name: "JENKINS_URL" value: "http://jenkins-ui.tyrus.svc.cluster.local/tyrus/" image: "docker.io/eclipsecbi/jiro-agent-basic:remoting-4.13" imagePullPolicy: "Always" name: "jnlp" resources: limits: cpu: "2000m" memory: "4096Mi" requests: cpu: "1000m" memory: "4096Mi" tty: true volumeMounts: - mountPath: "/home/jenkins/.m2/toolchains.xml" name: "m2-dir" readOnly: true subPath: "toolchains.xml" - mountPath: "/home/jenkins/.mavenrc" name: "m2-dir" readOnly: true subPath: ".mavenrc" - mountPath: "/opt/tools" name: "volume-0" readOnly: false - mountPath: "/home/jenkins" name: "volume-2" readOnly: false - mountPath: "/home/jenkins/.m2/repository" name: "volume-3" readOnly: false - mountPath: "/home/jenkins/.m2/settings-security.xml" name: "m2-secret-dir" readOnly: true subPath: "settings-security.xml" - mountPath: "/home/jenkins/.m2/wrapper" name: "volume-4" readOnly: false - mountPath: "/home/jenkins/.m2/settings.xml" name: "m2-secret-dir" readOnly: true subPath: "settings.xml" - mountPath: "/home/jenkins/.ssh" name: "volume-1" readOnly: false subPath: "" - mountPath: "/home/jenkins/agent" name: "workspace-volume" readOnly: false workingDir: "/home/jenkins/agent" nodeSelector: kubernetes.io/os: "linux" restartPolicy: "Never" volumes: - name: "volume-0" persistentVolumeClaim: claimName: "tools-claim-jiro-tyrus" readOnly: true - name: "m2-secret-dir" secret: secretName: "m2-secret-dir" - emptyDir: medium: "" name: "volume-2" - configMap: name: "m2-dir" name: "m2-dir" - configMap: name: "known-hosts" name: "volume-1" - emptyDir: medium: "" name: "workspace-volume" - emptyDir: medium: "" name: "volume-4" - emptyDir: medium: "" name: "volume-3" Building remotely on basic-t6gwj (basic) in workspace /home/jenkins/agent/workspace/documentation-update-after-release [ssh-agent] Looking for ssh-agent implementation... [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) $ ssh-agent SSH_AUTH_SOCK=/tmp/ssh-qfir3bnv4GEW/agent.69 SSH_AGENT_PID=71 [ssh-agent] Started. Running ssh-add (command line suppressed) Identity added: /home/jenkins/agent/workspace/documentation-update-after-release@tmp/private_key_15512885297982129180.key (/home/jenkins/agent/workspace/documentation-update-after-release@tmp/private_key_15512885297982129180.key) [ssh-agent] Using credentials tyrus-bot (GitHub bot SSH) Selected Git installation does not exist. Using Default The recommended git tool is: NONE using credential github-bot-ssh Cloning the remote Git repository Cloning repository git@github.com:eclipse-ee4j/tyrus.git > git init /home/jenkins/agent/workspace/documentation-update-after-release # timeout=10 Fetching upstream changes from git@github.com:eclipse-ee4j/tyrus.git > git --version # timeout=10 > git --version # 'git version 2.20.1' using GIT_SSH to set credentials GitHub bot SSH [INFO] Currently running in a labeled security context > /usr/bin/chcon --type=ssh_home_t /home/jenkins/agent/workspace/documentation-update-after-release@tmp/jenkins-gitclient-ssh13522894251838930351.key > git fetch --tags --force --progress -- git@github.com:eclipse-ee4j/tyrus.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:eclipse-ee4j/tyrus.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch > git rev-parse refs/remotes/origin/master^{commit} # timeout=10 Checking out Revision 374b2e03b05c487b8f6be0c0476acf9dd1279412 (refs/remotes/origin/master) > git config core.sparsecheckout # timeout=10 > git checkout -f 374b2e03b05c487b8f6be0c0476acf9dd1279412 # timeout=10 Commit message: "Prepare next development cycle for 1.99-SNAPSHOT" > git rev-list --no-walk 422e0d06889b42d5cd7c2c8123acd803945f821a # timeout=10 [documentation-update-after-release] $ /bin/bash -ex /tmp/jenkins4661154795469631574.sh + TOOLS_PREFIX=/opt/tools + MVN_HOME=/opt/tools/apache-maven/latest + PATH='/opt/tools/apache-maven/latest/bin:{JAVA_HOME}/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin' + [[ 1.19 == 2* ]] + export LATEST_DIRS=latest1x + LATEST_DIRS=latest1x + git checkout 1.19 Previous HEAD position was 374b2e0 Prepare next development cycle for 1.99-SNAPSHOT HEAD is now at 8951cf2 Prepare release org.glassfish.tyrus:tyrus-project:1.19 + sed -i 's|2.9.1|\$\{maven-javadoc-plugin.version\}|g' pom.xml + mvn -B -V -Dfindbugs.skip=true -Dgpg.skip=true -Dcheckstyle.skip=true -DskipTests -Ddoclint:none clean install -Pstaging,release,javadoc-bundle,bundles Apache Maven 3.8.5 (3599d3414f046de2324203b78ddcf9b5e4388aa0) Maven home: /opt/tools/apache-maven/latest Java version: 11.0.2, vendor: Oracle Corporation, runtime: /opt/tools/java/openjdk/jdk-11/11.0.2+9 Default locale: en_US, platform encoding: UTF-8 OS name: "linux", version: "5.14.14-200.fc34.x86_64", arch: "amd64", family: "unix" [INFO] Scanning for projects... [INFO] ------------------------------------------------------------------------ [INFO] Reactor Build Order: [INFO] [INFO] tyrus [pom] [INFO] tyrus-archetypes [pom] [INFO] Tyrus Echo Archetype [jar] [INFO] Tyrus BOM [pom] [INFO] Tyrus Container SPI [bundle] [INFO] Tyrus Core [bundle] [INFO] Tyrus Client [bundle] [INFO] Tyrus Container Modules [pom] [INFO] Tyrus Containers For Glassfish [pom] [INFO] Tyrus CDI Component Provider [bundle] [INFO] Tyrus EJB Component Provider [bundle] [INFO] Tyrus Grizzly Client Container [bundle] [INFO] Tyrus Server [bundle] [INFO] Tyrus Grizzly Server Container [bundle] [INFO] Tyrus InMemory Container [bundle] [INFO] Tyrus Servlet Bundle [bundle] [INFO] Tyrus Tests [pom] [INFO] Tyrus Test Tools [bundle] [INFO] Tyrus JDK Client Container [bundle] [INFO] Tyrus Documentation [pom] [INFO] Tyrus Extension Modules [pom] [INFO] Tyrus CLI Client [bundle] [INFO] Tyrus Monitoring JMX [jar] [INFO] Tyrus Extension - Per Message Deflate [bundle] [INFO] Tyrus Java8 Client Extension [bundle] [INFO] Tyrus Samples [pom] [INFO] Tyrus Auction Sample [war] [INFO] Tyrus CDI Sample [war] [INFO] Tyrus Chat Sample [war] [INFO] Tyrus Draw Sample [war] [INFO] Tyrus Echo Sample [war] [INFO] Tyrus Basic Auth Sample [war] [INFO] Tyrus Secure Echo Sample [war] [INFO] Tyrus Programmatic Echo Sample [war] [INFO] Tyrus Simple Life Sample [war] [INFO] Tyrus Shared Collection Sample [war] [INFO] Tyrus End-to-End Tests [pom] [INFO] Tyrus End-to-End Application Config Tests [war] [INFO] Tyrus End-to-End Non-deployable Tests [war] [INFO] Tyrus End-to-End Standard Config Tests [war] [INFO] Tyrus End-to-End Java 8 Tests [war] [INFO] Tyrus End-to-End Tests running on Jetty [pom] [INFO] Tyrus End-to-End Basic Auth Tests [jar] [INFO] Tyrus End-to-End Digest Auth Tests [jar] [INFO] Tyrus Server Integration Tests [pom] [INFO] Tyrus Servlet Async Tests [war] [INFO] Tyrus Autobahn Echo Server [war] [INFO] Tyrus Servlet Basic Tests [war] [INFO] Tyrus Servlet Dynamic Deploy Test [war] [INFO] Tyrus Servlet No App Config [war] [INFO] Tyrus Servlet One App Config [war] [INFO] Tyrus Servlet RemoteEndpoint Timeout [war] [INFO] Tyrus Servlet Session Closing [war] [INFO] Tyrus Servlet Two App Config [war] [INFO] Tyrus Servlet Monitoring Test [war] [INFO] Tyrus Servlet Inject Test [war] [INFO] Tyrus Servlet Max Sessions Per App Tests [war] [INFO] Tyrus Servlet Max Sessions Per Remote Addr Tests [war] [INFO] Tyrus Debug Debug Samples [war] [INFO] Tyrus Bundles [pom] [INFO] Tyrus Samples Bundle [pom] [INFO] Tyrus Standalone Client [jar] [INFO] Tyrus Standalone Client - JDK [jar] [INFO] Tyrus Websocket RI Archive [pom] [INFO] Tyrus Websocket RI Bundle [bundle] [INFO] [INFO] -----------------< org.glassfish.tyrus:tyrus-project >------------------ [INFO] Building tyrus 1.19 [1/65] [INFO] --------------------------------[ pom ]--------------------------------- [INFO] [INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ tyrus-project --- [INFO] [INFO] --- maven-checkstyle-plugin:3.0.0:check (default) @ tyrus-project --- [INFO] [INFO] --- maven-source-plugin:2.2.1:jar-no-fork (attach-sources) @ tyrus-project --- [INFO] [INFO] --- maven-install-plugin:2.4:install (default-install) @ tyrus-project --- [INFO] Installing /home/jenkins/agent/workspace/documentation-update-after-release/pom.xml to /home/jenkins/.m2/repository/org/glassfish/tyrus/tyrus-project/1.19/tyrus-project-1.19.pom [INFO] [INFO] ------< org.glassfish.tyrus.archetypes:tyrus-archetypes-project >------- [INFO] Building tyrus-archetypes 1.19 [2/65] [INFO] --------------------------------[ pom ]--------------------------------- [INFO] [INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ tyrus-archetypes-project --- [INFO] [INFO] --- maven-checkstyle-plugin:3.0.0:check (default) @ tyrus-archetypes-project --- [INFO] [INFO] --- maven-source-plugin:2.2.1:jar-no-fork (attach-sources) @ tyrus-archetypes-project --- [INFO] [INFO] --- maven-gpg-plugin:1.6:sign (sign-artifact) @ tyrus-archetypes-project --- [INFO] [INFO] --- maven-install-plugin:2.4:install (default-install) @ tyrus-archetypes-project --- [INFO] Installing /home/jenkins/agent/workspace/documentation-update-after-release/archetypes/pom.xml to /home/jenkins/.m2/repository/org/glassfish/tyrus/archetypes/tyrus-archetypes-project/1.19/tyrus-archetypes-project-1.19.pom [INFO] [INFO] --------< org.glassfish.tyrus.archetypes:tyrus-archetype-echo >--------- [INFO] Building Tyrus Echo Archetype 1.19 [3/65] [INFO] --------------------------------[ jar ]--------------------------------- [INFO] [INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ tyrus-archetype-echo --- [INFO] [INFO] --- maven-checkstyle-plugin:3.0.0:check (default) @ tyrus-archetype-echo --- [INFO] [INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ tyrus-archetype-echo --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] Copying 5 resources [INFO] [INFO] --- maven-compiler-plugin:3.1:compile (default-compile) @ tyrus-archetype-echo --- [INFO] No sources to compile [INFO] [INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ tyrus-archetype-echo --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] skip non existing resourceDirectory /home/jenkins/agent/workspace/documentation-update-after-release/archetypes/echo/src/test/resources [INFO] [INFO] --- maven-compiler-plugin:3.1:testCompile (default-testCompile) @ tyrus-archetype-echo --- [INFO] No sources to compile [INFO] [INFO] --- maven-surefire-plugin:2.17:test (default-test) @ tyrus-archetype-echo --- [INFO] Tests are skipped. [INFO] [INFO] --- maven-jar-plugin:2.4:jar (default-jar) @ tyrus-archetype-echo --- [INFO] Building jar: /home/jenkins/agent/workspace/documentation-update-after-release/archetypes/echo/target/tyrus-archetype-echo-1.19.jar [INFO] [INFO] --- maven-source-plugin:2.2.1:jar-no-fork (attach-sources) @ tyrus-archetype-echo --- [INFO] Building jar: /home/jenkins/agent/workspace/documentation-update-after-release/archetypes/echo/target/tyrus-archetype-echo-1.19-sources.jar [INFO] [INFO] --- maven-gpg-plugin:1.6:sign (sign-artifact) @ tyrus-archetype-echo --- [INFO] [INFO] --- maven-install-plugin:2.4:install (default-install) @ tyrus-archetype-echo --- [INFO] Installing /home/jenkins/agent/workspace/documentation-update-after-release/archetypes/echo/target/tyrus-archetype-echo-1.19.jar to /home/jenkins/.m2/repository/org/glassfish/tyrus/archetypes/tyrus-archetype-echo/1.19/tyrus-archetype-echo-1.19.jar [INFO] Installing /home/jenkins/agent/workspace/documentation-update-after-release/archetypes/echo/pom.xml to /home/jenkins/.m2/repository/org/glassfish/tyrus/archetypes/tyrus-archetype-echo/1.19/tyrus-archetype-echo-1.19.pom [INFO] Installing /home/jenkins/agent/workspace/documentation-update-after-release/archetypes/echo/target/tyrus-archetype-echo-1.19-sources.jar to /home/jenkins/.m2/repository/org/glassfish/tyrus/archetypes/tyrus-archetype-echo/1.19/tyrus-archetype-echo-1.19-sources.jar [INFO] [INFO] --- maven-archetype-plugin:2.2:update-local-catalog (update-local-catalog) @ tyrus-archetype-echo --- [INFO] [INFO] -------------------< org.glassfish.tyrus:tyrus-bom >-------------------- [INFO] Building Tyrus BOM 1.19 [4/65] [INFO] --------------------------------[ pom ]--------------------------------- [INFO] [INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ tyrus-bom --- [INFO] [INFO] --- maven-install-plugin:2.4:install (default-install) @ tyrus-bom --- [INFO] Installing /home/jenkins/agent/workspace/documentation-update-after-release/bom/pom.xml to /home/jenkins/.m2/repository/org/glassfish/tyrus/tyrus-bom/1.19/tyrus-bom-1.19.pom [INFO] [INFO] -------------------< org.glassfish.tyrus:tyrus-spi >-------------------- [INFO] Building Tyrus Container SPI 1.19 [5/65] [INFO] -------------------------------[ bundle ]------------------------------- [INFO] [INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ tyrus-spi --- [INFO] [INFO] --- maven-checkstyle-plugin:3.0.0:check (default) @ tyrus-spi --- [INFO] [INFO] --- maven-resources-plugin:3.2.0:resources (default-resources) @ tyrus-spi --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] Using 'UTF-8' encoding to copy filtered properties files. [INFO] skip non existing resourceDirectory /home/jenkins/agent/workspace/documentation-update-after-release/spi/src/main/resources [INFO] [INFO] --- maven-compiler-plugin:3.1:compile (default-compile) @ tyrus-spi --- [INFO] Changes detected - recompiling the module! [INFO] Compiling 13 source files to /home/jenkins/agent/workspace/documentation-update-after-release/spi/target/classes [WARNING] /home/jenkins/agent/workspace/documentation-update-after-release/spi/src/main/java/org/glassfish/tyrus/spi/ServerContainerFactory.java: /home/jenkins/agent/workspace/documentation-update-after-release/spi/src/main/java/org/glassfish/tyrus/spi/ServerContainerFactory.java uses or overrides a deprecated API. [WARNING] /home/jenkins/agent/workspace/documentation-update-after-release/spi/src/main/java/org/glassfish/tyrus/spi/ServerContainerFactory.java: Recompile with -Xlint:deprecation for details. [INFO] [INFO] --- maven-resources-plugin:3.2.0:testResources (default-testResources) @ tyrus-spi --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] Using 'UTF-8' encoding to copy filtered properties files. [INFO] skip non existing resourceDirectory /home/jenkins/agent/workspace/documentation-update-after-release/spi/src/test/resources [INFO] [INFO] --- maven-compiler-plugin:3.1:testCompile (default-testCompile) @ tyrus-spi --- [INFO] No sources to compile [INFO] [INFO] --- maven-surefire-plugin:2.17:test (default-test) @ tyrus-spi --- [INFO] Tests are skipped. [INFO] [INFO] --- maven-bundle-plugin:2.4.0:bundle (default-bundle) @ tyrus-spi --- [INFO] [INFO] --- maven-source-plugin:2.2.1:jar-no-fork (attach-sources) @ tyrus-spi --- [INFO] Building jar: /home/jenkins/agent/workspace/documentation-update-after-release/spi/target/tyrus-spi-1.19-sources.jar [INFO] [INFO] --- maven-install-plugin:3.0.0-M1:install (default-install) @ tyrus-spi --- [INFO] Installing /home/jenkins/agent/workspace/documentation-update-after-release/spi/target/tyrus-spi-1.19.jar to /home/jenkins/.m2/repository/org/glassfish/tyrus/tyrus-spi/1.19/tyrus-spi-1.19.jar [INFO] Installing /home/jenkins/agent/workspace/documentation-update-after-release/spi/pom.xml to /home/jenkins/.m2/repository/org/glassfish/tyrus/tyrus-spi/1.19/tyrus-spi-1.19.pom [INFO] Installing /home/jenkins/agent/workspace/documentation-update-after-release/spi/target/tyrus-spi-1.19-sources.jar to /home/jenkins/.m2/repository/org/glassfish/tyrus/tyrus-spi/1.19/tyrus-spi-1.19-sources.jar [INFO] [INFO] --- maven-bundle-plugin:2.4.0:install (default-install) @ tyrus-spi --- [INFO] Writing OBR metadata [INFO] Installing org/glassfish/tyrus/tyrus-spi/1.19/tyrus-spi-1.19.jar [INFO] Writing OBR metadata [INFO] [INFO] -------------------< org.glassfish.tyrus:tyrus-core >------------------- [INFO] Building Tyrus Core 1.19 [6/65] [INFO] -------------------------------[ bundle ]------------------------------- [INFO] [INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ tyrus-core --- [INFO] [INFO] --- maven-checkstyle-plugin:3.0.0:check (default) @ tyrus-core --- [INFO] [INFO] --- build-helper-maven-plugin:1.8:parse-version (parse-version) @ tyrus-core --- [INFO] [INFO] --- maven-istack-commons-plugin:2.6.1:rs-gen (default) @ tyrus-core --- Resources: org/glassfish/tyrus/core/l10n/localization.properties Processing /home/jenkins/agent/workspace/documentation-update-after-release/core/src/main/resources/org/glassfish/tyrus/core/l10n/localization.properties org/glassfish/tyrus/core/l10n/LocalizationMessages.java [INFO] [INFO] --- build-helper-maven-plugin:1.8:add-source (default) @ tyrus-core --- [INFO] Source directory: /home/jenkins/agent/workspace/documentation-update-after-release/core/target/generated-sources/rsrc-gen added. [INFO] [INFO] --- maven-jaxb-plugin:1.1.1:generate (default) @ tyrus-core --- [INFO] /home/jenkins/agent/workspace/documentation-update-after-release/core/target/generated-sources/xjc/org/glassfish/tyrus/core/wsadl/model is not found and thus excluded from the dependency check [INFO] Compiling file:/home/jenkins/agent/workspace/documentation-update-after-release/core/etc/wsadl.xsd [INFO] Writing output to /home/jenkins/agent/workspace/documentation-update-after-release/core/target/generated-sources/xjc [INFO] [INFO] --- maven-resources-plugin:3.2.0:resources (default-resources) @ tyrus-core --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] Using 'UTF-8' encoding to copy filtered properties files. [INFO] Copying 2 resources [INFO] The encoding used to copy filtered properties files have not been set. This means that the same encoding will be used to copy filtered properties files as when copying other filtered resources. This might not be what you want! Run your build with --debug to see which files might be affected. Read more at https://maven.apache.org/plugins/maven-resources-plugin/examples/filtering-properties-files.html [INFO] [INFO] --- maven-compiler-plugin:3.1:compile (default-compile) @ tyrus-core --- [INFO] Changes detected - recompiling the module! [INFO] Compiling 115 source files to /home/jenkins/agent/workspace/documentation-update-after-release/core/target/classes [WARNING] /home/jenkins/agent/workspace/documentation-update-after-release/core/src/main/java/org/glassfish/tyrus/core/BaseContainer.java: Some input files use or override a deprecated API. [WARNING] /home/jenkins/agent/workspace/documentation-update-after-release/core/src/main/java/org/glassfish/tyrus/core/BaseContainer.java: Recompile with -Xlint:deprecation for details. [WARNING] /home/jenkins/agent/workspace/documentation-update-after-release/core/src/main/java/org/glassfish/tyrus/core/uri/internal/AbstractMultivaluedMap.java: Some input files use unchecked or unsafe operations. [WARNING] /home/jenkins/agent/workspace/documentation-update-after-release/core/src/main/java/org/glassfish/tyrus/core/uri/internal/AbstractMultivaluedMap.java: Recompile with -Xlint:unchecked for details. [INFO] [INFO] --- maven-resources-plugin:3.2.0:testResources (default-testResources) @ tyrus-core --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] Using 'UTF-8' encoding to copy filtered properties files. [INFO] skip non existing resourceDirectory /home/jenkins/agent/workspace/documentation-update-after-release/core/src/test/resources [INFO] [INFO] --- maven-compiler-plugin:3.1:testCompile (default-testCompile) @ tyrus-core --- [INFO] Changes detected - recompiling the module! [INFO] Compiling 15 source files to /home/jenkins/agent/workspace/documentation-update-after-release/core/target/test-classes [WARNING] /home/jenkins/agent/workspace/documentation-update-after-release/core/src/test/java/org/glassfish/tyrus/core/uri/BestMatchTest.java: Some input files use or override a deprecated API. [WARNING] /home/jenkins/agent/workspace/documentation-update-after-release/core/src/test/java/org/glassfish/tyrus/core/uri/BestMatchTest.java: Recompile with -Xlint:deprecation for details. [INFO] [INFO] --- maven-surefire-plugin:2.17:test (default-test) @ tyrus-core --- [INFO] Tests are skipped. [INFO] [INFO] --- maven-bundle-plugin:2.4.0:bundle (default-bundle) @ tyrus-core --- [WARNING] Bundle org.glassfish.tyrus:tyrus-core:bundle:1.19 : Unused Export-Package instructions: [org.glassfish.tyrus.core.coder.*, org.glassfish.tyrus.core.extension.*, org.glassfish.tyrus.core.cluster.*, org.glassfish.tyrus.core.frame.*, org.glassfish.tyrus.core.wsadl.model.*] [INFO] [INFO] --- maven-source-plugin:2.2.1:jar-no-fork (attach-sources) @ tyrus-core --- [INFO] Building jar: /home/jenkins/agent/workspace/documentation-update-after-release/core/target/tyrus-core-1.19-sources.jar [INFO] [INFO] --- maven-install-plugin:3.0.0-M1:install (default-install) @ tyrus-core --- [INFO] Installing /home/jenkins/agent/workspace/documentation-update-after-release/core/target/tyrus-core-1.19.jar to /home/jenkins/.m2/repository/org/glassfish/tyrus/tyrus-core/1.19/tyrus-core-1.19.jar [INFO] Installing /home/jenkins/agent/workspace/documentation-update-after-release/core/pom.xml to /home/jenkins/.m2/repository/org/glassfish/tyrus/tyrus-core/1.19/tyrus-core-1.19.pom [INFO] Installing /home/jenkins/agent/workspace/documentation-update-after-release/core/target/tyrus-core-1.19-sources.jar to /home/jenkins/.m2/repository/org/glassfish/tyrus/tyrus-core/1.19/tyrus-core-1.19-sources.jar [INFO] [INFO] --- maven-bundle-plugin:2.4.0:install (default-install) @ tyrus-core --- [INFO] Installing org/glassfish/tyrus/tyrus-core/1.19/tyrus-core-1.19.jar [INFO] Writing OBR metadata [INFO] [INFO] ------------------< org.glassfish.tyrus:tyrus-client >------------------ [INFO] Building Tyrus Client 1.19 [7/65] [INFO] -------------------------------[ bundle ]------------------------------- [INFO] [INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ tyrus-client --- [INFO] [INFO] --- maven-checkstyle-plugin:3.0.0:check (default) @ tyrus-client --- [INFO] [INFO] --- maven-resources-plugin:3.2.0:resources (default-resources) @ tyrus-client --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] Using 'UTF-8' encoding to copy filtered properties files. [INFO] skip non existing resourceDirectory /home/jenkins/agent/workspace/documentation-update-after-release/client/src/main/resources [INFO] [INFO] --- maven-compiler-plugin:3.1:compile (default-compile) @ tyrus-client --- [INFO] Changes detected - recompiling the module! [INFO] Compiling 15 source files to /home/jenkins/agent/workspace/documentation-update-after-release/client/target/classes [WARNING] /home/jenkins/agent/workspace/documentation-update-after-release/client/src/main/java/org/glassfish/tyrus/client/ClientManager.java: /home/jenkins/agent/workspace/documentation-update-after-release/client/src/main/java/org/glassfish/tyrus/client/ClientManager.java uses unchecked or unsafe operations. [WARNING] /home/jenkins/agent/workspace/documentation-update-after-release/client/src/main/java/org/glassfish/tyrus/client/ClientManager.java: Recompile with -Xlint:unchecked for details. [INFO] [INFO] --- maven-resources-plugin:3.2.0:testResources (default-testResources) @ tyrus-client --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] Using 'UTF-8' encoding to copy filtered properties files. [INFO] skip non existing resourceDirectory /home/jenkins/agent/workspace/documentation-update-after-release/client/src/test/resources [INFO] [INFO] --- maven-compiler-plugin:3.1:testCompile (default-testCompile) @ tyrus-client --- [INFO] Changes detected - recompiling the module! [INFO] Compiling 4 source files to /home/jenkins/agent/workspace/documentation-update-after-release/client/target/test-classes [INFO] [INFO] --- maven-surefire-plugin:2.17:test (default-test) @ tyrus-client --- [INFO] Tests are skipped. [INFO] [INFO] --- maven-bundle-plugin:2.4.0:bundle (default-bundle) @ tyrus-client --- [INFO] [INFO] --- maven-source-plugin:2.2.1:jar-no-fork (attach-sources) @ tyrus-client --- [INFO] Building jar: /home/jenkins/agent/workspace/documentation-update-after-release/client/target/tyrus-client-1.19-sources.jar [INFO] [INFO] --- maven-install-plugin:3.0.0-M1:install (default-install) @ tyrus-client --- [INFO] Installing /home/jenkins/agent/workspace/documentation-update-after-release/client/target/tyrus-client-1.19.jar to /home/jenkins/.m2/repository/org/glassfish/tyrus/tyrus-client/1.19/tyrus-client-1.19.jar [INFO] Installing /home/jenkins/agent/workspace/documentation-update-after-release/client/pom.xml to /home/jenkins/.m2/repository/org/glassfish/tyrus/tyrus-client/1.19/tyrus-client-1.19.pom [INFO] Installing /home/jenkins/agent/workspace/documentation-update-after-release/client/target/tyrus-client-1.19-sources.jar to /home/jenkins/.m2/repository/org/glassfish/tyrus/tyrus-client/1.19/tyrus-client-1.19-sources.jar [INFO] [INFO] --- maven-bundle-plugin:2.4.0:install (default-install) @ tyrus-client --- [INFO] Installing org/glassfish/tyrus/tyrus-client/1.19/tyrus-client-1.19.jar [INFO] Writing OBR metadata [INFO] [INFO] ------------< org.glassfish.tyrus:tyrus-containers-project >------------ [INFO] Building Tyrus Container Modules 1.19 [8/65] [INFO] --------------------------------[ pom ]--------------------------------- [INFO] [INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ tyrus-containers-project --- [INFO] [INFO] --- maven-checkstyle-plugin:3.0.0:check (default) @ tyrus-containers-project --- [INFO] [INFO] --- maven-source-plugin:2.2.1:jar-no-fork (attach-sources) @ tyrus-containers-project --- [INFO] [INFO] --- maven-install-plugin:2.4:install (default-install) @ tyrus-containers-project --- [INFO] Installing /home/jenkins/agent/workspace/documentation-update-after-release/containers/pom.xml to /home/jenkins/.m2/repository/org/glassfish/tyrus/tyrus-containers-project/1.19/tyrus-containers-project-1.19.pom [INFO] [INFO] -------< org.glassfish.tyrus:tyrus-containers-glassfish-project >------- [INFO] Building Tyrus Containers For Glassfish 1.19 [9/65] [INFO] --------------------------------[ pom ]--------------------------------- [INFO] [INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ tyrus-containers-glassfish-project --- [INFO] [INFO] --- maven-checkstyle-plugin:3.0.0:check (default) @ tyrus-containers-glassfish-project --- [INFO] [INFO] --- maven-source-plugin:2.2.1:jar-no-fork (attach-sources) @ tyrus-containers-glassfish-project --- [INFO] [INFO] --- maven-install-plugin:2.4:install (default-install) @ tyrus-containers-glassfish-project --- [INFO] Installing /home/jenkins/agent/workspace/documentation-update-after-release/containers/glassfish/pom.xml to /home/jenkins/.m2/repository/org/glassfish/tyrus/tyrus-containers-glassfish-project/1.19/tyrus-containers-glassfish-project-1.19.pom [INFO] [INFO] ---------< org.glassfish.tyrus:tyrus-container-glassfish-cdi >---------- [INFO] Building Tyrus CDI Component Provider 1.19 [10/65] [INFO] -------------------------------[ bundle ]------------------------------- [INFO] [INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ tyrus-container-glassfish-cdi --- [INFO] [INFO] --- maven-checkstyle-plugin:3.0.0:check (default) @ tyrus-container-glassfish-cdi --- [INFO] [INFO] --- maven-resources-plugin:3.2.0:resources (default-resources) @ tyrus-container-glassfish-cdi --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] Using 'UTF-8' encoding to copy filtered properties files. [INFO] Copying 1 resource [INFO] [INFO] --- maven-compiler-plugin:3.1:compile (default-compile) @ tyrus-container-glassfish-cdi --- [INFO] Changes detected - recompiling the module! [INFO] Compiling 2 source files to /home/jenkins/agent/workspace/documentation-update-after-release/containers/glassfish/cdi/target/classes [INFO] [INFO] --- maven-resources-plugin:3.2.0:testResources (default-testResources) @ tyrus-container-glassfish-cdi --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] Using 'UTF-8' encoding to copy filtered properties files. [INFO] skip non existing resourceDirectory /home/jenkins/agent/workspace/documentation-update-after-release/containers/glassfish/cdi/src/test/resources [INFO] [INFO] --- maven-compiler-plugin:3.1:testCompile (default-testCompile) @ tyrus-container-glassfish-cdi --- [INFO] No sources to compile [INFO] [INFO] --- maven-surefire-plugin:2.17:test (default-test) @ tyrus-container-glassfish-cdi --- [INFO] Tests are skipped. [INFO] [INFO] --- maven-bundle-plugin:2.4.0:bundle (default-bundle) @ tyrus-container-glassfish-cdi --- [INFO] [INFO] --- maven-source-plugin:2.2.1:jar-no-fork (attach-sources) @ tyrus-container-glassfish-cdi --- [INFO] Building jar: /home/jenkins/agent/workspace/documentation-update-after-release/containers/glassfish/cdi/target/tyrus-container-glassfish-cdi-1.19-sources.jar [INFO] [INFO] --- maven-install-plugin:3.0.0-M1:install (default-install) @ tyrus-container-glassfish-cdi --- [INFO] Installing /home/jenkins/agent/workspace/documentation-update-after-release/containers/glassfish/cdi/target/tyrus-container-glassfish-cdi-1.19.jar to /home/jenkins/.m2/repository/org/glassfish/tyrus/tyrus-container-glassfish-cdi/1.19/tyrus-container-glassfish-cdi-1.19.jar [INFO] Installing /home/jenkins/agent/workspace/documentation-update-after-release/containers/glassfish/cdi/pom.xml to /home/jenkins/.m2/repository/org/glassfish/tyrus/tyrus-container-glassfish-cdi/1.19/tyrus-container-glassfish-cdi-1.19.pom [INFO] Installing /home/jenkins/agent/workspace/documentation-update-after-release/containers/glassfish/cdi/target/tyrus-container-glassfish-cdi-1.19-sources.jar to /home/jenkins/.m2/repository/org/glassfish/tyrus/tyrus-container-glassfish-cdi/1.19/tyrus-container-glassfish-cdi-1.19-sources.jar [INFO] [INFO] --- maven-bundle-plugin:2.4.0:install (default-install) @ tyrus-container-glassfish-cdi --- [INFO] Installing org/glassfish/tyrus/tyrus-container-glassfish-cdi/1.19/tyrus-container-glassfish-cdi-1.19.jar [INFO] Writing OBR metadata [INFO] [INFO] ---------< org.glassfish.tyrus:tyrus-container-glassfish-ejb >---------- [INFO] Building Tyrus EJB Component Provider 1.19 [11/65] [INFO] -------------------------------[ bundle ]------------------------------- [INFO] [INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ tyrus-container-glassfish-ejb --- [INFO] [INFO] --- maven-checkstyle-plugin:3.0.0:check (default) @ tyrus-container-glassfish-ejb --- [INFO] [INFO] --- maven-resources-plugin:3.2.0:resources (default-resources) @ tyrus-container-glassfish-ejb --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] Using 'UTF-8' encoding to copy filtered properties files. [INFO] Copying 1 resource [INFO] [INFO] --- maven-compiler-plugin:3.1:compile (default-compile) @ tyrus-container-glassfish-ejb --- [INFO] Changes detected - recompiling the module! [INFO] Compiling 2 source files to /home/jenkins/agent/workspace/documentation-update-after-release/containers/glassfish/ejb/target/classes [WARNING] /home/jenkins/agent/workspace/documentation-update-after-release/containers/glassfish/ejb/src/main/java/org/glassfish/tyrus/gf/ejb/EjbComponentProvider.java: /home/jenkins/agent/workspace/documentation-update-after-release/containers/glassfish/ejb/src/main/java/org/glassfish/tyrus/gf/ejb/EjbComponentProvider.java uses unchecked or unsafe operations. [WARNING] /home/jenkins/agent/workspace/documentation-update-after-release/containers/glassfish/ejb/src/main/java/org/glassfish/tyrus/gf/ejb/EjbComponentProvider.java: Recompile with -Xlint:unchecked for details. [INFO] [INFO] --- maven-resources-plugin:3.2.0:testResources (default-testResources) @ tyrus-container-glassfish-ejb --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] Using 'UTF-8' encoding to copy filtered properties files. [INFO] skip non existing resourceDirectory /home/jenkins/agent/workspace/documentation-update-after-release/containers/glassfish/ejb/src/test/resources [INFO] [INFO] --- maven-compiler-plugin:3.1:testCompile (default-testCompile) @ tyrus-container-glassfish-ejb --- [INFO] No sources to compile [INFO] [INFO] --- maven-surefire-plugin:2.17:test (default-test) @ tyrus-container-glassfish-ejb --- [INFO] Tests are skipped. [INFO] [INFO] --- maven-bundle-plugin:2.4.0:bundle (default-bundle) @ tyrus-container-glassfish-ejb --- [INFO] [INFO] --- maven-source-plugin:2.2.1:jar-no-fork (attach-sources) @ tyrus-container-glassfish-ejb --- [INFO] Building jar: /home/jenkins/agent/workspace/documentation-update-after-release/containers/glassfish/ejb/target/tyrus-container-glassfish-ejb-1.19-sources.jar [INFO] [INFO] --- maven-install-plugin:3.0.0-M1:install (default-install) @ tyrus-container-glassfish-ejb --- [INFO] Installing /home/jenkins/agent/workspace/documentation-update-after-release/containers/glassfish/ejb/target/tyrus-container-glassfish-ejb-1.19.jar to /home/jenkins/.m2/repository/org/glassfish/tyrus/tyrus-container-glassfish-ejb/1.19/tyrus-container-glassfish-ejb-1.19.jar [INFO] Installing /home/jenkins/agent/workspace/documentation-update-after-release/containers/glassfish/ejb/pom.xml to /home/jenkins/.m2/repository/org/glassfish/tyrus/tyrus-container-glassfish-ejb/1.19/tyrus-container-glassfish-ejb-1.19.pom [INFO] Installing /home/jenkins/agent/workspace/documentation-update-after-release/containers/glassfish/ejb/target/tyrus-container-glassfish-ejb-1.19-sources.jar to /home/jenkins/.m2/repository/org/glassfish/tyrus/tyrus-container-glassfish-ejb/1.19/tyrus-container-glassfish-ejb-1.19-sources.jar [INFO] [INFO] --- maven-bundle-plugin:2.4.0:install (default-install) @ tyrus-container-glassfish-ejb --- [INFO] Installing org/glassfish/tyrus/tyrus-container-glassfish-ejb/1.19/tyrus-container-glassfish-ejb-1.19.jar [INFO] Writing OBR metadata [INFO] [INFO] ---------< org.glassfish.tyrus:tyrus-container-grizzly-client >--------- [INFO] Building Tyrus Grizzly Client Container 1.19 [12/65] [INFO] -------------------------------[ bundle ]------------------------------- [INFO] [INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ tyrus-container-grizzly-client --- [INFO] [INFO] --- maven-checkstyle-plugin:3.0.0:check (default) @ tyrus-container-grizzly-client --- [INFO] [INFO] --- maven-resources-plugin:3.2.0:resources (default-resources) @ tyrus-container-grizzly-client --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] Using 'UTF-8' encoding to copy filtered properties files. [INFO] Copying 1 resource [INFO] [INFO] --- maven-compiler-plugin:3.1:compile (default-compile) @ tyrus-container-grizzly-client --- [INFO] Changes detected - recompiling the module! [INFO] Compiling 10 source files to /home/jenkins/agent/workspace/documentation-update-after-release/containers/grizzly-client/target/classes [WARNING] /home/jenkins/agent/workspace/documentation-update-after-release/containers/grizzly-client/src/main/java/org/glassfish/tyrus/container/grizzly/client/GrizzlyClientSocket.java: /home/jenkins/agent/workspace/documentation-update-after-release/containers/grizzly-client/src/main/java/org/glassfish/tyrus/container/grizzly/client/GrizzlyClientSocket.java uses or overrides a deprecated API. [WARNING] /home/jenkins/agent/workspace/documentation-update-after-release/containers/grizzly-client/src/main/java/org/glassfish/tyrus/container/grizzly/client/GrizzlyClientSocket.java: Recompile with -Xlint:deprecation for details. [WARNING] /home/jenkins/agent/workspace/documentation-update-after-release/containers/grizzly-client/src/main/java/org/glassfish/tyrus/container/grizzly/client/GrizzlyClientSocket.java: Some input files use unchecked or unsafe operations. [WARNING] /home/jenkins/agent/workspace/documentation-update-after-release/containers/grizzly-client/src/main/java/org/glassfish/tyrus/container/grizzly/client/GrizzlyClientSocket.java: Recompile with -Xlint:unchecked for details. [INFO] [INFO] --- maven-resources-plugin:3.2.0:testResources (default-testResources) @ tyrus-container-grizzly-client --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] Using 'UTF-8' encoding to copy filtered properties files. [INFO] skip non existing resourceDirectory /home/jenkins/agent/workspace/documentation-update-after-release/containers/grizzly-client/src/test/resources [INFO] [INFO] --- maven-compiler-plugin:3.1:testCompile (default-testCompile) @ tyrus-container-grizzly-client --- [INFO] No sources to compile [INFO] [INFO] --- maven-surefire-plugin:2.17:test (default-test) @ tyrus-container-grizzly-client --- [INFO] Tests are skipped. [INFO] [INFO] --- maven-bundle-plugin:2.4.0:bundle (default-bundle) @ tyrus-container-grizzly-client --- [INFO] [INFO] --- maven-source-plugin:2.2.1:jar-no-fork (attach-sources) @ tyrus-container-grizzly-client --- [INFO] Building jar: /home/jenkins/agent/workspace/documentation-update-after-release/containers/grizzly-client/target/tyrus-container-grizzly-client-1.19-sources.jar [INFO] [INFO] --- maven-install-plugin:3.0.0-M1:install (default-install) @ tyrus-container-grizzly-client --- [INFO] Installing /home/jenkins/agent/workspace/documentation-update-after-release/containers/grizzly-client/target/tyrus-container-grizzly-client-1.19.jar to /home/jenkins/.m2/repository/org/glassfish/tyrus/tyrus-container-grizzly-client/1.19/tyrus-container-grizzly-client-1.19.jar [INFO] Installing /home/jenkins/agent/workspace/documentation-update-after-release/containers/grizzly-client/pom.xml to /home/jenkins/.m2/repository/org/glassfish/tyrus/tyrus-container-grizzly-client/1.19/tyrus-container-grizzly-client-1.19.pom [INFO] Installing /home/jenkins/agent/workspace/documentation-update-after-release/containers/grizzly-client/target/tyrus-container-grizzly-client-1.19-sources.jar to /home/jenkins/.m2/repository/org/glassfish/tyrus/tyrus-container-grizzly-client/1.19/tyrus-container-grizzly-client-1.19-sources.jar [INFO] [INFO] --- maven-bundle-plugin:2.4.0:install (default-install) @ tyrus-container-grizzly-client --- [INFO] Installing org/glassfish/tyrus/tyrus-container-grizzly-client/1.19/tyrus-container-grizzly-client-1.19.jar [INFO] Writing OBR metadata [INFO] [INFO] ------------------< org.glassfish.tyrus:tyrus-server >------------------ [INFO] Building Tyrus Server 1.19 [13/65] [INFO] -------------------------------[ bundle ]------------------------------- [INFO] [INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ tyrus-server --- [INFO] [INFO] --- maven-checkstyle-plugin:3.0.0:check (default) @ tyrus-server --- [INFO] [INFO] --- build-helper-maven-plugin:1.8:parse-version (parse-version) @ tyrus-server --- [INFO] [INFO] --- maven-istack-commons-plugin:2.6.1:rs-gen (default) @ tyrus-server --- Resources: [INFO] [INFO] --- build-helper-maven-plugin:1.8:add-source (default) @ tyrus-server --- [INFO] Source directory: /home/jenkins/agent/workspace/documentation-update-after-release/server/target/generated-sources/rsrc-gen added. [INFO] [INFO] --- maven-resources-plugin:3.2.0:resources (default-resources) @ tyrus-server --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] Using 'UTF-8' encoding to copy filtered properties files. [INFO] skip non existing resourceDirectory /home/jenkins/agent/workspace/documentation-update-after-release/server/src/main/resources [INFO] [INFO] --- maven-compiler-plugin:3.1:compile (default-compile) @ tyrus-server --- [INFO] Changes detected - recompiling the module! [INFO] Compiling 4 source files to /home/jenkins/agent/workspace/documentation-update-after-release/server/target/classes [WARNING] /home/jenkins/agent/workspace/documentation-update-after-release/server/src/main/java/org/glassfish/tyrus/server/TyrusServerConfiguration.java: /home/jenkins/agent/workspace/documentation-update-after-release/server/src/main/java/org/glassfish/tyrus/server/TyrusServerConfiguration.java uses unchecked or unsafe operations. [WARNING] /home/jenkins/agent/workspace/documentation-update-after-release/server/src/main/java/org/glassfish/tyrus/server/TyrusServerConfiguration.java: Recompile with -Xlint:unchecked for details. [INFO] [INFO] --- maven-resources-plugin:3.2.0:testResources (default-testResources) @ tyrus-server --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] Using 'UTF-8' encoding to copy filtered properties files. [INFO] skip non existing resourceDirectory /home/jenkins/agent/workspace/documentation-update-after-release/server/src/test/resources [INFO] [INFO] --- maven-compiler-plugin:3.1:testCompile (default-testCompile) @ tyrus-server --- [INFO] Changes detected - recompiling the module! [INFO] Compiling 2 source files to /home/jenkins/agent/workspace/documentation-update-after-release/server/target/test-classes [INFO] [INFO] --- maven-surefire-plugin:2.17:test (default-test) @ tyrus-server --- [INFO] Tests are skipped. [INFO] [INFO] --- maven-bundle-plugin:2.4.0:bundle (default-bundle) @ tyrus-server --- [INFO] [INFO] --- maven-source-plugin:2.2.1:jar-no-fork (attach-sources) @ tyrus-server --- [INFO] Building jar: /home/jenkins/agent/workspace/documentation-update-after-release/server/target/tyrus-server-1.19-sources.jar [INFO] [INFO] --- maven-install-plugin:3.0.0-M1:install (default-install) @ tyrus-server --- [INFO] Installing /home/jenkins/agent/workspace/documentation-update-after-release/server/target/tyrus-server-1.19.jar to /home/jenkins/.m2/repository/org/glassfish/tyrus/tyrus-server/1.19/tyrus-server-1.19.jar [INFO] Installing /home/jenkins/agent/workspace/documentation-update-after-release/server/pom.xml to /home/jenkins/.m2/repository/org/glassfish/tyrus/tyrus-server/1.19/tyrus-server-1.19.pom [INFO] Installing /home/jenkins/agent/workspace/documentation-update-after-release/server/target/tyrus-server-1.19-sources.jar to /home/jenkins/.m2/repository/org/glassfish/tyrus/tyrus-server/1.19/tyrus-server-1.19-sources.jar [INFO] [INFO] --- maven-bundle-plugin:2.4.0:install (default-install) @ tyrus-server --- [INFO] Installing org/glassfish/tyrus/tyrus-server/1.19/tyrus-server-1.19.jar [INFO] Writing OBR metadata [INFO] [INFO] ---------< org.glassfish.tyrus:tyrus-container-grizzly-server >--------- [INFO] Building Tyrus Grizzly Server Container 1.19 [14/65] [INFO] -------------------------------[ bundle ]------------------------------- [INFO] [INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ tyrus-container-grizzly-server --- [INFO] [INFO] --- maven-checkstyle-plugin:3.0.0:check (default) @ tyrus-container-grizzly-server --- [INFO] [INFO] --- maven-resources-plugin:3.2.0:resources (default-resources) @ tyrus-container-grizzly-server --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] Using 'UTF-8' encoding to copy filtered properties files. [INFO] skip non existing resourceDirectory /home/jenkins/agent/workspace/documentation-update-after-release/containers/grizzly-server/src/main/resources [INFO] [INFO] --- maven-compiler-plugin:3.1:compile (default-compile) @ tyrus-container-grizzly-server --- [INFO] Changes detected - recompiling the module! [INFO] Compiling 4 source files to /home/jenkins/agent/workspace/documentation-update-after-release/containers/grizzly-server/target/classes [WARNING] /home/jenkins/agent/workspace/documentation-update-after-release/containers/grizzly-server/src/main/java/org/glassfish/tyrus/container/grizzly/server/GrizzlyServerFilter.java: /home/jenkins/agent/workspace/documentation-update-after-release/containers/grizzly-server/src/main/java/org/glassfish/tyrus/container/grizzly/server/GrizzlyServerFilter.java uses or overrides a deprecated API. [WARNING] /home/jenkins/agent/workspace/documentation-update-after-release/containers/grizzly-server/src/main/java/org/glassfish/tyrus/container/grizzly/server/GrizzlyServerFilter.java: Recompile with -Xlint:deprecation for details. [INFO] [INFO] --- maven-resources-plugin:3.2.0:testResources (default-testResources) @ tyrus-container-grizzly-server --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] Using 'UTF-8' encoding to copy filtered properties files. [INFO] skip non existing resourceDirectory /home/jenkins/agent/workspace/documentation-update-after-release/containers/grizzly-server/src/test/resources [INFO] [INFO] --- maven-compiler-plugin:3.1:testCompile (default-testCompile) @ tyrus-container-grizzly-server --- [INFO] No sources to compile [INFO] [INFO] --- maven-surefire-plugin:2.17:test (default-test) @ tyrus-container-grizzly-server --- [INFO] Tests are skipped. [INFO] [INFO] --- maven-bundle-plugin:2.4.0:bundle (default-bundle) @ tyrus-container-grizzly-server --- [INFO] [INFO] --- maven-source-plugin:2.2.1:jar-no-fork (attach-sources) @ tyrus-container-grizzly-server --- [INFO] Building jar: /home/jenkins/agent/workspace/documentation-update-after-release/containers/grizzly-server/target/tyrus-container-grizzly-server-1.19-sources.jar [INFO] [INFO] --- maven-install-plugin:3.0.0-M1:install (default-install) @ tyrus-container-grizzly-server --- [INFO] Installing /home/jenkins/agent/workspace/documentation-update-after-release/containers/grizzly-server/target/tyrus-container-grizzly-server-1.19.jar to /home/jenkins/.m2/repository/org/glassfish/tyrus/tyrus-container-grizzly-server/1.19/tyrus-container-grizzly-server-1.19.jar [INFO] Installing /home/jenkins/agent/workspace/documentation-update-after-release/containers/grizzly-server/pom.xml to /home/jenkins/.m2/repository/org/glassfish/tyrus/tyrus-container-grizzly-server/1.19/tyrus-container-grizzly-server-1.19.pom [INFO] Installing /home/jenkins/agent/workspace/documentation-update-after-release/containers/grizzly-server/target/tyrus-container-grizzly-server-1.19-sources.jar to /home/jenkins/.m2/repository/org/glassfish/tyrus/tyrus-container-grizzly-server/1.19/tyrus-container-grizzly-server-1.19-sources.jar [INFO] [INFO] --- maven-bundle-plugin:2.4.0:install (default-install) @ tyrus-container-grizzly-server --- [INFO] Installing org/glassfish/tyrus/tyrus-container-grizzly-server/1.19/tyrus-container-grizzly-server-1.19.jar [INFO] Writing OBR metadata [INFO] [INFO] ------------< org.glassfish.tyrus:tyrus-container-inmemory >------------ [INFO] Building Tyrus InMemory Container 1.19 [15/65] [INFO] -------------------------------[ bundle ]------------------------------- [INFO] [INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ tyrus-container-inmemory --- [INFO] [INFO] --- maven-checkstyle-plugin:3.0.0:check (default) @ tyrus-container-inmemory --- [INFO] [INFO] --- maven-resources-plugin:3.2.0:resources (default-resources) @ tyrus-container-inmemory --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] Using 'UTF-8' encoding to copy filtered properties files. [INFO] Copying 1 resource [INFO] [INFO] --- maven-compiler-plugin:3.1:compile (default-compile) @ tyrus-container-inmemory --- [INFO] Changes detected - recompiling the module! [INFO] Compiling 3 source files to /home/jenkins/agent/workspace/documentation-update-after-release/containers/inmemory/target/classes [INFO] [INFO] --- maven-resources-plugin:3.2.0:testResources (default-testResources) @ tyrus-container-inmemory --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] Using 'UTF-8' encoding to copy filtered properties files. [INFO] skip non existing resourceDirectory /home/jenkins/agent/workspace/documentation-update-after-release/containers/inmemory/src/test/resources [INFO] [INFO] --- maven-compiler-plugin:3.1:testCompile (default-testCompile) @ tyrus-container-inmemory --- [INFO] Changes detected - recompiling the module! [INFO] Compiling 1 source file to /home/jenkins/agent/workspace/documentation-update-after-release/containers/inmemory/target/test-classes [INFO] [INFO] --- maven-surefire-plugin:2.17:test (default-test) @ tyrus-container-inmemory --- [INFO] Tests are skipped. [INFO] [INFO] --- maven-bundle-plugin:2.4.0:bundle (default-bundle) @ tyrus-container-inmemory --- [INFO] [INFO] --- maven-source-plugin:2.2.1:jar-no-fork (attach-sources) @ tyrus-container-inmemory --- [INFO] Building jar: /home/jenkins/agent/workspace/documentation-update-after-release/containers/inmemory/target/tyrus-container-inmemory-1.19-sources.jar [INFO] [INFO] --- maven-install-plugin:3.0.0-M1:install (default-install) @ tyrus-container-inmemory --- [INFO] Installing /home/jenkins/agent/workspace/documentation-update-after-release/containers/inmemory/target/tyrus-container-inmemory-1.19.jar to /home/jenkins/.m2/repository/org/glassfish/tyrus/tyrus-container-inmemory/1.19/tyrus-container-inmemory-1.19.jar [INFO] Installing /home/jenkins/agent/workspace/documentation-update-after-release/containers/inmemory/pom.xml to /home/jenkins/.m2/repository/org/glassfish/tyrus/tyrus-container-inmemory/1.19/tyrus-container-inmemory-1.19.pom [INFO] Installing /home/jenkins/agent/workspace/documentation-update-after-release/containers/inmemory/target/tyrus-container-inmemory-1.19-sources.jar to /home/jenkins/.m2/repository/org/glassfish/tyrus/tyrus-container-inmemory/1.19/tyrus-container-inmemory-1.19-sources.jar [INFO] [INFO] --- maven-bundle-plugin:2.4.0:install (default-install) @ tyrus-container-inmemory --- [INFO] Installing org/glassfish/tyrus/tyrus-container-inmemory/1.19/tyrus-container-inmemory-1.19.jar [INFO] Writing OBR metadata [INFO] [INFO] ------------< org.glassfish.tyrus:tyrus-container-servlet >------------- [INFO] Building Tyrus Servlet Bundle 1.19 [16/65] [INFO] -------------------------------[ bundle ]------------------------------- [INFO] [INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ tyrus-container-servlet --- [INFO] [INFO] --- maven-checkstyle-plugin:3.0.0:check (default) @ tyrus-container-servlet --- [INFO] [INFO] --- maven-resources-plugin:3.2.0:resources (default-resources) @ tyrus-container-servlet --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] Using 'UTF-8' encoding to copy filtered properties files. [INFO] Copying 1 resource [INFO] [INFO] --- maven-compiler-plugin:3.1:compile (default-compile) @ tyrus-container-servlet --- [INFO] Changes detected - recompiling the module! [INFO] Compiling 5 source files to /home/jenkins/agent/workspace/documentation-update-after-release/containers/servlet/target/classes [WARNING] /home/jenkins/agent/workspace/documentation-update-after-release/containers/servlet/src/main/java/org/glassfish/tyrus/servlet/TyrusServletContainerInitializer.java: /home/jenkins/agent/workspace/documentation-update-after-release/containers/servlet/src/main/java/org/glassfish/tyrus/servlet/TyrusServletContainerInitializer.java uses or overrides a deprecated API. [WARNING] /home/jenkins/agent/workspace/documentation-update-after-release/containers/servlet/src/main/java/org/glassfish/tyrus/servlet/TyrusServletContainerInitializer.java: Recompile with -Xlint:deprecation for details. [INFO] [INFO] --- maven-resources-plugin:3.2.0:testResources (default-testResources) @ tyrus-container-servlet --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] Using 'UTF-8' encoding to copy filtered properties files. [INFO] skip non existing resourceDirectory /home/jenkins/agent/workspace/documentation-update-after-release/containers/servlet/src/test/resources [INFO] [INFO] --- maven-compiler-plugin:3.1:testCompile (default-testCompile) @ tyrus-container-servlet --- [INFO] No sources to compile [INFO] [INFO] --- maven-surefire-plugin:2.17:test (default-test) @ tyrus-container-servlet --- [INFO] Tests are skipped. [INFO] [INFO] --- maven-bundle-plugin:2.4.0:bundle (default-bundle) @ tyrus-container-servlet --- [INFO] [INFO] --- maven-javadoc-plugin:3.0.1:jar (attach-javadocs) @ tyrus-container-servlet --- [INFO] Loading source files for package org.glassfish.tyrus.servlet... Constructing Javadoc information... Standard Doclet version 11.0.2 Building tree for all the packages and classes... Generating /home/jenkins/agent/workspace/documentation-update-after-release/containers/servlet/target/apidocs/org/glassfish/tyrus/servlet/TyrusHttpUpgradeHandler.html... Generating /home/jenkins/agent/workspace/documentation-update-after-release/containers/servlet/target/apidocs/org/glassfish/tyrus/servlet/TyrusServletContainerInitializer.html... Generating /home/jenkins/agent/workspace/documentation-update-after-release/containers/servlet/target/apidocs/org/glassfish/tyrus/servlet/package-summary.html... Generating /home/jenkins/agent/workspace/documentation-update-after-release/containers/servlet/target/apidocs/org/glassfish/tyrus/servlet/package-tree.html... Generating /home/jenkins/agent/workspace/documentation-update-after-release/containers/servlet/target/apidocs/constant-values.html... Generating /home/jenkins/agent/workspace/documentation-update-after-release/containers/servlet/target/apidocs/org/glassfish/tyrus/servlet/class-use/TyrusHttpUpgradeHandler.html... Generating /home/jenkins/agent/workspace/documentation-update-after-release/containers/servlet/target/apidocs/org/glassfish/tyrus/servlet/class-use/TyrusServletContainerInitializer.html... Generating /home/jenkins/agent/workspace/documentation-update-after-release/containers/servlet/target/apidocs/org/glassfish/tyrus/servlet/package-use.html... Building index for all the packages and classes... Generating /home/jenkins/agent/workspace/documentation-update-after-release/containers/servlet/target/apidocs/overview-tree.html... Generating /home/jenkins/agent/workspace/documentation-update-after-release/containers/servlet/target/apidocs/index-all.html... Building index for all classes... Generating /home/jenkins/agent/workspace/documentation-update-after-release/containers/servlet/target/apidocs/allclasses-index.html... Generating /home/jenkins/agent/workspace/documentation-update-after-release/containers/servlet/target/apidocs/allpackages-index.html... Generating /home/jenkins/agent/workspace/documentation-update-after-release/containers/servlet/target/apidocs/deprecated-list.html... Building index for all classes... Generating /home/jenkins/agent/workspace/documentation-update-after-release/containers/servlet/target/apidocs/allclasses.html... Generating /home/jenkins/agent/workspace/documentation-update-after-release/containers/servlet/target/apidocs/allclasses.html... Generating /home/jenkins/agent/workspace/documentation-update-after-release/containers/servlet/target/apidocs/index.html... Generating /home/jenkins/agent/workspace/documentation-update-after-release/containers/servlet/target/apidocs/help-doc.html... [INFO] Building jar: /home/jenkins/agent/workspace/documentation-update-after-release/containers/servlet/target/tyrus-container-servlet-1.19-javadoc.jar [INFO] [INFO] --- maven-source-plugin:2.2.1:jar-no-fork (attach-sources) @ tyrus-container-servlet --- [INFO] Building jar: /home/jenkins/agent/workspace/documentation-update-after-release/containers/servlet/target/tyrus-container-servlet-1.19-sources.jar [INFO] [INFO] --- maven-install-plugin:3.0.0-M1:install (default-install) @ tyrus-container-servlet --- [INFO] Installing /home/jenkins/agent/workspace/documentation-update-after-release/containers/servlet/target/tyrus-container-servlet-1.19.jar to /home/jenkins/.m2/repository/org/glassfish/tyrus/tyrus-container-servlet/1.19/tyrus-container-servlet-1.19.jar [INFO] Installing /home/jenkins/agent/workspace/documentation-update-after-release/containers/servlet/pom.xml to /home/jenkins/.m2/repository/org/glassfish/tyrus/tyrus-container-servlet/1.19/tyrus-container-servlet-1.19.pom [INFO] Installing /home/jenkins/agent/workspace/documentation-update-after-release/containers/servlet/target/tyrus-container-servlet-1.19-javadoc.jar to /home/jenkins/.m2/repository/org/glassfish/tyrus/tyrus-container-servlet/1.19/tyrus-container-servlet-1.19-javadoc.jar [INFO] Installing /home/jenkins/agent/workspace/documentation-update-after-release/containers/servlet/target/tyrus-container-servlet-1.19-sources.jar to /home/jenkins/.m2/repository/org/glassfish/tyrus/tyrus-container-servlet/1.19/tyrus-container-servlet-1.19-sources.jar [INFO] [INFO] --- maven-bundle-plugin:2.4.0:install (default-install) @ tyrus-container-servlet --- [INFO] Installing org/glassfish/tyrus/tyrus-container-servlet/1.19/tyrus-container-servlet-1.19.jar [INFO] Writing OBR metadata [INFO] [INFO] -----------< org.glassfish.tyrus.tests:tyrus-tests-project >------------ [INFO] Building Tyrus Tests 1.19 [17/65] [INFO] --------------------------------[ pom ]--------------------------------- [INFO] [INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ tyrus-tests-project --- [INFO] [INFO] --- maven-checkstyle-plugin:3.0.0:check (default) @ tyrus-tests-project --- [INFO] [INFO] --- maven-source-plugin:2.2.1:jar-no-fork (attach-sources) @ tyrus-tests-project --- [INFO] [INFO] --- maven-install-plugin:2.4:install (default-install) @ tyrus-tests-project --- [INFO] Installing /home/jenkins/agent/workspace/documentation-update-after-release/tests/pom.xml to /home/jenkins/.m2/repository/org/glassfish/tyrus/tests/tyrus-tests-project/1.19/tyrus-tests-project-1.19.pom [INFO] [INFO] -------------< org.glassfish.tyrus.tests:tyrus-test-tools >------------- [INFO] Building Tyrus Test Tools 1.19 [18/65] [INFO] -------------------------------[ bundle ]------------------------------- [INFO] [INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ tyrus-test-tools --- [INFO] [INFO] --- maven-checkstyle-plugin:3.0.0:check (default) @ tyrus-test-tools --- [INFO] [INFO] --- maven-resources-plugin:3.2.0:resources (default-resources) @ tyrus-test-tools --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] Using 'UTF-8' encoding to copy filtered properties files. [INFO] skip non existing resourceDirectory /home/jenkins/agent/workspace/documentation-update-after-release/tests/tools/src/main/resources [INFO] [INFO] --- maven-compiler-plugin:3.1:compile (default-compile) @ tyrus-test-tools --- [INFO] Changes detected - recompiling the module! [INFO] Compiling 2 source files to /home/jenkins/agent/workspace/documentation-update-after-release/tests/tools/target/classes [WARNING] /home/jenkins/agent/workspace/documentation-update-after-release/tests/tools/src/main/java/org/glassfish/tyrus/test/tools/TestContainer.java: /home/jenkins/agent/workspace/documentation-update-after-release/tests/tools/src/main/java/org/glassfish/tyrus/test/tools/TestContainer.java uses or overrides a deprecated API. [WARNING] /home/jenkins/agent/workspace/documentation-update-after-release/tests/tools/src/main/java/org/glassfish/tyrus/test/tools/TestContainer.java: Recompile with -Xlint:deprecation for details. [WARNING] /home/jenkins/agent/workspace/documentation-update-after-release/tests/tools/src/main/java/org/glassfish/tyrus/test/tools/GrizzlyModProxy.java: /home/jenkins/agent/workspace/documentation-update-after-release/tests/tools/src/main/java/org/glassfish/tyrus/test/tools/GrizzlyModProxy.java uses unchecked or unsafe operations. [WARNING] /home/jenkins/agent/workspace/documentation-update-after-release/tests/tools/src/main/java/org/glassfish/tyrus/test/tools/GrizzlyModProxy.java: Recompile with -Xlint:unchecked for details. [INFO] [INFO] --- maven-resources-plugin:3.2.0:testResources (default-testResources) @ tyrus-test-tools --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] Using 'UTF-8' encoding to copy filtered properties files. [INFO] skip non existing resourceDirectory /home/jenkins/agent/workspace/documentation-update-after-release/tests/tools/src/test/resources [INFO] [INFO] --- maven-compiler-plugin:3.1:testCompile (default-testCompile) @ tyrus-test-tools --- [INFO] No sources to compile [INFO] [INFO] --- maven-surefire-plugin:2.17:test (default-test) @ tyrus-test-tools --- [INFO] Tests are skipped. [INFO] [INFO] --- maven-bundle-plugin:2.4.0:bundle (default-bundle) @ tyrus-test-tools --- [INFO] [INFO] --- maven-source-plugin:2.2.1:jar-no-fork (attach-sources) @ tyrus-test-tools --- [INFO] Building jar: /home/jenkins/agent/workspace/documentation-update-after-release/tests/tools/target/tyrus-test-tools-1.19-sources.jar [INFO] [INFO] --- maven-install-plugin:3.0.0-M1:install (default-install) @ tyrus-test-tools --- [INFO] Installing /home/jenkins/agent/workspace/documentation-update-after-release/tests/tools/target/tyrus-test-tools-1.19.jar to /home/jenkins/.m2/repository/org/glassfish/tyrus/tests/tyrus-test-tools/1.19/tyrus-test-tools-1.19.jar [INFO] Installing /home/jenkins/agent/workspace/documentation-update-after-release/tests/tools/pom.xml to /home/jenkins/.m2/repository/org/glassfish/tyrus/tests/tyrus-test-tools/1.19/tyrus-test-tools-1.19.pom [INFO] Installing /home/jenkins/agent/workspace/documentation-update-after-release/tests/tools/target/tyrus-test-tools-1.19-sources.jar to /home/jenkins/.m2/repository/org/glassfish/tyrus/tests/tyrus-test-tools/1.19/tyrus-test-tools-1.19-sources.jar [INFO] [INFO] --- maven-bundle-plugin:2.4.0:install (default-install) @ tyrus-test-tools --- [INFO] Installing org/glassfish/tyrus/tests/tyrus-test-tools/1.19/tyrus-test-tools-1.19.jar [INFO] Writing OBR metadata [INFO] [INFO] -----------< org.glassfish.tyrus:tyrus-container-jdk-client >----------- [INFO] Building Tyrus JDK Client Container 1.19 [19/65] [INFO] -------------------------------[ bundle ]------------------------------- [INFO] [INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ tyrus-container-jdk-client --- [INFO] [INFO] --- maven-checkstyle-plugin:3.0.0:check (default) @ tyrus-container-jdk-client --- [INFO] [INFO] --- maven-resources-plugin:3.2.0:resources (default-resources) @ tyrus-container-jdk-client --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] Using 'UTF-8' encoding to copy filtered properties files. [INFO] Copying 1 resource [INFO] [INFO] --- maven-compiler-plugin:3.1:compile (default-compile) @ tyrus-container-jdk-client --- [INFO] Changes detected - recompiling the module! [INFO] Compiling 14 source files to /home/jenkins/agent/workspace/documentation-update-after-release/containers/jdk-client/target/classes [WARNING] /home/jenkins/agent/workspace/documentation-update-after-release/containers/jdk-client/src/main/java/org/glassfish/tyrus/container/jdk/client/JdkClientContainer.java: /home/jenkins/agent/workspace/documentation-update-after-release/containers/jdk-client/src/main/java/org/glassfish/tyrus/container/jdk/client/JdkClientContainer.java uses or overrides a deprecated API. [WARNING] /home/jenkins/agent/workspace/documentation-update-after-release/containers/jdk-client/src/main/java/org/glassfish/tyrus/container/jdk/client/JdkClientContainer.java: Recompile with -Xlint:deprecation for details. [WARNING] /home/jenkins/agent/workspace/documentation-update-after-release/containers/jdk-client/src/main/java/org/glassfish/tyrus/container/jdk/client/ClientFilter.java: Some input files use unchecked or unsafe operations. [WARNING] /home/jenkins/agent/workspace/documentation-update-after-release/containers/jdk-client/src/main/java/org/glassfish/tyrus/container/jdk/client/ClientFilter.java: Recompile with -Xlint:unchecked for details. [INFO] [INFO] --- maven-resources-plugin:3.2.0:testResources (default-testResources) @ tyrus-container-jdk-client --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] Using 'UTF-8' encoding to copy filtered properties files. [INFO] Copying 7 resources [INFO] [INFO] --- maven-compiler-plugin:3.1:testCompile (default-testCompile) @ tyrus-container-jdk-client --- [INFO] Changes detected - recompiling the module! [INFO] Compiling 8 source files to /home/jenkins/agent/workspace/documentation-update-after-release/containers/jdk-client/target/test-classes [WARNING] /home/jenkins/agent/workspace/documentation-update-after-release/containers/jdk-client/src/test/java/org/glassfish/tyrus/container/jdk/client/ThreadPoolSizeTest.java: Some input files use or override a deprecated API. [WARNING] /home/jenkins/agent/workspace/documentation-update-after-release/containers/jdk-client/src/test/java/org/glassfish/tyrus/container/jdk/client/ThreadPoolSizeTest.java: Recompile with -Xlint:deprecation for details. [INFO] [INFO] --- maven-surefire-plugin:2.17:test (default-test) @ tyrus-container-jdk-client --- [INFO] Tests are skipped. [INFO] [INFO] --- maven-bundle-plugin:2.4.0:bundle (default-bundle) @ tyrus-container-jdk-client --- [INFO] [INFO] --- maven-source-plugin:2.2.1:jar-no-fork (attach-sources) @ tyrus-container-jdk-client --- [INFO] Building jar: /home/jenkins/agent/workspace/documentation-update-after-release/containers/jdk-client/target/tyrus-container-jdk-client-1.19-sources.jar [INFO] [INFO] --- maven-install-plugin:3.0.0-M1:install (default-install) @ tyrus-container-jdk-client --- [INFO] Installing /home/jenkins/agent/workspace/documentation-update-after-release/containers/jdk-client/target/tyrus-container-jdk-client-1.19.jar to /home/jenkins/.m2/repository/org/glassfish/tyrus/tyrus-container-jdk-client/1.19/tyrus-container-jdk-client-1.19.jar [INFO] Installing /home/jenkins/agent/workspace/documentation-update-after-release/containers/jdk-client/pom.xml to /home/jenkins/.m2/repository/org/glassfish/tyrus/tyrus-container-jdk-client/1.19/tyrus-container-jdk-client-1.19.pom [INFO] Installing /home/jenkins/agent/workspace/documentation-update-after-release/containers/jdk-client/target/tyrus-container-jdk-client-1.19-sources.jar to /home/jenkins/.m2/repository/org/glassfish/tyrus/tyrus-container-jdk-client/1.19/tyrus-container-jdk-client-1.19-sources.jar [INFO] [INFO] --- maven-bundle-plugin:2.4.0:install (default-install) @ tyrus-container-jdk-client --- [INFO] Installing org/glassfish/tyrus/tyrus-container-jdk-client/1.19/tyrus-container-jdk-client-1.19.jar [INFO] Writing OBR metadata [INFO] [INFO] --------------< org.glassfish.tyrus:tyrus-documentation >--------------- [INFO] Building Tyrus Documentation 1.19 [20/65] [INFO] --------------------------------[ pom ]--------------------------------- [INFO] [INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ tyrus-documentation --- [INFO] [INFO] --- maven-checkstyle-plugin:3.0.0:check (default) @ tyrus-documentation --- [INFO] [INFO] --- build-helper-maven-plugin:1.8:parse-version (parse-version) @ tyrus-documentation --- [INFO] [INFO] --- build-helper-maven-plugin:1.8:add-source (default) @ tyrus-documentation --- [INFO] Source directory: /home/jenkins/agent/workspace/documentation-update-after-release/docs/target/generated-sources/rsrc-gen added. [INFO] [INFO] --- maven-antrun-plugin:1.3:run (process-entities) @ tyrus-documentation --- [INFO] Executing tasks [echo] Preparing char entities [mkdir] Created dir: /home/jenkins/agent/workspace/documentation-update-after-release/docs/target/gen-src [copy] Copying 16 files to /home/jenkins/agent/workspace/documentation-update-after-release/docs/target/gen-src [INFO] Executed tasks [INFO] [INFO] --- docbkx-maven-plugin:2.0.15:generate-html (Single page HTML and PDF) @ tyrus-documentation --- [INFO] Processing input file: user-guide.xml [INFO] Applying customization parameters after docbkx parameters [INFO] /home/jenkins/agent/workspace/documentation-update-after-release/docs/target/docbook/user-guide.html has been generated. [INFO] [INFO] --- docbkx-maven-plugin:2.0.15:generate-pdf (Single page HTML and PDF) @ tyrus-documentation --- [INFO] Processing input file: user-guide.xml [INFO] Applying customization parameters after docbkx parameters [INFO] targetFileExtension pdf [INFO] type fo Jun 20, 2022 12:56:25 PM org.apache.fop.events.LoggingEventListener processEvent WARNING: Font "Symbol,normal,700" not found. Substituting with "Symbol,normal,400". Jun 20, 2022 12:56:25 PM org.apache.fop.events.LoggingEventListener processEvent WARNING: Font "ZapfDingbats,normal,700" not found. Substituting with "ZapfDingbats,normal,400". Jun 20, 2022 12:56:25 PM org.apache.fop.events.LoggingEventListener processEvent INFO: Rendered page #1. Jun 20, 2022 12:56:25 PM org.apache.fop.hyphenation.Hyphenator getHyphenationTree SEVERE: Couldn't find hyphenation pattern for lang="en". Jun 20, 2022 12:56:25 PM org.apache.fop.events.LoggingEventListener processEvent INFO: Rendered page #2. Jun 20, 2022 12:56:25 PM org.apache.fop.events.LoggingEventListener processEvent INFO: Rendered page #3. Jun 20, 2022 12:56:25 PM org.apache.fop.events.LoggingEventListener processEvent WARNING: Line 1 of a paragraph overflows the available area by more than 50 points. (See position 73:944) Jun 20, 2022 12:56:25 PM org.apache.fop.events.LoggingEventListener processEvent WARNING: Line 1 of a paragraph overflows the available area by more than 50 points. (See position 73:944) Jun 20, 2022 12:56:25 PM org.apache.fop.events.LoggingEventListener processEvent WARNING: Line 1 of a paragraph overflows the available area by more than 50 points. (See position 73:944) Jun 20, 2022 12:56:25 PM org.apache.fop.events.LoggingEventListener processEvent WARNING: Line 1 of a paragraph overflows the available area by 6000 millipoints. (See position 73:944) Jun 20, 2022 12:56:25 PM org.apache.fop.events.LoggingEventListener processEvent WARNING: Line 1 of a paragraph overflows the available area by more than 50 points. (See position 73:944) Jun 20, 2022 12:56:25 PM org.apache.fop.events.LoggingEventListener processEvent WARNING: Line 1 of a paragraph overflows the available area by 36000 millipoints. (See position 73:944) Jun 20, 2022 12:56:25 PM org.apache.fop.events.LoggingEventListener processEvent WARNING: Line 1 of a paragraph overflows the available area by 12000 millipoints. (See position 73:944) Jun 20, 2022 12:56:25 PM org.apache.fop.events.LoggingEventListener processEvent WARNING: Line 1 of a paragraph overflows the available area by 24000 millipoints. (See position 112:958) Jun 20, 2022 12:56:25 PM org.apache.fop.events.LoggingEventListener processEvent WARNING: Line 1 of a paragraph overflows the available area by 24000 millipoints. (See position 112:958) Jun 20, 2022 12:56:25 PM org.apache.fop.events.LoggingEventListener processEvent WARNING: Line 1 of a paragraph overflows the available area by more than 50 points. (See position 159:365) Jun 20, 2022 12:56:25 PM org.apache.fop.events.LoggingEventListener processEvent WARNING: Line 1 of a paragraph overflows the available area by more than 50 points. (See position 159:365) Jun 20, 2022 12:56:25 PM org.apache.fop.events.LoggingEventListener processEvent INFO: Rendered page #4. Jun 20, 2022 12:56:25 PM org.apache.fop.events.LoggingEventListener processEvent INFO: Rendered page #5. Jun 20, 2022 12:56:25 PM org.apache.fop.events.LoggingEventListener processEvent INFO: Rendered page #6. Jun 20, 2022 12:56:25 PM org.apache.fop.events.LoggingEventListener processEvent INFO: Rendered page #7. Jun 20, 2022 12:56:25 PM org.apache.fop.events.LoggingEventListener processEvent WARNING: Line 5 of a paragraph overflows the available area by 21030 millipoints. (See position 183:2622) Jun 20, 2022 12:56:25 PM org.apache.fop.events.LoggingEventListener processEvent WARNING: Line 4 of a paragraph overflows the available area by 7130 millipoints. (See position 183:2622) Jun 20, 2022 12:56:25 PM org.apache.fop.events.LoggingEventListener processEvent WARNING: Line 3 of a paragraph overflows the available area by 19010 millipoints. (See position 183:2622) Jun 20, 2022 12:56:25 PM org.apache.fop.events.LoggingEventListener processEvent WARNING: Line 5 of a paragraph overflows the available area by 21030 millipoints. (See position 187:962) Jun 20, 2022 12:56:25 PM org.apache.fop.events.LoggingEventListener processEvent WARNING: Line 4 of a paragraph overflows the available area by 7130 millipoints. (See position 187:962) Jun 20, 2022 12:56:25 PM org.apache.fop.events.LoggingEventListener processEvent WARNING: Line 3 of a paragraph overflows the available area by 19010 millipoints. (See position 187:962) Jun 20, 2022 12:56:25 PM org.apache.fop.events.LoggingEventListener processEvent WARNING: Line 5 of a paragraph overflows the available area by 21030 millipoints. (See position 191:948) Jun 20, 2022 12:56:25 PM org.apache.fop.events.LoggingEventListener processEvent WARNING: Line 4 of a paragraph overflows the available area by 7130 millipoints. (See position 191:948) Jun 20, 2022 12:56:25 PM org.apache.fop.events.LoggingEventListener processEvent WARNING: Line 3 of a paragraph overflows the available area by 19010 millipoints. (See position 191:948) Jun 20, 2022 12:56:25 PM org.apache.fop.events.LoggingEventListener processEvent WARNING: Line 8 of a paragraph overflows the available area by 7140 millipoints. (See position 195:962) Jun 20, 2022 12:56:25 PM org.apache.fop.events.LoggingEventListener processEvent WARNING: Line 6 of a paragraph overflows the available area by 21030 millipoints. (See position 195:962) Jun 20, 2022 12:56:25 PM org.apache.fop.events.LoggingEventListener processEvent WARNING: Line 5 of a paragraph overflows the available area by 7130 millipoints. (See position 195:962) Jun 20, 2022 12:56:25 PM org.apache.fop.events.LoggingEventListener processEvent WARNING: Line 4 of a paragraph overflows the available area by 19010 millipoints. (See position 195:962) Jun 20, 2022 12:56:25 PM org.apache.fop.events.LoggingEventListener processEvent WARNING: Line 2 of a paragraph overflows the available area by 5140 millipoints. (See position 195:962) Jun 20, 2022 12:56:25 PM org.apache.fop.events.LoggingEventListener processEvent WARNING: Line 6 of a paragraph overflows the available area by 21030 millipoints. (See position 199:923) Jun 20, 2022 12:56:25 PM org.apache.fop.events.LoggingEventListener processEvent WARNING: Line 5 of a paragraph overflows the available area by 7130 millipoints. (See position 199:923) Jun 20, 2022 12:56:25 PM org.apache.fop.events.LoggingEventListener processEvent WARNING: Line 4 of a paragraph overflows the available area by 19010 millipoints. (See position 199:923) Jun 20, 2022 12:56:25 PM org.apache.fop.events.LoggingEventListener processEvent WARNING: Line 13 of a paragraph overflows the available area by 2080 millipoints. (See position 203:924) Jun 20, 2022 12:56:25 PM org.apache.fop.events.LoggingEventListener processEvent WARNING: Line 11 of a paragraph overflows the available area by 980 millipoints. (See position 203:924) Jun 20, 2022 12:56:25 PM org.apache.fop.events.LoggingEventListener processEvent WARNING: Line 5 of a paragraph overflows the available area by 7350 millipoints. (See position 203:924) Jun 20, 2022 12:56:25 PM org.apache.fop.events.LoggingEventListener processEvent WARNING: Line 4 of a paragraph overflows the available area by 19010 millipoints. (See position 203:924) Jun 20, 2022 12:56:25 PM org.apache.fop.events.LoggingEventListener processEvent WARNING: Line 5 of a paragraph overflows the available area by 21030 millipoints. (See position 209:552) Jun 20, 2022 12:56:25 PM org.apache.fop.events.LoggingEventListener processEvent WARNING: Line 4 of a paragraph overflows the available area by 7130 millipoints. (See position 209:552) Jun 20, 2022 12:56:25 PM org.apache.fop.events.LoggingEventListener processEvent WARNING: Line 3 of a paragraph overflows the available area by 19010 millipoints. (See position 209:552) Jun 20, 2022 12:56:25 PM org.apache.fop.events.LoggingEventListener processEvent WARNING: Line 7 of a paragraph overflows the available area by 21030 millipoints. (See position 213:3089) Jun 20, 2022 12:56:25 PM org.apache.fop.events.LoggingEventListener processEvent WARNING: Line 6 of a paragraph overflows the available area by 7130 millipoints. (See position 213:3089) Jun 20, 2022 12:56:25 PM org.apache.fop.events.LoggingEventListener processEvent WARNING: Line 5 of a paragraph overflows the available area by 19010 millipoints. (See position 213:3089) Jun 20, 2022 12:56:25 PM org.apache.fop.events.LoggingEventListener processEvent WARNING: Line 7 of a paragraph overflows the available area by 21030 millipoints. (See position 217:913) Jun 20, 2022 12:56:25 PM org.apache.fop.events.LoggingEventListener processEvent WARNING: Line 6 of a paragraph overflows the available area by 7130 millipoints. (See position 217:913) Jun 20, 2022 12:56:25 PM org.apache.fop.events.LoggingEventListener processEvent WARNING: Line 5 of a paragraph overflows the available area by 19010 millipoints. (See position 217:913) Jun 20, 2022 12:56:25 PM org.apache.fop.events.LoggingEventListener processEvent WARNING: Line 7 of a paragraph overflows the available area by 21030 millipoints. (See position 221:913) Jun 20, 2022 12:56:25 PM org.apache.fop.events.LoggingEventListener processEvent WARNING: Line 6 of a paragraph overflows the available area by 7130 millipoints. (See position 221:913) Jun 20, 2022 12:56:25 PM org.apache.fop.events.LoggingEventListener processEvent WARNING: Line 5 of a paragraph overflows the available area by 19010 millipoints. (See position 221:913) Jun 20, 2022 12:56:25 PM org.apache.fop.events.LoggingEventListener processEvent WARNING: Line 7 of a paragraph overflows the available area by 21030 millipoints. (See position 225:916) Jun 20, 2022 12:56:25 PM org.apache.fop.events.LoggingEventListener processEvent WARNING: Line 6 of a paragraph overflows the available area by 7130 millipoints. (See position 225:916) Jun 20, 2022 12:56:25 PM org.apache.fop.events.LoggingEventListener processEvent WARNING: Line 5 of a paragraph overflows the available area by 19010 millipoints. (See position 225:916) Jun 20, 2022 12:56:25 PM org.apache.fop.events.LoggingEventListener processEvent INFO: Rendered page #8. Jun 20, 2022 12:56:26 PM org.apache.fop.events.LoggingEventListener processEvent INFO: Rendered page #9. Jun 20, 2022 12:56:26 PM org.apache.fop.events.LoggingEventListener processEvent INFO: Rendered page #10. Jun 20, 2022 12:56:26 PM org.apache.fop.events.LoggingEventListener processEvent INFO: Rendered page #11. Jun 20, 2022 12:56:26 PM org.apache.fop.events.LoggingEventListener processEvent WARNING: Line 1 of a paragraph overflows the available area by 36000 millipoints. (See position 252:1078) Jun 20, 2022 12:56:26 PM org.apache.fop.events.LoggingEventListener processEvent WARNING: Line 1 of a paragraph overflows the available area by more than 50 points. (See position 252:1078) Jun 20, 2022 12:56:26 PM org.apache.fop.events.LoggingEventListener processEvent WARNING: Line 1 of a paragraph overflows the available area by more than 50 points. (See position 252:1078) Jun 20, 2022 12:56:26 PM org.apache.fop.events.LoggingEventListener processEvent WARNING: Line 1 of a paragraph overflows the available area by 42000 millipoints. (See position 252:1078) Jun 20, 2022 12:56:26 PM org.apache.fop.events.LoggingEventListener processEvent WARNING: Line 1 of a paragraph overflows the available area by 36000 millipoints. (See position 252:1078) Jun 20, 2022 12:56:26 PM org.apache.fop.events.LoggingEventListener processEvent WARNING: Line 1 of a paragraph overflows the available area by more than 50 points. (See position 252:1078) Jun 20, 2022 12:56:26 PM org.apache.fop.events.LoggingEventListener processEvent WARNING: Line 1 of a paragraph overflows the available area by more than 50 points. (See position 252:1078) Jun 20, 2022 12:56:26 PM org.apache.fop.events.LoggingEventListener processEvent WARNING: Line 1 of a paragraph overflows the available area by 18000 millipoints. (See position 252:1078) Jun 20, 2022 12:56:26 PM org.apache.fop.events.LoggingEventListener processEvent WARNING: Line 2 of a paragraph overflows the available area by 4758 millipoints. (See position 311:683) Jun 20, 2022 12:56:26 PM org.apache.fop.events.LoggingEventListener processEvent WARNING: Line 1 of a paragraph overflows the available area by more than 50 points. (See position 316:976) Jun 20, 2022 12:56:26 PM org.apache.fop.events.LoggingEventListener processEvent WARNING: Line 1 of a paragraph overflows the available area by more than 50 points. (See position 316:976) Jun 20, 2022 12:56:26 PM org.apache.fop.events.LoggingEventListener processEvent WARNING: Line 1 of a paragraph overflows the available area by more than 50 points. (See position 316:976) Jun 20, 2022 12:56:26 PM org.apache.fop.events.LoggingEventListener processEvent WARNING: Line 1 of a paragraph overflows the available area by more than 50 points. (See position 316:976) Jun 20, 2022 12:56:26 PM org.apache.fop.events.LoggingEventListener processEvent WARNING: Line 1 of a paragraph overflows the available area by more than 50 points. (See position 316:976) Jun 20, 2022 12:56:26 PM org.apache.fop.events.LoggingEventListener processEvent WARNING: Line 1 of a paragraph overflows the available area by more than 50 points. (See position 316:976) Jun 20, 2022 12:56:26 PM org.apache.fop.events.LoggingEventListener processEvent INFO: Rendered page #12. Jun 20, 2022 12:56:26 PM org.apache.fop.events.LoggingEventListener processEvent INFO: Rendered page #13. Jun 20, 2022 12:56:26 PM org.apache.fop.events.LoggingEventListener processEvent INFO: Rendered page #14. Jun 20, 2022 12:56:26 PM org.apache.fop.events.LoggingEventListener processEvent WARNING: Line 1 of a paragraph overflows the available area by more than 50 points. (See position 377:998) Jun 20, 2022 12:56:26 PM org.apache.fop.events.LoggingEventListener processEvent WARNING: Line 1 of a paragraph overflows the available area by more than 50 points. (See position 413:939) Jun 20, 2022 12:56:26 PM org.apache.fop.events.LoggingEventListener processEvent WARNING: Line 1 of a paragraph overflows the available area by 36000 millipoints. (See position 501:365) Jun 20, 2022 12:56:26 PM org.apache.fop.events.LoggingEventListener processEvent WARNING: Line 1 of a paragraph overflows the available area by more than 50 points. (See position 501:365) Jun 20, 2022 12:56:26 PM org.apache.fop.events.LoggingEventListener processEvent WARNING: Line 1 of a paragraph overflows the available area by more than 50 points. (See position 501:365) Jun 20, 2022 12:56:26 PM org.apache.fop.events.LoggingEventListener processEvent WARNING: Line 1 of a paragraph overflows the available area by more than 50 points. (See position 501:365) Jun 20, 2022 12:56:26 PM org.apache.fop.events.LoggingEventListener processEvent WARNING: Line 1 of a paragraph overflows the available area by more than 50 points. (See position 501:365) Jun 20, 2022 12:56:26 PM org.apache.fop.events.LoggingEventListener processEvent WARNING: Line 1 of a paragraph overflows the available area by more than 50 points. (See position 525:926) Jun 20, 2022 12:56:26 PM org.apache.fop.events.LoggingEventListener processEvent WARNING: Line 1 of a paragraph overflows the available area by more than 50 points. (See position 579:957) Jun 20, 2022 12:56:26 PM org.apache.fop.events.LoggingEventListener processEvent WARNING: Line 1 of a paragraph overflows the available area by more than 50 points. (See position 595:955) Jun 20, 2022 12:56:26 PM org.apache.fop.events.LoggingEventListener processEvent WARNING: Line 1 of a paragraph overflows the available area by 36000 millipoints. (See position 634:927) Jun 20, 2022 12:56:26 PM org.apache.fop.events.LoggingEventListener processEvent WARNING: Line 1 of a paragraph overflows the available area by 24000 millipoints. (See position 634:927) Jun 20, 2022 12:56:26 PM org.apache.fop.events.LoggingEventListener processEvent INFO: Rendered page #15. Jun 20, 2022 12:56:26 PM org.apache.fop.events.LoggingEventListener processEvent INFO: Rendered page #16. Jun 20, 2022 12:56:26 PM org.apache.fop.events.LoggingEventListener processEvent INFO: Rendered page #17. Jun 20, 2022 12:56:26 PM org.apache.fop.events.LoggingEventListener processEvent INFO: Rendered page #18. Jun 20, 2022 12:56:26 PM org.apache.fop.events.LoggingEventListener processEvent INFO: Rendered page #19. Jun 20, 2022 12:56:26 PM org.apache.fop.events.LoggingEventListener processEvent INFO: Rendered page #20. Jun 20, 2022 12:56:26 PM org.apache.fop.events.LoggingEventListener processEvent INFO: Rendered page #21. Jun 20, 2022 12:56:26 PM org.apache.fop.events.LoggingEventListener processEvent INFO: Rendered page #22. Jun 20, 2022 12:56:26 PM org.apache.fop.events.LoggingEventListener processEvent WARNING: Line 1 of a paragraph overflows the available area by more than 50 points. (See position 690:649) Jun 20, 2022 12:56:26 PM org.apache.fop.events.LoggingEventListener processEvent WARNING: Line 1 of a paragraph overflows the available area by more than 50 points. (See position 709:950) Jun 20, 2022 12:56:26 PM org.apache.fop.events.LoggingEventListener processEvent WARNING: Line 1 of a paragraph overflows the available area by more than 50 points. (See position 755:943) Jun 20, 2022 12:56:26 PM org.apache.fop.events.LoggingEventListener processEvent WARNING: Line 1 of a paragraph overflows the available area by 42000 millipoints. (See position 755:943) Jun 20, 2022 12:56:26 PM org.apache.fop.events.LoggingEventListener processEvent WARNING: Line 1 of a paragraph overflows the available area by more than 50 points. (See position 755:943) Jun 20, 2022 12:56:26 PM org.apache.fop.events.LoggingEventListener processEvent WARNING: Line 1 of a paragraph overflows the available area by 20224 millipoints. (See position 758:657) Jun 20, 2022 12:56:26 PM org.apache.fop.events.LoggingEventListener processEvent WARNING: Line 1 of a paragraph overflows the available area by 42000 millipoints. (See position 768:949) Jun 20, 2022 12:56:26 PM org.apache.fop.events.LoggingEventListener processEvent WARNING: Line 1 of a paragraph overflows the available area by 42000 millipoints. (See position 768:949) Jun 20, 2022 12:56:26 PM org.apache.fop.events.LoggingEventListener processEvent WARNING: Line 1 of a paragraph overflows the available area by 6000 millipoints. (See position 768:949) Jun 20, 2022 12:56:26 PM org.apache.fop.events.LoggingEventListener processEvent INFO: Rendered page #23. Jun 20, 2022 12:56:26 PM org.apache.fop.events.LoggingEventListener processEvent INFO: Rendered page #24. Jun 20, 2022 12:56:26 PM org.apache.fop.events.LoggingEventListener processEvent WARNING: Line 1 of a paragraph overflows the available area by more than 50 points. (See position 835:955) Jun 20, 2022 12:56:26 PM org.apache.fop.events.LoggingEventListener processEvent WARNING: Line 1 of a paragraph overflows the available area by more than 50 points. (See position 863:980) Jun 20, 2022 12:56:26 PM org.apache.fop.events.LoggingEventListener processEvent WARNING: Line 1 of a paragraph overflows the available area by 6000 millipoints. (See position 875:980) Jun 20, 2022 12:56:26 PM org.apache.fop.events.LoggingEventListener processEvent WARNING: Line 1 of a paragraph overflows the available area by 18000 millipoints. (See position 875:980) Jun 20, 2022 12:56:26 PM org.apache.fop.events.LoggingEventListener processEvent INFO: Rendered page #25. Jun 20, 2022 12:56:26 PM org.apache.fop.events.LoggingEventListener processEvent INFO: Rendered page #26. Jun 20, 2022 12:56:26 PM org.apache.fop.events.LoggingEventListener processEvent INFO: Rendered page #27. Jun 20, 2022 12:56:26 PM org.apache.fop.events.LoggingEventListener processEvent WARNING: Line 1 of a paragraph overflows the available area by more than 50 points. (See position 912:943) Jun 20, 2022 12:56:26 PM org.apache.fop.events.LoggingEventListener processEvent WARNING: Line 1 of a paragraph overflows the available area by more than 50 points. (See position 912:943) Jun 20, 2022 12:56:26 PM org.apache.fop.events.LoggingEventListener processEvent INFO: Rendered page #28. Jun 20, 2022 12:56:26 PM org.apache.fop.events.LoggingEventListener processEvent INFO: Rendered page #29. Jun 20, 2022 12:56:26 PM org.apache.fop.events.LoggingEventListener processEvent INFO: Rendered page #30. Jun 20, 2022 12:56:26 PM org.apache.fop.events.LoggingEventListener processEvent WARNING: Line 1 of a paragraph overflows the available area by 42000 millipoints. (See position 949:833) Jun 20, 2022 12:56:26 PM org.apache.fop.events.LoggingEventListener processEvent WARNING: Line 1 of a paragraph overflows the available area by more than 50 points. (See position 949:833) Jun 20, 2022 12:56:26 PM org.apache.fop.events.LoggingEventListener processEvent WARNING: Line 1 of a paragraph overflows the available area by more than 50 points. (See position 949:833) Jun 20, 2022 12:56:26 PM org.apache.fop.events.LoggingEventListener processEvent WARNING: Line 1 of a paragraph overflows the available area by more than 50 points. (See position 949:833) Jun 20, 2022 12:56:26 PM org.apache.fop.events.LoggingEventListener processEvent WARNING: Line 1 of a paragraph overflows the available area by 48000 millipoints. (See position 949:833) Jun 20, 2022 12:56:26 PM org.apache.fop.events.LoggingEventListener processEvent WARNING: Line 1 of a paragraph overflows the available area by 12000 millipoints. (See position 949:833) Jun 20, 2022 12:56:26 PM org.apache.fop.events.LoggingEventListener processEvent WARNING: Line 1 of a paragraph overflows the available area by more than 50 points. (See position 949:833) Jun 20, 2022 12:56:26 PM org.apache.fop.events.LoggingEventListener processEvent WARNING: Line 1 of a paragraph overflows the available area by more than 50 points. (See position 975:382) Jun 20, 2022 12:56:26 PM org.apache.fop.events.LoggingEventListener processEvent WARNING: Line 1 of a paragraph overflows the available area by more than 50 points. (See position 989:382) Jun 20, 2022 12:56:26 PM org.apache.fop.events.LoggingEventListener processEvent WARNING: Line 1 of a paragraph overflows the available area by more than 50 points. (See position 989:382) Jun 20, 2022 12:56:26 PM org.apache.fop.events.LoggingEventListener processEvent WARNING: Line 1 of a paragraph overflows the available area by more than 50 points. (See position 994:382) Jun 20, 2022 12:56:26 PM org.apache.fop.events.LoggingEventListener processEvent WARNING: Line 1 of a paragraph overflows the available area by 24000 millipoints. (See position 994:382) Jun 20, 2022 12:56:26 PM org.apache.fop.events.LoggingEventListener processEvent WARNING: Line 1 of a paragraph overflows the available area by more than 50 points. (See position 994:382) Jun 20, 2022 12:56:26 PM org.apache.fop.events.LoggingEventListener processEvent WARNING: Line 1 of a paragraph overflows the available area by more than 50 points. (See position 1010:670) Jun 20, 2022 12:56:26 PM org.apache.fop.events.LoggingEventListener processEvent WARNING: Line 1 of a paragraph overflows the available area by more than 50 points. (See position 1016:426) Jun 20, 2022 12:56:26 PM org.apache.fop.events.LoggingEventListener processEvent WARNING: Line 1 of a paragraph overflows the available area by more than 50 points. (See position 1030:482) Jun 20, 2022 12:56:26 PM org.apache.fop.events.LoggingEventListener processEvent WARNING: Line 1 of a paragraph overflows the available area by more than 50 points. (See position 1030:482) Jun 20, 2022 12:56:26 PM org.apache.fop.events.LoggingEventListener processEvent WARNING: Line 1 of a paragraph overflows the available area by more than 50 points. (See position 1030:482) Jun 20, 2022 12:56:26 PM org.apache.fop.events.LoggingEventListener processEvent WARNING: Line 1 of a paragraph overflows the available area by more than 50 points. (See position 1038:654) Jun 20, 2022 12:56:26 PM org.apache.fop.events.LoggingEventListener processEvent WARNING: Line 1 of a paragraph overflows the available area by 12000 millipoints. (See position 1060:570) Jun 20, 2022 12:56:26 PM org.apache.fop.events.LoggingEventListener processEvent WARNING: Line 1 of a paragraph overflows the available area by more than 50 points. (See position 1062:609) Jun 20, 2022 12:56:26 PM org.apache.fop.events.LoggingEventListener processEvent WARNING: Line 1 of a paragraph overflows the available area by more than 50 points. (See position 1066:487) Jun 20, 2022 12:56:26 PM org.apache.fop.events.LoggingEventListener processEvent WARNING: Line 1 of a paragraph overflows the available area by more than 50 points. (See position 1066:487) Jun 20, 2022 12:56:26 PM org.apache.fop.events.LoggingEventListener processEvent WARNING: Line 1 of a paragraph overflows the available area by more than 50 points. (See position 1078:382) Jun 20, 2022 12:56:26 PM org.apache.fop.events.LoggingEventListener processEvent WARNING: Line 1 of a paragraph overflows the available area by more than 50 points. (See position 1136:471) Jun 20, 2022 12:56:26 PM org.apache.fop.events.LoggingEventListener processEvent WARNING: Line 1 of a paragraph overflows the available area by more than 50 points. (See position 1136:471) Jun 20, 2022 12:56:26 PM org.apache.fop.events.LoggingEventListener processEvent WARNING: Line 1 of a paragraph overflows the available area by 42000 millipoints. (See position 1171:1438) Jun 20, 2022 12:56:26 PM org.apache.fop.events.LoggingEventListener processEvent WARNING: Line 1 of a paragraph overflows the available area by 42000 millipoints. (See position 1171:1438) Jun 20, 2022 12:56:26 PM org.apache.fop.events.LoggingEventListener processEvent WARNING: Line 1 of a paragraph overflows the available area by 12000 millipoints. (See position 1171:1438) Jun 20, 2022 12:56:26 PM org.apache.fop.events.LoggingEventListener processEvent WARNING: Line 1 of a paragraph overflows the available area by 12000 millipoints. (See position 1171:1438) Jun 20, 2022 12:56:26 PM org.apache.fop.events.LoggingEventListener processEvent WARNING: Line 1 of a paragraph overflows the available area by 42000 millipoints. (See position 1171:1438) Jun 20, 2022 12:56:26 PM org.apache.fop.events.LoggingEventListener processEvent WARNING: Line 1 of a paragraph overflows the available area by 42000 millipoints. (See position 1171:1438) Jun 20, 2022 12:56:26 PM org.apache.fop.events.LoggingEventListener processEvent WARNING: Line 1 of a paragraph overflows the available area by 24000 millipoints. (See position 1233:584) Jun 20, 2022 12:56:26 PM org.apache.fop.events.LoggingEventListener processEvent WARNING: Line 1 of a paragraph overflows the available area by more than 50 points. (See position 1246:554) Jun 20, 2022 12:56:26 PM org.apache.fop.events.LoggingEventListener processEvent WARNING: Line 1 of a paragraph overflows the available area by more than 50 points. (See position 1246:554) Jun 20, 2022 12:56:26 PM org.apache.fop.events.LoggingEventListener processEvent WARNING: Line 1 of a paragraph overflows the available area by more than 50 points. (See position 1246:554) Jun 20, 2022 12:56:26 PM org.apache.fop.events.LoggingEventListener processEvent WARNING: Line 1 of a paragraph overflows the available area by 18000 millipoints. (See position 1246:554) Jun 20, 2022 12:56:26 PM org.apache.fop.events.LoggingEventListener processEvent WARNING: Line 1 of a paragraph overflows the available area by more than 50 points. (See position 1246:554) Jun 20, 2022 12:56:26 PM org.apache.fop.events.LoggingEventListener processEvent WARNING: Line 1 of a paragraph overflows the available area by more than 50 points. (See position 1277:482) Jun 20, 2022 12:56:26 PM org.apache.fop.events.LoggingEventListener processEvent WARNING: Line 1 of a paragraph overflows the available area by more than 50 points. (See position 1277:482) Jun 20, 2022 12:56:26 PM org.apache.fop.events.LoggingEventListener processEvent WARNING: Line 1 of a paragraph overflows the available area by more than 50 points. (See position 1277:482) Jun 20, 2022 12:56:26 PM org.apache.fop.events.LoggingEventListener processEvent WARNING: Line 1 of a paragraph overflows the available area by more than 50 points. (See position 1277:482) Jun 20, 2022 12:56:26 PM org.apache.fop.events.LoggingEventListener processEvent WARNING: Line 1 of a paragraph overflows the available area by more than 50 points. (See position 1277:482) Jun 20, 2022 12:56:26 PM org.apache.fop.events.LoggingEventListener processEvent WARNING: Line 1 of a paragraph overflows the available area by more than 50 points. (See position 1277:482) Jun 20, 2022 12:56:26 PM org.apache.fop.events.LoggingEventListener processEvent WARNING: Line 1 of a paragraph overflows the available area by more than 50 points. (See position 1323:378) Jun 20, 2022 12:56:26 PM org.apache.fop.events.LoggingEventListener processEvent WARNING: Line 1 of a paragraph overflows the available area by more than 50 points. (See position 1333:378) Jun 20, 2022 12:56:26 PM org.apache.fop.events.LoggingEventListener processEvent WARNING: Line 1 of a paragraph overflows the available area by more than 50 points. (See position 1347:378) Jun 20, 2022 12:56:26 PM org.apache.fop.events.LoggingEventListener processEvent WARNING: Line 1 of a paragraph overflows the available area by more than 50 points. (See position 1377:382) Jun 20, 2022 12:56:26 PM org.apache.fop.events.LoggingEventListener processEvent WARNING: Line 1 of a paragraph overflows the available area by more than 50 points. (See position 1377:382) Jun 20, 2022 12:56:26 PM org.apache.fop.events.LoggingEventListener processEvent WARNING: Line 1 of a paragraph overflows the available area by more than 50 points. (See position 1377:382) Jun 20, 2022 12:56:26 PM org.apache.fop.events.LoggingEventListener processEvent WARNING: Line 1 of a paragraph overflows the available area by more than 50 points. (See position 1416:390) Jun 20, 2022 12:56:26 PM org.apache.fop.events.LoggingEventListener processEvent WARNING: Line 1 of a paragraph overflows the available area by more than 50 points. (See position 1416:390) Jun 20, 2022 12:56:26 PM org.apache.fop.events.LoggingEventListener processEvent WARNING: Line 1 of a paragraph overflows the available area by more than 50 points. (See position 1421:390) Jun 20, 2022 12:56:26 PM org.apache.fop.events.LoggingEventListener processEvent WARNING: Line 1 of a paragraph overflows the available area by more than 50 points. (See position 1421:390) Jun 20, 2022 12:56:26 PM org.apache.fop.events.LoggingEventListener processEvent WARNING: Line 1 of a paragraph overflows the available area by 30000 millipoints. (See position 1421:390) Jun 20, 2022 12:56:26 PM org.apache.fop.events.LoggingEventListener processEvent WARNING: Line 1 of a paragraph overflows the available area by more than 50 points. (See position 1450:382) Jun 20, 2022 12:56:26 PM org.apache.fop.events.LoggingEventListener processEvent WARNING: Line 1 of a paragraph overflows the available area by more than 50 points. (See position 1450:382) Jun 20, 2022 12:56:26 PM org.apache.fop.events.LoggingEventListener processEvent WARNING: Line 1 of a paragraph overflows the available area by more than 50 points. (See position 1450:382) Jun 20, 2022 12:56:26 PM org.apache.fop.events.LoggingEventListener processEvent WARNING: Line 1 of a paragraph overflows the available area by more than 50 points. (See position 1450:382) Jun 20, 2022 12:56:26 PM org.apache.fop.events.LoggingEventListener processEvent WARNING: Line 1 of a paragraph overflows the available area by more than 50 points. (See position 1450:382) Jun 20, 2022 12:56:26 PM org.apache.fop.events.LoggingEventListener processEvent WARNING: Line 1 of a paragraph overflows the available area by more than 50 points. (See position 1450:382) Jun 20, 2022 12:56:26 PM org.apache.fop.events.LoggingEventListener processEvent WARNING: Line 1 of a paragraph overflows the available area by more than 50 points. (See position 1450:382) Jun 20, 2022 12:56:26 PM org.apache.fop.events.LoggingEventListener processEvent WARNING: Line 1 of a paragraph overflows the available area by more than 50 points. (See position 1450:382) Jun 20, 2022 12:56:26 PM org.apache.fop.events.LoggingEventListener processEvent WARNING: Line 1 of a paragraph overflows the available area by more than 50 points. (See position 1450:382) Jun 20, 2022 12:56:26 PM org.apache.fop.events.LoggingEventListener processEvent WARNING: Line 1 of a paragraph overflows the available area by more than 50 points. (See position 1450:382) Jun 20, 2022 12:56:26 PM org.apache.fop.events.LoggingEventListener processEvent WARNING: Line 1 of a paragraph overflows the available area by more than 50 points. (See position 1450:382) Jun 20, 2022 12:56:26 PM org.apache.fop.events.LoggingEventListener processEvent WARNING: Line 1 of a paragraph overflows the available area by 12000 millipoints. (See position 1450:382) Jun 20, 2022 12:56:26 PM org.apache.fop.events.LoggingEventListener processEvent WARNING: Line 1 of a paragraph overflows the available area by more than 50 points. (See position 1467:382) Jun 20, 2022 12:56:26 PM org.apache.fop.events.LoggingEventListener processEvent WARNING: Line 1 of a paragraph overflows the available area by more than 50 points. (See position 1467:382) Jun 20, 2022 12:56:26 PM org.apache.fop.events.LoggingEventListener processEvent WARNING: Line 1 of a paragraph overflows the available area by more than 50 points. (See position 1467:382) Jun 20, 2022 12:56:26 PM org.apache.fop.events.LoggingEventListener processEvent WARNING: Line 1 of a paragraph overflows the available area by more than 50 points. (See position 1467:382) Jun 20, 2022 12:56:26 PM org.apache.fop.events.LoggingEventListener processEvent WARNING: Line 1 of a paragraph overflows the available area by more than 50 points. (See position 1467:382) Jun 20, 2022 12:56:26 PM org.apache.fop.events.LoggingEventListener processEvent WARNING: Line 1 of a paragraph overflows the available area by more than 50 points. (See position 1467:382) Jun 20, 2022 12:56:26 PM org.apache.fop.events.LoggingEventListener processEvent WARNING: Line 1 of a paragraph overflows the available area by more than 50 points. (See position 1467:382) Jun 20, 2022 12:56:26 PM org.apache.fop.events.LoggingEventListener processEvent WARNING: Line 1 of a paragraph overflows the available area by more than 50 points. (See position 1467:382) Jun 20, 2022 12:56:26 PM org.apache.fop.events.LoggingEventListener processEvent WARNING: Line 1 of a paragraph overflows the available area by 42000 millipoints. (See position 1467:382) Jun 20, 2022 12:56:26 PM org.apache.fop.events.LoggingEventListener processEvent WARNING: Line 1 of a paragraph overflows the available area by more than 50 points. (See position 1467:382) Jun 20, 2022 12:56:26 PM org.apache.fop.events.LoggingEventListener processEvent WARNING: Line 1 of a paragraph overflows the available area by more than 50 points. (See position 1467:382) Jun 20, 2022 12:56:26 PM org.apache.fop.events.LoggingEventListener processEvent WARNING: Line 1 of a paragraph overflows the available area by more than 50 points. (See position 1467:382) Jun 20, 2022 12:56:26 PM org.apache.fop.events.LoggingEventListener processEvent WARNING: Line 1 of a paragraph overflows the available area by more than 50 points. (See position 1467:382) Jun 20, 2022 12:56:26 PM org.apache.fop.events.LoggingEventListener processEvent WARNING: Line 1 of a paragraph overflows the available area by more than 50 points. (See position 1467:382) Jun 20, 2022 12:56:26 PM org.apache.fop.events.LoggingEventListener processEvent WARNING: Line 1 of a paragraph overflows the available area by 42000 millipoints. (See position 1467:382) Jun 20, 2022 12:56:26 PM org.apache.fop.events.LoggingEventListener processEvent WARNING: Line 1 of a paragraph overflows the available area by more than 50 points. (See position 1467:382) Jun 20, 2022 12:56:26 PM org.apache.fop.events.LoggingEventListener processEvent WARNING: Line 1 of a paragraph overflows the available area by more than 50 points. (See position 1467:382) Jun 20, 2022 12:56:26 PM org.apache.fop.events.LoggingEventListener processEvent WARNING: Line 1 of a paragraph overflows the available area by more than 50 points. (See position 1467:382) Jun 20, 2022 12:56:26 PM org.apache.fop.events.LoggingEventListener processEvent WARNING: Line 1 of a paragraph overflows the available area by more than 50 points. (See position 1467:382) Jun 20, 2022 12:56:26 PM org.apache.fop.events.LoggingEventListener processEvent WARNING: Line 1 of a paragraph overflows the available area by more than 50 points. (See position 1467:382) Jun 20, 2022 12:56:26 PM org.apache.fop.events.LoggingEventListener processEvent WARNING: Line 1 of a paragraph overflows the available area by more than 50 points. (See position 1467:382) Jun 20, 2022 12:56:26 PM org.apache.fop.events.LoggingEventListener processEvent WARNING: Line 1 of a paragraph overflows the available area by 12000 millipoints. (See position 1497:378) Jun 20, 2022 12:56:26 PM org.apache.fop.events.LoggingEventListener processEvent WARNING: Line 1 of a paragraph overflows the available area by more than 50 points. (See position 1497:378) Jun 20, 2022 12:56:26 PM org.apache.fop.events.LoggingEventListener processEvent WARNING: Line 1 of a paragraph overflows the available area by more than 50 points. (See position 1567:382) Jun 20, 2022 12:56:26 PM org.apache.fop.events.LoggingEventListener processEvent WARNING: Line 1 of a paragraph overflows the available area by more than 50 points. (See position 1571:382) Jun 20, 2022 12:56:26 PM org.apache.fop.events.LoggingEventListener processEvent WARNING: Line 1 of a paragraph overflows the available area by more than 50 points. (See position 1575:382) Jun 20, 2022 12:56:26 PM org.apache.fop.events.LoggingEventListener processEvent WARNING: Line 1 of a paragraph overflows the available area by more than 50 points. (See position 1575:382) Jun 20, 2022 12:56:26 PM org.apache.fop.events.LoggingEventListener processEvent WARNING: Line 1 of a paragraph overflows the available area by more than 50 points. (See position 1575:382) Jun 20, 2022 12:56:26 PM org.apache.fop.events.LoggingEventListener processEvent WARNING: Line 1 of a paragraph overflows the available area by more than 50 points. (See position 1575:382) Jun 20, 2022 12:56:26 PM org.apache.fop.events.LoggingEventListener processEvent WARNING: Line 1 of a paragraph overflows the available area by more than 50 points. (See position 1585:382) Jun 20, 2022 12:56:26 PM org.apache.fop.events.LoggingEventListener processEvent WARNING: Line 1 of a paragraph overflows the available area by more than 50 points. (See position 1585:382) Jun 20, 2022 12:56:26 PM org.apache.fop.events.LoggingEventListener processEvent WARNING: Line 1 of a paragraph overflows the available area by more than 50 points. (See position 1585:382) Jun 20, 2022 12:56:26 PM org.apache.fop.events.LoggingEventListener processEvent WARNING: Line 1 of a paragraph overflows the available area by more than 50 points. (See position 1585:382) Jun 20, 2022 12:56:26 PM org.apache.fop.events.LoggingEventListener processEvent WARNING: Line 1 of a paragraph overflows the available area by more than 50 points. (See position 1619:578) Jun 20, 2022 12:56:26 PM org.apache.fop.events.LoggingEventListener processEvent WARNING: Line 1 of a paragraph overflows the available area by more than 50 points. (See position 1649:389) Jun 20, 2022 12:56:26 PM org.apache.fop.events.LoggingEventListener processEvent WARNING: Line 1 of a paragraph overflows the available area by more than 50 points. (See position 1649:389) Jun 20, 2022 12:56:26 PM org.apache.fop.events.LoggingEventListener processEvent WARNING: Line 1 of a paragraph overflows the available area by 42000 millipoints. (See position 1649:389) Jun 20, 2022 12:56:26 PM org.apache.fop.events.LoggingEventListener processEvent WARNING: Line 1 of a paragraph overflows the available area by 30000 millipoints. (See position 1683:382) Jun 20, 2022 12:56:26 PM org.apache.fop.events.LoggingEventListener processEvent WARNING: Line 1 of a paragraph overflows the available area by more than 50 points. (See position 1716:382) Jun 20, 2022 12:56:26 PM org.apache.fop.events.LoggingEventListener processEvent WARNING: Line 1 of a paragraph overflows the available area by 30000 millipoints. (See position 1729:382) Jun 20, 2022 12:56:26 PM org.apache.fop.events.LoggingEventListener processEvent WARNING: Line 7 of a paragraph overflows the available area by 6000 millipoints. (See position 1741:787) Jun 20, 2022 12:56:26 PM org.apache.fop.events.LoggingEventListener processEvent WARNING: Line 1 of a paragraph overflows the available area by more than 50 points. (See position 1759:513) Jun 20, 2022 12:56:26 PM org.apache.fop.events.LoggingEventListener processEvent WARNING: Line 1 of a paragraph overflows the available area by more than 50 points. (See position 1759:513) Jun 20, 2022 12:56:26 PM org.apache.fop.events.LoggingEventListener processEvent WARNING: Line 1 of a paragraph overflows the available area by more than 50 points. (See position 1759:513) Jun 20, 2022 12:56:26 PM org.apache.fop.events.LoggingEventListener processEvent WARNING: Line 1 of a paragraph overflows the available area by more than 50 points. (See position 1759:513) Jun 20, 2022 12:56:26 PM org.apache.fop.events.LoggingEventListener processEvent WARNING: Line 1 of a paragraph overflows the available area by 30000 millipoints. (See position 1759:513) Jun 20, 2022 12:56:26 PM org.apache.fop.events.LoggingEventListener processEvent WARNING: Line 1 of a paragraph overflows the available area by more than 50 points. (See position 1759:513) Jun 20, 2022 12:56:26 PM org.apache.fop.events.LoggingEventListener processEvent WARNING: Line 1 of a paragraph overflows the available area by more than 50 points. (See position 1759:513) Jun 20, 2022 12:56:26 PM org.apache.fop.events.LoggingEventListener processEvent WARNING: Line 1 of a paragraph overflows the available area by more than 50 points. (See position 1788:382) Jun 20, 2022 12:56:26 PM org.apache.fop.events.LoggingEventListener processEvent WARNING: Line 1 of a paragraph overflows the available area by 6000 millipoints. (See position 1796:382) Jun 20, 2022 12:56:26 PM org.apache.fop.events.LoggingEventListener processEvent WARNING: Line 1 of a paragraph overflows the available area by 30000 millipoints. (See position 1796:382) Jun 20, 2022 12:56:26 PM org.apache.fop.events.LoggingEventListener processEvent WARNING: Line 1 of a paragraph overflows the available area by 36000 millipoints. (See position 1796:382) Jun 20, 2022 12:56:26 PM org.apache.fop.events.LoggingEventListener processEvent WARNING: Line 1 of a paragraph overflows the available area by more than 50 points. (See position 1812:382) Jun 20, 2022 12:56:26 PM org.apache.fop.events.LoggingEventListener processEvent WARNING: Line 1 of a paragraph overflows the available area by 6000 millipoints. (See position 1812:382) Jun 20, 2022 12:56:26 PM org.apache.fop.events.LoggingEventListener processEvent WARNING: Line 1 of a paragraph overflows the available area by 30000 millipoints. (See position 1812:382) Jun 20, 2022 12:56:26 PM org.apache.fop.events.LoggingEventListener processEvent WARNING: Line 1 of a paragraph overflows the available area by 36000 millipoints. (See position 1812:382) Jun 20, 2022 12:56:26 PM org.apache.fop.events.LoggingEventListener processEvent WARNING: Line 1 of a paragraph overflows the available area by more than 50 points. (See position 1828:382) Jun 20, 2022 12:56:26 PM org.apache.fop.events.LoggingEventListener processEvent WARNING: Line 1 of a paragraph overflows the available area by 6000 millipoints. (See position 1828:382) Jun 20, 2022 12:56:26 PM org.apache.fop.events.LoggingEventListener processEvent WARNING: Line 1 of a paragraph overflows the available area by 30000 millipoints. (See position 1828:382) Jun 20, 2022 12:56:26 PM org.apache.fop.events.LoggingEventListener processEvent WARNING: Line 1 of a paragraph overflows the available area by 36000 millipoints. (See position 1828:382) Jun 20, 2022 12:56:26 PM org.apache.fop.events.LoggingEventListener processEvent WARNING: Line 1 of a paragraph overflows the available area by more than 50 points. (See position 1853:393) Jun 20, 2022 12:56:26 PM org.apache.fop.events.LoggingEventListener processEvent WARNING: Line 1 of a paragraph overflows the available area by more than 50 points. (See position 1858:393) Jun 20, 2022 12:56:26 PM org.apache.fop.events.LoggingEventListener processEvent WARNING: Line 1 of a paragraph overflows the available area by 24000 millipoints. (See position 1884:382) Jun 20, 2022 12:56:26 PM org.apache.fop.events.LoggingEventListener processEvent WARNING: Line 1 of a paragraph overflows the available area by more than 50 points. (See position 1884:382) Jun 20, 2022 12:56:26 PM org.apache.fop.events.LoggingEventListener processEvent INFO: Rendered page #31. Jun 20, 2022 12:56:26 PM org.apache.fop.events.LoggingEventListener processEvent INFO: Rendered page #32. Jun 20, 2022 12:56:26 PM org.apache.fop.events.LoggingEventListener processEvent INFO: Rendered page #33. Jun 20, 2022 12:56:26 PM org.apache.fop.events.LoggingEventListener processEvent INFO: Rendered page #34. Jun 20, 2022 12:56:26 PM org.apache.fop.events.LoggingEventListener processEvent INFO: Rendered page #35. Jun 20, 2022 12:56:26 PM org.apache.fop.events.LoggingEventListener processEvent INFO: Rendered page #36. Jun 20, 2022 12:56:26 PM org.apache.fop.events.LoggingEventListener processEvent INFO: Rendered page #37. Jun 20, 2022 12:56:26 PM org.apache.fop.events.LoggingEventListener processEvent INFO: Rendered page #38. Jun 20, 2022 12:56:26 PM org.apache.fop.events.LoggingEventListener processEvent INFO: Rendered page #39. Jun 20, 2022 12:56:26 PM org.apache.fop.events.LoggingEventListener processEvent INFO: Rendered page #40. Jun 20, 2022 12:56:26 PM org.apache.fop.events.LoggingEventListener processEvent INFO: Rendered page #41. Jun 20, 2022 12:56:26 PM org.apache.fop.events.LoggingEventListener processEvent INFO: Rendered page #42. Jun 20, 2022 12:56:26 PM org.apache.fop.events.LoggingEventListener processEvent INFO: Rendered page #43. Jun 20, 2022 12:56:26 PM org.apache.fop.events.LoggingEventListener processEvent INFO: Rendered page #44. Jun 20, 2022 12:56:26 PM org.apache.fop.events.LoggingEventListener processEvent INFO: Rendered page #45. Jun 20, 2022 12:56:26 PM org.apache.fop.events.LoggingEventListener processEvent INFO: Rendered page #46. Jun 20, 2022 12:56:26 PM org.apache.fop.events.LoggingEventListener processEvent INFO: Rendered page #47. Jun 20, 2022 12:56:26 PM org.apache.fop.events.LoggingEventListener processEvent INFO: Rendered page #48. Jun 20, 2022 12:56:26 PM org.apache.fop.events.LoggingEventListener processEvent INFO: Rendered page #49. Jun 20, 2022 12:56:26 PM org.apache.fop.events.LoggingEventListener processEvent INFO: Rendered page #50. Jun 20, 2022 12:56:26 PM org.apache.fop.events.LoggingEventListener processEvent INFO: Rendered page #51. Jun 20, 2022 12:56:26 PM org.apache.fop.events.LoggingEventListener processEvent INFO: Rendered page #52. Jun 20, 2022 12:56:26 PM org.apache.fop.events.LoggingEventListener processEvent INFO: Rendered page #53. Jun 20, 2022 12:56:26 PM org.apache.fop.events.LoggingEventListener processEvent INFO: Rendered page #54. Jun 20, 2022 12:56:26 PM org.apache.fop.events.LoggingEventListener processEvent INFO: Rendered page #55. [INFO] /home/jenkins/agent/workspace/documentation-update-after-release/docs/target/docbook/user-guide.pdf has been generated. [INFO] /home/jenkins/agent/workspace/documentation-update-after-release/docs/target/docbook/user-guide.fo has been generated. [INFO] [INFO] --- docbkx-maven-plugin:2.0.15:generate-html (Multiple HTML pages) @ tyrus-documentation --- [INFO] Processing input file: index.xml [INFO] Applying customization parameters after docbkx parameters [INFO] Chunking output. [INFO] See /home/jenkins/agent/workspace/documentation-update-after-release/docs/target/docbook for generated file(s) [INFO] [INFO] --- maven-assembly-plugin:2.2-beta-5:attached (make-assembly) @ tyrus-documentation --- [INFO] Reading assembly descriptor: src/main/assembly/docbook.xml [INFO] Building zip: /home/jenkins/agent/workspace/documentation-update-after-release/docs/target/tyrus-documentation-1.19-docbook.zip [INFO] [INFO] --- build-helper-maven-plugin:1.8:attach-artifact (attach-artifacts) @ tyrus-documentation --- [INFO] [INFO] --- maven-source-plugin:2.2.1:jar-no-fork (attach-sources) @ tyrus-documentation --- [INFO] [INFO] --- maven-install-plugin:2.4:install (default-install) @ tyrus-documentation --- [INFO] Installing /home/jenkins/agent/workspace/documentation-update-after-release/docs/pom.xml to /home/jenkins/.m2/repository/org/glassfish/tyrus/tyrus-documentation/1.19/tyrus-documentation-1.19.pom [INFO] Installing /home/jenkins/agent/workspace/documentation-update-after-release/docs/target/tyrus-documentation-1.19-docbook.zip to /home/jenkins/.m2/repository/org/glassfish/tyrus/tyrus-documentation/1.19/tyrus-documentation-1.19-docbook.zip [INFO] Installing /home/jenkins/agent/workspace/documentation-update-after-release/docs/target/docbook/user-guide.pdf to /home/jenkins/.m2/repository/org/glassfish/tyrus/tyrus-documentation/1.19/tyrus-documentation-1.19-user-guide.pdf [INFO] [INFO] ----------< org.glassfish.tyrus.ext:tyrus-extensions-project >---------- [INFO] Building Tyrus Extension Modules 1.19 [21/65] [INFO] --------------------------------[ pom ]--------------------------------- [INFO] [INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ tyrus-extensions-project --- [INFO] [INFO] --- maven-checkstyle-plugin:3.0.0:check (default) @ tyrus-extensions-project --- [INFO] [INFO] --- maven-source-plugin:2.2.1:jar-no-fork (attach-sources) @ tyrus-extensions-project --- [INFO] [INFO] --- maven-install-plugin:2.4:install (default-install) @ tyrus-extensions-project --- [INFO] Installing /home/jenkins/agent/workspace/documentation-update-after-release/ext/pom.xml to /home/jenkins/.m2/repository/org/glassfish/tyrus/ext/tyrus-extensions-project/1.19/tyrus-extensions-project-1.19.pom [INFO] [INFO] --------------< org.glassfish.tyrus.ext:tyrus-client-cli >-------------- [INFO] Building Tyrus CLI Client 1.19 [22/65] [INFO] -------------------------------[ bundle ]------------------------------- [INFO] [INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ tyrus-client-cli --- [INFO] [INFO] --- maven-checkstyle-plugin:3.0.0:check (default) @ tyrus-client-cli --- [INFO] [INFO] --- maven-resources-plugin:3.2.0:resources (default-resources) @ tyrus-client-cli --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] Using 'UTF-8' encoding to copy filtered properties files. [INFO] skip non existing resourceDirectory /home/jenkins/agent/workspace/documentation-update-after-release/ext/client-cli/src/main/resources [INFO] [INFO] --- maven-compiler-plugin:3.1:compile (default-compile) @ tyrus-client-cli --- [INFO] Changes detected - recompiling the module! [INFO] Compiling 2 source files to /home/jenkins/agent/workspace/documentation-update-after-release/ext/client-cli/target/classes [WARNING] /home/jenkins/agent/workspace/documentation-update-after-release/ext/client-cli/src/main/java/org/glassfish/tyrus/ext/client/cli/ClientCli.java: /home/jenkins/agent/workspace/documentation-update-after-release/ext/client-cli/src/main/java/org/glassfish/tyrus/ext/client/cli/ClientCli.java uses or overrides a deprecated API. [WARNING] /home/jenkins/agent/workspace/documentation-update-after-release/ext/client-cli/src/main/java/org/glassfish/tyrus/ext/client/cli/ClientCli.java: Recompile with -Xlint:deprecation for details. [INFO] [INFO] --- maven-resources-plugin:3.2.0:testResources (default-testResources) @ tyrus-client-cli --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] Using 'UTF-8' encoding to copy filtered properties files. [INFO] skip non existing resourceDirectory /home/jenkins/agent/workspace/documentation-update-after-release/ext/client-cli/src/test/resources [INFO] [INFO] --- maven-compiler-plugin:3.1:testCompile (default-testCompile) @ tyrus-client-cli --- [INFO] No sources to compile [INFO] [INFO] --- maven-surefire-plugin:2.17:test (default-test) @ tyrus-client-cli --- [INFO] Tests are skipped. [INFO] [INFO] --- maven-bundle-plugin:2.4.0:bundle (default-bundle) @ tyrus-client-cli --- [INFO] [INFO] --- maven-shade-plugin:2.1:shade (default) @ tyrus-client-cli --- [WARNING] Map in class org.apache.maven.plugins.shade.resource.ManifestResourceTransformer declares value type as: class java.util.jar.Attributes but saw: class java.lang.String at runtime [INFO] Including org.glassfish.tyrus:tyrus-client:jar:1.19 in the shaded jar. [INFO] Including org.glassfish.tyrus:tyrus-core:jar:1.19 in the shaded jar. [INFO] Including org.glassfish.tyrus:tyrus-spi:jar:1.19 in the shaded jar. [INFO] Including javax.websocket:javax.websocket-api:jar:1.1 in the shaded jar. [INFO] Including jakarta.xml.bind:jakarta.xml.bind-api:jar:2.3.3 in the shaded jar. [INFO] Including jakarta.activation:jakarta.activation-api:jar:1.2.2 in the shaded jar. [INFO] Including org.glassfish.tyrus:tyrus-container-grizzly-client:jar:1.19 in the shaded jar. [INFO] Including org.glassfish.grizzly:grizzly-framework:jar:2.4.4 in the shaded jar. [INFO] Including org.glassfish.grizzly:grizzly-http-server:jar:2.4.4 in the shaded jar. [INFO] Including org.glassfish.grizzly:grizzly-http:jar:2.4.4 in the shaded jar. [INFO] Including jline:jline:jar:2.14.5 in the shaded jar. [WARNING] jakarta.xml.bind-api-2.3.3.jar, jakarta.activation-api-1.2.2.jar define 1 overlappping classes: [WARNING] - module-info [WARNING] maven-shade-plugin has detected that some .class files [WARNING] are present in two or more JARs. When this happens, only [WARNING] one single version of the class is copied in the uberjar. [WARNING] Usually this is not harmful and you can skeep these [WARNING] warnings, otherwise try to manually exclude artifacts [WARNING] based on mvn dependency:tree -Ddetail=true and the above [WARNING] output [WARNING] See http://docs.codehaus.org/display/MAVENUSER/Shade+Plugin [INFO] Replacing original artifact with shaded artifact. [INFO] Replacing /home/jenkins/agent/workspace/documentation-update-after-release/ext/client-cli/target/tyrus-client-cli-1.19.jar with /home/jenkins/agent/workspace/documentation-update-after-release/ext/client-cli/target/tyrus-client-cli-1.19-shaded.jar [INFO] Dependency-reduced POM written at: /home/jenkins/agent/workspace/documentation-update-after-release/ext/client-cli/target/dependency-reduced-pom.xml [INFO] Dependency-reduced POM written at: /home/jenkins/agent/workspace/documentation-update-after-release/ext/client-cli/target/dependency-reduced-pom.xml [INFO] [INFO] --- maven-source-plugin:2.2.1:jar-no-fork (attach-sources) @ tyrus-client-cli --- [INFO] Building jar: /home/jenkins/agent/workspace/documentation-update-after-release/ext/client-cli/target/tyrus-client-cli-1.19-sources.jar [INFO] [INFO] --- maven-install-plugin:3.0.0-M1:install (default-install) @ tyrus-client-cli --- [INFO] Installing /home/jenkins/agent/workspace/documentation-update-after-release/ext/client-cli/target/tyrus-client-cli-1.19.jar to /home/jenkins/.m2/repository/org/glassfish/tyrus/ext/tyrus-client-cli/1.19/tyrus-client-cli-1.19.jar [INFO] Installing /home/jenkins/agent/workspace/documentation-update-after-release/ext/client-cli/target/dependency-reduced-pom.xml to /home/jenkins/.m2/repository/org/glassfish/tyrus/ext/tyrus-client-cli/1.19/tyrus-client-cli-1.19.pom [INFO] Installing /home/jenkins/agent/workspace/documentation-update-after-release/ext/client-cli/target/tyrus-client-cli-1.19-sources.jar to /home/jenkins/.m2/repository/org/glassfish/tyrus/ext/tyrus-client-cli/1.19/tyrus-client-cli-1.19-sources.jar [INFO] [INFO] --- maven-bundle-plugin:2.4.0:install (default-install) @ tyrus-client-cli --- [INFO] Installing org/glassfish/tyrus/ext/tyrus-client-cli/1.19/tyrus-client-cli-1.19.jar [INFO] Writing OBR metadata [INFO] [INFO] ------------< org.glassfish.tyrus.ext:tyrus-monitoring-jmx >------------ [INFO] Building Tyrus Monitoring JMX 1.19 [23/65] [INFO] --------------------------------[ jar ]--------------------------------- [INFO] [INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ tyrus-monitoring-jmx --- [INFO] [INFO] --- maven-checkstyle-plugin:3.0.0:check (default) @ tyrus-monitoring-jmx --- [INFO] [INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ tyrus-monitoring-jmx --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] skip non existing resourceDirectory /home/jenkins/agent/workspace/documentation-update-after-release/ext/monitoring-jmx/src/main/resources [INFO] [INFO] --- maven-compiler-plugin:3.1:compile (default-compile) @ tyrus-monitoring-jmx --- [INFO] Changes detected - recompiling the module! [INFO] Compiling 28 source files to /home/jenkins/agent/workspace/documentation-update-after-release/ext/monitoring-jmx/target/classes [INFO] [INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ tyrus-monitoring-jmx --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] skip non existing resourceDirectory /home/jenkins/agent/workspace/documentation-update-after-release/ext/monitoring-jmx/src/test/resources [INFO] [INFO] --- maven-compiler-plugin:3.1:testCompile (default-testCompile) @ tyrus-monitoring-jmx --- [INFO] Changes detected - recompiling the module! [INFO] Compiling 12 source files to /home/jenkins/agent/workspace/documentation-update-after-release/ext/monitoring-jmx/target/test-classes [WARNING] /home/jenkins/agent/workspace/documentation-update-after-release/ext/monitoring-jmx/src/test/java/org/glassfish/tyrus/ext/monitoring/jmx/BroadcastTest.java: Some input files use or override a deprecated API. [WARNING] /home/jenkins/agent/workspace/documentation-update-after-release/ext/monitoring-jmx/src/test/java/org/glassfish/tyrus/ext/monitoring/jmx/BroadcastTest.java: Recompile with -Xlint:deprecation for details. [INFO] [INFO] --- maven-surefire-plugin:2.17:test (default-test) @ tyrus-monitoring-jmx --- [INFO] Tests are skipped. [INFO] [INFO] --- maven-jar-plugin:2.4:jar (default-jar) @ tyrus-monitoring-jmx --- [INFO] Building jar: /home/jenkins/agent/workspace/documentation-update-after-release/ext/monitoring-jmx/target/tyrus-monitoring-jmx-1.19.jar [INFO] [INFO] --- maven-source-plugin:2.2.1:jar-no-fork (attach-sources) @ tyrus-monitoring-jmx --- [INFO] Building jar: /home/jenkins/agent/workspace/documentation-update-after-release/ext/monitoring-jmx/target/tyrus-monitoring-jmx-1.19-sources.jar [INFO] [INFO] --- maven-install-plugin:2.4:install (default-install) @ tyrus-monitoring-jmx --- [INFO] Installing /home/jenkins/agent/workspace/documentation-update-after-release/ext/monitoring-jmx/target/tyrus-monitoring-jmx-1.19.jar to /home/jenkins/.m2/repository/org/glassfish/tyrus/ext/tyrus-monitoring-jmx/1.19/tyrus-monitoring-jmx-1.19.jar [INFO] Installing /home/jenkins/agent/workspace/documentation-update-after-release/ext/monitoring-jmx/pom.xml to /home/jenkins/.m2/repository/org/glassfish/tyrus/ext/tyrus-monitoring-jmx/1.19/tyrus-monitoring-jmx-1.19.pom [INFO] Installing /home/jenkins/agent/workspace/documentation-update-after-release/ext/monitoring-jmx/target/tyrus-monitoring-jmx-1.19-sources.jar to /home/jenkins/.m2/repository/org/glassfish/tyrus/ext/tyrus-monitoring-jmx/1.19/tyrus-monitoring-jmx-1.19-sources.jar [INFO] [INFO] ----------< org.glassfish.tyrus.ext:tyrus-extension-deflate >----------- [INFO] Building Tyrus Extension - Per Message Deflate 1.19 [24/65] [INFO] -------------------------------[ bundle ]------------------------------- [INFO] [INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ tyrus-extension-deflate --- [INFO] [INFO] --- maven-checkstyle-plugin:3.0.0:check (default) @ tyrus-extension-deflate --- [INFO] [INFO] --- maven-resources-plugin:3.2.0:resources (default-resources) @ tyrus-extension-deflate --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] Using 'UTF-8' encoding to copy filtered properties files. [INFO] skip non existing resourceDirectory /home/jenkins/agent/workspace/documentation-update-after-release/ext/extension-deflate/src/main/resources [INFO] [INFO] --- maven-compiler-plugin:3.1:compile (default-compile) @ tyrus-extension-deflate --- [INFO] Changes detected - recompiling the module! [INFO] Compiling 3 source files to /home/jenkins/agent/workspace/documentation-update-after-release/ext/extension-deflate/target/classes [INFO] [INFO] --- maven-resources-plugin:3.2.0:testResources (default-testResources) @ tyrus-extension-deflate --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] Using 'UTF-8' encoding to copy filtered properties files. [INFO] skip non existing resourceDirectory /home/jenkins/agent/workspace/documentation-update-after-release/ext/extension-deflate/src/test/resources [INFO] [INFO] --- maven-compiler-plugin:3.1:testCompile (default-testCompile) @ tyrus-extension-deflate --- [INFO] Changes detected - recompiling the module! [INFO] Compiling 1 source file to /home/jenkins/agent/workspace/documentation-update-after-release/ext/extension-deflate/target/test-classes [INFO] [INFO] --- maven-surefire-plugin:2.17:test (default-test) @ tyrus-extension-deflate --- [INFO] Tests are skipped. [INFO] [INFO] --- maven-bundle-plugin:2.4.0:bundle (default-bundle) @ tyrus-extension-deflate --- [INFO] [INFO] --- maven-source-plugin:2.2.1:jar-no-fork (attach-sources) @ tyrus-extension-deflate --- [INFO] Building jar: /home/jenkins/agent/workspace/documentation-update-after-release/ext/extension-deflate/target/tyrus-extension-deflate-1.19-sources.jar [INFO] [INFO] --- maven-install-plugin:3.0.0-M1:install (default-install) @ tyrus-extension-deflate --- [INFO] Installing /home/jenkins/agent/workspace/documentation-update-after-release/ext/extension-deflate/target/tyrus-extension-deflate-1.19.jar to /home/jenkins/.m2/repository/org/glassfish/tyrus/ext/tyrus-extension-deflate/1.19/tyrus-extension-deflate-1.19.jar [INFO] Installing /home/jenkins/agent/workspace/documentation-update-after-release/ext/extension-deflate/pom.xml to /home/jenkins/.m2/repository/org/glassfish/tyrus/ext/tyrus-extension-deflate/1.19/tyrus-extension-deflate-1.19.pom [INFO] Installing /home/jenkins/agent/workspace/documentation-update-after-release/ext/extension-deflate/target/tyrus-extension-deflate-1.19-sources.jar to /home/jenkins/.m2/repository/org/glassfish/tyrus/ext/tyrus-extension-deflate/1.19/tyrus-extension-deflate-1.19-sources.jar [INFO] [INFO] --- maven-bundle-plugin:2.4.0:install (default-install) @ tyrus-extension-deflate --- [INFO] Installing org/glassfish/tyrus/ext/tyrus-extension-deflate/1.19/tyrus-extension-deflate-1.19.jar [INFO] Writing OBR metadata [INFO] [INFO] -------------< org.glassfish.tyrus.ext:tyrus-client-java8 >------------- [INFO] Building Tyrus Java8 Client Extension 1.19 [25/65] [INFO] -------------------------------[ bundle ]------------------------------- [INFO] [INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ tyrus-client-java8 --- [INFO] [INFO] --- maven-checkstyle-plugin:3.0.0:check (default) @ tyrus-client-java8 --- [INFO] [INFO] --- maven-resources-plugin:3.2.0:resources (default-resources) @ tyrus-client-java8 --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] Using 'UTF-8' encoding to copy filtered properties files. [INFO] skip non existing resourceDirectory /home/jenkins/agent/workspace/documentation-update-after-release/ext/client-java8/src/main/resources [INFO] [INFO] --- maven-compiler-plugin:3.1:compile (default-compile) @ tyrus-client-java8 --- [INFO] Changes detected - recompiling the module! [INFO] Compiling 1 source file to /home/jenkins/agent/workspace/documentation-update-after-release/ext/client-java8/target/classes [WARNING] /home/jenkins/agent/workspace/documentation-update-after-release/ext/client-java8/src/main/java/org/glassfish/tyrus/ext/client/java8/SessionBuilder.java: /home/jenkins/agent/workspace/documentation-update-after-release/ext/client-java8/src/main/java/org/glassfish/tyrus/ext/client/java8/SessionBuilder.java uses unchecked or unsafe operations. [WARNING] /home/jenkins/agent/workspace/documentation-update-after-release/ext/client-java8/src/main/java/org/glassfish/tyrus/ext/client/java8/SessionBuilder.java: Recompile with -Xlint:unchecked for details. [INFO] [INFO] --- maven-resources-plugin:3.2.0:testResources (default-testResources) @ tyrus-client-java8 --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] Using 'UTF-8' encoding to copy filtered properties files. [INFO] skip non existing resourceDirectory /home/jenkins/agent/workspace/documentation-update-after-release/ext/client-java8/src/test/resources [INFO] [INFO] --- maven-compiler-plugin:3.1:testCompile (default-testCompile) @ tyrus-client-java8 --- [INFO] Changes detected - recompiling the module! [INFO] Compiling 1 source file to /home/jenkins/agent/workspace/documentation-update-after-release/ext/client-java8/target/test-classes [INFO] [INFO] --- maven-surefire-plugin:2.17:test (default-test) @ tyrus-client-java8 --- [INFO] Tests are skipped. [INFO] [INFO] --- maven-bundle-plugin:2.4.0:bundle (default-bundle) @ tyrus-client-java8 --- [INFO] [INFO] --- maven-source-plugin:2.2.1:jar-no-fork (attach-sources) @ tyrus-client-java8 --- [INFO] Building jar: /home/jenkins/agent/workspace/documentation-update-after-release/ext/client-java8/target/tyrus-client-java8-1.19-sources.jar [INFO] [INFO] --- maven-install-plugin:3.0.0-M1:install (default-install) @ tyrus-client-java8 --- [INFO] Installing /home/jenkins/agent/workspace/documentation-update-after-release/ext/client-java8/target/tyrus-client-java8-1.19.jar to /home/jenkins/.m2/repository/org/glassfish/tyrus/ext/tyrus-client-java8/1.19/tyrus-client-java8-1.19.jar [INFO] Installing /home/jenkins/agent/workspace/documentation-update-after-release/ext/client-java8/pom.xml to /home/jenkins/.m2/repository/org/glassfish/tyrus/ext/tyrus-client-java8/1.19/tyrus-client-java8-1.19.pom [INFO] Installing /home/jenkins/agent/workspace/documentation-update-after-release/ext/client-java8/target/tyrus-client-java8-1.19-sources.jar to /home/jenkins/.m2/repository/org/glassfish/tyrus/ext/tyrus-client-java8/1.19/tyrus-client-java8-1.19-sources.jar [INFO] [INFO] --- maven-bundle-plugin:2.4.0:install (default-install) @ tyrus-client-java8 --- [INFO] Installing org/glassfish/tyrus/ext/tyrus-client-java8/1.19/tyrus-client-java8-1.19.jar [INFO] Writing OBR metadata [INFO] [INFO] ---------< org.glassfish.tyrus.samples:tyrus-samples-project >---------- [INFO] Building Tyrus Samples 1.19 [26/65] [INFO] --------------------------------[ pom ]--------------------------------- [INFO] [INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ tyrus-samples-project --- [INFO] [INFO] --- maven-checkstyle-plugin:3.0.0:check (default) @ tyrus-samples-project --- [INFO] [INFO] --- maven-source-plugin:2.2.1:jar-no-fork (attach-sources) @ tyrus-samples-project --- [INFO] [INFO] --- maven-install-plugin:2.4:install (default-install) @ tyrus-samples-project --- [INFO] Installing /home/jenkins/agent/workspace/documentation-update-after-release/samples/pom.xml to /home/jenkins/.m2/repository/org/glassfish/tyrus/samples/tyrus-samples-project/1.19/tyrus-samples-project-1.19.pom [INFO] [INFO] ----------< org.glassfish.tyrus.samples:tyrus-sample-auction >---------- [INFO] Building Tyrus Auction Sample 1.19 [27/65] [INFO] --------------------------------[ war ]--------------------------------- [INFO] [INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ tyrus-sample-auction --- [INFO] [INFO] --- maven-checkstyle-plugin:3.0.0:check (default) @ tyrus-sample-auction --- [INFO] [INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ tyrus-sample-auction --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] skip non existing resourceDirectory /home/jenkins/agent/workspace/documentation-update-after-release/samples/auction/src/main/resources [INFO] [INFO] --- maven-compiler-plugin:3.1:compile (default-compile) @ tyrus-sample-auction --- [INFO] Changes detected - recompiling the module! [INFO] Compiling 7 source files to /home/jenkins/agent/workspace/documentation-update-after-release/samples/auction/target/classes [INFO] [INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ tyrus-sample-auction --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] skip non existing resourceDirectory /home/jenkins/agent/workspace/documentation-update-after-release/samples/auction/src/test/resources [INFO] [INFO] --- maven-compiler-plugin:3.1:testCompile (default-testCompile) @ tyrus-sample-auction --- [INFO] No sources to compile [INFO] [INFO] --- maven-surefire-plugin:2.17:test (default-test) @ tyrus-sample-auction --- [INFO] Tests are skipped. [INFO] [INFO] --- maven-war-plugin:3.3.1:war (default-war) @ tyrus-sample-auction --- [INFO] Packaging webapp [INFO] Assembling webapp [tyrus-sample-auction] in [/home/jenkins/agent/workspace/documentation-update-after-release/samples/auction/target/tyrus-sample-auction-1.19] [INFO] Processing war project [INFO] Copying webapp resources [/home/jenkins/agent/workspace/documentation-update-after-release/samples/auction/src/main/webapp] [INFO] Building war: /home/jenkins/agent/workspace/documentation-update-after-release/samples/auction/target/tyrus-sample-auction-1.19.war [INFO] [INFO] --- maven-assembly-plugin:2.2-beta-5:attached (assemble-src-zip) @ tyrus-sample-auction --- [INFO] Reading assembly descriptor: ../etc/project-src-assembly.xml [INFO] Building zip: /home/jenkins/agent/workspace/documentation-update-after-release/samples/auction/target/tyrus-sample-auction-1.19-project-src.zip [INFO] [INFO] --- maven-source-plugin:2.2.1:jar-no-fork (attach-sources) @ tyrus-sample-auction --- [INFO] Building jar: /home/jenkins/agent/workspace/documentation-update-after-release/samples/auction/target/tyrus-sample-auction-1.19-sources.jar [INFO] [INFO] --- maven-install-plugin:2.4:install (default-install) @ tyrus-sample-auction --- [INFO] Installing /home/jenkins/agent/workspace/documentation-update-after-release/samples/auction/target/tyrus-sample-auction-1.19.war to /home/jenkins/.m2/repository/org/glassfish/tyrus/samples/tyrus-sample-auction/1.19/tyrus-sample-auction-1.19.war [INFO] Installing /home/jenkins/agent/workspace/documentation-update-after-release/samples/auction/pom.xml to /home/jenkins/.m2/repository/org/glassfish/tyrus/samples/tyrus-sample-auction/1.19/tyrus-sample-auction-1.19.pom [INFO] Installing /home/jenkins/agent/workspace/documentation-update-after-release/samples/auction/target/tyrus-sample-auction-1.19-project-src.zip to /home/jenkins/.m2/repository/org/glassfish/tyrus/samples/tyrus-sample-auction/1.19/tyrus-sample-auction-1.19-project-src.zip [INFO] Installing /home/jenkins/agent/workspace/documentation-update-after-release/samples/auction/target/tyrus-sample-auction-1.19-sources.jar to /home/jenkins/.m2/repository/org/glassfish/tyrus/samples/tyrus-sample-auction/1.19/tyrus-sample-auction-1.19-sources.jar [INFO] [INFO] ------------< org.glassfish.tyrus.samples:tyrus-sample-cdi >------------ [INFO] Building Tyrus CDI Sample 1.19 [28/65] [INFO] --------------------------------[ war ]--------------------------------- [INFO] [INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ tyrus-sample-cdi --- [INFO] [INFO] --- maven-checkstyle-plugin:3.0.0:check (default) @ tyrus-sample-cdi --- [INFO] [INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ tyrus-sample-cdi --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] skip non existing resourceDirectory /home/jenkins/agent/workspace/documentation-update-after-release/samples/cdi/src/main/resources [INFO] [INFO] --- maven-compiler-plugin:3.1:compile (default-compile) @ tyrus-sample-cdi --- [INFO] Changes detected - recompiling the module! [INFO] Compiling 16 source files to /home/jenkins/agent/workspace/documentation-update-after-release/samples/cdi/target/classes [INFO] [INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ tyrus-sample-cdi --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] skip non existing resourceDirectory /home/jenkins/agent/workspace/documentation-update-after-release/samples/cdi/src/test/resources [INFO] [INFO] --- maven-compiler-plugin:3.1:testCompile (default-testCompile) @ tyrus-sample-cdi --- [INFO] Changes detected - recompiling the module! [INFO] Compiling 1 source file to /home/jenkins/agent/workspace/documentation-update-after-release/samples/cdi/target/test-classes [INFO] [INFO] --- maven-surefire-plugin:2.17:test (default-test) @ tyrus-sample-cdi --- [INFO] Tests are skipped. [INFO] [INFO] --- maven-war-plugin:3.3.1:war (default-war) @ tyrus-sample-cdi --- [INFO] Packaging webapp [INFO] Assembling webapp [tyrus-sample-cdi] in [/home/jenkins/agent/workspace/documentation-update-after-release/samples/cdi/target/tyrus-sample-cdi-1.19] [INFO] Processing war project [INFO] Copying webapp resources [/home/jenkins/agent/workspace/documentation-update-after-release/samples/cdi/src/main/webapp] [INFO] Building war: /home/jenkins/agent/workspace/documentation-update-after-release/samples/cdi/target/tyrus-sample-cdi-1.19.war [INFO] [INFO] --- maven-assembly-plugin:2.2-beta-5:attached (assemble-src-zip) @ tyrus-sample-cdi --- [INFO] Reading assembly descriptor: ../etc/project-src-assembly.xml [INFO] Building zip: /home/jenkins/agent/workspace/documentation-update-after-release/samples/cdi/target/tyrus-sample-cdi-1.19-project-src.zip [INFO] [INFO] --- maven-source-plugin:2.2.1:jar-no-fork (attach-sources) @ tyrus-sample-cdi --- [INFO] Building jar: /home/jenkins/agent/workspace/documentation-update-after-release/samples/cdi/target/tyrus-sample-cdi-1.19-sources.jar [INFO] [INFO] --- maven-install-plugin:2.4:install (default-install) @ tyrus-sample-cdi --- [INFO] Installing /home/jenkins/agent/workspace/documentation-update-after-release/samples/cdi/target/tyrus-sample-cdi-1.19.war to /home/jenkins/.m2/repository/org/glassfish/tyrus/samples/tyrus-sample-cdi/1.19/tyrus-sample-cdi-1.19.war [INFO] Installing /home/jenkins/agent/workspace/documentation-update-after-release/samples/cdi/pom.xml to /home/jenkins/.m2/repository/org/glassfish/tyrus/samples/tyrus-sample-cdi/1.19/tyrus-sample-cdi-1.19.pom [INFO] Installing /home/jenkins/agent/workspace/documentation-update-after-release/samples/cdi/target/tyrus-sample-cdi-1.19-project-src.zip to /home/jenkins/.m2/repository/org/glassfish/tyrus/samples/tyrus-sample-cdi/1.19/tyrus-sample-cdi-1.19-project-src.zip [INFO] Installing /home/jenkins/agent/workspace/documentation-update-after-release/samples/cdi/target/tyrus-sample-cdi-1.19-sources.jar to /home/jenkins/.m2/repository/org/glassfish/tyrus/samples/tyrus-sample-cdi/1.19/tyrus-sample-cdi-1.19-sources.jar [INFO] [INFO] -----------< org.glassfish.tyrus.samples:tyrus-sample-chat >------------ [INFO] Building Tyrus Chat Sample 1.19 [29/65] [INFO] --------------------------------[ war ]--------------------------------- [INFO] [INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ tyrus-sample-chat --- [INFO] [INFO] --- maven-checkstyle-plugin:3.0.0:check (default) @ tyrus-sample-chat --- [INFO] [INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ tyrus-sample-chat --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] skip non existing resourceDirectory /home/jenkins/agent/workspace/documentation-update-after-release/samples/chat/src/main/resources [INFO] [INFO] --- maven-compiler-plugin:3.1:compile (default-compile) @ tyrus-sample-chat --- [INFO] Changes detected - recompiling the module! [INFO] Compiling 13 source files to /home/jenkins/agent/workspace/documentation-update-after-release/samples/chat/target/classes [WARNING] /home/jenkins/agent/workspace/documentation-update-after-release/samples/chat/src/main/java/org/glassfish/tyrus/sample/chat/chatdata/ChatMessage.java: Some input files use unchecked or unsafe operations. [WARNING] /home/jenkins/agent/workspace/documentation-update-after-release/samples/chat/src/main/java/org/glassfish/tyrus/sample/chat/chatdata/ChatMessage.java: Recompile with -Xlint:unchecked for details. [INFO] [INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ tyrus-sample-chat --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] skip non existing resourceDirectory /home/jenkins/agent/workspace/documentation-update-after-release/samples/chat/src/test/resources [INFO] [INFO] --- maven-compiler-plugin:3.1:testCompile (default-testCompile) @ tyrus-sample-chat --- [INFO] No sources to compile [INFO] [INFO] --- maven-surefire-plugin:2.17:test (default-test) @ tyrus-sample-chat --- [INFO] Tests are skipped. [INFO] [INFO] --- maven-war-plugin:3.3.1:war (default-war) @ tyrus-sample-chat --- [INFO] Packaging webapp [INFO] Assembling webapp [tyrus-sample-chat] in [/home/jenkins/agent/workspace/documentation-update-after-release/samples/chat/target/tyrus-sample-chat-1.19] [INFO] Processing war project [INFO] Copying webapp resources [/home/jenkins/agent/workspace/documentation-update-after-release/samples/chat/src/main/webapp] [INFO] Building war: /home/jenkins/agent/workspace/documentation-update-after-release/samples/chat/target/tyrus-sample-chat-1.19.war [INFO] [INFO] --- maven-assembly-plugin:2.2-beta-5:attached (assemble-src-zip) @ tyrus-sample-chat --- [INFO] Reading assembly descriptor: ../etc/project-src-assembly.xml [INFO] Building zip: /home/jenkins/agent/workspace/documentation-update-after-release/samples/chat/target/tyrus-sample-chat-1.19-project-src.zip [INFO] [INFO] --- maven-source-plugin:2.2.1:jar-no-fork (attach-sources) @ tyrus-sample-chat --- [INFO] Building jar: /home/jenkins/agent/workspace/documentation-update-after-release/samples/chat/target/tyrus-sample-chat-1.19-sources.jar [INFO] [INFO] --- maven-install-plugin:2.4:install (default-install) @ tyrus-sample-chat --- [INFO] Installing /home/jenkins/agent/workspace/documentation-update-after-release/samples/chat/target/tyrus-sample-chat-1.19.war to /home/jenkins/.m2/repository/org/glassfish/tyrus/samples/tyrus-sample-chat/1.19/tyrus-sample-chat-1.19.war [INFO] Installing /home/jenkins/agent/workspace/documentation-update-after-release/samples/chat/pom.xml to /home/jenkins/.m2/repository/org/glassfish/tyrus/samples/tyrus-sample-chat/1.19/tyrus-sample-chat-1.19.pom [INFO] Installing /home/jenkins/agent/workspace/documentation-update-after-release/samples/chat/target/tyrus-sample-chat-1.19-project-src.zip to /home/jenkins/.m2/repository/org/glassfish/tyrus/samples/tyrus-sample-chat/1.19/tyrus-sample-chat-1.19-project-src.zip [INFO] Installing /home/jenkins/agent/workspace/documentation-update-after-release/samples/chat/target/tyrus-sample-chat-1.19-sources.jar to /home/jenkins/.m2/repository/org/glassfish/tyrus/samples/tyrus-sample-chat/1.19/tyrus-sample-chat-1.19-sources.jar [INFO] [INFO] -----------< org.glassfish.tyrus.samples:tyrus-sample-draw >------------ [INFO] Building Tyrus Draw Sample 1.19 [30/65] [INFO] --------------------------------[ war ]--------------------------------- [INFO] [INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ tyrus-sample-draw --- [INFO] [INFO] --- maven-checkstyle-plugin:3.0.0:check (default) @ tyrus-sample-draw --- [INFO] [INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ tyrus-sample-draw --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] skip non existing resourceDirectory /home/jenkins/agent/workspace/documentation-update-after-release/samples/draw/src/main/resources [INFO] [INFO] --- maven-compiler-plugin:3.1:compile (default-compile) @ tyrus-sample-draw --- [INFO] Changes detected - recompiling the module! [INFO] Compiling 1 source file to /home/jenkins/agent/workspace/documentation-update-after-release/samples/draw/target/classes [INFO] [INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ tyrus-sample-draw --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] skip non existing resourceDirectory /home/jenkins/agent/workspace/documentation-update-after-release/samples/draw/src/test/resources [INFO] [INFO] --- maven-compiler-plugin:3.1:testCompile (default-testCompile) @ tyrus-sample-draw --- [INFO] No sources to compile [INFO] [INFO] --- maven-surefire-plugin:2.17:test (default-test) @ tyrus-sample-draw --- [INFO] Tests are skipped. [INFO] [INFO] --- maven-war-plugin:3.3.1:war (default-war) @ tyrus-sample-draw --- [INFO] Packaging webapp [INFO] Assembling webapp [tyrus-sample-draw] in [/home/jenkins/agent/workspace/documentation-update-after-release/samples/draw/target/tyrus-sample-draw-1.19] [INFO] Processing war project [INFO] Copying webapp resources [/home/jenkins/agent/workspace/documentation-update-after-release/samples/draw/src/main/webapp] [INFO] Building war: /home/jenkins/agent/workspace/documentation-update-after-release/samples/draw/target/tyrus-sample-draw-1.19.war [INFO] [INFO] --- maven-assembly-plugin:2.2-beta-5:attached (assemble-src-zip) @ tyrus-sample-draw --- [INFO] Reading assembly descriptor: ../etc/project-src-assembly.xml [INFO] Building zip: /home/jenkins/agent/workspace/documentation-update-after-release/samples/draw/target/tyrus-sample-draw-1.19-project-src.zip [INFO] [INFO] --- maven-source-plugin:2.2.1:jar-no-fork (attach-sources) @ tyrus-sample-draw --- [INFO] Building jar: /home/jenkins/agent/workspace/documentation-update-after-release/samples/draw/target/tyrus-sample-draw-1.19-sources.jar [INFO] [INFO] --- maven-install-plugin:2.4:install (default-install) @ tyrus-sample-draw --- [INFO] Installing /home/jenkins/agent/workspace/documentation-update-after-release/samples/draw/target/tyrus-sample-draw-1.19.war to /home/jenkins/.m2/repository/org/glassfish/tyrus/samples/tyrus-sample-draw/1.19/tyrus-sample-draw-1.19.war [INFO] Installing /home/jenkins/agent/workspace/documentation-update-after-release/samples/draw/pom.xml to /home/jenkins/.m2/repository/org/glassfish/tyrus/samples/tyrus-sample-draw/1.19/tyrus-sample-draw-1.19.pom [INFO] Installing /home/jenkins/agent/workspace/documentation-update-after-release/samples/draw/target/tyrus-sample-draw-1.19-project-src.zip to /home/jenkins/.m2/repository/org/glassfish/tyrus/samples/tyrus-sample-draw/1.19/tyrus-sample-draw-1.19-project-src.zip [INFO] Installing /home/jenkins/agent/workspace/documentation-update-after-release/samples/draw/target/tyrus-sample-draw-1.19-sources.jar to /home/jenkins/.m2/repository/org/glassfish/tyrus/samples/tyrus-sample-draw/1.19/tyrus-sample-draw-1.19-sources.jar [INFO] [INFO] -----------< org.glassfish.tyrus.samples:tyrus-sample-echo >------------ [INFO] Building Tyrus Echo Sample 1.19 [31/65] [INFO] --------------------------------[ war ]--------------------------------- [INFO] [INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ tyrus-sample-echo --- [INFO] [INFO] --- maven-checkstyle-plugin:3.0.0:check (default) @ tyrus-sample-echo --- [INFO] [INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ tyrus-sample-echo --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] skip non existing resourceDirectory /home/jenkins/agent/workspace/documentation-update-after-release/samples/echo/src/main/resources [INFO] [INFO] --- maven-compiler-plugin:3.1:compile (default-compile) @ tyrus-sample-echo --- [INFO] Changes detected - recompiling the module! [INFO] Compiling 1 source file to /home/jenkins/agent/workspace/documentation-update-after-release/samples/echo/target/classes [INFO] [INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ tyrus-sample-echo --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] skip non existing resourceDirectory /home/jenkins/agent/workspace/documentation-update-after-release/samples/echo/src/test/resources [INFO] [INFO] --- maven-compiler-plugin:3.1:testCompile (default-testCompile) @ tyrus-sample-echo --- [INFO] Changes detected - recompiling the module! [INFO] Compiling 1 source file to /home/jenkins/agent/workspace/documentation-update-after-release/samples/echo/target/test-classes [INFO] [INFO] --- maven-surefire-plugin:2.17:test (default-test) @ tyrus-sample-echo --- [INFO] Tests are skipped. [INFO] [INFO] --- maven-war-plugin:3.3.1:war (default-war) @ tyrus-sample-echo --- [INFO] Packaging webapp [INFO] Assembling webapp [tyrus-sample-echo] in [/home/jenkins/agent/workspace/documentation-update-after-release/samples/echo/target/tyrus-sample-echo-1.19] [INFO] Processing war project [INFO] Copying webapp resources [/home/jenkins/agent/workspace/documentation-update-after-release/samples/echo/src/main/webapp] [INFO] Building war: /home/jenkins/agent/workspace/documentation-update-after-release/samples/echo/target/tyrus-sample-echo-1.19.war [INFO] [INFO] --- maven-assembly-plugin:2.2-beta-5:attached (assemble-src-zip) @ tyrus-sample-echo --- [INFO] Reading assembly descriptor: ../etc/project-src-assembly.xml [INFO] Building zip: /home/jenkins/agent/workspace/documentation-update-after-release/samples/echo/target/tyrus-sample-echo-1.19-project-src.zip [INFO] [INFO] --- maven-source-plugin:2.2.1:jar-no-fork (attach-sources) @ tyrus-sample-echo --- [INFO] Building jar: /home/jenkins/agent/workspace/documentation-update-after-release/samples/echo/target/tyrus-sample-echo-1.19-sources.jar [INFO] [INFO] --- maven-install-plugin:2.4:install (default-install) @ tyrus-sample-echo --- [INFO] Installing /home/jenkins/agent/workspace/documentation-update-after-release/samples/echo/target/tyrus-sample-echo-1.19.war to /home/jenkins/.m2/repository/org/glassfish/tyrus/samples/tyrus-sample-echo/1.19/tyrus-sample-echo-1.19.war [INFO] Installing /home/jenkins/agent/workspace/documentation-update-after-release/samples/echo/pom.xml to /home/jenkins/.m2/repository/org/glassfish/tyrus/samples/tyrus-sample-echo/1.19/tyrus-sample-echo-1.19.pom [INFO] Installing /home/jenkins/agent/workspace/documentation-update-after-release/samples/echo/target/tyrus-sample-echo-1.19-project-src.zip to /home/jenkins/.m2/repository/org/glassfish/tyrus/samples/tyrus-sample-echo/1.19/tyrus-sample-echo-1.19-project-src.zip [INFO] Installing /home/jenkins/agent/workspace/documentation-update-after-release/samples/echo/target/tyrus-sample-echo-1.19-sources.jar to /home/jenkins/.m2/repository/org/glassfish/tyrus/samples/tyrus-sample-echo/1.19/tyrus-sample-echo-1.19-sources.jar [INFO] [INFO] --------< org.glassfish.tyrus.samples:tyrus-sample-basic-auth >--------- [INFO] Building Tyrus Basic Auth Sample 1.19 [32/65] [INFO] --------------------------------[ war ]--------------------------------- [INFO] [INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ tyrus-sample-basic-auth --- [INFO] [INFO] --- maven-checkstyle-plugin:3.0.0:check (default) @ tyrus-sample-basic-auth --- [INFO] [INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ tyrus-sample-basic-auth --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] skip non existing resourceDirectory /home/jenkins/agent/workspace/documentation-update-after-release/samples/echo-basic-auth/src/main/resources [INFO] [INFO] --- maven-compiler-plugin:3.1:compile (default-compile) @ tyrus-sample-basic-auth --- [INFO] Changes detected - recompiling the module! [INFO] Compiling 1 source file to /home/jenkins/agent/workspace/documentation-update-after-release/samples/echo-basic-auth/target/classes [INFO] [INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ tyrus-sample-basic-auth --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] skip non existing resourceDirectory /home/jenkins/agent/workspace/documentation-update-after-release/samples/echo-basic-auth/src/test/resources [INFO] [INFO] --- maven-compiler-plugin:3.1:testCompile (default-testCompile) @ tyrus-sample-basic-auth --- [INFO] Changes detected - recompiling the module! [INFO] Compiling 1 source file to /home/jenkins/agent/workspace/documentation-update-after-release/samples/echo-basic-auth/target/test-classes [INFO] [INFO] --- maven-surefire-plugin:2.17:test (default-test) @ tyrus-sample-basic-auth --- [INFO] Tests are skipped. [INFO] [INFO] --- maven-war-plugin:3.3.1:war (default-war) @ tyrus-sample-basic-auth --- [INFO] Packaging webapp [INFO] Assembling webapp [tyrus-sample-basic-auth] in [/home/jenkins/agent/workspace/documentation-update-after-release/samples/echo-basic-auth/target/tyrus-sample-basic-auth-1.19] [INFO] Processing war project [INFO] Copying webapp resources [/home/jenkins/agent/workspace/documentation-update-after-release/samples/echo-basic-auth/src/main/webapp] [INFO] Building war: /home/jenkins/agent/workspace/documentation-update-after-release/samples/echo-basic-auth/target/tyrus-sample-basic-auth-1.19.war [INFO] [INFO] --- maven-assembly-plugin:2.2-beta-5:attached (assemble-src-zip) @ tyrus-sample-basic-auth --- [INFO] Reading assembly descriptor: ../etc/project-src-assembly.xml [INFO] Building zip: /home/jenkins/agent/workspace/documentation-update-after-release/samples/echo-basic-auth/target/tyrus-sample-basic-auth-1.19-project-src.zip [INFO] [INFO] --- maven-source-plugin:2.2.1:jar-no-fork (attach-sources) @ tyrus-sample-basic-auth --- [INFO] Building jar: /home/jenkins/agent/workspace/documentation-update-after-release/samples/echo-basic-auth/target/tyrus-sample-basic-auth-1.19-sources.jar [INFO] [INFO] --- maven-install-plugin:2.4:install (default-install) @ tyrus-sample-basic-auth --- [INFO] Installing /home/jenkins/agent/workspace/documentation-update-after-release/samples/echo-basic-auth/target/tyrus-sample-basic-auth-1.19.war to /home/jenkins/.m2/repository/org/glassfish/tyrus/samples/tyrus-sample-basic-auth/1.19/tyrus-sample-basic-auth-1.19.war [INFO] Installing /home/jenkins/agent/workspace/documentation-update-after-release/samples/echo-basic-auth/pom.xml to /home/jenkins/.m2/repository/org/glassfish/tyrus/samples/tyrus-sample-basic-auth/1.19/tyrus-sample-basic-auth-1.19.pom [INFO] Installing /home/jenkins/agent/workspace/documentation-update-after-release/samples/echo-basic-auth/target/tyrus-sample-basic-auth-1.19-project-src.zip to /home/jenkins/.m2/repository/org/glassfish/tyrus/samples/tyrus-sample-basic-auth/1.19/tyrus-sample-basic-auth-1.19-project-src.zip [INFO] Installing /home/jenkins/agent/workspace/documentation-update-after-release/samples/echo-basic-auth/target/tyrus-sample-basic-auth-1.19-sources.jar to /home/jenkins/.m2/repository/org/glassfish/tyrus/samples/tyrus-sample-basic-auth/1.19/tyrus-sample-basic-auth-1.19-sources.jar [INFO] [INFO] --------< org.glassfish.tyrus.samples:tyrus-sample-echo-https >--------- [INFO] Building Tyrus Secure Echo Sample 1.19 [33/65] [INFO] --------------------------------[ war ]--------------------------------- [INFO] [INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ tyrus-sample-echo-https --- [INFO] [INFO] --- maven-checkstyle-plugin:3.0.0:check (default) @ tyrus-sample-echo-https --- [INFO] [INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ tyrus-sample-echo-https --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] skip non existing resourceDirectory /home/jenkins/agent/workspace/documentation-update-after-release/samples/echo-https/src/main/resources [INFO] [INFO] --- maven-compiler-plugin:3.1:compile (default-compile) @ tyrus-sample-echo-https --- [INFO] Changes detected - recompiling the module! [INFO] Compiling 1 source file to /home/jenkins/agent/workspace/documentation-update-after-release/samples/echo-https/target/classes [INFO] [INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ tyrus-sample-echo-https --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] skip non existing resourceDirectory /home/jenkins/agent/workspace/documentation-update-after-release/samples/echo-https/src/test/resources [INFO] [INFO] --- maven-compiler-plugin:3.1:testCompile (default-testCompile) @ tyrus-sample-echo-https --- [INFO] Changes detected - recompiling the module! [INFO] Compiling 1 source file to /home/jenkins/agent/workspace/documentation-update-after-release/samples/echo-https/target/test-classes [INFO] [INFO] --- maven-surefire-plugin:2.17:test (default-test) @ tyrus-sample-echo-https --- [INFO] Tests are skipped. [INFO] [INFO] --- maven-war-plugin:3.3.1:war (default-war) @ tyrus-sample-echo-https --- [INFO] Packaging webapp [INFO] Assembling webapp [tyrus-sample-echo-https] in [/home/jenkins/agent/workspace/documentation-update-after-release/samples/echo-https/target/tyrus-sample-echo-https-1.19] [INFO] Processing war project [INFO] Copying webapp resources [/home/jenkins/agent/workspace/documentation-update-after-release/samples/echo-https/src/main/webapp] [INFO] Building war: /home/jenkins/agent/workspace/documentation-update-after-release/samples/echo-https/target/tyrus-sample-echo-https-1.19.war [INFO] [INFO] --- maven-assembly-plugin:2.2-beta-5:attached (assemble-src-zip) @ tyrus-sample-echo-https --- [INFO] Reading assembly descriptor: ../etc/project-src-assembly.xml [INFO] Building zip: /home/jenkins/agent/workspace/documentation-update-after-release/samples/echo-https/target/tyrus-sample-echo-https-1.19-project-src.zip [INFO] [INFO] --- maven-source-plugin:2.2.1:jar-no-fork (attach-sources) @ tyrus-sample-echo-https --- [INFO] Building jar: /home/jenkins/agent/workspace/documentation-update-after-release/samples/echo-https/target/tyrus-sample-echo-https-1.19-sources.jar [INFO] [INFO] --- maven-install-plugin:2.4:install (default-install) @ tyrus-sample-echo-https --- [INFO] Installing /home/jenkins/agent/workspace/documentation-update-after-release/samples/echo-https/target/tyrus-sample-echo-https-1.19.war to /home/jenkins/.m2/repository/org/glassfish/tyrus/samples/tyrus-sample-echo-https/1.19/tyrus-sample-echo-https-1.19.war [INFO] Installing /home/jenkins/agent/workspace/documentation-update-after-release/samples/echo-https/pom.xml to /home/jenkins/.m2/repository/org/glassfish/tyrus/samples/tyrus-sample-echo-https/1.19/tyrus-sample-echo-https-1.19.pom [INFO] Installing /home/jenkins/agent/workspace/documentation-update-after-release/samples/echo-https/target/tyrus-sample-echo-https-1.19-project-src.zip to /home/jenkins/.m2/repository/org/glassfish/tyrus/samples/tyrus-sample-echo-https/1.19/tyrus-sample-echo-https-1.19-project-src.zip [INFO] Installing /home/jenkins/agent/workspace/documentation-update-after-release/samples/echo-https/target/tyrus-sample-echo-https-1.19-sources.jar to /home/jenkins/.m2/repository/org/glassfish/tyrus/samples/tyrus-sample-echo-https/1.19/tyrus-sample-echo-https-1.19-sources.jar [INFO] [INFO] -----< org.glassfish.tyrus.samples:tyrus-sample-programmatic-echo >----- [INFO] Building Tyrus Programmatic Echo Sample 1.19 [34/65] [INFO] --------------------------------[ war ]--------------------------------- [INFO] [INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ tyrus-sample-programmatic-echo --- [INFO] [INFO] --- maven-checkstyle-plugin:3.0.0:check (default) @ tyrus-sample-programmatic-echo --- [INFO] [INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ tyrus-sample-programmatic-echo --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] skip non existing resourceDirectory /home/jenkins/agent/workspace/documentation-update-after-release/samples/programmatic-echo/src/main/resources [INFO] [INFO] --- maven-compiler-plugin:3.1:compile (default-compile) @ tyrus-sample-programmatic-echo --- [INFO] Changes detected - recompiling the module! [INFO] Compiling 1 source file to /home/jenkins/agent/workspace/documentation-update-after-release/samples/programmatic-echo/target/classes [INFO] [INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ tyrus-sample-programmatic-echo --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] skip non existing resourceDirectory /home/jenkins/agent/workspace/documentation-update-after-release/samples/programmatic-echo/src/test/resources [INFO] [INFO] --- maven-compiler-plugin:3.1:testCompile (default-testCompile) @ tyrus-sample-programmatic-echo --- [INFO] Changes detected - recompiling the module! [INFO] Compiling 1 source file to /home/jenkins/agent/workspace/documentation-update-after-release/samples/programmatic-echo/target/test-classes [INFO] [INFO] --- maven-surefire-plugin:2.17:test (default-test) @ tyrus-sample-programmatic-echo --- [INFO] Tests are skipped. [INFO] [INFO] --- maven-war-plugin:3.3.1:war (default-war) @ tyrus-sample-programmatic-echo --- [INFO] Packaging webapp [INFO] Assembling webapp [tyrus-sample-programmatic-echo] in [/home/jenkins/agent/workspace/documentation-update-after-release/samples/programmatic-echo/target/tyrus-sample-programmatic-echo-1.19] [INFO] Processing war project [INFO] Copying webapp resources [/home/jenkins/agent/workspace/documentation-update-after-release/samples/programmatic-echo/src/main/webapp] [INFO] Building war: /home/jenkins/agent/workspace/documentation-update-after-release/samples/programmatic-echo/target/tyrus-sample-programmatic-echo-1.19.war [INFO] [INFO] --- maven-assembly-plugin:2.2-beta-5:attached (assemble-src-zip) @ tyrus-sample-programmatic-echo --- [INFO] Reading assembly descriptor: ../etc/project-src-assembly.xml [INFO] Building zip: /home/jenkins/agent/workspace/documentation-update-after-release/samples/programmatic-echo/target/tyrus-sample-programmatic-echo-1.19-project-src.zip [INFO] [INFO] --- maven-source-plugin:2.2.1:jar-no-fork (attach-sources) @ tyrus-sample-programmatic-echo --- [INFO] Building jar: /home/jenkins/agent/workspace/documentation-update-after-release/samples/programmatic-echo/target/tyrus-sample-programmatic-echo-1.19-sources.jar [INFO] [INFO] --- maven-install-plugin:2.4:install (default-install) @ tyrus-sample-programmatic-echo --- [INFO] Installing /home/jenkins/agent/workspace/documentation-update-after-release/samples/programmatic-echo/target/tyrus-sample-programmatic-echo-1.19.war to /home/jenkins/.m2/repository/org/glassfish/tyrus/samples/tyrus-sample-programmatic-echo/1.19/tyrus-sample-programmatic-echo-1.19.war [INFO] Installing /home/jenkins/agent/workspace/documentation-update-after-release/samples/programmatic-echo/pom.xml to /home/jenkins/.m2/repository/org/glassfish/tyrus/samples/tyrus-sample-programmatic-echo/1.19/tyrus-sample-programmatic-echo-1.19.pom [INFO] Installing /home/jenkins/agent/workspace/documentation-update-after-release/samples/programmatic-echo/target/tyrus-sample-programmatic-echo-1.19-project-src.zip to /home/jenkins/.m2/repository/org/glassfish/tyrus/samples/tyrus-sample-programmatic-echo/1.19/tyrus-sample-programmatic-echo-1.19-project-src.zip [INFO] Installing /home/jenkins/agent/workspace/documentation-update-after-release/samples/programmatic-echo/target/tyrus-sample-programmatic-echo-1.19-sources.jar to /home/jenkins/.m2/repository/org/glassfish/tyrus/samples/tyrus-sample-programmatic-echo/1.19/tyrus-sample-programmatic-echo-1.19-sources.jar [INFO] [INFO] --------< org.glassfish.tyrus.samples:tyrus-sample-simplelife >--------- [INFO] Building Tyrus Simple Life Sample 1.19 [35/65] [INFO] --------------------------------[ war ]--------------------------------- [INFO] [INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ tyrus-sample-simplelife --- [INFO] [INFO] --- maven-checkstyle-plugin:3.0.0:check (default) @ tyrus-sample-simplelife --- [INFO] [INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ tyrus-sample-simplelife --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] skip non existing resourceDirectory /home/jenkins/agent/workspace/documentation-update-after-release/samples/simplelife/src/main/resources [INFO] [INFO] --- maven-compiler-plugin:3.1:compile (default-compile) @ tyrus-sample-simplelife --- [INFO] Changes detected - recompiling the module! [INFO] Compiling 1 source file to /home/jenkins/agent/workspace/documentation-update-after-release/samples/simplelife/target/classes [INFO] [INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ tyrus-sample-simplelife --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] skip non existing resourceDirectory /home/jenkins/agent/workspace/documentation-update-after-release/samples/simplelife/src/test/resources [INFO] [INFO] --- maven-compiler-plugin:3.1:testCompile (default-testCompile) @ tyrus-sample-simplelife --- [INFO] No sources to compile [INFO] [INFO] --- maven-surefire-plugin:2.17:test (default-test) @ tyrus-sample-simplelife --- [INFO] Tests are skipped. [INFO] [INFO] --- maven-war-plugin:3.3.1:war (default-war) @ tyrus-sample-simplelife --- [INFO] Packaging webapp [INFO] Assembling webapp [tyrus-sample-simplelife] in [/home/jenkins/agent/workspace/documentation-update-after-release/samples/simplelife/target/tyrus-sample-simplelife-1.19] [INFO] Processing war project [INFO] Copying webapp resources [/home/jenkins/agent/workspace/documentation-update-after-release/samples/simplelife/src/main/webapp] [INFO] Building war: /home/jenkins/agent/workspace/documentation-update-after-release/samples/simplelife/target/tyrus-sample-simplelife-1.19.war [INFO] [INFO] --- maven-assembly-plugin:2.2-beta-5:attached (assemble-src-zip) @ tyrus-sample-simplelife --- [INFO] Reading assembly descriptor: ../etc/project-src-assembly.xml [INFO] Building zip: /home/jenkins/agent/workspace/documentation-update-after-release/samples/simplelife/target/tyrus-sample-simplelife-1.19-project-src.zip [INFO] [INFO] --- maven-source-plugin:2.2.1:jar-no-fork (attach-sources) @ tyrus-sample-simplelife --- [INFO] Building jar: /home/jenkins/agent/workspace/documentation-update-after-release/samples/simplelife/target/tyrus-sample-simplelife-1.19-sources.jar [INFO] [INFO] --- maven-install-plugin:2.4:install (default-install) @ tyrus-sample-simplelife --- [INFO] Installing /home/jenkins/agent/workspace/documentation-update-after-release/samples/simplelife/target/tyrus-sample-simplelife-1.19.war to /home/jenkins/.m2/repository/org/glassfish/tyrus/samples/tyrus-sample-simplelife/1.19/tyrus-sample-simplelife-1.19.war [INFO] Installing /home/jenkins/agent/workspace/documentation-update-after-release/samples/simplelife/pom.xml to /home/jenkins/.m2/repository/org/glassfish/tyrus/samples/tyrus-sample-simplelife/1.19/tyrus-sample-simplelife-1.19.pom [INFO] Installing /home/jenkins/agent/workspace/documentation-update-after-release/samples/simplelife/target/tyrus-sample-simplelife-1.19-project-src.zip to /home/jenkins/.m2/repository/org/glassfish/tyrus/samples/tyrus-sample-simplelife/1.19/tyrus-sample-simplelife-1.19-project-src.zip [INFO] Installing /home/jenkins/agent/workspace/documentation-update-after-release/samples/simplelife/target/tyrus-sample-simplelife-1.19-sources.jar to /home/jenkins/.m2/repository/org/glassfish/tyrus/samples/tyrus-sample-simplelife/1.19/tyrus-sample-simplelife-1.19-sources.jar [INFO] [INFO] -----< org.glassfish.tyrus.samples:tyrus-sample-shared-collection >----- [INFO] Building Tyrus Shared Collection Sample 1.19 [36/65] [INFO] --------------------------------[ war ]--------------------------------- [INFO] [INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ tyrus-sample-shared-collection --- [INFO] [INFO] --- maven-checkstyle-plugin:3.0.0:check (default) @ tyrus-sample-shared-collection --- [INFO] [INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ tyrus-sample-shared-collection --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] skip non existing resourceDirectory /home/jenkins/agent/workspace/documentation-update-after-release/samples/shared-collection/src/main/resources [INFO] [INFO] --- maven-compiler-plugin:3.1:compile (default-compile) @ tyrus-sample-shared-collection --- [INFO] Changes detected - recompiling the module! [INFO] Compiling 3 source files to /home/jenkins/agent/workspace/documentation-update-after-release/samples/shared-collection/target/classes [INFO] [INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ tyrus-sample-shared-collection --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] skip non existing resourceDirectory /home/jenkins/agent/workspace/documentation-update-after-release/samples/shared-collection/src/test/resources [INFO] [INFO] --- maven-compiler-plugin:3.1:testCompile (default-testCompile) @ tyrus-sample-shared-collection --- [INFO] Changes detected - recompiling the module! [INFO] Compiling 3 source files to /home/jenkins/agent/workspace/documentation-update-after-release/samples/shared-collection/target/test-classes [INFO] [INFO] --- maven-surefire-plugin:2.17:test (default-test) @ tyrus-sample-shared-collection --- [INFO] Tests are skipped. [INFO] [INFO] --- maven-war-plugin:3.3.1:war (default-war) @ tyrus-sample-shared-collection --- [INFO] Packaging webapp [INFO] Assembling webapp [tyrus-sample-shared-collection] in [/home/jenkins/agent/workspace/documentation-update-after-release/samples/shared-collection/target/tyrus-sample-shared-collection-1.19] [INFO] Processing war project [INFO] Copying webapp resources [/home/jenkins/agent/workspace/documentation-update-after-release/samples/shared-collection/src/main/webapp] [INFO] Building war: /home/jenkins/agent/workspace/documentation-update-after-release/samples/shared-collection/target/tyrus-sample-shared-collection-1.19.war [INFO] [INFO] --- maven-assembly-plugin:2.2-beta-5:attached (assemble-src-zip) @ tyrus-sample-shared-collection --- [INFO] Reading assembly descriptor: ../etc/project-src-assembly.xml [INFO] Building zip: /home/jenkins/agent/workspace/documentation-update-after-release/samples/shared-collection/target/tyrus-sample-shared-collection-1.19-project-src.zip [INFO] [INFO] --- maven-source-plugin:2.2.1:jar-no-fork (attach-sources) @ tyrus-sample-shared-collection --- [INFO] Building jar: /home/jenkins/agent/workspace/documentation-update-after-release/samples/shared-collection/target/tyrus-sample-shared-collection-1.19-sources.jar [INFO] [INFO] --- maven-install-plugin:2.4:install (default-install) @ tyrus-sample-shared-collection --- [INFO] Installing /home/jenkins/agent/workspace/documentation-update-after-release/samples/shared-collection/target/tyrus-sample-shared-collection-1.19.war to /home/jenkins/.m2/repository/org/glassfish/tyrus/samples/tyrus-sample-shared-collection/1.19/tyrus-sample-shared-collection-1.19.war [INFO] Installing /home/jenkins/agent/workspace/documentation-update-after-release/samples/shared-collection/pom.xml to /home/jenkins/.m2/repository/org/glassfish/tyrus/samples/tyrus-sample-shared-collection/1.19/tyrus-sample-shared-collection-1.19.pom [INFO] Installing /home/jenkins/agent/workspace/documentation-update-after-release/samples/shared-collection/target/tyrus-sample-shared-collection-1.19-project-src.zip to /home/jenkins/.m2/repository/org/glassfish/tyrus/samples/tyrus-sample-shared-collection/1.19/tyrus-sample-shared-collection-1.19-project-src.zip [INFO] Installing /home/jenkins/agent/workspace/documentation-update-after-release/samples/shared-collection/target/tyrus-sample-shared-collection-1.19-sources.jar to /home/jenkins/.m2/repository/org/glassfish/tyrus/samples/tyrus-sample-shared-collection/1.19/tyrus-sample-shared-collection-1.19-sources.jar [INFO] [INFO] -------------< org.glassfish.tyrus.tests:tyrus-tests-e2e >-------------- [INFO] Building Tyrus End-to-End Tests 1.19 [37/65] [INFO] --------------------------------[ pom ]--------------------------------- [INFO] [INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ tyrus-tests-e2e --- [INFO] [INFO] --- maven-checkstyle-plugin:3.0.0:check (default) @ tyrus-tests-e2e --- [INFO] [INFO] --- maven-source-plugin:2.2.1:jar-no-fork (attach-sources) @ tyrus-tests-e2e --- [INFO] [INFO] --- maven-install-plugin:2.4:install (default-install) @ tyrus-tests-e2e --- [INFO] Installing /home/jenkins/agent/workspace/documentation-update-after-release/tests/e2e/pom.xml to /home/jenkins/.m2/repository/org/glassfish/tyrus/tests/tyrus-tests-e2e/1.19/tyrus-tests-e2e-1.19.pom [INFO] [INFO] --------< org.glassfish.tyrus.tests:tyrus-tests-e2e-appconfig >--------- [INFO] Building Tyrus End-to-End Application Config Tests 1.19 [38/65] [INFO] --------------------------------[ war ]--------------------------------- [INFO] [INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ tyrus-tests-e2e-appconfig --- [INFO] [INFO] --- maven-checkstyle-plugin:3.0.0:check (default) @ tyrus-tests-e2e-appconfig --- [INFO] [INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ tyrus-tests-e2e-appconfig --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] skip non existing resourceDirectory /home/jenkins/agent/workspace/documentation-update-after-release/tests/e2e/application-config/src/main/resources [INFO] [INFO] --- maven-compiler-plugin:3.1:compile (default-compile) @ tyrus-tests-e2e-appconfig --- [INFO] No sources to compile [INFO] [INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ tyrus-tests-e2e-appconfig --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] skip non existing resourceDirectory /home/jenkins/agent/workspace/documentation-update-after-release/tests/e2e/application-config/src/test/resources [INFO] [INFO] --- maven-compiler-plugin:3.1:testCompile (default-testCompile) @ tyrus-tests-e2e-appconfig --- [INFO] Changes detected - recompiling the module! [INFO] Compiling 9 source files to /home/jenkins/agent/workspace/documentation-update-after-release/tests/e2e/application-config/target/test-classes [INFO] [INFO] --- maven-surefire-plugin:2.17:test (default-test) @ tyrus-tests-e2e-appconfig --- [INFO] Tests are skipped. [INFO] [INFO] --- maven-war-plugin:3.3.1:war (default-war) @ tyrus-tests-e2e-appconfig --- [INFO] Packaging webapp [INFO] Assembling webapp [tyrus-tests-e2e-appconfig] in [/home/jenkins/agent/workspace/documentation-update-after-release/tests/e2e/application-config/target/tyrus-tests-e2e-appconfig-1.19] [INFO] Processing war project [INFO] Copying webapp resources [/home/jenkins/agent/workspace/documentation-update-after-release/tests/e2e/application-config/src/main/webapp] [INFO] Building war: /home/jenkins/agent/workspace/documentation-update-after-release/tests/e2e/application-config/target/tyrus-tests-e2e-appconfig-1.19.war [INFO] [INFO] --- maven-source-plugin:2.2.1:jar-no-fork (attach-sources) @ tyrus-tests-e2e-appconfig --- [INFO] No sources in project. Archive not created. [INFO] [INFO] --- maven-install-plugin:2.4:install (default-install) @ tyrus-tests-e2e-appconfig --- [INFO] Installing /home/jenkins/agent/workspace/documentation-update-after-release/tests/e2e/application-config/target/tyrus-tests-e2e-appconfig-1.19.war to /home/jenkins/.m2/repository/org/glassfish/tyrus/tests/tyrus-tests-e2e-appconfig/1.19/tyrus-tests-e2e-appconfig-1.19.war [INFO] Installing /home/jenkins/agent/workspace/documentation-update-after-release/tests/e2e/application-config/pom.xml to /home/jenkins/.m2/repository/org/glassfish/tyrus/tests/tyrus-tests-e2e-appconfig/1.19/tyrus-tests-e2e-appconfig-1.19.pom [INFO] [INFO] ------< org.glassfish.tyrus.tests:tyrus-tests-e2e-nondeployable >------- [INFO] Building Tyrus End-to-End Non-deployable Tests 1.19 [39/65] [INFO] --------------------------------[ war ]--------------------------------- [INFO] [INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ tyrus-tests-e2e-nondeployable --- [INFO] [INFO] --- maven-checkstyle-plugin:3.0.0:check (default) @ tyrus-tests-e2e-nondeployable --- [INFO] [INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ tyrus-tests-e2e-nondeployable --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] skip non existing resourceDirectory /home/jenkins/agent/workspace/documentation-update-after-release/tests/e2e/non-deployable/src/main/resources [INFO] [INFO] --- maven-compiler-plugin:3.1:compile (default-compile) @ tyrus-tests-e2e-nondeployable --- [INFO] No sources to compile [INFO] [INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ tyrus-tests-e2e-nondeployable --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] skip non existing resourceDirectory /home/jenkins/agent/workspace/documentation-update-after-release/tests/e2e/non-deployable/src/test/resources [INFO] [INFO] --- maven-compiler-plugin:3.1:testCompile (default-testCompile) @ tyrus-tests-e2e-nondeployable --- [INFO] Changes detected - recompiling the module! [INFO] Compiling 21 source files to /home/jenkins/agent/workspace/documentation-update-after-release/tests/e2e/non-deployable/target/test-classes [WARNING] /home/jenkins/agent/workspace/documentation-update-after-release/tests/e2e/non-deployable/src/test/java/org/glassfish/tyrus/test/e2e/non_deployable/AnnotatedClassModelcheckingTest.java: /home/jenkins/agent/workspace/documentation-update-after-release/tests/e2e/non-deployable/src/test/java/org/glassfish/tyrus/test/e2e/non_deployable/AnnotatedClassModelcheckingTest.java uses or overrides a deprecated API. [WARNING] /home/jenkins/agent/workspace/documentation-update-after-release/tests/e2e/non-deployable/src/test/java/org/glassfish/tyrus/test/e2e/non_deployable/AnnotatedClassModelcheckingTest.java: Recompile with -Xlint:deprecation for details. [WARNING] /home/jenkins/agent/workspace/documentation-update-after-release/tests/e2e/non-deployable/src/test/java/org/glassfish/tyrus/test/e2e/non_deployable/GetEndpointInstanceTest.java: /home/jenkins/agent/workspace/documentation-update-after-release/tests/e2e/non-deployable/src/test/java/org/glassfish/tyrus/test/e2e/non_deployable/GetEndpointInstanceTest.java uses unchecked or unsafe operations. [WARNING] /home/jenkins/agent/workspace/documentation-update-after-release/tests/e2e/non-deployable/src/test/java/org/glassfish/tyrus/test/e2e/non_deployable/GetEndpointInstanceTest.java: Recompile with -Xlint:unchecked for details. [INFO] [INFO] --- maven-surefire-plugin:2.17:test (default-test) @ tyrus-tests-e2e-nondeployable --- [INFO] Tests are skipped. [INFO] [INFO] --- maven-war-plugin:3.3.1:war (default-war) @ tyrus-tests-e2e-nondeployable --- [INFO] Packaging webapp [INFO] Assembling webapp [tyrus-tests-e2e-nondeployable] in [/home/jenkins/agent/workspace/documentation-update-after-release/tests/e2e/non-deployable/target/tyrus-tests-e2e-nondeployable-1.19] [INFO] Processing war project [INFO] Building war: /home/jenkins/agent/workspace/documentation-update-after-release/tests/e2e/non-deployable/target/tyrus-tests-e2e-nondeployable-1.19.war [INFO] [INFO] --- maven-source-plugin:2.2.1:jar-no-fork (attach-sources) @ tyrus-tests-e2e-nondeployable --- [INFO] No sources in project. Archive not created. [INFO] [INFO] --- maven-install-plugin:2.4:install (default-install) @ tyrus-tests-e2e-nondeployable --- [INFO] Installing /home/jenkins/agent/workspace/documentation-update-after-release/tests/e2e/non-deployable/target/tyrus-tests-e2e-nondeployable-1.19.war to /home/jenkins/.m2/repository/org/glassfish/tyrus/tests/tyrus-tests-e2e-nondeployable/1.19/tyrus-tests-e2e-nondeployable-1.19.war [INFO] Installing /home/jenkins/agent/workspace/documentation-update-after-release/tests/e2e/non-deployable/pom.xml to /home/jenkins/.m2/repository/org/glassfish/tyrus/tests/tyrus-tests-e2e-nondeployable/1.19/tyrus-tests-e2e-nondeployable-1.19.pom [INFO] [INFO] --------< org.glassfish.tyrus.tests:tyrus-tests-e2e-stdconfig >--------- [INFO] Building Tyrus End-to-End Standard Config Tests 1.19 [40/65] [INFO] --------------------------------[ war ]--------------------------------- [INFO] [INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ tyrus-tests-e2e-stdconfig --- [INFO] [INFO] --- maven-checkstyle-plugin:3.0.0:check (default) @ tyrus-tests-e2e-stdconfig --- [INFO] [INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ tyrus-tests-e2e-stdconfig --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] skip non existing resourceDirectory /home/jenkins/agent/workspace/documentation-update-after-release/tests/e2e/standard-config/src/main/resources [INFO] [INFO] --- maven-compiler-plugin:3.1:compile (default-compile) @ tyrus-tests-e2e-stdconfig --- [INFO] No sources to compile [INFO] [INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ tyrus-tests-e2e-stdconfig --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] Copying 5 resources [INFO] [INFO] --- maven-compiler-plugin:3.1:testCompile (default-testCompile) @ tyrus-tests-e2e-stdconfig --- [INFO] Changes detected - recompiling the module! [INFO] Compiling 82 source files to /home/jenkins/agent/workspace/documentation-update-after-release/tests/e2e/standard-config/target/test-classes [INFO] [INFO] --- maven-surefire-plugin:2.17:test (default-test) @ tyrus-tests-e2e-stdconfig --- [INFO] Tests are skipped. [INFO] [INFO] --- maven-war-plugin:3.3.1:war (default-war) @ tyrus-tests-e2e-stdconfig --- [INFO] Packaging webapp [INFO] Assembling webapp [tyrus-tests-e2e-stdconfig] in [/home/jenkins/agent/workspace/documentation-update-after-release/tests/e2e/standard-config/target/tyrus-tests-e2e-stdconfig-1.19] [INFO] Processing war project [INFO] Copying webapp resources [/home/jenkins/agent/workspace/documentation-update-after-release/tests/e2e/standard-config/src/main/webapp] [INFO] Building war: /home/jenkins/agent/workspace/documentation-update-after-release/tests/e2e/standard-config/target/tyrus-tests-e2e-stdconfig-1.19.war [INFO] [INFO] --- maven-source-plugin:2.2.1:jar-no-fork (attach-sources) @ tyrus-tests-e2e-stdconfig --- [INFO] No sources in project. Archive not created. [INFO] [INFO] --- maven-install-plugin:2.4:install (default-install) @ tyrus-tests-e2e-stdconfig --- [INFO] Installing /home/jenkins/agent/workspace/documentation-update-after-release/tests/e2e/standard-config/target/tyrus-tests-e2e-stdconfig-1.19.war to /home/jenkins/.m2/repository/org/glassfish/tyrus/tests/tyrus-tests-e2e-stdconfig/1.19/tyrus-tests-e2e-stdconfig-1.19.war [INFO] Installing /home/jenkins/agent/workspace/documentation-update-after-release/tests/e2e/standard-config/pom.xml to /home/jenkins/.m2/repository/org/glassfish/tyrus/tests/tyrus-tests-e2e-stdconfig/1.19/tyrus-tests-e2e-stdconfig-1.19.pom [INFO] [INFO] -----------< org.glassfish.tyrus.tests:tyrus-tests-e2e-jdk8 >----------- [INFO] Building Tyrus End-to-End Java 8 Tests 1.19 [41/65] [INFO] --------------------------------[ war ]--------------------------------- [INFO] [INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ tyrus-tests-e2e-jdk8 --- [INFO] [INFO] --- maven-checkstyle-plugin:3.0.0:check (default) @ tyrus-tests-e2e-jdk8 --- [INFO] [INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ tyrus-tests-e2e-jdk8 --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] skip non existing resourceDirectory /home/jenkins/agent/workspace/documentation-update-after-release/tests/e2e/jdk8/src/main/resources [INFO] [INFO] --- maven-compiler-plugin:3.1:compile (default-compile) @ tyrus-tests-e2e-jdk8 --- [INFO] No sources to compile [INFO] [INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ tyrus-tests-e2e-jdk8 --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] skip non existing resourceDirectory /home/jenkins/agent/workspace/documentation-update-after-release/tests/e2e/jdk8/src/test/resources [INFO] [INFO] --- maven-compiler-plugin:3.1:testCompile (default-testCompile) @ tyrus-tests-e2e-jdk8 --- [INFO] Changes detected - recompiling the module! [INFO] Compiling 3 source files to /home/jenkins/agent/workspace/documentation-update-after-release/tests/e2e/jdk8/target/test-classes [INFO] [INFO] --- maven-surefire-plugin:2.17:test (default-test) @ tyrus-tests-e2e-jdk8 --- [INFO] Tests are skipped. [INFO] [INFO] --- maven-war-plugin:3.3.1:war (default-war) @ tyrus-tests-e2e-jdk8 --- [INFO] Packaging webapp [INFO] Assembling webapp [tyrus-tests-e2e-jdk8] in [/home/jenkins/agent/workspace/documentation-update-after-release/tests/e2e/jdk8/target/tyrus-tests-e2e-jdk8-1.19] [INFO] Processing war project [INFO] Building war: /home/jenkins/agent/workspace/documentation-update-after-release/tests/e2e/jdk8/target/tyrus-tests-e2e-jdk8-1.19.war [INFO] [INFO] --- maven-source-plugin:2.2.1:jar-no-fork (attach-sources) @ tyrus-tests-e2e-jdk8 --- [INFO] No sources in project. Archive not created. [INFO] [INFO] --- maven-install-plugin:2.4:install (default-install) @ tyrus-tests-e2e-jdk8 --- [INFO] Installing /home/jenkins/agent/workspace/documentation-update-after-release/tests/e2e/jdk8/target/tyrus-tests-e2e-jdk8-1.19.war to /home/jenkins/.m2/repository/org/glassfish/tyrus/tests/tyrus-tests-e2e-jdk8/1.19/tyrus-tests-e2e-jdk8-1.19.war [INFO] Installing /home/jenkins/agent/workspace/documentation-update-after-release/tests/e2e/jdk8/pom.xml to /home/jenkins/.m2/repository/org/glassfish/tyrus/tests/tyrus-tests-e2e-jdk8/1.19/tyrus-tests-e2e-jdk8-1.19.pom [INFO] [INFO] ----------< org.glassfish.tyrus.tests:tyrus-tests-e2e-jetty >----------- [INFO] Building Tyrus End-to-End Tests running on Jetty 1.19 [42/65] [INFO] --------------------------------[ pom ]--------------------------------- [INFO] [INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ tyrus-tests-e2e-jetty --- [INFO] [INFO] --- maven-checkstyle-plugin:3.0.0:check (default) @ tyrus-tests-e2e-jetty --- [INFO] [INFO] --- maven-source-plugin:2.2.1:jar-no-fork (attach-sources) @ tyrus-tests-e2e-jetty --- [INFO] [INFO] --- maven-install-plugin:2.4:install (default-install) @ tyrus-tests-e2e-jetty --- [INFO] Installing /home/jenkins/agent/workspace/documentation-update-after-release/tests/e2e/jetty/pom.xml to /home/jenkins/.m2/repository/org/glassfish/tyrus/tests/tyrus-tests-e2e-jetty/1.19/tyrus-tests-e2e-jetty-1.19.pom [INFO] [INFO] --------< org.glassfish.tyrus.tests:tyrus-tests-e2e-auth-basic >-------- [INFO] Building Tyrus End-to-End Basic Auth Tests 1.19 [43/65] [INFO] --------------------------------[ jar ]--------------------------------- [INFO] [INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ tyrus-tests-e2e-auth-basic --- [INFO] [INFO] --- maven-checkstyle-plugin:3.0.0:check (default) @ tyrus-tests-e2e-auth-basic --- [INFO] [INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ tyrus-tests-e2e-auth-basic --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] Copying 1 resource [INFO] [INFO] --- maven-compiler-plugin:3.1:compile (default-compile) @ tyrus-tests-e2e-auth-basic --- [INFO] Changes detected - recompiling the module! [INFO] Compiling 1 source file to /home/jenkins/agent/workspace/documentation-update-after-release/tests/e2e/jetty/auth-basic/target/classes [INFO] [INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ tyrus-tests-e2e-auth-basic --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] skip non existing resourceDirectory /home/jenkins/agent/workspace/documentation-update-after-release/tests/e2e/jetty/auth-basic/src/test/resources [INFO] [INFO] --- maven-compiler-plugin:3.1:testCompile (default-testCompile) @ tyrus-tests-e2e-auth-basic --- [INFO] Changes detected - recompiling the module! [INFO] Compiling 1 source file to /home/jenkins/agent/workspace/documentation-update-after-release/tests/e2e/jetty/auth-basic/target/test-classes [INFO] [INFO] >>> jetty-maven-plugin:9.2.1.v20140609:start (start-jetty) > validate @ tyrus-tests-e2e-auth-basic >>> [INFO] [INFO] --- maven-checkstyle-plugin:3.0.0:check (default) @ tyrus-tests-e2e-auth-basic --- [INFO] [INFO] <<< jetty-maven-plugin:9.2.1.v20140609:start (start-jetty) < validate @ tyrus-tests-e2e-auth-basic <<< [INFO] [INFO] [INFO] --- jetty-maven-plugin:9.2.1.v20140609:start (start-jetty) @ tyrus-tests-e2e-auth-basic --- [INFO] Logging initialized @127869ms [INFO] Configuring Jetty for project: Tyrus End-to-End Basic Auth Tests [INFO] webAppSourceDirectory not set. Trying src/main/webapp [INFO] Reload Mechanic: automatic [INFO] Classes = /home/jenkins/agent/workspace/documentation-update-after-release/tests/e2e/jetty/auth-basic/target/classes [INFO] Context path = / [INFO] Tmp directory = /home/jenkins/agent/workspace/documentation-update-after-release/tests/e2e/jetty/auth-basic/target/tmp [INFO] Web defaults = org/eclipse/jetty/webapp/webdefault.xml [INFO] Web overrides = none [INFO] web.xml file = file:/home/jenkins/agent/workspace/documentation-update-after-release/tests/e2e/jetty/auth-basic/src/main/webapp/WEB-INF/web.xml [INFO] Webapp directory = /home/jenkins/agent/workspace/documentation-update-after-release/tests/e2e/jetty/auth-basic/src/main/webapp [INFO] jetty-9.2.1.v20140609 [INFO] Warning: No org.apache.tomcat.JarScanner set in ServletContext. Falling back to default JarScanner implementation. [WARNING] ServletContext@o.e.j.m.p.JettyWebAppContext@2c0f893d{/e2e-basic-auth-test,file:/home/jenkins/agent/workspace/documentation-update-after-release/tests/e2e/jetty/auth-basic/src/main/webapp/,STARTING}{file:/home/jenkins/agent/workspace/documentation-update-after-release/tests/e2e/jetty/auth-basic/src/main/webapp/} has uncovered http methods for path: /* [INFO] Started o.e.j.m.p.JettyWebAppContext@2c0f893d{/e2e-basic-auth-test,file:/home/jenkins/agent/workspace/documentation-update-after-release/tests/e2e/jetty/auth-basic/src/main/webapp/,AVAILABLE}{file:/home/jenkins/agent/workspace/documentation-update-after-release/tests/e2e/jetty/auth-basic/src/main/webapp/} [WARNING] !RequestLog [INFO] Started ServerConnector@4e213e7e{HTTP/1.1}{0.0.0.0:8025} [INFO] Started @128461ms [INFO] Started Jetty Server [INFO] [INFO] --- maven-surefire-plugin:2.17:test (default-test) @ tyrus-tests-e2e-auth-basic --- [INFO] Tests are skipped. [INFO] [INFO] --- jetty-maven-plugin:9.2.1.v20140609:stop (stop-jetty) @ tyrus-tests-e2e-auth-basic --- [INFO] Waiting 5 seconds for jetty to stop [INFO] Stopped ServerConnector@4e213e7e{HTTP/1.1}{0.0.0.0:8025} [INFO] Stopped o.e.j.m.p.JettyWebAppContext@2c0f893d{/e2e-basic-auth-test,file:/home/jenkins/agent/workspace/documentation-update-after-release/tests/e2e/jetty/auth-basic/src/main/webapp/,UNAVAILABLE}{file:/home/jenkins/agent/workspace/documentation-update-after-release/tests/e2e/jetty/auth-basic/src/main/webapp/} [INFO] Server reports itself as stopped [INFO] [INFO] --- maven-jar-plugin:2.4:jar (default-jar) @ tyrus-tests-e2e-auth-basic --- [INFO] Building jar: /home/jenkins/agent/workspace/documentation-update-after-release/tests/e2e/jetty/auth-basic/target/tyrus-tests-e2e-auth-basic-1.19.jar [INFO] [INFO] --- maven-source-plugin:2.2.1:jar-no-fork (attach-sources) @ tyrus-tests-e2e-auth-basic --- [INFO] Building jar: /home/jenkins/agent/workspace/documentation-update-after-release/tests/e2e/jetty/auth-basic/target/tyrus-tests-e2e-auth-basic-1.19-sources.jar [INFO] [INFO] --- maven-install-plugin:2.4:install (default-install) @ tyrus-tests-e2e-auth-basic --- [INFO] Installing /home/jenkins/agent/workspace/documentation-update-after-release/tests/e2e/jetty/auth-basic/target/tyrus-tests-e2e-auth-basic-1.19.jar to /home/jenkins/.m2/repository/org/glassfish/tyrus/tests/tyrus-tests-e2e-auth-basic/1.19/tyrus-tests-e2e-auth-basic-1.19.jar [INFO] Installing /home/jenkins/agent/workspace/documentation-update-after-release/tests/e2e/jetty/auth-basic/pom.xml to /home/jenkins/.m2/repository/org/glassfish/tyrus/tests/tyrus-tests-e2e-auth-basic/1.19/tyrus-tests-e2e-auth-basic-1.19.pom [INFO] Installing /home/jenkins/agent/workspace/documentation-update-after-release/tests/e2e/jetty/auth-basic/target/tyrus-tests-e2e-auth-basic-1.19-sources.jar to /home/jenkins/.m2/repository/org/glassfish/tyrus/tests/tyrus-tests-e2e-auth-basic/1.19/tyrus-tests-e2e-auth-basic-1.19-sources.jar [INFO] [INFO] -------< org.glassfish.tyrus.tests:tyrus-tests-e2e-auth-digest >-------- [INFO] Building Tyrus End-to-End Digest Auth Tests 1.19 [44/65] [INFO] --------------------------------[ jar ]--------------------------------- [INFO] [INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ tyrus-tests-e2e-auth-digest --- [INFO] [INFO] --- maven-checkstyle-plugin:3.0.0:check (default) @ tyrus-tests-e2e-auth-digest --- [INFO] [INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ tyrus-tests-e2e-auth-digest --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] Copying 1 resource [INFO] [INFO] --- maven-compiler-plugin:3.1:compile (default-compile) @ tyrus-tests-e2e-auth-digest --- [INFO] Changes detected - recompiling the module! [INFO] Compiling 1 source file to /home/jenkins/agent/workspace/documentation-update-after-release/tests/e2e/jetty/auth-digest/target/classes [INFO] [INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ tyrus-tests-e2e-auth-digest --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] skip non existing resourceDirectory /home/jenkins/agent/workspace/documentation-update-after-release/tests/e2e/jetty/auth-digest/src/test/resources [INFO] [INFO] --- maven-compiler-plugin:3.1:testCompile (default-testCompile) @ tyrus-tests-e2e-auth-digest --- [INFO] Changes detected - recompiling the module! [INFO] Compiling 1 source file to /home/jenkins/agent/workspace/documentation-update-after-release/tests/e2e/jetty/auth-digest/target/test-classes [INFO] [INFO] >>> jetty-maven-plugin:9.2.1.v20140609:start (start-jetty) > validate @ tyrus-tests-e2e-auth-digest >>> [INFO] [INFO] --- maven-checkstyle-plugin:3.0.0:check (default) @ tyrus-tests-e2e-auth-digest --- [INFO] [INFO] <<< jetty-maven-plugin:9.2.1.v20140609:start (start-jetty) < validate @ tyrus-tests-e2e-auth-digest <<< [INFO] [INFO] [INFO] --- jetty-maven-plugin:9.2.1.v20140609:start (start-jetty) @ tyrus-tests-e2e-auth-digest --- [INFO] Configuring Jetty for project: Tyrus End-to-End Digest Auth Tests [INFO] webAppSourceDirectory not set. Trying src/main/webapp [INFO] Reload Mechanic: automatic [INFO] Classes = /home/jenkins/agent/workspace/documentation-update-after-release/tests/e2e/jetty/auth-digest/target/classes [INFO] Context path = / [INFO] Tmp directory = /home/jenkins/agent/workspace/documentation-update-after-release/tests/e2e/jetty/auth-digest/target/tmp [INFO] Web defaults = org/eclipse/jetty/webapp/webdefault.xml [INFO] Web overrides = none [INFO] web.xml file = file:/home/jenkins/agent/workspace/documentation-update-after-release/tests/e2e/jetty/auth-digest/src/main/webapp/WEB-INF/web.xml [INFO] Webapp directory = /home/jenkins/agent/workspace/documentation-update-after-release/tests/e2e/jetty/auth-digest/src/main/webapp [INFO] jetty-9.2.1.v20140609 [INFO] Warning: No org.apache.tomcat.JarScanner set in ServletContext. Falling back to default JarScanner implementation. [WARNING] ServletContext@o.e.j.m.p.JettyWebAppContext@5daeb9bb{/e2e-digest-auth-test,file:/home/jenkins/agent/workspace/documentation-update-after-release/tests/e2e/jetty/auth-digest/src/main/webapp/,STARTING}{file:/home/jenkins/agent/workspace/documentation-update-after-release/tests/e2e/jetty/auth-digest/src/main/webapp/} has uncovered http methods for path: /* [INFO] Started o.e.j.m.p.JettyWebAppContext@5daeb9bb{/e2e-digest-auth-test,file:/home/jenkins/agent/workspace/documentation-update-after-release/tests/e2e/jetty/auth-digest/src/main/webapp/,AVAILABLE}{file:/home/jenkins/agent/workspace/documentation-update-after-release/tests/e2e/jetty/auth-digest/src/main/webapp/} [WARNING] !RequestLog [INFO] Started ServerConnector@222ee77e{HTTP/1.1}{0.0.0.0:8025} [INFO] Started @129225ms [INFO] Started Jetty Server [INFO] [INFO] --- maven-surefire-plugin:2.17:test (default-test) @ tyrus-tests-e2e-auth-digest --- [INFO] Tests are skipped. [INFO] [INFO] --- jetty-maven-plugin:9.2.1.v20140609:stop (stop-jetty) @ tyrus-tests-e2e-auth-digest --- [INFO] Waiting 5 seconds for jetty to stop [INFO] Stopped ServerConnector@222ee77e{HTTP/1.1}{0.0.0.0:8025} [INFO] Stopped o.e.j.m.p.JettyWebAppContext@5daeb9bb{/e2e-digest-auth-test,file:/home/jenkins/agent/workspace/documentation-update-after-release/tests/e2e/jetty/auth-digest/src/main/webapp/,UNAVAILABLE}{file:/home/jenkins/agent/workspace/documentation-update-after-release/tests/e2e/jetty/auth-digest/src/main/webapp/} [INFO] Server reports itself as stopped [INFO] [INFO] --- maven-jar-plugin:2.4:jar (default-jar) @ tyrus-tests-e2e-auth-digest --- [INFO] Building jar: /home/jenkins/agent/workspace/documentation-update-after-release/tests/e2e/jetty/auth-digest/target/tyrus-tests-e2e-auth-digest-1.19.jar [INFO] [INFO] --- maven-source-plugin:2.2.1:jar-no-fork (attach-sources) @ tyrus-tests-e2e-auth-digest --- [INFO] Building jar: /home/jenkins/agent/workspace/documentation-update-after-release/tests/e2e/jetty/auth-digest/target/tyrus-tests-e2e-auth-digest-1.19-sources.jar [INFO] [INFO] --- maven-install-plugin:2.4:install (default-install) @ tyrus-tests-e2e-auth-digest --- [INFO] Installing /home/jenkins/agent/workspace/documentation-update-after-release/tests/e2e/jetty/auth-digest/target/tyrus-tests-e2e-auth-digest-1.19.jar to /home/jenkins/.m2/repository/org/glassfish/tyrus/tests/tyrus-tests-e2e-auth-digest/1.19/tyrus-tests-e2e-auth-digest-1.19.jar [INFO] Installing /home/jenkins/agent/workspace/documentation-update-after-release/tests/e2e/jetty/auth-digest/pom.xml to /home/jenkins/.m2/repository/org/glassfish/tyrus/tests/tyrus-tests-e2e-auth-digest/1.19/tyrus-tests-e2e-auth-digest-1.19.pom [INFO] Installing /home/jenkins/agent/workspace/documentation-update-after-release/tests/e2e/jetty/auth-digest/target/tyrus-tests-e2e-auth-digest-1.19-sources.jar to /home/jenkins/.m2/repository/org/glassfish/tyrus/tests/tyrus-tests-e2e-auth-digest/1.19/tyrus-tests-e2e-auth-digest-1.19-sources.jar [INFO] [INFO] ---< org.glassfish.tyrus.tests.servlet:tyrus-tests-servlet-project >---- [INFO] Building Tyrus Server Integration Tests 1.19 [45/65] [INFO] --------------------------------[ pom ]--------------------------------- [INFO] [INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ tyrus-tests-servlet-project --- [INFO] [INFO] --- maven-checkstyle-plugin:3.0.0:check (default) @ tyrus-tests-servlet-project --- [INFO] [INFO] --- maven-source-plugin:2.2.1:jar-no-fork (attach-sources) @ tyrus-tests-servlet-project --- [INFO] [INFO] --- maven-install-plugin:2.4:install (default-install) @ tyrus-tests-servlet-project --- [INFO] Installing /home/jenkins/agent/workspace/documentation-update-after-release/tests/servlet/pom.xml to /home/jenkins/.m2/repository/org/glassfish/tyrus/tests/servlet/tyrus-tests-servlet-project/1.19/tyrus-tests-servlet-project-1.19.pom [INFO] [INFO] ----< org.glassfish.tyrus.tests.servlet:tyrus-tests-servlet-async >----- [INFO] Building Tyrus Servlet Async Tests 1.19 [46/65] [INFO] --------------------------------[ war ]--------------------------------- [INFO] [INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ tyrus-tests-servlet-async --- [INFO] [INFO] --- maven-checkstyle-plugin:3.0.0:check (default) @ tyrus-tests-servlet-async --- [INFO] [INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ tyrus-tests-servlet-async --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] skip non existing resourceDirectory /home/jenkins/agent/workspace/documentation-update-after-release/tests/servlet/async/src/main/resources [INFO] [INFO] --- maven-compiler-plugin:3.1:compile (default-compile) @ tyrus-tests-servlet-async --- [INFO] Changes detected - recompiling the module! [INFO] Compiling 7 source files to /home/jenkins/agent/workspace/documentation-update-after-release/tests/servlet/async/target/classes [INFO] [INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ tyrus-tests-servlet-async --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] skip non existing resourceDirectory /home/jenkins/agent/workspace/documentation-update-after-release/tests/servlet/async/src/test/resources [INFO] [INFO] --- maven-compiler-plugin:3.1:testCompile (default-testCompile) @ tyrus-tests-servlet-async --- [INFO] Changes detected - recompiling the module! [INFO] Compiling 3 source files to /home/jenkins/agent/workspace/documentation-update-after-release/tests/servlet/async/target/test-classes [INFO] [INFO] --- maven-surefire-plugin:2.17:test (default-test) @ tyrus-tests-servlet-async --- [INFO] Tests are skipped. [INFO] [INFO] --- maven-war-plugin:3.3.1:war (default-war) @ tyrus-tests-servlet-async --- [INFO] Packaging webapp [INFO] Assembling webapp [tyrus-tests-servlet-async] in [/home/jenkins/agent/workspace/documentation-update-after-release/tests/servlet/async/target/tyrus-tests-servlet-async-1.19] [INFO] Processing war project [INFO] Copying webapp resources [/home/jenkins/agent/workspace/documentation-update-after-release/tests/servlet/async/src/main/webapp] [INFO] Building war: /home/jenkins/agent/workspace/documentation-update-after-release/tests/servlet/async/target/tyrus-tests-servlet-async-1.19.war [INFO] [INFO] --- maven-source-plugin:2.2.1:jar-no-fork (attach-sources) @ tyrus-tests-servlet-async --- [INFO] Building jar: /home/jenkins/agent/workspace/documentation-update-after-release/tests/servlet/async/target/tyrus-tests-servlet-async-1.19-sources.jar [INFO] [INFO] --- maven-install-plugin:2.4:install (default-install) @ tyrus-tests-servlet-async --- [INFO] Installing /home/jenkins/agent/workspace/documentation-update-after-release/tests/servlet/async/target/tyrus-tests-servlet-async-1.19.war to /home/jenkins/.m2/repository/org/glassfish/tyrus/tests/servlet/tyrus-tests-servlet-async/1.19/tyrus-tests-servlet-async-1.19.war [INFO] Installing /home/jenkins/agent/workspace/documentation-update-after-release/tests/servlet/async/pom.xml to /home/jenkins/.m2/repository/org/glassfish/tyrus/tests/servlet/tyrus-tests-servlet-async/1.19/tyrus-tests-servlet-async-1.19.pom [INFO] Installing /home/jenkins/agent/workspace/documentation-update-after-release/tests/servlet/async/target/tyrus-tests-servlet-async-1.19-sources.jar to /home/jenkins/.m2/repository/org/glassfish/tyrus/tests/servlet/tyrus-tests-servlet-async/1.19/tyrus-tests-servlet-async-1.19-sources.jar [INFO] [INFO] --< org.glassfish.tyrus.tests.servlet:tyrus-tests-servlet-autobahn-server >-- [INFO] Building Tyrus Autobahn Echo Server 1.19 [47/65] [INFO] --------------------------------[ war ]--------------------------------- [INFO] [INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ tyrus-tests-servlet-autobahn-server --- [INFO] [INFO] --- maven-checkstyle-plugin:3.0.0:check (default) @ tyrus-tests-servlet-autobahn-server --- [INFO] [INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ tyrus-tests-servlet-autobahn-server --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] skip non existing resourceDirectory /home/jenkins/agent/workspace/documentation-update-after-release/tests/servlet/autobahn-server/src/main/resources [INFO] [INFO] --- maven-compiler-plugin:3.1:compile (default-compile) @ tyrus-tests-servlet-autobahn-server --- [INFO] Changes detected - recompiling the module! [INFO] Compiling 2 source files to /home/jenkins/agent/workspace/documentation-update-after-release/tests/servlet/autobahn-server/target/classes [INFO] [INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ tyrus-tests-servlet-autobahn-server --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] skip non existing resourceDirectory /home/jenkins/agent/workspace/documentation-update-after-release/tests/servlet/autobahn-server/src/test/resources [INFO] [INFO] --- maven-compiler-plugin:3.1:testCompile (default-testCompile) @ tyrus-tests-servlet-autobahn-server --- [INFO] Changes detected - recompiling the module! [INFO] Compiling 1 source file to /home/jenkins/agent/workspace/documentation-update-after-release/tests/servlet/autobahn-server/target/test-classes [INFO] [INFO] --- maven-surefire-plugin:2.17:test (default-test) @ tyrus-tests-servlet-autobahn-server --- [INFO] Tests are skipped. [INFO] [INFO] --- maven-war-plugin:3.3.1:war (default-war) @ tyrus-tests-servlet-autobahn-server --- [INFO] Packaging webapp [INFO] Assembling webapp [tyrus-tests-servlet-autobahn-server] in [/home/jenkins/agent/workspace/documentation-update-after-release/tests/servlet/autobahn-server/target/tyrus-tests-servlet-autobahn-server-1.19] [INFO] Processing war project [INFO] Copying webapp resources [/home/jenkins/agent/workspace/documentation-update-after-release/tests/servlet/autobahn-server/src/main/webapp] [INFO] Building war: /home/jenkins/agent/workspace/documentation-update-after-release/tests/servlet/autobahn-server/target/tyrus-tests-servlet-autobahn-server-1.19.war [INFO] [INFO] --- maven-source-plugin:2.2.1:jar-no-fork (attach-sources) @ tyrus-tests-servlet-autobahn-server --- [INFO] Building jar: /home/jenkins/agent/workspace/documentation-update-after-release/tests/servlet/autobahn-server/target/tyrus-tests-servlet-autobahn-server-1.19-sources.jar [INFO] [INFO] --- maven-install-plugin:2.4:install (default-install) @ tyrus-tests-servlet-autobahn-server --- [INFO] Installing /home/jenkins/agent/workspace/documentation-update-after-release/tests/servlet/autobahn-server/target/tyrus-tests-servlet-autobahn-server-1.19.war to /home/jenkins/.m2/repository/org/glassfish/tyrus/tests/servlet/tyrus-tests-servlet-autobahn-server/1.19/tyrus-tests-servlet-autobahn-server-1.19.war [INFO] Installing /home/jenkins/agent/workspace/documentation-update-after-release/tests/servlet/autobahn-server/pom.xml to /home/jenkins/.m2/repository/org/glassfish/tyrus/tests/servlet/tyrus-tests-servlet-autobahn-server/1.19/tyrus-tests-servlet-autobahn-server-1.19.pom [INFO] Installing /home/jenkins/agent/workspace/documentation-update-after-release/tests/servlet/autobahn-server/target/tyrus-tests-servlet-autobahn-server-1.19-sources.jar to /home/jenkins/.m2/repository/org/glassfish/tyrus/tests/servlet/tyrus-tests-servlet-autobahn-server/1.19/tyrus-tests-servlet-autobahn-server-1.19-sources.jar [INFO] [INFO] ----< org.glassfish.tyrus.tests.servlet:tyrus-tests-servlet-basic >----- [INFO] Building Tyrus Servlet Basic Tests 1.19 [48/65] [INFO] --------------------------------[ war ]--------------------------------- [INFO] [INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ tyrus-tests-servlet-basic --- [INFO] [INFO] --- maven-checkstyle-plugin:3.0.0:check (default) @ tyrus-tests-servlet-basic --- [INFO] [INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ tyrus-tests-servlet-basic --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] skip non existing resourceDirectory /home/jenkins/agent/workspace/documentation-update-after-release/tests/servlet/basic/src/main/resources [INFO] [INFO] --- maven-compiler-plugin:3.1:compile (default-compile) @ tyrus-tests-servlet-basic --- [INFO] Changes detected - recompiling the module! [INFO] Compiling 6 source files to /home/jenkins/agent/workspace/documentation-update-after-release/tests/servlet/basic/target/classes [INFO] [INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ tyrus-tests-servlet-basic --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] skip non existing resourceDirectory /home/jenkins/agent/workspace/documentation-update-after-release/tests/servlet/basic/src/test/resources [INFO] [INFO] --- maven-compiler-plugin:3.1:testCompile (default-testCompile) @ tyrus-tests-servlet-basic --- [INFO] Changes detected - recompiling the module! [INFO] Compiling 3 source files to /home/jenkins/agent/workspace/documentation-update-after-release/tests/servlet/basic/target/test-classes [WARNING] /home/jenkins/agent/workspace/documentation-update-after-release/tests/servlet/basic/src/test/java/org/glassfish/tyrus/tests/servlet/basic/ServletTestBase.java: /home/jenkins/agent/workspace/documentation-update-after-release/tests/servlet/basic/src/test/java/org/glassfish/tyrus/tests/servlet/basic/ServletTestBase.java uses or overrides a deprecated API. [WARNING] /home/jenkins/agent/workspace/documentation-update-after-release/tests/servlet/basic/src/test/java/org/glassfish/tyrus/tests/servlet/basic/ServletTestBase.java: Recompile with -Xlint:deprecation for details. [INFO] [INFO] --- maven-surefire-plugin:2.17:test (default-test) @ tyrus-tests-servlet-basic --- [INFO] Tests are skipped. [INFO] [INFO] --- maven-war-plugin:3.3.1:war (default-war) @ tyrus-tests-servlet-basic --- [INFO] Packaging webapp [INFO] Assembling webapp [tyrus-tests-servlet-basic] in [/home/jenkins/agent/workspace/documentation-update-after-release/tests/servlet/basic/target/tyrus-tests-servlet-basic-1.19] [INFO] Processing war project [INFO] Copying webapp resources [/home/jenkins/agent/workspace/documentation-update-after-release/tests/servlet/basic/src/main/webapp] [INFO] Building war: /home/jenkins/agent/workspace/documentation-update-after-release/tests/servlet/basic/target/tyrus-tests-servlet-basic-1.19.war [INFO] [INFO] --- maven-source-plugin:2.2.1:jar-no-fork (attach-sources) @ tyrus-tests-servlet-basic --- [INFO] Building jar: /home/jenkins/agent/workspace/documentation-update-after-release/tests/servlet/basic/target/tyrus-tests-servlet-basic-1.19-sources.jar [INFO] [INFO] --- maven-install-plugin:2.4:install (default-install) @ tyrus-tests-servlet-basic --- [INFO] Installing /home/jenkins/agent/workspace/documentation-update-after-release/tests/servlet/basic/target/tyrus-tests-servlet-basic-1.19.war to /home/jenkins/.m2/repository/org/glassfish/tyrus/tests/servlet/tyrus-tests-servlet-basic/1.19/tyrus-tests-servlet-basic-1.19.war [INFO] Installing /home/jenkins/agent/workspace/documentation-update-after-release/tests/servlet/basic/pom.xml to /home/jenkins/.m2/repository/org/glassfish/tyrus/tests/servlet/tyrus-tests-servlet-basic/1.19/tyrus-tests-servlet-basic-1.19.pom [INFO] Installing /home/jenkins/agent/workspace/documentation-update-after-release/tests/servlet/basic/target/tyrus-tests-servlet-basic-1.19-sources.jar to /home/jenkins/.m2/repository/org/glassfish/tyrus/tests/servlet/tyrus-tests-servlet-basic/1.19/tyrus-tests-servlet-basic-1.19-sources.jar [INFO] [INFO] --< org.glassfish.tyrus.tests.servlet:tyrus-tests-servlet-dynamic-deploy >-- [INFO] Building Tyrus Servlet Dynamic Deploy Test 1.19 [49/65] [INFO] --------------------------------[ war ]--------------------------------- [INFO] [INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ tyrus-tests-servlet-dynamic-deploy --- [INFO] [INFO] --- maven-checkstyle-plugin:3.0.0:check (default) @ tyrus-tests-servlet-dynamic-deploy --- [INFO] [INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ tyrus-tests-servlet-dynamic-deploy --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] skip non existing resourceDirectory /home/jenkins/agent/workspace/documentation-update-after-release/tests/servlet/dynamic-deploy/src/main/resources [INFO] [INFO] --- maven-compiler-plugin:3.1:compile (default-compile) @ tyrus-tests-servlet-dynamic-deploy --- [INFO] Changes detected - recompiling the module! [INFO] Compiling 4 source files to /home/jenkins/agent/workspace/documentation-update-after-release/tests/servlet/dynamic-deploy/target/classes [INFO] [INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ tyrus-tests-servlet-dynamic-deploy --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] skip non existing resourceDirectory /home/jenkins/agent/workspace/documentation-update-after-release/tests/servlet/dynamic-deploy/src/test/resources [INFO] [INFO] --- maven-compiler-plugin:3.1:testCompile (default-testCompile) @ tyrus-tests-servlet-dynamic-deploy --- [INFO] Changes detected - recompiling the module! [INFO] Compiling 1 source file to /home/jenkins/agent/workspace/documentation-update-after-release/tests/servlet/dynamic-deploy/target/test-classes [INFO] [INFO] --- maven-surefire-plugin:2.17:test (default-test) @ tyrus-tests-servlet-dynamic-deploy --- [INFO] Tests are skipped. [INFO] [INFO] --- maven-war-plugin:3.3.1:war (default-war) @ tyrus-tests-servlet-dynamic-deploy --- [INFO] Packaging webapp [INFO] Assembling webapp [tyrus-tests-servlet-dynamic-deploy] in [/home/jenkins/agent/workspace/documentation-update-after-release/tests/servlet/dynamic-deploy/target/tyrus-tests-servlet-dynamic-deploy-1.19] [INFO] Processing war project [INFO] Copying webapp resources [/home/jenkins/agent/workspace/documentation-update-after-release/tests/servlet/dynamic-deploy/src/main/webapp] [INFO] Building war: /home/jenkins/agent/workspace/documentation-update-after-release/tests/servlet/dynamic-deploy/target/tyrus-tests-servlet-dynamic-deploy-1.19.war [INFO] [INFO] --- maven-source-plugin:2.2.1:jar-no-fork (attach-sources) @ tyrus-tests-servlet-dynamic-deploy --- [INFO] Building jar: /home/jenkins/agent/workspace/documentation-update-after-release/tests/servlet/dynamic-deploy/target/tyrus-tests-servlet-dynamic-deploy-1.19-sources.jar [INFO] [INFO] --- maven-install-plugin:2.4:install (default-install) @ tyrus-tests-servlet-dynamic-deploy --- [INFO] Installing /home/jenkins/agent/workspace/documentation-update-after-release/tests/servlet/dynamic-deploy/target/tyrus-tests-servlet-dynamic-deploy-1.19.war to /home/jenkins/.m2/repository/org/glassfish/tyrus/tests/servlet/tyrus-tests-servlet-dynamic-deploy/1.19/tyrus-tests-servlet-dynamic-deploy-1.19.war [INFO] Installing /home/jenkins/agent/workspace/documentation-update-after-release/tests/servlet/dynamic-deploy/pom.xml to /home/jenkins/.m2/repository/org/glassfish/tyrus/tests/servlet/tyrus-tests-servlet-dynamic-deploy/1.19/tyrus-tests-servlet-dynamic-deploy-1.19.pom [INFO] Installing /home/jenkins/agent/workspace/documentation-update-after-release/tests/servlet/dynamic-deploy/target/tyrus-tests-servlet-dynamic-deploy-1.19-sources.jar to /home/jenkins/.m2/repository/org/glassfish/tyrus/tests/servlet/tyrus-tests-servlet-dynamic-deploy/1.19/tyrus-tests-servlet-dynamic-deploy-1.19-sources.jar [INFO] [INFO] --< org.glassfish.tyrus.tests.servlet:tyrus-tests-servlet-noappconfig >-- [INFO] Building Tyrus Servlet No App Config 1.19 [50/65] [INFO] --------------------------------[ war ]--------------------------------- [INFO] [INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ tyrus-tests-servlet-noappconfig --- [INFO] [INFO] --- maven-checkstyle-plugin:3.0.0:check (default) @ tyrus-tests-servlet-noappconfig --- [INFO] [INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ tyrus-tests-servlet-noappconfig --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] skip non existing resourceDirectory /home/jenkins/agent/workspace/documentation-update-after-release/tests/servlet/noappconfig/src/main/resources [INFO] [INFO] --- maven-compiler-plugin:3.1:compile (default-compile) @ tyrus-tests-servlet-noappconfig --- [INFO] Changes detected - recompiling the module! [INFO] Compiling 1 source file to /home/jenkins/agent/workspace/documentation-update-after-release/tests/servlet/noappconfig/target/classes [INFO] [INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ tyrus-tests-servlet-noappconfig --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] skip non existing resourceDirectory /home/jenkins/agent/workspace/documentation-update-after-release/tests/servlet/noappconfig/src/test/resources [INFO] [INFO] --- maven-compiler-plugin:3.1:testCompile (default-testCompile) @ tyrus-tests-servlet-noappconfig --- [INFO] Changes detected - recompiling the module! [INFO] Compiling 1 source file to /home/jenkins/agent/workspace/documentation-update-after-release/tests/servlet/noappconfig/target/test-classes [WARNING] /home/jenkins/agent/workspace/documentation-update-after-release/tests/servlet/noappconfig/src/test/java/org/glassfish/tyrus/test/servlet/noappconfig/NoServerApplicationConfigDeployTest.java: /home/jenkins/agent/workspace/documentation-update-after-release/tests/servlet/noappconfig/src/test/java/org/glassfish/tyrus/test/servlet/noappconfig/NoServerApplicationConfigDeployTest.java uses or overrides a deprecated API. [WARNING] /home/jenkins/agent/workspace/documentation-update-after-release/tests/servlet/noappconfig/src/test/java/org/glassfish/tyrus/test/servlet/noappconfig/NoServerApplicationConfigDeployTest.java: Recompile with -Xlint:deprecation for details. [INFO] [INFO] --- maven-surefire-plugin:2.17:test (default-test) @ tyrus-tests-servlet-noappconfig --- [INFO] Tests are skipped. [INFO] [INFO] --- maven-war-plugin:3.3.1:war (default-war) @ tyrus-tests-servlet-noappconfig --- [INFO] Packaging webapp [INFO] Assembling webapp [tyrus-tests-servlet-noappconfig] in [/home/jenkins/agent/workspace/documentation-update-after-release/tests/servlet/noappconfig/target/tyrus-tests-servlet-noappconfig-1.19] [INFO] Processing war project [INFO] Copying webapp resources [/home/jenkins/agent/workspace/documentation-update-after-release/tests/servlet/noappconfig/src/main/webapp] [INFO] Building war: /home/jenkins/agent/workspace/documentation-update-after-release/tests/servlet/noappconfig/target/tyrus-tests-servlet-noappconfig-1.19.war [INFO] [INFO] --- maven-source-plugin:2.2.1:jar-no-fork (attach-sources) @ tyrus-tests-servlet-noappconfig --- [INFO] Building jar: /home/jenkins/agent/workspace/documentation-update-after-release/tests/servlet/noappconfig/target/tyrus-tests-servlet-noappconfig-1.19-sources.jar [INFO] [INFO] --- maven-install-plugin:2.4:install (default-install) @ tyrus-tests-servlet-noappconfig --- [INFO] Installing /home/jenkins/agent/workspace/documentation-update-after-release/tests/servlet/noappconfig/target/tyrus-tests-servlet-noappconfig-1.19.war to /home/jenkins/.m2/repository/org/glassfish/tyrus/tests/servlet/tyrus-tests-servlet-noappconfig/1.19/tyrus-tests-servlet-noappconfig-1.19.war [INFO] Installing /home/jenkins/agent/workspace/documentation-update-after-release/tests/servlet/noappconfig/pom.xml to /home/jenkins/.m2/repository/org/glassfish/tyrus/tests/servlet/tyrus-tests-servlet-noappconfig/1.19/tyrus-tests-servlet-noappconfig-1.19.pom [INFO] Installing /home/jenkins/agent/workspace/documentation-update-after-release/tests/servlet/noappconfig/target/tyrus-tests-servlet-noappconfig-1.19-sources.jar to /home/jenkins/.m2/repository/org/glassfish/tyrus/tests/servlet/tyrus-tests-servlet-noappconfig/1.19/tyrus-tests-servlet-noappconfig-1.19-sources.jar [INFO] [INFO] --< org.glassfish.tyrus.tests.servlet:tyrus-tests-servlet-oneappconfig >-- [INFO] Building Tyrus Servlet One App Config 1.19 [51/65] [INFO] --------------------------------[ war ]--------------------------------- [INFO] [INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ tyrus-tests-servlet-oneappconfig --- [INFO] [INFO] --- maven-checkstyle-plugin:3.0.0:check (default) @ tyrus-tests-servlet-oneappconfig --- [INFO] [INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ tyrus-tests-servlet-oneappconfig --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] skip non existing resourceDirectory /home/jenkins/agent/workspace/documentation-update-after-release/tests/servlet/oneappconfig/src/main/resources [INFO] [INFO] --- maven-compiler-plugin:3.1:compile (default-compile) @ tyrus-tests-servlet-oneappconfig --- [INFO] Changes detected - recompiling the module! [INFO] Compiling 4 source files to /home/jenkins/agent/workspace/documentation-update-after-release/tests/servlet/oneappconfig/target/classes [INFO] [INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ tyrus-tests-servlet-oneappconfig --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] skip non existing resourceDirectory /home/jenkins/agent/workspace/documentation-update-after-release/tests/servlet/oneappconfig/src/test/resources [INFO] [INFO] --- maven-compiler-plugin:3.1:testCompile (default-testCompile) @ tyrus-tests-servlet-oneappconfig --- [INFO] Changes detected - recompiling the module! [INFO] Compiling 1 source file to /home/jenkins/agent/workspace/documentation-update-after-release/tests/servlet/oneappconfig/target/test-classes [WARNING] /home/jenkins/agent/workspace/documentation-update-after-release/tests/servlet/oneappconfig/src/test/java/org/glassfish/tyrus/tests/servlet/oneappconfig/OneServerApplicationConfigDeployTest.java: /home/jenkins/agent/workspace/documentation-update-after-release/tests/servlet/oneappconfig/src/test/java/org/glassfish/tyrus/tests/servlet/oneappconfig/OneServerApplicationConfigDeployTest.java uses or overrides a deprecated API. [WARNING] /home/jenkins/agent/workspace/documentation-update-after-release/tests/servlet/oneappconfig/src/test/java/org/glassfish/tyrus/tests/servlet/oneappconfig/OneServerApplicationConfigDeployTest.java: Recompile with -Xlint:deprecation for details. [INFO] [INFO] --- maven-surefire-plugin:2.17:test (default-test) @ tyrus-tests-servlet-oneappconfig --- [INFO] Tests are skipped. [INFO] [INFO] --- maven-war-plugin:3.3.1:war (default-war) @ tyrus-tests-servlet-oneappconfig --- [INFO] Packaging webapp [INFO] Assembling webapp [tyrus-tests-servlet-oneappconfig] in [/home/jenkins/agent/workspace/documentation-update-after-release/tests/servlet/oneappconfig/target/tyrus-tests-servlet-oneappconfig-1.19] [INFO] Processing war project [INFO] Copying webapp resources [/home/jenkins/agent/workspace/documentation-update-after-release/tests/servlet/oneappconfig/src/main/webapp] [INFO] Building war: /home/jenkins/agent/workspace/documentation-update-after-release/tests/servlet/oneappconfig/target/tyrus-tests-servlet-oneappconfig-1.19.war [INFO] [INFO] --- maven-source-plugin:2.2.1:jar-no-fork (attach-sources) @ tyrus-tests-servlet-oneappconfig --- [INFO] Building jar: /home/jenkins/agent/workspace/documentation-update-after-release/tests/servlet/oneappconfig/target/tyrus-tests-servlet-oneappconfig-1.19-sources.jar [INFO] [INFO] --- maven-install-plugin:2.4:install (default-install) @ tyrus-tests-servlet-oneappconfig --- [INFO] Installing /home/jenkins/agent/workspace/documentation-update-after-release/tests/servlet/oneappconfig/target/tyrus-tests-servlet-oneappconfig-1.19.war to /home/jenkins/.m2/repository/org/glassfish/tyrus/tests/servlet/tyrus-tests-servlet-oneappconfig/1.19/tyrus-tests-servlet-oneappconfig-1.19.war [INFO] Installing /home/jenkins/agent/workspace/documentation-update-after-release/tests/servlet/oneappconfig/pom.xml to /home/jenkins/.m2/repository/org/glassfish/tyrus/tests/servlet/tyrus-tests-servlet-oneappconfig/1.19/tyrus-tests-servlet-oneappconfig-1.19.pom [INFO] Installing /home/jenkins/agent/workspace/documentation-update-after-release/tests/servlet/oneappconfig/target/tyrus-tests-servlet-oneappconfig-1.19-sources.jar to /home/jenkins/.m2/repository/org/glassfish/tyrus/tests/servlet/tyrus-tests-servlet-oneappconfig/1.19/tyrus-tests-servlet-oneappconfig-1.19-sources.jar [INFO] [INFO] ----< org.glassfish.tyrus.tests.servlet:tyrus-tests-servlet-remote >---- [INFO] Building Tyrus Servlet RemoteEndpoint Timeout 1.19 [52/65] [INFO] --------------------------------[ war ]--------------------------------- [INFO] [INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ tyrus-tests-servlet-remote --- [INFO] [INFO] --- maven-checkstyle-plugin:3.0.0:check (default) @ tyrus-tests-servlet-remote --- [INFO] [INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ tyrus-tests-servlet-remote --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] skip non existing resourceDirectory /home/jenkins/agent/workspace/documentation-update-after-release/tests/servlet/remote-endpoint-timeout/src/main/resources [INFO] [INFO] --- maven-compiler-plugin:3.1:compile (default-compile) @ tyrus-tests-servlet-remote --- [INFO] Changes detected - recompiling the module! [INFO] Compiling 6 source files to /home/jenkins/agent/workspace/documentation-update-after-release/tests/servlet/remote-endpoint-timeout/target/classes [WARNING] /home/jenkins/agent/workspace/documentation-update-after-release/tests/servlet/remote-endpoint-timeout/src/main/java/org/glassfish/tyrus/tests/servlet/remote/SingletonConfigurator.java: /home/jenkins/agent/workspace/documentation-update-after-release/tests/servlet/remote-endpoint-timeout/src/main/java/org/glassfish/tyrus/tests/servlet/remote/SingletonConfigurator.java uses unchecked or unsafe operations. [WARNING] /home/jenkins/agent/workspace/documentation-update-after-release/tests/servlet/remote-endpoint-timeout/src/main/java/org/glassfish/tyrus/tests/servlet/remote/SingletonConfigurator.java: Recompile with -Xlint:unchecked for details. [INFO] [INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ tyrus-tests-servlet-remote --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] skip non existing resourceDirectory /home/jenkins/agent/workspace/documentation-update-after-release/tests/servlet/remote-endpoint-timeout/src/test/resources [INFO] [INFO] --- maven-compiler-plugin:3.1:testCompile (default-testCompile) @ tyrus-tests-servlet-remote --- [INFO] Changes detected - recompiling the module! [INFO] Compiling 1 source file to /home/jenkins/agent/workspace/documentation-update-after-release/tests/servlet/remote-endpoint-timeout/target/test-classes [WARNING] /home/jenkins/agent/workspace/documentation-update-after-release/tests/servlet/remote-endpoint-timeout/src/test/java/org/glassfish/tyrus/tests/servlet/remote/RemoteApplicationTest.java: /home/jenkins/agent/workspace/documentation-update-after-release/tests/servlet/remote-endpoint-timeout/src/test/java/org/glassfish/tyrus/tests/servlet/remote/RemoteApplicationTest.java uses or overrides a deprecated API. [WARNING] /home/jenkins/agent/workspace/documentation-update-after-release/tests/servlet/remote-endpoint-timeout/src/test/java/org/glassfish/tyrus/tests/servlet/remote/RemoteApplicationTest.java: Recompile with -Xlint:deprecation for details. [INFO] [INFO] --- maven-surefire-plugin:2.17:test (default-test) @ tyrus-tests-servlet-remote --- [INFO] Tests are skipped. [INFO] [INFO] --- maven-war-plugin:3.3.1:war (default-war) @ tyrus-tests-servlet-remote --- [INFO] Packaging webapp [INFO] Assembling webapp [tyrus-tests-servlet-remote] in [/home/jenkins/agent/workspace/documentation-update-after-release/tests/servlet/remote-endpoint-timeout/target/tyrus-tests-servlet-remote-1.19] [INFO] Processing war project [INFO] Copying webapp resources [/home/jenkins/agent/workspace/documentation-update-after-release/tests/servlet/remote-endpoint-timeout/src/main/webapp] [INFO] Building war: /home/jenkins/agent/workspace/documentation-update-after-release/tests/servlet/remote-endpoint-timeout/target/tyrus-tests-servlet-remote-1.19.war [INFO] [INFO] --- maven-source-plugin:2.2.1:jar-no-fork (attach-sources) @ tyrus-tests-servlet-remote --- [INFO] Building jar: /home/jenkins/agent/workspace/documentation-update-after-release/tests/servlet/remote-endpoint-timeout/target/tyrus-tests-servlet-remote-1.19-sources.jar [INFO] [INFO] --- maven-install-plugin:2.4:install (default-install) @ tyrus-tests-servlet-remote --- [INFO] Installing /home/jenkins/agent/workspace/documentation-update-after-release/tests/servlet/remote-endpoint-timeout/target/tyrus-tests-servlet-remote-1.19.war to /home/jenkins/.m2/repository/org/glassfish/tyrus/tests/servlet/tyrus-tests-servlet-remote/1.19/tyrus-tests-servlet-remote-1.19.war [INFO] Installing /home/jenkins/agent/workspace/documentation-update-after-release/tests/servlet/remote-endpoint-timeout/pom.xml to /home/jenkins/.m2/repository/org/glassfish/tyrus/tests/servlet/tyrus-tests-servlet-remote/1.19/tyrus-tests-servlet-remote-1.19.pom [INFO] Installing /home/jenkins/agent/workspace/documentation-update-after-release/tests/servlet/remote-endpoint-timeout/target/tyrus-tests-servlet-remote-1.19-sources.jar to /home/jenkins/.m2/repository/org/glassfish/tyrus/tests/servlet/tyrus-tests-servlet-remote/1.19/tyrus-tests-servlet-remote-1.19-sources.jar [INFO] [INFO] ---< org.glassfish.tyrus.tests.servlet:tyrus-tests-servlet-session >---- [INFO] Building Tyrus Servlet Session Closing 1.19 [53/65] [INFO] --------------------------------[ war ]--------------------------------- [INFO] [INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ tyrus-tests-servlet-session --- [INFO] [INFO] --- maven-checkstyle-plugin:3.0.0:check (default) @ tyrus-tests-servlet-session --- [INFO] [INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ tyrus-tests-servlet-session --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] skip non existing resourceDirectory /home/jenkins/agent/workspace/documentation-update-after-release/tests/servlet/session/src/main/resources [INFO] [INFO] --- maven-compiler-plugin:3.1:compile (default-compile) @ tyrus-tests-servlet-session --- [INFO] Changes detected - recompiling the module! [INFO] Compiling 7 source files to /home/jenkins/agent/workspace/documentation-update-after-release/tests/servlet/session/target/classes [WARNING] /home/jenkins/agent/workspace/documentation-update-after-release/tests/servlet/session/src/main/java/org/glassfish/tyrus/tests/servlet/session/SingletonConfigurator.java: /home/jenkins/agent/workspace/documentation-update-after-release/tests/servlet/session/src/main/java/org/glassfish/tyrus/tests/servlet/session/SingletonConfigurator.java uses unchecked or unsafe operations. [WARNING] /home/jenkins/agent/workspace/documentation-update-after-release/tests/servlet/session/src/main/java/org/glassfish/tyrus/tests/servlet/session/SingletonConfigurator.java: Recompile with -Xlint:unchecked for details. [INFO] [INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ tyrus-tests-servlet-session --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] skip non existing resourceDirectory /home/jenkins/agent/workspace/documentation-update-after-release/tests/servlet/session/src/test/resources [INFO] [INFO] --- maven-compiler-plugin:3.1:testCompile (default-testCompile) @ tyrus-tests-servlet-session --- [INFO] Changes detected - recompiling the module! [INFO] Compiling 2 source files to /home/jenkins/agent/workspace/documentation-update-after-release/tests/servlet/session/target/test-classes [WARNING] /home/jenkins/agent/workspace/documentation-update-after-release/tests/servlet/session/src/test/java/org/glassfish/tyrus/test/servlet/session/SessionIdleTimeoutTest.java: Some input files use or override a deprecated API. [WARNING] /home/jenkins/agent/workspace/documentation-update-after-release/tests/servlet/session/src/test/java/org/glassfish/tyrus/test/servlet/session/SessionIdleTimeoutTest.java: Recompile with -Xlint:deprecation for details. [INFO] [INFO] --- maven-surefire-plugin:2.17:test (default-test) @ tyrus-tests-servlet-session --- [INFO] Tests are skipped. [INFO] [INFO] --- maven-war-plugin:3.3.1:war (default-war) @ tyrus-tests-servlet-session --- [INFO] Packaging webapp [INFO] Assembling webapp [tyrus-tests-servlet-session] in [/home/jenkins/agent/workspace/documentation-update-after-release/tests/servlet/session/target/tyrus-tests-servlet-session-1.19] [INFO] Processing war project [INFO] Copying webapp resources [/home/jenkins/agent/workspace/documentation-update-after-release/tests/servlet/session/src/main/webapp] [INFO] Building war: /home/jenkins/agent/workspace/documentation-update-after-release/tests/servlet/session/target/tyrus-tests-servlet-session-1.19.war [INFO] [INFO] --- maven-source-plugin:2.2.1:jar-no-fork (attach-sources) @ tyrus-tests-servlet-session --- [INFO] Building jar: /home/jenkins/agent/workspace/documentation-update-after-release/tests/servlet/session/target/tyrus-tests-servlet-session-1.19-sources.jar [INFO] [INFO] --- maven-install-plugin:2.4:install (default-install) @ tyrus-tests-servlet-session --- [INFO] Installing /home/jenkins/agent/workspace/documentation-update-after-release/tests/servlet/session/target/tyrus-tests-servlet-session-1.19.war to /home/jenkins/.m2/repository/org/glassfish/tyrus/tests/servlet/tyrus-tests-servlet-session/1.19/tyrus-tests-servlet-session-1.19.war [INFO] Installing /home/jenkins/agent/workspace/documentation-update-after-release/tests/servlet/session/pom.xml to /home/jenkins/.m2/repository/org/glassfish/tyrus/tests/servlet/tyrus-tests-servlet-session/1.19/tyrus-tests-servlet-session-1.19.pom [INFO] Installing /home/jenkins/agent/workspace/documentation-update-after-release/tests/servlet/session/target/tyrus-tests-servlet-session-1.19-sources.jar to /home/jenkins/.m2/repository/org/glassfish/tyrus/tests/servlet/tyrus-tests-servlet-session/1.19/tyrus-tests-servlet-session-1.19-sources.jar [INFO] [INFO] --< org.glassfish.tyrus.tests.servlet.twoappconfig:tyrus-tests-servlet-twoappconfig >-- [INFO] Building Tyrus Servlet Two App Config 1.19 [54/65] [INFO] --------------------------------[ war ]--------------------------------- [INFO] [INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ tyrus-tests-servlet-twoappconfig --- [INFO] [INFO] --- maven-checkstyle-plugin:3.0.0:check (default) @ tyrus-tests-servlet-twoappconfig --- [INFO] [INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ tyrus-tests-servlet-twoappconfig --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] skip non existing resourceDirectory /home/jenkins/agent/workspace/documentation-update-after-release/tests/servlet/twoappconfig/src/main/resources [INFO] [INFO] --- maven-compiler-plugin:3.1:compile (default-compile) @ tyrus-tests-servlet-twoappconfig --- [INFO] Changes detected - recompiling the module! [INFO] Compiling 6 source files to /home/jenkins/agent/workspace/documentation-update-after-release/tests/servlet/twoappconfig/target/classes [INFO] [INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ tyrus-tests-servlet-twoappconfig --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] skip non existing resourceDirectory /home/jenkins/agent/workspace/documentation-update-after-release/tests/servlet/twoappconfig/src/test/resources [INFO] [INFO] --- maven-compiler-plugin:3.1:testCompile (default-testCompile) @ tyrus-tests-servlet-twoappconfig --- [INFO] Changes detected - recompiling the module! [INFO] Compiling 1 source file to /home/jenkins/agent/workspace/documentation-update-after-release/tests/servlet/twoappconfig/target/test-classes [WARNING] /home/jenkins/agent/workspace/documentation-update-after-release/tests/servlet/twoappconfig/src/test/java/org/glassfish/tyrus/tests/servlet/twoappconfig/TwoServerApplicationConfigDeployTest.java: /home/jenkins/agent/workspace/documentation-update-after-release/tests/servlet/twoappconfig/src/test/java/org/glassfish/tyrus/tests/servlet/twoappconfig/TwoServerApplicationConfigDeployTest.java uses or overrides a deprecated API. [WARNING] /home/jenkins/agent/workspace/documentation-update-after-release/tests/servlet/twoappconfig/src/test/java/org/glassfish/tyrus/tests/servlet/twoappconfig/TwoServerApplicationConfigDeployTest.java: Recompile with -Xlint:deprecation for details. [INFO] [INFO] --- maven-surefire-plugin:2.17:test (default-test) @ tyrus-tests-servlet-twoappconfig --- [INFO] Tests are skipped. [INFO] [INFO] --- maven-war-plugin:3.3.1:war (default-war) @ tyrus-tests-servlet-twoappconfig --- [INFO] Packaging webapp [INFO] Assembling webapp [tyrus-tests-servlet-twoappconfig] in [/home/jenkins/agent/workspace/documentation-update-after-release/tests/servlet/twoappconfig/target/tyrus-tests-servlet-twoappconfig-1.19] [INFO] Processing war project [INFO] Copying webapp resources [/home/jenkins/agent/workspace/documentation-update-after-release/tests/servlet/twoappconfig/src/main/webapp] [INFO] Building war: /home/jenkins/agent/workspace/documentation-update-after-release/tests/servlet/twoappconfig/target/tyrus-tests-servlet-twoappconfig-1.19.war [INFO] [INFO] --- maven-source-plugin:2.2.1:jar-no-fork (attach-sources) @ tyrus-tests-servlet-twoappconfig --- [INFO] Building jar: /home/jenkins/agent/workspace/documentation-update-after-release/tests/servlet/twoappconfig/target/tyrus-tests-servlet-twoappconfig-1.19-sources.jar [INFO] [INFO] --- maven-install-plugin:2.4:install (default-install) @ tyrus-tests-servlet-twoappconfig --- [INFO] Installing /home/jenkins/agent/workspace/documentation-update-after-release/tests/servlet/twoappconfig/target/tyrus-tests-servlet-twoappconfig-1.19.war to /home/jenkins/.m2/repository/org/glassfish/tyrus/tests/servlet/twoappconfig/tyrus-tests-servlet-twoappconfig/1.19/tyrus-tests-servlet-twoappconfig-1.19.war [INFO] Installing /home/jenkins/agent/workspace/documentation-update-after-release/tests/servlet/twoappconfig/pom.xml to /home/jenkins/.m2/repository/org/glassfish/tyrus/tests/servlet/twoappconfig/tyrus-tests-servlet-twoappconfig/1.19/tyrus-tests-servlet-twoappconfig-1.19.pom [INFO] Installing /home/jenkins/agent/workspace/documentation-update-after-release/tests/servlet/twoappconfig/target/tyrus-tests-servlet-twoappconfig-1.19-sources.jar to /home/jenkins/.m2/repository/org/glassfish/tyrus/tests/servlet/twoappconfig/tyrus-tests-servlet-twoappconfig/1.19/tyrus-tests-servlet-twoappconfig-1.19-sources.jar [INFO] [INFO] --< org.glassfish.tyrus.tests.servlet:tyrus-tests-servlet-mbean-test >-- [INFO] Building Tyrus Servlet Monitoring Test 1.19 [55/65] [INFO] --------------------------------[ war ]--------------------------------- [INFO] [INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ tyrus-tests-servlet-mbean-test --- [INFO] [INFO] --- maven-checkstyle-plugin:3.0.0:check (default) @ tyrus-tests-servlet-mbean-test --- [INFO] [INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ tyrus-tests-servlet-mbean-test --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] skip non existing resourceDirectory /home/jenkins/agent/workspace/documentation-update-after-release/tests/servlet/mbean/src/main/resources [INFO] [INFO] --- maven-compiler-plugin:3.1:compile (default-compile) @ tyrus-tests-servlet-mbean-test --- [INFO] Changes detected - recompiling the module! [INFO] Compiling 2 source files to /home/jenkins/agent/workspace/documentation-update-after-release/tests/servlet/mbean/target/classes [INFO] [INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ tyrus-tests-servlet-mbean-test --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] skip non existing resourceDirectory /home/jenkins/agent/workspace/documentation-update-after-release/tests/servlet/mbean/src/test/resources [INFO] [INFO] --- maven-compiler-plugin:3.1:testCompile (default-testCompile) @ tyrus-tests-servlet-mbean-test --- [INFO] Changes detected - recompiling the module! [INFO] Compiling 1 source file to /home/jenkins/agent/workspace/documentation-update-after-release/tests/servlet/mbean/target/test-classes [INFO] [INFO] --- maven-surefire-plugin:2.17:test (default-test) @ tyrus-tests-servlet-mbean-test --- [INFO] Tests are skipped. [INFO] [INFO] --- maven-war-plugin:3.3.1:war (default-war) @ tyrus-tests-servlet-mbean-test --- [INFO] Packaging webapp [INFO] Assembling webapp [tyrus-tests-servlet-mbean-test] in [/home/jenkins/agent/workspace/documentation-update-after-release/tests/servlet/mbean/target/tyrus-tests-servlet-mbean-test-1.19] [INFO] Processing war project [INFO] Copying webapp resources [/home/jenkins/agent/workspace/documentation-update-after-release/tests/servlet/mbean/src/main/webapp] [INFO] Building war: /home/jenkins/agent/workspace/documentation-update-after-release/tests/servlet/mbean/target/tyrus-tests-servlet-mbean-test-1.19.war [INFO] [INFO] --- maven-source-plugin:2.2.1:jar-no-fork (attach-sources) @ tyrus-tests-servlet-mbean-test --- [INFO] Building jar: /home/jenkins/agent/workspace/documentation-update-after-release/tests/servlet/mbean/target/tyrus-tests-servlet-mbean-test-1.19-sources.jar [INFO] [INFO] --- maven-install-plugin:2.4:install (default-install) @ tyrus-tests-servlet-mbean-test --- [INFO] Installing /home/jenkins/agent/workspace/documentation-update-after-release/tests/servlet/mbean/target/tyrus-tests-servlet-mbean-test-1.19.war to /home/jenkins/.m2/repository/org/glassfish/tyrus/tests/servlet/tyrus-tests-servlet-mbean-test/1.19/tyrus-tests-servlet-mbean-test-1.19.war [INFO] Installing /home/jenkins/agent/workspace/documentation-update-after-release/tests/servlet/mbean/pom.xml to /home/jenkins/.m2/repository/org/glassfish/tyrus/tests/servlet/tyrus-tests-servlet-mbean-test/1.19/tyrus-tests-servlet-mbean-test-1.19.pom [INFO] Installing /home/jenkins/agent/workspace/documentation-update-after-release/tests/servlet/mbean/target/tyrus-tests-servlet-mbean-test-1.19-sources.jar to /home/jenkins/.m2/repository/org/glassfish/tyrus/tests/servlet/tyrus-tests-servlet-mbean-test/1.19/tyrus-tests-servlet-mbean-test-1.19-sources.jar [INFO] [INFO] ----< org.glassfish.tyrus.tests.servlet:tyrus-tests-servlet-inject >---- [INFO] Building Tyrus Servlet Inject Test 1.19 [56/65] [INFO] --------------------------------[ war ]--------------------------------- [INFO] [INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ tyrus-tests-servlet-inject --- [INFO] [INFO] --- maven-checkstyle-plugin:3.0.0:check (default) @ tyrus-tests-servlet-inject --- [INFO] [INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ tyrus-tests-servlet-inject --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] skip non existing resourceDirectory /home/jenkins/agent/workspace/documentation-update-after-release/tests/servlet/inject/src/main/resources [INFO] [INFO] --- maven-compiler-plugin:3.1:compile (default-compile) @ tyrus-tests-servlet-inject --- [INFO] Changes detected - recompiling the module! [INFO] Compiling 3 source files to /home/jenkins/agent/workspace/documentation-update-after-release/tests/servlet/inject/target/classes [INFO] [INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ tyrus-tests-servlet-inject --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] skip non existing resourceDirectory /home/jenkins/agent/workspace/documentation-update-after-release/tests/servlet/inject/src/test/resources [INFO] [INFO] --- maven-compiler-plugin:3.1:testCompile (default-testCompile) @ tyrus-tests-servlet-inject --- [INFO] Changes detected - recompiling the module! [INFO] Compiling 1 source file to /home/jenkins/agent/workspace/documentation-update-after-release/tests/servlet/inject/target/test-classes [INFO] [INFO] --- maven-surefire-plugin:2.17:test (default-test) @ tyrus-tests-servlet-inject --- [INFO] Tests are skipped. [INFO] [INFO] --- maven-war-plugin:3.3.1:war (default-war) @ tyrus-tests-servlet-inject --- [INFO] Packaging webapp [INFO] Assembling webapp [tyrus-tests-servlet-inject] in [/home/jenkins/agent/workspace/documentation-update-after-release/tests/servlet/inject/target/tyrus-tests-servlet-inject-1.19] [INFO] Processing war project [INFO] Copying webapp resources [/home/jenkins/agent/workspace/documentation-update-after-release/tests/servlet/inject/src/main/webapp] [INFO] Building war: /home/jenkins/agent/workspace/documentation-update-after-release/tests/servlet/inject/target/tyrus-tests-servlet-inject-1.19.war [INFO] [INFO] --- maven-source-plugin:2.2.1:jar-no-fork (attach-sources) @ tyrus-tests-servlet-inject --- [INFO] Building jar: /home/jenkins/agent/workspace/documentation-update-after-release/tests/servlet/inject/target/tyrus-tests-servlet-inject-1.19-sources.jar [INFO] [INFO] --- maven-install-plugin:2.4:install (default-install) @ tyrus-tests-servlet-inject --- [INFO] Installing /home/jenkins/agent/workspace/documentation-update-after-release/tests/servlet/inject/target/tyrus-tests-servlet-inject-1.19.war to /home/jenkins/.m2/repository/org/glassfish/tyrus/tests/servlet/tyrus-tests-servlet-inject/1.19/tyrus-tests-servlet-inject-1.19.war [INFO] Installing /home/jenkins/agent/workspace/documentation-update-after-release/tests/servlet/inject/pom.xml to /home/jenkins/.m2/repository/org/glassfish/tyrus/tests/servlet/tyrus-tests-servlet-inject/1.19/tyrus-tests-servlet-inject-1.19.pom [INFO] Installing /home/jenkins/agent/workspace/documentation-update-after-release/tests/servlet/inject/target/tyrus-tests-servlet-inject-1.19-sources.jar to /home/jenkins/.m2/repository/org/glassfish/tyrus/tests/servlet/tyrus-tests-servlet-inject/1.19/tyrus-tests-servlet-inject-1.19-sources.jar [INFO] [INFO] --< org.glassfish.tyrus.tests.servlet:tyrus-tests-servlet-maxsessions-per-app >-- [INFO] Building Tyrus Servlet Max Sessions Per App Tests 1.19 [57/65] [INFO] --------------------------------[ war ]--------------------------------- [INFO] [INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ tyrus-tests-servlet-maxsessions-per-app --- [INFO] [INFO] --- maven-checkstyle-plugin:3.0.0:check (default) @ tyrus-tests-servlet-maxsessions-per-app --- [INFO] [INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ tyrus-tests-servlet-maxsessions-per-app --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] skip non existing resourceDirectory /home/jenkins/agent/workspace/documentation-update-after-release/tests/servlet/maxsessions-per-app/src/main/resources [INFO] [INFO] --- maven-compiler-plugin:3.1:compile (default-compile) @ tyrus-tests-servlet-maxsessions-per-app --- [INFO] Changes detected - recompiling the module! [INFO] Compiling 3 source files to /home/jenkins/agent/workspace/documentation-update-after-release/tests/servlet/maxsessions-per-app/target/classes [INFO] [INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ tyrus-tests-servlet-maxsessions-per-app --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] skip non existing resourceDirectory /home/jenkins/agent/workspace/documentation-update-after-release/tests/servlet/maxsessions-per-app/src/test/resources [INFO] [INFO] --- maven-compiler-plugin:3.1:testCompile (default-testCompile) @ tyrus-tests-servlet-maxsessions-per-app --- [INFO] Changes detected - recompiling the module! [INFO] Compiling 1 source file to /home/jenkins/agent/workspace/documentation-update-after-release/tests/servlet/maxsessions-per-app/target/test-classes [WARNING] /home/jenkins/agent/workspace/documentation-update-after-release/tests/servlet/maxsessions-per-app/src/test/java/org/glassfish/tyrus/tests/servlet/maxsessions/MaxSessionsAppTest.java: /home/jenkins/agent/workspace/documentation-update-after-release/tests/servlet/maxsessions-per-app/src/test/java/org/glassfish/tyrus/tests/servlet/maxsessions/MaxSessionsAppTest.java uses or overrides a deprecated API. [WARNING] /home/jenkins/agent/workspace/documentation-update-after-release/tests/servlet/maxsessions-per-app/src/test/java/org/glassfish/tyrus/tests/servlet/maxsessions/MaxSessionsAppTest.java: Recompile with -Xlint:deprecation for details. [INFO] [INFO] --- maven-surefire-plugin:2.17:test (default-test) @ tyrus-tests-servlet-maxsessions-per-app --- [INFO] Tests are skipped. [INFO] [INFO] --- maven-war-plugin:3.3.1:war (default-war) @ tyrus-tests-servlet-maxsessions-per-app --- [INFO] Packaging webapp [INFO] Assembling webapp [tyrus-tests-servlet-maxsessions-per-app] in [/home/jenkins/agent/workspace/documentation-update-after-release/tests/servlet/maxsessions-per-app/target/tyrus-tests-servlet-maxsessions-per-app-1.19] [INFO] Processing war project [INFO] Copying webapp resources [/home/jenkins/agent/workspace/documentation-update-after-release/tests/servlet/maxsessions-per-app/src/main/webapp] [INFO] Building war: /home/jenkins/agent/workspace/documentation-update-after-release/tests/servlet/maxsessions-per-app/target/tyrus-tests-servlet-maxsessions-per-app-1.19.war [INFO] [INFO] --- maven-source-plugin:2.2.1:jar-no-fork (attach-sources) @ tyrus-tests-servlet-maxsessions-per-app --- [INFO] Building jar: /home/jenkins/agent/workspace/documentation-update-after-release/tests/servlet/maxsessions-per-app/target/tyrus-tests-servlet-maxsessions-per-app-1.19-sources.jar [INFO] [INFO] --- maven-install-plugin:2.4:install (default-install) @ tyrus-tests-servlet-maxsessions-per-app --- [INFO] Installing /home/jenkins/agent/workspace/documentation-update-after-release/tests/servlet/maxsessions-per-app/target/tyrus-tests-servlet-maxsessions-per-app-1.19.war to /home/jenkins/.m2/repository/org/glassfish/tyrus/tests/servlet/tyrus-tests-servlet-maxsessions-per-app/1.19/tyrus-tests-servlet-maxsessions-per-app-1.19.war [INFO] Installing /home/jenkins/agent/workspace/documentation-update-after-release/tests/servlet/maxsessions-per-app/pom.xml to /home/jenkins/.m2/repository/org/glassfish/tyrus/tests/servlet/tyrus-tests-servlet-maxsessions-per-app/1.19/tyrus-tests-servlet-maxsessions-per-app-1.19.pom [INFO] Installing /home/jenkins/agent/workspace/documentation-update-after-release/tests/servlet/maxsessions-per-app/target/tyrus-tests-servlet-maxsessions-per-app-1.19-sources.jar to /home/jenkins/.m2/repository/org/glassfish/tyrus/tests/servlet/tyrus-tests-servlet-maxsessions-per-app/1.19/tyrus-tests-servlet-maxsessions-per-app-1.19-sources.jar [INFO] [INFO] --< org.glassfish.tyrus.tests.servlet:tyrus-tests-servlet-maxsessions-per-remoteaddr >-- [INFO] Building Tyrus Servlet Max Sessions Per Remote Addr Tests 1.19 [58/65] [INFO] --------------------------------[ war ]--------------------------------- [INFO] [INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ tyrus-tests-servlet-maxsessions-per-remoteaddr --- [INFO] [INFO] --- maven-checkstyle-plugin:3.0.0:check (default) @ tyrus-tests-servlet-maxsessions-per-remoteaddr --- [INFO] [INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ tyrus-tests-servlet-maxsessions-per-remoteaddr --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] skip non existing resourceDirectory /home/jenkins/agent/workspace/documentation-update-after-release/tests/servlet/maxsessions-per-remoteaddr/src/main/resources [INFO] [INFO] --- maven-compiler-plugin:3.1:compile (default-compile) @ tyrus-tests-servlet-maxsessions-per-remoteaddr --- [INFO] Changes detected - recompiling the module! [INFO] Compiling 3 source files to /home/jenkins/agent/workspace/documentation-update-after-release/tests/servlet/maxsessions-per-remoteaddr/target/classes [INFO] [INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ tyrus-tests-servlet-maxsessions-per-remoteaddr --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] skip non existing resourceDirectory /home/jenkins/agent/workspace/documentation-update-after-release/tests/servlet/maxsessions-per-remoteaddr/src/test/resources [INFO] [INFO] --- maven-compiler-plugin:3.1:testCompile (default-testCompile) @ tyrus-tests-servlet-maxsessions-per-remoteaddr --- [INFO] Changes detected - recompiling the module! [INFO] Compiling 1 source file to /home/jenkins/agent/workspace/documentation-update-after-release/tests/servlet/maxsessions-per-remoteaddr/target/test-classes [WARNING] /home/jenkins/agent/workspace/documentation-update-after-release/tests/servlet/maxsessions-per-remoteaddr/src/test/java/org/glassfish/tyrus/tests/servlet/maxsessionsperremoteaddr/MaxSessionsPerRemoteAddrTest.java: /home/jenkins/agent/workspace/documentation-update-after-release/tests/servlet/maxsessions-per-remoteaddr/src/test/java/org/glassfish/tyrus/tests/servlet/maxsessionsperremoteaddr/MaxSessionsPerRemoteAddrTest.java uses or overrides a deprecated API. [WARNING] /home/jenkins/agent/workspace/documentation-update-after-release/tests/servlet/maxsessions-per-remoteaddr/src/test/java/org/glassfish/tyrus/tests/servlet/maxsessionsperremoteaddr/MaxSessionsPerRemoteAddrTest.java: Recompile with -Xlint:deprecation for details. [INFO] [INFO] --- maven-surefire-plugin:2.17:test (default-test) @ tyrus-tests-servlet-maxsessions-per-remoteaddr --- [INFO] Tests are skipped. [INFO] [INFO] --- maven-war-plugin:3.3.1:war (default-war) @ tyrus-tests-servlet-maxsessions-per-remoteaddr --- [INFO] Packaging webapp [INFO] Assembling webapp [tyrus-tests-servlet-maxsessions-per-remoteaddr] in [/home/jenkins/agent/workspace/documentation-update-after-release/tests/servlet/maxsessions-per-remoteaddr/target/tyrus-tests-servlet-maxsessions-per-remoteaddr-1.19] [INFO] Processing war project [INFO] Copying webapp resources [/home/jenkins/agent/workspace/documentation-update-after-release/tests/servlet/maxsessions-per-remoteaddr/src/main/webapp] [INFO] Building war: /home/jenkins/agent/workspace/documentation-update-after-release/tests/servlet/maxsessions-per-remoteaddr/target/tyrus-tests-servlet-maxsessions-per-remoteaddr-1.19.war [INFO] [INFO] --- maven-source-plugin:2.2.1:jar-no-fork (attach-sources) @ tyrus-tests-servlet-maxsessions-per-remoteaddr --- [INFO] Building jar: /home/jenkins/agent/workspace/documentation-update-after-release/tests/servlet/maxsessions-per-remoteaddr/target/tyrus-tests-servlet-maxsessions-per-remoteaddr-1.19-sources.jar [INFO] [INFO] --- maven-install-plugin:2.4:install (default-install) @ tyrus-tests-servlet-maxsessions-per-remoteaddr --- [INFO] Installing /home/jenkins/agent/workspace/documentation-update-after-release/tests/servlet/maxsessions-per-remoteaddr/target/tyrus-tests-servlet-maxsessions-per-remoteaddr-1.19.war to /home/jenkins/.m2/repository/org/glassfish/tyrus/tests/servlet/tyrus-tests-servlet-maxsessions-per-remoteaddr/1.19/tyrus-tests-servlet-maxsessions-per-remoteaddr-1.19.war [INFO] Installing /home/jenkins/agent/workspace/documentation-update-after-release/tests/servlet/maxsessions-per-remoteaddr/pom.xml to /home/jenkins/.m2/repository/org/glassfish/tyrus/tests/servlet/tyrus-tests-servlet-maxsessions-per-remoteaddr/1.19/tyrus-tests-servlet-maxsessions-per-remoteaddr-1.19.pom [INFO] Installing /home/jenkins/agent/workspace/documentation-update-after-release/tests/servlet/maxsessions-per-remoteaddr/target/tyrus-tests-servlet-maxsessions-per-remoteaddr-1.19-sources.jar to /home/jenkins/.m2/repository/org/glassfish/tyrus/tests/servlet/tyrus-tests-servlet-maxsessions-per-remoteaddr/1.19/tyrus-tests-servlet-maxsessions-per-remoteaddr-1.19-sources.jar [INFO] [INFO] ----< org.glassfish.tyrus.tests.servlet:tyrus-tests-servlet-debug >----- [INFO] Building Tyrus Debug Debug Samples 1.19 [59/65] [INFO] --------------------------------[ war ]--------------------------------- [INFO] [INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ tyrus-tests-servlet-debug --- [INFO] [INFO] --- maven-checkstyle-plugin:3.0.0:check (default) @ tyrus-tests-servlet-debug --- [INFO] [INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ tyrus-tests-servlet-debug --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] skip non existing resourceDirectory /home/jenkins/agent/workspace/documentation-update-after-release/tests/servlet/debug/src/main/resources [INFO] [INFO] --- maven-compiler-plugin:3.1:compile (default-compile) @ tyrus-tests-servlet-debug --- [INFO] No sources to compile [INFO] [INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ tyrus-tests-servlet-debug --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] Copying 2 resources [INFO] [INFO] --- maven-compiler-plugin:3.1:testCompile (default-testCompile) @ tyrus-tests-servlet-debug --- [INFO] Changes detected - recompiling the module! [INFO] Compiling 1 source file to /home/jenkins/agent/workspace/documentation-update-after-release/tests/servlet/debug/target/test-classes [INFO] [INFO] --- maven-surefire-plugin:2.17:test (default-test) @ tyrus-tests-servlet-debug --- [INFO] Tests are skipped. [INFO] [INFO] --- maven-war-plugin:3.3.1:war (default-war) @ tyrus-tests-servlet-debug --- [INFO] Packaging webapp [INFO] Assembling webapp [tyrus-tests-servlet-debug] in [/home/jenkins/agent/workspace/documentation-update-after-release/tests/servlet/debug/target/tyrus-tests-servlet-debug-1.19] [INFO] Processing war project [INFO] Copying webapp resources [/home/jenkins/agent/workspace/documentation-update-after-release/tests/servlet/debug/src/main/webapp] [INFO] Building war: /home/jenkins/agent/workspace/documentation-update-after-release/tests/servlet/debug/target/tyrus-tests-servlet-debug-1.19.war [INFO] [INFO] --- maven-source-plugin:2.2.1:jar-no-fork (attach-sources) @ tyrus-tests-servlet-debug --- [INFO] No sources in project. Archive not created. [INFO] [INFO] --- maven-install-plugin:2.4:install (default-install) @ tyrus-tests-servlet-debug --- [INFO] Installing /home/jenkins/agent/workspace/documentation-update-after-release/tests/servlet/debug/target/tyrus-tests-servlet-debug-1.19.war to /home/jenkins/.m2/repository/org/glassfish/tyrus/tests/servlet/tyrus-tests-servlet-debug/1.19/tyrus-tests-servlet-debug-1.19.war [INFO] Installing /home/jenkins/agent/workspace/documentation-update-after-release/tests/servlet/debug/pom.xml to /home/jenkins/.m2/repository/org/glassfish/tyrus/tests/servlet/tyrus-tests-servlet-debug/1.19/tyrus-tests-servlet-debug-1.19.pom [INFO] [INFO] -------------< org.glassfish.tyrus.bundles:tyrus-bundles >-------------- [INFO] Building Tyrus Bundles 1.19 [60/65] [INFO] --------------------------------[ pom ]--------------------------------- [INFO] [INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ tyrus-bundles --- [INFO] [INFO] --- maven-checkstyle-plugin:3.0.0:check (default) @ tyrus-bundles --- [INFO] [INFO] --- maven-source-plugin:2.2.1:jar-no-fork (attach-sources) @ tyrus-bundles --- [INFO] [INFO] --- maven-install-plugin:2.4:install (default-install) @ tyrus-bundles --- [INFO] Installing /home/jenkins/agent/workspace/documentation-update-after-release/bundles/pom.xml to /home/jenkins/.m2/repository/org/glassfish/tyrus/bundles/tyrus-bundles/1.19/tyrus-bundles-1.19.pom [INFO] [INFO] -------------< org.glassfish.tyrus.bundles:tyrus-samples >-------------- [INFO] Building Tyrus Samples Bundle 1.19 [61/65] [INFO] --------------------------------[ pom ]--------------------------------- [INFO] [INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ tyrus-samples --- [INFO] [INFO] --- maven-checkstyle-plugin:3.0.0:check (default) @ tyrus-samples --- [INFO] [INFO] --- maven-dependency-plugin:2.8:unpack-dependencies (unpack-examples) @ tyrus-samples --- [INFO] Unpacking /home/jenkins/agent/workspace/documentation-update-after-release/samples/cdi/target/tyrus-sample-cdi-1.19-project-src.zip to /home/jenkins/agent/workspace/documentation-update-after-release/bundles/samples/target/dependency/samples with includes "" and excludes "" [INFO] Unpacking /home/jenkins/agent/workspace/documentation-update-after-release/samples/draw/target/tyrus-sample-draw-1.19-project-src.zip to /home/jenkins/agent/workspace/documentation-update-after-release/bundles/samples/target/dependency/samples with includes "" and excludes "" [INFO] Unpacking /home/jenkins/agent/workspace/documentation-update-after-release/samples/echo/target/tyrus-sample-echo-1.19-project-src.zip to /home/jenkins/agent/workspace/documentation-update-after-release/bundles/samples/target/dependency/samples with includes "" and excludes "" [INFO] Unpacking /home/jenkins/agent/workspace/documentation-update-after-release/samples/auction/target/tyrus-sample-auction-1.19-project-src.zip to /home/jenkins/agent/workspace/documentation-update-after-release/bundles/samples/target/dependency/samples with includes "" and excludes "" [INFO] Unpacking /home/jenkins/agent/workspace/documentation-update-after-release/samples/simplelife/target/tyrus-sample-simplelife-1.19-project-src.zip to /home/jenkins/agent/workspace/documentation-update-after-release/bundles/samples/target/dependency/samples with includes "" and excludes "" [INFO] Unpacking /home/jenkins/agent/workspace/documentation-update-after-release/samples/echo-https/target/tyrus-sample-echo-https-1.19-project-src.zip to /home/jenkins/agent/workspace/documentation-update-after-release/bundles/samples/target/dependency/samples with includes "" and excludes "" [INFO] Unpacking /home/jenkins/agent/workspace/documentation-update-after-release/samples/chat/target/tyrus-sample-chat-1.19-project-src.zip to /home/jenkins/agent/workspace/documentation-update-after-release/bundles/samples/target/dependency/samples with includes "" and excludes "" [INFO] Unpacking /home/jenkins/agent/workspace/documentation-update-after-release/samples/programmatic-echo/target/tyrus-sample-programmatic-echo-1.19-project-src.zip to /home/jenkins/agent/workspace/documentation-update-after-release/bundles/samples/target/dependency/samples with includes "" and excludes "" [INFO] [INFO] --- maven-assembly-plugin:2.2-beta-5:attached (make-assembly) @ tyrus-samples --- [INFO] Reading assembly descriptor: src/main/assembly/examples-assembly.xml [INFO] Building zip: /home/jenkins/agent/workspace/documentation-update-after-release/bundles/samples/target/tyrus-samples-all.zip [INFO] [INFO] --- maven-source-plugin:2.2.1:jar-no-fork (attach-sources) @ tyrus-samples --- [INFO] [INFO] --- maven-install-plugin:2.4:install (default-install) @ tyrus-samples --- [INFO] Installing /home/jenkins/agent/workspace/documentation-update-after-release/bundles/samples/pom.xml to /home/jenkins/.m2/repository/org/glassfish/tyrus/bundles/tyrus-samples/1.19/tyrus-samples-1.19.pom [INFO] Installing /home/jenkins/agent/workspace/documentation-update-after-release/bundles/samples/target/tyrus-samples-all.zip to /home/jenkins/.m2/repository/org/glassfish/tyrus/bundles/tyrus-samples/1.19/tyrus-samples-1.19-all.zip [INFO] [INFO] --------< org.glassfish.tyrus.bundles:tyrus-standalone-client >--------- [INFO] Building Tyrus Standalone Client 1.19 [62/65] [INFO] --------------------------------[ jar ]--------------------------------- [INFO] [INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ tyrus-standalone-client --- [INFO] [INFO] --- maven-checkstyle-plugin:3.0.0:check (default) @ tyrus-standalone-client --- [INFO] [INFO] --- build-helper-maven-plugin:1.8:parse-version (parse-version) @ tyrus-standalone-client --- [INFO] [INFO] --- maven-dependency-plugin:2.8:unpack (unpack) @ tyrus-standalone-client --- [INFO] Configured Artifact: javax.websocket:javax.websocket-api:sources:?:jar [INFO] Configured Artifact: org.glassfish.tyrus:tyrus-core:sources:1.19:jar [INFO] Configured Artifact: org.glassfish.tyrus:tyrus-client:sources:1.19:jar [INFO] Configured Artifact: org.glassfish.tyrus:tyrus-container-grizzly-client:sources:1.19:jar [INFO] Configured Artifact: org.glassfish.tyrus:tyrus-spi:sources:1.19:jar [INFO] Configured Artifact: org.glassfish.grizzly:grizzly-framework:sources:2.4.4:jar [INFO] Configured Artifact: org.glassfish.grizzly:grizzly-http-server:sources:2.4.4:jar [INFO] Configured Artifact: org.glassfish.grizzly:grizzly-http:sources:2.4.4:jar [INFO] Unpacking /home/jenkins/.m2/repository/javax/websocket/javax.websocket-api/1.1/javax.websocket-api-1.1-sources.jar to /home/jenkins/agent/workspace/documentation-update-after-release/bundles/client/target/client-bundle-sources with includes "" and excludes "" [INFO] Unpacking /home/jenkins/agent/workspace/documentation-update-after-release/core/target/tyrus-core-1.19-sources.jar to /home/jenkins/agent/workspace/documentation-update-after-release/bundles/client/target/client-bundle-sources with includes "" and excludes "" [INFO] Unpacking /home/jenkins/agent/workspace/documentation-update-after-release/client/target/tyrus-client-1.19-sources.jar to /home/jenkins/agent/workspace/documentation-update-after-release/bundles/client/target/client-bundle-sources with includes "" and excludes "" [INFO] Unpacking /home/jenkins/agent/workspace/documentation-update-after-release/containers/grizzly-client/target/tyrus-container-grizzly-client-1.19-sources.jar to /home/jenkins/agent/workspace/documentation-update-after-release/bundles/client/target/client-bundle-sources with includes "" and excludes "" [INFO] Unpacking /home/jenkins/agent/workspace/documentation-update-after-release/spi/target/tyrus-spi-1.19-sources.jar to /home/jenkins/agent/workspace/documentation-update-after-release/bundles/client/target/client-bundle-sources with includes "" and excludes "" [INFO] Unpacking /home/jenkins/.m2/repository/org/glassfish/grizzly/grizzly-framework/2.4.4/grizzly-framework-2.4.4-sources.jar to /home/jenkins/agent/workspace/documentation-update-after-release/bundles/client/target/client-bundle-sources with includes "" and excludes "" [INFO] Unpacking /home/jenkins/.m2/repository/org/glassfish/grizzly/grizzly-http-server/2.4.4/grizzly-http-server-2.4.4-sources.jar to /home/jenkins/agent/workspace/documentation-update-after-release/bundles/client/target/client-bundle-sources with includes "" and excludes "" [INFO] Unpacking /home/jenkins/.m2/repository/org/glassfish/grizzly/grizzly-http/2.4.4/grizzly-http-2.4.4-sources.jar to /home/jenkins/agent/workspace/documentation-update-after-release/bundles/client/target/client-bundle-sources with includes "" and excludes "" [INFO] [INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ tyrus-standalone-client --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] skip non existing resourceDirectory /home/jenkins/agent/workspace/documentation-update-after-release/bundles/client/src/main/resources [INFO] [INFO] --- maven-compiler-plugin:3.1:compile (default-compile) @ tyrus-standalone-client --- [INFO] No sources to compile [INFO] [INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ tyrus-standalone-client --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] skip non existing resourceDirectory /home/jenkins/agent/workspace/documentation-update-after-release/bundles/client/src/test/resources [INFO] [INFO] --- maven-compiler-plugin:3.1:testCompile (default-testCompile) @ tyrus-standalone-client --- [INFO] No sources to compile [INFO] [INFO] --- maven-surefire-plugin:2.17:test (default-test) @ tyrus-standalone-client --- [INFO] Tests are skipped. [INFO] [INFO] --- maven-jar-plugin:2.4:jar (default-jar) @ tyrus-standalone-client --- [WARNING] JAR will be empty - no content was marked for inclusion! [INFO] Building jar: /home/jenkins/agent/workspace/documentation-update-after-release/bundles/client/target/tyrus-standalone-client-1.19.jar [INFO] [INFO] --- maven-shade-plugin:2.1:shade (default) @ tyrus-standalone-client --- [INFO] Including org.glassfish.tyrus:tyrus-client:jar:1.19 in the shaded jar. [INFO] Including org.glassfish.tyrus:tyrus-core:jar:1.19 in the shaded jar. [INFO] Including org.glassfish.tyrus:tyrus-spi:jar:1.19 in the shaded jar. [INFO] Including javax.websocket:javax.websocket-api:jar:1.1 in the shaded jar. [INFO] Including jakarta.xml.bind:jakarta.xml.bind-api:jar:2.3.3 in the shaded jar. [INFO] Including jakarta.activation:jakarta.activation-api:jar:1.2.2 in the shaded jar. [INFO] Including org.glassfish.tyrus:tyrus-container-grizzly-client:jar:1.19 in the shaded jar. [INFO] Including org.glassfish.grizzly:grizzly-framework:jar:2.4.4 in the shaded jar. [INFO] Including org.glassfish.grizzly:grizzly-http-server:jar:2.4.4 in the shaded jar. [INFO] Including org.glassfish.grizzly:grizzly-http:jar:2.4.4 in the shaded jar. [INFO] Including javax.websocket:javax.websocket-client-api:jar:1.1 in the shaded jar. [WARNING] javax.websocket-api-1.1.jar, javax.websocket-client-api-1.1.jar define 45 overlappping classes: [WARNING] - javax.websocket.Decoder$Text [WARNING] - javax.websocket.DeploymentException [WARNING] - javax.websocket.SendHandler [WARNING] - javax.websocket.ClientEndpointConfig [WARNING] - javax.websocket.SendResult [WARNING] - javax.websocket.Extension [WARNING] - javax.websocket.ClientEndpointConfig$Builder [WARNING] - javax.websocket.OnError [WARNING] - javax.websocket.PongMessage [WARNING] - javax.websocket.Decoder [WARNING] - 35 more... [WARNING] jakarta.xml.bind-api-2.3.3.jar, jakarta.activation-api-1.2.2.jar define 1 overlappping classes: [WARNING] - module-info [WARNING] maven-shade-plugin has detected that some .class files [WARNING] are present in two or more JARs. When this happens, only [WARNING] one single version of the class is copied in the uberjar. [WARNING] Usually this is not harmful and you can skeep these [WARNING] warnings, otherwise try to manually exclude artifacts [WARNING] based on mvn dependency:tree -Ddetail=true and the above [WARNING] output [WARNING] See http://docs.codehaus.org/display/MAVENUSER/Shade+Plugin [INFO] Replacing original artifact with shaded artifact. [INFO] Replacing /home/jenkins/agent/workspace/documentation-update-after-release/bundles/client/target/tyrus-standalone-client-1.19.jar with /home/jenkins/agent/workspace/documentation-update-after-release/bundles/client/target/tyrus-standalone-client-1.19-shaded.jar [INFO] Dependency-reduced POM written at: /home/jenkins/agent/workspace/documentation-update-after-release/bundles/client/target/dependency-reduced-pom.xml [INFO] [INFO] --- build-helper-maven-plugin:1.8:add-source (default) @ tyrus-standalone-client --- [INFO] Source directory: /home/jenkins/agent/workspace/documentation-update-after-release/bundles/client/target/client-bundle-sources added. [INFO] [INFO] --- maven-javadoc-plugin:3.0.1:jar (attach-javadocs) @ tyrus-standalone-client --- [INFO] Loading source files for package javax.websocket... Loading source files for package javax.websocket.server... Loading source files for package org.glassfish.tyrus.core.l10n... Loading source files for package org.glassfish.tyrus.core.wsadl.model... Loading source files for package org.glassfish.tyrus.core.uri... Loading source files for package org.glassfish.tyrus.core.uri.internal... Loading source files for package org.glassfish.tyrus.core... Loading source files for package org.glassfish.tyrus.core.monitoring... Loading source files for package org.glassfish.tyrus.core.frame... Loading source files for package org.glassfish.tyrus.core.extension... Loading source files for package org.glassfish.tyrus.core.collection... Loading source files for package org.glassfish.tyrus.core.coder... Loading source files for package org.glassfish.tyrus.core.cluster... Loading source files for package org.glassfish.tyrus.client... Loading source files for package org.glassfish.tyrus.client.auth... Loading source files for package org.glassfish.tyrus.container.grizzly.client... Loading source files for package org.glassfish.tyrus.spi... Loading source files for package org.glassfish.grizzly.localization... Loading source files for package org.glassfish.grizzly.utils.conditions... Loading source files for package org.glassfish.grizzly.utils... Loading source files for package org.glassfish.grizzly.threadpool... Loading source files for package org.glassfish.grizzly.filterchain... Loading source files for package org.glassfish.grizzly.compression.zip... Loading source files for package org.glassfish.grizzly.compression.lzma.impl.rangecoder... Loading source files for package org.glassfish.grizzly.compression.lzma.impl.lz... Loading source files for package org.glassfish.grizzly.compression.lzma.impl... Loading source files for package org.glassfish.grizzly.compression.lzma... Loading source files for package org.glassfish.grizzly.attributes... Loading source files for package org.glassfish.grizzly.asyncqueue... Loading source files for package org.glassfish.grizzly... Loading source files for package org.glassfish.grizzly.streams... Loading source files for package org.glassfish.grizzly.strategies... Loading source files for package org.glassfish.grizzly.ssl... Loading source files for package org.glassfish.grizzly.nio.transport... Loading source files for package org.glassfish.grizzly.nio.tmpselectors... Loading source files for package org.glassfish.grizzly.nio... Loading source files for package org.glassfish.grizzly.monitoring... Loading source files for package org.glassfish.grizzly.memory... Loading source files for package org.glassfish.grizzly.impl... Loading source files for package org.glassfish.grizzly.jmxbase... Loading source files for package org.glassfish.grizzly.http.server.util... Loading source files for package org.glassfish.grizzly.http.server.naming... Loading source files for package org.glassfish.grizzly.http.server.jmxbase... Loading source files for package org.glassfish.grizzly.http.server.io... Loading source files for package org.glassfish.grizzly.http.server.http2... Loading source files for package org.glassfish.grizzly.http.server... Loading source files for package org.glassfish.grizzly.http.server.accesslog... Loading source files for package org.glassfish.grizzly.http.server.filecache... Loading source files for package org.glassfish.grizzly.http.util... Loading source files for package org.glassfish.grizzly.http... Loading source files for package org.glassfish.grizzly.http.io... Constructing Javadoc information... 14 errors [ERROR] MavenReportException: Error while generating Javadoc: Exit code: 1 - /home/jenkins/agent/workspace/documentation-update-after-release/bundles/client/target/client-bundle-sources/org/glassfish/tyrus/core/OsgiRegistry.java:47: error: package org.osgi.framework does not exist import org.osgi.framework.Bundle; ^ /home/jenkins/agent/workspace/documentation-update-after-release/bundles/client/target/client-bundle-sources/org/glassfish/tyrus/core/OsgiRegistry.java:48: error: package org.osgi.framework does not exist import org.osgi.framework.BundleContext; ^ /home/jenkins/agent/workspace/documentation-update-after-release/bundles/client/target/client-bundle-sources/org/glassfish/tyrus/core/OsgiRegistry.java:49: error: package org.osgi.framework does not exist import org.osgi.framework.BundleEvent; ^ /home/jenkins/agent/workspace/documentation-update-after-release/bundles/client/target/client-bundle-sources/org/glassfish/tyrus/core/OsgiRegistry.java:50: error: package org.osgi.framework does not exist import org.osgi.framework.BundleReference; ^ /home/jenkins/agent/workspace/documentation-update-after-release/bundles/client/target/client-bundle-sources/org/glassfish/tyrus/core/OsgiRegistry.java:51: error: package org.osgi.framework does not exist import org.osgi.framework.FrameworkUtil; ^ /home/jenkins/agent/workspace/documentation-update-after-release/bundles/client/target/client-bundle-sources/org/glassfish/tyrus/core/OsgiRegistry.java:52: error: package org.osgi.framework does not exist import org.osgi.framework.SynchronousBundleListener; ^ /home/jenkins/agent/workspace/documentation-update-after-release/bundles/client/target/client-bundle-sources/org/glassfish/tyrus/core/OsgiRegistry.java:67: error: cannot find symbol public final class OsgiRegistry implements SynchronousBundleListener { ^ symbol: class SynchronousBundleListener /home/jenkins/agent/workspace/documentation-update-after-release/bundles/client/target/client-bundle-sources/org/glassfish/tyrus/core/OsgiRegistry.java:72: error: cannot find symbol private final BundleContext bundleContext; ^ symbol: class BundleContext location: class OsgiRegistry /home/jenkins/agent/workspace/documentation-update-after-release/bundles/client/target/client-bundle-sources/org/glassfish/tyrus/core/OsgiRegistry.java:79: error: cannot find symbol private Map classToBundleMapping = new HashMap(); ^ symbol: class Bundle location: class OsgiRegistry /home/jenkins/agent/workspace/documentation-update-after-release/bundles/client/target/client-bundle-sources/org/glassfish/tyrus/core/OsgiRegistry.java:237: error: cannot find symbol public void bundleChanged(BundleEvent event) { ^ symbol: class BundleEvent location: class OsgiRegistry /home/jenkins/agent/workspace/documentation-update-after-release/bundles/client/target/client-bundle-sources/org/glassfish/tyrus/core/OsgiRegistry.java:376: error: cannot find symbol private OsgiRegistry(BundleContext bundleContext) { ^ symbol: class BundleContext location: class OsgiRegistry /home/jenkins/agent/workspace/documentation-update-after-release/bundles/client/target/client-bundle-sources/org/glassfish/tyrus/core/OsgiRegistry.java:404: error: cannot find symbol private void register(final Bundle bundle) { ^ symbol: class Bundle location: class OsgiRegistry /home/jenkins/agent/workspace/documentation-update-after-release/bundles/client/target/client-bundle-sources/org/glassfish/tyrus/core/OsgiRegistry.java:177: error: cannot find symbol private final Bundle bundle; ^ symbol: class Bundle location: class BundleSpiProvidersLoader /home/jenkins/agent/workspace/documentation-update-after-release/bundles/client/target/client-bundle-sources/org/glassfish/tyrus/core/OsgiRegistry.java:179: error: cannot find symbol BundleSpiProvidersLoader(final String spi, final URI spiRegistryUri, final Bundle bundle) { ^ symbol: class Bundle location: class BundleSpiProvidersLoader Command line was: /opt/tools/java/openjdk/jdk-11/latest/bin/javadoc -J-Xmx512m -J-Xms128m @options @packages Refer to the generated Javadoc files in '/home/jenkins/agent/workspace/documentation-update-after-release/bundles/client/target/apidocs' dir. org.apache.maven.reporting.MavenReportException: Exit code: 1 - /home/jenkins/agent/workspace/documentation-update-after-release/bundles/client/target/client-bundle-sources/org/glassfish/tyrus/core/OsgiRegistry.java:47: error: package org.osgi.framework does not exist import org.osgi.framework.Bundle; ^ /home/jenkins/agent/workspace/documentation-update-after-release/bundles/client/target/client-bundle-sources/org/glassfish/tyrus/core/OsgiRegistry.java:48: error: package org.osgi.framework does not exist import org.osgi.framework.BundleContext; ^ /home/jenkins/agent/workspace/documentation-update-after-release/bundles/client/target/client-bundle-sources/org/glassfish/tyrus/core/OsgiRegistry.java:49: error: package org.osgi.framework does not exist import org.osgi.framework.BundleEvent; ^ /home/jenkins/agent/workspace/documentation-update-after-release/bundles/client/target/client-bundle-sources/org/glassfish/tyrus/core/OsgiRegistry.java:50: error: package org.osgi.framework does not exist import org.osgi.framework.BundleReference; ^ /home/jenkins/agent/workspace/documentation-update-after-release/bundles/client/target/client-bundle-sources/org/glassfish/tyrus/core/OsgiRegistry.java:51: error: package org.osgi.framework does not exist import org.osgi.framework.FrameworkUtil; ^ /home/jenkins/agent/workspace/documentation-update-after-release/bundles/client/target/client-bundle-sources/org/glassfish/tyrus/core/OsgiRegistry.java:52: error: package org.osgi.framework does not exist import org.osgi.framework.SynchronousBundleListener; ^ /home/jenkins/agent/workspace/documentation-update-after-release/bundles/client/target/client-bundle-sources/org/glassfish/tyrus/core/OsgiRegistry.java:67: error: cannot find symbol public final class OsgiRegistry implements SynchronousBundleListener { ^ symbol: class SynchronousBundleListener /home/jenkins/agent/workspace/documentation-update-after-release/bundles/client/target/client-bundle-sources/org/glassfish/tyrus/core/OsgiRegistry.java:72: error: cannot find symbol private final BundleContext bundleContext; ^ symbol: class BundleContext location: class OsgiRegistry /home/jenkins/agent/workspace/documentation-update-after-release/bundles/client/target/client-bundle-sources/org/glassfish/tyrus/core/OsgiRegistry.java:79: error: cannot find symbol private Map classToBundleMapping = new HashMap(); ^ symbol: class Bundle location: class OsgiRegistry /home/jenkins/agent/workspace/documentation-update-after-release/bundles/client/target/client-bundle-sources/org/glassfish/tyrus/core/OsgiRegistry.java:237: error: cannot find symbol public void bundleChanged(BundleEvent event) { ^ symbol: class BundleEvent location: class OsgiRegistry /home/jenkins/agent/workspace/documentation-update-after-release/bundles/client/target/client-bundle-sources/org/glassfish/tyrus/core/OsgiRegistry.java:376: error: cannot find symbol private OsgiRegistry(BundleContext bundleContext) { ^ symbol: class BundleContext location: class OsgiRegistry /home/jenkins/agent/workspace/documentation-update-after-release/bundles/client/target/client-bundle-sources/org/glassfish/tyrus/core/OsgiRegistry.java:404: error: cannot find symbol private void register(final Bundle bundle) { ^ symbol: class Bundle location: class OsgiRegistry /home/jenkins/agent/workspace/documentation-update-after-release/bundles/client/target/client-bundle-sources/org/glassfish/tyrus/core/OsgiRegistry.java:177: error: cannot find symbol private final Bundle bundle; ^ symbol: class Bundle location: class BundleSpiProvidersLoader /home/jenkins/agent/workspace/documentation-update-after-release/bundles/client/target/client-bundle-sources/org/glassfish/tyrus/core/OsgiRegistry.java:179: error: cannot find symbol BundleSpiProvidersLoader(final String spi, final URI spiRegistryUri, final Bundle bundle) { ^ symbol: class Bundle location: class BundleSpiProvidersLoader Command line was: /opt/tools/java/openjdk/jdk-11/latest/bin/javadoc -J-Xmx512m -J-Xms128m @options @packages Refer to the generated Javadoc files in '/home/jenkins/agent/workspace/documentation-update-after-release/bundles/client/target/apidocs' dir. at org.apache.maven.plugins.javadoc.AbstractJavadocMojo.executeJavadocCommandLine (AbstractJavadocMojo.java:5298) at org.apache.maven.plugins.javadoc.AbstractJavadocMojo.executeReport (AbstractJavadocMojo.java:2134) at org.apache.maven.plugins.javadoc.JavadocJar.doExecute (JavadocJar.java:190) at org.apache.maven.plugins.javadoc.AbstractJavadocMojo.execute (AbstractJavadocMojo.java:1912) at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo (DefaultBuildPluginManager.java:137) at org.apache.maven.lifecycle.internal.MojoExecutor.doExecute (MojoExecutor.java:301) at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:211) at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:165) at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:157) at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:121) at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:81) at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build (SingleThreadedBuilder.java:56) at org.apache.maven.lifecycle.internal.LifecycleStarter.execute (LifecycleStarter.java:127) at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:294) at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:192) at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:105) at org.apache.maven.cli.MavenCli.execute (MavenCli.java:960) at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:293) at org.apache.maven.cli.MavenCli.main (MavenCli.java:196) at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0 (Native Method) at jdk.internal.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:62) at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke (Method.java:566) at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced (Launcher.java:282) at org.codehaus.plexus.classworlds.launcher.Launcher.launch (Launcher.java:225) at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode (Launcher.java:406) at org.codehaus.plexus.classworlds.launcher.Launcher.main (Launcher.java:347) [INFO] Building jar: /home/jenkins/agent/workspace/documentation-update-after-release/bundles/client/target/tyrus-standalone-client-1.19-javadoc.jar [INFO] [INFO] --- maven-javadoc-plugin:3.0.1:jar (default) @ tyrus-standalone-client --- [INFO] Loading source files for package javax.websocket... Loading source files for package javax.websocket.server... Loading source files for package org.glassfish.tyrus.core.l10n... Loading source files for package org.glassfish.tyrus.core.wsadl.model... Loading source files for package org.glassfish.tyrus.core.uri... Loading source files for package org.glassfish.tyrus.core.uri.internal... Loading source files for package org.glassfish.tyrus.core... Loading source files for package org.glassfish.tyrus.core.monitoring... Loading source files for package org.glassfish.tyrus.core.frame... Loading source files for package org.glassfish.tyrus.core.extension... Loading source files for package org.glassfish.tyrus.core.collection... Loading source files for package org.glassfish.tyrus.core.coder... Loading source files for package org.glassfish.tyrus.core.cluster... Loading source files for package org.glassfish.tyrus.client... Loading source files for package org.glassfish.tyrus.client.auth... Loading source files for package org.glassfish.tyrus.container.grizzly.client... Loading source files for package org.glassfish.tyrus.spi... Loading source files for package org.glassfish.grizzly.localization... Loading source files for package org.glassfish.grizzly.utils.conditions... Loading source files for package org.glassfish.grizzly.utils... Loading source files for package org.glassfish.grizzly.threadpool... Loading source files for package org.glassfish.grizzly.filterchain... Loading source files for package org.glassfish.grizzly.compression.zip... Loading source files for package org.glassfish.grizzly.compression.lzma.impl.rangecoder... Loading source files for package org.glassfish.grizzly.compression.lzma.impl.lz... Loading source files for package org.glassfish.grizzly.compression.lzma.impl... Loading source files for package org.glassfish.grizzly.compression.lzma... Loading source files for package org.glassfish.grizzly.attributes... Loading source files for package org.glassfish.grizzly.asyncqueue... Loading source files for package org.glassfish.grizzly... Loading source files for package org.glassfish.grizzly.streams... Loading source files for package org.glassfish.grizzly.strategies... Loading source files for package org.glassfish.grizzly.ssl... Loading source files for package org.glassfish.grizzly.nio.transport... Loading source files for package org.glassfish.grizzly.nio.tmpselectors... Loading source files for package org.glassfish.grizzly.nio... Loading source files for package org.glassfish.grizzly.monitoring... Loading source files for package org.glassfish.grizzly.memory... Loading source files for package org.glassfish.grizzly.impl... Loading source files for package org.glassfish.grizzly.jmxbase... Loading source files for package org.glassfish.grizzly.http.server.util... Loading source files for package org.glassfish.grizzly.http.server.naming... Loading source files for package org.glassfish.grizzly.http.server.jmxbase... Loading source files for package org.glassfish.grizzly.http.server.io... Loading source files for package org.glassfish.grizzly.http.server.http2... Loading source files for package org.glassfish.grizzly.http.server... Loading source files for package org.glassfish.grizzly.http.server.accesslog... Loading source files for package org.glassfish.grizzly.http.server.filecache... Loading source files for package org.glassfish.grizzly.http.util... Loading source files for package org.glassfish.grizzly.http... Loading source files for package org.glassfish.grizzly.http.io... Constructing Javadoc information... 14 errors [ERROR] MavenReportException: Error while generating Javadoc: Exit code: 1 - /home/jenkins/agent/workspace/documentation-update-after-release/bundles/client/target/client-bundle-sources/org/glassfish/tyrus/core/OsgiRegistry.java:47: error: package org.osgi.framework does not exist import org.osgi.framework.Bundle; ^ /home/jenkins/agent/workspace/documentation-update-after-release/bundles/client/target/client-bundle-sources/org/glassfish/tyrus/core/OsgiRegistry.java:48: error: package org.osgi.framework does not exist import org.osgi.framework.BundleContext; ^ /home/jenkins/agent/workspace/documentation-update-after-release/bundles/client/target/client-bundle-sources/org/glassfish/tyrus/core/OsgiRegistry.java:49: error: package org.osgi.framework does not exist import org.osgi.framework.BundleEvent; ^ /home/jenkins/agent/workspace/documentation-update-after-release/bundles/client/target/client-bundle-sources/org/glassfish/tyrus/core/OsgiRegistry.java:50: error: package org.osgi.framework does not exist import org.osgi.framework.BundleReference; ^ /home/jenkins/agent/workspace/documentation-update-after-release/bundles/client/target/client-bundle-sources/org/glassfish/tyrus/core/OsgiRegistry.java:51: error: package org.osgi.framework does not exist import org.osgi.framework.FrameworkUtil; ^ /home/jenkins/agent/workspace/documentation-update-after-release/bundles/client/target/client-bundle-sources/org/glassfish/tyrus/core/OsgiRegistry.java:52: error: package org.osgi.framework does not exist import org.osgi.framework.SynchronousBundleListener; ^ /home/jenkins/agent/workspace/documentation-update-after-release/bundles/client/target/client-bundle-sources/org/glassfish/tyrus/core/OsgiRegistry.java:67: error: cannot find symbol public final class OsgiRegistry implements SynchronousBundleListener { ^ symbol: class SynchronousBundleListener /home/jenkins/agent/workspace/documentation-update-after-release/bundles/client/target/client-bundle-sources/org/glassfish/tyrus/core/OsgiRegistry.java:72: error: cannot find symbol private final BundleContext bundleContext; ^ symbol: class BundleContext location: class OsgiRegistry /home/jenkins/agent/workspace/documentation-update-after-release/bundles/client/target/client-bundle-sources/org/glassfish/tyrus/core/OsgiRegistry.java:79: error: cannot find symbol private Map classToBundleMapping = new HashMap(); ^ symbol: class Bundle location: class OsgiRegistry /home/jenkins/agent/workspace/documentation-update-after-release/bundles/client/target/client-bundle-sources/org/glassfish/tyrus/core/OsgiRegistry.java:237: error: cannot find symbol public void bundleChanged(BundleEvent event) { ^ symbol: class BundleEvent location: class OsgiRegistry /home/jenkins/agent/workspace/documentation-update-after-release/bundles/client/target/client-bundle-sources/org/glassfish/tyrus/core/OsgiRegistry.java:376: error: cannot find symbol private OsgiRegistry(BundleContext bundleContext) { ^ symbol: class BundleContext location: class OsgiRegistry /home/jenkins/agent/workspace/documentation-update-after-release/bundles/client/target/client-bundle-sources/org/glassfish/tyrus/core/OsgiRegistry.java:404: error: cannot find symbol private void register(final Bundle bundle) { ^ symbol: class Bundle location: class OsgiRegistry /home/jenkins/agent/workspace/documentation-update-after-release/bundles/client/target/client-bundle-sources/org/glassfish/tyrus/core/OsgiRegistry.java:177: error: cannot find symbol private final Bundle bundle; ^ symbol: class Bundle location: class BundleSpiProvidersLoader /home/jenkins/agent/workspace/documentation-update-after-release/bundles/client/target/client-bundle-sources/org/glassfish/tyrus/core/OsgiRegistry.java:179: error: cannot find symbol BundleSpiProvidersLoader(final String spi, final URI spiRegistryUri, final Bundle bundle) { ^ symbol: class Bundle location: class BundleSpiProvidersLoader Command line was: /opt/tools/java/openjdk/jdk-11/latest/bin/javadoc -J-Xmx512m -J-Xms128m @options @packages Refer to the generated Javadoc files in '/home/jenkins/agent/workspace/documentation-update-after-release/bundles/client/target/apidocs' dir. org.apache.maven.reporting.MavenReportException: Exit code: 1 - /home/jenkins/agent/workspace/documentation-update-after-release/bundles/client/target/client-bundle-sources/org/glassfish/tyrus/core/OsgiRegistry.java:47: error: package org.osgi.framework does not exist import org.osgi.framework.Bundle; ^ /home/jenkins/agent/workspace/documentation-update-after-release/bundles/client/target/client-bundle-sources/org/glassfish/tyrus/core/OsgiRegistry.java:48: error: package org.osgi.framework does not exist import org.osgi.framework.BundleContext; ^ /home/jenkins/agent/workspace/documentation-update-after-release/bundles/client/target/client-bundle-sources/org/glassfish/tyrus/core/OsgiRegistry.java:49: error: package org.osgi.framework does not exist import org.osgi.framework.BundleEvent; ^ /home/jenkins/agent/workspace/documentation-update-after-release/bundles/client/target/client-bundle-sources/org/glassfish/tyrus/core/OsgiRegistry.java:50: error: package org.osgi.framework does not exist import org.osgi.framework.BundleReference; ^ /home/jenkins/agent/workspace/documentation-update-after-release/bundles/client/target/client-bundle-sources/org/glassfish/tyrus/core/OsgiRegistry.java:51: error: package org.osgi.framework does not exist import org.osgi.framework.FrameworkUtil; ^ /home/jenkins/agent/workspace/documentation-update-after-release/bundles/client/target/client-bundle-sources/org/glassfish/tyrus/core/OsgiRegistry.java:52: error: package org.osgi.framework does not exist import org.osgi.framework.SynchronousBundleListener; ^ /home/jenkins/agent/workspace/documentation-update-after-release/bundles/client/target/client-bundle-sources/org/glassfish/tyrus/core/OsgiRegistry.java:67: error: cannot find symbol public final class OsgiRegistry implements SynchronousBundleListener { ^ symbol: class SynchronousBundleListener /home/jenkins/agent/workspace/documentation-update-after-release/bundles/client/target/client-bundle-sources/org/glassfish/tyrus/core/OsgiRegistry.java:72: error: cannot find symbol private final BundleContext bundleContext; ^ symbol: class BundleContext location: class OsgiRegistry /home/jenkins/agent/workspace/documentation-update-after-release/bundles/client/target/client-bundle-sources/org/glassfish/tyrus/core/OsgiRegistry.java:79: error: cannot find symbol private Map classToBundleMapping = new HashMap(); ^ symbol: class Bundle location: class OsgiRegistry /home/jenkins/agent/workspace/documentation-update-after-release/bundles/client/target/client-bundle-sources/org/glassfish/tyrus/core/OsgiRegistry.java:237: error: cannot find symbol public void bundleChanged(BundleEvent event) { ^ symbol: class BundleEvent location: class OsgiRegistry /home/jenkins/agent/workspace/documentation-update-after-release/bundles/client/target/client-bundle-sources/org/glassfish/tyrus/core/OsgiRegistry.java:376: error: cannot find symbol private OsgiRegistry(BundleContext bundleContext) { ^ symbol: class BundleContext location: class OsgiRegistry /home/jenkins/agent/workspace/documentation-update-after-release/bundles/client/target/client-bundle-sources/org/glassfish/tyrus/core/OsgiRegistry.java:404: error: cannot find symbol private void register(final Bundle bundle) { ^ symbol: class Bundle location: class OsgiRegistry /home/jenkins/agent/workspace/documentation-update-after-release/bundles/client/target/client-bundle-sources/org/glassfish/tyrus/core/OsgiRegistry.java:177: error: cannot find symbol private final Bundle bundle; ^ symbol: class Bundle location: class BundleSpiProvidersLoader /home/jenkins/agent/workspace/documentation-update-after-release/bundles/client/target/client-bundle-sources/org/glassfish/tyrus/core/OsgiRegistry.java:179: error: cannot find symbol BundleSpiProvidersLoader(final String spi, final URI spiRegistryUri, final Bundle bundle) { ^ symbol: class Bundle location: class BundleSpiProvidersLoader Command line was: /opt/tools/java/openjdk/jdk-11/latest/bin/javadoc -J-Xmx512m -J-Xms128m @options @packages Refer to the generated Javadoc files in '/home/jenkins/agent/workspace/documentation-update-after-release/bundles/client/target/apidocs' dir. at org.apache.maven.plugins.javadoc.AbstractJavadocMojo.executeJavadocCommandLine (AbstractJavadocMojo.java:5298) at org.apache.maven.plugins.javadoc.AbstractJavadocMojo.executeReport (AbstractJavadocMojo.java:2134) at org.apache.maven.plugins.javadoc.JavadocJar.doExecute (JavadocJar.java:190) at org.apache.maven.plugins.javadoc.AbstractJavadocMojo.execute (AbstractJavadocMojo.java:1912) at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo (DefaultBuildPluginManager.java:137) at org.apache.maven.lifecycle.internal.MojoExecutor.doExecute (MojoExecutor.java:301) at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:211) at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:165) at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:157) at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:121) at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:81) at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build (SingleThreadedBuilder.java:56) at org.apache.maven.lifecycle.internal.LifecycleStarter.execute (LifecycleStarter.java:127) at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:294) at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:192) at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:105) at org.apache.maven.cli.MavenCli.execute (MavenCli.java:960) at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:293) at org.apache.maven.cli.MavenCli.main (MavenCli.java:196) at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0 (Native Method) at jdk.internal.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:62) at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke (Method.java:566) at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced (Launcher.java:282) at org.codehaus.plexus.classworlds.launcher.Launcher.launch (Launcher.java:225) at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode (Launcher.java:406) at org.codehaus.plexus.classworlds.launcher.Launcher.main (Launcher.java:347) [INFO] Building jar: /home/jenkins/agent/workspace/documentation-update-after-release/bundles/client/target/tyrus-standalone-client-1.19-javadoc.jar [WARNING] artifact org.glassfish.tyrus.bundles:tyrus-standalone-client:javadoc:javadoc:1.19 already attached, replace previous instance [INFO] [INFO] --- maven-source-plugin:2.2.1:jar-no-fork (attach-sources) @ tyrus-standalone-client --- [INFO] Building jar: /home/jenkins/agent/workspace/documentation-update-after-release/bundles/client/target/tyrus-standalone-client-1.19-sources.jar [INFO] [INFO] --- maven-install-plugin:2.4:install (default-install) @ tyrus-standalone-client --- [INFO] Installing /home/jenkins/agent/workspace/documentation-update-after-release/bundles/client/target/tyrus-standalone-client-1.19.jar to /home/jenkins/.m2/repository/org/glassfish/tyrus/bundles/tyrus-standalone-client/1.19/tyrus-standalone-client-1.19.jar [INFO] Installing /home/jenkins/agent/workspace/documentation-update-after-release/bundles/client/target/dependency-reduced-pom.xml to /home/jenkins/.m2/repository/org/glassfish/tyrus/bundles/tyrus-standalone-client/1.19/tyrus-standalone-client-1.19.pom [INFO] Installing /home/jenkins/agent/workspace/documentation-update-after-release/bundles/client/target/tyrus-standalone-client-1.19-javadoc.jar to /home/jenkins/.m2/repository/org/glassfish/tyrus/bundles/tyrus-standalone-client/1.19/tyrus-standalone-client-1.19-javadoc.jar [INFO] Installing /home/jenkins/agent/workspace/documentation-update-after-release/bundles/client/target/tyrus-standalone-client-1.19-sources.jar to /home/jenkins/.m2/repository/org/glassfish/tyrus/bundles/tyrus-standalone-client/1.19/tyrus-standalone-client-1.19-sources.jar [INFO] [INFO] ------< org.glassfish.tyrus.bundles:tyrus-standalone-client-jdk >------- [INFO] Building Tyrus Standalone Client - JDK 1.19 [63/65] [INFO] --------------------------------[ jar ]--------------------------------- [INFO] [INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ tyrus-standalone-client-jdk --- [INFO] [INFO] --- maven-checkstyle-plugin:3.0.0:check (default) @ tyrus-standalone-client-jdk --- [INFO] [INFO] --- build-helper-maven-plugin:1.8:parse-version (parse-version) @ tyrus-standalone-client-jdk --- [INFO] [INFO] --- maven-dependency-plugin:2.8:unpack (unpack) @ tyrus-standalone-client-jdk --- [INFO] Configured Artifact: javax.websocket:javax.websocket-api:sources:?:jar [INFO] Configured Artifact: org.glassfish.tyrus:tyrus-core:sources:1.19:jar [INFO] Configured Artifact: org.glassfish.tyrus:tyrus-client:sources:1.19:jar [INFO] Configured Artifact: org.glassfish.tyrus:tyrus-container-jdk-client:sources:1.19:jar [INFO] Configured Artifact: org.glassfish.tyrus:tyrus-spi:sources:1.19:jar [INFO] Unpacking /home/jenkins/.m2/repository/javax/websocket/javax.websocket-api/1.1/javax.websocket-api-1.1-sources.jar to /home/jenkins/agent/workspace/documentation-update-after-release/bundles/client-jdk/target/client-bundle-sources with includes "" and excludes "" [INFO] Unpacking /home/jenkins/agent/workspace/documentation-update-after-release/core/target/tyrus-core-1.19-sources.jar to /home/jenkins/agent/workspace/documentation-update-after-release/bundles/client-jdk/target/client-bundle-sources with includes "" and excludes "" [INFO] Unpacking /home/jenkins/agent/workspace/documentation-update-after-release/client/target/tyrus-client-1.19-sources.jar to /home/jenkins/agent/workspace/documentation-update-after-release/bundles/client-jdk/target/client-bundle-sources with includes "" and excludes "" [INFO] Unpacking /home/jenkins/agent/workspace/documentation-update-after-release/containers/jdk-client/target/tyrus-container-jdk-client-1.19-sources.jar to /home/jenkins/agent/workspace/documentation-update-after-release/bundles/client-jdk/target/client-bundle-sources with includes "" and excludes "" [INFO] Unpacking /home/jenkins/agent/workspace/documentation-update-after-release/spi/target/tyrus-spi-1.19-sources.jar to /home/jenkins/agent/workspace/documentation-update-after-release/bundles/client-jdk/target/client-bundle-sources with includes "" and excludes "" [INFO] [INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ tyrus-standalone-client-jdk --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] skip non existing resourceDirectory /home/jenkins/agent/workspace/documentation-update-after-release/bundles/client-jdk/src/main/resources [INFO] [INFO] --- maven-compiler-plugin:3.1:compile (default-compile) @ tyrus-standalone-client-jdk --- [INFO] No sources to compile [INFO] [INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ tyrus-standalone-client-jdk --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] skip non existing resourceDirectory /home/jenkins/agent/workspace/documentation-update-after-release/bundles/client-jdk/src/test/resources [INFO] [INFO] --- maven-compiler-plugin:3.1:testCompile (default-testCompile) @ tyrus-standalone-client-jdk --- [INFO] No sources to compile [INFO] [INFO] --- maven-surefire-plugin:2.17:test (default-test) @ tyrus-standalone-client-jdk --- [INFO] Tests are skipped. [INFO] [INFO] --- maven-jar-plugin:2.4:jar (default-jar) @ tyrus-standalone-client-jdk --- [WARNING] JAR will be empty - no content was marked for inclusion! [INFO] Building jar: /home/jenkins/agent/workspace/documentation-update-after-release/bundles/client-jdk/target/tyrus-standalone-client-jdk-1.19.jar [INFO] [INFO] --- maven-shade-plugin:2.1:shade (default) @ tyrus-standalone-client-jdk --- [INFO] Including org.glassfish.tyrus:tyrus-client:jar:1.19 in the shaded jar. [INFO] Including org.glassfish.tyrus:tyrus-core:jar:1.19 in the shaded jar. [INFO] Including org.glassfish.tyrus:tyrus-spi:jar:1.19 in the shaded jar. [INFO] Including javax.websocket:javax.websocket-api:jar:1.1 in the shaded jar. [INFO] Including jakarta.xml.bind:jakarta.xml.bind-api:jar:2.3.3 in the shaded jar. [INFO] Including jakarta.activation:jakarta.activation-api:jar:1.2.2 in the shaded jar. [INFO] Including org.glassfish.tyrus:tyrus-container-jdk-client:jar:1.19 in the shaded jar. [INFO] Including javax.websocket:javax.websocket-client-api:jar:1.1 in the shaded jar. [WARNING] javax.websocket-api-1.1.jar, javax.websocket-client-api-1.1.jar define 45 overlappping classes: [WARNING] - javax.websocket.Decoder$Text [WARNING] - javax.websocket.DeploymentException [WARNING] - javax.websocket.SendHandler [WARNING] - javax.websocket.ClientEndpointConfig [WARNING] - javax.websocket.SendResult [WARNING] - javax.websocket.Extension [WARNING] - javax.websocket.ClientEndpointConfig$Builder [WARNING] - javax.websocket.OnError [WARNING] - javax.websocket.PongMessage [WARNING] - javax.websocket.Decoder [WARNING] - 35 more... [WARNING] jakarta.xml.bind-api-2.3.3.jar, jakarta.activation-api-1.2.2.jar define 1 overlappping classes: [WARNING] - module-info [WARNING] maven-shade-plugin has detected that some .class files [WARNING] are present in two or more JARs. When this happens, only [WARNING] one single version of the class is copied in the uberjar. [WARNING] Usually this is not harmful and you can skeep these [WARNING] warnings, otherwise try to manually exclude artifacts [WARNING] based on mvn dependency:tree -Ddetail=true and the above [WARNING] output [WARNING] See http://docs.codehaus.org/display/MAVENUSER/Shade+Plugin [INFO] Replacing original artifact with shaded artifact. [INFO] Replacing /home/jenkins/agent/workspace/documentation-update-after-release/bundles/client-jdk/target/tyrus-standalone-client-jdk-1.19.jar with /home/jenkins/agent/workspace/documentation-update-after-release/bundles/client-jdk/target/tyrus-standalone-client-jdk-1.19-shaded.jar [INFO] Dependency-reduced POM written at: /home/jenkins/agent/workspace/documentation-update-after-release/bundles/client-jdk/target/dependency-reduced-pom.xml [INFO] [INFO] --- build-helper-maven-plugin:1.8:add-source (default) @ tyrus-standalone-client-jdk --- [INFO] Source directory: /home/jenkins/agent/workspace/documentation-update-after-release/bundles/client-jdk/target/client-bundle-sources added. [INFO] [INFO] --- maven-javadoc-plugin:3.0.1:jar (attach-javadocs) @ tyrus-standalone-client-jdk --- [INFO] Loading source files for package javax.websocket... Loading source files for package javax.websocket.server... Loading source files for package org.glassfish.tyrus.core.l10n... Loading source files for package org.glassfish.tyrus.core.wsadl.model... Loading source files for package org.glassfish.tyrus.core.uri... Loading source files for package org.glassfish.tyrus.core.uri.internal... Loading source files for package org.glassfish.tyrus.core... Loading source files for package org.glassfish.tyrus.core.monitoring... Loading source files for package org.glassfish.tyrus.core.frame... Loading source files for package org.glassfish.tyrus.core.extension... Loading source files for package org.glassfish.tyrus.core.collection... Loading source files for package org.glassfish.tyrus.core.coder... Loading source files for package org.glassfish.tyrus.core.cluster... Loading source files for package org.glassfish.tyrus.client... Loading source files for package org.glassfish.tyrus.client.auth... Loading source files for package org.glassfish.tyrus.container.jdk.client... Loading source files for package org.glassfish.tyrus.spi... Constructing Javadoc information... 14 errors [ERROR] MavenReportException: Error while generating Javadoc: Exit code: 1 - /home/jenkins/agent/workspace/documentation-update-after-release/bundles/client-jdk/target/client-bundle-sources/org/glassfish/tyrus/core/OsgiRegistry.java:47: error: package org.osgi.framework does not exist import org.osgi.framework.Bundle; ^ /home/jenkins/agent/workspace/documentation-update-after-release/bundles/client-jdk/target/client-bundle-sources/org/glassfish/tyrus/core/OsgiRegistry.java:48: error: package org.osgi.framework does not exist import org.osgi.framework.BundleContext; ^ /home/jenkins/agent/workspace/documentation-update-after-release/bundles/client-jdk/target/client-bundle-sources/org/glassfish/tyrus/core/OsgiRegistry.java:49: error: package org.osgi.framework does not exist import org.osgi.framework.BundleEvent; ^ /home/jenkins/agent/workspace/documentation-update-after-release/bundles/client-jdk/target/client-bundle-sources/org/glassfish/tyrus/core/OsgiRegistry.java:50: error: package org.osgi.framework does not exist import org.osgi.framework.BundleReference; ^ /home/jenkins/agent/workspace/documentation-update-after-release/bundles/client-jdk/target/client-bundle-sources/org/glassfish/tyrus/core/OsgiRegistry.java:51: error: package org.osgi.framework does not exist import org.osgi.framework.FrameworkUtil; ^ /home/jenkins/agent/workspace/documentation-update-after-release/bundles/client-jdk/target/client-bundle-sources/org/glassfish/tyrus/core/OsgiRegistry.java:52: error: package org.osgi.framework does not exist import org.osgi.framework.SynchronousBundleListener; ^ /home/jenkins/agent/workspace/documentation-update-after-release/bundles/client-jdk/target/client-bundle-sources/org/glassfish/tyrus/core/OsgiRegistry.java:67: error: cannot find symbol public final class OsgiRegistry implements SynchronousBundleListener { ^ symbol: class SynchronousBundleListener /home/jenkins/agent/workspace/documentation-update-after-release/bundles/client-jdk/target/client-bundle-sources/org/glassfish/tyrus/core/OsgiRegistry.java:72: error: cannot find symbol private final BundleContext bundleContext; ^ symbol: class BundleContext location: class OsgiRegistry /home/jenkins/agent/workspace/documentation-update-after-release/bundles/client-jdk/target/client-bundle-sources/org/glassfish/tyrus/core/OsgiRegistry.java:79: error: cannot find symbol private Map classToBundleMapping = new HashMap(); ^ symbol: class Bundle location: class OsgiRegistry /home/jenkins/agent/workspace/documentation-update-after-release/bundles/client-jdk/target/client-bundle-sources/org/glassfish/tyrus/core/OsgiRegistry.java:237: error: cannot find symbol public void bundleChanged(BundleEvent event) { ^ symbol: class BundleEvent location: class OsgiRegistry /home/jenkins/agent/workspace/documentation-update-after-release/bundles/client-jdk/target/client-bundle-sources/org/glassfish/tyrus/core/OsgiRegistry.java:376: error: cannot find symbol private OsgiRegistry(BundleContext bundleContext) { ^ symbol: class BundleContext location: class OsgiRegistry /home/jenkins/agent/workspace/documentation-update-after-release/bundles/client-jdk/target/client-bundle-sources/org/glassfish/tyrus/core/OsgiRegistry.java:404: error: cannot find symbol private void register(final Bundle bundle) { ^ symbol: class Bundle location: class OsgiRegistry /home/jenkins/agent/workspace/documentation-update-after-release/bundles/client-jdk/target/client-bundle-sources/org/glassfish/tyrus/core/OsgiRegistry.java:177: error: cannot find symbol private final Bundle bundle; ^ symbol: class Bundle location: class BundleSpiProvidersLoader /home/jenkins/agent/workspace/documentation-update-after-release/bundles/client-jdk/target/client-bundle-sources/org/glassfish/tyrus/core/OsgiRegistry.java:179: error: cannot find symbol BundleSpiProvidersLoader(final String spi, final URI spiRegistryUri, final Bundle bundle) { ^ symbol: class Bundle location: class BundleSpiProvidersLoader Command line was: /opt/tools/java/openjdk/jdk-11/latest/bin/javadoc -J-Xmx512m -J-Xms128m @options @packages Refer to the generated Javadoc files in '/home/jenkins/agent/workspace/documentation-update-after-release/bundles/client-jdk/target/apidocs' dir. org.apache.maven.reporting.MavenReportException: Exit code: 1 - /home/jenkins/agent/workspace/documentation-update-after-release/bundles/client-jdk/target/client-bundle-sources/org/glassfish/tyrus/core/OsgiRegistry.java:47: error: package org.osgi.framework does not exist import org.osgi.framework.Bundle; ^ /home/jenkins/agent/workspace/documentation-update-after-release/bundles/client-jdk/target/client-bundle-sources/org/glassfish/tyrus/core/OsgiRegistry.java:48: error: package org.osgi.framework does not exist import org.osgi.framework.BundleContext; ^ /home/jenkins/agent/workspace/documentation-update-after-release/bundles/client-jdk/target/client-bundle-sources/org/glassfish/tyrus/core/OsgiRegistry.java:49: error: package org.osgi.framework does not exist import org.osgi.framework.BundleEvent; ^ /home/jenkins/agent/workspace/documentation-update-after-release/bundles/client-jdk/target/client-bundle-sources/org/glassfish/tyrus/core/OsgiRegistry.java:50: error: package org.osgi.framework does not exist import org.osgi.framework.BundleReference; ^ /home/jenkins/agent/workspace/documentation-update-after-release/bundles/client-jdk/target/client-bundle-sources/org/glassfish/tyrus/core/OsgiRegistry.java:51: error: package org.osgi.framework does not exist import org.osgi.framework.FrameworkUtil; ^ /home/jenkins/agent/workspace/documentation-update-after-release/bundles/client-jdk/target/client-bundle-sources/org/glassfish/tyrus/core/OsgiRegistry.java:52: error: package org.osgi.framework does not exist import org.osgi.framework.SynchronousBundleListener; ^ /home/jenkins/agent/workspace/documentation-update-after-release/bundles/client-jdk/target/client-bundle-sources/org/glassfish/tyrus/core/OsgiRegistry.java:67: error: cannot find symbol public final class OsgiRegistry implements SynchronousBundleListener { ^ symbol: class SynchronousBundleListener /home/jenkins/agent/workspace/documentation-update-after-release/bundles/client-jdk/target/client-bundle-sources/org/glassfish/tyrus/core/OsgiRegistry.java:72: error: cannot find symbol private final BundleContext bundleContext; ^ symbol: class BundleContext location: class OsgiRegistry /home/jenkins/agent/workspace/documentation-update-after-release/bundles/client-jdk/target/client-bundle-sources/org/glassfish/tyrus/core/OsgiRegistry.java:79: error: cannot find symbol private Map classToBundleMapping = new HashMap(); ^ symbol: class Bundle location: class OsgiRegistry /home/jenkins/agent/workspace/documentation-update-after-release/bundles/client-jdk/target/client-bundle-sources/org/glassfish/tyrus/core/OsgiRegistry.java:237: error: cannot find symbol public void bundleChanged(BundleEvent event) { ^ symbol: class BundleEvent location: class OsgiRegistry /home/jenkins/agent/workspace/documentation-update-after-release/bundles/client-jdk/target/client-bundle-sources/org/glassfish/tyrus/core/OsgiRegistry.java:376: error: cannot find symbol private OsgiRegistry(BundleContext bundleContext) { ^ symbol: class BundleContext location: class OsgiRegistry /home/jenkins/agent/workspace/documentation-update-after-release/bundles/client-jdk/target/client-bundle-sources/org/glassfish/tyrus/core/OsgiRegistry.java:404: error: cannot find symbol private void register(final Bundle bundle) { ^ symbol: class Bundle location: class OsgiRegistry /home/jenkins/agent/workspace/documentation-update-after-release/bundles/client-jdk/target/client-bundle-sources/org/glassfish/tyrus/core/OsgiRegistry.java:177: error: cannot find symbol private final Bundle bundle; ^ symbol: class Bundle location: class BundleSpiProvidersLoader /home/jenkins/agent/workspace/documentation-update-after-release/bundles/client-jdk/target/client-bundle-sources/org/glassfish/tyrus/core/OsgiRegistry.java:179: error: cannot find symbol BundleSpiProvidersLoader(final String spi, final URI spiRegistryUri, final Bundle bundle) { ^ symbol: class Bundle location: class BundleSpiProvidersLoader Command line was: /opt/tools/java/openjdk/jdk-11/latest/bin/javadoc -J-Xmx512m -J-Xms128m @options @packages Refer to the generated Javadoc files in '/home/jenkins/agent/workspace/documentation-update-after-release/bundles/client-jdk/target/apidocs' dir. at org.apache.maven.plugins.javadoc.AbstractJavadocMojo.executeJavadocCommandLine (AbstractJavadocMojo.java:5298) at org.apache.maven.plugins.javadoc.AbstractJavadocMojo.executeReport (AbstractJavadocMojo.java:2134) at org.apache.maven.plugins.javadoc.JavadocJar.doExecute (JavadocJar.java:190) at org.apache.maven.plugins.javadoc.AbstractJavadocMojo.execute (AbstractJavadocMojo.java:1912) at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo (DefaultBuildPluginManager.java:137) at org.apache.maven.lifecycle.internal.MojoExecutor.doExecute (MojoExecutor.java:301) at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:211) at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:165) at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:157) at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:121) at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:81) at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build (SingleThreadedBuilder.java:56) at org.apache.maven.lifecycle.internal.LifecycleStarter.execute (LifecycleStarter.java:127) at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:294) at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:192) at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:105) at org.apache.maven.cli.MavenCli.execute (MavenCli.java:960) at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:293) at org.apache.maven.cli.MavenCli.main (MavenCli.java:196) at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0 (Native Method) at jdk.internal.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:62) at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke (Method.java:566) at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced (Launcher.java:282) at org.codehaus.plexus.classworlds.launcher.Launcher.launch (Launcher.java:225) at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode (Launcher.java:406) at org.codehaus.plexus.classworlds.launcher.Launcher.main (Launcher.java:347) [INFO] Building jar: /home/jenkins/agent/workspace/documentation-update-after-release/bundles/client-jdk/target/tyrus-standalone-client-jdk-1.19-javadoc.jar [INFO] [INFO] --- maven-javadoc-plugin:3.0.1:jar (default) @ tyrus-standalone-client-jdk --- [INFO] Loading source files for package javax.websocket... Loading source files for package javax.websocket.server... Loading source files for package org.glassfish.tyrus.core.l10n... Loading source files for package org.glassfish.tyrus.core.wsadl.model... Loading source files for package org.glassfish.tyrus.core.uri... Loading source files for package org.glassfish.tyrus.core.uri.internal... Loading source files for package org.glassfish.tyrus.core... Loading source files for package org.glassfish.tyrus.core.monitoring... Loading source files for package org.glassfish.tyrus.core.frame... Loading source files for package org.glassfish.tyrus.core.extension... Loading source files for package org.glassfish.tyrus.core.collection... Loading source files for package org.glassfish.tyrus.core.coder... Loading source files for package org.glassfish.tyrus.core.cluster... Loading source files for package org.glassfish.tyrus.client... Loading source files for package org.glassfish.tyrus.client.auth... Loading source files for package org.glassfish.tyrus.container.jdk.client... Loading source files for package org.glassfish.tyrus.spi... Constructing Javadoc information... 14 errors [ERROR] MavenReportException: Error while generating Javadoc: Exit code: 1 - /home/jenkins/agent/workspace/documentation-update-after-release/bundles/client-jdk/target/client-bundle-sources/org/glassfish/tyrus/core/OsgiRegistry.java:47: error: package org.osgi.framework does not exist import org.osgi.framework.Bundle; ^ /home/jenkins/agent/workspace/documentation-update-after-release/bundles/client-jdk/target/client-bundle-sources/org/glassfish/tyrus/core/OsgiRegistry.java:48: error: package org.osgi.framework does not exist import org.osgi.framework.BundleContext; ^ /home/jenkins/agent/workspace/documentation-update-after-release/bundles/client-jdk/target/client-bundle-sources/org/glassfish/tyrus/core/OsgiRegistry.java:49: error: package org.osgi.framework does not exist import org.osgi.framework.BundleEvent; ^ /home/jenkins/agent/workspace/documentation-update-after-release/bundles/client-jdk/target/client-bundle-sources/org/glassfish/tyrus/core/OsgiRegistry.java:50: error: package org.osgi.framework does not exist import org.osgi.framework.BundleReference; ^ /home/jenkins/agent/workspace/documentation-update-after-release/bundles/client-jdk/target/client-bundle-sources/org/glassfish/tyrus/core/OsgiRegistry.java:51: error: package org.osgi.framework does not exist import org.osgi.framework.FrameworkUtil; ^ /home/jenkins/agent/workspace/documentation-update-after-release/bundles/client-jdk/target/client-bundle-sources/org/glassfish/tyrus/core/OsgiRegistry.java:52: error: package org.osgi.framework does not exist import org.osgi.framework.SynchronousBundleListener; ^ /home/jenkins/agent/workspace/documentation-update-after-release/bundles/client-jdk/target/client-bundle-sources/org/glassfish/tyrus/core/OsgiRegistry.java:67: error: cannot find symbol public final class OsgiRegistry implements SynchronousBundleListener { ^ symbol: class SynchronousBundleListener /home/jenkins/agent/workspace/documentation-update-after-release/bundles/client-jdk/target/client-bundle-sources/org/glassfish/tyrus/core/OsgiRegistry.java:72: error: cannot find symbol private final BundleContext bundleContext; ^ symbol: class BundleContext location: class OsgiRegistry /home/jenkins/agent/workspace/documentation-update-after-release/bundles/client-jdk/target/client-bundle-sources/org/glassfish/tyrus/core/OsgiRegistry.java:79: error: cannot find symbol private Map classToBundleMapping = new HashMap(); ^ symbol: class Bundle location: class OsgiRegistry /home/jenkins/agent/workspace/documentation-update-after-release/bundles/client-jdk/target/client-bundle-sources/org/glassfish/tyrus/core/OsgiRegistry.java:237: error: cannot find symbol public void bundleChanged(BundleEvent event) { ^ symbol: class BundleEvent location: class OsgiRegistry /home/jenkins/agent/workspace/documentation-update-after-release/bundles/client-jdk/target/client-bundle-sources/org/glassfish/tyrus/core/OsgiRegistry.java:376: error: cannot find symbol private OsgiRegistry(BundleContext bundleContext) { ^ symbol: class BundleContext location: class OsgiRegistry /home/jenkins/agent/workspace/documentation-update-after-release/bundles/client-jdk/target/client-bundle-sources/org/glassfish/tyrus/core/OsgiRegistry.java:404: error: cannot find symbol private void register(final Bundle bundle) { ^ symbol: class Bundle location: class OsgiRegistry /home/jenkins/agent/workspace/documentation-update-after-release/bundles/client-jdk/target/client-bundle-sources/org/glassfish/tyrus/core/OsgiRegistry.java:177: error: cannot find symbol private final Bundle bundle; ^ symbol: class Bundle location: class BundleSpiProvidersLoader /home/jenkins/agent/workspace/documentation-update-after-release/bundles/client-jdk/target/client-bundle-sources/org/glassfish/tyrus/core/OsgiRegistry.java:179: error: cannot find symbol BundleSpiProvidersLoader(final String spi, final URI spiRegistryUri, final Bundle bundle) { ^ symbol: class Bundle location: class BundleSpiProvidersLoader Command line was: /opt/tools/java/openjdk/jdk-11/latest/bin/javadoc -J-Xmx512m -J-Xms128m @options @packages Refer to the generated Javadoc files in '/home/jenkins/agent/workspace/documentation-update-after-release/bundles/client-jdk/target/apidocs' dir. org.apache.maven.reporting.MavenReportException: Exit code: 1 - /home/jenkins/agent/workspace/documentation-update-after-release/bundles/client-jdk/target/client-bundle-sources/org/glassfish/tyrus/core/OsgiRegistry.java:47: error: package org.osgi.framework does not exist import org.osgi.framework.Bundle; ^ /home/jenkins/agent/workspace/documentation-update-after-release/bundles/client-jdk/target/client-bundle-sources/org/glassfish/tyrus/core/OsgiRegistry.java:48: error: package org.osgi.framework does not exist import org.osgi.framework.BundleContext; ^ /home/jenkins/agent/workspace/documentation-update-after-release/bundles/client-jdk/target/client-bundle-sources/org/glassfish/tyrus/core/OsgiRegistry.java:49: error: package org.osgi.framework does not exist import org.osgi.framework.BundleEvent; ^ /home/jenkins/agent/workspace/documentation-update-after-release/bundles/client-jdk/target/client-bundle-sources/org/glassfish/tyrus/core/OsgiRegistry.java:50: error: package org.osgi.framework does not exist import org.osgi.framework.BundleReference; ^ /home/jenkins/agent/workspace/documentation-update-after-release/bundles/client-jdk/target/client-bundle-sources/org/glassfish/tyrus/core/OsgiRegistry.java:51: error: package org.osgi.framework does not exist import org.osgi.framework.FrameworkUtil; ^ /home/jenkins/agent/workspace/documentation-update-after-release/bundles/client-jdk/target/client-bundle-sources/org/glassfish/tyrus/core/OsgiRegistry.java:52: error: package org.osgi.framework does not exist import org.osgi.framework.SynchronousBundleListener; ^ /home/jenkins/agent/workspace/documentation-update-after-release/bundles/client-jdk/target/client-bundle-sources/org/glassfish/tyrus/core/OsgiRegistry.java:67: error: cannot find symbol public final class OsgiRegistry implements SynchronousBundleListener { ^ symbol: class SynchronousBundleListener /home/jenkins/agent/workspace/documentation-update-after-release/bundles/client-jdk/target/client-bundle-sources/org/glassfish/tyrus/core/OsgiRegistry.java:72: error: cannot find symbol private final BundleContext bundleContext; ^ symbol: class BundleContext location: class OsgiRegistry /home/jenkins/agent/workspace/documentation-update-after-release/bundles/client-jdk/target/client-bundle-sources/org/glassfish/tyrus/core/OsgiRegistry.java:79: error: cannot find symbol private Map classToBundleMapping = new HashMap(); ^ symbol: class Bundle location: class OsgiRegistry /home/jenkins/agent/workspace/documentation-update-after-release/bundles/client-jdk/target/client-bundle-sources/org/glassfish/tyrus/core/OsgiRegistry.java:237: error: cannot find symbol public void bundleChanged(BundleEvent event) { ^ symbol: class BundleEvent location: class OsgiRegistry /home/jenkins/agent/workspace/documentation-update-after-release/bundles/client-jdk/target/client-bundle-sources/org/glassfish/tyrus/core/OsgiRegistry.java:376: error: cannot find symbol private OsgiRegistry(BundleContext bundleContext) { ^ symbol: class BundleContext location: class OsgiRegistry /home/jenkins/agent/workspace/documentation-update-after-release/bundles/client-jdk/target/client-bundle-sources/org/glassfish/tyrus/core/OsgiRegistry.java:404: error: cannot find symbol private void register(final Bundle bundle) { ^ symbol: class Bundle location: class OsgiRegistry /home/jenkins/agent/workspace/documentation-update-after-release/bundles/client-jdk/target/client-bundle-sources/org/glassfish/tyrus/core/OsgiRegistry.java:177: error: cannot find symbol private final Bundle bundle; ^ symbol: class Bundle location: class BundleSpiProvidersLoader /home/jenkins/agent/workspace/documentation-update-after-release/bundles/client-jdk/target/client-bundle-sources/org/glassfish/tyrus/core/OsgiRegistry.java:179: error: cannot find symbol BundleSpiProvidersLoader(final String spi, final URI spiRegistryUri, final Bundle bundle) { ^ symbol: class Bundle location: class BundleSpiProvidersLoader Command line was: /opt/tools/java/openjdk/jdk-11/latest/bin/javadoc -J-Xmx512m -J-Xms128m @options @packages Refer to the generated Javadoc files in '/home/jenkins/agent/workspace/documentation-update-after-release/bundles/client-jdk/target/apidocs' dir. at org.apache.maven.plugins.javadoc.AbstractJavadocMojo.executeJavadocCommandLine (AbstractJavadocMojo.java:5298) at org.apache.maven.plugins.javadoc.AbstractJavadocMojo.executeReport (AbstractJavadocMojo.java:2134) at org.apache.maven.plugins.javadoc.JavadocJar.doExecute (JavadocJar.java:190) at org.apache.maven.plugins.javadoc.AbstractJavadocMojo.execute (AbstractJavadocMojo.java:1912) at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo (DefaultBuildPluginManager.java:137) at org.apache.maven.lifecycle.internal.MojoExecutor.doExecute (MojoExecutor.java:301) at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:211) at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:165) at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:157) at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:121) at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:81) at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build (SingleThreadedBuilder.java:56) at org.apache.maven.lifecycle.internal.LifecycleStarter.execute (LifecycleStarter.java:127) at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:294) at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:192) at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:105) at org.apache.maven.cli.MavenCli.execute (MavenCli.java:960) at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:293) at org.apache.maven.cli.MavenCli.main (MavenCli.java:196) at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0 (Native Method) at jdk.internal.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:62) at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke (Method.java:566) at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced (Launcher.java:282) at org.codehaus.plexus.classworlds.launcher.Launcher.launch (Launcher.java:225) at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode (Launcher.java:406) at org.codehaus.plexus.classworlds.launcher.Launcher.main (Launcher.java:347) [INFO] Building jar: /home/jenkins/agent/workspace/documentation-update-after-release/bundles/client-jdk/target/tyrus-standalone-client-jdk-1.19-javadoc.jar [WARNING] artifact org.glassfish.tyrus.bundles:tyrus-standalone-client-jdk:javadoc:javadoc:1.19 already attached, replace previous instance [INFO] [INFO] --- maven-source-plugin:2.2.1:jar-no-fork (attach-sources) @ tyrus-standalone-client-jdk --- [INFO] Building jar: /home/jenkins/agent/workspace/documentation-update-after-release/bundles/client-jdk/target/tyrus-standalone-client-jdk-1.19-sources.jar [INFO] [INFO] --- maven-install-plugin:2.4:install (default-install) @ tyrus-standalone-client-jdk --- [INFO] Installing /home/jenkins/agent/workspace/documentation-update-after-release/bundles/client-jdk/target/tyrus-standalone-client-jdk-1.19.jar to /home/jenkins/.m2/repository/org/glassfish/tyrus/bundles/tyrus-standalone-client-jdk/1.19/tyrus-standalone-client-jdk-1.19.jar [INFO] Installing /home/jenkins/agent/workspace/documentation-update-after-release/bundles/client-jdk/target/dependency-reduced-pom.xml to /home/jenkins/.m2/repository/org/glassfish/tyrus/bundles/tyrus-standalone-client-jdk/1.19/tyrus-standalone-client-jdk-1.19.pom [INFO] Installing /home/jenkins/agent/workspace/documentation-update-after-release/bundles/client-jdk/target/tyrus-standalone-client-jdk-1.19-javadoc.jar to /home/jenkins/.m2/repository/org/glassfish/tyrus/bundles/tyrus-standalone-client-jdk/1.19/tyrus-standalone-client-jdk-1.19-javadoc.jar [INFO] Installing /home/jenkins/agent/workspace/documentation-update-after-release/bundles/client-jdk/target/tyrus-standalone-client-jdk-1.19-sources.jar to /home/jenkins/.m2/repository/org/glassfish/tyrus/bundles/tyrus-standalone-client-jdk/1.19/tyrus-standalone-client-jdk-1.19-sources.jar [INFO] [INFO] ----------< org.glassfish.tyrus.bundles:websocket-ri-archive >---------- [INFO] Building Tyrus Websocket RI Archive 1.19 [64/65] [INFO] --------------------------------[ pom ]--------------------------------- [INFO] [INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ websocket-ri-archive --- [INFO] [INFO] --- maven-checkstyle-plugin:3.0.0:check (default) @ websocket-ri-archive --- [INFO] [INFO] --- maven-dependency-plugin:2.8:copy-dependencies (copy-dependencies) @ websocket-ri-archive --- [INFO] Copying tyrus-container-glassfish-cdi-1.19.jar to /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-archive/target/dependency/tyrus-container-glassfish-cdi-1.19.jar [INFO] Copying javax.inject-1.jar to /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-archive/target/dependency/javax.inject-1.jar [INFO] Copying tyrus-core-1.19.jar to /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-archive/target/dependency/tyrus-core-1.19.jar [INFO] Copying tyrus-server-1.19.jar to /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-archive/target/dependency/tyrus-server-1.19.jar [INFO] Copying grizzly-http-server-2.4.4.jar to /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-archive/target/dependency/grizzly-http-server-2.4.4.jar [INFO] Copying javax.websocket-api-1.1.jar to /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-archive/target/dependency/javax.websocket-api-1.1.jar [INFO] Copying grizzly-http-2.4.4.jar to /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-archive/target/dependency/grizzly-http-2.4.4.jar [INFO] Copying javax.interceptor-api-1.2.jar to /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-archive/target/dependency/javax.interceptor-api-1.2.jar [INFO] Copying javax.transaction-api-1.2.jar to /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-archive/target/dependency/javax.transaction-api-1.2.jar [INFO] Copying tyrus-client-1.19.jar to /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-archive/target/dependency/tyrus-client-1.19.jar [INFO] Copying cdi-api-1.2.jar to /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-archive/target/dependency/cdi-api-1.2.jar [INFO] Copying javax.el-api-3.0.0.jar to /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-archive/target/dependency/javax.el-api-3.0.0.jar [INFO] Copying jakarta.xml.bind-api-2.3.3.jar to /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-archive/target/dependency/jakarta.xml.bind-api-2.3.3.jar [INFO] Copying javax.ejb-api-3.2.jar to /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-archive/target/dependency/javax.ejb-api-3.2.jar [INFO] Copying grizzly-framework-2.4.4.jar to /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-archive/target/dependency/grizzly-framework-2.4.4.jar [INFO] Copying tyrus-spi-1.19.jar to /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-archive/target/dependency/tyrus-spi-1.19.jar [INFO] Copying tyrus-container-grizzly-client-1.19.jar to /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-archive/target/dependency/tyrus-container-grizzly-client-1.19.jar [INFO] Copying tyrus-container-servlet-1.19.jar to /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-archive/target/dependency/tyrus-container-servlet-1.19.jar [INFO] Copying jakarta.activation-api-1.2.2.jar to /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-archive/target/dependency/jakarta.activation-api-1.2.2.jar [INFO] Copying tyrus-container-glassfish-ejb-1.19.jar to /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-archive/target/dependency/tyrus-container-glassfish-ejb-1.19.jar [INFO] [INFO] --- maven-dependency-plugin:2.8:copy (copy) @ websocket-ri-archive --- [INFO] Configured Artifact: org.glassfish.tyrus:tyrus-client:1.19:jar [INFO] Configured Artifact: org.glassfish.tyrus:tyrus-server:1.19:jar [INFO] Configured Artifact: org.glassfish.tyrus:tyrus-core:1.19:jar [INFO] Configured Artifact: org.glassfish.tyrus:tyrus-container-glassfish-cdi:1.19:jar [INFO] Configured Artifact: org.glassfish.tyrus:tyrus-container-grizzly-client:1.19:jar [INFO] Configured Artifact: org.glassfish.tyrus:tyrus-container-servlet:1.19:jar [INFO] Configured Artifact: org.glassfish.tyrus:tyrus-spi:1.19:jar [INFO] Copying tyrus-client-1.19.jar to /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-archive/target/assembly/tyrus-client-1.19.jar [INFO] Copying tyrus-server-1.19.jar to /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-archive/target/assembly/tyrus-server-1.19.jar [INFO] Copying tyrus-core-1.19.jar to /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-archive/target/assembly/tyrus-core-1.19.jar [INFO] Copying tyrus-container-glassfish-cdi-1.19.jar to /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-archive/target/assembly/tyrus-container-glassfish-cdi-1.19.jar [INFO] Copying tyrus-container-grizzly-client-1.19.jar to /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-archive/target/assembly/tyrus-container-grizzly-client-1.19.jar [INFO] Copying tyrus-container-servlet-1.19.jar to /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-archive/target/assembly/tyrus-container-servlet-1.19.jar [INFO] Copying tyrus-spi-1.19.jar to /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-archive/target/assembly/tyrus-spi-1.19.jar [INFO] [INFO] --- maven-assembly-plugin:2.2-beta-5:attached (make-assembly) @ websocket-ri-archive --- [INFO] Reading assembly descriptor: src/main/assembly/archive.xml [INFO] Building zip: /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-archive/target/websocket-ri-archive-1.19.zip [INFO] Building tar : /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-archive/target/websocket-ri-archive-1.19.tar.gz [INFO] Building tar : /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-archive/target/websocket-ri-archive-1.19.tar.bz2 [INFO] [INFO] --- maven-source-plugin:2.2.1:jar-no-fork (attach-sources) @ websocket-ri-archive --- [INFO] [INFO] --- maven-install-plugin:2.4:install (default-install) @ websocket-ri-archive --- [INFO] Installing /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-archive/pom.xml to /home/jenkins/.m2/repository/org/glassfish/tyrus/bundles/websocket-ri-archive/1.19/websocket-ri-archive-1.19.pom [INFO] Installing /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-archive/target/websocket-ri-archive-1.19.zip to /home/jenkins/.m2/repository/org/glassfish/tyrus/bundles/websocket-ri-archive/1.19/websocket-ri-archive-1.19.zip [INFO] Installing /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-archive/target/websocket-ri-archive-1.19.tar.gz to /home/jenkins/.m2/repository/org/glassfish/tyrus/bundles/websocket-ri-archive/1.19/websocket-ri-archive-1.19.tar.gz [INFO] Installing /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-archive/target/websocket-ri-archive-1.19.tar.bz2 to /home/jenkins/.m2/repository/org/glassfish/tyrus/bundles/websocket-ri-archive/1.19/websocket-ri-archive-1.19.tar.bz2 [INFO] [INFO] ----------< org.glassfish.tyrus.bundles:websocket-ri-bundle >----------- [INFO] Building Tyrus Websocket RI Bundle 1.19 [65/65] [INFO] -------------------------------[ bundle ]------------------------------- [INFO] [INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ websocket-ri-bundle --- [INFO] [INFO] --- maven-checkstyle-plugin:3.0.0:check (default) @ websocket-ri-bundle --- [INFO] [INFO] --- build-helper-maven-plugin:1.8:parse-version (parse-version) @ websocket-ri-bundle --- [INFO] [INFO] --- build-helper-maven-plugin:1.8:add-source (default) @ websocket-ri-bundle --- [INFO] Source directory: /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/src/main/java added. [INFO] [INFO] --- maven-dependency-plugin:2.8:unpack (unpack) @ websocket-ri-bundle --- [INFO] Configured Artifact: javax.websocket:javax.websocket-api:sources:?:jar [INFO] Configured Artifact: org.glassfish.tyrus:tyrus-core:sources:1.19:jar [INFO] Configured Artifact: org.glassfish.tyrus:tyrus-client:sources:1.19:jar [INFO] Configured Artifact: org.glassfish.tyrus:tyrus-server:sources:1.19:jar [INFO] Configured Artifact: org.glassfish.tyrus:tyrus-container-glassfish-cdi:sources:1.19:jar [INFO] Configured Artifact: org.glassfish.tyrus:tyrus-container-glassfish-ejb:sources:1.19:jar [INFO] Configured Artifact: org.glassfish.tyrus:tyrus-container-grizzly-client:sources:1.19:jar [INFO] Configured Artifact: org.glassfish.tyrus:tyrus-container-grizzly-server:sources:1.19:jar [INFO] Configured Artifact: org.glassfish.tyrus:tyrus-container-servlet:sources:1.19:jar [INFO] Configured Artifact: org.glassfish.tyrus:tyrus-spi:sources:1.19:jar [INFO] Unpacking /home/jenkins/.m2/repository/javax/websocket/javax.websocket-api/1.1/javax.websocket-api-1.1-sources.jar to /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/src/main/java with includes "" and excludes "" [INFO] Unpacking /home/jenkins/agent/workspace/documentation-update-after-release/core/target/tyrus-core-1.19-sources.jar to /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/src/main/java with includes "" and excludes "" [INFO] Unpacking /home/jenkins/agent/workspace/documentation-update-after-release/client/target/tyrus-client-1.19-sources.jar to /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/src/main/java with includes "" and excludes "" [INFO] Unpacking /home/jenkins/agent/workspace/documentation-update-after-release/server/target/tyrus-server-1.19-sources.jar to /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/src/main/java with includes "" and excludes "" [INFO] Unpacking /home/jenkins/agent/workspace/documentation-update-after-release/containers/glassfish/cdi/target/tyrus-container-glassfish-cdi-1.19-sources.jar to /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/src/main/java with includes "" and excludes "META-INF/services/org.glassfish.tyrus.core.ComponentProvider" [INFO] Unpacking /home/jenkins/agent/workspace/documentation-update-after-release/containers/glassfish/ejb/target/tyrus-container-glassfish-ejb-1.19-sources.jar to /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/src/main/java with includes "" and excludes "META-INF/services/org.glassfish.tyrus.core.ComponentProvider" [INFO] Unpacking /home/jenkins/agent/workspace/documentation-update-after-release/containers/grizzly-client/target/tyrus-container-grizzly-client-1.19-sources.jar to /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/src/main/java with includes "" and excludes "" [INFO] Unpacking /home/jenkins/agent/workspace/documentation-update-after-release/containers/grizzly-server/target/tyrus-container-grizzly-server-1.19-sources.jar to /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/src/main/java with includes "" and excludes "" [INFO] Unpacking /home/jenkins/agent/workspace/documentation-update-after-release/containers/servlet/target/tyrus-container-servlet-1.19-sources.jar to /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/src/main/java with includes "" and excludes "" [INFO] Unpacking /home/jenkins/agent/workspace/documentation-update-after-release/spi/target/tyrus-spi-1.19-sources.jar to /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/src/main/java with includes "" and excludes "" [INFO] [INFO] --- maven-resources-plugin:3.2.0:resources (default-resources) @ websocket-ri-bundle --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] Using 'UTF-8' encoding to copy filtered properties files. [INFO] skip non existing resourceDirectory /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/src/main/resources [INFO] Copying 1 resource [INFO] Copying 7 resources [INFO] The encoding used to copy filtered properties files have not been set. This means that the same encoding will be used to copy filtered properties files as when copying other filtered resources. This might not be what you want! Run your build with --debug to see which files might be affected. Read more at https://maven.apache.org/plugins/maven-resources-plugin/examples/filtering-properties-files.html [INFO] [INFO] --- maven-compiler-plugin:3.1:compile (default-compile) @ websocket-ri-bundle --- [INFO] Changes detected - recompiling the module! [INFO] Compiling 205 source files to /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/classes [WARNING] /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/src/main/java/org/glassfish/tyrus/container/grizzly/server/GrizzlyServerFilter.java: Some input files use or override a deprecated API. [WARNING] /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/src/main/java/org/glassfish/tyrus/container/grizzly/server/GrizzlyServerFilter.java: Recompile with -Xlint:deprecation for details. [WARNING] /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/src/main/java/org/glassfish/tyrus/client/ClientManager.java: Some input files use unchecked or unsafe operations. [WARNING] /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/src/main/java/org/glassfish/tyrus/client/ClientManager.java: Recompile with -Xlint:unchecked for details. [INFO] [INFO] --- maven-resources-plugin:3.2.0:testResources (default-testResources) @ websocket-ri-bundle --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] Using 'UTF-8' encoding to copy filtered properties files. [INFO] skip non existing resourceDirectory /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/src/test/resources [INFO] [INFO] --- maven-compiler-plugin:3.1:testCompile (default-testCompile) @ websocket-ri-bundle --- [INFO] No sources to compile [INFO] [INFO] --- maven-surefire-plugin:2.17:test (default-test) @ websocket-ri-bundle --- [INFO] Tests are skipped. [INFO] [INFO] --- maven-bundle-plugin:2.4.0:bundle (default-bundle) @ websocket-ri-bundle --- [WARNING] Bundle org.glassfish.tyrus.bundles:websocket-ri-bundle:bundle:1.19 : Split package, multiple jars provide the same package:org/glassfish/tyrus/core/l10n Use Import/Export Package directive -split-package:=(merge-first|merge-last|error|first) to get rid of this warning Package found in [Jar:., Jar:tyrus-core] Class path [Jar:., Jar:javax.servlet-api, Jar:cdi-api, Jar:javax.el-api, Jar:javax.interceptor-api, Jar:javax.inject, Jar:javax.ejb-api, Jar:javax.transaction-api, Jar:grizzly-framework, Jar:grizzly-http-server, Jar:grizzly-http, Jar:tyrus-container-glassfish-ejb, Jar:tyrus-core, Jar:tyrus-spi, Jar:javax.websocket-api, Jar:jakarta.xml.bind-api, Jar:jakarta.activation-api, Jar:org.osgi.core] [WARNING] Bundle org.glassfish.tyrus.bundles:websocket-ri-bundle:bundle:1.19 : Split package, multiple jars provide the same package:org/glassfish/tyrus/core/wsadl/model Use Import/Export Package directive -split-package:=(merge-first|merge-last|error|first) to get rid of this warning Package found in [Jar:., Jar:tyrus-core] Class path [Jar:., Jar:javax.servlet-api, Jar:cdi-api, Jar:javax.el-api, Jar:javax.interceptor-api, Jar:javax.inject, Jar:javax.ejb-api, Jar:javax.transaction-api, Jar:grizzly-framework, Jar:grizzly-http-server, Jar:grizzly-http, Jar:tyrus-container-glassfish-ejb, Jar:tyrus-core, Jar:tyrus-spi, Jar:javax.websocket-api, Jar:jakarta.xml.bind-api, Jar:jakarta.activation-api, Jar:org.osgi.core] [WARNING] Bundle org.glassfish.tyrus.bundles:websocket-ri-bundle:bundle:1.19 : Split package, multiple jars provide the same package:org/glassfish/tyrus/core Use Import/Export Package directive -split-package:=(merge-first|merge-last|error|first) to get rid of this warning Package found in [Jar:., Jar:tyrus-core] Class path [Jar:., Jar:javax.servlet-api, Jar:cdi-api, Jar:javax.el-api, Jar:javax.interceptor-api, Jar:javax.inject, Jar:javax.ejb-api, Jar:javax.transaction-api, Jar:grizzly-framework, Jar:grizzly-http-server, Jar:grizzly-http, Jar:tyrus-container-glassfish-ejb, Jar:tyrus-core, Jar:tyrus-spi, Jar:javax.websocket-api, Jar:jakarta.xml.bind-api, Jar:jakarta.activation-api, Jar:org.osgi.core] [WARNING] Bundle org.glassfish.tyrus.bundles:websocket-ri-bundle:bundle:1.19 : Split package, multiple jars provide the same package:org/glassfish/tyrus/core/cluster Use Import/Export Package directive -split-package:=(merge-first|merge-last|error|first) to get rid of this warning Package found in [Jar:., Jar:tyrus-core] Class path [Jar:., Jar:javax.servlet-api, Jar:cdi-api, Jar:javax.el-api, Jar:javax.interceptor-api, Jar:javax.inject, Jar:javax.ejb-api, Jar:javax.transaction-api, Jar:grizzly-framework, Jar:grizzly-http-server, Jar:grizzly-http, Jar:tyrus-container-glassfish-ejb, Jar:tyrus-core, Jar:tyrus-spi, Jar:javax.websocket-api, Jar:jakarta.xml.bind-api, Jar:jakarta.activation-api, Jar:org.osgi.core] [WARNING] Bundle org.glassfish.tyrus.bundles:websocket-ri-bundle:bundle:1.19 : Split package, multiple jars provide the same package:org/glassfish/tyrus/core/coder Use Import/Export Package directive -split-package:=(merge-first|merge-last|error|first) to get rid of this warning Package found in [Jar:., Jar:tyrus-core] Class path [Jar:., Jar:javax.servlet-api, Jar:cdi-api, Jar:javax.el-api, Jar:javax.interceptor-api, Jar:javax.inject, Jar:javax.ejb-api, Jar:javax.transaction-api, Jar:grizzly-framework, Jar:grizzly-http-server, Jar:grizzly-http, Jar:tyrus-container-glassfish-ejb, Jar:tyrus-core, Jar:tyrus-spi, Jar:javax.websocket-api, Jar:jakarta.xml.bind-api, Jar:jakarta.activation-api, Jar:org.osgi.core] [WARNING] Bundle org.glassfish.tyrus.bundles:websocket-ri-bundle:bundle:1.19 : Split package, multiple jars provide the same package:org/glassfish/tyrus/core/frame Use Import/Export Package directive -split-package:=(merge-first|merge-last|error|first) to get rid of this warning Package found in [Jar:., Jar:tyrus-core] Class path [Jar:., Jar:javax.servlet-api, Jar:cdi-api, Jar:javax.el-api, Jar:javax.interceptor-api, Jar:javax.inject, Jar:javax.ejb-api, Jar:javax.transaction-api, Jar:grizzly-framework, Jar:grizzly-http-server, Jar:grizzly-http, Jar:tyrus-container-glassfish-ejb, Jar:tyrus-core, Jar:tyrus-spi, Jar:javax.websocket-api, Jar:jakarta.xml.bind-api, Jar:jakarta.activation-api, Jar:org.osgi.core] [WARNING] Bundle org.glassfish.tyrus.bundles:websocket-ri-bundle:bundle:1.19 : Split package, multiple jars provide the same package:org/glassfish/tyrus/core/monitoring Use Import/Export Package directive -split-package:=(merge-first|merge-last|error|first) to get rid of this warning Package found in [Jar:., Jar:tyrus-core] Class path [Jar:., Jar:javax.servlet-api, Jar:cdi-api, Jar:javax.el-api, Jar:javax.interceptor-api, Jar:javax.inject, Jar:javax.ejb-api, Jar:javax.transaction-api, Jar:grizzly-framework, Jar:grizzly-http-server, Jar:grizzly-http, Jar:tyrus-container-glassfish-ejb, Jar:tyrus-core, Jar:tyrus-spi, Jar:javax.websocket-api, Jar:jakarta.xml.bind-api, Jar:jakarta.activation-api, Jar:org.osgi.core] [WARNING] Bundle org.glassfish.tyrus.bundles:websocket-ri-bundle:bundle:1.19 : Split package, multiple jars provide the same package:org/glassfish/tyrus/core/extension Use Import/Export Package directive -split-package:=(merge-first|merge-last|error|first) to get rid of this warning Package found in [Jar:., Jar:tyrus-core] Class path [Jar:., Jar:javax.servlet-api, Jar:cdi-api, Jar:javax.el-api, Jar:javax.interceptor-api, Jar:javax.inject, Jar:javax.ejb-api, Jar:javax.transaction-api, Jar:grizzly-framework, Jar:grizzly-http-server, Jar:grizzly-http, Jar:tyrus-container-glassfish-ejb, Jar:tyrus-core, Jar:tyrus-spi, Jar:javax.websocket-api, Jar:jakarta.xml.bind-api, Jar:jakarta.activation-api, Jar:org.osgi.core] [WARNING] Bundle org.glassfish.tyrus.bundles:websocket-ri-bundle:bundle:1.19 : Split package, multiple jars provide the same package:org/glassfish/tyrus/core/uri/internal Use Import/Export Package directive -split-package:=(merge-first|merge-last|error|first) to get rid of this warning Package found in [Jar:., Jar:tyrus-core] Class path [Jar:., Jar:javax.servlet-api, Jar:cdi-api, Jar:javax.el-api, Jar:javax.interceptor-api, Jar:javax.inject, Jar:javax.ejb-api, Jar:javax.transaction-api, Jar:grizzly-framework, Jar:grizzly-http-server, Jar:grizzly-http, Jar:tyrus-container-glassfish-ejb, Jar:tyrus-core, Jar:tyrus-spi, Jar:javax.websocket-api, Jar:jakarta.xml.bind-api, Jar:jakarta.activation-api, Jar:org.osgi.core] [WARNING] Bundle org.glassfish.tyrus.bundles:websocket-ri-bundle:bundle:1.19 : Split package, multiple jars provide the same package:org/glassfish/tyrus/core/uri Use Import/Export Package directive -split-package:=(merge-first|merge-last|error|first) to get rid of this warning Package found in [Jar:., Jar:tyrus-core] Class path [Jar:., Jar:javax.servlet-api, Jar:cdi-api, Jar:javax.el-api, Jar:javax.interceptor-api, Jar:javax.inject, Jar:javax.ejb-api, Jar:javax.transaction-api, Jar:grizzly-framework, Jar:grizzly-http-server, Jar:grizzly-http, Jar:tyrus-container-glassfish-ejb, Jar:tyrus-core, Jar:tyrus-spi, Jar:javax.websocket-api, Jar:jakarta.xml.bind-api, Jar:jakarta.activation-api, Jar:org.osgi.core] [WARNING] Bundle org.glassfish.tyrus.bundles:websocket-ri-bundle:bundle:1.19 : Split package, multiple jars provide the same package:org/glassfish/tyrus/core/collection Use Import/Export Package directive -split-package:=(merge-first|merge-last|error|first) to get rid of this warning Package found in [Jar:., Jar:tyrus-core] Class path [Jar:., Jar:javax.servlet-api, Jar:cdi-api, Jar:javax.el-api, Jar:javax.interceptor-api, Jar:javax.inject, Jar:javax.ejb-api, Jar:javax.transaction-api, Jar:grizzly-framework, Jar:grizzly-http-server, Jar:grizzly-http, Jar:tyrus-container-glassfish-ejb, Jar:tyrus-core, Jar:tyrus-spi, Jar:javax.websocket-api, Jar:jakarta.xml.bind-api, Jar:jakarta.activation-api, Jar:org.osgi.core] [WARNING] Bundle org.glassfish.tyrus.bundles:websocket-ri-bundle:bundle:1.19 : Split package, multiple jars provide the same package:org/glassfish/tyrus/gf/ejb Use Import/Export Package directive -split-package:=(merge-first|merge-last|error|first) to get rid of this warning Package found in [Jar:., Jar:tyrus-container-glassfish-ejb] Class path [Jar:., Jar:javax.servlet-api, Jar:cdi-api, Jar:javax.el-api, Jar:javax.interceptor-api, Jar:javax.inject, Jar:javax.ejb-api, Jar:javax.transaction-api, Jar:grizzly-framework, Jar:grizzly-http-server, Jar:grizzly-http, Jar:tyrus-container-glassfish-ejb, Jar:tyrus-core, Jar:tyrus-spi, Jar:javax.websocket-api, Jar:jakarta.xml.bind-api, Jar:jakarta.activation-api, Jar:org.osgi.core] [WARNING] Bundle org.glassfish.tyrus.bundles:websocket-ri-bundle:bundle:1.19 : Split package, multiple jars provide the same package:org/glassfish/tyrus/spi Use Import/Export Package directive -split-package:=(merge-first|merge-last|error|first) to get rid of this warning Package found in [Jar:., Jar:tyrus-spi] Class path [Jar:., Jar:javax.servlet-api, Jar:cdi-api, Jar:javax.el-api, Jar:javax.interceptor-api, Jar:javax.inject, Jar:javax.ejb-api, Jar:javax.transaction-api, Jar:grizzly-framework, Jar:grizzly-http-server, Jar:grizzly-http, Jar:tyrus-container-glassfish-ejb, Jar:tyrus-core, Jar:tyrus-spi, Jar:javax.websocket-api, Jar:jakarta.xml.bind-api, Jar:jakarta.activation-api, Jar:org.osgi.core] [WARNING] Bundle org.glassfish.tyrus.bundles:websocket-ri-bundle:bundle:1.19 : Split package, multiple jars provide the same package:javax/websocket Use Import/Export Package directive -split-package:=(merge-first|merge-last|error|first) to get rid of this warning Package found in [Jar:., Jar:javax.websocket-api] Class path [Jar:., Jar:javax.servlet-api, Jar:cdi-api, Jar:javax.el-api, Jar:javax.interceptor-api, Jar:javax.inject, Jar:javax.ejb-api, Jar:javax.transaction-api, Jar:grizzly-framework, Jar:grizzly-http-server, Jar:grizzly-http, Jar:tyrus-container-glassfish-ejb, Jar:tyrus-core, Jar:tyrus-spi, Jar:javax.websocket-api, Jar:jakarta.xml.bind-api, Jar:jakarta.activation-api, Jar:org.osgi.core] [WARNING] Bundle org.glassfish.tyrus.bundles:websocket-ri-bundle:bundle:1.19 : Split package, multiple jars provide the same package:javax/websocket/server Use Import/Export Package directive -split-package:=(merge-first|merge-last|error|first) to get rid of this warning Package found in [Jar:., Jar:javax.websocket-api] Class path [Jar:., Jar:javax.servlet-api, Jar:cdi-api, Jar:javax.el-api, Jar:javax.interceptor-api, Jar:javax.inject, Jar:javax.ejb-api, Jar:javax.transaction-api, Jar:grizzly-framework, Jar:grizzly-http-server, Jar:grizzly-http, Jar:tyrus-container-glassfish-ejb, Jar:tyrus-core, Jar:tyrus-spi, Jar:javax.websocket-api, Jar:jakarta.xml.bind-api, Jar:jakarta.activation-api, Jar:org.osgi.core] [INFO] [INFO] --- maven-javadoc-plugin:3.0.1:jar (attach-javadocs) @ websocket-ri-bundle --- [INFO] Loading source files for package javax.websocket... Loading source files for package javax.websocket.server... Loading source files for package org.glassfish.tyrus.core.l10n... Loading source files for package org.glassfish.tyrus.core.wsadl.model... Loading source files for package org.glassfish.tyrus.core.uri... Loading source files for package org.glassfish.tyrus.core.uri.internal... Loading source files for package org.glassfish.tyrus.core... Loading source files for package org.glassfish.tyrus.core.monitoring... Loading source files for package org.glassfish.tyrus.core.frame... Loading source files for package org.glassfish.tyrus.core.extension... Loading source files for package org.glassfish.tyrus.core.collection... Loading source files for package org.glassfish.tyrus.core.coder... Loading source files for package org.glassfish.tyrus.core.cluster... Loading source files for package org.glassfish.tyrus.client... Loading source files for package org.glassfish.tyrus.client.auth... Loading source files for package org.glassfish.tyrus.server... Loading source files for package org.glassfish.tyrus.gf.cdi... Loading source files for package org.glassfish.tyrus.gf.ejb... Loading source files for package org.glassfish.tyrus.container.grizzly.client... Loading source files for package org.glassfish.tyrus.container.grizzly.server... Loading source files for package org.glassfish.tyrus.servlet... Loading source files for package org.glassfish.tyrus.spi... Constructing Javadoc information... Standard Doclet version 11.0.2 Building tree for all the packages and classes... Generating /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/apidocs/javax/websocket/ClientEndpoint.html... Generating /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/apidocs/javax/websocket/ClientEndpointConfig.html... Generating /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/apidocs/javax/websocket/ClientEndpointConfig.Builder.html... Generating /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/apidocs/javax/websocket/ClientEndpointConfig.Configurator.html... Generating /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/apidocs/javax/websocket/CloseReason.html... Generating /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/apidocs/javax/websocket/CloseReason.CloseCode.html... Generating /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/apidocs/javax/websocket/CloseReason.CloseCodes.html... Generating /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/apidocs/javax/websocket/ContainerProvider.html... Generating /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/apidocs/javax/websocket/DecodeException.html... Generating /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/apidocs/javax/websocket/Decoder.html... Generating /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/apidocs/javax/websocket/Decoder.Binary.html... Generating /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/apidocs/javax/websocket/Decoder.BinaryStream.html... Generating /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/apidocs/javax/websocket/Decoder.Text.html... Generating /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/apidocs/javax/websocket/Decoder.TextStream.html... Generating /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/apidocs/javax/websocket/DeploymentException.html... Generating /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/apidocs/javax/websocket/EncodeException.html... Generating /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/apidocs/javax/websocket/Encoder.html... Generating /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/apidocs/javax/websocket/Encoder.Binary.html... Generating /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/apidocs/javax/websocket/Encoder.BinaryStream.html... Generating /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/apidocs/javax/websocket/Encoder.Text.html... Generating /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/apidocs/javax/websocket/Encoder.TextStream.html... Generating /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/apidocs/javax/websocket/Endpoint.html... Generating /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/apidocs/javax/websocket/EndpointConfig.html... Generating /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/apidocs/javax/websocket/Extension.html... Generating /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/apidocs/javax/websocket/Extension.Parameter.html... Generating /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/apidocs/javax/websocket/HandshakeResponse.html... Generating /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/apidocs/javax/websocket/MessageHandler.html... Generating /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/apidocs/javax/websocket/MessageHandler.Partial.html... Generating /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/apidocs/javax/websocket/MessageHandler.Whole.html... Generating /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/apidocs/javax/websocket/OnClose.html... Generating /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/apidocs/javax/websocket/OnError.html... Generating /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/apidocs/javax/websocket/OnMessage.html... Generating /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/apidocs/javax/websocket/OnOpen.html... Generating /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/apidocs/javax/websocket/PongMessage.html... Generating /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/apidocs/javax/websocket/RemoteEndpoint.html... Generating /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/apidocs/javax/websocket/RemoteEndpoint.Async.html... Generating /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/apidocs/javax/websocket/RemoteEndpoint.Basic.html... Generating /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/apidocs/javax/websocket/SendHandler.html... Generating /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/apidocs/javax/websocket/SendResult.html... Generating /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/apidocs/javax/websocket/Session.html... Generating /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/apidocs/javax/websocket/SessionException.html... Generating /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/apidocs/javax/websocket/WebSocketContainer.html... Generating /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/apidocs/javax/websocket/server/HandshakeRequest.html... Generating /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/apidocs/javax/websocket/server/PathParam.html... Generating /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/apidocs/javax/websocket/server/ServerApplicationConfig.html... Generating /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/apidocs/javax/websocket/server/ServerContainer.html... Generating /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/apidocs/javax/websocket/server/ServerEndpoint.html... Generating /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/apidocs/javax/websocket/server/ServerEndpointConfig.html... Generating /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/apidocs/javax/websocket/server/ServerEndpointConfig.Builder.html... Generating /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/apidocs/javax/websocket/server/ServerEndpointConfig.Configurator.html... Generating /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/apidocs/org/glassfish/tyrus/client/ClientManager.html... Generating /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/apidocs/org/glassfish/tyrus/client/ClientManager.ReconnectHandler.html... Generating /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/apidocs/org/glassfish/tyrus/client/ClientProperties.html... Generating /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/apidocs/org/glassfish/tyrus/client/RedirectException.html... Generating /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/apidocs/org/glassfish/tyrus/client/RetryAfterException.html... Generating /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/apidocs/org/glassfish/tyrus/client/SslContextConfigurator.html... Generating /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/apidocs/org/glassfish/tyrus/client/SslEngineConfigurator.html... Generating /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/apidocs/org/glassfish/tyrus/client/ThreadPoolConfig.html... Generating /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/apidocs/org/glassfish/tyrus/client/TyrusClientEngine.html... Generating /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/apidocs/org/glassfish/tyrus/client/TyrusClientEngine.ClientHandshakeListener.html... Generating /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/apidocs/org/glassfish/tyrus/client/auth/AuthConfig.html... Generating /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/apidocs/org/glassfish/tyrus/client/auth/AuthConfig.Builder.html... Generating /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/apidocs/org/glassfish/tyrus/client/auth/AuthenticationException.html... Generating /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/apidocs/org/glassfish/tyrus/client/auth/Authenticator.html... Generating /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/apidocs/org/glassfish/tyrus/client/auth/Credentials.html... Generating /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/apidocs/org/glassfish/tyrus/container/grizzly/client/GrizzlyClientContainer.html... Generating /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/apidocs/org/glassfish/tyrus/container/grizzly/client/GrizzlyClientProperties.html... Generating /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/apidocs/org/glassfish/tyrus/container/grizzly/client/GrizzlyClientSocket.html... Generating /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/apidocs/org/glassfish/tyrus/container/grizzly/client/GrizzlyContainerProvider.html... Generating /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/apidocs/org/glassfish/tyrus/container/grizzly/client/GrizzlyWriter.html... Generating /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/apidocs/org/glassfish/tyrus/container/grizzly/client/TaskProcessor.html... Generating /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/apidocs/org/glassfish/tyrus/container/grizzly/client/TaskProcessor.Condition.html... Generating /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/apidocs/org/glassfish/tyrus/container/grizzly/client/TaskProcessor.Task.html... Generating /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/apidocs/org/glassfish/tyrus/container/grizzly/server/GrizzlyServerContainer.html... Generating /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/apidocs/org/glassfish/tyrus/container/grizzly/server/WebSocketAddOn.html... Generating /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/apidocs/org/glassfish/tyrus/core/AnnotatedEndpoint.html... Generating /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/apidocs/org/glassfish/tyrus/core/BaseContainer.html... Generating /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/apidocs/org/glassfish/tyrus/core/BaseContainer.ShutDownCondition.html... Generating /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/apidocs/org/glassfish/tyrus/core/Beta.html... Generating /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/apidocs/org/glassfish/tyrus/core/CloseReasons.html... Generating /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/apidocs/org/glassfish/tyrus/core/ComponentProvider.html... Generating /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/apidocs/org/glassfish/tyrus/core/ComponentProviderService.html... Generating /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/apidocs/org/glassfish/tyrus/core/DebugContext.html... Generating /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/apidocs/org/glassfish/tyrus/core/DebugContext.TracingThreshold.html... Generating /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/apidocs/org/glassfish/tyrus/core/DebugContext.TracingType.html... Generating /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/apidocs/org/glassfish/tyrus/core/DebugContext.Type.html... Generating /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/apidocs/org/glassfish/tyrus/core/DefaultComponentProvider.html... Generating /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/apidocs/org/glassfish/tyrus/core/ErrorCollector.html... Generating /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/apidocs/org/glassfish/tyrus/core/ExecutorServiceProvider.html... Generating /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/apidocs/org/glassfish/tyrus/core/Handshake.html... Generating /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/apidocs/org/glassfish/tyrus/core/HandshakeException.html... Generating /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/apidocs/org/glassfish/tyrus/core/MaskingKeyGenerator.html... Generating /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/apidocs/org/glassfish/tyrus/core/MaxSessions.html... Generating /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/apidocs/org/glassfish/tyrus/core/MessageHandlerManager.html... Generating /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/apidocs/org/glassfish/tyrus/core/OsgiRegistry.html... Generating /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/apidocs/org/glassfish/tyrus/core/ProtocolException.html... Generating /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/apidocs/org/glassfish/tyrus/core/ProtocolHandler.html... Generating /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/apidocs/org/glassfish/tyrus/core/ReflectionHelper.html... Generating /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/apidocs/org/glassfish/tyrus/core/ReflectionHelper.ClassTypePair.html... Generating /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/apidocs/org/glassfish/tyrus/core/ReflectionHelper.DeclaringClassInterfacePair.html... Generating /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/apidocs/org/glassfish/tyrus/core/ReflectionHelper.TypeClassPair.html... Generating /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/apidocs/org/glassfish/tyrus/core/RequestContext.html... Generating /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/apidocs/org/glassfish/tyrus/core/RequestContext.Builder.html... Generating /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/apidocs/org/glassfish/tyrus/core/RequestContext.Builder.IsUserInRoleDelegate.html... Generating /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/apidocs/org/glassfish/tyrus/core/ServiceConfigurationError.html... Generating /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/apidocs/org/glassfish/tyrus/core/ServiceFinder.html... Generating /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/apidocs/org/glassfish/tyrus/core/ServiceFinder.DefaultServiceIteratorProvider.html... Generating /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/apidocs/org/glassfish/tyrus/core/ServiceFinder.ServiceIteratorProvider.html... Generating /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/apidocs/org/glassfish/tyrus/core/StrictUtf8.html... Generating /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/apidocs/org/glassfish/tyrus/core/StrictUtf8.Parser.html... Generating /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/apidocs/org/glassfish/tyrus/core/TyrusEndpointWrapper.html... Generating /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/apidocs/org/glassfish/tyrus/core/TyrusEndpointWrapper.SessionListener.html... Generating /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/apidocs/org/glassfish/tyrus/core/TyrusEndpointWrapper.SessionListener.OnOpenResult.html... Generating /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/apidocs/org/glassfish/tyrus/core/TyrusExtension.html... Generating /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/apidocs/org/glassfish/tyrus/core/TyrusExtension.TyrusParameter.html... Generating /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/apidocs/org/glassfish/tyrus/core/TyrusFuture.html... Generating /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/apidocs/org/glassfish/tyrus/core/TyrusRemoteEndpoint.html... Generating /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/apidocs/org/glassfish/tyrus/core/TyrusServerEndpointConfig.html... Generating /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/apidocs/org/glassfish/tyrus/core/TyrusServerEndpointConfig.Builder.html... Generating /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/apidocs/org/glassfish/tyrus/core/TyrusServerEndpointConfigurator.html... Generating /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/apidocs/org/glassfish/tyrus/core/TyrusSession.html... Generating /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/apidocs/org/glassfish/tyrus/core/TyrusUpgradeResponse.html... Generating /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/apidocs/org/glassfish/tyrus/core/TyrusWebSocket.html... Generating /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/apidocs/org/glassfish/tyrus/core/TyrusWebSocketEngine.html... Generating /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/apidocs/org/glassfish/tyrus/core/TyrusWebSocketEngine.TyrusWebSocketEngineBuilder.html... Generating /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/apidocs/org/glassfish/tyrus/core/Utf8DecodingException.html... Generating /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/apidocs/org/glassfish/tyrus/core/Utils.html... Generating /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/apidocs/org/glassfish/tyrus/core/Utils.Stringifier.html... Generating /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/apidocs/org/glassfish/tyrus/core/Version.html... Generating /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/apidocs/org/glassfish/tyrus/core/WebSocketException.html... Generating /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/apidocs/org/glassfish/tyrus/core/cluster/BroadcastListener.html... Generating /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/apidocs/org/glassfish/tyrus/core/cluster/ClusterContext.html... Generating /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/apidocs/org/glassfish/tyrus/core/cluster/DistributedSession.html... Generating /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/apidocs/org/glassfish/tyrus/core/cluster/RemoteSession.html... Generating /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/apidocs/org/glassfish/tyrus/core/cluster/RemoteSession.DistributedMapKey.html... Generating /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/apidocs/org/glassfish/tyrus/core/cluster/SessionEventListener.html... Generating /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/apidocs/org/glassfish/tyrus/core/cluster/SessionListener.html... Generating /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/apidocs/org/glassfish/tyrus/core/coder/CoderAdapter.html... Generating /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/apidocs/org/glassfish/tyrus/core/coder/CoderWrapper.html... Generating /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/apidocs/org/glassfish/tyrus/core/coder/InputStreamDecoder.html... Generating /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/apidocs/org/glassfish/tyrus/core/coder/NoOpByteArrayCoder.html... Generating /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/apidocs/org/glassfish/tyrus/core/coder/NoOpByteBufferCoder.html... Generating /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/apidocs/org/glassfish/tyrus/core/coder/NoOpTextCoder.html... Generating /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/apidocs/org/glassfish/tyrus/core/coder/PrimitiveDecoders.html... Generating /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/apidocs/org/glassfish/tyrus/core/coder/PrimitiveDecoders.BooleanDecoder.html... Generating /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/apidocs/org/glassfish/tyrus/core/coder/PrimitiveDecoders.ByteDecoder.html... Generating /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/apidocs/org/glassfish/tyrus/core/coder/PrimitiveDecoders.CharacterDecoder.html... Generating /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/apidocs/org/glassfish/tyrus/core/coder/PrimitiveDecoders.DoubleDecoder.html... Generating /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/apidocs/org/glassfish/tyrus/core/coder/PrimitiveDecoders.FloatDecoder.html... Generating /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/apidocs/org/glassfish/tyrus/core/coder/PrimitiveDecoders.IntegerDecoder.html... Generating /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/apidocs/org/glassfish/tyrus/core/coder/PrimitiveDecoders.LongDecoder.html... Generating /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/apidocs/org/glassfish/tyrus/core/coder/PrimitiveDecoders.ShortDecoder.html... Generating /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/apidocs/org/glassfish/tyrus/core/coder/ReaderDecoder.html... Generating /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/apidocs/org/glassfish/tyrus/core/coder/ToStringEncoder.html... Generating /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/apidocs/org/glassfish/tyrus/core/collection/LazyValue.html... Generating /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/apidocs/org/glassfish/tyrus/core/collection/Value.html... Generating /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/apidocs/org/glassfish/tyrus/core/collection/Values.html... Generating /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/apidocs/org/glassfish/tyrus/core/extension/ExtendedExtension.html... Generating /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/apidocs/org/glassfish/tyrus/core/extension/ExtendedExtension.ExtensionContext.html... Generating /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/apidocs/org/glassfish/tyrus/core/frame/BinaryFrame.html... Generating /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/apidocs/org/glassfish/tyrus/core/frame/CloseFrame.html... Generating /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/apidocs/org/glassfish/tyrus/core/frame/Frame.html... Generating /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/apidocs/org/glassfish/tyrus/core/frame/Frame.Builder.html... Generating /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/apidocs/org/glassfish/tyrus/core/frame/PingFrame.html... Generating /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/apidocs/org/glassfish/tyrus/core/frame/PongFrame.html... Generating /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/apidocs/org/glassfish/tyrus/core/frame/TextFrame.html... Generating /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/apidocs/org/glassfish/tyrus/core/frame/TyrusFrame.html... Generating /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/apidocs/org/glassfish/tyrus/core/frame/TyrusFrame.FrameType.html... Generating /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/apidocs/org/glassfish/tyrus/core/l10n/Localizable.html... Generating /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/apidocs/org/glassfish/tyrus/core/l10n/LocalizableMessage.html... Generating /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/apidocs/org/glassfish/tyrus/core/l10n/LocalizableMessageFactory.html... Generating /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/apidocs/org/glassfish/tyrus/core/l10n/LocalizationMessages.html... Generating /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/apidocs/org/glassfish/tyrus/core/l10n/Localizer.html... Generating /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/apidocs/org/glassfish/tyrus/core/monitoring/ApplicationEventListener.html... Generating /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/apidocs/org/glassfish/tyrus/core/monitoring/EndpointEventListener.html... Generating /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/apidocs/org/glassfish/tyrus/core/monitoring/MessageEventListener.html... Generating /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/apidocs/org/glassfish/tyrus/core/uri/Match.html... Generating /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/apidocs/org/glassfish/tyrus/core/uri/internal/AbstractMultivaluedMap.html... Generating /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/apidocs/org/glassfish/tyrus/core/uri/internal/MultivaluedHashMap.html... Generating /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/apidocs/org/glassfish/tyrus/core/uri/internal/MultivaluedMap.html... Generating /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/apidocs/org/glassfish/tyrus/core/uri/internal/MultivaluedStringMap.html... Generating /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/apidocs/org/glassfish/tyrus/core/uri/internal/PathPattern.html... Generating /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/apidocs/org/glassfish/tyrus/core/uri/internal/PathPattern.RightHandPath.html... Generating /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/apidocs/org/glassfish/tyrus/core/uri/internal/PathSegment.html... Generating /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/apidocs/org/glassfish/tyrus/core/uri/internal/PathTemplate.html... Generating /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/apidocs/org/glassfish/tyrus/core/uri/internal/PatternWithGroups.html... Generating /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/apidocs/org/glassfish/tyrus/core/uri/internal/UriComponent.html... Generating /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/apidocs/org/glassfish/tyrus/core/uri/internal/UriComponent.Type.html... Generating /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/apidocs/org/glassfish/tyrus/core/uri/internal/UriTemplate.html... Generating /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/apidocs/org/glassfish/tyrus/core/uri/internal/UriTemplateParser.html... Generating /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/apidocs/org/glassfish/tyrus/core/wsadl/model/Application.html... Generating /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/apidocs/org/glassfish/tyrus/core/wsadl/model/Endpoint.html... Generating /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/apidocs/org/glassfish/tyrus/core/wsadl/model/ObjectFactory.html... Generating /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/apidocs/org/glassfish/tyrus/gf/cdi/CdiComponentProvider.html... Generating /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/apidocs/org/glassfish/tyrus/gf/ejb/EjbComponentProvider.html... Generating /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/apidocs/org/glassfish/tyrus/server/Server.html... Generating /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/apidocs/org/glassfish/tyrus/server/TyrusServerConfiguration.html... Generating /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/apidocs/org/glassfish/tyrus/server/TyrusServerContainer.html... Generating /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/apidocs/org/glassfish/tyrus/servlet/TyrusHttpUpgradeHandler.html... Generating /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/apidocs/org/glassfish/tyrus/servlet/TyrusServletContainerInitializer.html... Generating /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/apidocs/org/glassfish/tyrus/spi/ClientContainer.html... Generating /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/apidocs/org/glassfish/tyrus/spi/ClientEngine.html... Generating /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/apidocs/org/glassfish/tyrus/spi/ClientEngine.ClientUpgradeInfo.html... Generating /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/apidocs/org/glassfish/tyrus/spi/ClientEngine.ClientUpgradeStatus.html... Generating /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/apidocs/org/glassfish/tyrus/spi/ClientEngine.TimeoutHandler.html... Generating /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/apidocs/org/glassfish/tyrus/spi/CompletionHandler.html... Generating /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/apidocs/org/glassfish/tyrus/spi/Connection.html... Generating /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/apidocs/org/glassfish/tyrus/spi/Connection.CloseListener.html... Generating /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/apidocs/org/glassfish/tyrus/spi/ReadHandler.html... Generating /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/apidocs/org/glassfish/tyrus/spi/ServerContainer.html... Generating /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/apidocs/org/glassfish/tyrus/spi/ServerContainerFactory.html... Generating /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/apidocs/org/glassfish/tyrus/spi/UpgradeRequest.html... Generating /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/apidocs/org/glassfish/tyrus/spi/UpgradeResponse.html... Generating /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/apidocs/org/glassfish/tyrus/spi/WebSocketEngine.html... Generating /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/apidocs/org/glassfish/tyrus/spi/WebSocketEngine.UpgradeInfo.html... Generating /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/apidocs/org/glassfish/tyrus/spi/WebSocketEngine.UpgradeStatus.html... Generating /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/apidocs/org/glassfish/tyrus/spi/Writer.html... Generating /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/apidocs/org/glassfish/tyrus/spi/WriterInfo.html... Generating /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/apidocs/org/glassfish/tyrus/spi/WriterInfo.MessageType.html... Generating /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/apidocs/org/glassfish/tyrus/spi/WriterInfo.RemoteEndpointType.html... Generating /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/apidocs/javax/websocket/package-summary.html... Generating /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/apidocs/javax/websocket/package-tree.html... Generating /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/apidocs/javax/websocket/server/package-summary.html... Generating /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/apidocs/javax/websocket/server/package-tree.html... Generating /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/apidocs/org/glassfish/tyrus/client/package-summary.html... Generating /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/apidocs/org/glassfish/tyrus/client/package-tree.html... Generating /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/apidocs/org/glassfish/tyrus/client/auth/package-summary.html... Generating /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/apidocs/org/glassfish/tyrus/client/auth/package-tree.html... Generating /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/apidocs/org/glassfish/tyrus/container/grizzly/client/package-summary.html... Generating /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/apidocs/org/glassfish/tyrus/container/grizzly/client/package-tree.html... Generating /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/apidocs/org/glassfish/tyrus/container/grizzly/server/package-summary.html... Generating /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/apidocs/org/glassfish/tyrus/container/grizzly/server/package-tree.html... Generating /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/apidocs/org/glassfish/tyrus/core/package-summary.html... Generating /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/apidocs/org/glassfish/tyrus/core/package-tree.html... Generating /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/apidocs/org/glassfish/tyrus/core/cluster/package-summary.html... Generating /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/apidocs/org/glassfish/tyrus/core/cluster/package-tree.html... Generating /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/apidocs/org/glassfish/tyrus/core/coder/package-summary.html... Generating /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/apidocs/org/glassfish/tyrus/core/coder/package-tree.html... Generating /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/apidocs/org/glassfish/tyrus/core/collection/package-summary.html... Generating /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/apidocs/org/glassfish/tyrus/core/collection/package-tree.html... Generating /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/apidocs/org/glassfish/tyrus/core/extension/package-summary.html... Generating /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/apidocs/org/glassfish/tyrus/core/extension/package-tree.html... Generating /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/apidocs/org/glassfish/tyrus/core/frame/package-summary.html... Generating /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/apidocs/org/glassfish/tyrus/core/frame/package-tree.html... Generating /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/apidocs/org/glassfish/tyrus/core/l10n/package-summary.html... Generating /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/apidocs/org/glassfish/tyrus/core/l10n/package-tree.html... Generating /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/apidocs/org/glassfish/tyrus/core/monitoring/package-summary.html... Generating /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/apidocs/org/glassfish/tyrus/core/monitoring/package-tree.html... Generating /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/apidocs/org/glassfish/tyrus/core/uri/package-summary.html... Generating /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/apidocs/org/glassfish/tyrus/core/uri/package-tree.html... Generating /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/apidocs/org/glassfish/tyrus/core/uri/internal/package-summary.html... Generating /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/apidocs/org/glassfish/tyrus/core/uri/internal/package-tree.html... Generating /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/apidocs/org/glassfish/tyrus/core/wsadl/model/package-summary.html... Generating /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/apidocs/org/glassfish/tyrus/core/wsadl/model/package-tree.html... Generating /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/apidocs/org/glassfish/tyrus/gf/cdi/package-summary.html... Generating /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/apidocs/org/glassfish/tyrus/gf/cdi/package-tree.html... Generating /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/apidocs/org/glassfish/tyrus/gf/ejb/package-summary.html... Generating /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/apidocs/org/glassfish/tyrus/gf/ejb/package-tree.html... Generating /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/apidocs/org/glassfish/tyrus/server/package-summary.html... Generating /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/apidocs/org/glassfish/tyrus/server/package-tree.html... Generating /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/apidocs/org/glassfish/tyrus/servlet/package-summary.html... Generating /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/apidocs/org/glassfish/tyrus/servlet/package-tree.html... Generating /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/apidocs/org/glassfish/tyrus/spi/package-summary.html... Generating /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/apidocs/org/glassfish/tyrus/spi/package-tree.html... Generating /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/apidocs/constant-values.html... Generating /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/apidocs/serialized-form.html... Generating /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/apidocs/javax/websocket/class-use/WebSocketContainer.html... Generating /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/apidocs/javax/websocket/class-use/SessionException.html... Generating /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/apidocs/javax/websocket/class-use/Session.html... Generating /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/apidocs/javax/websocket/class-use/SendResult.html... Generating /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/apidocs/javax/websocket/class-use/SendHandler.html... Generating /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/apidocs/javax/websocket/class-use/RemoteEndpoint.html... Generating /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/apidocs/javax/websocket/class-use/RemoteEndpoint.Basic.html... Generating /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/apidocs/javax/websocket/class-use/RemoteEndpoint.Async.html... Generating /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/apidocs/javax/websocket/class-use/PongMessage.html... Generating /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/apidocs/javax/websocket/class-use/OnOpen.html... Generating /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/apidocs/javax/websocket/class-use/OnMessage.html... Generating /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/apidocs/javax/websocket/class-use/OnError.html... Generating /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/apidocs/javax/websocket/class-use/OnClose.html... Generating /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/apidocs/javax/websocket/class-use/MessageHandler.html... Generating /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/apidocs/javax/websocket/class-use/MessageHandler.Partial.html... Generating /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/apidocs/javax/websocket/class-use/MessageHandler.Whole.html... Generating /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/apidocs/javax/websocket/class-use/HandshakeResponse.html... Generating /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/apidocs/javax/websocket/class-use/Extension.html... Generating /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/apidocs/javax/websocket/class-use/Extension.Parameter.html... Generating /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/apidocs/javax/websocket/class-use/EndpointConfig.html... Generating /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/apidocs/javax/websocket/class-use/Endpoint.html... Generating /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/apidocs/javax/websocket/class-use/Encoder.html... Generating /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/apidocs/javax/websocket/class-use/Encoder.BinaryStream.html... Generating /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/apidocs/javax/websocket/class-use/Encoder.Binary.html... Generating /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/apidocs/javax/websocket/class-use/Encoder.TextStream.html... Generating /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/apidocs/javax/websocket/class-use/Encoder.Text.html... Generating /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/apidocs/javax/websocket/class-use/EncodeException.html... Generating /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/apidocs/javax/websocket/class-use/DeploymentException.html... Generating /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/apidocs/javax/websocket/class-use/Decoder.html... Generating /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/apidocs/javax/websocket/class-use/Decoder.TextStream.html... Generating /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/apidocs/javax/websocket/class-use/Decoder.Text.html... Generating /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/apidocs/javax/websocket/class-use/Decoder.BinaryStream.html... Generating /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/apidocs/javax/websocket/class-use/Decoder.Binary.html... Generating /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/apidocs/javax/websocket/class-use/DecodeException.html... Generating /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/apidocs/javax/websocket/class-use/ContainerProvider.html... Generating /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/apidocs/javax/websocket/class-use/CloseReason.html... Generating /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/apidocs/javax/websocket/class-use/CloseReason.CloseCodes.html... Generating /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/apidocs/javax/websocket/class-use/CloseReason.CloseCode.html... Generating /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/apidocs/javax/websocket/class-use/ClientEndpointConfig.html... Generating /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/apidocs/javax/websocket/class-use/ClientEndpointConfig.Builder.html... Generating /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/apidocs/javax/websocket/class-use/ClientEndpointConfig.Configurator.html... Generating /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/apidocs/javax/websocket/class-use/ClientEndpoint.html... Generating /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/apidocs/javax/websocket/server/class-use/ServerEndpointConfig.html... Generating /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/apidocs/javax/websocket/server/class-use/ServerEndpointConfig.Builder.html... Generating /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/apidocs/javax/websocket/server/class-use/ServerEndpointConfig.Configurator.html... Generating /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/apidocs/javax/websocket/server/class-use/ServerEndpoint.html... Generating /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/apidocs/javax/websocket/server/class-use/ServerContainer.html... Generating /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/apidocs/javax/websocket/server/class-use/ServerApplicationConfig.html... Generating /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/apidocs/javax/websocket/server/class-use/PathParam.html... Generating /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/apidocs/javax/websocket/server/class-use/HandshakeRequest.html... Generating /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/apidocs/org/glassfish/tyrus/core/l10n/class-use/Localizer.html... Generating /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/apidocs/org/glassfish/tyrus/core/l10n/class-use/LocalizationMessages.html... Generating /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/apidocs/org/glassfish/tyrus/core/l10n/class-use/LocalizableMessageFactory.html... Generating /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/apidocs/org/glassfish/tyrus/core/l10n/class-use/LocalizableMessage.html... Generating /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/apidocs/org/glassfish/tyrus/core/l10n/class-use/Localizable.html... Generating /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/apidocs/org/glassfish/tyrus/core/wsadl/model/class-use/ObjectFactory.html... Generating /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/apidocs/org/glassfish/tyrus/core/wsadl/model/class-use/Endpoint.html... Generating /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/apidocs/org/glassfish/tyrus/core/wsadl/model/class-use/Application.html... Generating /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/apidocs/org/glassfish/tyrus/core/uri/class-use/Match.html... Generating /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/apidocs/org/glassfish/tyrus/core/uri/internal/class-use/UriTemplateParser.html... Generating /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/apidocs/org/glassfish/tyrus/core/uri/internal/class-use/UriTemplate.html... Generating /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/apidocs/org/glassfish/tyrus/core/uri/internal/class-use/UriComponent.html... Generating /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/apidocs/org/glassfish/tyrus/core/uri/internal/class-use/UriComponent.Type.html... Generating /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/apidocs/org/glassfish/tyrus/core/uri/internal/class-use/PatternWithGroups.html... Generating /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/apidocs/org/glassfish/tyrus/core/uri/internal/class-use/PathTemplate.html... Generating /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/apidocs/org/glassfish/tyrus/core/uri/internal/class-use/PathSegment.html... Generating /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/apidocs/org/glassfish/tyrus/core/uri/internal/class-use/PathPattern.html... Generating /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/apidocs/org/glassfish/tyrus/core/uri/internal/class-use/PathPattern.RightHandPath.html... Generating /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/apidocs/org/glassfish/tyrus/core/uri/internal/class-use/MultivaluedStringMap.html... Generating /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/apidocs/org/glassfish/tyrus/core/uri/internal/class-use/MultivaluedMap.html... Generating /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/apidocs/org/glassfish/tyrus/core/uri/internal/class-use/MultivaluedHashMap.html... Generating /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/apidocs/org/glassfish/tyrus/core/uri/internal/class-use/AbstractMultivaluedMap.html... Generating /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/apidocs/org/glassfish/tyrus/core/class-use/WebSocketException.html... Generating /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/apidocs/org/glassfish/tyrus/core/class-use/Version.html... Generating /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/apidocs/org/glassfish/tyrus/core/class-use/Utils.html... Generating /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/apidocs/org/glassfish/tyrus/core/class-use/Utils.Stringifier.html... Generating /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/apidocs/org/glassfish/tyrus/core/class-use/Utf8DecodingException.html... Generating /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/apidocs/org/glassfish/tyrus/core/class-use/TyrusWebSocketEngine.html... Generating /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/apidocs/org/glassfish/tyrus/core/class-use/TyrusWebSocketEngine.TyrusWebSocketEngineBuilder.html... Generating /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/apidocs/org/glassfish/tyrus/core/class-use/TyrusWebSocket.html... Generating /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/apidocs/org/glassfish/tyrus/core/class-use/TyrusUpgradeResponse.html... Generating /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/apidocs/org/glassfish/tyrus/core/class-use/TyrusSession.html... Generating /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/apidocs/org/glassfish/tyrus/core/class-use/TyrusServerEndpointConfigurator.html... Generating /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/apidocs/org/glassfish/tyrus/core/class-use/TyrusServerEndpointConfig.html... Generating /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/apidocs/org/glassfish/tyrus/core/class-use/TyrusServerEndpointConfig.Builder.html... Generating /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/apidocs/org/glassfish/tyrus/core/class-use/TyrusRemoteEndpoint.html... Generating /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/apidocs/org/glassfish/tyrus/core/class-use/TyrusFuture.html... Generating /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/apidocs/org/glassfish/tyrus/core/class-use/TyrusExtension.html... Generating /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/apidocs/org/glassfish/tyrus/core/class-use/TyrusExtension.TyrusParameter.html... Generating /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/apidocs/org/glassfish/tyrus/core/class-use/TyrusEndpointWrapper.html... Generating /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/apidocs/org/glassfish/tyrus/core/class-use/TyrusEndpointWrapper.SessionListener.html... Generating /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/apidocs/org/glassfish/tyrus/core/class-use/TyrusEndpointWrapper.SessionListener.OnOpenResult.html... Generating /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/apidocs/org/glassfish/tyrus/core/class-use/StrictUtf8.html... Generating /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/apidocs/org/glassfish/tyrus/core/class-use/StrictUtf8.Parser.html... Generating /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/apidocs/org/glassfish/tyrus/core/class-use/ServiceFinder.html... Generating /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/apidocs/org/glassfish/tyrus/core/class-use/ServiceFinder.DefaultServiceIteratorProvider.html... Generating /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/apidocs/org/glassfish/tyrus/core/class-use/ServiceFinder.ServiceIteratorProvider.html... Generating /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/apidocs/org/glassfish/tyrus/core/class-use/ServiceConfigurationError.html... Generating /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/apidocs/org/glassfish/tyrus/core/class-use/RequestContext.html... Generating /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/apidocs/org/glassfish/tyrus/core/class-use/RequestContext.Builder.html... Generating /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/apidocs/org/glassfish/tyrus/core/class-use/RequestContext.Builder.IsUserInRoleDelegate.html... Generating /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/apidocs/org/glassfish/tyrus/core/class-use/ReflectionHelper.html... Generating /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/apidocs/org/glassfish/tyrus/core/class-use/ReflectionHelper.ClassTypePair.html... Generating /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/apidocs/org/glassfish/tyrus/core/class-use/ReflectionHelper.DeclaringClassInterfacePair.html... Generating /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/apidocs/org/glassfish/tyrus/core/class-use/ReflectionHelper.TypeClassPair.html... Generating /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/apidocs/org/glassfish/tyrus/core/class-use/ProtocolHandler.html... Generating /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/apidocs/org/glassfish/tyrus/core/class-use/ProtocolException.html... Generating /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/apidocs/org/glassfish/tyrus/core/class-use/OsgiRegistry.html... Generating /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/apidocs/org/glassfish/tyrus/core/class-use/MessageHandlerManager.html... Generating /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/apidocs/org/glassfish/tyrus/core/class-use/MaxSessions.html... Generating /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/apidocs/org/glassfish/tyrus/core/class-use/MaskingKeyGenerator.html... Generating /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/apidocs/org/glassfish/tyrus/core/class-use/HandshakeException.html... Generating /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/apidocs/org/glassfish/tyrus/core/class-use/Handshake.html... Generating /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/apidocs/org/glassfish/tyrus/core/class-use/ExecutorServiceProvider.html... Generating /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/apidocs/org/glassfish/tyrus/core/class-use/ErrorCollector.html... Generating /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/apidocs/org/glassfish/tyrus/core/class-use/DefaultComponentProvider.html... Generating /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/apidocs/org/glassfish/tyrus/core/class-use/DebugContext.html... Generating /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/apidocs/org/glassfish/tyrus/core/class-use/DebugContext.TracingThreshold.html... Generating /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/apidocs/org/glassfish/tyrus/core/class-use/DebugContext.TracingType.html... Generating /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/apidocs/org/glassfish/tyrus/core/class-use/DebugContext.Type.html... Generating /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/apidocs/org/glassfish/tyrus/core/class-use/ComponentProviderService.html... Generating /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/apidocs/org/glassfish/tyrus/core/class-use/ComponentProvider.html... Generating /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/apidocs/org/glassfish/tyrus/core/class-use/CloseReasons.html... Generating /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/apidocs/org/glassfish/tyrus/core/class-use/Beta.html... Generating /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/apidocs/org/glassfish/tyrus/core/class-use/BaseContainer.html... Generating /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/apidocs/org/glassfish/tyrus/core/class-use/BaseContainer.ShutDownCondition.html... Generating /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/apidocs/org/glassfish/tyrus/core/class-use/AnnotatedEndpoint.html... Generating /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/apidocs/org/glassfish/tyrus/core/monitoring/class-use/MessageEventListener.html... Generating /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/apidocs/org/glassfish/tyrus/core/monitoring/class-use/EndpointEventListener.html... Generating /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/apidocs/org/glassfish/tyrus/core/monitoring/class-use/ApplicationEventListener.html... Generating /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/apidocs/org/glassfish/tyrus/core/frame/class-use/TyrusFrame.html... Generating /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/apidocs/org/glassfish/tyrus/core/frame/class-use/TyrusFrame.FrameType.html... Generating /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/apidocs/org/glassfish/tyrus/core/frame/class-use/TextFrame.html... Generating /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/apidocs/org/glassfish/tyrus/core/frame/class-use/PongFrame.html... Generating /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/apidocs/org/glassfish/tyrus/core/frame/class-use/PingFrame.html... Generating /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/apidocs/org/glassfish/tyrus/core/frame/class-use/Frame.html... Generating /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/apidocs/org/glassfish/tyrus/core/frame/class-use/Frame.Builder.html... Generating /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/apidocs/org/glassfish/tyrus/core/frame/class-use/CloseFrame.html... Generating /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/apidocs/org/glassfish/tyrus/core/frame/class-use/BinaryFrame.html... Generating /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/apidocs/org/glassfish/tyrus/core/extension/class-use/ExtendedExtension.html... Generating /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/apidocs/org/glassfish/tyrus/core/extension/class-use/ExtendedExtension.ExtensionContext.html... Generating /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/apidocs/org/glassfish/tyrus/core/collection/class-use/Values.html... Generating /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/apidocs/org/glassfish/tyrus/core/collection/class-use/Value.html... Generating /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/apidocs/org/glassfish/tyrus/core/collection/class-use/LazyValue.html... Generating /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/apidocs/org/glassfish/tyrus/core/coder/class-use/ToStringEncoder.html... Generating /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/apidocs/org/glassfish/tyrus/core/coder/class-use/ReaderDecoder.html... Generating /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/apidocs/org/glassfish/tyrus/core/coder/class-use/PrimitiveDecoders.html... Generating /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/apidocs/org/glassfish/tyrus/core/coder/class-use/PrimitiveDecoders.ShortDecoder.html... Generating /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/apidocs/org/glassfish/tyrus/core/coder/class-use/PrimitiveDecoders.LongDecoder.html... Generating /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/apidocs/org/glassfish/tyrus/core/coder/class-use/PrimitiveDecoders.IntegerDecoder.html... Generating /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/apidocs/org/glassfish/tyrus/core/coder/class-use/PrimitiveDecoders.FloatDecoder.html... Generating /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/apidocs/org/glassfish/tyrus/core/coder/class-use/PrimitiveDecoders.DoubleDecoder.html... Generating /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/apidocs/org/glassfish/tyrus/core/coder/class-use/PrimitiveDecoders.CharacterDecoder.html... Generating /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/apidocs/org/glassfish/tyrus/core/coder/class-use/PrimitiveDecoders.ByteDecoder.html... Generating /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/apidocs/org/glassfish/tyrus/core/coder/class-use/PrimitiveDecoders.BooleanDecoder.html... Generating /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/apidocs/org/glassfish/tyrus/core/coder/class-use/NoOpTextCoder.html... Generating /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/apidocs/org/glassfish/tyrus/core/coder/class-use/NoOpByteBufferCoder.html... Generating /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/apidocs/org/glassfish/tyrus/core/coder/class-use/NoOpByteArrayCoder.html... Generating /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/apidocs/org/glassfish/tyrus/core/coder/class-use/InputStreamDecoder.html... Generating /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/apidocs/org/glassfish/tyrus/core/coder/class-use/CoderWrapper.html... Generating /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/apidocs/org/glassfish/tyrus/core/coder/class-use/CoderAdapter.html... Generating /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/apidocs/org/glassfish/tyrus/core/cluster/class-use/SessionListener.html... Generating /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/apidocs/org/glassfish/tyrus/core/cluster/class-use/SessionEventListener.html... Generating /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/apidocs/org/glassfish/tyrus/core/cluster/class-use/RemoteSession.html... Generating /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/apidocs/org/glassfish/tyrus/core/cluster/class-use/RemoteSession.DistributedMapKey.html... Generating /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/apidocs/org/glassfish/tyrus/core/cluster/class-use/DistributedSession.html... Generating /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/apidocs/org/glassfish/tyrus/core/cluster/class-use/ClusterContext.html... Generating /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/apidocs/org/glassfish/tyrus/core/cluster/class-use/BroadcastListener.html... Generating /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/apidocs/org/glassfish/tyrus/client/class-use/ClientManager.html... Generating /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/apidocs/org/glassfish/tyrus/client/class-use/ClientManager.ReconnectHandler.html... Generating /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/apidocs/org/glassfish/tyrus/client/class-use/ClientProperties.html... Generating /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/apidocs/org/glassfish/tyrus/client/class-use/RedirectException.html... Generating /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/apidocs/org/glassfish/tyrus/client/class-use/RetryAfterException.html... Generating /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/apidocs/org/glassfish/tyrus/client/class-use/SslContextConfigurator.html... Generating /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/apidocs/org/glassfish/tyrus/client/class-use/SslEngineConfigurator.html... Generating /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/apidocs/org/glassfish/tyrus/client/class-use/ThreadPoolConfig.html... Generating /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/apidocs/org/glassfish/tyrus/client/class-use/TyrusClientEngine.html... Generating /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/apidocs/org/glassfish/tyrus/client/class-use/TyrusClientEngine.ClientHandshakeListener.html... Generating /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/apidocs/org/glassfish/tyrus/client/auth/class-use/Credentials.html... Generating /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/apidocs/org/glassfish/tyrus/client/auth/class-use/Authenticator.html... Generating /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/apidocs/org/glassfish/tyrus/client/auth/class-use/AuthConfig.html... Generating /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/apidocs/org/glassfish/tyrus/client/auth/class-use/AuthConfig.Builder.html... Generating /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/apidocs/org/glassfish/tyrus/client/auth/class-use/AuthenticationException.html... Generating /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/apidocs/org/glassfish/tyrus/server/class-use/TyrusServerContainer.html... Generating /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/apidocs/org/glassfish/tyrus/server/class-use/Server.html... Generating /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/apidocs/org/glassfish/tyrus/server/class-use/TyrusServerConfiguration.html... Generating /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/apidocs/org/glassfish/tyrus/gf/cdi/class-use/CdiComponentProvider.html... Generating /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/apidocs/org/glassfish/tyrus/gf/ejb/class-use/EjbComponentProvider.html... Generating /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/apidocs/org/glassfish/tyrus/container/grizzly/client/class-use/GrizzlyClientContainer.html... Generating /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/apidocs/org/glassfish/tyrus/container/grizzly/client/class-use/GrizzlyClientProperties.html... Generating /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/apidocs/org/glassfish/tyrus/container/grizzly/client/class-use/GrizzlyClientSocket.html... Generating /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/apidocs/org/glassfish/tyrus/container/grizzly/client/class-use/GrizzlyContainerProvider.html... Generating /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/apidocs/org/glassfish/tyrus/container/grizzly/client/class-use/GrizzlyWriter.html... Generating /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/apidocs/org/glassfish/tyrus/container/grizzly/client/class-use/TaskProcessor.html... Generating /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/apidocs/org/glassfish/tyrus/container/grizzly/client/class-use/TaskProcessor.Condition.html... Generating /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/apidocs/org/glassfish/tyrus/container/grizzly/client/class-use/TaskProcessor.Task.html... Generating /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/apidocs/org/glassfish/tyrus/container/grizzly/server/class-use/WebSocketAddOn.html... Generating /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/apidocs/org/glassfish/tyrus/container/grizzly/server/class-use/GrizzlyServerContainer.html... Generating /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/apidocs/org/glassfish/tyrus/servlet/class-use/TyrusHttpUpgradeHandler.html... Generating /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/apidocs/org/glassfish/tyrus/servlet/class-use/TyrusServletContainerInitializer.html... Generating /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/apidocs/org/glassfish/tyrus/spi/class-use/WriterInfo.html... Generating /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/apidocs/org/glassfish/tyrus/spi/class-use/WriterInfo.RemoteEndpointType.html... Generating /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/apidocs/org/glassfish/tyrus/spi/class-use/WriterInfo.MessageType.html... Generating /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/apidocs/org/glassfish/tyrus/spi/class-use/Writer.html... Generating /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/apidocs/org/glassfish/tyrus/spi/class-use/WebSocketEngine.html... Generating /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/apidocs/org/glassfish/tyrus/spi/class-use/WebSocketEngine.UpgradeStatus.html... Generating /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/apidocs/org/glassfish/tyrus/spi/class-use/WebSocketEngine.UpgradeInfo.html... Generating /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/apidocs/org/glassfish/tyrus/spi/class-use/UpgradeResponse.html... Generating /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/apidocs/org/glassfish/tyrus/spi/class-use/UpgradeRequest.html... Generating /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/apidocs/org/glassfish/tyrus/spi/class-use/ServerContainerFactory.html... Generating /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/apidocs/org/glassfish/tyrus/spi/class-use/ServerContainer.html... Generating /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/apidocs/org/glassfish/tyrus/spi/class-use/ReadHandler.html... Generating /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/apidocs/org/glassfish/tyrus/spi/class-use/Connection.html... Generating /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/apidocs/org/glassfish/tyrus/spi/class-use/Connection.CloseListener.html... Generating /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/apidocs/org/glassfish/tyrus/spi/class-use/CompletionHandler.html... Generating /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/apidocs/org/glassfish/tyrus/spi/class-use/ClientEngine.html... Generating /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/apidocs/org/glassfish/tyrus/spi/class-use/ClientEngine.ClientUpgradeStatus.html... Generating /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/apidocs/org/glassfish/tyrus/spi/class-use/ClientEngine.ClientUpgradeInfo.html... Generating /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/apidocs/org/glassfish/tyrus/spi/class-use/ClientEngine.TimeoutHandler.html... Generating /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/apidocs/org/glassfish/tyrus/spi/class-use/ClientContainer.html... Generating /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/apidocs/javax/websocket/package-use.html... Generating /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/apidocs/javax/websocket/server/package-use.html... Generating /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/apidocs/org/glassfish/tyrus/client/package-use.html... Generating /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/apidocs/org/glassfish/tyrus/client/auth/package-use.html... Generating /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/apidocs/org/glassfish/tyrus/container/grizzly/client/package-use.html... Generating /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/apidocs/org/glassfish/tyrus/container/grizzly/server/package-use.html... Generating /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/apidocs/org/glassfish/tyrus/core/package-use.html... Generating /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/apidocs/org/glassfish/tyrus/core/cluster/package-use.html... Generating /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/apidocs/org/glassfish/tyrus/core/coder/package-use.html... Generating /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/apidocs/org/glassfish/tyrus/core/collection/package-use.html... Generating /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/apidocs/org/glassfish/tyrus/core/extension/package-use.html... Generating /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/apidocs/org/glassfish/tyrus/core/frame/package-use.html... Generating /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/apidocs/org/glassfish/tyrus/core/l10n/package-use.html... Generating /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/apidocs/org/glassfish/tyrus/core/monitoring/package-use.html... Generating /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/apidocs/org/glassfish/tyrus/core/uri/package-use.html... Generating /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/apidocs/org/glassfish/tyrus/core/uri/internal/package-use.html... Generating /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/apidocs/org/glassfish/tyrus/core/wsadl/model/package-use.html... Generating /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/apidocs/org/glassfish/tyrus/gf/cdi/package-use.html... Generating /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/apidocs/org/glassfish/tyrus/gf/ejb/package-use.html... Generating /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/apidocs/org/glassfish/tyrus/server/package-use.html... Generating /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/apidocs/org/glassfish/tyrus/servlet/package-use.html... Generating /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/apidocs/org/glassfish/tyrus/spi/package-use.html... Building index for all the packages and classes... Generating /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/apidocs/overview-tree.html... Generating /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/apidocs/index-all.html... Building index for all classes... Generating /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/apidocs/allclasses-index.html... Generating /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/apidocs/allpackages-index.html... Generating /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/apidocs/deprecated-list.html... Building index for all classes... Generating /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/apidocs/allclasses.html... Generating /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/apidocs/allclasses.html... Generating /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/apidocs/index.html... Generating /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/apidocs/overview-summary.html... Generating /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/apidocs/help-doc.html... 51 errors 100 warnings [ERROR] MavenReportException: Error while generating Javadoc: Exit code: 1 - /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/src/main/java/javax/websocket/OnMessage.java:86: error: self-closing element not allowed *

^ /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/src/main/java/javax/websocket/Endpoint.java:79: error: bad use of '>' * session.addMessageHandler(String.class, new MessageHandler.Whole<String>() { ^ /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/src/main/java/org/glassfish/tyrus/core/uri/internal/MultivaluedHashMap.java:37: error: tag not supported in the generated HTML version: tt * operations (get and put), assuming the hash function ^ /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/src/main/java/org/glassfish/tyrus/core/uri/internal/MultivaluedHashMap.java:37: error: tag not supported in the generated HTML version: tt * operations (get and put), assuming the hash function ^ /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/src/main/java/org/glassfish/tyrus/core/uri/internal/MultivaluedHashMap.java:45: error: tag not supported in the generated HTML version: tt * An instance of MultivaluedHashMap has two parameters that affect its ^ /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/src/main/java/org/glassfish/tyrus/core/uri/internal/MultivaluedHashMap.java:58: error: tag not supported in the generated HTML version: tt * HashMap class, including get and put). The ^ /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/src/main/java/org/glassfish/tyrus/core/uri/internal/MultivaluedHashMap.java:58: error: tag not supported in the generated HTML version: tt * HashMap class, including get and put). The ^ /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/src/main/java/org/glassfish/tyrus/core/uri/internal/MultivaluedHashMap.java:58: error: tag not supported in the generated HTML version: tt * HashMap class, including get and put). The ^ /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/src/main/java/org/glassfish/tyrus/core/uri/internal/MultivaluedHashMap.java:65: error: tag not supported in the generated HTML version: tt * If many mappings are to be stored in a MultivaluedHashMap instance, ^ /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/src/main/java/org/glassfish/tyrus/core/uri/internal/MultivaluedHashMap.java:82: error: tag not supported in the generated HTML version: tt * remove method, the iterator will throw a {@link java.util.ConcurrentModificationException}. ^ /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/src/main/java/org/glassfish/tyrus/core/uri/internal/MultivaluedHashMap.java:90: error: tag not supported in the generated HTML version: tt * throw ConcurrentModificationException on a best-effort basis. ^ /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/src/main/java/org/glassfish/tyrus/core/ServiceFinder.java:66: error: tag not supported in the generated HTML version: tt * on META-INF/services files is described below. ^ /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/src/main/java/org/glassfish/tyrus/core/ServiceFinder.java:68: error: tag not supported in the generated HTML version: tt * can enforce a different approach by setting their custom ServiceIteratorProvider ^ /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/src/main/java/org/glassfish/tyrus/core/ServiceFinder.java:69: error: tag not supported in the generated HTML version: tt * by calling setIteratorProvider. The call must be made prior to any lookup attempts. ^ /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/src/main/java/org/glassfish/tyrus/core/ServiceFinder.java:72: error: tag not supported in the generated HTML version: tt * file in the resource directory META-INF/services. The file's name ^ /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/src/main/java/org/glassfish/tyrus/core/ServiceFinder.java:76: error: tag not supported in the generated HTML version: tt * well as blank lines, are ignored. The comment character is '#' ^ /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/src/main/java/org/glassfish/tyrus/core/ServiceFinder.java:77: error: tag not supported in the generated HTML version: tt * (0x23); on each line all characters following the first comment ^ /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/src/main/java/org/glassfish/tyrus/core/ServiceFinder.java:89: error: tag not supported in the generated HTML version: tt * java.io.spi.CharCodec. It has two abstract methods: ^ /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/src/main/java/org/glassfish/tyrus/core/ServiceFinder.java:95: error: tag not supported in the generated HTML version: tt * Each method returns an appropriate object or null if it cannot ^ /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/src/main/java/org/glassfish/tyrus/core/ServiceFinder.java:96: error: tag not supported in the generated HTML version: tt * translate the given encoding. Typical CharCodec providers will ^ /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/src/main/java/org/glassfish/tyrus/core/ServiceFinder.java:99: error: tag not supported in the generated HTML version: tt * If sun.io.StandardCodec is a provider of the CharCodec ^ /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/src/main/java/org/glassfish/tyrus/core/ServiceFinder.java:99: error: tag not supported in the generated HTML version: tt * If sun.io.StandardCodec is a provider of the CharCodec ^ /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/src/main/java/org/glassfish/tyrus/core/ServiceFinder.java:101: error: tag not supported in the generated HTML version: tt * META-INF/services/java.io.spi.CharCodec. This file would contain ^ /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/src/main/java/org/glassfish/tyrus/client/ThreadPoolConfig.java:26: error: tag not supported in the generated HTML version: tt * One can get a default ThreadPoolConfig using {@link ThreadPoolConfig#defaultConfig()} ^ /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/src/main/java/org/glassfish/tyrus/client/ThreadPoolConfig.java:29: error: tag not supported in the generated HTML version: tt * A ThreadPoolConfig object might be customized in a "Builder"-like fashion: ^ /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/src/main/java/javax/websocket/Decoder.java:89: warning: no @throws for javax.websocket.DecodeException T decode(ByteBuffer bytes) throws DecodeException; ^ /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/src/main/java/javax/websocket/Decoder.java:113: warning: no @throws for javax.websocket.DecodeException T decode(InputStream is) throws DecodeException, IOException; ^ /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/src/main/java/javax/websocket/Decoder.java:113: warning: no @throws for java.io.IOException T decode(InputStream is) throws DecodeException, IOException; ^ /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/src/main/java/javax/websocket/Decoder.java:129: warning: no @throws for javax.websocket.DecodeException T decode(String s) throws DecodeException; ^ /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/src/main/java/javax/websocket/Decoder.java:154: warning: no @throws for javax.websocket.DecodeException T decode(Reader reader) throws DecodeException, IOException; ^ /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/src/main/java/javax/websocket/Decoder.java:154: warning: no @throws for java.io.IOException T decode(Reader reader) throws DecodeException, IOException; ^ /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/src/main/java/javax/websocket/Encoder.java:132: warning: no @throws for javax.websocket.EncodeException ByteBuffer encode(T object) throws EncodeException; ^ /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/src/main/java/javax/websocket/Encoder.java:149: warning: no @throws for javax.websocket.EncodeException void encode(T object, OutputStream os) throws EncodeException, IOException; ^ /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/src/main/java/javax/websocket/Encoder.java:149: warning: no @throws for java.io.IOException void encode(T object, OutputStream os) throws EncodeException, IOException; ^ /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/src/main/java/javax/websocket/Encoder.java:93: warning: no @throws for javax.websocket.EncodeException String encode(T object) throws EncodeException; ^ /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/src/main/java/javax/websocket/RemoteEndpoint.java:113: warning: no @return boolean getBatchingAllowed(); ^ /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/src/main/java/javax/websocket/RemoteEndpoint.java:119: warning: no @throws for java.io.IOException void flushBatch() throws IOException; ^ /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/src/main/java/javax/websocket/Session.java:118: warning: no @param for public void addMessageHandler(Class clazz, MessageHandler.Whole handler); ^ /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/src/main/java/javax/websocket/Session.java:135: warning: no @param for public void addMessageHandler(Class clazz, MessageHandler.Partial handler); ^ /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/src/main/java/javax/websocket/WebSocketContainer.java:81: warning: no @param for timeoutmillis void setAsyncSendTimeout(long timeoutmillis); ^ /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/src/main/java/org/glassfish/tyrus/client/SslContextConfigurator.java:70: error: tag not supported in the generated HTML version: tt * The name of the configuration property is {@value}. ^ /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/src/main/java/org/glassfish/tyrus/client/SslContextConfigurator.java:80: error: tag not supported in the generated HTML version: tt * The name of the configuration property is {@value}. ^ /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/src/main/java/org/glassfish/tyrus/client/SslContextConfigurator.java:90: error: tag not supported in the generated HTML version: tt * The name of the configuration property is {@value}. ^ /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/src/main/java/org/glassfish/tyrus/client/SslContextConfigurator.java:100: error: tag not supported in the generated HTML version: tt * The name of the configuration property is {@value}. ^ /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/src/main/java/org/glassfish/tyrus/client/SslContextConfigurator.java:110: error: tag not supported in the generated HTML version: tt * The name of the configuration property is {@value}. ^ /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/src/main/java/org/glassfish/tyrus/client/SslContextConfigurator.java:120: error: tag not supported in the generated HTML version: tt * The name of the configuration property is {@value}. ^ /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/src/main/java/org/glassfish/tyrus/client/SslContextConfigurator.java:130: error: tag not supported in the generated HTML version: tt * The name of the configuration property is {@value}. ^ /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/src/main/java/org/glassfish/tyrus/client/SslContextConfigurator.java:140: error: tag not supported in the generated HTML version: tt * The name of the configuration property is {@value}. ^ /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/src/main/java/org/glassfish/tyrus/client/SslContextConfigurator.java:150: error: tag not supported in the generated HTML version: tt * The name of the configuration property is {@value}. ^ /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/src/main/java/org/glassfish/tyrus/client/SslContextConfigurator.java:160: error: tag not supported in the generated HTML version: tt * The name of the configuration property is {@value}. ^ /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/src/main/java/org/glassfish/tyrus/client/SslEngineConfigurator.java:242: error: tag not supported in the generated HTML version: tt * @return true, if {@link SSLEngine} will be configured to work ^ /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/src/main/java/org/glassfish/tyrus/client/SslEngineConfigurator.java:243: error: tag not supported in the generated HTML version: tt * in client mode, or false for server mode. ^ /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/src/main/java/org/glassfish/tyrus/client/SslEngineConfigurator.java:243: error: tag not supported in the generated HTML version: tt * in client mode, or false for server mode. ^ /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/src/main/java/org/glassfish/tyrus/client/SslEngineConfigurator.java:243: error: tag not supported in the generated HTML version: tt * in client mode, or false for server mode. ^ /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/src/main/java/org/glassfish/tyrus/client/SslEngineConfigurator.java:252: error: tag not supported in the generated HTML version: tt * @param clientMode true, if {@link SSLEngine} will be configured ^ /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/src/main/java/org/glassfish/tyrus/client/SslEngineConfigurator.java:253: error: tag not supported in the generated HTML version: tt * to work in client mode, or false for server ^ /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/src/main/java/org/glassfish/tyrus/client/SslEngineConfigurator.java:253: error: tag not supported in the generated HTML version: tt * to work in client mode, or false for server ^ /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/src/main/java/org/glassfish/tyrus/client/SslEngineConfigurator.java:253: error: tag not supported in the generated HTML version: tt * to work in client mode, or false for server ^ /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/src/main/java/org/glassfish/tyrus/client/ThreadPoolConfig.java:56: error: tag not supported in the generated HTML version: tt * Create new client thread pool configuration instance. The returned ThreadPoolConfig instance will be ^ /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/src/main/java/org/glassfish/tyrus/client/ThreadPoolConfig.java:298: error: tag not supported in the generated HTML version: tt * @param queueLimit the thread pool queue limit. The queueLimit value less than 0 means unlimited queue. ^ /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/src/main/java/org/glassfish/tyrus/core/ServiceFinder.java:181: error: tag not supported in the generated HTML version: tt * getResources method of the given class loader to find all ^ /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/src/main/java/org/glassfish/tyrus/core/ServiceFinder.java:193: error: tag not supported in the generated HTML version: tt * and instantiate provider classes, or null if the system ^ /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/src/main/java/org/glassfish/tyrus/core/ServiceFinder.java:215: error: tag not supported in the generated HTML version: tt * getResources method of the given class loader to find all ^ /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/src/main/java/org/glassfish/tyrus/core/ServiceFinder.java:227: error: tag not supported in the generated HTML version: tt * and instantiate provider classes, or null if the system ^ /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/src/main/java/org/glassfish/tyrus/core/ServiceFinder.java:348: error: tag not supported in the generated HTML version: tt * @return An Iterator that yields provider objects for the given ^ /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/src/main/java/org/glassfish/tyrus/core/ServiceFinder.java:350: error: tag not supported in the generated HTML version: tt * ServiceConfigurationError if a provider-configuration ^ /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/src/main/java/org/glassfish/tyrus/core/l10n/LocalizationMessages.java:23: warning: no @param for arg0 public static String INVALID_HEADER(Object arg0, Object arg1) { ^ /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/src/main/java/org/glassfish/tyrus/core/l10n/LocalizationMessages.java:23: warning: no @param for arg1 public static String INVALID_HEADER(Object arg0, Object arg1) { ^ /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/src/main/java/org/glassfish/tyrus/core/l10n/LocalizationMessages.java:23: warning: no @return public static String INVALID_HEADER(Object arg0, Object arg1) { ^ /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/src/main/java/org/glassfish/tyrus/core/l10n/LocalizationMessages.java:35: warning: no @param for arg0 public static String BINARY_MESSAGE_HANDLER_NOT_FOUND(Object arg0) { ^ /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/src/main/java/org/glassfish/tyrus/core/l10n/LocalizationMessages.java:35: warning: no @return public static String BINARY_MESSAGE_HANDLER_NOT_FOUND(Object arg0) { ^ /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/src/main/java/org/glassfish/tyrus/core/l10n/LocalizationMessages.java:47: warning: no @return public static String SOCKET_NOT_CONNECTED() { ^ /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/src/main/java/org/glassfish/tyrus/core/l10n/LocalizationMessages.java:59: warning: no @param for arg0 public static String CLASS_CHECKER_ADD_MESSAGE_HANDLER_ERROR(Object arg0, Object arg1) { ^ /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/src/main/java/org/glassfish/tyrus/core/l10n/LocalizationMessages.java:59: warning: no @param for arg1 public static String CLASS_CHECKER_ADD_MESSAGE_HANDLER_ERROR(Object arg0, Object arg1) { ^ /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/src/main/java/org/glassfish/tyrus/core/l10n/LocalizationMessages.java:59: warning: no @return public static String CLASS_CHECKER_ADD_MESSAGE_HANDLER_ERROR(Object arg0, Object arg1) { ^ /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/src/main/java/org/glassfish/tyrus/core/l10n/LocalizationMessages.java:71: warning: no @param for arg0 public static String AUTHENTICATION_DIGEST_QOP_UNSUPPORTED(Object arg0) { ^ /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/src/main/java/org/glassfish/tyrus/core/l10n/LocalizationMessages.java:71: warning: no @return public static String AUTHENTICATION_DIGEST_QOP_UNSUPPORTED(Object arg0) { ^ /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/src/main/java/org/glassfish/tyrus/core/l10n/LocalizationMessages.java:83: warning: no @return public static String MESSAGE_HANDLER_ALREADY_REGISTERED_BINARY() { ^ /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/src/main/java/org/glassfish/tyrus/core/l10n/LocalizationMessages.java:95: warning: no @return public static String SEND_MESSAGE_INFRAGMENT() { ^ /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/src/main/java/org/glassfish/tyrus/core/l10n/LocalizationMessages.java:107: warning: no @param for arg0 public static String CLASS_CHECKER_FORBIDDEN_WEB_SOCKET_OPEN_PARAM(Object arg0, Object arg1, Object arg2) { ^ /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/src/main/java/org/glassfish/tyrus/core/l10n/LocalizationMessages.java:107: warning: no @param for arg1 public static String CLASS_CHECKER_FORBIDDEN_WEB_SOCKET_OPEN_PARAM(Object arg0, Object arg1, Object arg2) { ^ /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/src/main/java/org/glassfish/tyrus/core/l10n/LocalizationMessages.java:107: warning: no @param for arg2 public static String CLASS_CHECKER_FORBIDDEN_WEB_SOCKET_OPEN_PARAM(Object arg0, Object arg1, Object arg2) { ^ /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/src/main/java/org/glassfish/tyrus/core/l10n/LocalizationMessages.java:107: warning: no @return public static String CLASS_CHECKER_FORBIDDEN_WEB_SOCKET_OPEN_PARAM(Object arg0, Object arg1, Object arg2) { ^ /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/src/main/java/org/glassfish/tyrus/core/l10n/LocalizationMessages.java:119: warning: no @param for arg0 public static String URI_COMPONENT_ENCODED_OCTET_INVALID_DIGIT(Object arg0, Object arg1) { ^ /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/src/main/java/org/glassfish/tyrus/core/l10n/LocalizationMessages.java:119: warning: no @param for arg1 public static String URI_COMPONENT_ENCODED_OCTET_INVALID_DIGIT(Object arg0, Object arg1) { ^ /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/src/main/java/org/glassfish/tyrus/core/l10n/LocalizationMessages.java:119: warning: no @return public static String URI_COMPONENT_ENCODED_OCTET_INVALID_DIGIT(Object arg0, Object arg1) { ^ /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/src/main/java/org/glassfish/tyrus/core/l10n/LocalizationMessages.java:131: warning: no @param for arg0 public static String TEXT_MESSAGE_HANDLER_NOT_FOUND(Object arg0) { ^ /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/src/main/java/org/glassfish/tyrus/core/l10n/LocalizationMessages.java:131: warning: no @return public static String TEXT_MESSAGE_HANDLER_NOT_FOUND(Object arg0) { ^ /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/src/main/java/org/glassfish/tyrus/core/l10n/LocalizationMessages.java:143: warning: no @param for arg0 public static String TEXT_MESSAGE_OUT_OF_ORDER(Object arg0) { ^ /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/src/main/java/org/glassfish/tyrus/core/l10n/LocalizationMessages.java:143: warning: no @return public static String TEXT_MESSAGE_OUT_OF_ORDER(Object arg0) { ^ /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/src/main/java/org/glassfish/tyrus/core/l10n/LocalizationMessages.java:155: warning: no @param for arg0 public static String MESSAGE_HANDLER_PARTIAL_INVALID_TYPE(Object arg0) { ^ /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/src/main/java/org/glassfish/tyrus/core/l10n/LocalizationMessages.java:155: warning: no @return public static String MESSAGE_HANDLER_PARTIAL_INVALID_TYPE(Object arg0) { ^ /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/src/main/java/org/glassfish/tyrus/core/l10n/LocalizationMessages.java:167: warning: no @param for arg0 public static String MESSAGE_HANDLER_DECODER_NOT_REGISTERED(Object arg0) { ^ /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/src/main/java/org/glassfish/tyrus/core/l10n/LocalizationMessages.java:167: warning: no @return public static String MESSAGE_HANDLER_DECODER_NOT_REGISTERED(Object arg0) { ^ /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/src/main/java/org/glassfish/tyrus/core/l10n/LocalizationMessages.java:179: warning: no @param for arg0 public static String INVALID_RESPONSE_CODE(Object arg0, Object arg1) { ^ /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/src/main/java/org/glassfish/tyrus/core/l10n/LocalizationMessages.java:179: warning: no @param for arg1 public static String INVALID_RESPONSE_CODE(Object arg0, Object arg1) { ^ /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/src/main/java/org/glassfish/tyrus/core/l10n/LocalizationMessages.java:179: warning: no @return public static String INVALID_RESPONSE_CODE(Object arg0, Object arg1) { ^ /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/src/main/java/org/glassfish/tyrus/core/l10n/LocalizationMessages.java:191: warning: no @return public static String SEC_KEY_NULL_NOT_ALLOWED() { ^ /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/src/main/java/org/glassfish/tyrus/core/l10n/LocalizationMessages.java:203: warning: no @param for arg0 public static String CLASS_CHECKER_FORBIDDEN_WEB_SOCKET_CLOSE_PARAM(Object arg0, Object arg1) { ^ /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/src/main/java/org/glassfish/tyrus/core/l10n/LocalizationMessages.java:203: warning: no @param for arg1 public static String CLASS_CHECKER_FORBIDDEN_WEB_SOCKET_CLOSE_PARAM(Object arg0, Object arg1) { ^ /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/src/main/java/org/glassfish/tyrus/core/l10n/LocalizationMessages.java:203: warning: no @return public static String CLASS_CHECKER_FORBIDDEN_WEB_SOCKET_CLOSE_PARAM(Object arg0, Object arg1) { ^ /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/src/main/java/org/glassfish/tyrus/core/l10n/LocalizationMessages.java:215: warning: no @param for arg0 public static String EQUIVALENT_PATHS(Object arg0, Object arg1) { ^ /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/src/main/java/org/glassfish/tyrus/core/l10n/LocalizationMessages.java:215: warning: no @param for arg1 public static String EQUIVALENT_PATHS(Object arg0, Object arg1) { ^ /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/src/main/java/org/glassfish/tyrus/core/l10n/LocalizationMessages.java:215: warning: no @return public static String EQUIVALENT_PATHS(Object arg0, Object arg1) { ^ /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/src/main/java/org/glassfish/tyrus/core/l10n/LocalizationMessages.java:227: warning: no @param for arg0 public static String URI_COMPONENT_INVALID_CHARACTER(Object arg0, Object arg1, Object arg2, Object arg3) { ^ /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/src/main/java/org/glassfish/tyrus/core/l10n/LocalizationMessages.java:227: warning: no @param for arg1 public static String URI_COMPONENT_INVALID_CHARACTER(Object arg0, Object arg1, Object arg2, Object arg3) { ^ /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/src/main/java/org/glassfish/tyrus/core/l10n/LocalizationMessages.java:227: warning: no @param for arg2 public static String URI_COMPONENT_INVALID_CHARACTER(Object arg0, Object arg1, Object arg2, Object arg3) { ^ /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/src/main/java/org/glassfish/tyrus/core/l10n/LocalizationMessages.java:227: warning: no @param for arg3 public static String URI_COMPONENT_INVALID_CHARACTER(Object arg0, Object arg1, Object arg2, Object arg3) { ^ /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/src/main/java/org/glassfish/tyrus/core/l10n/LocalizationMessages.java:227: warning: no @return public static String URI_COMPONENT_INVALID_CHARACTER(Object arg0, Object arg1, Object arg2, Object arg3) { ^ /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/src/main/java/org/glassfish/tyrus/core/l10n/LocalizationMessages.java:239: warning: no @return public static String MAX_SESSIONS_PER_REMOTEADDR_EXCEEDED() { ^ /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/src/main/java/org/glassfish/tyrus/core/l10n/LocalizationMessages.java:251: warning: no @param for arg0 public static String APPLICATION_DATA_TOO_LONG(Object arg0) { ^ /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/src/main/java/org/glassfish/tyrus/core/l10n/LocalizationMessages.java:251: warning: no @return public static String APPLICATION_DATA_TOO_LONG(Object arg0) { ^ /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/src/main/java/org/glassfish/tyrus/core/l10n/LocalizationMessages.java:263: warning: no @param for arg0 public static String MESSAGE_TOO_LONG(Object arg0, Object arg1) { ^ /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/src/main/java/org/glassfish/tyrus/core/l10n/LocalizationMessages.java:263: warning: no @param for arg1 public static String MESSAGE_TOO_LONG(Object arg0, Object arg1) { ^ /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/src/main/java/org/glassfish/tyrus/core/l10n/LocalizationMessages.java:263: warning: no @return public static String MESSAGE_TOO_LONG(Object arg0, Object arg1) { ^ /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/src/main/java/org/glassfish/tyrus/core/l10n/LocalizationMessages.java:275: warning: no @return public static String AUTHENTICATION_DIGEST_NO_SUCH_ALG() { ^ /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/src/main/java/org/glassfish/tyrus/core/l10n/LocalizationMessages.java:287: warning: no @param for arg0 public static String HANDSHAKE_HTTP_REDIRECTION_NOT_ENABLED(Object arg0) { ^ /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/src/main/java/org/glassfish/tyrus/core/l10n/LocalizationMessages.java:287: warning: no @return public static String HANDSHAKE_HTTP_REDIRECTION_NOT_ENABLED(Object arg0) { ^ /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/src/main/java/org/glassfish/tyrus/core/l10n/LocalizationMessages.java:299: warning: no @return public static String HANDSHAKE_HTTP_REDIRECTION_NEW_LOCATION_MISSING() { ^ /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/src/main/java/org/glassfish/tyrus/core/l10n/LocalizationMessages.java:311: warning: no @param for arg0 public static String ARGUMENT_NOT_NULL(Object arg0) { ^ /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/src/main/java/org/glassfish/tyrus/core/l10n/LocalizationMessages.java:311: warning: no @return public static String ARGUMENT_NOT_NULL(Object arg0) { ^ /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/src/main/java/org/glassfish/tyrus/core/l10n/LocalizationMessages.java:323: warning: no @param for arg0 public static String COMPONENT_PROVIDER_NOT_FOUND(Object arg0) { ^ /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/src/main/java/org/glassfish/tyrus/core/l10n/LocalizationMessages.java:323: warning: no @return public static String COMPONENT_PROVIDER_NOT_FOUND(Object arg0) { ^ /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/src/main/java/org/glassfish/tyrus/core/l10n/LocalizationMessages.java:335: warning: no @param for arg0 public static String PROVIDER_NOT_FOUND(Object arg0, Object arg1) { ^ /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/src/main/java/org/glassfish/tyrus/core/l10n/LocalizationMessages.java:335: warning: no @param for arg1 public static String PROVIDER_NOT_FOUND(Object arg0, Object arg1) { ^ /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/src/main/java/org/glassfish/tyrus/core/l10n/LocalizationMessages.java:335: warning: no @return public static String PROVIDER_NOT_FOUND(Object arg0, Object arg1) { ^ /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/src/main/java/org/glassfish/tyrus/core/l10n/LocalizationMessages.java:347: warning: no @return public static String PARTIAL_MESSAGE_BUFFER_OVERFLOW() { ^ /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/src/main/java/org/glassfish/tyrus/core/l10n/LocalizationMessages.java:359: warning: no @return public static String RSV_INCORRECTLY_SET() { ^ /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/src/main/java/org/glassfish/tyrus/core/l10n/LocalizationMessages.java:371: warning: no @param for arg0 public static String URI_COMPONENT_ENCODED_OCTET_MALFORMED(Object arg0) { ^ /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/src/main/java/org/glassfish/tyrus/core/l10n/LocalizationMessages.java:371: warning: no @return public static String URI_COMPONENT_ENCODED_OCTET_MALFORMED(Object arg0) { ^ /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/src/main/java/org/glassfish/tyrus/core/l10n/LocalizationMessages.java:383: warning: no @return public static String CONTROL_FRAME_FRAGMENTED() { ^ /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/src/main/java/org/glassfish/tyrus/core/l10n/LocalizationMessages.java:395: warning: no @param for arg0 public static String CLASS_CHECKER_MULTIPLE_IDENTICAL_PARAMS(Object arg0, Object arg1) { ^ /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/src/main/java/org/glassfish/tyrus/core/l10n/LocalizationMessages.java:395: warning: no @param for arg1 public static String CLASS_CHECKER_MULTIPLE_IDENTICAL_PARAMS(Object arg0, Object arg1) { ^ /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/src/main/java/org/glassfish/tyrus/core/l10n/LocalizationMessages.java:395: warning: no @return public static String CLASS_CHECKER_MULTIPLE_IDENTICAL_PARAMS(Object arg0, Object arg1) { ^ /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/src/main/java/org/glassfish/tyrus/core/l10n/LocalizationMessages.java:407: warning: no @return public static String AUTHENTICATION_CREATE_AUTH_HEADER_FAILED() { ^ /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/src/main/java/org/glassfish/tyrus/core/l10n/LocalizationMessages.java:419: warning: no @param for arg0 public static String MESSAGE_HANDLER_ALREADY_REGISTERED_TYPE(Object arg0) { ^ /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/src/main/java/org/glassfish/tyrus/core/l10n/LocalizationMessages.java:419: warning: no @return public static String MESSAGE_HANDLER_ALREADY_REGISTERED_TYPE(Object arg0) { ^ /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/src/main/java/org/glassfish/tyrus/core/l10n/LocalizationMessages.java:431: warning: no @param for arg0 public static String CLASS_CHECKER_MANDATORY_PARAM_MISSING(Object arg0, Object arg1) { ^ /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/src/main/java/org/glassfish/tyrus/core/l10n/LocalizationMessages.java:431: warning: no @param for arg1 public static String CLASS_CHECKER_MANDATORY_PARAM_MISSING(Object arg0, Object arg1) { ^ /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/src/main/java/org/glassfish/tyrus/core/l10n/LocalizationMessages.java:431: warning: no @return public static String CLASS_CHECKER_MANDATORY_PARAM_MISSING(Object arg0, Object arg1) { ^ /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/src/main/java/org/glassfish/tyrus/core/l10n/LocalizationMessages.java:443: warning: no @param for arg0 public static String ENDPOINT_WRONG_PATH_PARAM(Object arg0, Object arg1) { ^ /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/src/main/java/org/glassfish/tyrus/core/l10n/LocalizationMessages.java:443: warning: no @param for arg1 public static String ENDPOINT_WRONG_PATH_PARAM(Object arg0, Object arg1) { ^ /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/src/main/java/org/glassfish/tyrus/core/l10n/LocalizationMessages.java:443: warning: no @return public static String ENDPOINT_WRONG_PATH_PARAM(Object arg0, Object arg1) { ^ /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/src/main/java/org/glassfish/tyrus/core/l10n/LocalizationMessages.java:455: warning: no @return public static String CONNECTION_HAS_BEEN_CLOSED() { ^ /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/src/main/java/org/glassfish/tyrus/core/l10n/LocalizationMessages.java:467: warning: no @return public static String HANDSHAKE_HTTP_RETRY_AFTER_MESSAGE() { ^ /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/src/main/java/org/glassfish/tyrus/core/l10n/LocalizationMessages.java:479: warning: no @param for arg0 public static String DEPENDENT_CLASS_OF_PROVIDER_NOT_FOUND(Object arg0, Object arg1, Object arg2) { ^ /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/src/main/java/org/glassfish/tyrus/core/l10n/LocalizationMessages.java:479: warning: no @param for arg1 public static String DEPENDENT_CLASS_OF_PROVIDER_NOT_FOUND(Object arg0, Object arg1, Object arg2) { ^ /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/src/main/java/org/glassfish/tyrus/core/l10n/LocalizationMessages.java:479: warning: no @param for arg2 public static String DEPENDENT_CLASS_OF_PROVIDER_NOT_FOUND(Object arg0, Object arg1, Object arg2) { ^ /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/src/main/java/org/glassfish/tyrus/core/l10n/LocalizationMessages.java:479: warning: no @return public static String DEPENDENT_CLASS_OF_PROVIDER_NOT_FOUND(Object arg0, Object arg1, Object arg2) { ^ /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/src/main/java/org/glassfish/tyrus/core/l10n/LocalizationMessages.java:491: warning: no @return public static String FRAME_WRITE_CANCELLED() { ^ /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/src/main/java/org/glassfish/tyrus/core/l10n/LocalizationMessages.java:503: warning: no @return public static String UNEXPECTED_ERROR_CONNECTION_CLOSE() { ^ Command line was: /opt/tools/java/openjdk/jdk-11/latest/bin/javadoc -J-Xmx512m -J-Xms128m @options @packages Refer to the generated Javadoc files in '/home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/apidocs' dir. org.apache.maven.reporting.MavenReportException: Exit code: 1 - /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/src/main/java/javax/websocket/OnMessage.java:86: error: self-closing element not allowed *

^ /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/src/main/java/javax/websocket/Endpoint.java:79: error: bad use of '>' * session.addMessageHandler(String.class, new MessageHandler.Whole<String>() { ^ /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/src/main/java/org/glassfish/tyrus/core/uri/internal/MultivaluedHashMap.java:37: error: tag not supported in the generated HTML version: tt * operations (get and put), assuming the hash function ^ /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/src/main/java/org/glassfish/tyrus/core/uri/internal/MultivaluedHashMap.java:37: error: tag not supported in the generated HTML version: tt * operations (get and put), assuming the hash function ^ /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/src/main/java/org/glassfish/tyrus/core/uri/internal/MultivaluedHashMap.java:45: error: tag not supported in the generated HTML version: tt * An instance of MultivaluedHashMap has two parameters that affect its ^ /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/src/main/java/org/glassfish/tyrus/core/uri/internal/MultivaluedHashMap.java:58: error: tag not supported in the generated HTML version: tt * HashMap class, including get and put). The ^ /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/src/main/java/org/glassfish/tyrus/core/uri/internal/MultivaluedHashMap.java:58: error: tag not supported in the generated HTML version: tt * HashMap class, including get and put). The ^ /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/src/main/java/org/glassfish/tyrus/core/uri/internal/MultivaluedHashMap.java:58: error: tag not supported in the generated HTML version: tt * HashMap class, including get and put). The ^ /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/src/main/java/org/glassfish/tyrus/core/uri/internal/MultivaluedHashMap.java:65: error: tag not supported in the generated HTML version: tt * If many mappings are to be stored in a MultivaluedHashMap instance, ^ /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/src/main/java/org/glassfish/tyrus/core/uri/internal/MultivaluedHashMap.java:82: error: tag not supported in the generated HTML version: tt * remove method, the iterator will throw a {@link java.util.ConcurrentModificationException}. ^ /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/src/main/java/org/glassfish/tyrus/core/uri/internal/MultivaluedHashMap.java:90: error: tag not supported in the generated HTML version: tt * throw ConcurrentModificationException on a best-effort basis. ^ /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/src/main/java/org/glassfish/tyrus/core/ServiceFinder.java:66: error: tag not supported in the generated HTML version: tt * on META-INF/services files is described below. ^ /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/src/main/java/org/glassfish/tyrus/core/ServiceFinder.java:68: error: tag not supported in the generated HTML version: tt * can enforce a different approach by setting their custom ServiceIteratorProvider ^ /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/src/main/java/org/glassfish/tyrus/core/ServiceFinder.java:69: error: tag not supported in the generated HTML version: tt * by calling setIteratorProvider. The call must be made prior to any lookup attempts. ^ /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/src/main/java/org/glassfish/tyrus/core/ServiceFinder.java:72: error: tag not supported in the generated HTML version: tt * file in the resource directory META-INF/services. The file's name ^ /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/src/main/java/org/glassfish/tyrus/core/ServiceFinder.java:76: error: tag not supported in the generated HTML version: tt * well as blank lines, are ignored. The comment character is '#' ^ /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/src/main/java/org/glassfish/tyrus/core/ServiceFinder.java:77: error: tag not supported in the generated HTML version: tt * (0x23); on each line all characters following the first comment ^ /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/src/main/java/org/glassfish/tyrus/core/ServiceFinder.java:89: error: tag not supported in the generated HTML version: tt * java.io.spi.CharCodec. It has two abstract methods: ^ /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/src/main/java/org/glassfish/tyrus/core/ServiceFinder.java:95: error: tag not supported in the generated HTML version: tt * Each method returns an appropriate object or null if it cannot ^ /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/src/main/java/org/glassfish/tyrus/core/ServiceFinder.java:96: error: tag not supported in the generated HTML version: tt * translate the given encoding. Typical CharCodec providers will ^ /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/src/main/java/org/glassfish/tyrus/core/ServiceFinder.java:99: error: tag not supported in the generated HTML version: tt * If sun.io.StandardCodec is a provider of the CharCodec ^ /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/src/main/java/org/glassfish/tyrus/core/ServiceFinder.java:99: error: tag not supported in the generated HTML version: tt * If sun.io.StandardCodec is a provider of the CharCodec ^ /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/src/main/java/org/glassfish/tyrus/core/ServiceFinder.java:101: error: tag not supported in the generated HTML version: tt * META-INF/services/java.io.spi.CharCodec. This file would contain ^ /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/src/main/java/org/glassfish/tyrus/client/ThreadPoolConfig.java:26: error: tag not supported in the generated HTML version: tt * One can get a default ThreadPoolConfig using {@link ThreadPoolConfig#defaultConfig()} ^ /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/src/main/java/org/glassfish/tyrus/client/ThreadPoolConfig.java:29: error: tag not supported in the generated HTML version: tt * A ThreadPoolConfig object might be customized in a "Builder"-like fashion: ^ /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/src/main/java/javax/websocket/Decoder.java:89: warning: no @throws for javax.websocket.DecodeException T decode(ByteBuffer bytes) throws DecodeException; ^ /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/src/main/java/javax/websocket/Decoder.java:113: warning: no @throws for javax.websocket.DecodeException T decode(InputStream is) throws DecodeException, IOException; ^ /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/src/main/java/javax/websocket/Decoder.java:113: warning: no @throws for java.io.IOException T decode(InputStream is) throws DecodeException, IOException; ^ /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/src/main/java/javax/websocket/Decoder.java:129: warning: no @throws for javax.websocket.DecodeException T decode(String s) throws DecodeException; ^ /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/src/main/java/javax/websocket/Decoder.java:154: warning: no @throws for javax.websocket.DecodeException T decode(Reader reader) throws DecodeException, IOException; ^ /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/src/main/java/javax/websocket/Decoder.java:154: warning: no @throws for java.io.IOException T decode(Reader reader) throws DecodeException, IOException; ^ /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/src/main/java/javax/websocket/Encoder.java:132: warning: no @throws for javax.websocket.EncodeException ByteBuffer encode(T object) throws EncodeException; ^ /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/src/main/java/javax/websocket/Encoder.java:149: warning: no @throws for javax.websocket.EncodeException void encode(T object, OutputStream os) throws EncodeException, IOException; ^ /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/src/main/java/javax/websocket/Encoder.java:149: warning: no @throws for java.io.IOException void encode(T object, OutputStream os) throws EncodeException, IOException; ^ /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/src/main/java/javax/websocket/Encoder.java:93: warning: no @throws for javax.websocket.EncodeException String encode(T object) throws EncodeException; ^ /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/src/main/java/javax/websocket/RemoteEndpoint.java:113: warning: no @return boolean getBatchingAllowed(); ^ /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/src/main/java/javax/websocket/RemoteEndpoint.java:119: warning: no @throws for java.io.IOException void flushBatch() throws IOException; ^ /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/src/main/java/javax/websocket/Session.java:118: warning: no @param for public void addMessageHandler(Class clazz, MessageHandler.Whole handler); ^ /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/src/main/java/javax/websocket/Session.java:135: warning: no @param for public void addMessageHandler(Class clazz, MessageHandler.Partial handler); ^ /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/src/main/java/javax/websocket/WebSocketContainer.java:81: warning: no @param for timeoutmillis void setAsyncSendTimeout(long timeoutmillis); ^ /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/src/main/java/org/glassfish/tyrus/client/SslContextConfigurator.java:70: error: tag not supported in the generated HTML version: tt * The name of the configuration property is {@value}. ^ /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/src/main/java/org/glassfish/tyrus/client/SslContextConfigurator.java:80: error: tag not supported in the generated HTML version: tt * The name of the configuration property is {@value}. ^ /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/src/main/java/org/glassfish/tyrus/client/SslContextConfigurator.java:90: error: tag not supported in the generated HTML version: tt * The name of the configuration property is {@value}. ^ /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/src/main/java/org/glassfish/tyrus/client/SslContextConfigurator.java:100: error: tag not supported in the generated HTML version: tt * The name of the configuration property is {@value}. ^ /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/src/main/java/org/glassfish/tyrus/client/SslContextConfigurator.java:110: error: tag not supported in the generated HTML version: tt * The name of the configuration property is {@value}. ^ /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/src/main/java/org/glassfish/tyrus/client/SslContextConfigurator.java:120: error: tag not supported in the generated HTML version: tt * The name of the configuration property is {@value}. ^ /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/src/main/java/org/glassfish/tyrus/client/SslContextConfigurator.java:130: error: tag not supported in the generated HTML version: tt * The name of the configuration property is {@value}. ^ /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/src/main/java/org/glassfish/tyrus/client/SslContextConfigurator.java:140: error: tag not supported in the generated HTML version: tt * The name of the configuration property is {@value}. ^ /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/src/main/java/org/glassfish/tyrus/client/SslContextConfigurator.java:150: error: tag not supported in the generated HTML version: tt * The name of the configuration property is {@value}. ^ /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/src/main/java/org/glassfish/tyrus/client/SslContextConfigurator.java:160: error: tag not supported in the generated HTML version: tt * The name of the configuration property is {@value}. ^ /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/src/main/java/org/glassfish/tyrus/client/SslEngineConfigurator.java:242: error: tag not supported in the generated HTML version: tt * @return true, if {@link SSLEngine} will be configured to work ^ /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/src/main/java/org/glassfish/tyrus/client/SslEngineConfigurator.java:243: error: tag not supported in the generated HTML version: tt * in client mode, or false for server mode. ^ /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/src/main/java/org/glassfish/tyrus/client/SslEngineConfigurator.java:243: error: tag not supported in the generated HTML version: tt * in client mode, or false for server mode. ^ /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/src/main/java/org/glassfish/tyrus/client/SslEngineConfigurator.java:243: error: tag not supported in the generated HTML version: tt * in client mode, or false for server mode. ^ /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/src/main/java/org/glassfish/tyrus/client/SslEngineConfigurator.java:252: error: tag not supported in the generated HTML version: tt * @param clientMode true, if {@link SSLEngine} will be configured ^ /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/src/main/java/org/glassfish/tyrus/client/SslEngineConfigurator.java:253: error: tag not supported in the generated HTML version: tt * to work in client mode, or false for server ^ /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/src/main/java/org/glassfish/tyrus/client/SslEngineConfigurator.java:253: error: tag not supported in the generated HTML version: tt * to work in client mode, or false for server ^ /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/src/main/java/org/glassfish/tyrus/client/SslEngineConfigurator.java:253: error: tag not supported in the generated HTML version: tt * to work in client mode, or false for server ^ /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/src/main/java/org/glassfish/tyrus/client/ThreadPoolConfig.java:56: error: tag not supported in the generated HTML version: tt * Create new client thread pool configuration instance. The returned ThreadPoolConfig instance will be ^ /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/src/main/java/org/glassfish/tyrus/client/ThreadPoolConfig.java:298: error: tag not supported in the generated HTML version: tt * @param queueLimit the thread pool queue limit. The queueLimit value less than 0 means unlimited queue. ^ /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/src/main/java/org/glassfish/tyrus/core/ServiceFinder.java:181: error: tag not supported in the generated HTML version: tt * getResources method of the given class loader to find all ^ /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/src/main/java/org/glassfish/tyrus/core/ServiceFinder.java:193: error: tag not supported in the generated HTML version: tt * and instantiate provider classes, or null if the system ^ /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/src/main/java/org/glassfish/tyrus/core/ServiceFinder.java:215: error: tag not supported in the generated HTML version: tt * getResources method of the given class loader to find all ^ /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/src/main/java/org/glassfish/tyrus/core/ServiceFinder.java:227: error: tag not supported in the generated HTML version: tt * and instantiate provider classes, or null if the system ^ /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/src/main/java/org/glassfish/tyrus/core/ServiceFinder.java:348: error: tag not supported in the generated HTML version: tt * @return An Iterator that yields provider objects for the given ^ /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/src/main/java/org/glassfish/tyrus/core/ServiceFinder.java:350: error: tag not supported in the generated HTML version: tt * ServiceConfigurationError if a provider-configuration ^ /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/src/main/java/org/glassfish/tyrus/core/l10n/LocalizationMessages.java:23: warning: no @param for arg0 public static String INVALID_HEADER(Object arg0, Object arg1) { ^ /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/src/main/java/org/glassfish/tyrus/core/l10n/LocalizationMessages.java:23: warning: no @param for arg1 public static String INVALID_HEADER(Object arg0, Object arg1) { ^ /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/src/main/java/org/glassfish/tyrus/core/l10n/LocalizationMessages.java:23: warning: no @return public static String INVALID_HEADER(Object arg0, Object arg1) { ^ /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/src/main/java/org/glassfish/tyrus/core/l10n/LocalizationMessages.java:35: warning: no @param for arg0 public static String BINARY_MESSAGE_HANDLER_NOT_FOUND(Object arg0) { ^ /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/src/main/java/org/glassfish/tyrus/core/l10n/LocalizationMessages.java:35: warning: no @return public static String BINARY_MESSAGE_HANDLER_NOT_FOUND(Object arg0) { ^ /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/src/main/java/org/glassfish/tyrus/core/l10n/LocalizationMessages.java:47: warning: no @return public static String SOCKET_NOT_CONNECTED() { ^ /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/src/main/java/org/glassfish/tyrus/core/l10n/LocalizationMessages.java:59: warning: no @param for arg0 public static String CLASS_CHECKER_ADD_MESSAGE_HANDLER_ERROR(Object arg0, Object arg1) { ^ /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/src/main/java/org/glassfish/tyrus/core/l10n/LocalizationMessages.java:59: warning: no @param for arg1 public static String CLASS_CHECKER_ADD_MESSAGE_HANDLER_ERROR(Object arg0, Object arg1) { ^ /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/src/main/java/org/glassfish/tyrus/core/l10n/LocalizationMessages.java:59: warning: no @return public static String CLASS_CHECKER_ADD_MESSAGE_HANDLER_ERROR(Object arg0, Object arg1) { ^ /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/src/main/java/org/glassfish/tyrus/core/l10n/LocalizationMessages.java:71: warning: no @param for arg0 public static String AUTHENTICATION_DIGEST_QOP_UNSUPPORTED(Object arg0) { ^ /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/src/main/java/org/glassfish/tyrus/core/l10n/LocalizationMessages.java:71: warning: no @return public static String AUTHENTICATION_DIGEST_QOP_UNSUPPORTED(Object arg0) { ^ /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/src/main/java/org/glassfish/tyrus/core/l10n/LocalizationMessages.java:83: warning: no @return public static String MESSAGE_HANDLER_ALREADY_REGISTERED_BINARY() { ^ /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/src/main/java/org/glassfish/tyrus/core/l10n/LocalizationMessages.java:95: warning: no @return public static String SEND_MESSAGE_INFRAGMENT() { ^ /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/src/main/java/org/glassfish/tyrus/core/l10n/LocalizationMessages.java:107: warning: no @param for arg0 public static String CLASS_CHECKER_FORBIDDEN_WEB_SOCKET_OPEN_PARAM(Object arg0, Object arg1, Object arg2) { ^ /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/src/main/java/org/glassfish/tyrus/core/l10n/LocalizationMessages.java:107: warning: no @param for arg1 public static String CLASS_CHECKER_FORBIDDEN_WEB_SOCKET_OPEN_PARAM(Object arg0, Object arg1, Object arg2) { ^ /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/src/main/java/org/glassfish/tyrus/core/l10n/LocalizationMessages.java:107: warning: no @param for arg2 public static String CLASS_CHECKER_FORBIDDEN_WEB_SOCKET_OPEN_PARAM(Object arg0, Object arg1, Object arg2) { ^ /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/src/main/java/org/glassfish/tyrus/core/l10n/LocalizationMessages.java:107: warning: no @return public static String CLASS_CHECKER_FORBIDDEN_WEB_SOCKET_OPEN_PARAM(Object arg0, Object arg1, Object arg2) { ^ /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/src/main/java/org/glassfish/tyrus/core/l10n/LocalizationMessages.java:119: warning: no @param for arg0 public static String URI_COMPONENT_ENCODED_OCTET_INVALID_DIGIT(Object arg0, Object arg1) { ^ /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/src/main/java/org/glassfish/tyrus/core/l10n/LocalizationMessages.java:119: warning: no @param for arg1 public static String URI_COMPONENT_ENCODED_OCTET_INVALID_DIGIT(Object arg0, Object arg1) { ^ /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/src/main/java/org/glassfish/tyrus/core/l10n/LocalizationMessages.java:119: warning: no @return public static String URI_COMPONENT_ENCODED_OCTET_INVALID_DIGIT(Object arg0, Object arg1) { ^ /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/src/main/java/org/glassfish/tyrus/core/l10n/LocalizationMessages.java:131: warning: no @param for arg0 public static String TEXT_MESSAGE_HANDLER_NOT_FOUND(Object arg0) { ^ /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/src/main/java/org/glassfish/tyrus/core/l10n/LocalizationMessages.java:131: warning: no @return public static String TEXT_MESSAGE_HANDLER_NOT_FOUND(Object arg0) { ^ /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/src/main/java/org/glassfish/tyrus/core/l10n/LocalizationMessages.java:143: warning: no @param for arg0 public static String TEXT_MESSAGE_OUT_OF_ORDER(Object arg0) { ^ /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/src/main/java/org/glassfish/tyrus/core/l10n/LocalizationMessages.java:143: warning: no @return public static String TEXT_MESSAGE_OUT_OF_ORDER(Object arg0) { ^ /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/src/main/java/org/glassfish/tyrus/core/l10n/LocalizationMessages.java:155: warning: no @param for arg0 public static String MESSAGE_HANDLER_PARTIAL_INVALID_TYPE(Object arg0) { ^ /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/src/main/java/org/glassfish/tyrus/core/l10n/LocalizationMessages.java:155: warning: no @return public static String MESSAGE_HANDLER_PARTIAL_INVALID_TYPE(Object arg0) { ^ /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/src/main/java/org/glassfish/tyrus/core/l10n/LocalizationMessages.java:167: warning: no @param for arg0 public static String MESSAGE_HANDLER_DECODER_NOT_REGISTERED(Object arg0) { ^ /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/src/main/java/org/glassfish/tyrus/core/l10n/LocalizationMessages.java:167: warning: no @return public static String MESSAGE_HANDLER_DECODER_NOT_REGISTERED(Object arg0) { ^ /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/src/main/java/org/glassfish/tyrus/core/l10n/LocalizationMessages.java:179: warning: no @param for arg0 public static String INVALID_RESPONSE_CODE(Object arg0, Object arg1) { ^ /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/src/main/java/org/glassfish/tyrus/core/l10n/LocalizationMessages.java:179: warning: no @param for arg1 public static String INVALID_RESPONSE_CODE(Object arg0, Object arg1) { ^ /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/src/main/java/org/glassfish/tyrus/core/l10n/LocalizationMessages.java:179: warning: no @return public static String INVALID_RESPONSE_CODE(Object arg0, Object arg1) { ^ /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/src/main/java/org/glassfish/tyrus/core/l10n/LocalizationMessages.java:191: warning: no @return public static String SEC_KEY_NULL_NOT_ALLOWED() { ^ /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/src/main/java/org/glassfish/tyrus/core/l10n/LocalizationMessages.java:203: warning: no @param for arg0 public static String CLASS_CHECKER_FORBIDDEN_WEB_SOCKET_CLOSE_PARAM(Object arg0, Object arg1) { ^ /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/src/main/java/org/glassfish/tyrus/core/l10n/LocalizationMessages.java:203: warning: no @param for arg1 public static String CLASS_CHECKER_FORBIDDEN_WEB_SOCKET_CLOSE_PARAM(Object arg0, Object arg1) { ^ /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/src/main/java/org/glassfish/tyrus/core/l10n/LocalizationMessages.java:203: warning: no @return public static String CLASS_CHECKER_FORBIDDEN_WEB_SOCKET_CLOSE_PARAM(Object arg0, Object arg1) { ^ /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/src/main/java/org/glassfish/tyrus/core/l10n/LocalizationMessages.java:215: warning: no @param for arg0 public static String EQUIVALENT_PATHS(Object arg0, Object arg1) { ^ /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/src/main/java/org/glassfish/tyrus/core/l10n/LocalizationMessages.java:215: warning: no @param for arg1 public static String EQUIVALENT_PATHS(Object arg0, Object arg1) { ^ /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/src/main/java/org/glassfish/tyrus/core/l10n/LocalizationMessages.java:215: warning: no @return public static String EQUIVALENT_PATHS(Object arg0, Object arg1) { ^ /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/src/main/java/org/glassfish/tyrus/core/l10n/LocalizationMessages.java:227: warning: no @param for arg0 public static String URI_COMPONENT_INVALID_CHARACTER(Object arg0, Object arg1, Object arg2, Object arg3) { ^ /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/src/main/java/org/glassfish/tyrus/core/l10n/LocalizationMessages.java:227: warning: no @param for arg1 public static String URI_COMPONENT_INVALID_CHARACTER(Object arg0, Object arg1, Object arg2, Object arg3) { ^ /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/src/main/java/org/glassfish/tyrus/core/l10n/LocalizationMessages.java:227: warning: no @param for arg2 public static String URI_COMPONENT_INVALID_CHARACTER(Object arg0, Object arg1, Object arg2, Object arg3) { ^ /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/src/main/java/org/glassfish/tyrus/core/l10n/LocalizationMessages.java:227: warning: no @param for arg3 public static String URI_COMPONENT_INVALID_CHARACTER(Object arg0, Object arg1, Object arg2, Object arg3) { ^ /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/src/main/java/org/glassfish/tyrus/core/l10n/LocalizationMessages.java:227: warning: no @return public static String URI_COMPONENT_INVALID_CHARACTER(Object arg0, Object arg1, Object arg2, Object arg3) { ^ /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/src/main/java/org/glassfish/tyrus/core/l10n/LocalizationMessages.java:239: warning: no @return public static String MAX_SESSIONS_PER_REMOTEADDR_EXCEEDED() { ^ /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/src/main/java/org/glassfish/tyrus/core/l10n/LocalizationMessages.java:251: warning: no @param for arg0 public static String APPLICATION_DATA_TOO_LONG(Object arg0) { ^ /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/src/main/java/org/glassfish/tyrus/core/l10n/LocalizationMessages.java:251: warning: no @return public static String APPLICATION_DATA_TOO_LONG(Object arg0) { ^ /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/src/main/java/org/glassfish/tyrus/core/l10n/LocalizationMessages.java:263: warning: no @param for arg0 public static String MESSAGE_TOO_LONG(Object arg0, Object arg1) { ^ /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/src/main/java/org/glassfish/tyrus/core/l10n/LocalizationMessages.java:263: warning: no @param for arg1 public static String MESSAGE_TOO_LONG(Object arg0, Object arg1) { ^ /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/src/main/java/org/glassfish/tyrus/core/l10n/LocalizationMessages.java:263: warning: no @return public static String MESSAGE_TOO_LONG(Object arg0, Object arg1) { ^ /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/src/main/java/org/glassfish/tyrus/core/l10n/LocalizationMessages.java:275: warning: no @return public static String AUTHENTICATION_DIGEST_NO_SUCH_ALG() { ^ /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/src/main/java/org/glassfish/tyrus/core/l10n/LocalizationMessages.java:287: warning: no @param for arg0 public static String HANDSHAKE_HTTP_REDIRECTION_NOT_ENABLED(Object arg0) { ^ /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/src/main/java/org/glassfish/tyrus/core/l10n/LocalizationMessages.java:287: warning: no @return public static String HANDSHAKE_HTTP_REDIRECTION_NOT_ENABLED(Object arg0) { ^ /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/src/main/java/org/glassfish/tyrus/core/l10n/LocalizationMessages.java:299: warning: no @return public static String HANDSHAKE_HTTP_REDIRECTION_NEW_LOCATION_MISSING() { ^ /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/src/main/java/org/glassfish/tyrus/core/l10n/LocalizationMessages.java:311: warning: no @param for arg0 public static String ARGUMENT_NOT_NULL(Object arg0) { ^ /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/src/main/java/org/glassfish/tyrus/core/l10n/LocalizationMessages.java:311: warning: no @return public static String ARGUMENT_NOT_NULL(Object arg0) { ^ /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/src/main/java/org/glassfish/tyrus/core/l10n/LocalizationMessages.java:323: warning: no @param for arg0 public static String COMPONENT_PROVIDER_NOT_FOUND(Object arg0) { ^ /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/src/main/java/org/glassfish/tyrus/core/l10n/LocalizationMessages.java:323: warning: no @return public static String COMPONENT_PROVIDER_NOT_FOUND(Object arg0) { ^ /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/src/main/java/org/glassfish/tyrus/core/l10n/LocalizationMessages.java:335: warning: no @param for arg0 public static String PROVIDER_NOT_FOUND(Object arg0, Object arg1) { ^ /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/src/main/java/org/glassfish/tyrus/core/l10n/LocalizationMessages.java:335: warning: no @param for arg1 public static String PROVIDER_NOT_FOUND(Object arg0, Object arg1) { ^ /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/src/main/java/org/glassfish/tyrus/core/l10n/LocalizationMessages.java:335: warning: no @return public static String PROVIDER_NOT_FOUND(Object arg0, Object arg1) { ^ /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/src/main/java/org/glassfish/tyrus/core/l10n/LocalizationMessages.java:347: warning: no @return public static String PARTIAL_MESSAGE_BUFFER_OVERFLOW() { ^ /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/src/main/java/org/glassfish/tyrus/core/l10n/LocalizationMessages.java:359: warning: no @return public static String RSV_INCORRECTLY_SET() { ^ /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/src/main/java/org/glassfish/tyrus/core/l10n/LocalizationMessages.java:371: warning: no @param for arg0 public static String URI_COMPONENT_ENCODED_OCTET_MALFORMED(Object arg0) { ^ /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/src/main/java/org/glassfish/tyrus/core/l10n/LocalizationMessages.java:371: warning: no @return public static String URI_COMPONENT_ENCODED_OCTET_MALFORMED(Object arg0) { ^ /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/src/main/java/org/glassfish/tyrus/core/l10n/LocalizationMessages.java:383: warning: no @return public static String CONTROL_FRAME_FRAGMENTED() { ^ /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/src/main/java/org/glassfish/tyrus/core/l10n/LocalizationMessages.java:395: warning: no @param for arg0 public static String CLASS_CHECKER_MULTIPLE_IDENTICAL_PARAMS(Object arg0, Object arg1) { ^ /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/src/main/java/org/glassfish/tyrus/core/l10n/LocalizationMessages.java:395: warning: no @param for arg1 public static String CLASS_CHECKER_MULTIPLE_IDENTICAL_PARAMS(Object arg0, Object arg1) { ^ /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/src/main/java/org/glassfish/tyrus/core/l10n/LocalizationMessages.java:395: warning: no @return public static String CLASS_CHECKER_MULTIPLE_IDENTICAL_PARAMS(Object arg0, Object arg1) { ^ /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/src/main/java/org/glassfish/tyrus/core/l10n/LocalizationMessages.java:407: warning: no @return public static String AUTHENTICATION_CREATE_AUTH_HEADER_FAILED() { ^ /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/src/main/java/org/glassfish/tyrus/core/l10n/LocalizationMessages.java:419: warning: no @param for arg0 public static String MESSAGE_HANDLER_ALREADY_REGISTERED_TYPE(Object arg0) { ^ /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/src/main/java/org/glassfish/tyrus/core/l10n/LocalizationMessages.java:419: warning: no @return public static String MESSAGE_HANDLER_ALREADY_REGISTERED_TYPE(Object arg0) { ^ /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/src/main/java/org/glassfish/tyrus/core/l10n/LocalizationMessages.java:431: warning: no @param for arg0 public static String CLASS_CHECKER_MANDATORY_PARAM_MISSING(Object arg0, Object arg1) { ^ /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/src/main/java/org/glassfish/tyrus/core/l10n/LocalizationMessages.java:431: warning: no @param for arg1 public static String CLASS_CHECKER_MANDATORY_PARAM_MISSING(Object arg0, Object arg1) { ^ /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/src/main/java/org/glassfish/tyrus/core/l10n/LocalizationMessages.java:431: warning: no @return public static String CLASS_CHECKER_MANDATORY_PARAM_MISSING(Object arg0, Object arg1) { ^ /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/src/main/java/org/glassfish/tyrus/core/l10n/LocalizationMessages.java:443: warning: no @param for arg0 public static String ENDPOINT_WRONG_PATH_PARAM(Object arg0, Object arg1) { ^ /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/src/main/java/org/glassfish/tyrus/core/l10n/LocalizationMessages.java:443: warning: no @param for arg1 public static String ENDPOINT_WRONG_PATH_PARAM(Object arg0, Object arg1) { ^ /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/src/main/java/org/glassfish/tyrus/core/l10n/LocalizationMessages.java:443: warning: no @return public static String ENDPOINT_WRONG_PATH_PARAM(Object arg0, Object arg1) { ^ /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/src/main/java/org/glassfish/tyrus/core/l10n/LocalizationMessages.java:455: warning: no @return public static String CONNECTION_HAS_BEEN_CLOSED() { ^ /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/src/main/java/org/glassfish/tyrus/core/l10n/LocalizationMessages.java:467: warning: no @return public static String HANDSHAKE_HTTP_RETRY_AFTER_MESSAGE() { ^ /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/src/main/java/org/glassfish/tyrus/core/l10n/LocalizationMessages.java:479: warning: no @param for arg0 public static String DEPENDENT_CLASS_OF_PROVIDER_NOT_FOUND(Object arg0, Object arg1, Object arg2) { ^ /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/src/main/java/org/glassfish/tyrus/core/l10n/LocalizationMessages.java:479: warning: no @param for arg1 public static String DEPENDENT_CLASS_OF_PROVIDER_NOT_FOUND(Object arg0, Object arg1, Object arg2) { ^ /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/src/main/java/org/glassfish/tyrus/core/l10n/LocalizationMessages.java:479: warning: no @param for arg2 public static String DEPENDENT_CLASS_OF_PROVIDER_NOT_FOUND(Object arg0, Object arg1, Object arg2) { ^ /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/src/main/java/org/glassfish/tyrus/core/l10n/LocalizationMessages.java:479: warning: no @return public static String DEPENDENT_CLASS_OF_PROVIDER_NOT_FOUND(Object arg0, Object arg1, Object arg2) { ^ /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/src/main/java/org/glassfish/tyrus/core/l10n/LocalizationMessages.java:491: warning: no @return public static String FRAME_WRITE_CANCELLED() { ^ /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/src/main/java/org/glassfish/tyrus/core/l10n/LocalizationMessages.java:503: warning: no @return public static String UNEXPECTED_ERROR_CONNECTION_CLOSE() { ^ Command line was: /opt/tools/java/openjdk/jdk-11/latest/bin/javadoc -J-Xmx512m -J-Xms128m @options @packages Refer to the generated Javadoc files in '/home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/apidocs' dir. at org.apache.maven.plugins.javadoc.AbstractJavadocMojo.executeJavadocCommandLine (AbstractJavadocMojo.java:5298) at org.apache.maven.plugins.javadoc.AbstractJavadocMojo.executeReport (AbstractJavadocMojo.java:2134) at org.apache.maven.plugins.javadoc.JavadocJar.doExecute (JavadocJar.java:190) at org.apache.maven.plugins.javadoc.AbstractJavadocMojo.execute (AbstractJavadocMojo.java:1912) at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo (DefaultBuildPluginManager.java:137) at org.apache.maven.lifecycle.internal.MojoExecutor.doExecute (MojoExecutor.java:301) at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:211) at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:165) at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:157) at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:121) at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:81) at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build (SingleThreadedBuilder.java:56) at org.apache.maven.lifecycle.internal.LifecycleStarter.execute (LifecycleStarter.java:127) at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:294) at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:192) at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:105) at org.apache.maven.cli.MavenCli.execute (MavenCli.java:960) at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:293) at org.apache.maven.cli.MavenCli.main (MavenCli.java:196) at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0 (Native Method) at jdk.internal.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:62) at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke (Method.java:566) at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced (Launcher.java:282) at org.codehaus.plexus.classworlds.launcher.Launcher.launch (Launcher.java:225) at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode (Launcher.java:406) at org.codehaus.plexus.classworlds.launcher.Launcher.main (Launcher.java:347) [INFO] Building jar: /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/websocket-ri-bundle-1.19-javadoc.jar [INFO] [INFO] --- maven-source-plugin:2.2.1:jar-no-fork (attach-sources) @ websocket-ri-bundle --- [INFO] Building jar: /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/websocket-ri-bundle-1.19-sources.jar [INFO] [INFO] --- maven-install-plugin:3.0.0-M1:install (default-install) @ websocket-ri-bundle --- [INFO] Installing /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/websocket-ri-bundle-1.19.jar to /home/jenkins/.m2/repository/org/glassfish/tyrus/bundles/websocket-ri-bundle/1.19/websocket-ri-bundle-1.19.jar [INFO] Installing /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/pom.xml to /home/jenkins/.m2/repository/org/glassfish/tyrus/bundles/websocket-ri-bundle/1.19/websocket-ri-bundle-1.19.pom [INFO] Installing /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/websocket-ri-bundle-1.19-javadoc.jar to /home/jenkins/.m2/repository/org/glassfish/tyrus/bundles/websocket-ri-bundle/1.19/websocket-ri-bundle-1.19-javadoc.jar [INFO] Installing /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/websocket-ri-bundle-1.19-sources.jar to /home/jenkins/.m2/repository/org/glassfish/tyrus/bundles/websocket-ri-bundle/1.19/websocket-ri-bundle-1.19-sources.jar [INFO] [INFO] --- maven-bundle-plugin:2.4.0:install (default-install) @ websocket-ri-bundle --- [INFO] Installing org/glassfish/tyrus/bundles/websocket-ri-bundle/1.19/websocket-ri-bundle-1.19.jar [INFO] Writing OBR metadata [INFO] ------------------------------------------------------------------------ [INFO] Reactor Summary for tyrus 1.19: [INFO] [INFO] tyrus .............................................. SUCCESS [ 17.141 s] [INFO] tyrus-archetypes ................................... SUCCESS [ 1.818 s] [INFO] Tyrus Echo Archetype ............................... SUCCESS [ 10.734 s] [INFO] Tyrus BOM .......................................... SUCCESS [ 0.003 s] [INFO] Tyrus Container SPI ................................ SUCCESS [ 8.015 s] [INFO] Tyrus Core ......................................... SUCCESS [ 12.543 s] [INFO] Tyrus Client ....................................... SUCCESS [ 0.463 s] [INFO] Tyrus Container Modules ............................ SUCCESS [ 0.005 s] [INFO] Tyrus Containers For Glassfish ..................... SUCCESS [ 0.004 s] [INFO] Tyrus CDI Component Provider ....................... SUCCESS [ 0.493 s] [INFO] Tyrus EJB Component Provider ....................... SUCCESS [ 0.410 s] [INFO] Tyrus Grizzly Client Container ..................... SUCCESS [ 0.995 s] [INFO] Tyrus Server ....................................... SUCCESS [ 0.211 s] [INFO] Tyrus Grizzly Server Container ..................... SUCCESS [ 0.252 s] [INFO] Tyrus InMemory Container ........................... SUCCESS [ 0.156 s] [INFO] Tyrus Servlet Bundle ............................... SUCCESS [ 7.160 s] [INFO] Tyrus Tests ........................................ SUCCESS [ 0.023 s] [INFO] Tyrus Test Tools ................................... SUCCESS [ 0.205 s] [INFO] Tyrus JDK Client Container ......................... SUCCESS [ 0.431 s] [INFO] Tyrus Documentation ................................ SUCCESS [ 27.138 s] [INFO] Tyrus Extension Modules ............................ SUCCESS [ 0.005 s] [INFO] Tyrus CLI Client ................................... SUCCESS [ 2.236 s] [INFO] Tyrus Monitoring JMX ............................... SUCCESS [ 0.503 s] [INFO] Tyrus Extension - Per Message Deflate .............. SUCCESS [ 0.175 s] [INFO] Tyrus Java8 Client Extension ....................... SUCCESS [ 0.175 s] [INFO] Tyrus Samples ...................................... SUCCESS [ 0.004 s] [INFO] Tyrus Auction Sample ............................... SUCCESS [ 1.421 s] [INFO] Tyrus CDI Sample ................................... SUCCESS [ 0.468 s] [INFO] Tyrus Chat Sample .................................. SUCCESS [ 0.222 s] [INFO] Tyrus Draw Sample .................................. SUCCESS [ 0.177 s] [INFO] Tyrus Echo Sample .................................. SUCCESS [ 0.216 s] [INFO] Tyrus Basic Auth Sample ............................ SUCCESS [ 0.194 s] [INFO] Tyrus Secure Echo Sample ........................... SUCCESS [ 0.226 s] [INFO] Tyrus Programmatic Echo Sample ..................... SUCCESS [ 0.265 s] [INFO] Tyrus Simple Life Sample ........................... SUCCESS [ 0.136 s] [INFO] Tyrus Shared Collection Sample ..................... SUCCESS [ 2.770 s] [INFO] Tyrus End-to-End Tests ............................. SUCCESS [ 0.004 s] [INFO] Tyrus End-to-End Application Config Tests .......... SUCCESS [ 0.257 s] [INFO] Tyrus End-to-End Non-deployable Tests .............. SUCCESS [ 0.431 s] [INFO] Tyrus End-to-End Standard Config Tests ............. SUCCESS [ 0.907 s] [INFO] Tyrus End-to-End Java 8 Tests ...................... SUCCESS [ 0.209 s] [INFO] Tyrus End-to-End Tests running on Jetty ............ SUCCESS [ 0.005 s] [INFO] Tyrus End-to-End Basic Auth Tests .................. SUCCESS [ 8.525 s] [INFO] Tyrus End-to-End Digest Auth Tests ................. SUCCESS [ 0.717 s] [INFO] Tyrus Server Integration Tests ..................... SUCCESS [ 0.004 s] [INFO] Tyrus Servlet Async Tests .......................... SUCCESS [ 0.134 s] [INFO] Tyrus Autobahn Echo Server ......................... SUCCESS [ 0.130 s] [INFO] Tyrus Servlet Basic Tests .......................... SUCCESS [ 0.302 s] [INFO] Tyrus Servlet Dynamic Deploy Test .................. SUCCESS [ 0.190 s] [INFO] Tyrus Servlet No App Config ........................ SUCCESS [ 0.189 s] [INFO] Tyrus Servlet One App Config ....................... SUCCESS [ 0.298 s] [INFO] Tyrus Servlet RemoteEndpoint Timeout ............... SUCCESS [ 0.207 s] [INFO] Tyrus Servlet Session Closing ...................... SUCCESS [ 0.291 s] [INFO] Tyrus Servlet Two App Config ....................... SUCCESS [ 0.131 s] [INFO] Tyrus Servlet Monitoring Test ...................... SUCCESS [ 0.163 s] [INFO] Tyrus Servlet Inject Test .......................... SUCCESS [ 0.106 s] [INFO] Tyrus Servlet Max Sessions Per App Tests ........... SUCCESS [ 0.144 s] [INFO] Tyrus Servlet Max Sessions Per Remote Addr Tests ... SUCCESS [ 0.172 s] [INFO] Tyrus Debug Debug Samples .......................... SUCCESS [ 0.108 s] [INFO] Tyrus Bundles ...................................... SUCCESS [ 0.004 s] [INFO] Tyrus Samples Bundle ............................... SUCCESS [ 3.926 s] [INFO] Tyrus Standalone Client ............................ SUCCESS [ 7.339 s] [INFO] Tyrus Standalone Client - JDK ...................... SUCCESS [ 4.227 s] [INFO] Tyrus Websocket RI Archive ......................... SUCCESS [ 1.937 s] [INFO] Tyrus Websocket RI Bundle .......................... SUCCESS [ 6.690 s] [INFO] ------------------------------------------------------------------------ [INFO] BUILD SUCCESS [INFO] ------------------------------------------------------------------------ [INFO] Total time: 02:34 min [INFO] Finished at: 2022-06-20T12:57:19Z [INFO] ------------------------------------------------------------------------ + git clone git@github.com:eclipse-ee4j/tyrus-project.github.io.git 1.19 Cloning into '1.19'... + cd 1.19/apidocs + mkdir 1.19 + cp -a /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/apidocs/allclasses.html /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/apidocs/allclasses-index.html /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/apidocs/allpackages-index.html /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/apidocs/constant-values.html /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/apidocs/deprecated-list.html /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/apidocs/element-list /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/apidocs/help-doc.html /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/apidocs/index-all.html /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/apidocs/index.html /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/apidocs/javadoc.sh /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/apidocs/javax /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/apidocs/jquery /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/apidocs/member-search-index.js /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/apidocs/member-search-index.zip /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/apidocs/options /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/apidocs/org /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/apidocs/overview-summary.html /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/apidocs/overview-tree.html /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/apidocs/packages /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/apidocs/package-search-index.js /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/apidocs/package-search-index.zip /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/apidocs/resources /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/apidocs/script.js /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/apidocs/search.js /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/apidocs/serialized-form.html /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/apidocs/stylesheet.css /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/apidocs/type-search-index.js /home/jenkins/agent/workspace/documentation-update-after-release/bundles/websocket-ri-bundle/target/apidocs/type-search-index.zip 1.19/ + rm -rf latest1x/allclasses-frame.html latest1x/allclasses-noframe.html latest1x/constant-values.html latest1x/deprecated-list.html latest1x/help-doc.html latest1x/index-all.html latest1x/index.html latest1x/javadoc.sh latest1x/javax latest1x/options latest1x/org latest1x/overview-frame.html latest1x/overview-summary.html latest1x/overview-tree.html latest1x/package-list latest1x/packages latest1x/script.js latest1x/serialized-form.html latest1x/stylesheet.css + cp -a 1.19/allclasses.html 1.19/allclasses-index.html 1.19/allpackages-index.html 1.19/constant-values.html 1.19/deprecated-list.html 1.19/element-list 1.19/help-doc.html 1.19/index-all.html 1.19/index.html 1.19/javadoc.sh 1.19/javax 1.19/jquery 1.19/member-search-index.js 1.19/member-search-index.zip 1.19/options 1.19/org 1.19/overview-summary.html 1.19/overview-tree.html 1.19/packages 1.19/package-search-index.js 1.19/package-search-index.zip 1.19/resources 1.19/script.js 1.19/search.js 1.19/serialized-form.html 1.19/stylesheet.css 1.19/type-search-index.js 1.19/type-search-index.zip latest1x/ + git config --local user.email tyrus-bot@eclipse.org + git config --local user.name tyrus-bot + git add -A . + git diff --cached --exit-code diff --git a/apidocs/1.19/allclasses-index.html b/apidocs/1.19/allclasses-index.html new file mode 100644 index 00000000..e3c882c3 --- /dev/null +++ b/apidocs/1.19/allclasses-index.html @@ -0,0 +1,1534 @@ + + + + + +All Classes (Tyrus 1.19 API) + + + + + + + + + + + + + + +

JavaScript is disabled on your browser.
+ +
+ +
+
+
+

All Classes

+
+
+ +
+
+ + + diff --git a/apidocs/latest1x/allclasses-noframe.html b/apidocs/1.19/allclasses.html similarity index 96% rename from apidocs/latest1x/allclasses-noframe.html rename to apidocs/1.19/allclasses.html index 3f20b3e7..760a909b 100644 --- a/apidocs/latest1x/allclasses-noframe.html +++ b/apidocs/1.19/allclasses.html @@ -1,17 +1,26 @@ - + - + +All Classes (Tyrus 1.19 API) -All Classes (Tyrus 1.18 API) - + + + + + + + +

All Classes

- + diff --git a/apidocs/1.19/allpackages-index.html b/apidocs/1.19/allpackages-index.html new file mode 100644 index 00000000..e823be11 --- /dev/null +++ b/apidocs/1.19/allpackages-index.html @@ -0,0 +1,293 @@ + + + + + +All Packages (Tyrus 1.19 API) + + + + + + + + + + + + + + + +
+ +
+
+
+

All Packages

+
+
+ +
+
+ + + diff --git a/apidocs/1.19/constant-values.html b/apidocs/1.19/constant-values.html new file mode 100644 index 00000000..835656a4 --- /dev/null +++ b/apidocs/1.19/constant-values.html @@ -0,0 +1,1063 @@ + + + + + +Constant Field Values (Tyrus 1.19 API) + + + + + + + + + + + + + + + +
+ +
+
+
+

Constant Field Values

+
+

Contents

+ +
+
+
+ + +
+

javax.websocket.*

+ + +
+ + + +
+

org.glassfish.*

+ +
    +
  • + + + + + + + + + + + + + + + + + + + + + + + + +
    org.glassfish.tyrus.container.grizzly.client.GrizzlyClientContainer 
    Modifier and TypeConstant FieldValue
    + +public static final java.lang.StringSHARED_CONTAINER"org.glassfish.tyrus.client.sharedContainer"
    + +public static final java.lang.StringSHARED_CONTAINER_IDLE_TIMEOUT"org.glassfish.tyrus.client.sharedContainerIdleTimeout"
    + +public static final java.lang.StringSSL_ENGINE_CONFIGURATOR"org.glassfish.tyrus.client.sslEngineConfigurator"
    +
  • +
  • + + + + + + + + + + + + + + + + + + + +
    org.glassfish.tyrus.container.grizzly.client.GrizzlyClientProperties 
    Modifier and TypeConstant FieldValue
    + +public static final java.lang.StringSELECTOR_THREAD_POOL_CONFIG"org.glassfish.tyrus.client.grizzly.selectorThreadPoolConfig"
    + +public static final java.lang.StringWORKER_THREAD_POOL_CONFIG"org.glassfish.tyrus.client.grizzly.workerThreadPoolConfig"
    +
  • +
  • + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    org.glassfish.tyrus.container.grizzly.client.GrizzlyClientSocket 
    Modifier and TypeConstant FieldValue
    + +public static final java.lang.StringPROXY_HEADERS"org.glassfish.tyrus.client.proxy.headers"
    + +public static final java.lang.StringPROXY_URI"org.glassfish.tyrus.client.proxy"
    + +public static final java.lang.StringSELECTOR_THREAD_POOL_CONFIG"org.glassfish.tyrus.client.grizzly.selectorThreadPoolConfig"
    + +public static final java.lang.StringWORKER_THREAD_POOL_CONFIG"org.glassfish.tyrus.client.grizzly.workerThreadPoolConfig"
    +
  • +
+
    +
  • + + + + + + + + + + + + + + + + + + + +
    org.glassfish.tyrus.container.grizzly.server.GrizzlyServerContainer 
    Modifier and TypeConstant FieldValue
    + +public static final java.lang.StringSELECTOR_THREAD_POOL_CONFIG"org.glassfish.tyrus.container.grizzly.server.selectorThreadPoolConfig"
    + +public static final java.lang.StringWORKER_THREAD_POOL_CONFIG"org.glassfish.tyrus.container.grizzly.server.workerThreadPoolConfig"
    +
  • +
+
    +
  • + + + + + + + + + + + + + + +
    org.glassfish.tyrus.core.ProtocolHandler 
    Modifier and TypeConstant FieldValue
    + +public static final intMASK_SIZE4
    +
  • +
  • + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    org.glassfish.tyrus.core.TyrusWebSocketEngine 
    Modifier and TypeConstant FieldValue
    + +public static final java.lang.StringINCOMING_BUFFER_SIZE"org.glassfish.tyrus.incomingBufferSize"
    + +public static final java.lang.StringMAX_SESSIONS_PER_APP"org.glassfish.tyrus.maxSessionsPerApp"
    + +public static final java.lang.StringMAX_SESSIONS_PER_REMOTE_ADDR"org.glassfish.tyrus.maxSessionsPerRemoteAddr"
    + +public static final java.lang.StringPARALLEL_BROADCAST_ENABLED"org.glassfish.tyrus.server.parallelBroadcastEnabled"
    + +public static final java.lang.StringTRACING_THRESHOLD"org.glassfish.tyrus.server.tracingThreshold"
    + +public static final java.lang.StringTRACING_TYPE"org.glassfish.tyrus.server.tracingType"
    + +public static final java.lang.StringWSADL_SUPPORT"org.glassfish.tyrus.server.wsadl"
    +
  • +
+
    +
  • + + + + + + + + + + + + + + +
    org.glassfish.tyrus.core.cluster.ClusterContext 
    Modifier and TypeConstant FieldValue
    + +public static final java.lang.StringCLUSTER_CONTEXT"org.glassfish.tyrus.core.cluster.ClusterContext"
    +
  • +
+
    +
  • + + + + + + + + + + + + + + +
    org.glassfish.tyrus.core.l10n.Localizable 
    Modifier and TypeConstant FieldValue
    + +public static final java.lang.StringNOT_LOCALIZABLE"\u0000"
    +
  • +
+ +
    +
  • + + + + + + + + + + + + + + +
    org.glassfish.tyrus.server.Server 
    Modifier and TypeConstant FieldValue
    + +public static final java.lang.StringSTATIC_CONTENT_ROOT"org.glassfish.tyrus.server.staticContentRoot"
    +
  • +
+
    +
  • + + + + + + + + + + + + + + +
    org.glassfish.tyrus.servlet.TyrusHttpUpgradeHandler 
    Modifier and TypeConstant FieldValue
    + +public static final java.lang.StringFRAME_BUFFER_SIZE"org.glassfish.tyrus.servlet.incoming-buffer-size"
    +
  • +
+ +
+
+
+ + + diff --git a/apidocs/1.19/deprecated-list.html b/apidocs/1.19/deprecated-list.html new file mode 100644 index 00000000..45428577 --- /dev/null +++ b/apidocs/1.19/deprecated-list.html @@ -0,0 +1,294 @@ + + + + + +Deprecated List (Tyrus 1.19 API) + + + + + + + + + + + + + + + +
+ +
+
+
+

Deprecated API

+

Contents

+ +
+
+ + + + + + + +
+
+
+ +

Copyright © 2012–2022 Oracle Corporation. All rights reserved.

+
+ + diff --git a/apidocs/latest1x/package-list b/apidocs/1.19/element-list similarity index 94% rename from apidocs/latest1x/package-list rename to apidocs/1.19/element-list index f726e727..5d409fdb 100644 --- a/apidocs/latest1x/package-list +++ b/apidocs/1.19/element-list @@ -7,6 +7,7 @@ org.glassfish.tyrus.container.grizzly.server org.glassfish.tyrus.core org.glassfish.tyrus.core.cluster org.glassfish.tyrus.core.coder +org.glassfish.tyrus.core.collection org.glassfish.tyrus.core.extension org.glassfish.tyrus.core.frame org.glassfish.tyrus.core.l10n diff --git a/apidocs/1.19/help-doc.html b/apidocs/1.19/help-doc.html new file mode 100644 index 00000000..6377fd66 --- /dev/null +++ b/apidocs/1.19/help-doc.html @@ -0,0 +1,282 @@ + + + + + +API Help (Tyrus 1.19 API) + + + + + + + + + + + + + + + +
+ +
+
+
+

How This API Document Is Organized

+
This API (Application Programming Interface) document has pages corresponding to the items in the navigation bar, described as follows.
+
+
+
    +
  • +
    +

    Overview

    +

    The Overview page is the front page of this API document and provides a list of all packages with a summary for each. This page can also contain an overall description of the set of packages.

    +
    +
  • +
  • +
    +

    Package

    +

    Each package has a page that contains a list of its classes and interfaces, with a summary for each. These pages may contain six categories:

    +
      +
    • Interfaces
    • +
    • Classes
    • +
    • Enums
    • +
    • Exceptions
    • +
    • Errors
    • +
    • Annotation Types
    • +
    +
    +
  • +
  • +
    +

    Class or Interface

    +

    Each class, interface, nested class and nested interface has its own separate page. Each of these pages has three sections consisting of a class/interface description, summary tables, and detailed member descriptions:

    +
      +
    • Class Inheritance Diagram
    • +
    • Direct Subclasses
    • +
    • All Known Subinterfaces
    • +
    • All Known Implementing Classes
    • +
    • Class or Interface Declaration
    • +
    • Class or Interface Description
    • +
    +
    +
      +
    • Nested Class Summary
    • +
    • Field Summary
    • +
    • Property Summary
    • +
    • Constructor Summary
    • +
    • Method Summary
    • +
    +
    +
      +
    • Field Detail
    • +
    • Property Detail
    • +
    • Constructor Detail
    • +
    • Method Detail
    • +
    +

    Each summary entry contains the first sentence from the detailed description for that item. The summary entries are alphabetical, while the detailed descriptions are in the order they appear in the source code. This preserves the logical groupings established by the programmer.

    +
    +
  • +
  • +
    +

    Annotation Type

    +

    Each annotation type has its own separate page with the following sections:

    +
      +
    • Annotation Type Declaration
    • +
    • Annotation Type Description
    • +
    • Required Element Summary
    • +
    • Optional Element Summary
    • +
    • Element Detail
    • +
    +
    +
  • +
  • +
    +

    Enum

    +

    Each enum has its own separate page with the following sections:

    +
      +
    • Enum Declaration
    • +
    • Enum Description
    • +
    • Enum Constant Summary
    • +
    • Enum Constant Detail
    • +
    +
    +
  • +
  • +
    +

    Use

    +

    Each documented package, class and interface has its own Use page. This page describes what packages, classes, methods, constructors and fields use any part of the given class or package. Given a class or interface A, its "Use" page includes subclasses of A, fields declared as A, methods that return A, and methods and constructors with parameters of type A. You can access this page by first going to the package, class or interface, then clicking on the "Use" link in the navigation bar.

    +
    +
  • +
  • +
    +

    Tree (Class Hierarchy)

    +

    There is a Class Hierarchy page for all packages, plus a hierarchy for each package. Each hierarchy page contains a list of classes and a list of interfaces. Classes are organized by inheritance structure starting with java.lang.Object. Interfaces do not inherit from java.lang.Object.

    +
      +
    • When viewing the Overview page, clicking on "Tree" displays the hierarchy for all packages.
    • +
    • When viewing a particular package, class or interface page, clicking on "Tree" displays the hierarchy for only that package.
    • +
    +
    +
  • +
  • +
    +

    Deprecated API

    +

    The Deprecated API page lists all of the API that have been deprecated. A deprecated API is not recommended for use, generally due to improvements, and a replacement API is usually given. Deprecated APIs may be removed in future implementations.

    +
    +
  • +
  • +
    +

    Index

    +

    The Index contains an alphabetic index of all classes, interfaces, constructors, methods, and fields, as well as lists of all packages and all classes.

    +
    +
  • +
  • +
    +

    All Classes

    +

    The All Classes link shows all classes and interfaces except non-static nested types.

    +
    +
  • +
  • +
    +

    Serialized Form

    +

    Each serializable or externalizable class has a description of its serialization fields and methods. This information is of interest to re-implementors, not to developers using the API. While there is no link in the navigation bar, you can get to this information by going to any serialized class and clicking "Serialized Form" in the "See also" section of the class description.

    +
    +
  • +
  • +
    +

    Constant Field Values

    +

    The Constant Field Values page lists the static final fields and their values.

    +
    +
  • +
  • +
    +

    Search

    +

    You can search for definitions of modules, packages, types, fields, methods and other terms defined in the API, using some or all of the name. "Camel-case" abbreviations are supported: for example, "InpStr" will find "InputStream" and "InputStreamReader".

    +
    +
  • +
+
+This help file applies to API documentation generated by the standard doclet.
+
+
+ +

Copyright © 2012–2022 Oracle Corporation. All rights reserved.

+
+ + diff --git a/apidocs/1.19/index-all.html b/apidocs/1.19/index-all.html new file mode 100644 index 00000000..ff49cd94 --- /dev/null +++ b/apidocs/1.19/index-all.html @@ -0,0 +1,6979 @@ + + + + + +Index (Tyrus 1.19 API) + + + + + + + + + + + + + + + +
+ +
+
+
A B C D E F G H I J K L M N O P Q R S T U V W 
All Classes All Packages + + +

A

+
+
AbstractMultivaluedMap<K,​V> - Class in org.glassfish.tyrus.core.uri.internal
+
+
Abstract skeleton implementation of a MultivaluedMap that is backed + by a [key, multi-value] store represented as a Map<K, List<V>>.
+
+
AbstractMultivaluedMap(Map<K, List<V>>) - Constructor for class org.glassfish.tyrus.core.uri.internal.AbstractMultivaluedMap
+
+
Initialize the backing store in the abstract parent multivalued map + implementation.
+
+
add(K, V) - Method in class org.glassfish.tyrus.core.uri.internal.AbstractMultivaluedMap
+
+
Add a value to the current list of values for the supplied key.
+
+
add(K, V) - Method in interface org.glassfish.tyrus.core.uri.internal.MultivaluedMap
+
+
Add a value to the current list of values for the supplied key.
+
+
addAll(K, List<V>) - Method in class org.glassfish.tyrus.core.uri.internal.AbstractMultivaluedMap
+
+
Add all the values from the supplied value list to the current list of + values for the supplied key.
+
+
addAll(K, List<V>) - Method in interface org.glassfish.tyrus.core.uri.internal.MultivaluedMap
+
+
Add all the values from the supplied value list to the current list of + values for the supplied key.
+
+
addAll(K, V...) - Method in class org.glassfish.tyrus.core.uri.internal.AbstractMultivaluedMap
+
+
Add multiple values to the current list of values for the supplied key.
+
+
addAll(K, V...) - Method in interface org.glassfish.tyrus.core.uri.internal.MultivaluedMap
+
+
Add multiple values to the current list of values for the supplied key.
+
+
addEndpoint(Class<?>) - Method in interface javax.websocket.server.ServerContainer
+
+
Deploys the given annotated endpoint into this ServerContainer during the + initialization phase of deploying the application.
+
+
addEndpoint(Class<?>) - Method in class org.glassfish.tyrus.server.TyrusServerContainer
+
 
+
addEndpoint(ServerEndpointConfig) - Method in interface javax.websocket.server.ServerContainer
+
 
+
addEndpoint(ServerEndpointConfig) - Method in class org.glassfish.tyrus.server.TyrusServerContainer
+
 
+
addException(Exception) - Method in class org.glassfish.tyrus.core.ErrorCollector
+
+
Add Exception to the collector.
+
+
addFirst(K, V) - Method in class org.glassfish.tyrus.core.uri.internal.AbstractMultivaluedMap
+
+
Add a value to the first position in the current list of values for the + supplied key.
+
+
addFirst(K, V) - Method in interface org.glassfish.tyrus.core.uri.internal.MultivaluedMap
+
+
Add a value to the first position in the current list of values for the + supplied key.
+
+
addFirstNull(List<String>) - Method in class org.glassfish.tyrus.core.uri.internal.MultivaluedStringMap
+
 
+
addFirstNull(List<V>) - Method in class org.glassfish.tyrus.core.uri.internal.AbstractMultivaluedMap
+
+
Define the behavior for adding a null values to the first position + in the value list.
+
+
addMessageHandler(Class<T>, MessageHandler.Partial<T>) - Method in interface javax.websocket.Session
+
+
Register to handle to incoming messages in this conversation.
+
+
addMessageHandler(Class<T>, MessageHandler.Partial<T>) - Method in class org.glassfish.tyrus.core.cluster.RemoteSession
+
+
This method is not supported on RemoteSession.
+
+
addMessageHandler(Class<T>, MessageHandler.Partial<T>) - Method in class org.glassfish.tyrus.core.MessageHandlerManager
+
+
Add MessageHandler.Partial to the manager.
+
+
addMessageHandler(Class<T>, MessageHandler.Partial<T>) - Method in class org.glassfish.tyrus.core.TyrusSession
+
+
Register to handle to incoming messages in this conversation.
+
+
addMessageHandler(Class<T>, MessageHandler.Whole<T>) - Method in interface javax.websocket.Session
+
+
Register to handle to incoming messages in this conversation.
+
+
addMessageHandler(Class<T>, MessageHandler.Whole<T>) - Method in class org.glassfish.tyrus.core.cluster.RemoteSession
+
+
This method is not supported on RemoteSession.
+
+
addMessageHandler(Class<T>, MessageHandler.Whole<T>) - Method in class org.glassfish.tyrus.core.MessageHandlerManager
+
+
Add MessageHandler.Whole to the manager.
+
+
addMessageHandler(Class<T>, MessageHandler.Whole<T>) - Method in class org.glassfish.tyrus.core.TyrusSession
+
+
Register to handle to incoming messages in this conversation.
+
+
addMessageHandler(MessageHandler) - Method in interface javax.websocket.Session
+
+
Register to handle to incoming messages in this conversation.
+
+
addMessageHandler(MessageHandler) - Method in class org.glassfish.tyrus.core.cluster.RemoteSession
+
+
This method is not supported on RemoteSession.
+
+
addMessageHandler(MessageHandler) - Method in class org.glassfish.tyrus.core.MessageHandlerManager
+
+
Add MessageHandler to the manager.
+
+
addMessageHandler(MessageHandler) - Method in class org.glassfish.tyrus.core.TyrusSession
+
+ +
+
addNull(List<String>) - Method in class org.glassfish.tyrus.core.uri.internal.MultivaluedStringMap
+
 
+
addNull(List<V>) - Method in class org.glassfish.tyrus.core.uri.internal.AbstractMultivaluedMap
+
+
Define the behavior for adding a null values to the value list.
+
+
afterResponse(HandshakeResponse) - Method in class javax.websocket.ClientEndpointConfig.Configurator
+
+
This method is called by the implementation after it has received a handshake response + from the server as a result of a handshake interaction it initiated.
+
+
ALL - org.glassfish.tyrus.core.DebugContext.TracingType
+
+
Tracing headers will be present in all handshake responses.
+
+
ALL - Static variable in class org.glassfish.tyrus.core.coder.PrimitiveDecoders
+
 
+
ALL_INSTANCES - Static variable in class org.glassfish.tyrus.core.coder.PrimitiveDecoders
+
 
+
AnnotatedEndpoint - Class in org.glassfish.tyrus.core
+
+
Endpoint descendant which represents deployed annotated endpoint.
+
+
ANOTHER_UPGRADE_REQUEST_REQUIRED - org.glassfish.tyrus.spi.ClientEngine.ClientUpgradeStatus
+
+
Client engine needs to send another request.
+
+
any - Variable in class org.glassfish.tyrus.core.wsadl.model.Application
+
 
+
appendBuffers(ByteBuffer, ByteBuffer, int, int) - Static method in class org.glassfish.tyrus.core.Utils
+
+
Concatenates two buffers into one.
+
+
appendLogMessage(Logger, Level, DebugContext.Type, Object...) - Method in class org.glassfish.tyrus.core.DebugContext
+
+
Append a message to the log, the logging will be postponed until the message can be provided with a session ID.
+
+
appendLogMessageWithThrowable(Logger, Level, DebugContext.Type, Throwable, Object...) - Method in class org.glassfish.tyrus.core.DebugContext
+
+
Append a message to the log, the logging will be postponed until the message can be provided with a session ID.
+
+
appendStandardOutputMessage(DebugContext.Type, String) - Method in class org.glassfish.tyrus.core.DebugContext
+
+
Write a message to the standard output, the logging will be postponed until the message can be provided with + a session ID.
+
+
appendTraceMessage(Logger, Level, DebugContext.Type, Object...) - Method in class org.glassfish.tyrus.core.DebugContext
+
+
Append a message to the log and to the list of trace messages that are sent in handshake response.
+
+
appendTraceMessageWithThrowable(Logger, Level, DebugContext.Type, Throwable, Object...) - Method in class org.glassfish.tyrus.core.DebugContext
+
+
Append a message to the log and to the list of trace messages that are sent in handshake response.
+
+
Application - Class in org.glassfish.tyrus.core.wsadl.model
+
+
Java class for anonymous complex type.
+
+
Application() - Constructor for class org.glassfish.tyrus.core.wsadl.model.Application
+
 
+
APPLICATION_DATA_TOO_LONG(Object) - Static method in class org.glassfish.tyrus.core.l10n.LocalizationMessages
+
+
{0} applicationData exceeded the maximum allowed payload of 125 bytes.
+
+
APPLICATION_EVENT_LISTENER - Static variable in interface org.glassfish.tyrus.core.monitoring.ApplicationEventListener
+
+
A key used for registering a application event listener implementation.
+
+
applicationEventListener(ApplicationEventListener) - Method in class org.glassfish.tyrus.core.TyrusWebSocketEngine.TyrusWebSocketEngineBuilder
+
+ +
+
ApplicationEventListener - Interface in org.glassfish.tyrus.core.monitoring
+
+
Listens to application-level events that are interesting for monitoring.
+
+
ARGUMENT_NOT_NULL(Object) - Static method in class org.glassfish.tyrus.core.l10n.LocalizationMessages
+
+
Argument ''{0}'' cannot be null.
+
+
asClosed(PathPattern) - Static method in class org.glassfish.tyrus.core.uri.internal.PathPattern
+
+
Return a new path pattern with a same path template but a closed + right hand path.
+
+
ASYNC - org.glassfish.tyrus.spi.WriterInfo.RemoteEndpointType
+
+
RemoteEndpoint.Async
+
+
asyncConnectToServer(Class<?>, URI) - Method in class org.glassfish.tyrus.client.ClientManager
+
+ +
+
asyncConnectToServer(Class<?>, URI) - Method in class org.glassfish.tyrus.server.TyrusServerContainer
+
+ +
+
asyncConnectToServer(Class<? extends Endpoint>, ClientEndpointConfig, URI) - Method in class org.glassfish.tyrus.client.ClientManager
+
+ +
+
asyncConnectToServer(Class<? extends Endpoint>, ClientEndpointConfig, URI) - Method in class org.glassfish.tyrus.server.TyrusServerContainer
+
+ +
+
asyncConnectToServer(Object, URI) - Method in class org.glassfish.tyrus.client.ClientManager
+
+ +
+
asyncConnectToServer(Object, URI) - Method in class org.glassfish.tyrus.server.TyrusServerContainer
+
+ +
+
asyncConnectToServer(Endpoint, ClientEndpointConfig, URI) - Method in class org.glassfish.tyrus.client.ClientManager
+
+ +
+
asyncConnectToServer(Endpoint, ClientEndpointConfig, URI) - Method in class org.glassfish.tyrus.server.TyrusServerContainer
+
+ +
+
AUTH_CONFIG - Static variable in class org.glassfish.tyrus.client.ClientProperties
+
+
Authentication configuration.
+
+
AuthConfig - Class in org.glassfish.tyrus.client.auth
+
+
AuthConfig serves as a configuration of HTTP authentication.
+
+
AuthConfig.Builder - Class in org.glassfish.tyrus.client.auth
+
+
The AuthConfig.Builder is a class used for creating an instance of AuthConfig for purpose of HTTP + Authentication.
+
+
AUTHENTICATION_CREATE_AUTH_HEADER_FAILED() - Static method in class org.glassfish.tyrus.core.l10n.LocalizationMessages
+
+
Could not add authorization header in http request.
+
+
AUTHENTICATION_CREDENTIALS_MISSING() - Static method in class org.glassfish.tyrus.core.l10n.LocalizationMessages
+
+
Credentials are missing.
+
+
AUTHENTICATION_DIGEST_NO_SUCH_ALG() - Static method in class org.glassfish.tyrus.core.l10n.LocalizationMessages
+
+
No such algorithm to generate authorization digest http header.
+
+
AUTHENTICATION_DIGEST_QOP_UNSUPPORTED(Object) - Static method in class org.glassfish.tyrus.core.l10n.LocalizationMessages
+
+
The 'qop' (quality of protection) = {0} extension requested by the server is not supported by Tyrus.
+
+
AUTHENTICATION_FAILED() - Static method in class org.glassfish.tyrus.core.l10n.LocalizationMessages
+
+
Authentication failed.
+
+
AuthenticationException - Exception in org.glassfish.tyrus.client.auth
+
+
This exception is set as a cause of DeploymentException thrown when WebSocketContainer.connectToServer(...) + fails because of any of the following: + + + HTTP response status code 401 is received and ""WWW-Authenticate"" header + contains scheme which is not handled by any Authenticator registered in AuthConfig.
+
+
AuthenticationException(String) - Constructor for exception org.glassfish.tyrus.client.auth.AuthenticationException
+
+
Constructor.
+
+
Authenticator - Class in org.glassfish.tyrus.client.auth
+
+
Authenticator provides a way how to plug-in custom authentication provider.
+
+
Authenticator() - Constructor for class org.glassfish.tyrus.client.auth.Authenticator
+
 
+
AUTHORITY - org.glassfish.tyrus.core.uri.internal.UriComponent.Type
+
+
The URI authority component type.
+
+
AUTHORIZATION - Static variable in class org.glassfish.tyrus.spi.UpgradeRequest
+
+
HTTP "Authorization" header name.
+
+
+ + + +

B

+
+
BaseContainer - Class in org.glassfish.tyrus.core
+
+
Base WebSocket container.
+
+
BaseContainer() - Constructor for class org.glassfish.tyrus.core.BaseContainer
+
 
+
BaseContainer.ShutDownCondition - Interface in org.glassfish.tyrus.core
+
 
+
BASIC - org.glassfish.tyrus.spi.WriterInfo.RemoteEndpointType
+
+
RemoteEndpoint.Basic
+
+
beforeRequest(Map<String, List<String>>) - Method in class javax.websocket.ClientEndpointConfig.Configurator
+
+
This method is called by the implementation after it has formulated the handshake + request that will be used to initiate the connection to the server, but before it has + sent any part of the request.
+
+
Beta - Annotation Type in org.glassfish.tyrus.core
+
+
Marker of a public Tyrus API that is still in "beta" non-final version.
+
+
BINARY - org.glassfish.tyrus.core.frame.TyrusFrame.FrameType
+
+
Binary frame.
+
+
BINARY - org.glassfish.tyrus.spi.WriterInfo.MessageType
+
+
Binary type.
+
+
BINARY_CONTINUATION - org.glassfish.tyrus.core.frame.TyrusFrame.FrameType
+
+
Continuation binary frame.
+
+
BINARY_CONTINUATION - org.glassfish.tyrus.spi.WriterInfo.MessageType
+
+
Continuation binary type.
+
+
BINARY_MESSAGE_HANDLER_NOT_FOUND(Object) - Static method in class org.glassfish.tyrus.core.l10n.LocalizationMessages
+
+
Binary message handler not found.
+
+
BINARY_MESSAGE_OUT_OF_ORDER(Object) - Static method in class org.glassfish.tyrus.core.l10n.LocalizationMessages
+
+
Binary message received out of order.
+
+
BinaryFrame - Class in org.glassfish.tyrus.core.frame
+
+
Binary frame representation.
+
+
BinaryFrame(byte[], boolean, boolean) - Constructor for class org.glassfish.tyrus.core.frame.BinaryFrame
+
+
Constructor.
+
+
BinaryFrame(Frame) - Constructor for class org.glassfish.tyrus.core.frame.BinaryFrame
+
+
Constructor.
+
+
BinaryFrame(Frame, boolean) - Constructor for class org.glassfish.tyrus.core.frame.BinaryFrame
+
+
Constructor.
+
+
BooleanDecoder() - Constructor for class org.glassfish.tyrus.core.coder.PrimitiveDecoders.BooleanDecoder
+
 
+
broadcast(String) - Method in class org.glassfish.tyrus.core.TyrusSession
+
+
Broadcasts text message to all connected clients.
+
+
broadcast(ByteBuffer) - Method in class org.glassfish.tyrus.core.TyrusSession
+
+
Broadcasts binary message to all connected clients, including remote sessions (if any).
+
+
BROADCAST - org.glassfish.tyrus.spi.WriterInfo.RemoteEndpointType
+
+
Broadcast
+
+
broadcastBinary(String, byte[]) - Method in class org.glassfish.tyrus.core.cluster.ClusterContext
+
+
Broadcast binary message.
+
+
BroadcastListener - Interface in org.glassfish.tyrus.core.cluster
+
+
Broadcast listener.
+
+
broadcastText(String, String) - Method in class org.glassfish.tyrus.core.cluster.ClusterContext
+
+
Broadcast text message.
+
+
BUFFER_OVERFLOW() - Static method in class org.glassfish.tyrus.core.l10n.LocalizationMessages
+
+
Buffer overflow.
+
+
build() - Method in class javax.websocket.ClientEndpointConfig.Builder
+
+
Builds a configuration object using the attributes set + on this builder.
+
+
build() - Method in class javax.websocket.server.ServerEndpointConfig.Builder
+
+
Builds the configuration object using the current attributes + that have been set on this builder object.
+
+
build() - Method in class org.glassfish.tyrus.client.auth.AuthConfig.Builder
+
+
Build an instance of AuthConfig.
+
+
build() - Method in class org.glassfish.tyrus.core.frame.Frame.Builder
+
+
Build new frame.
+
+
build() - Method in class org.glassfish.tyrus.core.RequestContext.Builder
+
+
Build RequestContext from given properties.
+
+
build() - Method in class org.glassfish.tyrus.core.TyrusServerEndpointConfig.Builder
+
+
Builds the configuration object using the current attributes + that have been set on this builder object.
+
+
build() - Method in class org.glassfish.tyrus.core.TyrusWebSocketEngine.TyrusWebSocketEngineBuilder
+
+
Create new TyrusWebSocketEngine instance with current set of parameters.
+
+
builder() - Static method in class org.glassfish.tyrus.client.auth.AuthConfig
+
+
Create new AuthConfig.Builder instance, which contains provided Basic and Digest authenticators.
+
+
builder() - Static method in class org.glassfish.tyrus.core.frame.Frame
+
+
Create new Frame.Builder.
+
+
builder(WebSocketContainer) - Static method in class org.glassfish.tyrus.core.TyrusWebSocketEngine
+
+ +
+
builder(Frame) - Static method in class org.glassfish.tyrus.core.frame.Frame
+
+
Create new Frame.Builder based on provided frame.
+
+
Builder() - Constructor for class org.glassfish.tyrus.core.frame.Frame.Builder
+
+
Constructor.
+
+
Builder() - Constructor for class org.glassfish.tyrus.core.RequestContext.Builder
+
 
+
Builder(Frame) - Constructor for class org.glassfish.tyrus.core.frame.Frame.Builder
+
+
Constructor.
+
+
bundleChanged(BundleEvent) - Method in class org.glassfish.tyrus.core.OsgiRegistry
+
 
+
ByteDecoder() - Constructor for class org.glassfish.tyrus.core.coder.PrimitiveDecoders.ByteDecoder
+
 
+
+ + + +

C

+
+
c - Variable in class org.glassfish.tyrus.core.ReflectionHelper.ClassTypePair
+
+
The class.
+
+
c - Variable in class org.glassfish.tyrus.core.ReflectionHelper.TypeClassPair
+
 
+
cancel(boolean) - Method in class org.glassfish.tyrus.core.TyrusFuture
+
 
+
cancelled() - Method in class org.glassfish.tyrus.spi.CompletionHandler
+
+
The operation was cancelled.
+
+
CANNOT_ACCEPT - javax.websocket.CloseReason.CloseCodes
+
+
1003 indicates that an endpoint is terminating the connection + because it has received a type of data it cannot accept (e.g., an + endpoint that understands only text data MAY send this if it + receives a binary message).
+
+
CANNOT_ACCEPT - org.glassfish.tyrus.core.CloseReasons
+
+
1003 indicates that an endpoint is terminating the connection + because it has received a type of data it cannot accept (e.g., an + endpoint that understands only text data MAY send this if it + receives a binary message).
+
+
capturingZeroOrMoreSegments - org.glassfish.tyrus.core.uri.internal.PathPattern.RightHandPath
+
+
A capturing group that matches zero or more path segments and keeps the matching path template open.
+
+
capturingZeroSegments - org.glassfish.tyrus.core.uri.internal.PathPattern.RightHandPath
+
+
A capturing group that matches zero segments and effectively closes the matching path template.
+
+
CdiComponentProvider - Class in org.glassfish.tyrus.gf.cdi
+
+
Provides the instance for CDI class.
+
+
CdiComponentProvider() - Constructor for class org.glassfish.tyrus.gf.cdi.CdiComponentProvider
+
+
Constructor.
+
+
CharacterDecoder() - Constructor for class org.glassfish.tyrus.core.coder.PrimitiveDecoders.CharacterDecoder
+
 
+
checkNotNull(T, String) - Static method in class org.glassfish.tyrus.core.Utils
+
+
Check for null.
+
+
checkOrigin(String) - Method in class javax.websocket.server.ServerEndpointConfig.Configurator
+
+
Check the value of the Origin header (See Origin Header) the client passed during the opening + handshake.
+
+
checkOrigin(String) - Method in class org.glassfish.tyrus.core.TyrusServerEndpointConfigurator
+
 
+
CLASS_CHECKER_ADD_MESSAGE_HANDLER_ERROR(Object, Object) - Static method in class org.glassfish.tyrus.core.l10n.LocalizationMessages
+
+
Class {0}.
+
+
CLASS_CHECKER_FORBIDDEN_RETURN_TYPE(Object, Object) - Static method in class org.glassfish.tyrus.core.l10n.LocalizationMessages
+
+
Method: {0}.{1}: has got unsupported return type.
+
+
CLASS_CHECKER_FORBIDDEN_WEB_SOCKET_CLOSE_PARAM(Object, Object) - Static method in class org.glassfish.tyrus.core.l10n.LocalizationMessages
+
+
Method: {0}.{1}: @OnClose has got different params than Session or CloseReason.
+
+
CLASS_CHECKER_FORBIDDEN_WEB_SOCKET_ERROR_PARAM(Object, Object, Object) - Static method in class org.glassfish.tyrus.core.l10n.LocalizationMessages
+
+
Method: {0}.{1}: {2} is not allowed as parameter type for method annotated with @OnError.
+
+
CLASS_CHECKER_FORBIDDEN_WEB_SOCKET_OPEN_PARAM(Object, Object, Object) - Static method in class org.glassfish.tyrus.core.l10n.LocalizationMessages
+
+
Method: {0}.{1}: {2} has got multiple parameters of identical type.
+
+
CLASS_CHECKER_MANDATORY_PARAM_MISSING(Object, Object) - Static method in class org.glassfish.tyrus.core.l10n.LocalizationMessages
+
+
Method: {0}.{1}: does not have mandatory Throwable param.
+
+
CLASS_CHECKER_MULTIPLE_IDENTICAL_PARAMS(Object, Object) - Static method in class org.glassfish.tyrus.core.l10n.LocalizationMessages
+
+
Method: {0}.{1}: has got multiple parameters of identical type.
+
+
CLASS_NOT_INSTANTIATED(Object) - Static method in class org.glassfish.tyrus.core.l10n.LocalizationMessages
+
+
Class {0} couldn''t be instantiated.
+
+
classForName(String) - Static method in class org.glassfish.tyrus.core.ReflectionHelper
+
+
Get the Class from the class name.
+
+
classForName(String, ClassLoader) - Static method in class org.glassfish.tyrus.core.ReflectionHelper
+
+
Get the Class from the class name.
+
+
classForNameWithException(String) - Method in class org.glassfish.tyrus.core.OsgiRegistry
+
+
Get the Class from the class name.
+
+
classForNameWithException(String) - Static method in class org.glassfish.tyrus.core.ReflectionHelper
+
+
Get the Class from the class name.
+
+
classForNameWithException(String, ClassLoader) - Static method in class org.glassfish.tyrus.core.ReflectionHelper
+
+
Get the Class from the class name.
+
+
classForNameWithExceptionPEA(String) - Static method in class org.glassfish.tyrus.core.ReflectionHelper
+
+
Get privileged exception action to obtain Class from given class name.
+
+
classForNameWithExceptionPEA(String, ClassLoader) - Static method in class org.glassfish.tyrus.core.ReflectionHelper
+
+
Get privileged exception action to obtain Class from given class name.
+
+
ClassTypePair(Class) - Constructor for class org.glassfish.tyrus.core.ReflectionHelper.ClassTypePair
+
 
+
ClassTypePair(Class, Type) - Constructor for class org.glassfish.tyrus.core.ReflectionHelper.ClassTypePair
+
 
+
clear() - Method in class org.glassfish.tyrus.core.uri.internal.AbstractMultivaluedMap
+
 
+
CLIENT_CANNOT_CONNECT(Object) - Static method in class org.glassfish.tyrus.core.l10n.LocalizationMessages
+
+
Client cannot connect to "{0}".
+
+
ClientContainer - Interface in org.glassfish.tyrus.spi
+
+
Entry point for client implementation.
+
+
ClientEndpoint - Annotation Type in javax.websocket
+
+
The ClientEndpoint annotation a class level annotation is used to denote that a POJO + is a web socket client and can be deployed as such.
+
+
ClientEndpointConfig - Interface in javax.websocket
+
+
The ClientEndpointConfig is a special kind of endpoint configuration object that contains + web socket configuration information specific only to client endpoints.
+
+
ClientEndpointConfig.Builder - Class in javax.websocket
+
+
The ClientEndpointConfig.Builder is a class used for creating + ClientEndpointConfig objects for the purposes of + deploying a client endpoint.
+
+
ClientEndpointConfig.Configurator - Class in javax.websocket
+
+
The Configurator class may be extended by developers who want to + provide custom configuration algorithms, such as intercepting the opening handshake, or + providing arbitrary methods and algorithms that can be accessed from each endpoint + instance configured with this configurator.
+
+
ClientEngine - Interface in org.glassfish.tyrus.spi
+
+
Facade for handling client operations from containers.
+
+
ClientEngine.ClientUpgradeInfo - Interface in org.glassfish.tyrus.spi
+
+
Upgrade process result.
+
+
ClientEngine.ClientUpgradeStatus - Enum in org.glassfish.tyrus.spi
+
+
Status of upgrade process.
+
+
ClientEngine.TimeoutHandler - Interface in org.glassfish.tyrus.spi
+
+
Indicates to container that handshake timeout was reached.
+
+
ClientManager - Class in org.glassfish.tyrus.client
+
+
ClientManager implementation.
+
+
ClientManager() - Constructor for class org.glassfish.tyrus.client.ClientManager
+
+
Create new ClientManager instance.
+
+
ClientManager.ReconnectHandler - Class in org.glassfish.tyrus.client
+
+
Reconnect handler.
+
+
clientMode - Variable in class org.glassfish.tyrus.client.SslEngineConfigurator
+
+
Client mode when handshaking.
+
+
ClientProperties - Class in org.glassfish.tyrus.client
+
+
Tyrus client configuration properties.
+
+
ClientProperties() - Constructor for class org.glassfish.tyrus.client.ClientProperties
+
 
+
close() - Method in interface javax.websocket.Session
+
+
Close the current conversation with a normal status code and no reason phrase.
+
+
close() - Method in class org.glassfish.tyrus.container.grizzly.client.GrizzlyWriter
+
 
+
close() - Method in class org.glassfish.tyrus.core.cluster.RemoteSession
+
+
Close the current conversation with a normal status code and no reason phrase.
+
+
close() - Method in class org.glassfish.tyrus.core.TyrusSession
+
 
+
close() - Method in class org.glassfish.tyrus.core.TyrusWebSocket
+
+
Closes this TyrusWebSocket.
+
+
close(int, String) - Method in class org.glassfish.tyrus.core.ProtocolHandler
+
 
+
close(int, String) - Method in class org.glassfish.tyrus.core.TyrusWebSocket
+
+
Closes this TyrusWebSocket using the specified status code and + reason.
+
+
close(String) - Method in class org.glassfish.tyrus.core.cluster.ClusterContext
+
+
Close remote session.
+
+
close(String, CloseReason) - Method in class org.glassfish.tyrus.core.cluster.ClusterContext
+
+
Close remote session with custom CloseReason.
+
+
close(CloseReason) - Method in interface javax.websocket.Session
+
+
Close the current conversation, giving a reason for the closure.
+
+
close(CloseReason) - Method in class org.glassfish.tyrus.core.cluster.RemoteSession
+
+
Close the current conversation, giving a reason for the closure.
+
+
close(CloseReason) - Method in class org.glassfish.tyrus.core.TyrusRemoteEndpoint
+
 
+
close(CloseReason) - Method in class org.glassfish.tyrus.core.TyrusSession
+
 
+
close(CloseReason) - Method in class org.glassfish.tyrus.core.TyrusWebSocket
+
+
Closes this TyrusWebSocket using the CloseReason.
+
+
close(CloseReason) - Method in interface org.glassfish.tyrus.spi.Connection
+
+
Notifies tyrus that underlying transport is closing the connection.
+
+
close(CloseReason) - Method in interface org.glassfish.tyrus.spi.Connection.CloseListener
+
+
Tyrus notifies that logical connection is closed.
+
+
CLOSE - org.glassfish.tyrus.core.frame.TyrusFrame.FrameType
+
+
Close frame.
+
+
CLOSE - org.glassfish.tyrus.spi.WriterInfo.MessageType
+
+
Close type.
+
+
CLOSED_ABNORMALLY - javax.websocket.CloseReason.CloseCodes
+
+
1006 is a reserved value and MUST NOT be set as a status code in a + Close control frame by an endpoint.
+
+
CLOSED_ABNORMALLY - org.glassfish.tyrus.core.CloseReasons
+
+
1006 is a reserved value and MUST NOT be set as a status code in a + Close control frame by an endpoint.
+
+
CloseFrame - Class in org.glassfish.tyrus.core.frame
+
+
Close frame representation.
+
+
CloseFrame(CloseReason) - Constructor for class org.glassfish.tyrus.core.frame.CloseFrame
+
+
Constructor.
+
+
CloseFrame(Frame) - Constructor for class org.glassfish.tyrus.core.frame.CloseFrame
+
+
Constructor.
+
+
CloseReason - Class in javax.websocket
+
+
A class encapsulating the reason why a web socket has been closed, or why it is being asked to + close.
+
+
CloseReason(CloseReason.CloseCode, String) - Constructor for class javax.websocket.CloseReason
+
+
Creates a reason for closing a web socket connection with the given + code and reason phrase.
+
+
CloseReason.CloseCode - Interface in javax.websocket
+
+
A marker interface for the close codes.
+
+
CloseReason.CloseCodes - Enum in javax.websocket
+
+
An Enumeration of status codes for a web socket close that + are defined in the specification.
+
+
CloseReasons - Enum in org.glassfish.tyrus.core
+
+
Enum containing standard CloseReasons defined in RFC 6455, see chapter + 7.4.1 Defined Status Codes.
+
+
CLUSTER_CONNECTION_ID_HEADER - Static variable in class org.glassfish.tyrus.spi.UpgradeRequest
+
+
Tyrus cluster connection ID header name.
+
+
CLUSTER_CONTEXT - Static variable in class org.glassfish.tyrus.core.cluster.ClusterContext
+
+
ClusterContext registration property.
+
+
clusterContext(ClusterContext) - Method in class org.glassfish.tyrus.core.TyrusWebSocketEngine.TyrusWebSocketEngineBuilder
+
+ +
+
ClusterContext - Class in org.glassfish.tyrus.core.cluster
+
+
Cluster related context.
+
+
ClusterContext() - Constructor for class org.glassfish.tyrus.core.cluster.ClusterContext
+
 
+
CoderAdapter - Class in org.glassfish.tyrus.core.coder
+
+
Adapter for Encoder and Decoder which implements lifecycle + methods.
+
+
CoderAdapter() - Constructor for class org.glassfish.tyrus.core.coder.CoderAdapter
+
 
+
CoderWrapper<T> - Class in org.glassfish.tyrus.core.coder
+
+
Wrapper of coders storing the coder coder class (and optionally coder instance), return type of the encode / decode + method and coder class.
+
+
CoderWrapper(Class<? extends T>, Class<?>) - Constructor for class org.glassfish.tyrus.core.coder.CoderWrapper
+
+
Construct new coder wrapper.
+
+
CoderWrapper(T, Class<?>) - Constructor for class org.glassfish.tyrus.core.coder.CoderWrapper
+
+
Construct new coder wrapper.
+
+
COMPARATOR - Static variable in class org.glassfish.tyrus.core.uri.internal.PathPattern
+
+
Path pattern comparator that defers to comparing the templates associated with the + patterns.
+
+
COMPARATOR - Static variable in class org.glassfish.tyrus.core.uri.internal.UriTemplate
+
+
Order the templates according to JAX-RS specification.
+
+
completed(E) - Method in class org.glassfish.tyrus.spi.CompletionHandler
+
+
The operation was completed.
+
+
CompletionHandler<E> - Class in org.glassfish.tyrus.spi
+
+
A callback to notify about asynchronous I/O operations status updates.
+
+
CompletionHandler() - Constructor for class org.glassfish.tyrus.spi.CompletionHandler
+
 
+
COMPONENT_PROVIDER_NOT_FOUND(Object) - Static method in class org.glassfish.tyrus.core.l10n.LocalizationMessages
+
+
Component provider for class {0} not found.
+
+
COMPONENT_PROVIDER_THREW_EXCEPTION(Object) - Static method in class org.glassfish.tyrus.core.l10n.LocalizationMessages
+
+
Component provider threw exception when providing instance of class {0}.
+
+
ComponentProvider - Class in org.glassfish.tyrus.core
+
+
Provides an instance.
+
+
ComponentProvider() - Constructor for class org.glassfish.tyrus.core.ComponentProvider
+
 
+
ComponentProviderService - Class in org.glassfish.tyrus.core
+
+
Provides an instance of component.
+
+
ComponentProviderService(ComponentProviderService) - Constructor for class org.glassfish.tyrus.core.ComponentProviderService
+
+
Copy constructor.
+
+
composeComprehensiveException() - Method in class org.glassfish.tyrus.core.ErrorCollector
+
+
Create DeploymentException with message concatenated from collected exceptions.
+
+
concreteClass - Variable in class org.glassfish.tyrus.core.ReflectionHelper.DeclaringClassInterfacePair
+
 
+
configurator() - Method in annotation type javax.websocket.ClientEndpoint
+
+
An optional custom configurator class that the developer would like to use + to provide custom configuration of new instances of this endpoint.
+
+
configurator() - Method in annotation type javax.websocket.server.ServerEndpoint
+
+
The optional custom configurator class that the developer would like to use + to further configure new instances of this endpoint.
+
+
configurator(ClientEndpointConfig.Configurator) - Method in class javax.websocket.ClientEndpointConfig.Builder
+
+
Sets the configurator object for the configuration this builder will build.
+
+
configurator(ServerEndpointConfig.Configurator) - Method in class javax.websocket.server.ServerEndpointConfig.Builder
+
+
Sets the custom configurator to use on the configuration + object built by this builder.
+
+
configurator(ServerEndpointConfig.Configurator) - Method in class org.glassfish.tyrus.core.TyrusServerEndpointConfig.Builder
+
+
Sets the custom configurator to use on the configuration + object built by this builder.
+
+
Configurator() - Constructor for class javax.websocket.ClientEndpointConfig.Configurator
+
 
+
Configurator() - Constructor for class javax.websocket.server.ServerEndpointConfig.Configurator
+
 
+
configure(SSLEngine) - Method in class org.glassfish.tyrus.client.SslEngineConfigurator
+
+
Configure passed SSLEngine, using current configurator settings, excluding Hostname Verification.
+
+
connect() - Method in class org.glassfish.tyrus.container.grizzly.client.GrizzlyClientSocket
+
+
Performs connect to server endpoint.
+
+
Connection - Interface in org.glassfish.tyrus.spi
+
+
A logical websocket connection.
+
+
CONNECTION - Static variable in class org.glassfish.tyrus.spi.UpgradeRequest
+
+
HTTP "Connection" header name.
+
+
CONNECTION_HAS_BEEN_CLOSED() - Static method in class org.glassfish.tyrus.core.l10n.LocalizationMessages
+
+
The connection has been closed.
+
+
CONNECTION_ID - org.glassfish.tyrus.core.cluster.RemoteSession.DistributedMapKey
+
+
Cluster connection Id.
+
+
CONNECTION_NULL() - Static method in class org.glassfish.tyrus.core.l10n.LocalizationMessages
+
+
Connection is null.
+
+
Connection.CloseListener - Interface in org.glassfish.tyrus.spi
+
+
Transport close listener that receives connection close + notifications from Tyrus.
+
+
connectToServer(Class<?>, URI) - Method in interface javax.websocket.WebSocketContainer
+
+
Connect the supplied annotated endpoint to its server.
+
+
connectToServer(Class<? extends Endpoint>, ClientEndpointConfig, URI) - Method in interface javax.websocket.WebSocketContainer
+
+
Connect the supplied programmatic endpoint to its server with the given + configuration.
+
+
connectToServer(Class<? extends Endpoint>, ClientEndpointConfig, URI) - Method in class org.glassfish.tyrus.client.ClientManager
+
 
+
connectToServer(Class<? extends Endpoint>, ClientEndpointConfig, URI) - Method in class org.glassfish.tyrus.server.TyrusServerContainer
+
 
+
connectToServer(Class, URI) - Method in class org.glassfish.tyrus.client.ClientManager
+
 
+
connectToServer(Class, URI) - Method in class org.glassfish.tyrus.server.TyrusServerContainer
+
 
+
connectToServer(Object, URI) - Method in interface javax.websocket.WebSocketContainer
+
+
Connect the supplied annotated endpoint instance to its server.
+
+
connectToServer(Object, URI) - Method in class org.glassfish.tyrus.client.ClientManager
+
 
+
connectToServer(Object, URI) - Method in class org.glassfish.tyrus.server.TyrusServerContainer
+
 
+
connectToServer(Endpoint, ClientEndpointConfig, URI) - Method in interface javax.websocket.WebSocketContainer
+
+
Connect the supplied programmatic client endpoint instance to its server + with the given configuration.
+
+
connectToServer(Endpoint, ClientEndpointConfig, URI) - Method in class org.glassfish.tyrus.client.ClientManager
+
 
+
connectToServer(Endpoint, ClientEndpointConfig, URI) - Method in class org.glassfish.tyrus.server.TyrusServerContainer
+
 
+
ContainerProvider - Class in javax.websocket
+
+
Provider class that allows the developer to get a reference to + the implementation of the WebSocketContainer.
+
+
ContainerProvider() - Constructor for class javax.websocket.ContainerProvider
+
 
+
contains(Charset) - Method in class org.glassfish.tyrus.core.StrictUtf8
+
 
+
containsKey(Object) - Method in class org.glassfish.tyrus.core.uri.internal.AbstractMultivaluedMap
+
 
+
containsValue(Object) - Method in class org.glassfish.tyrus.core.uri.internal.AbstractMultivaluedMap
+
 
+
contextualEncode(String, UriComponent.Type) - Static method in class org.glassfish.tyrus.core.uri.internal.UriComponent
+
+
Contextually encodes the characters of string that are either non-ASCII characters or are ASCII characters that + must be percent-encoded using the UTF-8 encoding.
+
+
contextualEncode(String, UriComponent.Type, boolean) - Static method in class org.glassfish.tyrus.core.uri.internal.UriComponent
+
+
Contextually encodes the characters of string that are either non-ASCII characters or are ASCII characters that + must be percent-encoded using the UTF-8 encoding.
+
+
CONTROL_FRAME_FRAGMENTED() - Static method in class org.glassfish.tyrus.core.l10n.LocalizationMessages
+
+
Fragmented control frame.
+
+
CONTROL_FRAME_LENGTH() - Static method in class org.glassfish.tyrus.core.l10n.LocalizationMessages
+
+
Control frame payloads must be no greater than 125 bytes.
+
+
copy() - Method in class org.glassfish.tyrus.client.SslEngineConfigurator
+
 
+
copy() - Method in class org.glassfish.tyrus.client.ThreadPoolConfig
+
+
Return a copy of this thread pool config.
+
+
create() - Static method in class javax.websocket.ClientEndpointConfig.Builder
+
+
Creates a new builder object with no subprotocols, extensions, encoders, + decoders and a null configurator.
+
+
create() - Static method in class org.glassfish.tyrus.client.auth.AuthConfig.Builder
+
+
Create new AuthConfig.Builder instance, which contains provided Basic and Digest authenticators.
+
+
create() - Static method in class org.glassfish.tyrus.core.ComponentProviderService
+
+
Create new instance of ComponentProviderService.
+
+
create() - Static method in class org.glassfish.tyrus.core.RequestContext.Builder
+
+
Create empty builder.
+
+
create(Class<?>, String) - Static method in class javax.websocket.server.ServerEndpointConfig.Builder
+
+
Creates the builder with the mandatory information of the endpoint class + (programmatic or annotated), the relative URI or URI-template to use, + and with no subprotocols, extensions, encoders, decoders or custom + configurator.
+
+
create(Class<?>, String) - Static method in class org.glassfish.tyrus.core.TyrusServerEndpointConfig.Builder
+
+
Creates the builder with the mandatory information of the endpoint class + (programmatic or annotated), the relative URI or URI-template to use, + and with no subprotocols, extensions, encoders, decoders or custom + configurator.
+
+
create(Class<T>) - Method in class org.glassfish.tyrus.core.ComponentProvider
+
+
Create new instance.
+
+
create(Class<T>) - Method in class org.glassfish.tyrus.core.DefaultComponentProvider
+
 
+
create(Class<T>) - Method in class org.glassfish.tyrus.gf.cdi.CdiComponentProvider
+
 
+
create(Class<T>) - Method in class org.glassfish.tyrus.gf.ejb.EjbComponentProvider
+
 
+
create(CloseReason.CloseCode, String) - Static method in enum org.glassfish.tyrus.core.CloseReasons
+
 
+
create(RequestContext) - Static method in class org.glassfish.tyrus.core.RequestContext.Builder
+
+
Create builder instance based on provided RequestContext.
+
+
createApplication() - Method in class org.glassfish.tyrus.core.wsadl.model.ObjectFactory
+
+
Create an instance of Application
+
+
createClassIterator(Class<T>, String, ClassLoader, boolean) - Method in class org.glassfish.tyrus.core.ServiceFinder.DefaultServiceIteratorProvider
+
 
+
createClassIterator(Class<T>, String, ClassLoader, boolean) - Method in class org.glassfish.tyrus.core.ServiceFinder.ServiceIteratorProvider
+
+
Iterate over provider classes of a service.
+
+
createClient() - Static method in class org.glassfish.tyrus.client.ClientManager
+
+
Create new ClientManager instance.
+
+
createClient() - Static method in class org.glassfish.tyrus.core.ComponentProviderService
+
+
Create new instance of ComponentProviderService.
+
+
createClient(String) - Static method in class org.glassfish.tyrus.client.ClientManager
+
+
Create new ClientManager instance.
+
+
createClient(String, WebSocketContainer) - Static method in class org.glassfish.tyrus.client.ClientManager
+
+
Create new ClientManager instance on top of provided WebSocketContainer instance.
+
+
createClient(WebSocketContainer) - Static method in class org.glassfish.tyrus.client.ClientManager
+
+
Create new ClientManager instance on top of provided WebSocketContainer instance.
+
+
createClientHandshake(RequestContext) - Static method in class org.glassfish.tyrus.core.Handshake
+
+
Client-side handshake.
+
+
createConnection() - Method in interface org.glassfish.tyrus.spi.ClientEngine.ClientUpgradeInfo
+
+ +
+
createConnection(Writer, Connection.CloseListener) - Method in interface org.glassfish.tyrus.spi.WebSocketEngine.UpgradeInfo
+
+
Creates a connection if the upgrade is successful.
+
+
createConnectionId() - Method in class org.glassfish.tyrus.core.cluster.ClusterContext
+
+
Create connection id.
+
+
createContainer(Map<String, Object>) - Method in class org.glassfish.tyrus.container.grizzly.server.GrizzlyServerContainer
+
 
+
createContainer(Map<String, Object>) - Method in class org.glassfish.tyrus.spi.ServerContainerFactory
+
+
Create container delegate method.
+
+
createEndpoint() - Method in class org.glassfish.tyrus.core.wsadl.model.ObjectFactory
+
+
Create an instance of Endpoint
+
+
createHandler(boolean, MaskingKeyGenerator) - Method in enum org.glassfish.tyrus.core.Version
+
 
+
createIterator(Class<T>, String, ClassLoader, boolean) - Method in class org.glassfish.tyrus.core.ServiceFinder.DefaultServiceIteratorProvider
+
 
+
createIterator(Class<T>, String, ClassLoader, boolean) - Method in class org.glassfish.tyrus.core.ServiceFinder.ServiceIteratorProvider
+
+
Iterate over provider instances of a service.
+
+
createServerContainer() - Static method in class org.glassfish.tyrus.spi.ServerContainerFactory
+
+
Create new ServerContainer with default configuration.
+
+
createServerContainer(Map<String, Object>) - Static method in class org.glassfish.tyrus.spi.ServerContainerFactory
+
+
Create new ServerContainer with configuration.
+
+
createSessionForRemoteEndpoint(TyrusWebSocket, String, List<Extension>, DebugContext) - Method in class org.glassfish.tyrus.core.TyrusEndpointWrapper
+
+
Creates a Session based on the TyrusWebSocket, subprotocols and extensions.
+
+
createSessionId() - Method in class org.glassfish.tyrus.core.cluster.ClusterContext
+
+
Create session id.
+
+
createSSLContext() - Method in class org.glassfish.tyrus.client.SslContextConfigurator
+
+
Create SSLContext from current configuration.
+
+
createSSLEngine(String) - Method in class org.glassfish.tyrus.client.SslEngineConfigurator
+
+
Create and configure SSLEngine, based on current settings.
+
+
createUpgradeRequest(ClientEngine.TimeoutHandler) - Method in class org.glassfish.tyrus.client.TyrusClientEngine
+
 
+
createUpgradeRequest(ClientEngine.TimeoutHandler) - Method in interface org.glassfish.tyrus.spi.ClientEngine
+
+
Create upgrade request and register ClientEngine.TimeoutHandler.
+
+
createURI(String...) - Method in class org.glassfish.tyrus.core.uri.internal.UriTemplate
+
+
Create a URI by substituting any template variables + for corresponding template values.
+
+
createURI(String[], int, int) - Method in class org.glassfish.tyrus.core.uri.internal.UriTemplate
+
+
Create a URI by substituting any template variables + for corresponding template values.
+
+
createURI(String, String, String, String, String, String, String, String, Object[], boolean, boolean) - Static method in class org.glassfish.tyrus.core.uri.internal.UriTemplate
+
+
Construct a URI from the component parts each of which may contain + template variables.
+
+
createURI(String, String, String, String, String, String, String, String, Map<String, ?>, boolean, boolean) - Static method in class org.glassfish.tyrus.core.uri.internal.UriTemplate
+
+
Construct a URI from the component parts each of which may contain + template variables.
+
+
createURI(Map<String, String>) - Method in class org.glassfish.tyrus.core.uri.internal.UriTemplate
+
+
Create a URI by substituting any template variables + for corresponding template values.
+
+
createURIWithStringValues(String, String, String, String, String, String, String, String, String[], boolean, boolean) - Static method in class org.glassfish.tyrus.core.uri.internal.UriTemplate
+
+
Construct a URI from the component parts each of which may contain + template variables.
+
+
createURIWithStringValues(String, String, String, String, String, String, String, String, Map<String, ?>, boolean, boolean) - Static method in class org.glassfish.tyrus.core.uri.internal.UriTemplate
+
+
Construct a URI from the component parts each of which may contain + template variables.
+
+
Credentials - Class in org.glassfish.tyrus.client.auth
+
+
Credentials can be used when configuring authentication properties used during client handshake.
+
+
Credentials(String, byte[]) - Constructor for class org.glassfish.tyrus.client.auth.Credentials
+
+
Create new credentials.
+
+
Credentials(String, String) - Constructor for class org.glassfish.tyrus.client.auth.Credentials
+
+
Create new credentials.
+
+
CREDENTIALS - Static variable in class org.glassfish.tyrus.client.ClientProperties
+
+
Authentication credentials.
+
+
+ + + +

D

+
+
DATA_UNEXPECTED_LENGTH(Object, Object) - Static method in class org.glassfish.tyrus.core.l10n.LocalizationMessages
+
+
Data read ({0}) is not the expected size ({1}).
+
+
DebugContext - Class in org.glassfish.tyrus.core
+
+
A Logger wrapper that gives logging records a common formatting and temporarily stores log + records and postpones their logging until they can be provided with a session ID.
+
+
DebugContext() - Constructor for class org.glassfish.tyrus.core.DebugContext
+
+
Constructor that configures tracing to be OFF.
+
+
DebugContext(DebugContext.TracingThreshold) - Constructor for class org.glassfish.tyrus.core.DebugContext
+
+
Constructor that configures tracing to be ON and accepts tracing threshold as a parameter.
+
+
DebugContext.TracingThreshold - Enum in org.glassfish.tyrus.core
+
+
Tracing threshold - used for configuration granularity of information that will be sent in tracing headers.
+
+
DebugContext.TracingType - Enum in org.glassfish.tyrus.core
+
+
Type of tracing - used for tracing configuration.
+
+
DebugContext.Type - Enum in org.glassfish.tyrus.core
+
+
Type of the record - used to graphically distinguish these message types in the log.
+
+
declaringClass - Variable in class org.glassfish.tyrus.core.ReflectionHelper.DeclaringClassInterfacePair
+
 
+
decode(InputStream) - Method in interface javax.websocket.Decoder.BinaryStream
+
+
Decode the given bytes read from the input stream into an object of type T.
+
+
decode(Reader) - Method in interface javax.websocket.Decoder.TextStream
+
+
Reads the websocket message from the implementation provided + Reader and decodes it into an instance of the supplied object type.
+
+
decode(String) - Method in interface javax.websocket.Decoder.Text
+
+
Decode the given String into an object of type T.
+
+
decode(String) - Method in class org.glassfish.tyrus.core.coder.NoOpTextCoder
+
 
+
decode(String) - Method in class org.glassfish.tyrus.core.coder.PrimitiveDecoders.BooleanDecoder
+
 
+
decode(String) - Method in class org.glassfish.tyrus.core.coder.PrimitiveDecoders.ByteDecoder
+
 
+
decode(String) - Method in class org.glassfish.tyrus.core.coder.PrimitiveDecoders.CharacterDecoder
+
 
+
decode(String) - Method in class org.glassfish.tyrus.core.coder.PrimitiveDecoders.DoubleDecoder
+
 
+
decode(String) - Method in class org.glassfish.tyrus.core.coder.PrimitiveDecoders.FloatDecoder
+
 
+
decode(String) - Method in class org.glassfish.tyrus.core.coder.PrimitiveDecoders.IntegerDecoder
+
 
+
decode(String) - Method in class org.glassfish.tyrus.core.coder.PrimitiveDecoders.LongDecoder
+
 
+
decode(String) - Method in class org.glassfish.tyrus.core.coder.PrimitiveDecoders.ShortDecoder
+
 
+
decode(String) - Method in class org.glassfish.tyrus.core.coder.ReaderDecoder
+
 
+
decode(String, UriComponent.Type) - Static method in class org.glassfish.tyrus.core.uri.internal.UriComponent
+
+
Decodes characters of a string that are percent-encoded octets using + UTF-8 decoding (if needed).
+
+
decode(ByteBuffer) - Method in interface javax.websocket.Decoder.Binary
+
+
Decode the given bytes into an object of type T.
+
+
decode(ByteBuffer) - Method in class org.glassfish.tyrus.core.coder.InputStreamDecoder
+
 
+
decode(ByteBuffer) - Method in class org.glassfish.tyrus.core.coder.NoOpByteArrayCoder
+
 
+
decode(ByteBuffer) - Method in class org.glassfish.tyrus.core.coder.NoOpByteBufferCoder
+
 
+
DecodeException - Exception in javax.websocket
+
+
A general exception that occurs when trying to decode a custom object from a text or binary message.
+
+
DecodeException(String, String) - Constructor for exception javax.websocket.DecodeException
+
+
Constructs a DecodedException with the given encoded string that cannot + be decoded, and reason why.
+
+
DecodeException(String, String, Throwable) - Constructor for exception javax.websocket.DecodeException
+
+
Constructor with the text data that could not be decoded, and the reason + why it failed to be, and the cause.
+
+
DecodeException(ByteBuffer, String) - Constructor for exception javax.websocket.DecodeException
+
+
Constructs a DecodedException with the given ByteBuffer that cannot + be decoded, and reason why.
+
+
DecodeException(ByteBuffer, String, Throwable) - Constructor for exception javax.websocket.DecodeException
+
+
Constructor with the binary data that could not be decoded, and the + reason why it failed to be, and the cause.
+
+
decodeMatrix(String, boolean) - Static method in class org.glassfish.tyrus.core.uri.internal.UriComponent
+
+
Decode the matrix component of a URI path segment.
+
+
decodePath(String, boolean) - Static method in class org.glassfish.tyrus.core.uri.internal.UriComponent
+
+
Decode the path component of a URI as path segments.
+
+
decodePath(URI, boolean) - Static method in class org.glassfish.tyrus.core.uri.internal.UriComponent
+
+
Decode the path component of a URI as path segments.
+
+
decodePathSegment(List<PathSegment>, String, boolean) - Static method in class org.glassfish.tyrus.core.uri.internal.UriComponent
+
+
Decode the path segment and add it to the list of path segments.
+
+
decodeQuery(String, boolean) - Static method in class org.glassfish.tyrus.core.uri.internal.UriComponent
+
+
Decode the query component of a URI.
+
+
decodeQuery(String, boolean, boolean) - Static method in class org.glassfish.tyrus.core.uri.internal.UriComponent
+
+
Decode the query component of a URI.
+
+
decodeQuery(URI, boolean) - Static method in class org.glassfish.tyrus.core.uri.internal.UriComponent
+
+
Decode the query component of a URI.
+
+
Decoder - Interface in javax.websocket
+
+
The Decoder interface holds member interfaces that define how a developer can provide + the web socket container a way web socket messages into developer defined custom objects.
+
+
Decoder.Binary<T> - Interface in javax.websocket
+
+
This interface defines how a custom object (of type T) is decoded from a web socket message in + the form of a byte buffer.
+
+
Decoder.BinaryStream<T> - Interface in javax.websocket
+
+
This interface defines how a custom object is decoded from a web socket message in + the form of a binary stream.
+
+
Decoder.Text<T> - Interface in javax.websocket
+
+
This interface defines how a custom object is decoded from a web socket message in + the form of a string.
+
+
Decoder.TextStream<T> - Interface in javax.websocket
+
+
This interface defines how a custom object of type T is decoded from a web socket message in + the form of a character stream.
+
+
decoders() - Method in annotation type javax.websocket.ClientEndpoint
+
+
The array of Java classes that are to act as Decoders for messages coming into + the client.
+
+
decoders() - Method in annotation type javax.websocket.server.ServerEndpoint
+
+
The ordered array of decoder classes this endpoint will use.
+
+
decoders(List<Class<? extends Decoder>>) - Method in class javax.websocket.ClientEndpointConfig.Builder
+
+
Assign the list of decoder implementation classes the client will use.
+
+
decoders(List<Class<? extends Decoder>>) - Method in class javax.websocket.server.ServerEndpointConfig.Builder
+
+
Sets the decoder implementation classes to use in the configuration.
+
+
decoders(List<Class<? extends Decoder>>) - Method in class org.glassfish.tyrus.core.TyrusServerEndpointConfig.Builder
+
+
Sets the decoder implementation classes to use in the configuration.
+
+
DEFAULT_CONFIG - Static variable in class org.glassfish.tyrus.client.SslContextConfigurator
+
+
Default SSL configuration.
+
+
DEFAULT_INCOMING_BUFFER_SIZE - Static variable in class org.glassfish.tyrus.client.TyrusClientEngine
+
+
Default incoming buffer size for client container.
+
+
DefaultComponentProvider - Class in org.glassfish.tyrus.core
+
+
Provides instances using reflection.
+
+
DefaultComponentProvider() - Constructor for class org.glassfish.tyrus.core.DefaultComponentProvider
+
 
+
defaultConfig() - Static method in class org.glassfish.tyrus.client.ThreadPoolConfig
+
+
Create new client thread pool configuration instance.
+
+
DefaultServiceIteratorProvider() - Constructor for class org.glassfish.tyrus.core.ServiceFinder.DefaultServiceIteratorProvider
+
 
+
DEPENDENT_CLASS_OF_PROVIDER_FORMAT_ERROR(Object, Object, Object) - Static method in class org.glassfish.tyrus.core.l10n.LocalizationMessages
+
+
{0}.
+
+
DEPENDENT_CLASS_OF_PROVIDER_NOT_FOUND(Object, Object, Object) - Static method in class org.glassfish.tyrus.core.l10n.LocalizationMessages
+
+
A dependent class, {0}, of the class {1} implementing the provider {2} is not found.
+
+
DeploymentException - Exception in javax.websocket
+
+
Checked exception indicating some kind of failure either to publish + an endpoint on its server, or a failure to connect a client to its server.
+
+
DeploymentException(String) - Constructor for exception javax.websocket.DeploymentException
+
+
Creates a deployment exception with the given reason for the deployment + failure.
+
+
DeploymentException(String, Throwable) - Constructor for exception javax.websocket.DeploymentException
+
+
Creates a deployment exception with the given reason for the deployment + failure and wrapped cause of the failure.
+
+
destroy() - Method in interface javax.websocket.Decoder
+
+
This method is called when the decoder is about to be removed + from service in order that any resources the encoder used may + be closed gracefully.
+
+
destroy() - Method in interface javax.websocket.Encoder
+
+
This method is called when the encoder is about to be removed + from service in order that any resources the encoder used may + be closed gracefully.
+
+
destroy() - Method in class org.glassfish.tyrus.core.coder.CoderAdapter
+
+
This method does nothing.
+
+
destroy() - Method in class org.glassfish.tyrus.servlet.TyrusHttpUpgradeHandler
+
 
+
destroy(Object) - Method in class org.glassfish.tyrus.core.ComponentProvider
+
+
Destroys the given managed instance.
+
+
destroy(Object) - Method in class org.glassfish.tyrus.core.DefaultComponentProvider
+
 
+
destroy(Object) - Method in class org.glassfish.tyrus.gf.cdi.CdiComponentProvider
+
 
+
destroy(Object) - Method in class org.glassfish.tyrus.gf.ejb.EjbComponentProvider
+
 
+
destroy(ExtendedExtension.ExtensionContext) - Method in interface org.glassfish.tyrus.core.extension.ExtendedExtension
+
+
Context lifecycle method.
+
+
destroyDistributedUserProperties(String) - Method in class org.glassfish.tyrus.core.cluster.ClusterContext
+
+
Destroy map which holds distributed user properties.
+
+
disableProvidedBasicAuth() - Method in class org.glassfish.tyrus.client.auth.AuthConfig.Builder
+
+
Disable provided Basic Authenticator.
+
+
disableProvidedDigestAuth() - Method in class org.glassfish.tyrus.client.auth.AuthConfig.Builder
+
+
Disable provided Digest Authenticator.
+
+
DistributedSession - Interface in org.glassfish.tyrus.core.cluster
+
+
Extended Session which adds distributed properties.
+
+
doEncode(Session, Object) - Method in class org.glassfish.tyrus.core.TyrusEndpointWrapper
+
 
+
doneDeployment() - Method in class org.glassfish.tyrus.server.TyrusServerContainer
+
+ +
+
DoubleDecoder() - Constructor for class org.glassfish.tyrus.core.coder.PrimitiveDecoders.DoubleDecoder
+
 
+
DRAFT17 - org.glassfish.tyrus.core.Version
+
 
+
+ + + +

E

+
+
eager(Value<T>) - Static method in class org.glassfish.tyrus.core.collection.Values
+
+
Get a new eagerly initialized value provider.
+
+
EjbComponentProvider - Class in org.glassfish.tyrus.gf.ejb
+
+
Provides the instance for the supported EJB classes.
+
+
EjbComponentProvider() - Constructor for class org.glassfish.tyrus.gf.ejb.EjbComponentProvider
+
 
+
empty() - Static method in class org.glassfish.tyrus.core.collection.Values
+
+
Get an empty value provider whose get() + method always returns null.
+
+
EMPTY - Static variable in class org.glassfish.tyrus.core.uri.internal.PatternWithGroups
+
+
The empty pattern that matches the null or empty string.
+
+
EMPTY - Static variable in class org.glassfish.tyrus.core.uri.internal.UriTemplate
+
+
The empty URI template that matches the null or empty URI path.
+
+
EMPTY_PATTERN - Static variable in class org.glassfish.tyrus.core.uri.internal.PathPattern
+
+
Empty path pattern matching only empty string.
+
+
ENABLE_TRACING_HEADER - Static variable in class org.glassfish.tyrus.spi.UpgradeRequest
+
+
If this header is present in the handshake request and the tracing type is configured to "ON_DEMAND", tracing + headers will be sent in the handshake response.
+
+
enabledCipherSuites - Variable in class org.glassfish.tyrus.client.SslEngineConfigurator
+
+
The list of cipher suites.
+
+
enabledProtocols - Variable in class org.glassfish.tyrus.client.SslEngineConfigurator
+
+
The list of protocols.
+
+
encode(byte[]) - Method in class org.glassfish.tyrus.core.coder.NoOpByteArrayCoder
+
 
+
encode(Object) - Method in class org.glassfish.tyrus.core.coder.ToStringEncoder
+
 
+
encode(String) - Method in class org.glassfish.tyrus.core.coder.NoOpTextCoder
+
 
+
encode(String, UriComponent.Type) - Static method in class org.glassfish.tyrus.core.uri.internal.UriComponent
+
+
Encodes the characters of string that are either non-ASCII characters + or are ASCII characters that must be percent-encoded using the + UTF-8 encoding.
+
+
encode(String, UriComponent.Type, boolean) - Static method in class org.glassfish.tyrus.core.uri.internal.UriComponent
+
+
Encodes the characters of string that are either non-ASCII characters + or are ASCII characters that must be percent-encoded using the + UTF-8 encoding.
+
+
encode(ByteBuffer) - Method in class org.glassfish.tyrus.core.coder.NoOpByteBufferCoder
+
 
+
encode(T) - Method in interface javax.websocket.Encoder.Binary
+
+
Encode the given object into a byte array.
+
+
encode(T) - Method in interface javax.websocket.Encoder.Text
+
+
Encode the given object into a String.
+
+
encode(T, OutputStream) - Method in interface javax.websocket.Encoder.BinaryStream
+
+
Encode the given object into a binary stream written to the + implementation provided OutputStream.
+
+
encode(T, Writer) - Method in interface javax.websocket.Encoder.TextStream
+
+
Encode the given object to a character stream writing it + to the supplied Writer.
+
+
EncodeException - Exception in javax.websocket
+
+
A general exception that occurs when trying to encode a custom object to a string or binary message.
+
+
EncodeException(Object, String) - Constructor for exception javax.websocket.EncodeException
+
+
Constructor with the object being encoded, and the reason why it failed to be.
+
+
EncodeException(Object, String, Throwable) - Constructor for exception javax.websocket.EncodeException
+
+
Constructor with the object being encoded, and the reason why it failed to be, and the cause.
+
+
encodeLiteralCharacters(String) - Method in class org.glassfish.tyrus.core.uri.internal.UriTemplateParser
+
+
Encode literal characters of a template.
+
+
Encoder - Interface in javax.websocket
+
+
The Encoder interface defines how developers can provide a way to convert + their custom objects into web socket messages.
+
+
Encoder.Binary<T> - Interface in javax.websocket
+
+
This interface defines how to provide a way to convert a custom + object into a binary message.
+
+
Encoder.BinaryStream<T> - Interface in javax.websocket
+
+
This interface may be implemented by encoding algorithms + that want to write the encoded object to a binary stream.
+
+
Encoder.Text<T> - Interface in javax.websocket
+
+
This interface defines how to provide a way to convert a custom + object into a text message.
+
+
Encoder.TextStream<T> - Interface in javax.websocket
+
+
This interface may be implemented by encoding algorithms + that want to write the encoded object to a character stream.
+
+
encoders() - Method in annotation type javax.websocket.ClientEndpoint
+
+
The array of Java classes that are to act as Encoders for messages sent by the client.
+
+
encoders() - Method in annotation type javax.websocket.server.ServerEndpoint
+
+
The ordered array of encoder classes this endpoint will use.
+
+
encoders(List<Class<? extends Encoder>>) - Method in class javax.websocket.ClientEndpointConfig.Builder
+
+
Assign the list of encoder implementation classes the client will use.
+
+
encoders(List<Class<? extends Encoder>>) - Method in class javax.websocket.server.ServerEndpointConfig.Builder
+
+
Sets the list of encoder implementation classes for this builder.
+
+
encoders(List<Class<? extends Encoder>>) - Method in class org.glassfish.tyrus.core.TyrusServerEndpointConfig.Builder
+
+
Sets the list of encoder implementation classes for this builder.
+
+
encodeTemplateNames(String) - Static method in class org.glassfish.tyrus.core.uri.internal.UriComponent
+
+
Encodes a string with template parameters names present, specifically the + characters '{' and '}' will be percent-encoded.
+
+
ENCODING_FAILED() - Static method in class org.glassfish.tyrus.core.l10n.LocalizationMessages
+
+
Encoding failed.
+
+
END_OF_PATH_PATTERN - Static variable in class org.glassfish.tyrus.core.uri.internal.PathPattern
+
+
Path pattern matching the end of a URI path.
+
+
endpoint - Variable in class org.glassfish.tyrus.core.wsadl.model.Application
+
 
+
Endpoint - Class in javax.websocket
+
+
The Web Socket Endpoint represents an object that can handle websocket conversations.
+
+
Endpoint - Class in org.glassfish.tyrus.core.wsadl.model
+
+
Java class for anonymous complex type.
+
+
Endpoint() - Constructor for class javax.websocket.Endpoint
+
 
+
Endpoint() - Constructor for class org.glassfish.tyrus.core.wsadl.model.Endpoint
+
 
+
ENDPOINT_ANNOTATION_NOT_FOUND(Object, Object) - Static method in class org.glassfish.tyrus.core.l10n.LocalizationMessages
+
+
{0} annotation not found on class {1}.
+
+
ENDPOINT_EXCEPTION_FROM_ON_ERROR(Object) - Static method in class org.glassfish.tyrus.core.l10n.LocalizationMessages
+
+
Exception thrown from onError method {0}.
+
+
ENDPOINT_MAX_MESSAGE_SIZE_TOO_LONG(Object, Object, Object, Object) - Static method in class org.glassfish.tyrus.core.l10n.LocalizationMessages
+
+
MaxMessageSize {0} on method {1} in endpoint {2} is larger than the container incoming buffer size {3}.
+
+
ENDPOINT_MULTIPLE_METHODS(Object, Object, Object, Object) - Static method in class org.glassfish.tyrus.core.l10n.LocalizationMessages
+
+
Multiple methods using {0} annotation in class {1}: {2} and {3}.
+
+
ENDPOINT_MULTIPLE_SESSION_PARAM(Object) - Static method in class org.glassfish.tyrus.core.l10n.LocalizationMessages
+
+
Method {0} has got two or more Session parameters.
+
+
ENDPOINT_UNHANDLED_EXCEPTION(Object) - Static method in class org.glassfish.tyrus.core.l10n.LocalizationMessages
+
+
Unhandled exception in endpoint {0}.
+
+
ENDPOINT_UNKNOWN_PARAMS(Object, Object, Object) - Static method in class org.glassfish.tyrus.core.l10n.LocalizationMessages
+
+
Unknown parameter(s) for {0}.{1} method annotated with @OnError annotation: {2}.
+
+
ENDPOINT_WRONG_PARAMS(Object, Object) - Static method in class org.glassfish.tyrus.core.l10n.LocalizationMessages
+
+
Method: {0}.{1}: has got wrong number of params.
+
+
ENDPOINT_WRONG_PATH_PARAM(Object, Object) - Static method in class org.glassfish.tyrus.core.l10n.LocalizationMessages
+
+
Method: {0}: {1} is not allowed type for @PathParameter.
+
+
EndpointConfig - Interface in javax.websocket
+
+
The endpoint configuration contains all the information needed during the handshake process + for this end point.
+
+
EndpointEventListener - Interface in org.glassfish.tyrus.core.monitoring
+
+
Listens to endpoint-level events that are interesting for monitoring.
+
+
endsWithSlash() - Method in class org.glassfish.tyrus.core.uri.internal.UriTemplate
+
+
Check if the URI template ends in a slash ('/').
+
+
entrySet() - Method in class org.glassfish.tyrus.core.uri.internal.AbstractMultivaluedMap
+
 
+
equals(Object) - Method in class org.glassfish.tyrus.client.ThreadPoolConfig
+
 
+
equals(Object) - Method in class org.glassfish.tyrus.container.grizzly.client.GrizzlyWriter
+
 
+
equals(Object) - Method in class org.glassfish.tyrus.core.TyrusExtension
+
 
+
equals(Object) - Method in class org.glassfish.tyrus.core.uri.internal.AbstractMultivaluedMap
+
equals(Object) - Method in class org.glassfish.tyrus.core.uri.internal.PatternWithGroups
+
 
+
equals(Object) - Method in class org.glassfish.tyrus.core.uri.internal.UriTemplate
+
+
Equality is calculated from the String of the regular expression + generated from the templates.
+
+
equalsIgnoreValueOrder(MultivaluedMap<K, V>) - Method in class org.glassfish.tyrus.core.uri.internal.AbstractMultivaluedMap
+
 
+
equalsIgnoreValueOrder(MultivaluedMap<K, V>) - Method in interface org.glassfish.tyrus.core.uri.internal.MultivaluedMap
+
+
Compare the specified map with this map for equality modulo the order + of values for each key.
+
+
EQUIVALENT_PATHS(Object, Object) - Static method in class org.glassfish.tyrus.core.l10n.LocalizationMessages
+
+
Found equivalent paths.
+
+
error() - Method in class org.glassfish.tyrus.core.StrictUtf8.Parser
+
+
If the previous parse operation detected an error, return the object describing that error.
+
+
ERROR_CAUGHT_WHILE_LOADING_SPI_PROVIDERS() - Static method in class org.glassfish.tyrus.core.l10n.LocalizationMessages
+
+
Error caught while loading SPI providers.
+
+
ErrorCollector - Class in org.glassfish.tyrus.core
+
+
Used to collect deployment errors to present these to the user together.
+
+
ErrorCollector() - Constructor for class org.glassfish.tyrus.core.ErrorCollector
+
 
+
evaluate() - Method in interface org.glassfish.tyrus.core.BaseContainer.ShutDownCondition
+
 
+
EXCEPTION_CAUGHT_WHILE_LOADING_SPI_PROVIDERS() - Static method in class org.glassfish.tyrus.core.l10n.LocalizationMessages
+
+
Exception caught while loading SPI providers.
+
+
execute() - Method in class org.glassfish.tyrus.container.grizzly.client.TaskProcessor.Task
+
+
To be overridden.
+
+
ExecutorServiceProvider - Class in org.glassfish.tyrus.core
+
 
+
ExecutorServiceProvider() - Constructor for class org.glassfish.tyrus.core.ExecutorServiceProvider
+
 
+
ExtendedExtension - Interface in org.glassfish.tyrus.core.extension
+
+
WebSocket Extension.
+
+
ExtendedExtension.ExtensionContext - Interface in org.glassfish.tyrus.core.extension
+
+
Context present as a parameter in all ExtendedExtension methods.
+
+
Extension - Interface in javax.websocket
+
+
A simple representation of a websocket extension as a name and map of extension parameters.
+
+
EXTENSION_EXCEPTION(Object, Object) - Static method in class org.glassfish.tyrus.core.l10n.LocalizationMessages
+
+
Extension ''{0}'' threw an exception during processOutgoing method invocation: "{1}".
+
+
Extension.Parameter - Interface in javax.websocket
+
+
This member interface defines a single websocket extension parameter.
+
+
extensions(List<Extension>) - Method in class javax.websocket.ClientEndpointConfig.Builder
+
+
Set the extensions for the configuration this builder will build.
+
+
extensions(List<Extension>) - Method in class javax.websocket.server.ServerEndpointConfig.Builder
+
+
Sets the extensions to use in the configuration.
+
+
extensions(List<Extension>) - Method in class org.glassfish.tyrus.core.TyrusServerEndpointConfig.Builder
+
+
Sets the extensions to use in the configuration.
+
+
+ + + +

F

+
+
failed(Throwable) - Method in class org.glassfish.tyrus.spi.CompletionHandler
+
+
The operation was failed.
+
+
fin(boolean) - Method in class org.glassfish.tyrus.core.frame.Frame.Builder
+
+
Set FIN flag.
+
+
find(Class<T>) - Static method in class org.glassfish.tyrus.core.ServiceFinder
+
+
Locates and incrementally instantiates the available providers of a + given service using the context class loader.
+
+
find(Class<T>, boolean) - Static method in class org.glassfish.tyrus.core.ServiceFinder
+
+
Locates and incrementally instantiates the available providers of a + given service using the context class loader.
+
+
find(Class<T>, ClassLoader) - Static method in class org.glassfish.tyrus.core.ServiceFinder
+
+
Locates and incrementally instantiates the available providers of a + given service using the given class loader.
+
+
find(Class<T>, ClassLoader, boolean) - Static method in class org.glassfish.tyrus.core.ServiceFinder
+
+
Locates and incrementally instantiates the available providers of a + given service using the given class loader.
+
+
find(String) - Static method in class org.glassfish.tyrus.core.ServiceFinder
+
+
Locates and incrementally instantiates the available classes of a given + service file using the context class loader.
+
+
findMethodOnClass(Class, Method) - Static method in class org.glassfish.tyrus.core.ReflectionHelper
+
+
Find a method on a class given an existing method.
+
+
FloatDecoder() - Constructor for class org.glassfish.tyrus.core.coder.PrimitiveDecoders.FloatDecoder
+
 
+
flush() - Method in class org.glassfish.tyrus.core.DebugContext
+
+
Write pending messages to the log.
+
+
flushBatch() - Method in interface javax.websocket.RemoteEndpoint
+
+
This method is only used when batching is allowed for this RemoteEndpint.
+
+
flushBatch() - Method in class org.glassfish.tyrus.core.TyrusRemoteEndpoint
+
 
+
FRAGMENT - org.glassfish.tyrus.core.uri.internal.UriComponent.Type
+
+
The URI fragment component type.
+
+
FRAGMENT_INVALID_OPCODE() - Static method in class org.glassfish.tyrus.core.l10n.LocalizationMessages
+
+
Fragment sent but opcode was not 0.
+
+
Frame - Class in org.glassfish.tyrus.core.frame
+
+
WebSocket frame representation.
+
+
Frame(Frame) - Constructor for class org.glassfish.tyrus.core.frame.Frame
+
+
Copy constructor.
+
+
FRAME_BUFFER_SIZE - Static variable in class org.glassfish.tyrus.servlet.TyrusHttpUpgradeHandler
+
 
+
FRAME_WRITE_CANCELLED() - Static method in class org.glassfish.tyrus.core.l10n.LocalizationMessages
+
+
Frame writing was canceled.
+
+
Frame.Builder - Class in org.glassfish.tyrus.core.frame
+
+
Frame builder.
+
+
fromClass(Class<?>, ComponentProviderService, boolean, int, ErrorCollector, EndpointEventListener) - Static method in class org.glassfish.tyrus.core.AnnotatedEndpoint
+
+
Create AnnotatedEndpoint from class.
+
+
fromClass(Class<?>, ComponentProviderService, boolean, int, ErrorCollector, EndpointEventListener, Set<Extension>) - Static method in class org.glassfish.tyrus.core.AnnotatedEndpoint
+
+
Create AnnotatedEndpoint from class.
+
+
fromDecoderClasses(List<Class<? extends Decoder>>) - Static method in class org.glassfish.tyrus.core.MessageHandlerManager
+
+
Construct manager.
+
+
fromHeaders(List<String>) - Static method in class org.glassfish.tyrus.core.TyrusExtension
+
+
Parse Extension from headers (represented as List of strings).
+
+
fromInstance(Object, ComponentProviderService, boolean, int, ErrorCollector) - Static method in class org.glassfish.tyrus.core.AnnotatedEndpoint
+
+
Create AnnotatedEndpoint from instance.
+
+
fromInstance(Object, ComponentProviderService, boolean, int, ErrorCollector, Set<Extension>) - Static method in class org.glassfish.tyrus.core.AnnotatedEndpoint
+
+
Create AnnotatedEndpoint from instance.
+
+
fromString(List<String>) - Static method in class org.glassfish.tyrus.core.TyrusExtension
+
+
Parsing of one Extension.
+
+
fullRelativeUri(URI) - Static method in class org.glassfish.tyrus.core.uri.internal.UriComponent
+
+
Return the Request-Uri representation as defined by HTTP spec.
+
+
+ + + +

G

+
+
generateAuthorizationHeader(URI, String, Credentials) - Method in class org.glassfish.tyrus.client.auth.Authenticator
+
+
Generate value used as ""Authorization"" header value for next request.
+
+
genericInterface - Variable in class org.glassfish.tyrus.core.ReflectionHelper.DeclaringClassInterfacePair
+
 
+
get() - Method in interface org.glassfish.tyrus.core.collection.Value
+
+
Get the stored value.
+
+
get() - Method in class org.glassfish.tyrus.core.TyrusFuture
+
 
+
get(long, TimeUnit) - Method in class org.glassfish.tyrus.core.TyrusFuture
+
 
+
get(Object) - Method in class org.glassfish.tyrus.core.uri.internal.AbstractMultivaluedMap
+
 
+
getAllMatches(String, Set<TyrusEndpointWrapper>, DebugContext) - Static method in class org.glassfish.tyrus.core.uri.Match
+
+
Return a list of all endpoints with path matching the request path.
+
+
getAllSessions() - Method in class org.glassfish.tyrus.core.TyrusSession
+
+
Get set of all sessions opened to the same endpoint.
+
+
getAnnotatedEndpointClasses(Set<Class<?>>) - Method in interface javax.websocket.server.ServerApplicationConfig
+
+
Return a set of annotated endpoint classes that the server container + must deploy.
+
+
getAnnotatedEndpointClasses(Set<Class<?>>) - Method in class org.glassfish.tyrus.server.TyrusServerConfiguration
+
+
Gets all the classes annotated with ServerEndpoint annotation which should be deployed.
+
+
getAny() - Method in class org.glassfish.tyrus.core.wsadl.model.Application
+
+
Gets the value of the any property.
+
+
getApplicationData() - Method in interface javax.websocket.PongMessage
+
+
The application data inside the pong message from the peer.
+
+
getApplicationEventListener() - Method in class org.glassfish.tyrus.core.TyrusWebSocketEngine
+
+
Get ApplicationEventListener related to current TyrusWebSocketEngine instance.
+
+
getArguments() - Method in interface org.glassfish.tyrus.core.l10n.Localizable
+
+
Returns the arguments for message formatting.
+
+
getArguments() - Method in class org.glassfish.tyrus.core.l10n.LocalizableMessage
+
 
+
getArrayClass(Class) - Static method in class org.glassfish.tyrus.core.ReflectionHelper
+
+
Get Array class of component class.
+
+
getAsyncRemote() - Method in interface javax.websocket.Session
+
+
Return a reference a RemoteEndpoint object representing the peer of this conversation + that is able to send messages asynchronously to the peer.
+
+
getAsyncRemote() - Method in class org.glassfish.tyrus.core.cluster.RemoteSession
+
+
Get a reference a RemoteEndpoint.Async object representing the peer of this conversation + that is able to send messages asynchronously to the peer.
+
+
getAsyncRemote() - Method in class org.glassfish.tyrus.core.TyrusSession
+
 
+
getAuthenticators() - Method in class org.glassfish.tyrus.client.auth.AuthConfig
+
+
Get an unmodifiable map of authenticators, where case insensitive authentication scheme to Authenticator.
+
+
getBasicRemote() - Method in interface javax.websocket.Session
+
+
Return a reference a RemoteEndpoint object representing the peer of this conversation + that is able to send messages synchronously to the peer.
+
+
getBasicRemote() - Method in class org.glassfish.tyrus.core.cluster.RemoteSession
+
+
Get a reference a RemoteEndpoint.Basic object representing the peer of this conversation + that is able to send messages synchronously to the peer.
+
+
getBasicRemote() - Method in class org.glassfish.tyrus.core.TyrusSession
+
 
+
getBatchingAllowed() - Method in interface javax.websocket.RemoteEndpoint
+
+
Return whether the implementation is allowed to batch outgoing messages + before sending.
+
+
getBatchingAllowed() - Method in class org.glassfish.tyrus.core.TyrusRemoteEndpoint
+
 
+
getBytes() - Method in exception javax.websocket.DecodeException
+
+
Return the ByteBuffer containing either the whole message, or the partial message, that + could not be decoded, or null if + this exception arose from a failure to decode a text message.
+
+
getClass(Class, Class) - Static method in class org.glassfish.tyrus.core.ReflectionHelper
+
+
Find the declaring class that implements or extends an interface.
+
+
getClassType(Class<?>, Class<?>) - Static method in class org.glassfish.tyrus.core.ReflectionHelper
+
+
Find a type of the class given it's Superclass.
+
+
getClientManager() - Method in class org.glassfish.tyrus.server.TyrusServerContainer
+
+
Can be overridden to provide own ClientManager implementation or instance.
+
+
getCloseCode() - Method in class javax.websocket.CloseReason
+
+
The Close code associated with this CloseReason.
+
+
getCloseCode(int) - Static method in enum javax.websocket.CloseReason.CloseCodes
+
+
Creates a CloseCode from the given int code number.
+
+
getCloseListener() - Method in interface org.glassfish.tyrus.spi.Connection
+
+
Returns the same close listener that is passed for creating connection in + WebSocketEngine.UpgradeInfo.createConnection(Writer, CloseListener).
+
+
getCloseReason() - Method in enum org.glassfish.tyrus.core.CloseReasons
+
+
Get close reason.
+
+
getCloseReason() - Method in class org.glassfish.tyrus.core.frame.CloseFrame
+
+
Get close reason.
+
+
getCloseReason() - Method in exception org.glassfish.tyrus.core.ProtocolException
+
 
+
getCloseReason() - Method in exception org.glassfish.tyrus.core.Utf8DecodingException
+
 
+
getCloseReason() - Method in exception org.glassfish.tyrus.core.WebSocketException
+
+
Get close reason.
+
+
getCode() - Method in interface javax.websocket.CloseReason.CloseCode
+
+
Returns the code number, for example the integer '1000' for normal closure.
+
+
getCode() - Method in enum javax.websocket.CloseReason.CloseCodes
+
+
Return the code number of this status code.
+
+
getCoder() - Method in class org.glassfish.tyrus.core.coder.CoderWrapper
+
+
Get coder instance.
+
+
getCoderClass() - Method in class org.glassfish.tyrus.core.coder.CoderWrapper
+
+
Get coder class.
+
+
getCoderInstance(Class<T>, Session, EndpointConfig, ErrorCollector) - Method in class org.glassfish.tyrus.core.ComponentProviderService
+
+
Provide an instance of Encoder or Decoder descendant which is + coupled to Session.
+
+
getConfigurator() - Method in interface javax.websocket.ClientEndpointConfig
+
+
Return the custom configurator for this configuration.
+
+
getConfigurator() - Method in interface javax.websocket.server.ServerEndpointConfig
+
+
Return the ServerEndpointConfig.Configurator this configuration + is using.
+
+
getContainer() - Method in class javax.websocket.ContainerProvider
+
+
Load the container implementation.
+
+
getContainer() - Method in interface javax.websocket.Session
+
+
Return the container that this session is part of.
+
+
getContainer() - Method in class org.glassfish.tyrus.container.grizzly.client.GrizzlyContainerProvider
+
 
+
getContainer() - Method in class org.glassfish.tyrus.core.cluster.RemoteSession
+
+
This method is not supported on RemoteSession.
+
+
getContainer() - Method in class org.glassfish.tyrus.core.TyrusSession
+
 
+
getContextClassLoaderPA() - Static method in class org.glassfish.tyrus.core.ReflectionHelper
+
+
Get privileged action to obtain context class loader.
+
+
getCorePoolSize() - Method in class org.glassfish.tyrus.client.ThreadPoolConfig
+
+
Get the core thread pool size - the size of the thread pool will never bee smaller than this.
+
+
getDeclaringClass(AccessibleObject) - Static method in class org.glassfish.tyrus.core.ReflectionHelper
+
+
Get declaring class of provided field, method or constructor.
+
+
getDecoders() - Method in interface javax.websocket.EndpointConfig
+
+
Return the Decoder implementation classes configured.
+
+
getDefaultAsyncSendTimeout() - Method in interface javax.websocket.WebSocketContainer
+
+
Return the number of milliseconds the implementation will timeout + attempting to send a websocket message for all RemoteEndpoints associated + with this container.
+
+
getDefaultAsyncSendTimeout() - Method in class org.glassfish.tyrus.client.ClientManager
+
 
+
getDefaultAsyncSendTimeout() - Method in class org.glassfish.tyrus.server.TyrusServerContainer
+
 
+
getDefaultMaxBinaryMessageBufferSize() - Method in interface javax.websocket.WebSocketContainer
+
+
Returns the default maximum size of incoming binary message that this container + will buffer.
+
+
getDefaultMaxBinaryMessageBufferSize() - Method in class org.glassfish.tyrus.client.ClientManager
+
 
+
getDefaultMaxBinaryMessageBufferSize() - Method in class org.glassfish.tyrus.server.TyrusServerContainer
+
 
+
getDefaultMaxSessionIdleTimeout() - Method in interface javax.websocket.WebSocketContainer
+
+
Return the default time in milliseconds after which any web socket sessions in this + container will be closed if it has been inactive.
+
+
getDefaultMaxSessionIdleTimeout() - Method in class org.glassfish.tyrus.client.ClientManager
+
 
+
getDefaultMaxSessionIdleTimeout() - Method in class org.glassfish.tyrus.server.TyrusServerContainer
+
 
+
getDefaultMaxTextMessageBufferSize() - Method in interface javax.websocket.WebSocketContainer
+
+
Returns the default maximum size of incoming text message that this container + will buffer.
+
+
getDefaultMaxTextMessageBufferSize() - Method in class org.glassfish.tyrus.client.ClientManager
+
 
+
getDefaultMaxTextMessageBufferSize() - Method in class org.glassfish.tyrus.server.TyrusServerContainer
+
 
+
getDelay() - Method in class org.glassfish.tyrus.client.ClientManager.ReconnectHandler
+
+
Get reconnect delay.
+
+
getDelay() - Method in exception org.glassfish.tyrus.client.RetryAfterException
+
+
Get a delay specified in "Retry-After" response header in seconds.
+
+
getDistributedProperties() - Method in interface org.glassfish.tyrus.core.cluster.DistributedSession
+
+
Get distributed properties.
+
+
getDistributedProperties() - Method in class org.glassfish.tyrus.core.cluster.RemoteSession
+
 
+
getDistributedProperties() - Method in class org.glassfish.tyrus.core.TyrusSession
+
 
+
getDistributedSessionProperties(String) - Method in class org.glassfish.tyrus.core.cluster.ClusterContext
+
+
Get the map containing session properties to be shared among nodes.
+
+
getDistributedUserProperties(String) - Method in class org.glassfish.tyrus.core.cluster.ClusterContext
+
+
Get the map containing session user properties to be shared among nodes.
+
+
getEnabledCipherSuites() - Method in class org.glassfish.tyrus.client.SslEngineConfigurator
+
+
Get enabled cipher suites.
+
+
getEnabledProtocols() - Method in class org.glassfish.tyrus.client.SslEngineConfigurator
+
+
Get enabled protocols.
+
+
getEncoders() - Method in interface javax.websocket.EndpointConfig
+
+
Return the Encoder implementation classes configured.
+
+
getEndpoint() - Method in class org.glassfish.tyrus.core.wsadl.model.Application
+
+
Gets the value of the endpoint property.
+
+
getEndpointClass() - Method in interface javax.websocket.server.ServerEndpointConfig
+
+
Returns the Class of the endpoint this configuration is configuring.
+
+
getEndpointConfig() - Method in class org.glassfish.tyrus.core.AnnotatedEndpoint
+
 
+
getEndpointConfig() - Method in class org.glassfish.tyrus.core.TyrusEndpointWrapper
+
+
Get Endpoint configuration.
+
+
getEndpointConfigs(Set<Class<? extends Endpoint>>) - Method in interface javax.websocket.server.ServerApplicationConfig
+
+
Return a set of ServerEndpointConfig instances that the server container + will use to deploy the programmatic endpoints.
+
+
getEndpointConfigs(Set<Class<? extends Endpoint>>) - Method in class org.glassfish.tyrus.server.TyrusServerConfiguration
+
+
Gets all the ServerEndpointConfig classes which should be deployed.
+
+
getEndpointInstance(Class<T>) - Method in class javax.websocket.server.ServerEndpointConfig.Configurator
+
+
This method is called by the container each time a new client + connects to the logical endpoint this configurator configures.
+
+
getEndpointInstance(Class<T>) - Method in class org.glassfish.tyrus.core.ComponentProviderService
+
+
This method is called by the container each time a new client + connects to the logical endpoint this configurator configures.
+
+
getEndpointInstance(Class<T>) - Method in class org.glassfish.tyrus.core.TyrusServerEndpointConfigurator
+
 
+
getEndpointPath() - Method in class org.glassfish.tyrus.core.TyrusEndpointWrapper
+
+
Server-side; Get Endpoint absolute path.
+
+
getEndpointWrapper() - Method in class org.glassfish.tyrus.core.uri.Match
+
+
Get endpoint wrapper.
+
+
getException() - Method in class javax.websocket.SendResult
+
+
The problem sending the message.
+
+
getExecutorService() - Method in class org.glassfish.tyrus.core.BaseContainer
+
+
Returns a container-managed ExecutorService registered under + java:comp/DefaultManagedExecutorService or if the lookup has failed, it returns a + ExecutorService created and managed by this instance of + BaseContainer.
+
+
getExecutorService() - Method in class org.glassfish.tyrus.core.ExecutorServiceProvider
+
+
Get the ExecutorService.
+
+
getExtensions() - Method in interface javax.websocket.ClientEndpointConfig
+
+
Return the extensions, in order of preference, favorite first, that this client would + like to use for its sessions.
+
+
getExtensions() - Method in interface javax.websocket.server.ServerEndpointConfig
+
+
Return the websocket extensions configured.
+
+
getFirst(String, A) - Method in class org.glassfish.tyrus.core.uri.internal.MultivaluedStringMap
+
 
+
getFirst(String, Class<A>) - Method in class org.glassfish.tyrus.core.uri.internal.MultivaluedStringMap
+
 
+
getFirst(K) - Method in class org.glassfish.tyrus.core.uri.internal.AbstractMultivaluedMap
+
 
+
getFirst(K) - Method in interface org.glassfish.tyrus.core.uri.internal.MultivaluedMap
+
+
A shortcut to get the first value of the supplied key.
+
+
getFirstHeaderValue(String) - Method in class org.glassfish.tyrus.spi.UpgradeResponse
+
+
Gets the value of the response header with the given name.
+
+
getFrameType() - Method in class org.glassfish.tyrus.core.frame.TyrusFrame
+
+
Returns the type of the frame.
+
+
getFromStringStringMethod(Class) - Static method in class org.glassfish.tyrus.core.ReflectionHelper
+
+
Get the static fromString(String ) method.
+
+
getGenericClass(Type) - Static method in class org.glassfish.tyrus.core.ReflectionHelper
+
+
Get the class that is the type argument of a parameterized type.
+
+
getGroupCounts() - Method in class org.glassfish.tyrus.core.uri.internal.UriTemplateParser
+
+
Get the capturing group counts for each template variable.
+
+
getGroupIndexes() - Method in class org.glassfish.tyrus.core.uri.internal.PatternWithGroups
+
+
Get the group indexes to capturing groups.
+
+
getGroupIndexes() - Method in class org.glassfish.tyrus.core.uri.internal.UriTemplateParser
+
+
Get the group indexes to capturing groups.
+
+
getHeader(String) - Method in class org.glassfish.tyrus.core.RequestContext
+
+
Returns the header value corresponding to the name.
+
+
getHeader(String) - Method in class org.glassfish.tyrus.spi.UpgradeRequest
+
+
Returns the value of the specified request header name.
+
+
getHeaderFromList(List<T>) - Static method in class org.glassfish.tyrus.core.Utils
+
+
Creates single String value from provided List by calling Object.toString() on each item + and separating existing ones with ", ".
+
+
getHeaderFromList(List<T>, Utils.Stringifier<T>) - Static method in class org.glassfish.tyrus.core.Utils
+
+
Convert list of values to singe String usable as HTTP header value.
+
+
getHeaders() - Method in interface javax.websocket.HandshakeResponse
+
+
Return the list of Http headers sent by the web socket server.
+
+
getHeaders() - Method in interface javax.websocket.server.HandshakeRequest
+
+
Return the read only Map of Http Headers that came with the handshake request.
+
+
getHeaders() - Method in class org.glassfish.tyrus.core.RequestContext
+
+
Get headers.
+
+
getHeaders() - Method in class org.glassfish.tyrus.core.TyrusUpgradeResponse
+
+
Get HTTP headers.
+
+
getHeartbeatInterval() - Method in class org.glassfish.tyrus.core.TyrusSession
+
+
Return an interval in milliseconds between scheduled periodic Pong messages.
+
+
getHostnameVerifier() - Method in class org.glassfish.tyrus.client.SslEngineConfigurator
+
+
Get custom hostname verifier.
+
+
getHttpSession() - Method in interface javax.websocket.server.HandshakeRequest
+
+
Return a reference to the HttpSession that the web socket handshake that + started this conversation was part of, if the implementation + is part of a Java EE web container.
+
+
getHttpSession() - Method in class org.glassfish.tyrus.core.RequestContext
+
 
+
getHttpStatusCode() - Method in exception org.glassfish.tyrus.core.HandshakeException
+
+
Get the error code.
+
+
getId() - Method in interface javax.websocket.Session
+
+
Returns a string containing the unique identifier assigned to this session.
+
+
getId() - Method in class org.glassfish.tyrus.core.cluster.RemoteSession
+
+
Get a string containing the unique identifier assigned to this session.
+
+
getId() - Method in class org.glassfish.tyrus.core.TyrusSession
+
 
+
getId() - Method in class org.glassfish.tyrus.core.wsadl.model.Endpoint
+
+
Gets the value of the id property.
+
+
getInitialClassLoader() - Method in class org.glassfish.tyrus.client.ThreadPoolConfig
+
+
Get the class loader (if any) to be initially exposed by threads from this pool.
+
+
getInstalledExtensions() - Method in interface javax.websocket.WebSocketContainer
+
+
Return the set of Extensions installed in the container.
+
+
getInstalledExtensions() - Method in class org.glassfish.tyrus.client.ClientManager
+
 
+
getInstalledExtensions() - Method in class org.glassfish.tyrus.server.TyrusServerContainer
+
 
+
getInstance() - Static method in class org.glassfish.tyrus.core.OsgiRegistry
+
+
Returns an OsgiRegistry instance.
+
+
getInstance(Class<T>) - Static method in class org.glassfish.tyrus.core.ReflectionHelper
+
+
Creates an instance of Class c using Class.newInstance().
+
+
getInstance(Class<T>, Session, ErrorCollector) - Method in class org.glassfish.tyrus.core.ComponentProviderService
+
+
Provide an instance of class which is coupled to Session.
+
+
getInstance(Class<T>, ErrorCollector) - Static method in class org.glassfish.tyrus.core.ReflectionHelper
+
+
Creates an instance of Class c using Class.newInstance().
+
+
getInvocableMethod(Method) - Method in class org.glassfish.tyrus.core.ComponentProvider
+
+
Get the method which should be invoked instead provided one.
+
+
getInvocableMethod(Method) - Method in class org.glassfish.tyrus.core.ComponentProviderService
+
 
+
getInvocableMethod(Method) - Method in class org.glassfish.tyrus.core.DefaultComponentProvider
+
 
+
getInvocableMethod(Method) - Method in class org.glassfish.tyrus.gf.ejb.EjbComponentProvider
+
 
+
getKeepAliveTime(TimeUnit) - Method in class org.glassfish.tyrus.client.ThreadPoolConfig
+
+
Get the max period of time a thread will wait for a new task to process.
+
+
getKey() - Method in interface org.glassfish.tyrus.core.l10n.Localizable
+
+
Gets the key in the resource bundle.
+
+
getKey() - Method in class org.glassfish.tyrus.core.l10n.LocalizableMessage
+
 
+
getLocale() - Method in class org.glassfish.tyrus.core.l10n.Localizer
+
 
+
getMaskingKey() - Method in class org.glassfish.tyrus.core.frame.Frame
+
+
Get masking key.
+
+
getMatrixParameters() - Method in interface org.glassfish.tyrus.core.uri.internal.PathSegment
+
+
Get a map of the matrix parameters associated with the path segment.
+
+
getMaxBinaryMessageBufferSize() - Method in interface javax.websocket.Session
+
+
The maximum length of incoming binary messages that this Session can buffer.
+
+
getMaxBinaryMessageBufferSize() - Method in class org.glassfish.tyrus.core.cluster.RemoteSession
+
+
Get the maximum length of incoming binary messages that this Session can buffer.
+
+
getMaxBinaryMessageBufferSize() - Method in class org.glassfish.tyrus.core.TyrusSession
+
 
+
getMaxIdleTimeout() - Method in interface javax.websocket.Session
+
+
Return the number of milliseconds before this conversation may be closed by the + container if it is inactive, i.e.
+
+
getMaxIdleTimeout() - Method in class org.glassfish.tyrus.core.cluster.RemoteSession
+
+
Get the number of milliseconds before this conversation may be closed by the + container if it is inactive, i.e.
+
+
getMaxIdleTimeout() - Method in class org.glassfish.tyrus.core.TyrusSession
+
 
+
getMaxPoolSize() - Method in class org.glassfish.tyrus.client.ThreadPoolConfig
+
+
Get max thread pool size.
+
+
getMaxSessions() - Method in interface org.glassfish.tyrus.core.TyrusServerEndpointConfig
+
+
Returns configured maximal number of open sessions.
+
+
getMaxTextMessageBufferSize() - Method in interface javax.websocket.Session
+
+
The maximum length of incoming text messages that this Session can buffer.
+
+
getMaxTextMessageBufferSize() - Method in class org.glassfish.tyrus.core.cluster.RemoteSession
+
+
Get the maximum length of incoming text messages that this Session can buffer.
+
+
getMaxTextMessageBufferSize() - Method in class org.glassfish.tyrus.core.TyrusSession
+
 
+
getMessage(String, Object...) - Method in class org.glassfish.tyrus.core.l10n.LocalizableMessageFactory
+
 
+
getMessageHandlers() - Method in interface javax.websocket.Session
+
+
Return an unmodifiable copy of the set of MessageHandlers for this Session.
+
+
getMessageHandlers() - Method in class org.glassfish.tyrus.core.cluster.RemoteSession
+
+
This method is not supported on RemoteSession.
+
+
getMessageHandlers() - Method in class org.glassfish.tyrus.core.MessageHandlerManager
+
+
Get all successfully registered MessageHandlers.
+
+
getMessageHandlers() - Method in class org.glassfish.tyrus.core.TyrusSession
+
 
+
getMessageType() - Method in class org.glassfish.tyrus.spi.WriterInfo
+
 
+
getName() - Method in interface javax.websocket.Extension
+
+
The name of the extension.
+
+
getName() - Method in interface javax.websocket.Extension.Parameter
+
+
Return the name of the extension parameter.
+
+
getName() - Method in class org.glassfish.tyrus.core.TyrusExtension
+
 
+
getName() - Method in class org.glassfish.tyrus.core.TyrusExtension.TyrusParameter
+
 
+
getNames() - Method in class org.glassfish.tyrus.core.uri.internal.UriTemplateParser
+
+
Get the list of template names.
+
+
getNameToPattern() - Method in class org.glassfish.tyrus.core.uri.internal.UriTemplateParser
+
+
Get the map of template names to patterns.
+
+
getNegotiatedExtensions() - Method in interface javax.websocket.Session
+
+
Return the list of extensions currently in use for this conversation.
+
+
getNegotiatedExtensions() - Method in class org.glassfish.tyrus.core.cluster.RemoteSession
+
+
Get the list of extensions currently in use for this conversation.
+
+
getNegotiatedExtensions() - Method in class org.glassfish.tyrus.core.TyrusSession
+
 
+
getNegotiatedExtensions(List<Extension>, List<Extension>) - Method in class javax.websocket.server.ServerEndpointConfig.Configurator
+
+
Return the ordered list of extensions that t server endpoint will support + given the requested extension list passed in, the empty list if none.
+
+
getNegotiatedExtensions(List<Extension>, List<Extension>) - Method in class org.glassfish.tyrus.core.TyrusServerEndpointConfigurator
+
 
+
getNegotiatedSubprotocol() - Method in interface javax.websocket.Session
+
+
Return the sub protocol agreed during the websocket handshake for this conversation.
+
+
getNegotiatedSubprotocol() - Method in class org.glassfish.tyrus.core.cluster.RemoteSession
+
+
Get the sub protocol agreed during the websocket handshake for this conversation.
+
+
getNegotiatedSubprotocol() - Method in class org.glassfish.tyrus.core.TyrusSession
+
 
+
getNegotiatedSubprotocol(List<String>, List<String>) - Method in class javax.websocket.server.ServerEndpointConfig.Configurator
+
+
Return the subprotocol the server endpoint has chosen from the requested + list supplied by a client who wishes to connect, or none if there wasn't one + this server endpoint liked.
+
+
getNegotiatedSubprotocol(List<String>, List<String>) - Method in class org.glassfish.tyrus.core.TyrusServerEndpointConfigurator
+
 
+
getNormalizedTemplate() - Method in class org.glassfish.tyrus.core.uri.internal.UriTemplateParser
+
+
Get the normalized template.
+
+
getNumberOfExplicitCharacters() - Method in class org.glassfish.tyrus.core.uri.internal.UriTemplate
+
+
Get the number of characters in the regular expression not resulting + from conversion of template variables.
+
+
getNumberOfExplicitRegexes() - Method in class org.glassfish.tyrus.core.uri.internal.UriTemplate
+
+
Get the number of explicit regular expressions declared in the template variables.
+
+
getNumberOfExplicitRegexes() - Method in class org.glassfish.tyrus.core.uri.internal.UriTemplateParser
+
+
Get the number of explicit regular expressions.
+
+
getNumberOfLiteralCharacters() - Method in class org.glassfish.tyrus.core.uri.internal.UriTemplateParser
+
+
Get the number of literal characters.
+
+
getNumberOfRegexGroups() - Method in class org.glassfish.tyrus.core.uri.internal.UriTemplate
+
+
Get the number of regular expression groups
+
+
getNumberOfRegexGroups() - Method in class org.glassfish.tyrus.core.uri.internal.UriTemplateParser
+
+
Get the number of regular expression groups
+
+
getNumberOfTemplateVariables() - Method in class org.glassfish.tyrus.core.uri.internal.UriTemplate
+
+
Get the number of template variables.
+
+
getObject() - Method in exception javax.websocket.EncodeException
+
+
Return the Object that could not be encoded.
+
+
getOpcode() - Method in class org.glassfish.tyrus.core.frame.Frame
+
+
Get opcode.
+
+
getOpenSessions() - Method in interface javax.websocket.Session
+
+
Return a copy of the Set of all the open web socket sessions that represent + connections to the same endpoint to which this session represents a connection.
+
+
getOpenSessions() - Method in class org.glassfish.tyrus.core.cluster.RemoteSession
+
+
This method is not supported on RemoteSession.
+
+
getOpenSessions() - Method in class org.glassfish.tyrus.core.TyrusSession
+
 
+
getOrderedWholeMessageHandlers() - Method in class org.glassfish.tyrus.core.MessageHandlerManager
+
 
+
getOsgiRegistryInstance() - Static method in class org.glassfish.tyrus.core.ReflectionHelper
+
+
Returns an OsgiRegistry instance.
+
+
getOtherAttributes() - Method in class org.glassfish.tyrus.core.wsadl.model.Endpoint
+
+
Gets a map that contains attributes that aren't bound to any typed property on this class.
+
+
getPackageResources(String, ClassLoader) - Method in class org.glassfish.tyrus.core.OsgiRegistry
+
 
+
getParameterizedClassArguments(ReflectionHelper.DeclaringClassInterfacePair) - Static method in class org.glassfish.tyrus.core.ReflectionHelper
+
+
Get the parameterized class arguments for a declaring class that declares a generic interface type.
+
+
getParameterizedTypeArguments(ReflectionHelper.DeclaringClassInterfacePair) - Static method in class org.glassfish.tyrus.core.ReflectionHelper
+
+
Get the parameterized type arguments for a declaring class that declares a generic interface type.
+
+
getParameterMap() - Method in interface javax.websocket.server.HandshakeRequest
+
+
Return the request parameters associated with the request.
+
+
getParameterMap() - Method in class org.glassfish.tyrus.core.RequestContext
+
 
+
getParameters() - Method in interface javax.websocket.Extension
+
+
The extension parameters for this extension in the order + they appear in the http headers.
+
+
getParameters() - Method in class org.glassfish.tyrus.core.TyrusExtension
+
 
+
getParameters() - Method in class org.glassfish.tyrus.core.uri.Match
+
+
Get map of parameter names-value pairs.
+
+
getPassword() - Method in class org.glassfish.tyrus.client.auth.Credentials
+
+
Get the password as byte array.
+
+
getPath() - Method in interface javax.websocket.server.ServerEndpointConfig
+
+
Return the path for this endpoint configuration.
+
+
getPath() - Method in interface org.glassfish.tyrus.core.uri.internal.PathSegment
+
+
Get the path segment.
+
+
getPath() - Method in class org.glassfish.tyrus.core.wsadl.model.Endpoint
+
+
Gets the value of the path property.
+
+
getPathParameters() - Method in interface javax.websocket.Session
+
+
Return a map of the path parameter names and values used associated with the + request this session was opened under.
+
+
getPathParameters() - Method in class org.glassfish.tyrus.core.cluster.RemoteSession
+
+
Get a map of the path parameter names and values used associated with the + request this session was opened under.
+
+
getPathParameters() - Method in class org.glassfish.tyrus.core.TyrusSession
+
 
+
getPattern() - Method in class org.glassfish.tyrus.core.uri.internal.UriTemplate
+
+
Get the URI pattern.
+
+
getPattern() - Method in class org.glassfish.tyrus.core.uri.internal.UriTemplateParser
+
+
Get the pattern.
+
+
getPayloadData() - Method in class org.glassfish.tyrus.core.frame.Frame
+
+
Get payload data.
+
+
getPayloadLength() - Method in class org.glassfish.tyrus.core.frame.Frame
+
+
Get payload length.
+
+
getPoolName() - Method in class org.glassfish.tyrus.client.ThreadPoolConfig
+
+
Return thread pool name.
+
+
getPort() - Method in class org.glassfish.tyrus.server.Server
+
+
Get the port which was used to start the container.
+
+
getPort() - Method in class org.glassfish.tyrus.server.TyrusServerContainer
+
+
Get port of the started container.
+
+
getPreferredSubprotocols() - Method in interface javax.websocket.ClientEndpointConfig
+
+
Return the ordered list of sub protocols a client endpoint would like to use, + in order of preference, favorite first that this client would + like to use for its sessions.
+
+
getPriority() - Method in class org.glassfish.tyrus.client.ThreadPoolConfig
+
+
Get priority of the threads in thread pool.
+
+
getProperties() - Method in class org.glassfish.tyrus.client.ClientManager
+
+
Container properties.
+
+
getProperties() - Method in interface org.glassfish.tyrus.core.extension.ExtendedExtension.ExtensionContext
+
+
Mutable, not synchronised property map.
+
+
getProperty(Map<String, Object>, String, Class<T>) - Static method in class org.glassfish.tyrus.core.Utils
+
+
Get typed property from generic property map.
+
+
getProperty(Map<String, Object>, String, Class<T>, T) - Static method in class org.glassfish.tyrus.core.Utils
+
+
Get typed property from generic property map.
+
+
getProtocolVersion() - Method in interface javax.websocket.Session
+
+
Returns the version of the websocket protocol currently being used.
+
+
getProtocolVersion() - Method in class org.glassfish.tyrus.core.cluster.RemoteSession
+
+
Get the version of the websocket protocol currently being used.
+
+
getProtocolVersion() - Method in class org.glassfish.tyrus.core.TyrusSession
+
 
+
getQueryString() - Method in interface javax.websocket.server.HandshakeRequest
+
+
Return the query string associated with the request.
+
+
getQueryString() - Method in interface javax.websocket.Session
+
+
Return the query string associated with the request this session + was opened under.
+
+
getQueryString() - Method in class org.glassfish.tyrus.core.cluster.RemoteSession
+
+
Get the query string associated with the request this session + was opened under.
+
+
getQueryString() - Method in class org.glassfish.tyrus.core.RequestContext
+
 
+
getQueryString() - Method in class org.glassfish.tyrus.core.TyrusSession
+
 
+
getQueue() - Method in class org.glassfish.tyrus.client.ThreadPoolConfig
+
+
Return a queue that will be used to temporarily store tasks when all threads in the thread pool are busy.
+
+
getQueueLimit() - Method in class org.glassfish.tyrus.client.ThreadPoolConfig
+
+
Get the limit of the queue, where tasks are temporarily stored when all threads are busy.
+
+
getReadHandler() - Method in interface org.glassfish.tyrus.spi.Connection
+
+
Returns a read handler.
+
+
getReasonPhrase() - Method in class javax.websocket.CloseReason
+
+
The reason phrase associated with this CloseReason.
+
+
getReasonPhrase() - Method in class org.glassfish.tyrus.core.TyrusUpgradeResponse
+
+
Get HTTP reason phrase.
+
+
getRegex() - Method in class org.glassfish.tyrus.core.uri.internal.PatternWithGroups
+
+
Get the regular expression.
+
+
getRemainder() - Method in class org.glassfish.tyrus.core.frame.TextFrame
+
+
Remainder after UTF-8 decoding.
+
+
getRemainingArray(ByteBuffer) - Static method in class org.glassfish.tyrus.core.Utils
+
+
Creates the array of bytes containing the bytes from the position to the limit of the ByteBuffer.
+
+
getRemoteAddr() - Method in class org.glassfish.tyrus.core.RequestContext
+
+
Get the Internet Protocol (IP) address of the client or last proxy that sent the request.
+
+
getRemoteAddr() - Method in class org.glassfish.tyrus.core.TyrusSession
+
+
Get the Internet Protocol (IP) address of the client or last proxy that sent the request.
+
+
getRemoteEndpointType() - Method in class org.glassfish.tyrus.spi.WriterInfo
+
 
+
getRemoteSessionIds(String) - Method in class org.glassfish.tyrus.core.cluster.ClusterContext
+
+
Get set containing session ids of all remote sessions registered to given endpoint path.
+
+
getRemoteSessions() - Method in class org.glassfish.tyrus.core.TyrusSession
+
+
Get set of remote sessions.
+
+
getRequest() - Method in class org.glassfish.tyrus.core.Handshake
+
+
Client side only - get the UpgradeRequest.
+
+
getRequestParameterMap() - Method in interface javax.websocket.Session
+
+
Return the request parameters associated with the request this session + was opened under.
+
+
getRequestParameterMap() - Method in class org.glassfish.tyrus.core.cluster.RemoteSession
+
+
Get the request parameters associated with the request this session + was opened under.
+
+
getRequestParameterMap() - Method in class org.glassfish.tyrus.core.TyrusSession
+
 
+
getRequestUri() - Method in class org.glassfish.tyrus.core.RequestContext
+
 
+
getRequestUri() - Method in class org.glassfish.tyrus.spi.UpgradeRequest
+
+
Get the undecoded request uri (up to the query string) of underlying + HTTP handshake request.
+
+
getRequestURI() - Method in interface javax.websocket.server.HandshakeRequest
+
+
Return the request URI of the handshake request.
+
+
getRequestURI() - Method in interface javax.websocket.Session
+
+
Return the URI under which this session was opened, including + the query string if there is one.
+
+
getRequestURI() - Method in class org.glassfish.tyrus.core.cluster.RemoteSession
+
+
Get the URI under which this session was opened, including + the query string if there is one.
+
+
getRequestURI() - Method in class org.glassfish.tyrus.core.RequestContext
+
 
+
getRequestURI() - Method in class org.glassfish.tyrus.core.TyrusSession
+
 
+
getResourceBundle(String) - Method in class org.glassfish.tyrus.core.OsgiRegistry
+
+
Tries to load resource bundle via OSGi means.
+
+
getResourceBundleName() - Method in interface org.glassfish.tyrus.core.l10n.Localizable
+
+
Get the name of the localization messages resource bundle.
+
+
getResourceBundleName() - Method in class org.glassfish.tyrus.core.l10n.LocalizableMessage
+
 
+
getScheduledExecutorService() - Method in class org.glassfish.tyrus.core.BaseContainer
+
+
Returns a container-managed ScheduledExecutorService registered under + java:comp/DefaultManagedScheduledExecutorService or if the lookup has failed it returns a + ScheduledExecutorService created and managed by this instance of + BaseContainer.
+
+
getScheduledExecutorService() - Method in class org.glassfish.tyrus.core.ExecutorServiceProvider
+
+
Get the ScheduledExecutorService.
+
+
getSendStream() - Method in interface javax.websocket.RemoteEndpoint.Basic
+
+
Opens an output stream on which a binary message may be sent.
+
+
getSendTimeout() - Method in interface javax.websocket.RemoteEndpoint.Async
+
+
Return the number of milliseconds the implementation will timeout + attempting to send a websocket message.
+
+
getSendWriter() - Method in interface javax.websocket.RemoteEndpoint.Basic
+
+
Opens an character stream on which a text message may be sent.
+
+
getSession() - Method in exception javax.websocket.SessionException
+
+
Return the Session on which the problem occurred.
+
+
getSslContext() - Method in class org.glassfish.tyrus.client.SslEngineConfigurator
+
+
Create SSLContext and store it for further invocation of this method.
+
+
getStatus() - Method in class org.glassfish.tyrus.core.TyrusUpgradeResponse
+
+
Get HTTP status.
+
+
getStatus() - Method in class org.glassfish.tyrus.spi.UpgradeResponse
+
+
Get the current HTTP status code of this response.
+
+
getStatus() - Method in interface org.glassfish.tyrus.spi.WebSocketEngine.UpgradeInfo
+
+
Returns the status of HTTP request upgrade.
+
+
getStringConstructor(Class) - Static method in class org.glassfish.tyrus.core.ReflectionHelper
+
+
Get the constructor that has a single parameter of String.
+
+
getStringList(List<T>, Utils.Stringifier<T>) - Static method in class org.glassfish.tyrus.core.Utils
+
+
Get list of strings from List<T>.
+
+
getSubprotocols() - Method in interface javax.websocket.server.ServerEndpointConfig
+
+
Return the websocket subprotocols configured.
+
+
getSupportedWireProtocolVersions() - Static method in enum org.glassfish.tyrus.core.Version
+
 
+
getTemplate() - Method in class org.glassfish.tyrus.core.uri.internal.PathPattern
+
 
+
getTemplate() - Method in class org.glassfish.tyrus.core.uri.internal.UriTemplate
+
+
Get the URI template as a String.
+
+
getTemplate() - Method in class org.glassfish.tyrus.core.uri.internal.UriTemplateParser
+
+
Get the template.
+
+
getTemplateVariables() - Method in class org.glassfish.tyrus.core.uri.internal.UriTemplate
+
+
Get the list of template variables for the template.
+
+
getText() - Method in exception javax.websocket.DecodeException
+
+
Return the encoded string that is either the whole message, or the partial + message that could not be decoded, or null if + this exception arose from a failure to decode a binary message..
+
+
getTextPayload() - Method in class org.glassfish.tyrus.core.frame.TextFrame
+
+
Get text payload.
+
+
getThreadFactory() - Method in class org.glassfish.tyrus.client.ThreadPoolConfig
+
+
Return ThreadFactory that will be used to create thread pool threads.
+
+
getTimeoutHandler() - Method in class org.glassfish.tyrus.client.TyrusClientEngine
+
+
Get ClientEngine.TimeoutHandler associated with current ClientEngine instance.
+
+
getTracingHeaders() - Method in class org.glassfish.tyrus.core.DebugContext
+
+
Get headers containing tracing messages.
+
+
getType() - Method in class org.glassfish.tyrus.core.coder.CoderWrapper
+
+
Get the return type of the encode / decode method.
+
+
getTypeArgumentAndClass(Type) - Static method in class org.glassfish.tyrus.core.ReflectionHelper
+
 
+
getUpgradeStatus() - Method in interface org.glassfish.tyrus.spi.ClientEngine.ClientUpgradeInfo
+
+ +
+
getUsername() - Method in class org.glassfish.tyrus.client.auth.Credentials
+
+
Get the username.
+
+
getUserPrincipal() - Method in interface javax.websocket.server.HandshakeRequest
+
+
Return the authenticated user or null if no user is authenticated + for this handshake.
+
+
getUserPrincipal() - Method in interface javax.websocket.Session
+
+
Return the authenticated user for this Session or null if no user is authenticated for this session.
+
+
getUserPrincipal() - Method in class org.glassfish.tyrus.core.cluster.RemoteSession
+
+
Get the authenticated user for this session or null if no user is authenticated for this session.
+
+
getUserPrincipal() - Method in class org.glassfish.tyrus.core.RequestContext
+
 
+
getUserPrincipal() - Method in class org.glassfish.tyrus.core.TyrusSession
+
 
+
getUserProperties() - Method in interface javax.websocket.EndpointConfig
+
+
This method returns a modifiable Map that the developer may use to store application + specific information relating to the endpoint that uses this + configuration instance.
+
+
getUserProperties() - Method in interface javax.websocket.Session
+
+
While the session is open, this method returns a Map that the developer may + use to store application specific information relating to this session + instance.
+
+
getUserProperties() - Method in class org.glassfish.tyrus.core.cluster.RemoteSession
+
+
This method is not supported on RemoteSession.
+
+
getUserProperties() - Method in class org.glassfish.tyrus.core.TyrusSession
+
 
+
getValue() - Method in interface javax.websocket.Extension.Parameter
+
+
Return the value of the extension parameter.
+
+
getValue() - Method in class org.glassfish.tyrus.core.TyrusExtension.TyrusParameter
+
 
+
getValueOfStringMethod(Class) - Static method in class org.glassfish.tyrus.core.ReflectionHelper
+
+
Get the static valueOf(String ) method.
+
+
getValues(K) - Method in class org.glassfish.tyrus.core.uri.internal.AbstractMultivaluedMap
+
+
Return a non-null list of values for a given key.
+
+
getWebSocketContainer() - Static method in class javax.websocket.ContainerProvider
+
+
Obtain a new instance of a WebSocketContainer.
+
+
getWebSocketEngine() - Method in interface org.glassfish.tyrus.spi.ServerContainer
+
+
Return WebSocketEngine to upgrade requests and setting up the connection.
+
+
getWriter() - Method in interface org.glassfish.tyrus.spi.Connection
+
+
Returns the same writer that is passed for creating connection in + WebSocketEngine.UpgradeInfo.createConnection(Writer, CloseListener) + The transport writer that actually writes websocket data + to underlying connection.
+
+
getWsadlApplication() - Method in class org.glassfish.tyrus.core.TyrusWebSocketEngine
+
+
Get Application representing current set of deployed endpoints.
+
+
getWsPort(URI) - Static method in class org.glassfish.tyrus.core.Utils
+
+
Get port from provided URI.
+
+
getWsPort(URI, String) - Static method in class org.glassfish.tyrus.core.Utils
+
+
Get port from provided URI.
+
+
GOING_AWAY - javax.websocket.CloseReason.CloseCodes
+
+
1001 indicates that an endpoint is "going away", such as a server + going down or a browser having navigated away from a page.
+
+
GOING_AWAY - org.glassfish.tyrus.core.CloseReasons
+
+
1001 indicates that an endpoint is "going away", such as a server + going down or a browser having navigated away from a page.
+
+
GrizzlyClientContainer - Class in org.glassfish.tyrus.container.grizzly.client
+
 
+
GrizzlyClientContainer() - Constructor for class org.glassfish.tyrus.container.grizzly.client.GrizzlyClientContainer
+
 
+
GrizzlyClientProperties - Class in org.glassfish.tyrus.container.grizzly.client
+
+
Grizzly client properties.
+
+
GrizzlyClientProperties() - Constructor for class org.glassfish.tyrus.container.grizzly.client.GrizzlyClientProperties
+
 
+
GrizzlyClientSocket - Class in org.glassfish.tyrus.container.grizzly.client
+
+
Implementation of the WebSocket interface.
+
+
GrizzlyContainerProvider - Class in org.glassfish.tyrus.container.grizzly.client
+
 
+
GrizzlyContainerProvider() - Constructor for class org.glassfish.tyrus.container.grizzly.client.GrizzlyContainerProvider
+
 
+
GrizzlyServerContainer - Class in org.glassfish.tyrus.container.grizzly.server
+
+
Grizzly implementation of ServerContainerFactory and ServerContainer.
+
+
GrizzlyServerContainer() - Constructor for class org.glassfish.tyrus.container.grizzly.server.GrizzlyServerContainer
+
 
+
GrizzlyWriter - Class in org.glassfish.tyrus.container.grizzly.client
+
 
+
GrizzlyWriter(Connection) - Constructor for class org.glassfish.tyrus.container.grizzly.client.GrizzlyWriter
+
 
+
+ + + +

H

+
+
handle(ByteBuffer) - Method in interface org.glassfish.tyrus.spi.ReadHandler
+
+
A transport reads websocket data and invokes this method to handover + websocket data for a connection to tyrus runtime.
+
+
handleTimeout() - Method in interface org.glassfish.tyrus.spi.ClientEngine.TimeoutHandler
+
+
Invoked when timeout is reached.
+
+
handshake(TyrusEndpointWrapper, UpgradeRequest, UpgradeResponse, ExtendedExtension.ExtensionContext) - Method in class org.glassfish.tyrus.core.ProtocolHandler
+
+
Server side handshake processing.
+
+
Handshake - Class in org.glassfish.tyrus.core
+
+
Class responsible for performing and validating handshake.
+
+
HANDSHAKE_FAILED - org.glassfish.tyrus.spi.WebSocketEngine.UpgradeStatus
+
+
Upgrade failed due to version, extensions, origin check etc.
+
+
HANDSHAKE_HTTP_REDIRECTION_INFINITE_LOOP() - Static method in class org.glassfish.tyrus.core.l10n.LocalizationMessages
+
+
Infinite HTTP Redirection loop detected.
+
+
HANDSHAKE_HTTP_REDIRECTION_MAX_REDIRECTION(Object) - Static method in class org.glassfish.tyrus.core.l10n.LocalizationMessages
+
+
Redirect attempts exceeded maximum allowed limit of ({0}) redirects.
+
+
HANDSHAKE_HTTP_REDIRECTION_NEW_LOCATION_ERROR(Object) - Static method in class org.glassfish.tyrus.core.l10n.LocalizationMessages
+
+
Invalid URI in Location header: "{0}".
+
+
HANDSHAKE_HTTP_REDIRECTION_NEW_LOCATION_MISSING() - Static method in class org.glassfish.tyrus.core.l10n.LocalizationMessages
+
+
Missing or empty Location header in 3xx HTTP Redirect response.
+
+
HANDSHAKE_HTTP_REDIRECTION_NOT_ENABLED(Object) - Static method in class org.glassfish.tyrus.core.l10n.LocalizationMessages
+
+
Received HTTP response status code: {0} and redirect processing is not enabled.
+
+
HANDSHAKE_HTTP_RETRY_AFTER_MESSAGE() - Static method in class org.glassfish.tyrus.core.l10n.LocalizationMessages
+
+
HTTP Status code 503 - Service Unavailable.
+
+
HANDSHAKE_TIMEOUT - Static variable in class org.glassfish.tyrus.client.ClientManager
+
+
Deprecated. + +
+
+
HANDSHAKE_TIMEOUT - Static variable in class org.glassfish.tyrus.client.ClientProperties
+
+
Property usable in ClientManager.getProperties().
+
+
HandshakeException - Exception in org.glassfish.tyrus.core
+
+
Exception, which describes the error, occurred during the handshake phase.
+
+
HandshakeException(int, String) - Constructor for exception org.glassfish.tyrus.core.HandshakeException
+
+
Constructor.
+
+
HandshakeException(String) - Constructor for exception org.glassfish.tyrus.core.HandshakeException
+
+
Construct a HandshakeException.
+
+
HandshakeRequest - Interface in javax.websocket.server
+
+
The handshake request represents the web socket defined Http GET request + for the opening handshake of a web socket session.
+
+
HandshakeResponse - Interface in javax.websocket
+
+
The handshake response represents the web socket-defined Http response + that is the response to the opening handshake request.
+
+
hasExtensions() - Method in class org.glassfish.tyrus.core.ProtocolHandler
+
+
Returns true when current connection has some negotiated extension.
+
+
hashCode() - Method in class org.glassfish.tyrus.client.ThreadPoolConfig
+
 
+
hashCode() - Method in class org.glassfish.tyrus.container.grizzly.client.GrizzlyWriter
+
 
+
hashCode() - Method in class org.glassfish.tyrus.core.TyrusExtension
+
 
+
hashCode() - Method in class org.glassfish.tyrus.core.uri.internal.AbstractMultivaluedMap
+
hashCode() - Method in class org.glassfish.tyrus.core.uri.internal.PatternWithGroups
+
 
+
hashCode() - Method in class org.glassfish.tyrus.core.uri.internal.UriTemplate
+
+
Hash code is calculated from String of the regular expression + generated from the template.
+
+
HEADERS_MISSING() - Static method in class org.glassfish.tyrus.core.l10n.LocalizationMessages
+
+
Missing headers required for WebSocket negotiation.
+
+
hookUp() - Method in class org.glassfish.tyrus.core.OsgiRegistry
+
+
Will hook up this instance with the OSGi runtime.
+
+
HOST - org.glassfish.tyrus.core.uri.internal.UriComponent.Type
+
+
The URI host component type.
+
+
HOST - Static variable in class org.glassfish.tyrus.spi.UpgradeRequest
+
+
HTTP "Host" header name.
+
+
httpSession(Object) - Method in class org.glassfish.tyrus.core.RequestContext.Builder
+
+
Set http session.
+
+
+ + + +

I

+
+
id - Variable in class org.glassfish.tyrus.core.wsadl.model.Endpoint
+
 
+
ILLEGAL_CONFIG_SYNTAX() - Static method in class org.glassfish.tyrus.core.l10n.LocalizationMessages
+
+
Illegal configuration-file syntax.
+
+
ILLEGAL_PROVIDER_CLASS_NAME(Object) - Static method in class org.glassfish.tyrus.core.l10n.LocalizationMessages
+
+
Illegal provider-class name: {0}.
+
+
ILLEGAL_UTF_8_SEQUENCE() - Static method in class org.glassfish.tyrus.core.l10n.LocalizationMessages
+
+
Illegal UTF-8 Sequence.
+
+
INCOMING_BUFFER_SIZE - Static variable in class org.glassfish.tyrus.client.ClientProperties
+
+
Property name for maximal incoming buffer size.
+
+
INCOMING_BUFFER_SIZE - Static variable in class org.glassfish.tyrus.core.TyrusWebSocketEngine
+
+
Maximum size of incoming buffer in bytes.
+
+
INCOMING_BUFFER_SIZE - Static variable in interface org.glassfish.tyrus.spi.ClientContainer
+
+
Deprecated. +
please use org.glassfish.tyrus.client.ClientProperties#INCOMING_BUFFER_SIZE.
+
+
+
incomingBufferSize(Integer) - Method in class org.glassfish.tyrus.core.TyrusWebSocketEngine.TyrusWebSocketEngineBuilder
+
+
Set incoming buffer size.
+
+
init(WebConnection) - Method in class org.glassfish.tyrus.servlet.TyrusHttpUpgradeHandler
+
 
+
init(EndpointConfig) - Method in interface javax.websocket.Decoder
+
+
This method is called with the endpoint configuration object of the + endpoint this decoder is intended for when + it is about to be brought into service.
+
+
init(EndpointConfig) - Method in interface javax.websocket.Encoder
+
+
This method is called with the endpoint configuration object of the + endpoint this encoder is intended for when + it is about to be brought into service.
+
+
init(EndpointConfig) - Method in class org.glassfish.tyrus.core.coder.CoderAdapter
+
+
This method does nothing.
+
+
InputStreamDecoder - Class in org.glassfish.tyrus.core.coder
+
+
Built in Decoder for InputStream.
+
+
InputStreamDecoder() - Constructor for class org.glassfish.tyrus.core.coder.InputStreamDecoder
+
 
+
IntegerDecoder() - Constructor for class org.glassfish.tyrus.core.coder.PrimitiveDecoders.IntegerDecoder
+
 
+
INVALID_HEADER(Object, Object) - Static method in class org.glassfish.tyrus.core.l10n.LocalizationMessages
+
+
Invalid {0} header value: "{1}".
+
+
INVALID_RESPONSE_CODE(Object, Object) - Static method in class org.glassfish.tyrus.core.l10n.LocalizationMessages
+
+
Response code was not {0}: {1}.
+
+
IOEXCEPTION_CLOSE() - Static method in class org.glassfish.tyrus.core.l10n.LocalizationMessages
+
+
IOException thrown when closing connection.
+
+
isApplicable(Class<?>) - Method in class org.glassfish.tyrus.core.ComponentProvider
+
+
Checks whether this component provider is able to provide an instance of given Class.
+
+
isApplicable(Class<?>) - Method in class org.glassfish.tyrus.core.DefaultComponentProvider
+
 
+
isApplicable(Class<?>) - Method in class org.glassfish.tyrus.gf.cdi.CdiComponentProvider
+
 
+
isApplicable(Class<?>) - Method in class org.glassfish.tyrus.gf.ejb.EjbComponentProvider
+
 
+
isCancelled() - Method in class org.glassfish.tyrus.core.TyrusFuture
+
 
+
isCipherConfigured() - Method in class org.glassfish.tyrus.client.SslEngineConfigurator
+
 
+
isClientMode() - Method in class org.glassfish.tyrus.client.SslEngineConfigurator
+
+
Will SSLEngine be configured to work in client mode.
+
+
isConnected() - Method in class org.glassfish.tyrus.core.TyrusWebSocket
+
+
Convenience method to determine if this TyrusWebSocket instance is connected.
+
+
isControlFrame() - Method in class org.glassfish.tyrus.core.frame.Frame
+
+
Get information about frame type.
+
+
isDaemon() - Method in class org.glassfish.tyrus.client.ThreadPoolConfig
+
+
Return true if thread pool threads are daemons.
+
+
isDone() - Method in class org.glassfish.tyrus.core.TyrusFuture
+
 
+
isEmpty() - Method in class org.glassfish.tyrus.core.ErrorCollector
+
+
Checks whether any exception has been logged.
+
+
isEmpty() - Method in class org.glassfish.tyrus.core.uri.internal.AbstractMultivaluedMap
+
 
+
isEquivalent(String, String) - Static method in class org.glassfish.tyrus.core.uri.Match
+
+
Check for equivalent paths.
+
+
isFin() - Method in class org.glassfish.tyrus.core.frame.Frame
+
+
Get FIN value.
+
+
isHexCharacter(char) - Static method in class org.glassfish.tyrus.core.uri.internal.UriComponent
+
+
Checks whether the character c is hexadecimal character.
+
+
isHostVerificationEnabled() - Method in class org.glassfish.tyrus.client.SslEngineConfigurator
+
+
Get the hostname verification state.
+
+
isInitialized() - Method in interface org.glassfish.tyrus.core.collection.LazyValue
+
+
Check if the lazy value has been initialized already (i.e.
+
+
isInputStreamHandlerPresent() - Method in class org.glassfish.tyrus.core.MessageHandlerManager
+
 
+
isMask() - Method in class org.glassfish.tyrus.core.frame.Frame
+
+
Currently not used.
+
+
isNeedClientAuth() - Method in class org.glassfish.tyrus.client.SslEngineConfigurator
+
+
Get "need client auth" property.
+
+
isOK() - Method in class javax.websocket.SendResult
+
+
Determines if this result is ok or not.
+
+
isOpen() - Method in interface javax.websocket.Session
+
+
Return true if and only if the underlying socket is open.
+
+
isOpen() - Method in class org.glassfish.tyrus.core.cluster.RemoteSession
+
+
Get the information about session state.
+
+
isOpen() - Method in class org.glassfish.tyrus.core.TyrusSession
+
 
+
isProtocolConfigured() - Method in class org.glassfish.tyrus.client.SslEngineConfigurator
+
 
+
isReaderHandlerPresent() - Method in class org.glassfish.tyrus.core.MessageHandlerManager
+
 
+
isRsv1() - Method in class org.glassfish.tyrus.core.frame.Frame
+
+
GET RSV1 value.
+
+
isRsv2() - Method in class org.glassfish.tyrus.core.frame.Frame
+
+
GET RSV2 value.
+
+
isRsv3() - Method in class org.glassfish.tyrus.core.frame.Frame
+
+
GET RSV3 value.
+
+
isSecure() - Method in interface javax.websocket.Session
+
+
Return true if and only if the underlying socket is using a secure transport.
+
+
isSecure() - Method in class org.glassfish.tyrus.core.cluster.RemoteSession
+
+
Get the information about secure transport.
+
+
isSecure() - Method in class org.glassfish.tyrus.core.RequestContext
+
 
+
isSecure() - Method in class org.glassfish.tyrus.core.TyrusSession
+
 
+
isSecure() - Method in class org.glassfish.tyrus.spi.UpgradeRequest
+
+
Indicates whether this request was made using a secure channel + (such as HTTPS).
+
+
isSessionOpen(String, String) - Method in class org.glassfish.tyrus.core.cluster.ClusterContext
+
+
Get information about session state.
+
+
isTemplateVariablePresent(String) - Method in class org.glassfish.tyrus.core.uri.internal.UriTemplate
+
+
Ascertain if a template variable is a member of this + template.
+
+
isUserInRole(String) - Method in interface javax.websocket.server.HandshakeRequest
+
+
Checks whether the current user is in the given role.
+
+
isUserInRole(String) - Method in interface org.glassfish.tyrus.core.RequestContext.Builder.IsUserInRoleDelegate
+
+
Returns a boolean indicating whether the authenticated user is included in the specified logical "role".
+
+
isUserInRole(String) - Method in class org.glassfish.tyrus.core.RequestContext
+
 
+
isUserInRoleDelegate(RequestContext.Builder.IsUserInRoleDelegate) - Method in class org.glassfish.tyrus.core.RequestContext.Builder
+
+
Set delegate for RequestContext.isUserInRole(String) method.
+
+
isValid() - Method in interface org.glassfish.tyrus.container.grizzly.client.TaskProcessor.Condition
+
+
Check the condition.
+
+
isWantClientAuth() - Method in class org.glassfish.tyrus.client.SslEngineConfigurator
+
+
Get "want client auth" property.
+
+
iterator() - Method in class org.glassfish.tyrus.core.ServiceFinder
+
+
Returns discovered objects incrementally.
+
+
+ + + +

J

+
+
javax.websocket - package javax.websocket
+
+
This package contains all the WebSocket APIs common to both the client + and server side.
+
+
javax.websocket.server - package javax.websocket.server
+
+
This package contains all the WebSocket APIs used only by server side + applications.
+
+
+ + + +

K

+
+
KEY_FACTORY_MANAGER_ALGORITHM - Static variable in class org.glassfish.tyrus.client.SslContextConfigurator
+
+
Key manager factory algorithm name.
+
+
KEY_STORE_FILE - Static variable in class org.glassfish.tyrus.client.SslContextConfigurator
+
+
Key store file name.
+
+
KEY_STORE_PASSWORD - Static variable in class org.glassfish.tyrus.client.SslContextConfigurator
+
+
Key store file password - the password used to unlock the trust store file.
+
+
KEY_STORE_PROVIDER - Static variable in class org.glassfish.tyrus.client.SslContextConfigurator
+
+
Key store provider name.
+
+
KEY_STORE_TYPE - Static variable in class org.glassfish.tyrus.client.SslContextConfigurator
+
+
Key store type (see KeyStore.getType() for more info).
+
+
keySet() - Method in class org.glassfish.tyrus.core.uri.internal.AbstractMultivaluedMap
+
 
+
+ + + +

L

+
+
lazy(Value<T>) - Static method in class org.glassfish.tyrus.core.collection.Values
+
+
Get a new lazily initialized value provider.
+
+
LazyValue<T> - Interface in org.glassfish.tyrus.core.collection
+
+
Lazily initialized value.
+
+
Localizable - Interface in org.glassfish.tyrus.core.l10n
+
+
Localizable message.
+
+
localizableAPPLICATION_DATA_TOO_LONG(Object) - Static method in class org.glassfish.tyrus.core.l10n.LocalizationMessages
+
 
+
localizableARGUMENT_NOT_NULL(Object) - Static method in class org.glassfish.tyrus.core.l10n.LocalizationMessages
+
 
+
localizableAUTHENTICATION_CREATE_AUTH_HEADER_FAILED() - Static method in class org.glassfish.tyrus.core.l10n.LocalizationMessages
+
 
+
localizableAUTHENTICATION_CREDENTIALS_MISSING() - Static method in class org.glassfish.tyrus.core.l10n.LocalizationMessages
+
 
+
localizableAUTHENTICATION_DIGEST_NO_SUCH_ALG() - Static method in class org.glassfish.tyrus.core.l10n.LocalizationMessages
+
 
+
localizableAUTHENTICATION_DIGEST_QOP_UNSUPPORTED(Object) - Static method in class org.glassfish.tyrus.core.l10n.LocalizationMessages
+
 
+
localizableAUTHENTICATION_FAILED() - Static method in class org.glassfish.tyrus.core.l10n.LocalizationMessages
+
 
+
localizableBINARY_MESSAGE_HANDLER_NOT_FOUND(Object) - Static method in class org.glassfish.tyrus.core.l10n.LocalizationMessages
+
 
+
localizableBINARY_MESSAGE_OUT_OF_ORDER(Object) - Static method in class org.glassfish.tyrus.core.l10n.LocalizationMessages
+
 
+
localizableBUFFER_OVERFLOW() - Static method in class org.glassfish.tyrus.core.l10n.LocalizationMessages
+
 
+
localizableCLASS_CHECKER_ADD_MESSAGE_HANDLER_ERROR(Object, Object) - Static method in class org.glassfish.tyrus.core.l10n.LocalizationMessages
+
 
+
localizableCLASS_CHECKER_FORBIDDEN_RETURN_TYPE(Object, Object) - Static method in class org.glassfish.tyrus.core.l10n.LocalizationMessages
+
 
+
localizableCLASS_CHECKER_FORBIDDEN_WEB_SOCKET_CLOSE_PARAM(Object, Object) - Static method in class org.glassfish.tyrus.core.l10n.LocalizationMessages
+
 
+
localizableCLASS_CHECKER_FORBIDDEN_WEB_SOCKET_ERROR_PARAM(Object, Object, Object) - Static method in class org.glassfish.tyrus.core.l10n.LocalizationMessages
+
 
+
localizableCLASS_CHECKER_FORBIDDEN_WEB_SOCKET_OPEN_PARAM(Object, Object, Object) - Static method in class org.glassfish.tyrus.core.l10n.LocalizationMessages
+
 
+
localizableCLASS_CHECKER_MANDATORY_PARAM_MISSING(Object, Object) - Static method in class org.glassfish.tyrus.core.l10n.LocalizationMessages
+
 
+
localizableCLASS_CHECKER_MULTIPLE_IDENTICAL_PARAMS(Object, Object) - Static method in class org.glassfish.tyrus.core.l10n.LocalizationMessages
+
 
+
localizableCLASS_NOT_INSTANTIATED(Object) - Static method in class org.glassfish.tyrus.core.l10n.LocalizationMessages
+
 
+
localizableCLIENT_CANNOT_CONNECT(Object) - Static method in class org.glassfish.tyrus.core.l10n.LocalizationMessages
+
 
+
localizableCOMPONENT_PROVIDER_NOT_FOUND(Object) - Static method in class org.glassfish.tyrus.core.l10n.LocalizationMessages
+
 
+
localizableCOMPONENT_PROVIDER_THREW_EXCEPTION(Object) - Static method in class org.glassfish.tyrus.core.l10n.LocalizationMessages
+
 
+
localizableCONNECTION_HAS_BEEN_CLOSED() - Static method in class org.glassfish.tyrus.core.l10n.LocalizationMessages
+
 
+
localizableCONNECTION_NULL() - Static method in class org.glassfish.tyrus.core.l10n.LocalizationMessages
+
 
+
localizableCONTROL_FRAME_FRAGMENTED() - Static method in class org.glassfish.tyrus.core.l10n.LocalizationMessages
+
 
+
localizableCONTROL_FRAME_LENGTH() - Static method in class org.glassfish.tyrus.core.l10n.LocalizationMessages
+
 
+
localizableDATA_UNEXPECTED_LENGTH(Object, Object) - Static method in class org.glassfish.tyrus.core.l10n.LocalizationMessages
+
 
+
localizableDEPENDENT_CLASS_OF_PROVIDER_FORMAT_ERROR(Object, Object, Object) - Static method in class org.glassfish.tyrus.core.l10n.LocalizationMessages
+
 
+
localizableDEPENDENT_CLASS_OF_PROVIDER_NOT_FOUND(Object, Object, Object) - Static method in class org.glassfish.tyrus.core.l10n.LocalizationMessages
+
 
+
localizableENCODING_FAILED() - Static method in class org.glassfish.tyrus.core.l10n.LocalizationMessages
+
 
+
localizableENDPOINT_ANNOTATION_NOT_FOUND(Object, Object) - Static method in class org.glassfish.tyrus.core.l10n.LocalizationMessages
+
 
+
localizableENDPOINT_EXCEPTION_FROM_ON_ERROR(Object) - Static method in class org.glassfish.tyrus.core.l10n.LocalizationMessages
+
 
+
localizableENDPOINT_MAX_MESSAGE_SIZE_TOO_LONG(Object, Object, Object, Object) - Static method in class org.glassfish.tyrus.core.l10n.LocalizationMessages
+
 
+
localizableENDPOINT_MULTIPLE_METHODS(Object, Object, Object, Object) - Static method in class org.glassfish.tyrus.core.l10n.LocalizationMessages
+
 
+
localizableENDPOINT_MULTIPLE_SESSION_PARAM(Object) - Static method in class org.glassfish.tyrus.core.l10n.LocalizationMessages
+
 
+
localizableENDPOINT_UNHANDLED_EXCEPTION(Object) - Static method in class org.glassfish.tyrus.core.l10n.LocalizationMessages
+
 
+
localizableENDPOINT_UNKNOWN_PARAMS(Object, Object, Object) - Static method in class org.glassfish.tyrus.core.l10n.LocalizationMessages
+
 
+
localizableENDPOINT_WRONG_PARAMS(Object, Object) - Static method in class org.glassfish.tyrus.core.l10n.LocalizationMessages
+
 
+
localizableENDPOINT_WRONG_PATH_PARAM(Object, Object) - Static method in class org.glassfish.tyrus.core.l10n.LocalizationMessages
+
 
+
localizableEQUIVALENT_PATHS(Object, Object) - Static method in class org.glassfish.tyrus.core.l10n.LocalizationMessages
+
 
+
localizableERROR_CAUGHT_WHILE_LOADING_SPI_PROVIDERS() - Static method in class org.glassfish.tyrus.core.l10n.LocalizationMessages
+
 
+
localizableEXCEPTION_CAUGHT_WHILE_LOADING_SPI_PROVIDERS() - Static method in class org.glassfish.tyrus.core.l10n.LocalizationMessages
+
 
+
localizableEXTENSION_EXCEPTION(Object, Object) - Static method in class org.glassfish.tyrus.core.l10n.LocalizationMessages
+
 
+
localizableFRAGMENT_INVALID_OPCODE() - Static method in class org.glassfish.tyrus.core.l10n.LocalizationMessages
+
 
+
localizableFRAME_WRITE_CANCELLED() - Static method in class org.glassfish.tyrus.core.l10n.LocalizationMessages
+
 
+
localizableHANDSHAKE_HTTP_REDIRECTION_INFINITE_LOOP() - Static method in class org.glassfish.tyrus.core.l10n.LocalizationMessages
+
 
+
localizableHANDSHAKE_HTTP_REDIRECTION_MAX_REDIRECTION(Object) - Static method in class org.glassfish.tyrus.core.l10n.LocalizationMessages
+
 
+
localizableHANDSHAKE_HTTP_REDIRECTION_NEW_LOCATION_ERROR(Object) - Static method in class org.glassfish.tyrus.core.l10n.LocalizationMessages
+
 
+
localizableHANDSHAKE_HTTP_REDIRECTION_NEW_LOCATION_MISSING() - Static method in class org.glassfish.tyrus.core.l10n.LocalizationMessages
+
 
+
localizableHANDSHAKE_HTTP_REDIRECTION_NOT_ENABLED(Object) - Static method in class org.glassfish.tyrus.core.l10n.LocalizationMessages
+
 
+
localizableHANDSHAKE_HTTP_RETRY_AFTER_MESSAGE() - Static method in class org.glassfish.tyrus.core.l10n.LocalizationMessages
+
 
+
localizableHEADERS_MISSING() - Static method in class org.glassfish.tyrus.core.l10n.LocalizationMessages
+
 
+
localizableILLEGAL_CONFIG_SYNTAX() - Static method in class org.glassfish.tyrus.core.l10n.LocalizationMessages
+
 
+
localizableILLEGAL_PROVIDER_CLASS_NAME(Object) - Static method in class org.glassfish.tyrus.core.l10n.LocalizationMessages
+
 
+
localizableILLEGAL_UTF_8_SEQUENCE() - Static method in class org.glassfish.tyrus.core.l10n.LocalizationMessages
+
 
+
localizableINVALID_HEADER(Object, Object) - Static method in class org.glassfish.tyrus.core.l10n.LocalizationMessages
+
 
+
localizableINVALID_RESPONSE_CODE(Object, Object) - Static method in class org.glassfish.tyrus.core.l10n.LocalizationMessages
+
 
+
localizableIOEXCEPTION_CLOSE() - Static method in class org.glassfish.tyrus.core.l10n.LocalizationMessages
+
 
+
localizableMAX_SESSIONS_PER_APP_EXCEEDED() - Static method in class org.glassfish.tyrus.core.l10n.LocalizationMessages
+
 
+
localizableMAX_SESSIONS_PER_ENDPOINT_EXCEEDED() - Static method in class org.glassfish.tyrus.core.l10n.LocalizationMessages
+
 
+
localizableMAX_SESSIONS_PER_REMOTEADDR_EXCEEDED() - Static method in class org.glassfish.tyrus.core.l10n.LocalizationMessages
+
 
+
LocalizableMessage - Class in org.glassfish.tyrus.core.l10n
+
 
+
LocalizableMessage(String, String, Object...) - Constructor for class org.glassfish.tyrus.core.l10n.LocalizableMessage
+
 
+
localizableMESSAGE_HANDLER_ALREADY_REGISTERED_BINARY() - Static method in class org.glassfish.tyrus.core.l10n.LocalizationMessages
+
 
+
localizableMESSAGE_HANDLER_ALREADY_REGISTERED_PONG() - Static method in class org.glassfish.tyrus.core.l10n.LocalizationMessages
+
 
+
localizableMESSAGE_HANDLER_ALREADY_REGISTERED_TEXT() - Static method in class org.glassfish.tyrus.core.l10n.LocalizationMessages
+
 
+
localizableMESSAGE_HANDLER_ALREADY_REGISTERED_TYPE(Object) - Static method in class org.glassfish.tyrus.core.l10n.LocalizationMessages
+
 
+
localizableMESSAGE_HANDLER_DECODER_NOT_REGISTERED(Object) - Static method in class org.glassfish.tyrus.core.l10n.LocalizationMessages
+
 
+
localizableMESSAGE_HANDLER_ILLEGAL_ARGUMENT(Object) - Static method in class org.glassfish.tyrus.core.l10n.LocalizationMessages
+
 
+
localizableMESSAGE_HANDLER_PARTIAL_INVALID_TYPE(Object) - Static method in class org.glassfish.tyrus.core.l10n.LocalizationMessages
+
 
+
localizableMESSAGE_HANDLER_WHOLE_OR_PARTIAL() - Static method in class org.glassfish.tyrus.core.l10n.LocalizationMessages
+
 
+
localizableMESSAGE_TOO_LONG(Object, Object) - Static method in class org.glassfish.tyrus.core.l10n.LocalizationMessages
+
 
+
LocalizableMessageFactory - Class in org.glassfish.tyrus.core.l10n
+
 
+
LocalizableMessageFactory(String) - Constructor for class org.glassfish.tyrus.core.l10n.LocalizableMessageFactory
+
 
+
localizableNO_DECODER_FOUND() - Static method in class org.glassfish.tyrus.core.l10n.LocalizationMessages
+
 
+
localizableORIGIN_NOT_VERIFIED() - Static method in class org.glassfish.tyrus.core.l10n.LocalizationMessages
+
 
+
localizablePARTIAL_BINARY_MESSAGE_OUT_OF_ORDER(Object) - Static method in class org.glassfish.tyrus.core.l10n.LocalizationMessages
+
 
+
localizablePARTIAL_MESSAGE_BUFFER_OVERFLOW() - Static method in class org.glassfish.tyrus.core.l10n.LocalizationMessages
+
 
+
localizablePARTIAL_TEXT_MESSAGE_OUT_OF_ORDER(Object) - Static method in class org.glassfish.tyrus.core.l10n.LocalizationMessages
+
 
+
localizablePROVIDER_CLASS_COULD_NOT_BE_LOADED(Object, Object, Object) - Static method in class org.glassfish.tyrus.core.l10n.LocalizationMessages
+
 
+
localizablePROVIDER_COULD_NOT_BE_CREATED(Object, Object, Object) - Static method in class org.glassfish.tyrus.core.l10n.LocalizationMessages
+
 
+
localizablePROVIDER_NOT_FOUND(Object, Object) - Static method in class org.glassfish.tyrus.core.l10n.LocalizationMessages
+
 
+
localizableRSV_INCORRECTLY_SET() - Static method in class org.glassfish.tyrus.core.l10n.LocalizationMessages
+
 
+
localizableSEC_KEY_INVALID_LENGTH(Object) - Static method in class org.glassfish.tyrus.core.l10n.LocalizationMessages
+
 
+
localizableSEC_KEY_INVALID_SERVER() - Static method in class org.glassfish.tyrus.core.l10n.LocalizationMessages
+
 
+
localizableSEC_KEY_NULL_NOT_ALLOWED() - Static method in class org.glassfish.tyrus.core.l10n.LocalizationMessages
+
 
+
localizableSEND_MESSAGE_INFRAGMENT() - Static method in class org.glassfish.tyrus.core.l10n.LocalizationMessages
+
 
+
localizableSESSION_CLOSED_IDLE_TIMEOUT() - Static method in class org.glassfish.tyrus.core.l10n.LocalizationMessages
+
 
+
localizableSOCKET_NOT_CONNECTED() - Static method in class org.glassfish.tyrus.core.l10n.LocalizationMessages
+
 
+
localizableTEXT_MESSAGE_HANDLER_NOT_FOUND(Object) - Static method in class org.glassfish.tyrus.core.l10n.LocalizationMessages
+
 
+
localizableTEXT_MESSAGE_OUT_OF_ORDER(Object) - Static method in class org.glassfish.tyrus.core.l10n.LocalizationMessages
+
 
+
localizableUNEXPECTED_END_FRAGMENT() - Static method in class org.glassfish.tyrus.core.l10n.LocalizationMessages
+
 
+
localizableUNEXPECTED_ERROR_CONNECTION_CLOSE() - Static method in class org.glassfish.tyrus.core.l10n.LocalizationMessages
+
 
+
localizableUNEXPECTED_STATE(Object) - Static method in class org.glassfish.tyrus.core.l10n.LocalizationMessages
+
 
+
localizableUNHANDLED_TEXT_MESSAGE(Object) - Static method in class org.glassfish.tyrus.core.l10n.LocalizationMessages
+
 
+
localizableURI_COMPONENT_ENCODED_OCTET_INVALID_DIGIT(Object, Object) - Static method in class org.glassfish.tyrus.core.l10n.LocalizationMessages
+
 
+
localizableURI_COMPONENT_ENCODED_OCTET_MALFORMED(Object) - Static method in class org.glassfish.tyrus.core.l10n.LocalizationMessages
+
 
+
localizableURI_COMPONENT_INVALID_CHARACTER(Object, Object, Object, Object) - Static method in class org.glassfish.tyrus.core.l10n.LocalizationMessages
+
 
+
LocalizationMessages - Class in org.glassfish.tyrus.core.l10n
+
+
Defines string formatting method for each constant in the resource file
+
+
LocalizationMessages() - Constructor for class org.glassfish.tyrus.core.l10n.LocalizationMessages
+
 
+
localize(Localizable) - Method in class org.glassfish.tyrus.core.l10n.Localizer
+
 
+
Localizer - Class in org.glassfish.tyrus.core.l10n
+
+
Localizes the Localizable into a message by using a configured Locale.
+
+
Localizer() - Constructor for class org.glassfish.tyrus.core.l10n.Localizer
+
 
+
Localizer(Locale) - Constructor for class org.glassfish.tyrus.core.l10n.Localizer
+
 
+
LOCATION - Static variable in class org.glassfish.tyrus.spi.UpgradeResponse
+
+
Header containing a new URI when UpgradeResponse.getStatus() .
+
+
lock() - Method in class org.glassfish.tyrus.core.RequestContext
+
+
Make headers and parameter map read-only.
+
+
LOG_HTTP_UPGRADE - Static variable in class org.glassfish.tyrus.client.ClientProperties
+
+
User property to configure logging of HTTP upgrade messages.
+
+
LongDecoder() - Constructor for class org.glassfish.tyrus.core.coder.PrimitiveDecoders.LongDecoder
+
 
+
+ + + +

M

+
+
main(String[]) - Static method in class org.glassfish.tyrus.server.Server
+
 
+
mask(boolean) - Method in class org.glassfish.tyrus.core.frame.Frame.Builder
+
+
Currently not used.
+
+
MASK_SIZE - Static variable in class org.glassfish.tyrus.core.ProtocolHandler
+
+
RFC 6455
+
+
MASKING_KEY_GENERATOR - Static variable in class org.glassfish.tyrus.client.ClientProperties
+
+
Property name for registering a custom masking key generator.
+
+
maskingKey(Integer) - Method in class org.glassfish.tyrus.core.frame.Frame.Builder
+
+
Set masking key.
+
+
MaskingKeyGenerator - Interface in org.glassfish.tyrus.core
+
+
Can be implemented to generate masking keys.
+
+
match(CharSequence) - Method in class org.glassfish.tyrus.core.uri.internal.PatternWithGroups
+
+
Match against the pattern.
+
+
match(CharSequence, List<String>) - Method in class org.glassfish.tyrus.core.uri.internal.PatternWithGroups
+
+
Match against the pattern.
+
+
match(CharSequence, List<String>) - Method in class org.glassfish.tyrus.core.uri.internal.UriTemplate
+
+
Match a URI against the template.
+
+
match(CharSequence, List<String>, Map<String, String>) - Method in class org.glassfish.tyrus.core.uri.internal.PatternWithGroups
+
+
Match against the pattern.
+
+
match(CharSequence, Map<String, String>) - Method in class org.glassfish.tyrus.core.uri.internal.UriTemplate
+
+
Match a URI against the template.
+
+
Match - Class in org.glassfish.tyrus.core.uri
+
+
Defines a match on an endpoint.
+
+
MATRIX_PARAM - org.glassfish.tyrus.core.uri.internal.UriComponent.Type
+
+
The URI path component type that is a matrix parameter.
+
+
MAX_BINARY_MESSAGE_BUFFER_SIZE - org.glassfish.tyrus.core.cluster.RemoteSession.DistributedMapKey
+
+
Max binary buffer size.
+
+
MAX_IDLE_TIMEOUT - org.glassfish.tyrus.core.cluster.RemoteSession.DistributedMapKey
+
+
Max idle timeout.
+
+
MAX_SESSIONS_PER_APP - Static variable in class org.glassfish.tyrus.core.TyrusWebSocketEngine
+
+
Maximum number of open sessions per server application.
+
+
MAX_SESSIONS_PER_APP_EXCEEDED - org.glassfish.tyrus.core.TyrusEndpointWrapper.SessionListener.OnOpenResult
+
+
Session cannot be opened - the maximal number of open session per application exceeded.
+
+
MAX_SESSIONS_PER_APP_EXCEEDED() - Static method in class org.glassfish.tyrus.core.l10n.LocalizationMessages
+
+
Maximal number of open sessions per application exceeded.
+
+
MAX_SESSIONS_PER_ENDPOINT_EXCEEDED() - Static method in class org.glassfish.tyrus.core.l10n.LocalizationMessages
+
+
Maximal number of open sessions per endpoint exceeded.
+
+
MAX_SESSIONS_PER_REMOTE_ADDR - Static variable in class org.glassfish.tyrus.core.TyrusWebSocketEngine
+
+
Maximum number of open sessions per unique remote address.
+
+
MAX_SESSIONS_PER_REMOTE_ADDR_EXCEEDED - org.glassfish.tyrus.core.TyrusEndpointWrapper.SessionListener.OnOpenResult
+
+
Session cannot be opened - the maximal number of open session per remote address exceeded.
+
+
MAX_SESSIONS_PER_REMOTEADDR_EXCEEDED() - Static method in class org.glassfish.tyrus.core.l10n.LocalizationMessages
+
+
Maximal number of open sessions per remote address exceeded.
+
+
MAX_TEXT_MESSAGE_BUFFER_SIZE - org.glassfish.tyrus.core.cluster.RemoteSession.DistributedMapKey
+
+
Max text buffer size.
+
+
maxMessageSize() - Method in annotation type javax.websocket.OnMessage
+
+
Specifies the maximum size of message in bytes that the method + this annotates will be able to process, or -1 to indicate + that there is no maximum.
+
+
maxSessions(int) - Method in class org.glassfish.tyrus.core.TyrusServerEndpointConfig.Builder
+
+
Sets maximal number of open sessions.
+
+
MaxSessions - Annotation Type in org.glassfish.tyrus.core
+
+
This annotation may be used to annotate server endpoints as a optional annotation + to ServerEndpoint.
+
+
maxSessionsPerApp(Integer) - Method in class org.glassfish.tyrus.core.TyrusWebSocketEngine.TyrusWebSocketEngineBuilder
+
+
Set maximal number of open sessions per server application.
+
+
maxSessionsPerRemoteAddr(Integer) - Method in class org.glassfish.tyrus.core.TyrusWebSocketEngine.TyrusWebSocketEngineBuilder
+
+
Set maximal number of open sessions from remote address.
+
+
MESSAGE_HANDLER_ALREADY_REGISTERED_BINARY() - Static method in class org.glassfish.tyrus.core.l10n.LocalizationMessages
+
+
Binary MessageHandler already registered.
+
+
MESSAGE_HANDLER_ALREADY_REGISTERED_PONG() - Static method in class org.glassfish.tyrus.core.l10n.LocalizationMessages
+
+
Pong MessageHandler already registered.
+
+
MESSAGE_HANDLER_ALREADY_REGISTERED_TEXT() - Static method in class org.glassfish.tyrus.core.l10n.LocalizationMessages
+
+
Text MessageHandler already registered.
+
+
MESSAGE_HANDLER_ALREADY_REGISTERED_TYPE(Object) - Static method in class org.glassfish.tyrus.core.l10n.LocalizationMessages
+
+
MessageHandler for type: {0} already registered.
+
+
MESSAGE_HANDLER_DECODER_NOT_REGISTERED(Object) - Static method in class org.glassfish.tyrus.core.l10n.LocalizationMessages
+
+
Decoder for type: {0} has not been registered.
+
+
MESSAGE_HANDLER_ILLEGAL_ARGUMENT(Object) - Static method in class org.glassfish.tyrus.core.l10n.LocalizationMessages
+
+
Illegal MessageHandler argument value: {0}.
+
+
MESSAGE_HANDLER_PARTIAL_INVALID_TYPE(Object) - Static method in class org.glassfish.tyrus.core.l10n.LocalizationMessages
+
+
Partial MessageHandler can''t be of type: {0}.
+
+
MESSAGE_HANDLER_WHOLE_OR_PARTIAL() - Static method in class org.glassfish.tyrus.core.l10n.LocalizationMessages
+
+
MessageHandler must implement MessageHandler.Whole or MessageHandler.Partial.
+
+
MESSAGE_IN - org.glassfish.tyrus.core.DebugContext.Type
+
 
+
MESSAGE_OUT - org.glassfish.tyrus.core.DebugContext.Type
+
 
+
MESSAGE_TOO_LONG(Object, Object) - Static method in class org.glassfish.tyrus.core.l10n.LocalizationMessages
+
+
Message too long; allowed message size is {0} bytes.
+
+
MessageEventListener - Interface in org.glassfish.tyrus.core.monitoring
+
+
Listens for message-level events that are interesting for monitoring.
+
+
MessageHandler - Interface in javax.websocket
+
+
Developers implement MessageHandlers in order to receive incoming messages + during a web socket conversation.
+
+
MessageHandler.Partial<T> - Interface in javax.websocket
+
+
This kind of handler is notified by the implementation as it becomes ready + to deliver parts of a whole message.
+
+
MessageHandler.Whole<T> - Interface in javax.websocket
+
+
This kind of handler is notified by the container on arrival of a complete message.
+
+
MessageHandlerManager - Class in org.glassfish.tyrus.core
+
+
Manages registered MessageHandlers and checks whether the new ones may be registered.
+
+
MessageHandlerManager() - Constructor for class org.glassfish.tyrus.core.MessageHandlerManager
+
+
Construct manager with no decoders.
+
+
methodInstanceToString(Object, Method) - Static method in class org.glassfish.tyrus.core.ReflectionHelper
+
+
Create a string representation of a method and an instance whose + class implements the method.
+
+
modifyHandshake(ServerEndpointConfig, HandshakeRequest, HandshakeResponse) - Method in class javax.websocket.server.ServerEndpointConfig.Configurator
+
+
Called by the container after it has formulated a handshake response resulting from + a well-formed handshake request.
+
+
modifyHandshake(ServerEndpointConfig, HandshakeRequest, HandshakeResponse) - Method in class org.glassfish.tyrus.core.TyrusServerEndpointConfigurator
+
 
+
MultivaluedHashMap<K,​V> - Class in org.glassfish.tyrus.core.uri.internal
+
+
A hash table based implementation of MultivaluedMap interface.
+
+
MultivaluedHashMap() - Constructor for class org.glassfish.tyrus.core.uri.internal.MultivaluedHashMap
+
+
Constructs an empty multivalued hash map with the default initial capacity + (16) and the default load factor (0.75).
+
+
MultivaluedHashMap(int) - Constructor for class org.glassfish.tyrus.core.uri.internal.MultivaluedHashMap
+
+
Constructs an empty multivalued hash map with the specified initial + capacity and the default load factor (0.75).
+
+
MultivaluedHashMap(int, float) - Constructor for class org.glassfish.tyrus.core.uri.internal.MultivaluedHashMap
+
+
Constructs an empty multivalued hash map with the specified initial + capacity and load factor.
+
+
MultivaluedHashMap(Map<? extends K, ? extends V>) - Constructor for class org.glassfish.tyrus.core.uri.internal.MultivaluedHashMap
+
+
Constructs a new multivalued hash map with the same mappings as the + specified single-valued Map.
+
+
MultivaluedHashMap(MultivaluedMap<? extends K, ? extends V>) - Constructor for class org.glassfish.tyrus.core.uri.internal.MultivaluedHashMap
+
+
Constructs a new multivalued hash map with the same mappings as the + specified MultivaluedMap.
+
+
MultivaluedMap<K,​V> - Interface in org.glassfish.tyrus.core.uri.internal
+
+
A map of key-values pairs.
+
+
MultivaluedStringMap - Class in org.glassfish.tyrus.core.uri.internal
+
+
An implementation of MultivaluedMap where keys and values are + instances of String.
+
+
MultivaluedStringMap() - Constructor for class org.glassfish.tyrus.core.uri.internal.MultivaluedStringMap
+
 
+
MultivaluedStringMap(int) - Constructor for class org.glassfish.tyrus.core.uri.internal.MultivaluedStringMap
+
 
+
MultivaluedStringMap(int, float) - Constructor for class org.glassfish.tyrus.core.uri.internal.MultivaluedStringMap
+
 
+
MultivaluedStringMap(MultivaluedMap<? extends String, ? extends String>) - Constructor for class org.glassfish.tyrus.core.uri.internal.MultivaluedStringMap
+
 
+
+ + + +

N

+
+
needClientAuth - Variable in class org.glassfish.tyrus.client.SslEngineConfigurator
+
+
Require client Authentication.
+
+
NEGOTIATED_EXTENSIONS - org.glassfish.tyrus.core.cluster.RemoteSession.DistributedMapKey
+
+
Negotiated extensions.
+
+
NEGOTIATED_SUBPROTOCOL - org.glassfish.tyrus.core.cluster.RemoteSession.DistributedMapKey
+
+
Negotiated subprotocol.
+
+
newDecoder() - Method in class org.glassfish.tyrus.core.StrictUtf8
+
 
+
newEncoder() - Method in class org.glassfish.tyrus.core.StrictUtf8
+
 
+
nextInt() - Method in interface org.glassfish.tyrus.core.MaskingKeyGenerator
+
+
Return next random int similarly to Random.nextInt().
+
+
NO_DECODER_FOUND() - Static method in class org.glassfish.tyrus.core.l10n.LocalizationMessages
+
+
No decoder found.
+
+
NO_EXTENSION - javax.websocket.CloseReason.CloseCodes
+
+
1010 indicates that an endpoint (client) is terminating the + connection because it has expected the server to negotiate one or + more extension, but the server didn't return them in the response + message of the WebSocket handshake.
+
+
NO_EXTENSION - org.glassfish.tyrus.core.CloseReasons
+
+
1010 indicates that an endpoint (client) is terminating the + connection because it has expected the server to negotiate one or + more extension, but the server didn't return them in the response + message of the WebSocket handshake.
+
+
NO_OP - Static variable in interface org.glassfish.tyrus.core.monitoring.ApplicationEventListener
+
+
An instance of @ApplicationEventListener that does not do anything.
+
+
NO_OP - Static variable in interface org.glassfish.tyrus.core.monitoring.EndpointEventListener
+
+
An instance of @EndpointEventListener that does not do anything.
+
+
NO_OP - Static variable in interface org.glassfish.tyrus.core.monitoring.MessageEventListener
+
+
An instance of @MessageEventListener that does not do anything.
+
+
NO_STATUS_CODE - javax.websocket.CloseReason.CloseCodes
+
+
1005 is a reserved value and MUST NOT be set as a status code in a + Close control frame by an endpoint.
+
+
NO_STATUS_CODE - org.glassfish.tyrus.core.CloseReasons
+
+
1005 is a reserved value and MUST NOT be set as a status code in a + Close control frame by an endpoint.
+
+
NoOpByteArrayCoder - Class in org.glassfish.tyrus.core.coder
+
+
Encoder and Decoder implementation for byte array.
+
+
NoOpByteArrayCoder() - Constructor for class org.glassfish.tyrus.core.coder.NoOpByteArrayCoder
+
 
+
NoOpByteBufferCoder - Class in org.glassfish.tyrus.core.coder
+
+
Encoder and Decoder implementation for ByteBuffer.
+
+
NoOpByteBufferCoder() - Constructor for class org.glassfish.tyrus.core.coder.NoOpByteBufferCoder
+
 
+
NoOpTextCoder - Class in org.glassfish.tyrus.core.coder
+
 
+
NoOpTextCoder() - Constructor for class org.glassfish.tyrus.core.coder.NoOpTextCoder
+
 
+
NORMAL_CLOSURE - javax.websocket.CloseReason.CloseCodes
+
+
1000 indicates a normal closure, meaning that the purpose for + which the connection was established has been fulfilled.
+
+
NORMAL_CLOSURE - org.glassfish.tyrus.core.CloseReasons
+
+
1000 indicates a normal closure, meaning that the purpose for + which the connection was established has been fulfilled.
+
+
normalize(String) - Static method in class org.glassfish.tyrus.core.uri.internal.UriTemplate
+
+
Normalize the URI by resolve the dot & dot-dot path segments as described in + RFC 3986.
+
+
normalize(URI) - Static method in class org.glassfish.tyrus.core.uri.internal.UriTemplate
+
+
Normalize the URI by resolve the dot & dot-dot path segments as described in + RFC 3986.
+
+
NOT_APPLICABLE - org.glassfish.tyrus.spi.WebSocketEngine.UpgradeStatus
+
+
Not a WebSocketRequest or no mapping in the application.
+
+
NOT_CONSISTENT - javax.websocket.CloseReason.CloseCodes
+
+
1007 indicates that an endpoint is terminating the connection + because it has received data within a message that was not + consistent with the type of the message (e.g., non-UTF-8 + data within a text message).
+
+
NOT_CONSISTENT - org.glassfish.tyrus.core.CloseReasons
+
+
1007 indicates that an endpoint is terminating the connection + because it has received data within a message that was not + consistent with the type of the message (e.g., non-UTF-8 + data within a text message).
+
+
NOT_LOCALIZABLE - Static variable in interface org.glassfish.tyrus.core.l10n.Localizable
+
+
Special constant that represents a message that is not localizable.
+
+
+ + + +

O

+
+
OBJECT - org.glassfish.tyrus.spi.WriterInfo.MessageType
+
+
Object type.
+
+
ObjectFactory - Class in org.glassfish.tyrus.core.wsadl.model
+
+
This object contains factory methods for each + Java content interface and Java element interface + generated in the org.glassfish.tyrus.core.wsadl.model package.
+
+
ObjectFactory() - Constructor for class org.glassfish.tyrus.core.wsadl.model.ObjectFactory
+
+
Create a new ObjectFactory that can be used to create new instances of schema derived classes for package: org.glassfish.tyrus.core.wsadl.model
+
+
objectToString(Object) - Static method in class org.glassfish.tyrus.core.ReflectionHelper
+
+
Create a string representation of an object.
+
+
of(T) - Static method in class org.glassfish.tyrus.core.collection.Values
+
+
+ Get a new constant value provider whose get() + method always returns the instance supplied to the value parameter.
+
+
OFF - org.glassfish.tyrus.core.DebugContext.TracingType
+
+
No tracing headers will be ever sent in handshake response.
+
+
ON_DEMAND - org.glassfish.tyrus.core.DebugContext.TracingType
+
+
Tracing headers will be sent in handshake response only if X-Tyrus-Tracing-Accept header is present + in handshake request.
+
+
onAllDataRead() - Method in class org.glassfish.tyrus.servlet.TyrusHttpUpgradeHandler
+
 
+
onApplicationDestroyed() - Method in interface org.glassfish.tyrus.core.monitoring.ApplicationEventListener
+
+
Called when the application has been destroyed.
+
+
onApplicationInitialized(String) - Method in interface org.glassfish.tyrus.core.monitoring.ApplicationEventListener
+
+
Called when the application has been initialized.
+
+
onBroadcast(byte[]) - Method in interface org.glassfish.tyrus.core.cluster.BroadcastListener
+
+
Invoked when received request to broadcast binary data.
+
+
onBroadcast(String) - Method in interface org.glassfish.tyrus.core.cluster.BroadcastListener
+
+
Invoked when received request to broadcast text message.
+
+
onClose() - Method in class org.glassfish.tyrus.core.cluster.SessionEventListener
+
+
Invoked on session close event.
+
+
onClose(CloseReason) - Method in class org.glassfish.tyrus.core.cluster.SessionEventListener
+
+
Invoked on session close event.
+
+
onClose(Session, CloseReason) - Method in class javax.websocket.Endpoint
+
+
This method is called immediately prior to the session with the remote + peer being closed.
+
+
onClose(Session, CloseReason) - Method in class org.glassfish.tyrus.core.AnnotatedEndpoint
+
 
+
onClose(CloseFrame) - Method in class org.glassfish.tyrus.core.TyrusWebSocket
+
+
This callback will be invoked when the remote endpoint sent a closing frame.
+
+
onClose(TyrusSession, CloseReason) - Method in class org.glassfish.tyrus.core.TyrusEndpointWrapper.SessionListener
+
+ +
+
OnClose - Annotation Type in javax.websocket
+
+
This method level annotation can be used to decorate a Java method that wishes + to be called when a web socket session is closing.
+
+
onConnect(UpgradeRequest, String, List<Extension>, String, DebugContext) - Method in class org.glassfish.tyrus.core.TyrusWebSocket
+
+
This callback will be invoked when the opening handshake between both + endpoints has been completed.
+
+
onConnectFailure(Exception) - Method in class org.glassfish.tyrus.client.ClientManager.ReconnectHandler
+
+
Called when there is a connection failure.
+
+
onDataAvailable() - Method in class org.glassfish.tyrus.servlet.TyrusHttpUpgradeHandler
+
 
+
onDisconnect(CloseReason) - Method in class org.glassfish.tyrus.client.ClientManager.ReconnectHandler
+
+ +
+
onEndpointRegistered(String, Class<?>) - Method in interface org.glassfish.tyrus.core.monitoring.ApplicationEventListener
+
+
Called when an endpoint has been registered.
+
+
onEndpointUnregistered(String) - Method in interface org.glassfish.tyrus.core.monitoring.ApplicationEventListener
+
+
Called when an endpoint has been unregistered.
+
+
onError(String, Throwable) - Method in interface org.glassfish.tyrus.core.monitoring.EndpointEventListener
+
+
Called when an error has occurred.
+
+
onError(Throwable) - Method in interface org.glassfish.tyrus.client.TyrusClientEngine.ClientHandshakeListener
+
+
Called when an error is found in handshake response.
+
+
onError(Throwable) - Method in class org.glassfish.tyrus.servlet.TyrusHttpUpgradeHandler
+
 
+
onError(Session, Throwable) - Method in class javax.websocket.Endpoint
+
+
Developers may implement this method when the web socket session + creates some kind of error that is not modeled in the web socket protocol.
+
+
onError(Session, Throwable) - Method in class org.glassfish.tyrus.core.AnnotatedEndpoint
+
 
+
OnError - Annotation Type in javax.websocket
+
+
This method level annotation can be used to decorate a Java method that wishes to be called in order + to handle errors.
+
+
onExtensionNegotiation(ExtendedExtension.ExtensionContext, List<Extension.Parameter>) - Method in interface org.glassfish.tyrus.core.extension.ExtendedExtension
+
+
Parameter negotiation.
+
+
onFragment(BinaryFrame, boolean) - Method in class org.glassfish.tyrus.core.TyrusWebSocket
+
+
This callback will be invoked when a fragmented binary message has + been received.
+
+
onFragment(TextFrame, boolean) - Method in class org.glassfish.tyrus.core.TyrusWebSocket
+
+
This callback will be invoked when a fragmented textual message has + been received.
+
+
onFrameReceived(TyrusFrame.FrameType, long) - Method in interface org.glassfish.tyrus.core.monitoring.MessageEventListener
+
+
Called when a frame has been received.
+
+
onFrameSent(TyrusFrame.FrameType, long) - Method in interface org.glassfish.tyrus.core.monitoring.MessageEventListener
+
+
Called when a frame has been sent.
+
+
onHandshakeResponse(ExtendedExtension.ExtensionContext, List<Extension.Parameter>) - Method in interface org.glassfish.tyrus.core.extension.ExtendedExtension
+
+
Called only on the client side when handshake response arrives.
+
+
onMessage(BinaryFrame) - Method in class org.glassfish.tyrus.core.TyrusWebSocket
+
+
This callback will be invoked when a binary message has been received.
+
+
onMessage(TextFrame) - Method in class org.glassfish.tyrus.core.TyrusWebSocket
+
+
This callback will be invoked when a text message has been received.
+
+
onMessage(T) - Method in interface javax.websocket.MessageHandler.Whole
+
+
Called when the message has been fully received.
+
+
onMessage(T, boolean) - Method in interface javax.websocket.MessageHandler.Partial
+
+
Called when the next part of a message has been fully received.
+
+
OnMessage - Annotation Type in javax.websocket
+
+
This method level annotation can be used to make a Java method receive incoming web socket messages.
+
+
onOpen(Session, EndpointConfig) - Method in class javax.websocket.Endpoint
+
+
Developers must implement this method to be notified when a new conversation has + just begun.
+
+
onOpen(Session, EndpointConfig) - Method in class org.glassfish.tyrus.core.AnnotatedEndpoint
+
 
+
onOpen(TyrusSession) - Method in class org.glassfish.tyrus.core.TyrusEndpointWrapper.SessionListener
+
+ +
+
OnOpen - Annotation Type in javax.websocket
+
+
This method level annotation can be used to decorate a Java method that wishes to be called when a new + web socket session is open.
+
+
onPing(PingFrame) - Method in class org.glassfish.tyrus.core.TyrusWebSocket
+
+
This callback will be invoked when the remote endpoint has sent a ping frame.
+
+
onPong(PongFrame) - Method in class org.glassfish.tyrus.core.TyrusWebSocket
+
+
This callback will be invoked when the remote endpoint has sent a pong + frame.
+
+
onResult(SendResult) - Method in interface javax.websocket.SendHandler
+
+
Called once the message has been transmitted.
+
+
onSendBinary(byte[]) - Method in class org.glassfish.tyrus.core.cluster.SessionEventListener
+
+
Invoked on send binary message event.
+
+
onSendBinary(byte[], boolean) - Method in class org.glassfish.tyrus.core.cluster.SessionEventListener
+
+
Invoked on send partial binary message event.
+
+
onSendPing(byte[]) - Method in class org.glassfish.tyrus.core.cluster.SessionEventListener
+
+
Invoked on send ping frame event.
+
+
onSendPong(byte[]) - Method in class org.glassfish.tyrus.core.cluster.SessionEventListener
+
+
Invoked on send pong frame event.
+
+
onSendText(String) - Method in class org.glassfish.tyrus.core.cluster.SessionEventListener
+
+
Invoked on send text message event.
+
+
onSendText(String, boolean) - Method in class org.glassfish.tyrus.core.cluster.SessionEventListener
+
+
Invoked on send partial text message event.
+
+
onSessionClosed(String) - Method in interface org.glassfish.tyrus.core.cluster.SessionListener
+
+
Invoked when session is closed.
+
+
onSessionClosed(String) - Method in interface org.glassfish.tyrus.core.monitoring.EndpointEventListener
+
+
Called when a session has been closed.
+
+
onSessionCreated(Session) - Method in interface org.glassfish.tyrus.client.TyrusClientEngine.ClientHandshakeListener
+
+
Invoked when handshake is completed and provided Session is open and ready to be returned from + WebSocketContainer.connectToServer(Class, javax.websocket.ClientEndpointConfig, java.net.URI) (and + alternatives) call.
+
+
onSessionOpened(String) - Method in interface org.glassfish.tyrus.core.cluster.SessionListener
+
+
Invoked when session is opened.
+
+
onSessionOpened(String) - Method in interface org.glassfish.tyrus.core.monitoring.EndpointEventListener
+
+
Called when a session has been opened.
+
+
onStartup(Set<Class<?>>, ServletContext) - Method in class org.glassfish.tyrus.servlet.TyrusServletContainerInitializer
+
 
+
opcode(byte) - Method in class org.glassfish.tyrus.core.frame.Frame.Builder
+
+
Set opcode.
+
+
OPEN_ROOT_PATH_PATTERN - Static variable in class org.glassfish.tyrus.core.uri.internal.PathPattern
+
+
Path pattern matching the any URI path.
+
+
openClientSocket(ClientEndpointConfig, Map<String, Object>, ClientEngine) - Method in class org.glassfish.tyrus.container.grizzly.client.GrizzlyClientContainer
+
 
+
openClientSocket(ClientEndpointConfig, Map<String, Object>, ClientEngine) - Method in interface org.glassfish.tyrus.spi.ClientContainer
+
+
Open client socket - connect to endpoint specified with url parameter.
+
+
org.glassfish.tyrus.client - package org.glassfish.tyrus.client
+
+
Common Client.
+
+
org.glassfish.tyrus.client.auth - package org.glassfish.tyrus.client.auth
+
 
+
org.glassfish.tyrus.container.grizzly.client - package org.glassfish.tyrus.container.grizzly.client
+
+
Grizzly Client container.
+
+
org.glassfish.tyrus.container.grizzly.server - package org.glassfish.tyrus.container.grizzly.server
+
+
Grizzly Server container.
+
+
org.glassfish.tyrus.core - package org.glassfish.tyrus.core
+
+
Core classes.
+
+
org.glassfish.tyrus.core.cluster - package org.glassfish.tyrus.core.cluster
+
+
Cluster relates classes and interfaces.
+
+
org.glassfish.tyrus.core.coder - package org.glassfish.tyrus.core.coder
+
+
Encoder and decoder adapters and built-in implementations.
+
+
org.glassfish.tyrus.core.collection - package org.glassfish.tyrus.core.collection
+
 
+
org.glassfish.tyrus.core.extension - package org.glassfish.tyrus.core.extension
+
+
WebSocket Extension support.
+
+
org.glassfish.tyrus.core.frame - package org.glassfish.tyrus.core.frame
+
+
WebSocket frame representations.
+
+
org.glassfish.tyrus.core.l10n - package org.glassfish.tyrus.core.l10n
+
+
Common internal localization utility classes.
+
+
org.glassfish.tyrus.core.monitoring - package org.glassfish.tyrus.core.monitoring
+
+
Monitoring interfaces.
+
+
org.glassfish.tyrus.core.uri - package org.glassfish.tyrus.core.uri
+
+
URI matching.
+
+
org.glassfish.tyrus.core.uri.internal - package org.glassfish.tyrus.core.uri.internal
+
+
Common classes that provide support for URI templates, + encoding/decoding of URI components and multivalued collections.
+
+
org.glassfish.tyrus.core.wsadl.model - package org.glassfish.tyrus.core.wsadl.model
+
 
+
org.glassfish.tyrus.gf.cdi - package org.glassfish.tyrus.gf.cdi
+
+
Tyrus CDI integration with Glassfish (and possibly other compatible containers).
+
+
org.glassfish.tyrus.gf.ejb - package org.glassfish.tyrus.gf.ejb
+
+
Tyrus EJB integration with Glassfish (and possibly other compatible containers).
+
+
org.glassfish.tyrus.server - package org.glassfish.tyrus.server
+
+
Server implementation.
+
+
org.glassfish.tyrus.servlet - package org.glassfish.tyrus.servlet
+
+
Servlet 3.1 integration.
+
+
org.glassfish.tyrus.spi - package org.glassfish.tyrus.spi
+
+
Tyrus SPI.
+
+
ORIGIN_HEADER - Static variable in class org.glassfish.tyrus.spi.UpgradeRequest
+
+
HTTP "Origin" header name.
+
+
ORIGIN_NOT_VERIFIED() - Static method in class org.glassfish.tyrus.core.l10n.LocalizationMessages
+
+
Origin not verified.
+
+
OsgiRegistry - Class in org.glassfish.tyrus.core
+
+
Taken from Jersey 2.
+
+
OTHER - org.glassfish.tyrus.core.DebugContext.Type
+
 
+
+ + + +

P

+
+
PARALLEL_BROADCAST_ENABLED - Static variable in class org.glassfish.tyrus.core.TyrusWebSocketEngine
+
+
Parallel broadcast support.
+
+
parallelBroadcastEnabled(Boolean) - Method in class org.glassfish.tyrus.core.TyrusWebSocketEngine.TyrusWebSocketEngineBuilder
+
 
+
parameterMap(Map<String, String[]>) - Method in class org.glassfish.tyrus.core.RequestContext.Builder
+
+
Set parameter map.
+
+
parse(char, char[], int, int) - Method in class org.glassfish.tyrus.core.StrictUtf8.Parser
+
+
Parses a UCS-4 character from the given source buffer, handling surrogates.
+
+
parse(char, CharBuffer) - Method in class org.glassfish.tyrus.core.StrictUtf8.Parser
+
+
Parses a UCS-4 character from the given source buffer, handling surrogates.
+
+
parseHeaderValue(String) - Static method in class org.glassfish.tyrus.core.Utils
+
+
Parse header value - splits multiple values (quoted, unquoted) separated by + comma.
+
+
parseHttpDate(String) - Static method in class org.glassfish.tyrus.core.Utils
+
+
Parse HTTP date.
+
+
Parser() - Constructor for class org.glassfish.tyrus.core.StrictUtf8.Parser
+
 
+
PARTIAL_BINARY_MESSAGE_OUT_OF_ORDER(Object) - Static method in class org.glassfish.tyrus.core.l10n.LocalizationMessages
+
+
Partial binary message received out of order.
+
+
PARTIAL_MESSAGE_BUFFER_OVERFLOW() - Static method in class org.glassfish.tyrus.core.l10n.LocalizationMessages
+
+
Partial message could not be delivered due to buffer overflow.
+
+
PARTIAL_TEXT_MESSAGE_OUT_OF_ORDER(Object) - Static method in class org.glassfish.tyrus.core.l10n.LocalizationMessages
+
+
Partial text message received out of order.
+
+
path - Variable in class org.glassfish.tyrus.core.wsadl.model.Endpoint
+
 
+
PATH - org.glassfish.tyrus.core.uri.internal.UriComponent.Type
+
+
The URI path component type.
+
+
PATH_PARAMETERS - org.glassfish.tyrus.core.cluster.RemoteSession.DistributedMapKey
+
+
Path parameters.
+
+
PATH_SEGMENT - org.glassfish.tyrus.core.uri.internal.UriComponent.Type
+
+
The URI path component type that is a path segment.
+
+
PathParam - Annotation Type in javax.websocket.server
+
+
This annotation may be used to annotate method parameters on server endpoints + where a URI-template has been used in the path-mapping of the ServerEndpoint + annotation.
+
+
PathPattern - Class in org.glassfish.tyrus.core.uri.internal
+
+
A path pattern that is a regular expression generated from a URI path template.
+
+
PathPattern(String) - Constructor for class org.glassfish.tyrus.core.uri.internal.PathPattern
+
+
Create a path pattern and post fix with PathPattern.RightHandPath.capturingZeroOrMoreSegments.
+
+
PathPattern(String, PathPattern.RightHandPath) - Constructor for class org.glassfish.tyrus.core.uri.internal.PathPattern
+
+
Create a path pattern and post fix with a right hand path pattern.
+
+
PathPattern(PathTemplate) - Constructor for class org.glassfish.tyrus.core.uri.internal.PathPattern
+
+
Create a path pattern and post fix with PathPattern.RightHandPath.capturingZeroOrMoreSegments.
+
+
PathPattern(PathTemplate, PathPattern.RightHandPath) - Constructor for class org.glassfish.tyrus.core.uri.internal.PathPattern
+
+
Create a path pattern and post fix with a right hand path pattern.
+
+
PathPattern.RightHandPath - Enum in org.glassfish.tyrus.core.uri.internal
+
+
The set of right hand path patterns that may be appended to a path pattern.
+
+
PathSegment - Interface in org.glassfish.tyrus.core.uri.internal
+
+
Represents a URI path segment and any associated matrix parameters.
+
+
PathTemplate - Class in org.glassfish.tyrus.core.uri.internal
+
+
A URI template for a URI path.
+
+
PathTemplate(String) - Constructor for class org.glassfish.tyrus.core.uri.internal.PathTemplate
+
+
Create a URI path template and encode (percent escape) any characters of + the template that are not valid URI characters.
+
+
PatternWithGroups - Class in org.glassfish.tyrus.core.uri.internal
+
+
A pattern for matching a string against a regular expression and returning capturing group values for any capturing + groups present in the expression.
+
+
PatternWithGroups() - Constructor for class org.glassfish.tyrus.core.uri.internal.PatternWithGroups
+
+
Construct an empty pattern.
+
+
PatternWithGroups(String) - Constructor for class org.glassfish.tyrus.core.uri.internal.PatternWithGroups
+
+
Construct a new pattern.
+
+
PatternWithGroups(String, int[]) - Constructor for class org.glassfish.tyrus.core.uri.internal.PatternWithGroups
+
+
Construct a new pattern.
+
+
PatternWithGroups(Pattern) - Constructor for class org.glassfish.tyrus.core.uri.internal.PatternWithGroups
+
+
Construct a new pattern.
+
+
PatternWithGroups(Pattern, int[]) - Constructor for class org.glassfish.tyrus.core.uri.internal.PatternWithGroups
+
+
Construct a new pattern.
+
+
payloadData(byte[]) - Method in class org.glassfish.tyrus.core.frame.Frame.Builder
+
+
Set payload data.
+
+
payloadLength(long) - Method in class org.glassfish.tyrus.core.frame.Frame.Builder
+
+
Set payload length.
+
+
PING - org.glassfish.tyrus.core.frame.TyrusFrame.FrameType
+
+
Ping frame.
+
+
PING - org.glassfish.tyrus.spi.WriterInfo.MessageType
+
+
Ping type.
+
+
PingFrame - Class in org.glassfish.tyrus.core.frame
+
+
Ping frame representation.
+
+
PingFrame(byte[]) - Constructor for class org.glassfish.tyrus.core.frame.PingFrame
+
+
Constructor.
+
+
PingFrame(Frame) - Constructor for class org.glassfish.tyrus.core.frame.PingFrame
+
+
Constructor.
+
+
PONG - org.glassfish.tyrus.core.frame.TyrusFrame.FrameType
+
+
Pong frame.
+
+
PONG - org.glassfish.tyrus.spi.WriterInfo.MessageType
+
+
Pong type.
+
+
PongFrame - Class in org.glassfish.tyrus.core.frame
+
+
Pong frame representation.
+
+
PongFrame(byte[]) - Constructor for class org.glassfish.tyrus.core.frame.PongFrame
+
+
Constructor.
+
+
PongFrame(Frame) - Constructor for class org.glassfish.tyrus.core.frame.PongFrame
+
+
Constructor.
+
+
PongMessage - Interface in javax.websocket
+
+
The PongMessage interface represents a web socket pong.
+
+
PORT - org.glassfish.tyrus.core.uri.internal.UriComponent.Type
+
+
The URI port component type.
+
+
preferredSubprotocols(List<String>) - Method in class javax.websocket.ClientEndpointConfig.Builder
+
+
Set the preferred sub protocols for the configuration this builder will build.
+
+
preInit(WebSocketEngine.UpgradeInfo, Writer, boolean) - Method in class org.glassfish.tyrus.servlet.TyrusHttpUpgradeHandler
+
 
+
prepareRequest() - Method in class org.glassfish.tyrus.core.Handshake
+
+
Client side only - compose the UpgradeRequest and store it for further use.
+
+
PrimitiveDecoders<T> - Class in org.glassfish.tyrus.core.coder
+
+
Collection of decoders for all primitive types.
+
+
PrimitiveDecoders() - Constructor for class org.glassfish.tyrus.core.coder.PrimitiveDecoders
+
 
+
PrimitiveDecoders.BooleanDecoder - Class in org.glassfish.tyrus.core.coder
+
 
+
PrimitiveDecoders.ByteDecoder - Class in org.glassfish.tyrus.core.coder
+
 
+
PrimitiveDecoders.CharacterDecoder - Class in org.glassfish.tyrus.core.coder
+
 
+
PrimitiveDecoders.DoubleDecoder - Class in org.glassfish.tyrus.core.coder
+
 
+
PrimitiveDecoders.FloatDecoder - Class in org.glassfish.tyrus.core.coder
+
 
+
PrimitiveDecoders.IntegerDecoder - Class in org.glassfish.tyrus.core.coder
+
 
+
PrimitiveDecoders.LongDecoder - Class in org.glassfish.tyrus.core.coder
+
 
+
PrimitiveDecoders.ShortDecoder - Class in org.glassfish.tyrus.core.coder
+
 
+
process(Frame, TyrusWebSocket) - Method in class org.glassfish.tyrus.core.ProtocolHandler
+
+
TODO.
+
+
processError(Throwable) - Method in class org.glassfish.tyrus.client.TyrusClientEngine
+
 
+
processError(Throwable) - Method in interface org.glassfish.tyrus.spi.ClientEngine
+
+
Process error.
+
+
processIncoming(ExtendedExtension.ExtensionContext, Frame) - Method in interface org.glassfish.tyrus.core.extension.ExtendedExtension
+
+
Process incoming frame.
+
+
processOutgoing(ExtendedExtension.ExtensionContext, Frame) - Method in interface org.glassfish.tyrus.core.extension.ExtendedExtension
+
+
Process outgoing frame.
+
+
processResponse(UpgradeResponse, Writer, Connection.CloseListener) - Method in class org.glassfish.tyrus.client.TyrusClientEngine
+
 
+
processResponse(UpgradeResponse, Writer, Connection.CloseListener) - Method in interface org.glassfish.tyrus.spi.ClientEngine
+
+
Process handshake and return ClientEngine.ClientUpgradeInfo with handshake status (ClientEngine.ClientUpgradeStatus).
+
+
processTask() - Method in class org.glassfish.tyrus.container.grizzly.client.TaskProcessor
+
+
Process as much tasks from task queue as possible.
+
+
processTask(TaskProcessor.Task) - Method in class org.glassfish.tyrus.container.grizzly.client.TaskProcessor
+
+
Add a task to the task queue and process as much tasks from the task queue as possible.
+
+
PROTOCOL_ERROR - javax.websocket.CloseReason.CloseCodes
+
+
1002 indicates that an endpoint is terminating the connection due + to a protocol error.
+
+
PROTOCOL_ERROR - org.glassfish.tyrus.core.CloseReasons
+
+
1002 indicates that an endpoint is terminating the connection due + to a protocol error.
+
+
ProtocolException - Exception in org.glassfish.tyrus.core
+
+
Represents issue with parsing or producing websocket frame.
+
+
ProtocolException(String) - Constructor for exception org.glassfish.tyrus.core.ProtocolException
+
 
+
ProtocolHandler - Class in org.glassfish.tyrus.core
+
+
Tyrus protocol handler.
+
+
PROVIDER_CLASS_COULD_NOT_BE_LOADED(Object, Object, Object) - Static method in class org.glassfish.tyrus.core.l10n.LocalizationMessages
+
+
The class {0} implementing provider {1} could not be loaded: {2}
+
+
PROVIDER_COULD_NOT_BE_CREATED(Object, Object, Object) - Static method in class org.glassfish.tyrus.core.l10n.LocalizationMessages
+
+
The class {0} implementing provider {1} could not be instantiated: {2}
+
+
PROVIDER_NOT_FOUND(Object, Object) - Static method in class org.glassfish.tyrus.core.l10n.LocalizationMessages
+
+
The class {0} implementing the provider {1} is not found.
+
+
PROXY_HEADERS - Static variable in class org.glassfish.tyrus.client.ClientManager
+
+
Deprecated. + +
+
+
PROXY_HEADERS - Static variable in class org.glassfish.tyrus.client.ClientProperties
+
+
User property to set additional proxy headers.
+
+
PROXY_HEADERS - Static variable in class org.glassfish.tyrus.container.grizzly.client.GrizzlyClientSocket
+
+
Deprecated. + +
+
+
PROXY_URI - Static variable in class org.glassfish.tyrus.client.ClientManager
+
+
Deprecated. + +
+
+
PROXY_URI - Static variable in class org.glassfish.tyrus.client.ClientProperties
+
+
User property to set proxy URI.
+
+
PROXY_URI - Static variable in class org.glassfish.tyrus.container.grizzly.client.GrizzlyClientSocket
+
+
Deprecated. + +
+
+
put(K, List<V>) - Method in class org.glassfish.tyrus.core.uri.internal.AbstractMultivaluedMap
+
 
+
putAll(Map<? extends K, ? extends List<V>>) - Method in class org.glassfish.tyrus.core.uri.internal.AbstractMultivaluedMap
+
 
+
putSingle(K, V) - Method in class org.glassfish.tyrus.core.uri.internal.AbstractMultivaluedMap
+
+
Set the value for the key to be a one item list consisting of the supplied + value.
+
+
putSingle(K, V) - Method in interface org.glassfish.tyrus.core.uri.internal.MultivaluedMap
+
+
Set the key's value to be a one item list consisting of the supplied value.
+
+
+ + + +

Q

+
+
QUERY - org.glassfish.tyrus.core.uri.internal.UriComponent.Type
+
+
The URI query component type.
+
+
QUERY_PARAM - org.glassfish.tyrus.core.uri.internal.UriComponent.Type
+
+
The URI query component type that is a query parameter, space character is encoded as +.
+
+
QUERY_PARAM_SPACE_ENCODED - org.glassfish.tyrus.core.uri.internal.UriComponent.Type
+
+
The URI query component type that is a query parameter, space character is encoded as %20.
+
+
QUERY_STRING - org.glassfish.tyrus.core.cluster.RemoteSession.DistributedMapKey
+
+
Query string.
+
+
queryString(String) - Method in class org.glassfish.tyrus.core.RequestContext.Builder
+
+
Set query string.
+
+
+ + + +

R

+
+
ReaderDecoder - Class in org.glassfish.tyrus.core.coder
+
+
Built in Decoder for Reader.
+
+
ReaderDecoder() - Constructor for class org.glassfish.tyrus.core.coder.ReaderDecoder
+
 
+
ReadHandler - Interface in org.glassfish.tyrus.spi
+
+
Read handler provides a way for a transport to pass websocket + connection data to tyrus runtime.
+
+
RECONNECT_HANDLER - Static variable in class org.glassfish.tyrus.client.ClientManager
+
+
Deprecated. + +
+
+
RECONNECT_HANDLER - Static variable in class org.glassfish.tyrus.client.ClientProperties
+
+
Property usable in ClientManager.getProperties().
+
+
ReconnectHandler() - Constructor for class org.glassfish.tyrus.client.ClientManager.ReconnectHandler
+
 
+
REDIRECT_ENABLED - Static variable in class org.glassfish.tyrus.client.ClientProperties
+
+
HTTP Redirect support.
+
+
REDIRECT_THRESHOLD - Static variable in class org.glassfish.tyrus.client.ClientProperties
+
+
The maximal number of redirects during single handshake.
+
+
RedirectException - Exception in org.glassfish.tyrus.client
+
+
This exception is set as a cause of DeploymentException thrown from WebSocketContainer.connectToServer(...) + when any of the Redirect HTTP response status codes (300, 301, 302, 303, 307, 308) is received as a handshake + response and: + + + ClientProperties.REDIRECT_ENABLED is not enabled + + + or the chained redirection count exceeds the value of ClientProperties.REDIRECT_THRESHOLD + + + or Infinite redirection loop is detected + + + or "Location" response header is missing, empty or does not contain a valid URI.
+
+
RedirectException(int, String) - Constructor for exception org.glassfish.tyrus.client.RedirectException
+
+
Constructor.
+
+
ReflectionHelper - Class in org.glassfish.tyrus.core
+
+
Utility methods for Java reflection.
+
+
ReflectionHelper() - Constructor for class org.glassfish.tyrus.core.ReflectionHelper
+
 
+
ReflectionHelper.ClassTypePair - Class in org.glassfish.tyrus.core
+
+
A tuple consisting of a class and type of the class.
+
+
ReflectionHelper.DeclaringClassInterfacePair - Class in org.glassfish.tyrus.core
+
+
A tuple consisting of a concrete class, declaring class that declares a generic interface type.
+
+
ReflectionHelper.TypeClassPair - Class in org.glassfish.tyrus.core
+
 
+
register(Class<?>) - Method in class org.glassfish.tyrus.server.TyrusServerContainer
+
 
+
register(Class<?>, String) - Method in class org.glassfish.tyrus.core.TyrusWebSocketEngine
+
 
+
register(Class<?>, String) - Method in interface org.glassfish.tyrus.spi.WebSocketEngine
+
+
Register endpoint class.
+
+
register(ServerEndpointConfig) - Method in class org.glassfish.tyrus.server.TyrusServerContainer
+
 
+
register(ServerEndpointConfig, String) - Method in class org.glassfish.tyrus.core.TyrusWebSocketEngine
+
 
+
register(ServerEndpointConfig, String) - Method in interface org.glassfish.tyrus.spi.WebSocketEngine
+
+ +
+
registerAuthProvider(String, Authenticator) - Method in class org.glassfish.tyrus.client.auth.AuthConfig.Builder
+
+
Register Authenticator for provided authentication scheme.
+
+
registerBroadcastListener(String, BroadcastListener) - Method in class org.glassfish.tyrus.core.cluster.ClusterContext
+
+
Register broadcast listener.
+
+
registerSession(String, String, SessionEventListener) - Method in class org.glassfish.tyrus.core.cluster.ClusterContext
+
+
Register local session.
+
+
registerSessionListener(String, SessionListener) - Method in class org.glassfish.tyrus.core.cluster.ClusterContext
+
+
Register session listener.
+
+
relativize(URI, URI) - Static method in class org.glassfish.tyrus.core.uri.internal.UriTemplate
+
+
Relativize URI with respect to a base URI.
+
+
remoteAddr(String) - Method in class org.glassfish.tyrus.core.RequestContext.Builder
+
+
Set remote address.
+
+
RemoteEndpoint - Interface in javax.websocket
+
+
The RemoteEndpoint object is supplied by the container and represents the + 'other end' or peer of the Web Socket conversation.
+
+
RemoteEndpoint.Async - Interface in javax.websocket
+
+
This representation of the peer of a web socket conversation has the ability + to send messages asynchronously.
+
+
RemoteEndpoint.Basic - Interface in javax.websocket
+
+
This representation of the peer of a web socket conversation has the ability + to send messages synchronously.
+
+
RemoteSession - Class in org.glassfish.tyrus.core.cluster
+
+
Remote session represents session originating from another node.
+
+
RemoteSession(String, ClusterContext, Map<RemoteSession.DistributedMapKey, Object>, TyrusEndpointWrapper, Session) - Constructor for class org.glassfish.tyrus.core.cluster.RemoteSession
+
+
Constructor.
+
+
RemoteSession.DistributedMapKey - Enum in org.glassfish.tyrus.core.cluster
+
 
+
remove(Object) - Method in class org.glassfish.tyrus.core.uri.internal.AbstractMultivaluedMap
+
 
+
removeMessageHandler(MessageHandler) - Method in interface javax.websocket.Session
+
+
Remove the given MessageHandler from the set belonging to this session.
+
+
removeMessageHandler(MessageHandler) - Method in class org.glassfish.tyrus.core.cluster.RemoteSession
+
+
This method is not supported on RemoteSession.
+
+
removeMessageHandler(MessageHandler) - Method in class org.glassfish.tyrus.core.MessageHandlerManager
+
+
Remove MessageHandler from the manager.
+
+
removeMessageHandler(MessageHandler) - Method in class org.glassfish.tyrus.core.TyrusSession
+
 
+
removeSession(String, String) - Method in class org.glassfish.tyrus.core.cluster.ClusterContext
+
+
Remove session from this Cluster context.
+
+
removeSession(Session) - Method in class org.glassfish.tyrus.core.ComponentProviderService
+
+
Remove Session from cache.
+
+
REQUEST_PARAMETER_MAP - org.glassfish.tyrus.core.cluster.RemoteSession.DistributedMapKey
+
+
Request Parameter map.
+
+
REQUEST_URI - org.glassfish.tyrus.core.cluster.RemoteSession.DistributedMapKey
+
+
Request URI.
+
+
RequestContext - Class in org.glassfish.tyrus.core
+
+
Implementation of all possible request interfaces.
+
+
RequestContext.Builder - Class in org.glassfish.tyrus.core
+
+ +
+
RequestContext.Builder.IsUserInRoleDelegate - Interface in org.glassfish.tyrus.core
+
+
Is user in role delegate.
+
+
requestURI(URI) - Method in class org.glassfish.tyrus.core.RequestContext.Builder
+
+
Set request URI.
+
+
RESERVED - javax.websocket.CloseReason.CloseCodes
+
+
Reserved.
+
+
RESERVED - org.glassfish.tyrus.core.CloseReasons
+
+
Reserved.
+
+
resolve(URI, String) - Static method in class org.glassfish.tyrus.core.uri.internal.UriTemplate
+
+
Resolve a relative URI reference against a base URI as defined in + RFC 3986.
+
+
resolve(URI, URI) - Static method in class org.glassfish.tyrus.core.uri.internal.UriTemplate
+
+
Resolve a relative URI reference against a base URI as defined in + RFC 3986.
+
+
resolveTemplateValues(UriComponent.Type, String, boolean, Map<String, ?>) - Static method in class org.glassfish.tyrus.core.uri.internal.UriTemplate
+
+
Resolves template variables in the given template from _mapValues.
+
+
resolveTypeVariable(Class, Class, TypeVariable) - Static method in class org.glassfish.tyrus.core.ReflectionHelper
+
+
Given a type variable resolve the Java class of that variable.
+
+
respond(TyrusWebSocket) - Method in class org.glassfish.tyrus.core.frame.BinaryFrame
+
 
+
respond(TyrusWebSocket) - Method in class org.glassfish.tyrus.core.frame.CloseFrame
+
 
+
respond(TyrusWebSocket) - Method in class org.glassfish.tyrus.core.frame.PingFrame
+
 
+
respond(TyrusWebSocket) - Method in class org.glassfish.tyrus.core.frame.PongFrame
+
 
+
respond(TyrusWebSocket) - Method in class org.glassfish.tyrus.core.frame.TextFrame
+
 
+
respond(TyrusWebSocket) - Method in class org.glassfish.tyrus.core.frame.TyrusFrame
+
+
Execution part of frame processing.
+
+
RESPONSE_CODE_MESSAGE - Static variable in class org.glassfish.tyrus.spi.UpgradeRequest
+
+
HTTP reason phrase for successful handshake response.
+
+
retrieve(Properties) - Method in class org.glassfish.tyrus.client.SslContextConfigurator
+
+
Retrieve settings from (system) properties.
+
+
RETRY_AFTER - Static variable in class org.glassfish.tyrus.spi.UpgradeResponse
+
+
Header containing delay or date in which client can try to reconnect to the server.
+
+
RETRY_AFTER_SERVICE_UNAVAILABLE - Static variable in class org.glassfish.tyrus.client.ClientProperties
+
+
HTTP Service Unavailable - "Retry-After" reconnect support.
+
+
RetryAfterException - Exception in org.glassfish.tyrus.client
+
+
This exception is set as a cause of DeploymentException thrown from WebSocketContainer.connectToServer(...) when HTTP response status code 503 - Service Unavailable is + received.
+
+
RetryAfterException(String, Long) - Constructor for exception org.glassfish.tyrus.client.RetryAfterException
+
+
Constructor.
+
+
RSV_INCORRECTLY_SET() - Static method in class org.glassfish.tyrus.core.l10n.LocalizationMessages
+
+
RSV bit(s) incorrectly set.
+
+
rsv1(boolean) - Method in class org.glassfish.tyrus.core.frame.Frame.Builder
+
+
Set RSV1 flag.
+
+
rsv2(boolean) - Method in class org.glassfish.tyrus.core.frame.Frame.Builder
+
+
Set RSV2 flag.
+
+
rsv3(boolean) - Method in class org.glassfish.tyrus.core.frame.Frame.Builder
+
+
Set RSV3 flag.
+
+
+ + + +

S

+
+
SCHEME - org.glassfish.tyrus.core.uri.internal.UriComponent.Type
+
+
The URI scheme component type.
+
+
SEC_KEY_INVALID_LENGTH(Object) - Static method in class org.glassfish.tyrus.core.l10n.LocalizationMessages
+
+
Invalid Sec-WebSocket-Key length.
+
+
SEC_KEY_INVALID_SERVER() - Static method in class org.glassfish.tyrus.core.l10n.LocalizationMessages
+
+
Sec-WebSocket-Key returned from server does not match expected response.
+
+
SEC_KEY_NULL_NOT_ALLOWED() - Static method in class org.glassfish.tyrus.core.l10n.LocalizationMessages
+
+
Null Sec-WebSocket-Key is not allowed.
+
+
SEC_WEBSOCKET_ACCEPT - Static variable in interface javax.websocket.HandshakeResponse
+
+
The Sec-WebSocket-Accept header name.
+
+
SEC_WEBSOCKET_EXTENSIONS - Static variable in interface javax.websocket.server.HandshakeRequest
+
+
The Sec-WebSocket-Extensions header name
+
+
SEC_WEBSOCKET_KEY - Static variable in interface javax.websocket.server.HandshakeRequest
+
+
The Sec-WebSocket-Key header name
+
+
SEC_WEBSOCKET_PROTOCOL - Static variable in interface javax.websocket.server.HandshakeRequest
+
+
The Sec-WebSocket-Protocol header name
+
+
SEC_WEBSOCKET_VERSION - Static variable in interface javax.websocket.server.HandshakeRequest
+
+
The Sec-WebSocket-Version header name
+
+
SEC_WS_ORIGIN_HEADER - Static variable in class org.glassfish.tyrus.spi.UpgradeRequest
+
+
WebSocket origin header name from previous versions.
+
+
secure(boolean) - Method in class org.glassfish.tyrus.core.RequestContext.Builder
+
+
Set secure state.
+
+
SECURE - org.glassfish.tyrus.core.cluster.RemoteSession.DistributedMapKey
+
+
Secure flag.
+
+
SELECTOR_THREAD_POOL_CONFIG - Static variable in class org.glassfish.tyrus.container.grizzly.client.GrizzlyClientProperties
+
+
Client-side property to set custom selector ThreadPoolConfig.
+
+
SELECTOR_THREAD_POOL_CONFIG - Static variable in class org.glassfish.tyrus.container.grizzly.client.GrizzlyClientSocket
+
+ +
+
SELECTOR_THREAD_POOL_CONFIG - Static variable in class org.glassfish.tyrus.container.grizzly.server.GrizzlyServerContainer
+
+
Server-side property to set custom selector ThreadPoolConfig.
+
+
send(byte[]) - Method in class org.glassfish.tyrus.core.ProtocolHandler
+
+
Deprecated.
+
+
send(byte[], SendHandler) - Method in class org.glassfish.tyrus.core.ProtocolHandler
+
+
Deprecated.
+
+
send(byte[], SendHandler, WriterInfo) - Method in class org.glassfish.tyrus.core.ProtocolHandler
+
 
+
send(byte[], WriterInfo) - Method in class org.glassfish.tyrus.core.ProtocolHandler
+
 
+
send(String) - Method in class org.glassfish.tyrus.core.ProtocolHandler
+
+
Deprecated.
+
+
send(String, SendHandler) - Method in class org.glassfish.tyrus.core.ProtocolHandler
+
+
Deprecated.
+
+
send(String, SendHandler, WriterInfo) - Method in class org.glassfish.tyrus.core.ProtocolHandler
+
 
+
send(String, WriterInfo) - Method in class org.glassfish.tyrus.core.ProtocolHandler
+
 
+
SEND_MESSAGE_INFRAGMENT() - Static method in class org.glassfish.tyrus.core.l10n.LocalizationMessages
+
+
Attempting to send a message while sending fragments of another.
+
+
sendBinary(byte[]) - Method in class org.glassfish.tyrus.core.TyrusWebSocket
+
+
Deprecated.
+
+
sendBinary(byte[], boolean) - Method in class org.glassfish.tyrus.core.TyrusWebSocket
+
+
Deprecated.
+
+
sendBinary(byte[], boolean, WriterInfo) - Method in class org.glassfish.tyrus.core.TyrusWebSocket
+
+
Sends a fragment of a complete message.
+
+
sendBinary(byte[], int, int, boolean) - Method in class org.glassfish.tyrus.core.TyrusWebSocket
+
+
Deprecated.
+
+
sendBinary(byte[], int, int, boolean, WriterInfo) - Method in class org.glassfish.tyrus.core.TyrusWebSocket
+
+
Sends a fragment of a complete message.
+
+
sendBinary(byte[], SendHandler) - Method in class org.glassfish.tyrus.core.TyrusWebSocket
+
+
Deprecated.
+
+
sendBinary(byte[], SendHandler, WriterInfo) - Method in class org.glassfish.tyrus.core.TyrusWebSocket
+
+
Send a binary frame to the remote endpoint.
+
+
sendBinary(byte[], WriterInfo) - Method in class org.glassfish.tyrus.core.TyrusWebSocket
+
+
Send a binary frame to the remote endpoint.
+
+
sendBinary(String, byte[]) - Method in class org.glassfish.tyrus.core.cluster.ClusterContext
+
+
Send binary message.
+
+
sendBinary(String, byte[], boolean) - Method in class org.glassfish.tyrus.core.cluster.ClusterContext
+
+
Send partial binary message.
+
+
sendBinary(String, byte[], SendHandler) - Method in class org.glassfish.tyrus.core.cluster.ClusterContext
+
+
Send binary message with SendHandler.
+
+
sendBinary(ByteBuffer) - Method in interface javax.websocket.RemoteEndpoint.Async
+
+
Initiates the asynchronous transmission of a binary message.
+
+
sendBinary(ByteBuffer) - Method in interface javax.websocket.RemoteEndpoint.Basic
+
+
Send a binary message, returning when all of the message has been transmitted.
+
+
sendBinary(ByteBuffer, boolean) - Method in interface javax.websocket.RemoteEndpoint.Basic
+
+
Send a binary message in parts, blocking until all of the message has been transmitted.
+
+
sendBinary(ByteBuffer, SendHandler) - Method in interface javax.websocket.RemoteEndpoint.Async
+
+
Initiates the asynchronous transmission of a binary message.
+
+
SendHandler - Interface in javax.websocket
+
+
A simple callback object for asynchronous sending of web socket messages.
+
+
sendObject(Object) - Method in interface javax.websocket.RemoteEndpoint.Async
+
+
Initiates the asynchronous transmission of a custom developer object.
+
+
sendObject(Object) - Method in interface javax.websocket.RemoteEndpoint.Basic
+
+
Sends a custom developer object, blocking until it has been transmitted.
+
+
sendObject(Object, SendHandler) - Method in interface javax.websocket.RemoteEndpoint.Async
+
+
Initiates the asynchronous transmission of a custom developer object.
+
+
sendPing(byte[]) - Method in class org.glassfish.tyrus.core.TyrusWebSocket
+
+
Sends a ping frame with the specified payload (if any).
+
+
sendPing(String, byte[]) - Method in class org.glassfish.tyrus.core.cluster.ClusterContext
+
+
Send ping message.
+
+
sendPing(ByteBuffer) - Method in interface javax.websocket.RemoteEndpoint
+
+
Send a Ping message containing the given application data to the remote endpoint.
+
+
sendPing(ByteBuffer) - Method in class org.glassfish.tyrus.core.TyrusRemoteEndpoint
+
 
+
sendPong(byte[]) - Method in class org.glassfish.tyrus.core.TyrusWebSocket
+
+
Sends a ping frame with the specified payload (if any).
+
+
sendPong(String, byte[]) - Method in class org.glassfish.tyrus.core.cluster.ClusterContext
+
+
Send pong message.
+
+
sendPong(ByteBuffer) - Method in interface javax.websocket.RemoteEndpoint
+
+
Allows the developer to send an unsolicited Pong message containing the given application + data in order to serve as a unidirectional + heartbeat for the session.
+
+
sendPong(ByteBuffer) - Method in class org.glassfish.tyrus.core.TyrusRemoteEndpoint
+
 
+
sendRawFrame(ByteBuffer) - Method in class org.glassfish.tyrus.core.ProtocolHandler
+
+
Raw frame is always whole (not partial).
+
+
sendRawFrame(ByteBuffer) - Method in class org.glassfish.tyrus.core.TyrusWebSocket
+
+
Send a frame to the remote endpoint.
+
+
SendResult - Class in javax.websocket
+
+
The result of asynchronously sending a web socket message.
+
+
SendResult() - Constructor for class javax.websocket.SendResult
+
+
Construct a SendResult signifying a successful send carrying no exception.
+
+
SendResult(Throwable) - Constructor for class javax.websocket.SendResult
+
+
Construct a SendResult carrying an exception.
+
+
sendText(String) - Method in interface javax.websocket.RemoteEndpoint.Async
+
+
Initiates the asynchronous transmission of a text message.
+
+
sendText(String) - Method in interface javax.websocket.RemoteEndpoint.Basic
+
+
Send a text message, blocking until all of the message has been transmitted.
+
+
sendText(String) - Method in class org.glassfish.tyrus.core.TyrusWebSocket
+
+
Deprecated.
+
+
sendText(String, boolean) - Method in interface javax.websocket.RemoteEndpoint.Basic
+
+
Send a text message in parts, blocking until all of the message has been transmitted.
+
+
sendText(String, boolean) - Method in class org.glassfish.tyrus.core.TyrusWebSocket
+
+
Deprecated.
+
+
sendText(String, boolean, WriterInfo) - Method in class org.glassfish.tyrus.core.TyrusWebSocket
+
+
Sends a fragment of a complete message.
+
+
sendText(String, String) - Method in class org.glassfish.tyrus.core.cluster.ClusterContext
+
+
Send text message.
+
+
sendText(String, String, boolean) - Method in class org.glassfish.tyrus.core.cluster.ClusterContext
+
+
Send partial text message.
+
+
sendText(String, String, SendHandler) - Method in class org.glassfish.tyrus.core.cluster.ClusterContext
+
+
Send text message with SendHandler.
+
+
sendText(String, SendHandler) - Method in interface javax.websocket.RemoteEndpoint.Async
+
+
Initiates the asynchronous transmission of a text message.
+
+
sendText(String, SendHandler) - Method in class org.glassfish.tyrus.core.TyrusWebSocket
+
+
Deprecated.
+
+
sendText(String, SendHandler, WriterInfo) - Method in class org.glassfish.tyrus.core.TyrusWebSocket
+
+
Send a text frame to the remote endpoint.
+
+
sendText(String, WriterInfo) - Method in class org.glassfish.tyrus.core.TyrusWebSocket
+
+
Send a text frame to the remote endpoint.
+
+
Server - Class in org.glassfish.tyrus.server
+
+
Implementation of the WebSocket Server.
+
+
Server(Class<?>...) - Constructor for class org.glassfish.tyrus.server.Server
+
+
Create new server instance.
+
+
Server(String, int, String, Map<String, Object>, Class<?>...) - Constructor for class org.glassfish.tyrus.server.Server
+
+
Construct new server.
+
+
Server(String, int, String, Map<String, Object>, Set<Class<?>>) - Constructor for class org.glassfish.tyrus.server.Server
+
+
Construct new server.
+
+
Server(Map<String, Object>, Class<?>...) - Constructor for class org.glassfish.tyrus.server.Server
+
+
Create new server instance.
+
+
SERVER_KEY_HASH - Static variable in class org.glassfish.tyrus.spi.UpgradeRequest
+
+
Server key hash used to compute "Sec-WebSocket-Accept" header value.
+
+
ServerApplicationConfig - Interface in javax.websocket.server
+
+
Developers include implementations of ServerApplicationConfig in an archive containing + websocket endpoints (WAR file, or JAR file within the WAR file) in order to specify the websocket + endpoints within the archive the implementation must deploy.
+
+
ServerContainer - Interface in javax.websocket.server
+
+
The ServerContainer is the specialized view of the WebSocketContainer available + in server-side deployments.
+
+
ServerContainer - Interface in org.glassfish.tyrus.spi
+
+
HTTP server abstraction.
+
+
ServerContainerFactory - Class in org.glassfish.tyrus.spi
+
+
Factory used to get instances of ServerContainer.
+
+
ServerContainerFactory() - Constructor for class org.glassfish.tyrus.spi.ServerContainerFactory
+
 
+
ServerEndpoint - Annotation Type in javax.websocket.server
+
+
This class level annotation declares that the class it decorates + is a web socket endpoint that will be deployed and made available in the URI-space + of a web socket server.
+
+
ServerEndpointConfig - Interface in javax.websocket.server
+
+
The ServerEndpointConfig is a special kind of endpoint configuration object that contains + web socket configuration information specific only to server endpoints.
+
+
ServerEndpointConfig.Builder - Class in javax.websocket.server
+
+
The ServerEndpointConfig.Builder is a class used for creating + ServerEndpointConfig.Builder objects for the purposes of + deploying a server endpoint.
+
+
ServerEndpointConfig.Configurator - Class in javax.websocket.server
+
+
The ServerEndpointConfig.Configurator class may be extended by developers who want to + provide custom configuration algorithms, such as intercepting the opening handshake, or + providing arbitrary methods and algorithms that can be accessed from each endpoint + instance configured with this configurator.
+
+
SERVICE_RESTART - javax.websocket.CloseReason.CloseCodes
+
+
1012 indicates that the service will be restarted.
+
+
SERVICE_RESTART - org.glassfish.tyrus.core.CloseReasons
+
+
1012 indicates that the service will be restarted.
+
+
ServiceConfigurationError - Error in org.glassfish.tyrus.core
+
+
Taken from Jersey 2.
+
+
ServiceConfigurationError(String) - Constructor for error org.glassfish.tyrus.core.ServiceConfigurationError
+
+
Constructs a new instance with the specified detail string.
+
+
ServiceConfigurationError(Throwable) - Constructor for error org.glassfish.tyrus.core.ServiceConfigurationError
+
+
Constructs a new instance that wraps the specified throwable.
+
+
ServiceFinder<T> - Class in org.glassfish.tyrus.core
+
+
A simple service-provider lookup mechanism.
+
+
ServiceFinder.DefaultServiceIteratorProvider - Class in org.glassfish.tyrus.core
+
+
The default service iterator provider that looks up provider classes in + META-INF/services files.
+
+
ServiceFinder.ServiceIteratorProvider - Class in org.glassfish.tyrus.core
+
+
Supports iteration of provider instances or classes.
+
+
ServiceIteratorProvider() - Constructor for class org.glassfish.tyrus.core.ServiceFinder.ServiceIteratorProvider
+
 
+
Session - Interface in javax.websocket
+
+
A Web Socket session represents a conversation between two web socket endpoints.
+
+
SESSION_ALLOWED - org.glassfish.tyrus.core.TyrusEndpointWrapper.SessionListener.OnOpenResult
+
+
Session can be opened.
+
+
SESSION_CLOSED_IDLE_TIMEOUT() - Static method in class org.glassfish.tyrus.core.l10n.LocalizationMessages
+
+
"Session closed by the container because of the idle timeout."
+
+
sessionDestroyed() - Method in class org.glassfish.tyrus.servlet.TyrusHttpUpgradeHandler
+
+
Called when related HttpSession is destroyed or invalidated.
+
+
SessionEventListener - Class in org.glassfish.tyrus.core.cluster
+
+
Session event listener.
+
+
SessionEventListener(Session) - Constructor for class org.glassfish.tyrus.core.cluster.SessionEventListener
+
+
Constructor.
+
+
SessionException - Exception in javax.websocket
+
+
A SessionException represents a general exception type reporting problems + occurring on a websocket session.
+
+
SessionException(String, Throwable, Session) - Constructor for exception javax.websocket.SessionException
+
+
Creates a new instance of this exception with the given message, + the wrapped cause of the exception and the session with which + the problem is associated.
+
+
SessionListener - Interface in org.glassfish.tyrus.core.cluster
+
+
Session listener.
+
+
SessionListener() - Constructor for class org.glassfish.tyrus.core.TyrusEndpointWrapper.SessionListener
+
 
+
setAccessibleMethod(Method) - Static method in class org.glassfish.tyrus.core.ReflectionHelper
+
+
Set a method to be accessible.
+
+
setAsyncSendTimeout(long) - Method in interface javax.websocket.WebSocketContainer
+
+
Sets the number of milliseconds the implementation will timeout + attempting to send a websocket message for all RemoteEndpoints associated + with this container.
+
+
setAsyncSendTimeout(long) - Method in class org.glassfish.tyrus.client.ClientManager
+
 
+
setAsyncSendTimeout(long) - Method in class org.glassfish.tyrus.server.TyrusServerContainer
+
 
+
setBatchingAllowed(boolean) - Method in interface javax.websocket.RemoteEndpoint
+
+
Indicate to the implementation that it is allowed to batch outgoing messages + before sending.
+
+
setBatchingAllowed(boolean) - Method in class org.glassfish.tyrus.core.TyrusRemoteEndpoint
+
 
+
setCipherConfigured(boolean) - Method in class org.glassfish.tyrus.client.SslEngineConfigurator
+
 
+
setClientMode(boolean) - Method in class org.glassfish.tyrus.client.SslEngineConfigurator
+
+
Set SSLEngine to be configured to work in client mode.
+
+
setCorePoolSize(int) - Method in class org.glassfish.tyrus.client.ThreadPoolConfig
+
+
Set the core thread pool size - the size of the thread pool will never bee smaller than this.
+
+
setDaemon(boolean) - Method in class org.glassfish.tyrus.client.ThreadPoolConfig
+
+
Set true if thread pool threads are daemons.
+
+
setDefaultMaxBinaryMessageBufferSize(int) - Method in interface javax.websocket.WebSocketContainer
+
+
Sets the default maximum size of incoming binary message that this container + will buffer.
+
+
setDefaultMaxBinaryMessageBufferSize(int) - Method in class org.glassfish.tyrus.client.ClientManager
+
 
+
setDefaultMaxBinaryMessageBufferSize(int) - Method in class org.glassfish.tyrus.server.TyrusServerContainer
+
 
+
setDefaultMaxSessionIdleTimeout(long) - Method in interface javax.websocket.WebSocketContainer
+
+
Sets the default time in milliseconds after which any web socket sessions in this + container will be closed if it has been inactive.
+
+
setDefaultMaxSessionIdleTimeout(long) - Method in class org.glassfish.tyrus.client.ClientManager
+
 
+
setDefaultMaxSessionIdleTimeout(long) - Method in class org.glassfish.tyrus.server.TyrusServerContainer
+
 
+
setDefaultMaxTextMessageBufferSize(int) - Method in interface javax.websocket.WebSocketContainer
+
+
Sets the maximum size of incoming text message that this container + will buffer.
+
+
setDefaultMaxTextMessageBufferSize(int) - Method in class org.glassfish.tyrus.client.ClientManager
+
 
+
setDefaultMaxTextMessageBufferSize(int) - Method in class org.glassfish.tyrus.server.TyrusServerContainer
+
 
+
setEnabledCipherSuites(String[]) - Method in class org.glassfish.tyrus.client.SslEngineConfigurator
+
+
Set enabled cipher suites.
+
+
setEnabledProtocols(String[]) - Method in class org.glassfish.tyrus.client.SslEngineConfigurator
+
+
Set enabled protocols.
+
+
setExtensionContext(ExtendedExtension.ExtensionContext) - Method in class org.glassfish.tyrus.core.ProtocolHandler
+
+
Client side.
+
+
setExtensions(List<Extension>) - Method in class org.glassfish.tyrus.core.Handshake
+
+
Client side only - set the list of supported extensions.
+
+
setExtensions(List<Extension>) - Method in class org.glassfish.tyrus.core.ProtocolHandler
+
+
Client side.
+
+
setFailure(Throwable) - Method in class org.glassfish.tyrus.core.TyrusFuture
+
+
Sets the failure result of message writing process.
+
+
setHeartbeatInterval(long) - Method in class org.glassfish.tyrus.core.TyrusSession
+
+
Set an interval in milliseconds between scheduled periodic Pong messages.
+
+
setHostnameVerifier(HostnameVerifier) - Method in class org.glassfish.tyrus.client.SslEngineConfigurator
+
+
Set custom hostname verifier.
+
+
setHostVerificationEnabled(boolean) - Method in class org.glassfish.tyrus.client.SslEngineConfigurator
+
+
Set hostname verification.
+
+
setId(String) - Method in class org.glassfish.tyrus.core.wsadl.model.Endpoint
+
+
Sets the value of the id property.
+
+
setIncomingBufferSize(int) - Method in class org.glassfish.tyrus.core.TyrusWebSocketEngine
+
+ +
+
setIncomingBufferSize(int) - Method in class org.glassfish.tyrus.servlet.TyrusHttpUpgradeHandler
+
 
+
setInitialClassLoader(ClassLoader) - Method in class org.glassfish.tyrus.client.ThreadPoolConfig
+
+
Specifies the context class loader that will be used by threads in this pool.
+
+
setIteratorProvider(ServiceFinder.ServiceIteratorProvider) - Static method in class org.glassfish.tyrus.core.ServiceFinder
+
+
Register the service iterator provider to iterate on provider instances + or classes.
+
+
setKeepAliveTime(long, TimeUnit) - Method in class org.glassfish.tyrus.client.ThreadPoolConfig
+
+
The max period of time a thread will wait for a new task to process.
+
+
setKeyManagerFactoryAlgorithm(String) - Method in class org.glassfish.tyrus.client.SslContextConfigurator
+
+
Sets the key manager factory algorithm.
+
+
setKeyPassword(char[]) - Method in class org.glassfish.tyrus.client.SslContextConfigurator
+
+
Password of the key in the key store.
+
+
setKeyPassword(String) - Method in class org.glassfish.tyrus.client.SslContextConfigurator
+
+
Password of the key in the key store.
+
+
setKeyStoreBytes(byte[]) - Method in class org.glassfish.tyrus.client.SslContextConfigurator
+
+
Sets key store payload as byte array.
+
+
setKeyStoreFile(String) - Method in class org.glassfish.tyrus.client.SslContextConfigurator
+
+
Sets key store file name, also makes sure that if other key store + configuration parameters are not set to set them to default values.
+
+
setKeyStorePassword(char[]) - Method in class org.glassfish.tyrus.client.SslContextConfigurator
+
+
Password of key store.
+
+
setKeyStorePassword(String) - Method in class org.glassfish.tyrus.client.SslContextConfigurator
+
+
Password of key store.
+
+
setKeyStoreProvider(String) - Method in class org.glassfish.tyrus.client.SslContextConfigurator
+
+
Sets the key store provider name.
+
+
setKeyStoreType(String) - Method in class org.glassfish.tyrus.client.SslContextConfigurator
+
+
Type of key store.
+
+
setMaxBinaryMessageBufferSize(int) - Method in interface javax.websocket.Session
+
+
Sets the maximum length of incoming binary messages that this Session can buffer.
+
+
setMaxBinaryMessageBufferSize(int) - Method in class org.glassfish.tyrus.core.cluster.RemoteSession
+
+
This method is not supported on RemoteSession.
+
+
setMaxBinaryMessageBufferSize(int) - Method in class org.glassfish.tyrus.core.TyrusSession
+
 
+
setMaxIdleTimeout(long) - Method in interface javax.websocket.Session
+
+
Set the non-zero number of milliseconds before this session will be closed by the + container if it is inactive, ie no messages are either sent or received.
+
+
setMaxIdleTimeout(long) - Method in class org.glassfish.tyrus.core.cluster.RemoteSession
+
+
This method is not supported on RemoteSession.
+
+
setMaxIdleTimeout(long) - Method in class org.glassfish.tyrus.core.TyrusSession
+
 
+
setMaxPoolSize(int) - Method in class org.glassfish.tyrus.client.ThreadPoolConfig
+
+
Set max thread pool size.
+
+
setMaxTextMessageBufferSize(int) - Method in interface javax.websocket.Session
+
+
Sets the maximum length of incoming text messages that this Session can buffer.
+
+
setMaxTextMessageBufferSize(int) - Method in class org.glassfish.tyrus.core.cluster.RemoteSession
+
+
This method is not supported on RemoteSession.
+
+
setMaxTextMessageBufferSize(int) - Method in class org.glassfish.tyrus.core.TyrusSession
+
 
+
setMessageEventListener(MessageEventListener) - Method in class org.glassfish.tyrus.core.ProtocolHandler
+
+
Set message event listener.
+
+
setNeedClientAuth(boolean) - Method in class org.glassfish.tyrus.client.SslEngineConfigurator
+
+
Set "need client auth" property.
+
+
setPath(String) - Method in class org.glassfish.tyrus.core.wsadl.model.Endpoint
+
+
Sets the value of the path property.
+
+
setPoolName(String) - Method in class org.glassfish.tyrus.client.ThreadPoolConfig
+
+
Set thread pool name.
+
+
setPriority(int) - Method in class org.glassfish.tyrus.client.ThreadPoolConfig
+
+
Set priority of the threads in thread pool.
+
+
setProtocolConfigured(boolean) - Method in class org.glassfish.tyrus.client.SslEngineConfigurator
+
 
+
setQueue(Queue<Runnable>) - Method in class org.glassfish.tyrus.client.ThreadPoolConfig
+
+
Set a queue implementation that will be used to temporarily store tasks when all threads in the thread pool are + busy.
+
+
setQueueLimit(int) - Method in class org.glassfish.tyrus.client.ThreadPoolConfig
+
+
Set the limit of the queue, where tasks are temporarily stored when all threads are busy.
+
+
setReasonPhrase(String) - Method in class org.glassfish.tyrus.core.TyrusUpgradeResponse
+
+
Set HTTP reason phrase.
+
+
setReasonPhrase(String) - Method in class org.glassfish.tyrus.spi.UpgradeResponse
+
+
Get HTTP reason phrase.
+
+
setResult(T) - Method in class org.glassfish.tyrus.core.TyrusFuture
+
+
Sets the result of the message writing process.
+
+
setSecurityProtocol(String) - Method in class org.glassfish.tyrus.client.SslContextConfigurator
+
+
Sets the SSLContext protocol.
+
+
setSendTimeout(long) - Method in interface javax.websocket.RemoteEndpoint.Async
+
+
Sets the number of milliseconds the implementation will timeout + attempting to send a websocket message.
+
+
setSessionId(String) - Method in class org.glassfish.tyrus.core.DebugContext
+
+
Set a session ID that will be used as a common identifier for logged messages related to the same upgrade + request.
+
+
setStatus(int) - Method in class org.glassfish.tyrus.core.TyrusUpgradeResponse
+
+
Set HTTP status.
+
+
setStatus(int) - Method in class org.glassfish.tyrus.spi.UpgradeResponse
+
+
Set HTTP status code for this response.
+
+
setSubProtocols(List<String>) - Method in class org.glassfish.tyrus.core.Handshake
+
+
Client side only - set the list of supported subprotocols.
+
+
setThreadFactory(ThreadFactory) - Method in class org.glassfish.tyrus.client.ThreadPoolConfig
+
+
Set ThreadFactory that will be used to create thread pool threads.
+
+
setTrustManagerFactoryAlgorithm(String) - Method in class org.glassfish.tyrus.client.SslContextConfigurator
+
+
Sets the trust manager factory algorithm.
+
+
setTrustStoreBytes(byte[]) - Method in class org.glassfish.tyrus.client.SslContextConfigurator
+
+
Sets trust store payload as byte array.
+
+
setTrustStoreFile(String) - Method in class org.glassfish.tyrus.client.SslContextConfigurator
+
+
Sets trust store file name, also makes sure that if other trust store + configuration parameters are not set to set them to default values.
+
+
setTrustStorePassword(String) - Method in class org.glassfish.tyrus.client.SslContextConfigurator
+
+
Password of trust store.
+
+
setTrustStoreProvider(String) - Method in class org.glassfish.tyrus.client.SslContextConfigurator
+
+
Sets the trust store provider name.
+
+
setTrustStoreType(String) - Method in class org.glassfish.tyrus.client.SslContextConfigurator
+
+
Type of trust store.
+
+
setup(NetworkListener, FilterChainBuilder) - Method in class org.glassfish.tyrus.container.grizzly.server.WebSocketAddOn
+
 
+
setWantClientAuth(boolean) - Method in class org.glassfish.tyrus.client.SslEngineConfigurator
+
+
Set "want client auth" property.
+
+
setWebSocket(TyrusWebSocket) - Method in class org.glassfish.tyrus.core.ProtocolHandler
+
+
Client side.
+
+
setWriter(Writer) - Method in class org.glassfish.tyrus.core.ProtocolHandler
+
+
Set Writer instance.
+
+
setWriteTimeout(long) - Method in class org.glassfish.tyrus.core.TyrusWebSocket
+
+
Sets the timeout for the writing operation.
+
+
SHARED_CONTAINER - Static variable in class org.glassfish.tyrus.client.ClientProperties
+
+
When set to true (boolean value), client runtime preserves used container and reuses it for outgoing + connections.
+
+
SHARED_CONTAINER - Static variable in class org.glassfish.tyrus.container.grizzly.client.GrizzlyClientContainer
+
+
Deprecated. + +
+
+
SHARED_CONTAINER_IDLE_TIMEOUT - Static variable in class org.glassfish.tyrus.client.ClientProperties
+
+
Container idle timeout in seconds (Integer value).
+
+
SHARED_CONTAINER_IDLE_TIMEOUT - Static variable in class org.glassfish.tyrus.container.grizzly.client.GrizzlyClientContainer
+
+ +
+
ShortDecoder() - Constructor for class org.glassfish.tyrus.core.coder.PrimitiveDecoders.ShortDecoder
+
 
+
shutdown() - Method in class org.glassfish.tyrus.core.BaseContainer
+
+
Release executor services managed by this instance.
+
+
shutdown() - Method in class org.glassfish.tyrus.core.cluster.ClusterContext
+
+
Shutdown this ClusterContext.
+
+
shutdown(BaseContainer.ShutDownCondition) - Method in class org.glassfish.tyrus.core.BaseContainer
+
+
Release executor services managed by this instance if the condition passed in the parameter is fulfilled.
+
+
size() - Method in class org.glassfish.tyrus.core.uri.internal.AbstractMultivaluedMap
+
 
+
SOCKET_BINDING - Static variable in class org.glassfish.tyrus.client.ClientProperties
+
+
Property name for defining local binding address for all socket created by the client.
+
+
SOCKET_NOT_CONNECTED() - Static method in class org.glassfish.tyrus.core.l10n.LocalizationMessages
+
+
Socket is not connected.
+
+
SSL_ENGINE_CONFIGURATOR - Static variable in class org.glassfish.tyrus.client.ClientManager
+
+
Deprecated. + +
+
+
SSL_ENGINE_CONFIGURATOR - Static variable in class org.glassfish.tyrus.client.ClientProperties
+
+
Property usable in ClientManager.getProperties() as a key for SSL configuration.
+
+
SSL_ENGINE_CONFIGURATOR - Static variable in class org.glassfish.tyrus.container.grizzly.client.GrizzlyClientContainer
+
+
Deprecated. + +
+
+
sslContext - Variable in class org.glassfish.tyrus.client.SslEngineConfigurator
+
 
+
sslContextConfiguration - Variable in class org.glassfish.tyrus.client.SslEngineConfigurator
+
 
+
SslContextConfigurator - Class in org.glassfish.tyrus.client
+
+
Utility class, which helps to configure ssl context.
+
+
SslContextConfigurator() - Constructor for class org.glassfish.tyrus.client.SslContextConfigurator
+
+
Default constructor.
+
+
SslContextConfigurator(boolean) - Constructor for class org.glassfish.tyrus.client.SslContextConfigurator
+
+
Constructor that allows you creating empty configuration.
+
+
SslEngineConfigurator - Class in org.glassfish.tyrus.client
+
+
SSLEngineConfigurator class from Grizzly project.
+
+
SslEngineConfigurator() - Constructor for class org.glassfish.tyrus.client.SslEngineConfigurator
+
+
Default constructor.
+
+
SslEngineConfigurator(SSLContext) - Constructor for class org.glassfish.tyrus.client.SslEngineConfigurator
+
+
Create SSL Engine configuration basing on passed SSLContext.
+
+
SslEngineConfigurator(SSLContext, boolean, boolean, boolean) - Constructor for class org.glassfish.tyrus.client.SslEngineConfigurator
+
+
Create SSL Engine configuration based on passed SSLContext, + using passed client mode, need/want client auth parameters.
+
+
SslEngineConfigurator(SslContextConfigurator) - Constructor for class org.glassfish.tyrus.client.SslEngineConfigurator
+
+
Create SSL Engine configuration based on passed SslContextConfigurator.
+
+
SslEngineConfigurator(SslContextConfigurator, boolean, boolean, boolean) - Constructor for class org.glassfish.tyrus.client.SslEngineConfigurator
+
+
Create SSL Engine configuration basing on passed SslContextConfigurator.
+
+
SslEngineConfigurator(SslEngineConfigurator) - Constructor for class org.glassfish.tyrus.client.SslEngineConfigurator
+
+
Copy constructor.
+
+
start() - Method in class org.glassfish.tyrus.server.Server
+
+
Start the server.
+
+
start(String, int) - Method in class org.glassfish.tyrus.server.TyrusServerContainer
+
+
Start the container.
+
+
start(String, int) - Method in interface org.glassfish.tyrus.spi.ServerContainer
+
+
Start the server.
+
+
STATIC_CONTENT_ROOT - Static variable in class org.glassfish.tyrus.server.Server
+
+
Path to static content to be served by created Server instance.
+
+
stop() - Method in class org.glassfish.tyrus.server.Server
+
+
Stop the server.
+
+
stop() - Method in class org.glassfish.tyrus.server.TyrusServerContainer
+
+
Undeploy all endpoints and stop underlying ServerContainer.
+
+
stop() - Method in interface org.glassfish.tyrus.spi.ServerContainer
+
+
Stop the server.
+
+
store - Variable in class org.glassfish.tyrus.core.uri.internal.AbstractMultivaluedMap
+
+
Backing store for the [key, multi-value] pairs.
+
+
stream(boolean, byte[], int, int) - Method in class org.glassfish.tyrus.core.ProtocolHandler
+
+
Deprecated.
+
+
stream(boolean, byte[], int, int, WriterInfo) - Method in class org.glassfish.tyrus.core.ProtocolHandler
+
 
+
stream(boolean, String) - Method in class org.glassfish.tyrus.core.ProtocolHandler
+
+
Deprecated.
+
+
stream(boolean, String, WriterInfo) - Method in class org.glassfish.tyrus.core.ProtocolHandler
+
 
+
StrictUtf8 - Class in org.glassfish.tyrus.core
+
 
+
StrictUtf8() - Constructor for class org.glassfish.tyrus.core.StrictUtf8
+
 
+
StrictUtf8.Parser - Class in org.glassfish.tyrus.core
+
+
Surrogate parsing support.
+
+
Stringifier() - Constructor for class org.glassfish.tyrus.core.Utils.Stringifier
+
 
+
stringifyUpgradeRequest(UpgradeRequest) - Static method in class org.glassfish.tyrus.core.Utils
+
+
Converts upgrade request to a HTTP-formatted string.
+
+
stringifyUpgradeResponse(UpgradeResponse) - Static method in class org.glassfish.tyrus.core.Utils
+
+
Converts upgrade response to a HTTP-formatted string.
+
+
subprotocols() - Method in annotation type javax.websocket.ClientEndpoint
+
+
The names of the subprotocols this client supports.
+
+
subprotocols() - Method in annotation type javax.websocket.server.ServerEndpoint
+
+
The ordered array of web socket protocols this endpoint supports.
+
+
subprotocols(List<String>) - Method in class javax.websocket.server.ServerEndpointConfig.Builder
+
+
Sets the subprotocols to use in the configuration.
+
+
subprotocols(List<String>) - Method in class org.glassfish.tyrus.core.TyrusServerEndpointConfig.Builder
+
+
Sets the subprotocols to use in the configuration.
+
+
SUCCESS - org.glassfish.tyrus.spi.ClientEngine.ClientUpgradeStatus
+
+
Upgrade process was successful.
+
+
SUCCESS - org.glassfish.tyrus.spi.WebSocketEngine.UpgradeStatus
+
+
Upgrade is successful.
+
+
SUMMARY - org.glassfish.tyrus.core.DebugContext.TracingThreshold
+
+
A less verbose tracing, an equivalent to Level.FINER logging level.
+
+
SUPER - org.glassfish.tyrus.spi.WriterInfo.RemoteEndpointType
+
+
RemoteEndpoint
+
+
+ + + +

T

+
+
t - Variable in class org.glassfish.tyrus.core.ReflectionHelper.ClassTypePair
+
+
The type of the class.
+
+
t - Variable in class org.glassfish.tyrus.core.ReflectionHelper.TypeClassPair
+
 
+
Task() - Constructor for class org.glassfish.tyrus.container.grizzly.client.TaskProcessor.Task
+
 
+
TaskProcessor - Class in org.glassfish.tyrus.container.grizzly.client
+
+
A class responsible for processing TaskProcessor.Task.
+
+
TaskProcessor() - Constructor for class org.glassfish.tyrus.container.grizzly.client.TaskProcessor
+
+
Constructor.
+
+
TaskProcessor(TaskProcessor.Condition) - Constructor for class org.glassfish.tyrus.container.grizzly.client.TaskProcessor
+
+
Constructor.
+
+
TaskProcessor.Condition - Interface in org.glassfish.tyrus.container.grizzly.client
+
+ +
+
TaskProcessor.Task - Class in org.glassfish.tyrus.container.grizzly.client
+
+
Generic task representation.
+
+
TEXT - org.glassfish.tyrus.core.frame.TyrusFrame.FrameType
+
+
Text frame.
+
+
TEXT - org.glassfish.tyrus.spi.WriterInfo.MessageType
+
+
Text type.
+
+
TEXT_CONTINUATION - org.glassfish.tyrus.core.frame.TyrusFrame.FrameType
+
+
Continuation text frame.
+
+
TEXT_CONTINUATION - org.glassfish.tyrus.spi.WriterInfo.MessageType
+
+
Continuation text type.
+
+
TEXT_MESSAGE_HANDLER_NOT_FOUND(Object) - Static method in class org.glassfish.tyrus.core.l10n.LocalizationMessages
+
+
Text message handler not found.
+
+
TEXT_MESSAGE_OUT_OF_ORDER(Object) - Static method in class org.glassfish.tyrus.core.l10n.LocalizationMessages
+
+
Text message received out of order.
+
+
TextFrame - Class in org.glassfish.tyrus.core.frame
+
+
Text frame representation.
+
+
TextFrame(String, boolean, boolean) - Constructor for class org.glassfish.tyrus.core.frame.TextFrame
+
+
Constructor.
+
+
TextFrame(Frame, ByteBuffer) - Constructor for class org.glassfish.tyrus.core.frame.TextFrame
+
+
Constructor.
+
+
TextFrame(Frame, ByteBuffer, boolean) - Constructor for class org.glassfish.tyrus.core.frame.TextFrame
+
+
Constructor.
+
+
ThreadPoolConfig - Class in org.glassfish.tyrus.client
+
+
Client thread pool configuration, which might be used to customize client thread pool.
+
+
TLS_HANDSHAKE_FAILURE - javax.websocket.CloseReason.CloseCodes
+
+
1015 is a reserved value and MUST NOT be set as a status code in a + Close control frame by an endpoint.
+
+
TLS_HANDSHAKE_FAILURE - org.glassfish.tyrus.core.CloseReasons
+
+
1015 is a reserved value and MUST NOT be set as a status code in a + Close control frame by an endpoint.
+
+
toArray() - Method in class org.glassfish.tyrus.core.ServiceFinder
+
+
Returns discovered objects all at once.
+
+
toArray(long) - Static method in class org.glassfish.tyrus.core.Utils
+
+
Convert long to byte[].
+
+
toClassArray() - Method in class org.glassfish.tyrus.core.ServiceFinder
+
+
Returns discovered classes all at once.
+
+
toLong(byte[], int, int) - Static method in class org.glassfish.tyrus.core.Utils
+
+
Convert byte[] to long.
+
+
TOO_BIG - javax.websocket.CloseReason.CloseCodes
+
+
1009 indicates that an endpoint is terminating the connection + because it has received a message that is too big for it to + process.
+
+
TOO_BIG - org.glassfish.tyrus.core.CloseReasons
+
+
1009 indicates that an endpoint is terminating the connection + because it has received a message that is too big for it to + process.
+
+
toString() - Method in class javax.websocket.CloseReason
+
+
Converts the CloseReason to a debug-friendly string.
+
+
toString() - Method in class org.glassfish.tyrus.client.auth.AuthConfig
+
 
+
toString() - Method in class org.glassfish.tyrus.client.auth.Credentials
+
 
+
toString() - Method in class org.glassfish.tyrus.client.SslEngineConfigurator
+
 
+
toString() - Method in class org.glassfish.tyrus.client.ThreadPoolConfig
+
 
+
toString() - Method in class org.glassfish.tyrus.container.grizzly.client.GrizzlyWriter
+
 
+
toString() - Method in enum org.glassfish.tyrus.core.cluster.RemoteSession.DistributedMapKey
+
 
+
toString() - Method in class org.glassfish.tyrus.core.cluster.RemoteSession
+
 
+
toString() - Method in class org.glassfish.tyrus.core.coder.CoderWrapper
+
 
+
toString() - Method in class org.glassfish.tyrus.core.frame.Frame
+
 
+
toString() - Method in class org.glassfish.tyrus.core.frame.TextFrame
+
 
+
toString() - Method in class org.glassfish.tyrus.core.TyrusEndpointWrapper
+
 
+
toString() - Method in class org.glassfish.tyrus.core.TyrusExtension
+
 
+
toString() - Method in class org.glassfish.tyrus.core.TyrusExtension.TyrusParameter
+
 
+
toString() - Method in class org.glassfish.tyrus.core.TyrusRemoteEndpoint
+
 
+
toString() - Method in class org.glassfish.tyrus.core.TyrusSession
+
 
+
toString() - Method in class org.glassfish.tyrus.core.uri.internal.AbstractMultivaluedMap
+
 
+
toString() - Method in class org.glassfish.tyrus.core.uri.internal.PatternWithGroups
+
 
+
toString() - Method in class org.glassfish.tyrus.core.uri.internal.UriTemplate
+
 
+
toString() - Method in class org.glassfish.tyrus.core.uri.Match
+
 
+
toString() - Method in enum org.glassfish.tyrus.core.Version
+
 
+
toString() - Method in class org.glassfish.tyrus.servlet.TyrusHttpUpgradeHandler
+
 
+
toString(byte[]) - Static method in class org.glassfish.tyrus.core.Utils
+
 
+
toString(byte[], int, int) - Static method in class org.glassfish.tyrus.core.Utils
+
 
+
ToStringEncoder - Class in org.glassfish.tyrus.core.coder
+
+
Fall-back encoder - encoders any object to string using Object.toString() method.
+
+
ToStringEncoder() - Constructor for class org.glassfish.tyrus.core.coder.ToStringEncoder
+
 
+
TRACE - org.glassfish.tyrus.core.DebugContext.TracingThreshold
+
+
A more verbose tracing, an equivalent to Level.FINE logging level.
+
+
TRACING_HEADER_PREFIX - Static variable in class org.glassfish.tyrus.spi.UpgradeResponse
+
+
Prefix of headers used for including tracing information into handshake response.
+
+
TRACING_THRESHOLD - Static variable in class org.glassfish.tyrus.core.TyrusWebSocketEngine
+
+
Property used for configuring tracing threshold.
+
+
TRACING_THRESHOLD - Static variable in class org.glassfish.tyrus.spi.UpgradeRequest
+
+
This header allows temporarily changing tracing threshold.
+
+
TRACING_TYPE - Static variable in class org.glassfish.tyrus.core.TyrusWebSocketEngine
+
+
Property used for configuring the type of tracing supported by the server.
+
+
tracingThreshold(DebugContext.TracingThreshold) - Method in class org.glassfish.tyrus.core.TyrusWebSocketEngine.TyrusWebSocketEngineBuilder
+
+
Set tracing threshold.
+
+
tracingType(DebugContext.TracingType) - Method in class org.glassfish.tyrus.core.TyrusWebSocketEngine.TyrusWebSocketEngineBuilder
+
+
Set type of tracing.
+
+
TRUST_FACTORY_MANAGER_ALGORITHM - Static variable in class org.glassfish.tyrus.client.SslContextConfigurator
+
+
Trust manager factory algorithm name.
+
+
TRUST_STORE_FILE - Static variable in class org.glassfish.tyrus.client.SslContextConfigurator
+
+
Trust store file name.
+
+
TRUST_STORE_PASSWORD - Static variable in class org.glassfish.tyrus.client.SslContextConfigurator
+
+
Trust store file password - the password used to unlock the trust store file.
+
+
TRUST_STORE_PROVIDER - Static variable in class org.glassfish.tyrus.client.SslContextConfigurator
+
+
Trust store provider name.
+
+
TRUST_STORE_TYPE - Static variable in class org.glassfish.tyrus.client.SslContextConfigurator
+
+
Trust store type (see KeyStore.getType() for more info).
+
+
TRY_AGAIN_LATER - javax.websocket.CloseReason.CloseCodes
+
+
1013 indicates that the service is experiencing overload
+
+
TRY_AGAIN_LATER - org.glassfish.tyrus.core.CloseReasons
+
+
1013 indicates that the service is experiencing overload
+
+
TypeClassPair(Type, Class) - Constructor for class org.glassfish.tyrus.core.ReflectionHelper.TypeClassPair
+
 
+
TyrusClientEngine - Class in org.glassfish.tyrus.client
+
+
Tyrus ClientEngine implementation.
+
+
TyrusClientEngine.ClientHandshakeListener - Interface in org.glassfish.tyrus.client
+
+
Called when response is received from the server.
+
+
TyrusEndpointWrapper - Class in org.glassfish.tyrus.core
+
+
Wraps the registered application class.
+
+
TyrusEndpointWrapper(Class<? extends Endpoint>, EndpointConfig, ComponentProviderService, WebSocketContainer, String, ServerEndpointConfig.Configurator, TyrusEndpointWrapper.SessionListener, ClusterContext, EndpointEventListener, Boolean) - Constructor for class org.glassfish.tyrus.core.TyrusEndpointWrapper
+
+
Create TyrusEndpointWrapper for class that extends Endpoint.
+
+
TyrusEndpointWrapper(Endpoint, EndpointConfig, ComponentProviderService, WebSocketContainer, String, ServerEndpointConfig.Configurator, TyrusEndpointWrapper.SessionListener, ClusterContext, EndpointEventListener, Boolean) - Constructor for class org.glassfish.tyrus.core.TyrusEndpointWrapper
+
+
Create TyrusEndpointWrapper for Endpoint instance or AnnotatedEndpoint instance.
+
+
TyrusEndpointWrapper.SessionListener - Class in org.glassfish.tyrus.core
+
+
Session listener.
+
+
TyrusEndpointWrapper.SessionListener.OnOpenResult - Enum in org.glassfish.tyrus.core
+
+ +
+
TyrusExtension - Class in org.glassfish.tyrus.core
+
+
WebSocket Extension implementation.
+
+
TyrusExtension(String) - Constructor for class org.glassfish.tyrus.core.TyrusExtension
+
+
Create Extension with specific name.
+
+
TyrusExtension(String, List<Extension.Parameter>) - Constructor for class org.glassfish.tyrus.core.TyrusExtension
+
+
Create Extension with name and parameters.
+
+
TyrusExtension.TyrusParameter - Class in org.glassfish.tyrus.core
+
+
WebSocket Extension.Parameter implementation.
+
+
TyrusFrame - Class in org.glassfish.tyrus.core.frame
+
+
Frame representation used in Tyrus runtime.
+
+
TyrusFrame(Frame, TyrusFrame.FrameType) - Constructor for class org.glassfish.tyrus.core.frame.TyrusFrame
+
+
Constructor.
+
+
TyrusFrame.FrameType - Enum in org.glassfish.tyrus.core.frame
+
+
An Enumeration of frame types.
+
+
TyrusFuture<T> - Class in org.glassfish.tyrus.core
+
+
Simple Future implementation.
+
+
TyrusFuture() - Constructor for class org.glassfish.tyrus.core.TyrusFuture
+
 
+
TyrusHttpUpgradeHandler - Class in org.glassfish.tyrus.servlet
+
+
HttpUpgradeHandler and ReadListener implementation.
+
+
TyrusHttpUpgradeHandler() - Constructor for class org.glassfish.tyrus.servlet.TyrusHttpUpgradeHandler
+
 
+
TyrusParameter(String, String) - Constructor for class org.glassfish.tyrus.core.TyrusExtension.TyrusParameter
+
+
Create Extension.Parameter with name and value.
+
+
TyrusRemoteEndpoint - Class in org.glassfish.tyrus.core
+
+
Wraps the RemoteEndpoint and represents the other side of the websocket connection.
+
+
TyrusServerConfiguration - Class in org.glassfish.tyrus.server
+
+
Container for either deployed ServerApplicationConfigs, if any, or deployed classes.
+
+
TyrusServerConfiguration(Set<Class<?>>, Set<Class<?>>, Set<ServerEndpointConfig>, ErrorCollector) - Constructor for class org.glassfish.tyrus.server.TyrusServerConfiguration
+
+ +
+
TyrusServerConfiguration(Set<Class<?>>, Set<ServerEndpointConfig>) - Constructor for class org.glassfish.tyrus.server.TyrusServerConfiguration
+
+ +
+
TyrusServerContainer - Class in org.glassfish.tyrus.server
+
+
Server Container Implementation.
+
+
TyrusServerContainer(Set<Class<?>>) - Constructor for class org.glassfish.tyrus.server.TyrusServerContainer
+
+ +
+
TyrusServerContainer(ServerApplicationConfig) - Constructor for class org.glassfish.tyrus.server.TyrusServerContainer
+
+
Create new TyrusServerContainer using already created ServerApplicationConfig instance.
+
+
TyrusServerEndpointConfig - Interface in org.glassfish.tyrus.core
+
+
Configuration ServerEndpointConfig enhanced + to offer tyrus specific attributes like maxSessions.
+
+
TyrusServerEndpointConfig.Builder - Class in org.glassfish.tyrus.core
+
+
The TyrusServerEndpointConfig.Builder is a class used for creating + TyrusServerEndpointConfig.Builder objects for the purposes of + deploying a server endpoint.
+
+
TyrusServerEndpointConfigurator - Class in org.glassfish.tyrus.core
+
+
Tyrus' implementation of ServerEndpointConfig.Configurator.
+
+
TyrusServerEndpointConfigurator() - Constructor for class org.glassfish.tyrus.core.TyrusServerEndpointConfigurator
+
 
+
TyrusServletContainerInitializer - Class in org.glassfish.tyrus.servlet
+
+
Registers a filter for upgrade handshake.
+
+
TyrusServletContainerInitializer() - Constructor for class org.glassfish.tyrus.servlet.TyrusServletContainerInitializer
+
 
+
TyrusSession - Class in org.glassfish.tyrus.core
+
+
Implementation of the Session.
+
+
TyrusUpgradeResponse - Class in org.glassfish.tyrus.core
+
+
HTTP response representation.
+
+
TyrusUpgradeResponse() - Constructor for class org.glassfish.tyrus.core.TyrusUpgradeResponse
+
 
+
TyrusWebSocket - Class in org.glassfish.tyrus.core
+
+
Tyrus representation of web socket connection.
+
+
TyrusWebSocket(ProtocolHandler, TyrusEndpointWrapper) - Constructor for class org.glassfish.tyrus.core.TyrusWebSocket
+
+
Create new instance, set ProtocolHandler and register TyrusEndpointWrapper.
+
+
TyrusWebSocketEngine - Class in org.glassfish.tyrus.core
+
+
WebSocketEngine implementation, which handles server-side handshake, validation and data processing.
+
+
TyrusWebSocketEngine.TyrusWebSocketEngineBuilder - Class in org.glassfish.tyrus.core
+
+ +
+
+ + + +

U

+
+
UNEXPECTED_CONDITION - javax.websocket.CloseReason.CloseCodes
+
+
1011 indicates that a server is terminating the connection because + it encountered an unexpected condition that prevented it from + fulfilling the request.
+
+
UNEXPECTED_CONDITION - org.glassfish.tyrus.core.CloseReasons
+
+
1011 indicates that a server is terminating the connection because + it encountered an unexpected condition that prevented it from + fulfilling the request.
+
+
UNEXPECTED_END_FRAGMENT() - Static method in class org.glassfish.tyrus.core.l10n.LocalizationMessages
+
+
End fragment sent, but wasn''t processing any previous fragments.
+
+
UNEXPECTED_ERROR_CONNECTION_CLOSE() - Static method in class org.glassfish.tyrus.core.l10n.LocalizationMessages
+
+
Unexpected error, closing connection.
+
+
UNEXPECTED_STATE(Object) - Static method in class org.glassfish.tyrus.core.l10n.LocalizationMessages
+
+
Unexpected state: {0}.
+
+
unframe(ByteBuffer) - Method in class org.glassfish.tyrus.core.ProtocolHandler
+
+
TODO!
+
+
UNHANDLED_TEXT_MESSAGE(Object) - Static method in class org.glassfish.tyrus.core.l10n.LocalizationMessages
+
+
Unhandled text message.
+
+
unregister(TyrusEndpointWrapper) - Method in class org.glassfish.tyrus.core.TyrusWebSocketEngine
+
+
Un-registers the specified TyrusEndpointWrapper with the WebSocketEngine.
+
+
UNRESERVED - org.glassfish.tyrus.core.uri.internal.UriComponent.Type
+
+
ALPHA / DIGIT / "-" / "." / "_" / "~" characters.
+
+
updated(E) - Method in class org.glassfish.tyrus.spi.CompletionHandler
+
+
The callback method may be called, when there is some progress in + operation execution, but it is still not completed.
+
+
updateHostAndOrigin(UpgradeRequest) - Static method in class org.glassfish.tyrus.core.Handshake
+
+
Client side only - Generate host and origin header and put them to the upgrade request headers.
+
+
upgrade(UpgradeRequest, UpgradeResponse) - Method in class org.glassfish.tyrus.core.TyrusWebSocketEngine
+
 
+
upgrade(UpgradeRequest, UpgradeResponse) - Method in interface org.glassfish.tyrus.spi.WebSocketEngine
+
+
A transport calls this method to upgrade a HTTP request.
+
+
UPGRADE - Static variable in class org.glassfish.tyrus.spi.UpgradeRequest
+
+
HTTP "Upgrade" header name and "Connection" header expected value.
+
+
UPGRADE_REQUEST_FAILED - org.glassfish.tyrus.spi.ClientEngine.ClientUpgradeStatus
+
+
Upgrade process failed.
+
+
UpgradeRequest - Class in org.glassfish.tyrus.spi
+
+
Abstraction for a HTTP upgrade request.
+
+
UpgradeRequest() - Constructor for class org.glassfish.tyrus.spi.UpgradeRequest
+
 
+
UpgradeResponse - Class in org.glassfish.tyrus.spi
+
+
Abstraction for a HTTP upgrade response.
+
+
UpgradeResponse() - Constructor for class org.glassfish.tyrus.spi.UpgradeResponse
+
 
+
URI_COMPONENT_ENCODED_OCTET_INVALID_DIGIT(Object, Object) - Static method in class org.glassfish.tyrus.core.l10n.LocalizationMessages
+
+
Malformed percent-encoded octet at index {0}, invalid hexadecimal digit ''{1}''.
+
+
URI_COMPONENT_ENCODED_OCTET_MALFORMED(Object) - Static method in class org.glassfish.tyrus.core.l10n.LocalizationMessages
+
+
Malformed percent-encoded octet at index {0}.
+
+
URI_COMPONENT_INVALID_CHARACTER(Object, Object, Object, Object) - Static method in class org.glassfish.tyrus.core.l10n.LocalizationMessages
+
+
The string "{0}" for the URI component {1} contains an invalid character, ''{2}'', at index {3}.
+
+
UriComponent - Class in org.glassfish.tyrus.core.uri.internal
+
+
Utility class for validating, encoding and decoding components + of a URI.
+
+
UriComponent.Type - Enum in org.glassfish.tyrus.core.uri.internal
+
+
The URI component type.
+
+
UriTemplate - Class in org.glassfish.tyrus.core.uri.internal
+
+
A URI template.
+
+
UriTemplate(String) - Constructor for class org.glassfish.tyrus.core.uri.internal.UriTemplate
+
+
Construct a new URI template.
+
+
UriTemplate(UriTemplateParser) - Constructor for class org.glassfish.tyrus.core.uri.internal.UriTemplate
+
+
Construct a new URI template.
+
+
UriTemplateParser - Class in org.glassfish.tyrus.core.uri.internal
+
+
A URI template parser that parses JAX-RS specific URI templates.
+
+
UriTemplateParser(String) - Constructor for class org.glassfish.tyrus.core.uri.internal.UriTemplateParser
+
+
Parse a template.
+
+
USER_INFO - org.glassfish.tyrus.core.uri.internal.UriComponent.Type
+
+
The URI user info component type.
+
+
USER_PRINCIPAL - org.glassfish.tyrus.core.cluster.RemoteSession.DistributedMapKey
+
+
User principal.
+
+
userPrincipal(Principal) - Method in class org.glassfish.tyrus.core.RequestContext.Builder
+
+
Set Principal.
+
+
Utf8DecodingException - Exception in org.glassfish.tyrus.core
+
+
TODO
+
+
Utf8DecodingException() - Constructor for exception org.glassfish.tyrus.core.Utf8DecodingException
+
+
TODO
+
+
Utils - Class in org.glassfish.tyrus.core
+
+
Utility methods shared among Tyrus modules.
+
+
Utils() - Constructor for class org.glassfish.tyrus.core.Utils
+
 
+
Utils.Stringifier<T> - Class in org.glassfish.tyrus.core
+
+
Define to String conversion for various types.
+
+
+ + + +

V

+
+
valid(String, UriComponent.Type) - Static method in class org.glassfish.tyrus.core.uri.internal.UriComponent
+
+
Validates the legal characters of a percent-encoded string that represents a URI component type.
+
+
valid(String, UriComponent.Type, boolean) - Static method in class org.glassfish.tyrus.core.uri.internal.UriComponent
+
+
Validates the legal characters of a percent-encoded string that represents a URI component type.
+
+
validate(String, UriComponent.Type) - Static method in class org.glassfish.tyrus.core.uri.internal.UriComponent
+
+
Validates the legal characters of a percent-encoded string that represents a URI component type.
+
+
validate(String, UriComponent.Type, boolean) - Static method in class org.glassfish.tyrus.core.uri.internal.UriComponent
+
+
Validates the legal characters of a percent-encoded string that represents a URI component type.
+
+
validate(UpgradeRequest) - Method in enum org.glassfish.tyrus.core.Version
+
 
+
validateConfiguration() - Method in class org.glassfish.tyrus.client.SslContextConfigurator
+
+
Validates SslContextConfigurator configuration.
+
+
validateConfiguration(boolean) - Method in class org.glassfish.tyrus.client.SslContextConfigurator
+
+
Validates SslContextConfigurator configuration.
+
+
validateServerResponse(UpgradeResponse) - Method in class org.glassfish.tyrus.core.Handshake
+
+
Client side only - validate server response.
+
+
value() - Method in annotation type javax.websocket.server.PathParam
+
+
The name of the variable used in the URI-template.
+
+
value() - Method in annotation type javax.websocket.server.ServerEndpoint
+
+
The URI or URI-template, level-1 (See RFC 6570) where the endpoint will be deployed.
+
+
value() - Method in annotation type org.glassfish.tyrus.core.MaxSessions
+
+
Maximal number of open sessions.
+
+
Value<T> - Interface in org.glassfish.tyrus.core.collection
+
+
A generic value provider.
+
+
valueOf(String) - Static method in enum javax.websocket.CloseReason.CloseCodes
+
+
Returns the enum constant of this type with the specified name.
+
+
valueOf(String) - Static method in enum org.glassfish.tyrus.core.CloseReasons
+
+
Returns the enum constant of this type with the specified name.
+
+
valueOf(String) - Static method in enum org.glassfish.tyrus.core.cluster.RemoteSession.DistributedMapKey
+
+
Returns the enum constant of this type with the specified name.
+
+
valueOf(String) - Static method in enum org.glassfish.tyrus.core.DebugContext.TracingThreshold
+
+
Returns the enum constant of this type with the specified name.
+
+
valueOf(String) - Static method in enum org.glassfish.tyrus.core.DebugContext.TracingType
+
+
Returns the enum constant of this type with the specified name.
+
+
valueOf(String) - Static method in enum org.glassfish.tyrus.core.DebugContext.Type
+
+
Returns the enum constant of this type with the specified name.
+
+
valueOf(String) - Static method in enum org.glassfish.tyrus.core.frame.TyrusFrame.FrameType
+
+
Returns the enum constant of this type with the specified name.
+
+
valueOf(String) - Static method in enum org.glassfish.tyrus.core.TyrusEndpointWrapper.SessionListener.OnOpenResult
+
+
Returns the enum constant of this type with the specified name.
+
+
valueOf(String) - Static method in enum org.glassfish.tyrus.core.uri.internal.PathPattern.RightHandPath
+
+
Returns the enum constant of this type with the specified name.
+
+
valueOf(String) - Static method in enum org.glassfish.tyrus.core.uri.internal.UriComponent.Type
+
+
Returns the enum constant of this type with the specified name.
+
+
valueOf(String) - Static method in enum org.glassfish.tyrus.core.Version
+
+
Returns the enum constant of this type with the specified name.
+
+
valueOf(String) - Static method in enum org.glassfish.tyrus.spi.ClientEngine.ClientUpgradeStatus
+
+
Returns the enum constant of this type with the specified name.
+
+
valueOf(String) - Static method in enum org.glassfish.tyrus.spi.WebSocketEngine.UpgradeStatus
+
+
Returns the enum constant of this type with the specified name.
+
+
valueOf(String) - Static method in enum org.glassfish.tyrus.spi.WriterInfo.MessageType
+
+
Returns the enum constant of this type with the specified name.
+
+
valueOf(String) - Static method in enum org.glassfish.tyrus.spi.WriterInfo.RemoteEndpointType
+
+
Returns the enum constant of this type with the specified name.
+
+
values() - Static method in enum javax.websocket.CloseReason.CloseCodes
+
+
Returns an array containing the constants of this enum type, in +the order they are declared.
+
+
values() - Static method in enum org.glassfish.tyrus.core.CloseReasons
+
+
Returns an array containing the constants of this enum type, in +the order they are declared.
+
+
values() - Static method in enum org.glassfish.tyrus.core.cluster.RemoteSession.DistributedMapKey
+
+
Returns an array containing the constants of this enum type, in +the order they are declared.
+
+
values() - Static method in enum org.glassfish.tyrus.core.DebugContext.TracingThreshold
+
+
Returns an array containing the constants of this enum type, in +the order they are declared.
+
+
values() - Static method in enum org.glassfish.tyrus.core.DebugContext.TracingType
+
+
Returns an array containing the constants of this enum type, in +the order they are declared.
+
+
values() - Static method in enum org.glassfish.tyrus.core.DebugContext.Type
+
+
Returns an array containing the constants of this enum type, in +the order they are declared.
+
+
values() - Static method in enum org.glassfish.tyrus.core.frame.TyrusFrame.FrameType
+
+
Returns an array containing the constants of this enum type, in +the order they are declared.
+
+
values() - Static method in enum org.glassfish.tyrus.core.TyrusEndpointWrapper.SessionListener.OnOpenResult
+
+
Returns an array containing the constants of this enum type, in +the order they are declared.
+
+
values() - Method in class org.glassfish.tyrus.core.uri.internal.AbstractMultivaluedMap
+
 
+
values() - Static method in enum org.glassfish.tyrus.core.uri.internal.PathPattern.RightHandPath
+
+
Returns an array containing the constants of this enum type, in +the order they are declared.
+
+
values() - Static method in enum org.glassfish.tyrus.core.uri.internal.UriComponent.Type
+
+
Returns an array containing the constants of this enum type, in +the order they are declared.
+
+
values() - Static method in enum org.glassfish.tyrus.core.Version
+
+
Returns an array containing the constants of this enum type, in +the order they are declared.
+
+
values() - Static method in enum org.glassfish.tyrus.spi.ClientEngine.ClientUpgradeStatus
+
+
Returns an array containing the constants of this enum type, in +the order they are declared.
+
+
values() - Static method in enum org.glassfish.tyrus.spi.WebSocketEngine.UpgradeStatus
+
+
Returns an array containing the constants of this enum type, in +the order they are declared.
+
+
values() - Static method in enum org.glassfish.tyrus.spi.WriterInfo.MessageType
+
+
Returns an array containing the constants of this enum type, in +the order they are declared.
+
+
values() - Static method in enum org.glassfish.tyrus.spi.WriterInfo.RemoteEndpointType
+
+
Returns an array containing the constants of this enum type, in +the order they are declared.
+
+
Values - Class in org.glassfish.tyrus.core.collection
+
+
A collection of Value provider factory & utility methods.
+
+
Version - Enum in org.glassfish.tyrus.core
+
+
TODO
+
+
VIOLATED_POLICY - javax.websocket.CloseReason.CloseCodes
+
+
1008 indicates that an endpoint is terminating the connection + because it has received a message that violates its policy.
+
+
VIOLATED_POLICY - org.glassfish.tyrus.core.CloseReasons
+
+
1008 indicates that an endpoint is terminating the connection + because it has received a message that violates its policy.
+
+
+ + + +

W

+
+
wantClientAuth - Variable in class org.glassfish.tyrus.client.SslEngineConfigurator
+
+
True when requesting authentication.
+
+
WEBSOCKET - Static variable in class org.glassfish.tyrus.spi.UpgradeRequest
+
+
Expected value in HTTP handshake "Upgrade" header.
+
+
WebSocketAddOn - Class in org.glassfish.tyrus.container.grizzly.server
+
+
WebSockets AddOn for the HttpServer.
+
+
WebSocketContainer - Interface in javax.websocket
+
+
A WebSocketContainer is an implementation provided object that provides applications + a view on the container running it.
+
+
WebSocketEngine - Interface in org.glassfish.tyrus.spi
+
+
WebSocket engine is used for upgrading HTTP requests into websocket connections.
+
+
WebSocketEngine.UpgradeInfo - Interface in org.glassfish.tyrus.spi
+
+
Upgrade info that includes status for HTTP request upgrading and connection creation details.
+
+
WebSocketEngine.UpgradeStatus - Enum in org.glassfish.tyrus.spi
+
+
Upgrade Status for HTTP request upgrading.
+
+
WebSocketException - Exception in org.glassfish.tyrus.core
+
+
WebSocketException can be thrown during runtime (after handshake).
+
+
WebSocketException(String) - Constructor for exception org.glassfish.tyrus.core.WebSocketException
+
+
Create new WebSocketException.
+
+
willDecode(String) - Method in interface javax.websocket.Decoder.Text
+
+
Answer whether the given String can be decoded into an object of type T.
+
+
willDecode(String) - Method in class org.glassfish.tyrus.core.coder.NoOpTextCoder
+
 
+
willDecode(String) - Method in class org.glassfish.tyrus.core.coder.PrimitiveDecoders
+
 
+
willDecode(String) - Method in class org.glassfish.tyrus.core.coder.ReaderDecoder
+
 
+
willDecode(ByteBuffer) - Method in interface javax.websocket.Decoder.Binary
+
+
Answer whether the given bytes can be decoded into an object of type T.
+
+
willDecode(ByteBuffer) - Method in class org.glassfish.tyrus.core.coder.InputStreamDecoder
+
 
+
willDecode(ByteBuffer) - Method in class org.glassfish.tyrus.core.coder.NoOpByteArrayCoder
+
 
+
willDecode(ByteBuffer) - Method in class org.glassfish.tyrus.core.coder.NoOpByteBufferCoder
+
 
+
WLS_HOSTNAME_VERIFIER_CLASS - Static variable in class org.glassfish.tyrus.client.ClientManager
+
 
+
WLS_IGNORE_HOSTNAME_VERIFICATION - Static variable in class org.glassfish.tyrus.client.ClientManager
+
 
+
WLS_INCOMING_BUFFER_SIZE - Static variable in interface org.glassfish.tyrus.spi.ClientContainer
+
+
WLS version of INCOMING_BUFFER_SIZE.
+
+
WLS_MAX_THREADS - Static variable in class org.glassfish.tyrus.client.ClientManager
+
 
+
WLS_PROXY_HOST - Static variable in class org.glassfish.tyrus.client.ClientManager
+
 
+
WLS_PROXY_PASSWORD - Static variable in class org.glassfish.tyrus.client.ClientManager
+
 
+
WLS_PROXY_PORT - Static variable in class org.glassfish.tyrus.client.ClientManager
+
 
+
WLS_PROXY_USERNAME - Static variable in class org.glassfish.tyrus.client.ClientManager
+
 
+
WLS_SSL_PROTOCOLS_PROPERTY - Static variable in class org.glassfish.tyrus.client.ClientManager
+
 
+
WLS_SSL_TRUSTSTORE_PROPERTY - Static variable in class org.glassfish.tyrus.client.ClientManager
+
 
+
WLS_SSL_TRUSTSTORE_PWD_PROPERTY - Static variable in class org.glassfish.tyrus.client.ClientManager
+
 
+
WORKER_THREAD_POOL_CONFIG - Static variable in class org.glassfish.tyrus.client.ClientProperties
+
+
User property to set worker thread pool configuration.
+
+
WORKER_THREAD_POOL_CONFIG - Static variable in class org.glassfish.tyrus.container.grizzly.client.GrizzlyClientProperties
+
+
Client-side property to set custom worker ThreadPoolConfig.
+
+
WORKER_THREAD_POOL_CONFIG - Static variable in class org.glassfish.tyrus.container.grizzly.client.GrizzlyClientSocket
+
+ +
+
WORKER_THREAD_POOL_CONFIG - Static variable in class org.glassfish.tyrus.container.grizzly.server.GrizzlyServerContainer
+
+
Server-side property to set custom worker ThreadPoolConfig.
+
+
wrap(Frame, byte, ByteBuffer) - Static method in class org.glassfish.tyrus.core.frame.TyrusFrame
+
+
TyrusFrame factory method.
+
+
write(ByteBuffer, CompletionHandler<ByteBuffer>) - Method in class org.glassfish.tyrus.container.grizzly.client.GrizzlyWriter
+
 
+
write(ByteBuffer, CompletionHandler<ByteBuffer>) - Method in class org.glassfish.tyrus.spi.Writer
+
+
+ A backward compatible method called from Writer.write(ByteBuffer, CompletionHandler, WriterInfo) + to handover the data for a connection + to the transport.
+
+
write(ByteBuffer, CompletionHandler<ByteBuffer>, WriterInfo) - Method in class org.glassfish.tyrus.spi.Writer
+
+
Tyrus runtime calls this method to handover the data for a connection + to the transport.
+
+
Writer - Class in org.glassfish.tyrus.spi
+
+
Writer class that is used by tyrus runtime to pass outbound websocket data + for a connection to a transport.
+
+
Writer() - Constructor for class org.glassfish.tyrus.spi.Writer
+
 
+
WriterInfo - Class in org.glassfish.tyrus.spi
+
+
Additional data for the transport.
+
+
WriterInfo(WriterInfo.MessageType, WriterInfo.RemoteEndpointType) - Constructor for class org.glassfish.tyrus.spi.WriterInfo
+
+
Create new WriterData instance
+
+
WriterInfo.MessageType - Enum in org.glassfish.tyrus.spi
+
+
Possible WebSocket Message Types.
+
+
WriterInfo.RemoteEndpointType - Enum in org.glassfish.tyrus.spi
+
 
+
WSADL_SUPPORT - Static variable in class org.glassfish.tyrus.core.TyrusWebSocketEngine
+
+
Wsadl support.
+
+
WWW_AUTHENTICATE - Static variable in class org.glassfish.tyrus.spi.UpgradeResponse
+
+
Header containing challenge with authentication scheme and parameters.
+
+
+A B C D E F G H I J K L M N O P Q R S T U V W 
All Classes All Packages
+
+
+ +

Copyright © 2012–2022 Oracle Corporation. All rights reserved.

+
+ + diff --git a/apidocs/1.19/index.html b/apidocs/1.19/index.html new file mode 100644 index 00000000..e1a65d5d --- /dev/null +++ b/apidocs/1.19/index.html @@ -0,0 +1,289 @@ + + + + + +Overview (Tyrus 1.19 API) + + + + + + + + + + + + + + + +
+ +
+
+

Tyrus 1.19 API Documentation

+
+
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Packages 
PackageDescription
javax.websocket +
This package contains all the WebSocket APIs common to both the client + and server side.
+
javax.websocket.server +
This package contains all the WebSocket APIs used only by server side + applications.
+
org.glassfish.tyrus.client +
Common Client.
+
org.glassfish.tyrus.client.auth 
org.glassfish.tyrus.container.grizzly.client +
Grizzly Client container.
+
org.glassfish.tyrus.container.grizzly.server +
Grizzly Server container.
+
org.glassfish.tyrus.core +
Core classes.
+
org.glassfish.tyrus.core.cluster +
Cluster relates classes and interfaces.
+
org.glassfish.tyrus.core.coder +
Encoder and decoder adapters and built-in implementations.
+
org.glassfish.tyrus.core.collection 
org.glassfish.tyrus.core.extension +
WebSocket Extension support.
+
org.glassfish.tyrus.core.frame +
WebSocket frame representations.
+
org.glassfish.tyrus.core.l10n +
Common internal localization utility classes.
+
org.glassfish.tyrus.core.monitoring +
Monitoring interfaces.
+
org.glassfish.tyrus.core.uri +
URI matching.
+
org.glassfish.tyrus.core.uri.internal +
Common classes that provide support for URI templates, + encoding/decoding of URI components and multivalued collections.
+
org.glassfish.tyrus.core.wsadl.model 
org.glassfish.tyrus.gf.cdi +
Tyrus CDI integration with Glassfish (and possibly other compatible containers).
+
org.glassfish.tyrus.gf.ejb +
Tyrus EJB integration with Glassfish (and possibly other compatible containers).
+
org.glassfish.tyrus.server +
Server implementation.
+
org.glassfish.tyrus.servlet +
Servlet 3.1 integration.
+
org.glassfish.tyrus.spi +
Tyrus SPI.
+
+
+
+
+ +

Copyright © 2012–2022 Oracle Corporation. All rights reserved.

+
+ + diff --git a/apidocs/1.19/javadoc.sh b/apidocs/1.19/javadoc.sh new file mode 100755 index 00000000..1f01d1d2 --- /dev/null +++ b/apidocs/1.19/javadoc.sh @@ -0,0 +1 @@ +/opt/tools/java/openjdk/jdk-11/latest/bin/javadoc -J-Xmx512m -J-Xms128m @options @packages \ No newline at end of file diff --git a/apidocs/1.19/javax/websocket/ClientEndpoint.html b/apidocs/1.19/javax/websocket/ClientEndpoint.html new file mode 100644 index 00000000..610b9a7e --- /dev/null +++ b/apidocs/1.19/javax/websocket/ClientEndpoint.html @@ -0,0 +1,373 @@ + + + + + +ClientEndpoint (Tyrus 1.19 API) + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +

Annotation Type ClientEndpoint

+
+
+
+
    +
  • +
    +
    @Retention(RUNTIME)
    +@Target(TYPE)
    +public @interface ClientEndpoint
    +
    The ClientEndpoint annotation a class level annotation is used to denote that a POJO + is a web socket client and can be deployed as such. Similar to + ServerEndpoint, POJOs that are + annotated with this annotation can have methods that, using the web socket method level annotations, + are web socket lifecycle methods. +

    + For example: +

    
    + @ClientEndpoint(subprotocols="chat")
    + public class HelloServer {
    +
    +     @OnMessage
    +     public void processMessageFromServer(String message, Session session) {
    +         System.out.println("Message came from the server ! " + message);
    +     }
    +
    + }
    + 
    +
    +
    Author:
    +
    dannycoward
    +
    +
  • +
+
+
+
    +
  • + +
    +
      +
    • + + +

      Optional Element Summary

      + + + + + + + + + + + + + + + + + + + + + + + + + + + +
      Optional Elements 
      Modifier and TypeOptional ElementDescription
      java.lang.Class<? extends ClientEndpointConfig.Configurator>configurator +
      An optional custom configurator class that the developer would like to use + to provide custom configuration of new instances of this endpoint.
      +
      java.lang.Class<? extends Decoder>[]decoders +
      The array of Java classes that are to act as Decoders for messages coming into + the client.
      +
      java.lang.Class<? extends Encoder>[]encoders +
      The array of Java classes that are to act as Encoders for messages sent by the client.
      +
      java.lang.String[]subprotocols +
      The names of the subprotocols this client supports.
      +
      +
    • +
    +
    +
  • +
+
+
+
    +
  • + +
    +
      +
    • + + +

      Element Detail

      + + + +
        +
      • +

        subprotocols

        +
        java.lang.String[] subprotocols
        +
        The names of the subprotocols this client supports.
        +
        +
        Returns:
        +
        the array of names of the subprotocols.
        +
        +
        +
        Default:
        +
        {}
        +
        +
      • +
      +
    • +
    +
    +
    +
      +
    • + + +
        +
      • +

        decoders

        +
        java.lang.Class<? extends Decoder>[] decoders
        +
        The array of Java classes that are to act as Decoders for messages coming into + the client.
        +
        +
        Returns:
        +
        the array of decoders.
        +
        +
        +
        Default:
        +
        {}
        +
        +
      • +
      +
    • +
    +
    +
    +
      +
    • + + +
        +
      • +

        encoders

        +
        java.lang.Class<? extends Encoder>[] encoders
        +
        The array of Java classes that are to act as Encoders for messages sent by the client.
        +
        +
        Returns:
        +
        the array of decoders.
        +
        +
        +
        Default:
        +
        {}
        +
        +
      • +
      +
    • +
    +
    +
    +
      +
    • + + +
        +
      • +

        configurator

        +
        java.lang.Class<? extends ClientEndpointConfig.Configurator> configurator
        +
        An optional custom configurator class that the developer would like to use + to provide custom configuration of new instances of this endpoint. The implementation + creates a new instance of the configurator per logical endpoint.
        +
        +
        Returns:
        +
        the custom configurator class, or ClientEndpointConfigurator.class + if none was provided in the annotation.
        +
        +
        +
        Default:
        +
        javax.websocket.ClientEndpointConfig.Configurator.class
        +
        +
      • +
      +
    • +
    +
    +
  • +
+
+
+
+ + + + diff --git a/apidocs/1.19/javax/websocket/ClientEndpointConfig.Builder.html b/apidocs/1.19/javax/websocket/ClientEndpointConfig.Builder.html new file mode 100644 index 00000000..671d3e87 --- /dev/null +++ b/apidocs/1.19/javax/websocket/ClientEndpointConfig.Builder.html @@ -0,0 +1,443 @@ + + + + + +ClientEndpointConfig.Builder (Tyrus 1.19 API) + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +

Class ClientEndpointConfig.Builder

+
+
+
    +
  • java.lang.Object
  • +
  • +
      +
    • javax.websocket.ClientEndpointConfig.Builder
    • +
    +
  • +
+
+
    +
  • +
    +
    Enclosing interface:
    +
    ClientEndpointConfig
    +
    +
    +
    public static final class ClientEndpointConfig.Builder
    +extends java.lang.Object
    +
    The ClientEndpointConfig.Builder is a class used for creating + ClientEndpointConfig objects for the purposes of + deploying a client endpoint. + Here are some examples: + Building a plain configuration with no encoders, decoders, subprotocols or extensions. + + ClientEndpointConfig cec = ClientEndpointConfig.Builder.create().build(); + + + Building a configuration with no subprotocols and a custom configurator. +
    
    + ClientEndpointConfig customCec = ClientEndpointConfig.Builder.create()
    +         .preferredSubprotocols(mySubprotocols)
    +         .configurator(new MyClientConfigurator())
    +         .build();
    + 
    +
    +
    Author:
    +
    dannycoward
    +
    +
  • +
+
+
+ +
+
+
    +
  • + +
    +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        create

        +
        public static ClientEndpointConfig.Builder create()
        +
        Creates a new builder object with no subprotocols, extensions, encoders, + decoders and a null configurator.
        +
        +
        Returns:
        +
        a new builder object.
        +
        +
      • +
      + + + +
        +
      • +

        build

        +
        public ClientEndpointConfig build()
        +
        Builds a configuration object using the attributes set + on this builder.
        +
        +
        Returns:
        +
        a new configuration object.
        +
        +
      • +
      + + + +
        +
      • +

        configurator

        +
        public ClientEndpointConfig.Builder configurator​(ClientEndpointConfig.Configurator clientEndpointConfigurator)
        +
        Sets the configurator object for the configuration this builder will build.
        +
        +
        Parameters:
        +
        clientEndpointConfigurator - the configurator
        +
        Returns:
        +
        the builder instance
        +
        +
      • +
      + + + +
        +
      • +

        preferredSubprotocols

        +
        public ClientEndpointConfig.Builder preferredSubprotocols​(java.util.List<java.lang.String> preferredSubprotocols)
        +
        Set the preferred sub protocols for the configuration this builder will build. The + list is treated in order of preference, favorite first, that this client would + like to use for its sessions.
        +
        +
        Parameters:
        +
        preferredSubprotocols - the preferred subprotocol names.
        +
        Returns:
        +
        the builder instance
        +
        +
      • +
      + + + +
        +
      • +

        extensions

        +
        public ClientEndpointConfig.Builder extensions​(java.util.List<Extension> extensions)
        +
        Set the extensions for the configuration this builder will build. The + list is treated in order of preference, favorite first, that the + client would like to use for its sessions.
        +
        +
        Parameters:
        +
        extensions - the extensions
        +
        Returns:
        +
        the builder instance
        +
        +
      • +
      + + + +
        +
      • +

        encoders

        +
        public ClientEndpointConfig.Builder encoders​(java.util.List<java.lang.Class<? extends Encoder>> encoders)
        +
        Assign the list of encoder implementation classes the client will use.
        +
        +
        Parameters:
        +
        encoders - the encoder implementation classes
        +
        Returns:
        +
        the builder instance
        +
        +
      • +
      + + + +
        +
      • +

        decoders

        +
        public ClientEndpointConfig.Builder decoders​(java.util.List<java.lang.Class<? extends Decoder>> decoders)
        +
        Assign the list of decoder implementation classes the client will use.
        +
        +
        Parameters:
        +
        decoders - the decoder implementation classes
        +
        Returns:
        +
        this builder instance
        +
        +
      • +
      +
    • +
    +
    +
  • +
+
+
+
+ + + + diff --git a/apidocs/1.19/javax/websocket/ClientEndpointConfig.Configurator.html b/apidocs/1.19/javax/websocket/ClientEndpointConfig.Configurator.html new file mode 100644 index 00000000..372d0e80 --- /dev/null +++ b/apidocs/1.19/javax/websocket/ClientEndpointConfig.Configurator.html @@ -0,0 +1,353 @@ + + + + + +ClientEndpointConfig.Configurator (Tyrus 1.19 API) + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +

Class ClientEndpointConfig.Configurator

+
+
+
    +
  • java.lang.Object
  • +
  • +
      +
    • javax.websocket.ClientEndpointConfig.Configurator
    • +
    +
  • +
+
+
    +
  • +
    +
    Enclosing interface:
    +
    ClientEndpointConfig
    +
    +
    +
    public static class ClientEndpointConfig.Configurator
    +extends java.lang.Object
    +
    The Configurator class may be extended by developers who want to + provide custom configuration algorithms, such as intercepting the opening handshake, or + providing arbitrary methods and algorithms that can be accessed from each endpoint + instance configured with this configurator.
    +
  • +
+
+
+
    +
  • + +
    +
      +
    • + + +

      Constructor Summary

      + + + + + + + + + + +
      Constructors 
      ConstructorDescription
      Configurator() 
      +
    • +
    +
    + +
    +
      +
    • + + +

      Method Summary

      + + + + + + + + + + + + + + + + + +
      All Methods Instance Methods Concrete Methods 
      Modifier and TypeMethodDescription
      voidafterResponse​(HandshakeResponse hr) +
      This method is called by the implementation after it has received a handshake response + from the server as a result of a handshake interaction it initiated.
      +
      voidbeforeRequest​(java.util.Map<java.lang.String,​java.util.List<java.lang.String>> headers) +
      This method is called by the implementation after it has formulated the handshake + request that will be used to initiate the connection to the server, but before it has + sent any part of the request.
      +
      +
        +
      • + + +

        Methods inherited from class java.lang.Object

        +clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • +
      +
    • +
    +
    +
  • +
+
+
+
    +
  • + +
    +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        Configurator

        +
        public Configurator()
        +
      • +
      +
    • +
    +
    + +
    +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        beforeRequest

        +
        public void beforeRequest​(java.util.Map<java.lang.String,​java.util.List<java.lang.String>> headers)
        +
        This method is called by the implementation after it has formulated the handshake + request that will be used to initiate the connection to the server, but before it has + sent any part of the request. This allows the developer to inspect and modify the + handshake request headers prior to the start of the handshake interaction.
        +
        +
        Parameters:
        +
        headers - the mutable map of handshake request headers the implementation is about to send to + start the handshake interaction.
        +
        +
      • +
      + + + +
        +
      • +

        afterResponse

        +
        public void afterResponse​(HandshakeResponse hr)
        +
        This method is called by the implementation after it has received a handshake response + from the server as a result of a handshake interaction it initiated. The developer may implement + this method in order to inspect the returning handshake response.
        +
        +
        Parameters:
        +
        hr - the handshake response sent by the server.
        +
        +
      • +
      +
    • +
    +
    +
  • +
+
+
+
+ + + + diff --git a/apidocs/1.19/javax/websocket/ClientEndpointConfig.html b/apidocs/1.19/javax/websocket/ClientEndpointConfig.html new file mode 100644 index 00000000..0a3c60fb --- /dev/null +++ b/apidocs/1.19/javax/websocket/ClientEndpointConfig.html @@ -0,0 +1,373 @@ + + + + + +ClientEndpointConfig (Tyrus 1.19 API) + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +

Interface ClientEndpointConfig

+
+
+
+
    +
  • +
    +
    All Superinterfaces:
    +
    EndpointConfig
    +
    +
    +
    public interface ClientEndpointConfig
    +extends EndpointConfig
    +
    The ClientEndpointConfig is a special kind of endpoint configuration object that contains + web socket configuration information specific only to client endpoints. Developers deploying + programmatic client endpoints can create instances of this configuration by + using a ClientEndpointConfig.Builder. Developers can override some + of the configuration operations by providing an implementation of + ClientEndpointConfig.Configurator.
    +
    +
    Author:
    +
    dannycoward
    +
    +
  • +
+
+
+
    +
  • + +
    +
      +
    • + + +

      Nested Class Summary

      + + + + + + + + + + + + + + + + + +
      Nested Classes 
      Modifier and TypeInterfaceDescription
      static class ClientEndpointConfig.Builder +
      The ClientEndpointConfig.Builder is a class used for creating + ClientEndpointConfig objects for the purposes of + deploying a client endpoint.
      +
      static class ClientEndpointConfig.Configurator +
      The Configurator class may be extended by developers who want to + provide custom configuration algorithms, such as intercepting the opening handshake, or + providing arbitrary methods and algorithms that can be accessed from each endpoint + instance configured with this configurator.
      +
      +
    • +
    +
    + +
    + +
    +
  • +
+
+
+
    +
  • + +
    +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        getPreferredSubprotocols

        +
        java.util.List<java.lang.String> getPreferredSubprotocols()
        +
        Return the ordered list of sub protocols a client endpoint would like to use, + in order of preference, favorite first that this client would + like to use for its sessions. + This list is used to generate the Sec-WebSocket-Protocol header in the opening + handshake for clients using this configuration. The first protocol name is the most preferred. + See Client Opening Handshake.
        +
        +
        Returns:
        +
        the list of the preferred subprotocols, the empty list if there are none
        +
        +
      • +
      + + + +
        +
      • +

        getExtensions

        +
        java.util.List<Extension> getExtensions()
        +
        Return the extensions, in order of preference, favorite first, that this client would + like to use for its sessions. These are the extensions that will + be used to populate the Sec-WebSocket-Extensions header in the opening handshake for clients + using this configuration. The first extension in the list is the most preferred extension. + See Negotiating Extensions.
        +
        +
        Returns:
        +
        the list of extensions, the empty list if there are none.
        +
        +
      • +
      + + + +
        +
      • +

        getConfigurator

        +
        ClientEndpointConfig.Configurator getConfigurator()
        +
        Return the custom configurator for this configuration. If the developer + did not provide one, the platform default configurator is returned.
        +
        +
        Returns:
        +
        the configurator in use with this configuration.
        +
        +
      • +
      +
    • +
    +
    +
  • +
+
+
+
+ + + + diff --git a/apidocs/1.19/javax/websocket/CloseReason.CloseCode.html b/apidocs/1.19/javax/websocket/CloseReason.CloseCode.html new file mode 100644 index 00000000..56012a14 --- /dev/null +++ b/apidocs/1.19/javax/websocket/CloseReason.CloseCode.html @@ -0,0 +1,273 @@ + + + + + +CloseReason.CloseCode (Tyrus 1.19 API) + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +

Interface CloseReason.CloseCode

+
+
+
+
    +
  • +
    +
    All Known Implementing Classes:
    +
    CloseReason.CloseCodes
    +
    +
    +
    Enclosing class:
    +
    CloseReason
    +
    +
    +
    public static interface CloseReason.CloseCode
    +
    A marker interface for the close codes. This interface may be + implemented by enumerations that contain web socket close codes, for + example enumerations that contain all the in use close codes as of + web socket 1.0, or an enumeration that contains close codes + that are currently reserved for special use by the web socket + specification.
    +
  • +
+
+
+
    +
  • + +
    +
      +
    • + + +

      Method Summary

      + + + + + + + + + + + + +
      All Methods Instance Methods Abstract Methods 
      Modifier and TypeMethodDescription
      intgetCode() +
      Returns the code number, for example the integer '1000' for normal closure.
      +
      +
    • +
    +
    +
  • +
+
+
+
    +
  • + +
    +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        getCode

        +
        int getCode()
        +
        Returns the code number, for example the integer '1000' for normal closure.
        +
        +
        Returns:
        +
        the code number
        +
        +
      • +
      +
    • +
    +
    +
  • +
+
+
+
+ + + + diff --git a/apidocs/1.19/javax/websocket/CloseReason.CloseCodes.html b/apidocs/1.19/javax/websocket/CloseReason.CloseCodes.html new file mode 100644 index 00000000..3effd37c --- /dev/null +++ b/apidocs/1.19/javax/websocket/CloseReason.CloseCodes.html @@ -0,0 +1,704 @@ + + + + + +CloseReason.CloseCodes (Tyrus 1.19 API) + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +

Enum CloseReason.CloseCodes

+
+
+
    +
  • java.lang.Object
  • +
  • + +
  • +
+
+ +
+
+
    +
  • + +
    +
      +
    • + + +

      Enum Constant Summary

      + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
      Enum Constants 
      Enum ConstantDescription
      CANNOT_ACCEPT +
      1003 indicates that an endpoint is terminating the connection + because it has received a type of data it cannot accept (e.g., an + endpoint that understands only text data MAY send this if it + receives a binary message).
      +
      CLOSED_ABNORMALLY +
      1006 is a reserved value and MUST NOT be set as a status code in a + Close control frame by an endpoint.
      +
      GOING_AWAY +
      1001 indicates that an endpoint is "going away", such as a server + going down or a browser having navigated away from a page.
      +
      NO_EXTENSION +
      1010 indicates that an endpoint (client) is terminating the + connection because it has expected the server to negotiate one or + more extension, but the server didn't return them in the response + message of the WebSocket handshake.
      +
      NO_STATUS_CODE +
      1005 is a reserved value and MUST NOT be set as a status code in a + Close control frame by an endpoint.
      +
      NORMAL_CLOSURE +
      1000 indicates a normal closure, meaning that the purpose for + which the connection was established has been fulfilled.
      +
      NOT_CONSISTENT +
      1007 indicates that an endpoint is terminating the connection + because it has received data within a message that was not + consistent with the type of the message (e.g., non-UTF-8 + data within a text message).
      +
      PROTOCOL_ERROR +
      1002 indicates that an endpoint is terminating the connection due + to a protocol error.
      +
      RESERVED +
      Reserved.
      +
      SERVICE_RESTART +
      1012 indicates that the service will be restarted.
      +
      TLS_HANDSHAKE_FAILURE +
      1015 is a reserved value and MUST NOT be set as a status code in a + Close control frame by an endpoint.
      +
      TOO_BIG +
      1009 indicates that an endpoint is terminating the connection + because it has received a message that is too big for it to + process.
      +
      TRY_AGAIN_LATER +
      1013 indicates that the service is experiencing overload
      +
      UNEXPECTED_CONDITION +
      1011 indicates that a server is terminating the connection because + it encountered an unexpected condition that prevented it from + fulfilling the request.
      +
      VIOLATED_POLICY +
      1008 indicates that an endpoint is terminating the connection + because it has received a message that violates its policy.
      +
      +
    • +
    +
    + +
    +
      +
    • + + +

      Method Summary

      + + + + + + + + + + + + + + + + + + + + + + + + + + + +
      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and TypeMethodDescription
      static CloseReason.CloseCodegetCloseCode​(int code) +
      Creates a CloseCode from the given int code number.
      +
      intgetCode() +
      Return the code number of this status code.
      +
      static CloseReason.CloseCodesvalueOf​(java.lang.String name) +
      Returns the enum constant of this type with the specified name.
      +
      static CloseReason.CloseCodes[]values() +
      Returns an array containing the constants of this enum type, in +the order they are declared.
      +
      +
        +
      • + + +

        Methods inherited from class java.lang.Enum

        +clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
      • +
      +
        +
      • + + +

        Methods inherited from class java.lang.Object

        +getClass, notify, notifyAll, wait, wait, wait
      • +
      +
    • +
    +
    +
  • +
+
+
+
    +
  • + +
    +
      +
    • + + +

      Enum Constant Detail

      + + + +
        +
      • +

        NORMAL_CLOSURE

        +
        public static final CloseReason.CloseCodes NORMAL_CLOSURE
        +
        1000 indicates a normal closure, meaning that the purpose for + which the connection was established has been fulfilled.
        +
      • +
      + + + +
        +
      • +

        GOING_AWAY

        +
        public static final CloseReason.CloseCodes GOING_AWAY
        +
        1001 indicates that an endpoint is "going away", such as a server + going down or a browser having navigated away from a page.
        +
      • +
      + + + +
        +
      • +

        PROTOCOL_ERROR

        +
        public static final CloseReason.CloseCodes PROTOCOL_ERROR
        +
        1002 indicates that an endpoint is terminating the connection due + to a protocol error.
        +
      • +
      + + + +
        +
      • +

        CANNOT_ACCEPT

        +
        public static final CloseReason.CloseCodes CANNOT_ACCEPT
        +
        1003 indicates that an endpoint is terminating the connection + because it has received a type of data it cannot accept (e.g., an + endpoint that understands only text data MAY send this if it + receives a binary message).
        +
      • +
      + + + +
        +
      • +

        RESERVED

        +
        public static final CloseReason.CloseCodes RESERVED
        +
        Reserved. The specific meaning might be defined in the future.
        +
      • +
      + + + +
        +
      • +

        NO_STATUS_CODE

        +
        public static final CloseReason.CloseCodes NO_STATUS_CODE
        +
        1005 is a reserved value and MUST NOT be set as a status code in a + Close control frame by an endpoint. It is designated for use in + applications expecting a status code to indicate that no status + code was actually present.
        +
      • +
      + + + +
        +
      • +

        CLOSED_ABNORMALLY

        +
        public static final CloseReason.CloseCodes CLOSED_ABNORMALLY
        +
        1006 is a reserved value and MUST NOT be set as a status code in a + Close control frame by an endpoint. It is designated for use in + applications expecting a status code to indicate that the + connection was closed abnormally, e.g., without sending or + receiving a Close control frame.
        +
      • +
      + + + +
        +
      • +

        NOT_CONSISTENT

        +
        public static final CloseReason.CloseCodes NOT_CONSISTENT
        +
        1007 indicates that an endpoint is terminating the connection + because it has received data within a message that was not + consistent with the type of the message (e.g., non-UTF-8 + data within a text message).
        +
      • +
      + + + +
        +
      • +

        VIOLATED_POLICY

        +
        public static final CloseReason.CloseCodes VIOLATED_POLICY
        +
        1008 indicates that an endpoint is terminating the connection + because it has received a message that violates its policy. This + is a generic status code that can be returned when there is no + other more suitable status code (e.g., 1003 or 1009) or if there + is a need to hide specific details about the policy.
        +
      • +
      + + + +
        +
      • +

        TOO_BIG

        +
        public static final CloseReason.CloseCodes TOO_BIG
        +
        1009 indicates that an endpoint is terminating the connection + because it has received a message that is too big for it to + process.
        +
      • +
      + + + +
        +
      • +

        NO_EXTENSION

        +
        public static final CloseReason.CloseCodes NO_EXTENSION
        +
        1010 indicates that an endpoint (client) is terminating the + connection because it has expected the server to negotiate one or + more extension, but the server didn't return them in the response + message of the WebSocket handshake. The list of extensions that + are needed SHOULD appear in the /reason/ part of the Close frame. + Note that this status code is not used by the server, because it + can fail the WebSocket handshake instead.
        +
      • +
      + + + +
        +
      • +

        UNEXPECTED_CONDITION

        +
        public static final CloseReason.CloseCodes UNEXPECTED_CONDITION
        +
        1011 indicates that a server is terminating the connection because + it encountered an unexpected condition that prevented it from + fulfilling the request.
        +
      • +
      + + + +
        +
      • +

        SERVICE_RESTART

        +
        public static final CloseReason.CloseCodes SERVICE_RESTART
        +
        1012 indicates that the service will be restarted.
        +
      • +
      + + + +
        +
      • +

        TRY_AGAIN_LATER

        +
        public static final CloseReason.CloseCodes TRY_AGAIN_LATER
        +
        1013 indicates that the service is experiencing overload
        +
      • +
      + + + +
        +
      • +

        TLS_HANDSHAKE_FAILURE

        +
        public static final CloseReason.CloseCodes TLS_HANDSHAKE_FAILURE
        +
        1015 is a reserved value and MUST NOT be set as a status code in a + Close control frame by an endpoint. It is designated for use in + applications expecting a status code to indicate that the + connection was closed due to a failure to perform a TLS handshake + (e.g., the server certificate can't be verified).
        +
      • +
      +
    • +
    +
    + +
    +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        values

        +
        public static CloseReason.CloseCodes[] values()
        +
        Returns an array containing the constants of this enum type, in +the order they are declared. This method may be used to iterate +over the constants as follows: +
        +for (CloseReason.CloseCodes c : CloseReason.CloseCodes.values())
        +    System.out.println(c);
        +
        +
        +
        Returns:
        +
        an array containing the constants of this enum type, in the order they are declared
        +
        +
      • +
      + + + +
        +
      • +

        valueOf

        +
        public static CloseReason.CloseCodes valueOf​(java.lang.String name)
        +
        Returns the enum constant of this type with the specified name. +The string must match exactly an identifier used to declare an +enum constant in this type. (Extraneous whitespace characters are +not permitted.)
        +
        +
        Parameters:
        +
        name - the name of the enum constant to be returned.
        +
        Returns:
        +
        the enum constant with the specified name
        +
        Throws:
        +
        java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
        +
        java.lang.NullPointerException - if the argument is null
        +
        +
      • +
      + + + +
        +
      • +

        getCloseCode

        +
        public static CloseReason.CloseCode getCloseCode​(int code)
        +
        Creates a CloseCode from the given int code number. This method throws + an IllegalArgumentException if the int is not one of the
        +
        +
        Parameters:
        +
        code - the integer code number
        +
        Returns:
        +
        a new CloseCode with the given code number
        +
        Throws:
        +
        java.lang.IllegalArgumentException - if the code is not a valid close code
        +
        +
      • +
      + + + +
        +
      • +

        getCode

        +
        public int getCode()
        +
        Return the code number of this status code.
        +
        +
        Specified by:
        +
        getCode in interface CloseReason.CloseCode
        +
        Returns:
        +
        the code.
        +
        +
      • +
      +
    • +
    +
    +
  • +
+
+
+
+ + + + diff --git a/apidocs/1.19/javax/websocket/CloseReason.html b/apidocs/1.19/javax/websocket/CloseReason.html new file mode 100644 index 00000000..4a957e5c --- /dev/null +++ b/apidocs/1.19/javax/websocket/CloseReason.html @@ -0,0 +1,413 @@ + + + + + +CloseReason (Tyrus 1.19 API) + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +

Class CloseReason

+
+
+
    +
  • java.lang.Object
  • +
  • +
      +
    • javax.websocket.CloseReason
    • +
    +
  • +
+
+
    +
  • +
    +
    public class CloseReason
    +extends java.lang.Object
    +
    A class encapsulating the reason why a web socket has been closed, or why it is being asked to + close. Note the acceptable uses of codes and reason phrase are defined in more detail by + RFC 6455.
    +
    +
    Author:
    +
    dannycoward
    +
    +
  • +
+
+
+
    +
  • + +
    +
      +
    • + + +

      Nested Class Summary

      + + + + + + + + + + + + + + + + + +
      Nested Classes 
      Modifier and TypeClassDescription
      static interface CloseReason.CloseCode +
      A marker interface for the close codes.
      +
      static class CloseReason.CloseCodes +
      An Enumeration of status codes for a web socket close that + are defined in the specification.
      +
      +
    • +
    +
    + +
    +
      +
    • + + +

      Constructor Summary

      + + + + + + + + + + +
      Constructors 
      ConstructorDescription
      CloseReason​(CloseReason.CloseCode closeCode, + java.lang.String reasonPhrase) +
      Creates a reason for closing a web socket connection with the given + code and reason phrase.
      +
      +
    • +
    +
    + +
    +
      +
    • + + +

      Method Summary

      + + + + + + + + + + + + + + + + + + + + + + +
      All Methods Instance Methods Concrete Methods 
      Modifier and TypeMethodDescription
      CloseReason.CloseCodegetCloseCode() +
      The Close code associated with this CloseReason.
      +
      java.lang.StringgetReasonPhrase() +
      The reason phrase associated with this CloseReason.
      +
      java.lang.StringtoString() +
      Converts the CloseReason to a debug-friendly string.
      +
      +
        +
      • + + +

        Methods inherited from class java.lang.Object

        +clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
      • +
      +
    • +
    +
    +
  • +
+
+
+
    +
  • + +
    +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        CloseReason

        +
        public CloseReason​(CloseReason.CloseCode closeCode,
        +                   java.lang.String reasonPhrase)
        +
        Creates a reason for closing a web socket connection with the given + code and reason phrase.
        +
        +
        Parameters:
        +
        closeCode - the close code, may not be null
        +
        reasonPhrase - the reason phrase, may be null.
        +
        +
      • +
      +
    • +
    +
    + +
    +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        getCloseCode

        +
        public CloseReason.CloseCode getCloseCode()
        +
        The Close code associated with this CloseReason.
        +
        +
        Returns:
        +
        the close code.
        +
        +
      • +
      + + + +
        +
      • +

        getReasonPhrase

        +
        public java.lang.String getReasonPhrase()
        +
        The reason phrase associated with this CloseReason.
        +
        +
        Returns:
        +
        the reason phrase. If there is no reason phrase, this returns + the empty string
        +
        +
      • +
      + + + +
        +
      • +

        toString

        +
        public java.lang.String toString()
        +
        Converts the CloseReason to a debug-friendly string. The exact format + is not defined by the specification and may change in future releases.
        +
        +
        Overrides:
        +
        toString in class java.lang.Object
        +
        Returns:
        +
        A String representation of this CloseReason
        +
        +
      • +
      +
    • +
    +
    +
  • +
+
+
+
+ + + + diff --git a/apidocs/1.19/javax/websocket/ContainerProvider.html b/apidocs/1.19/javax/websocket/ContainerProvider.html new file mode 100644 index 00000000..ba4b55f9 --- /dev/null +++ b/apidocs/1.19/javax/websocket/ContainerProvider.html @@ -0,0 +1,354 @@ + + + + + +ContainerProvider (Tyrus 1.19 API) + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +

Class ContainerProvider

+
+
+
    +
  • java.lang.Object
  • +
  • +
      +
    • javax.websocket.ContainerProvider
    • +
    +
  • +
+
+
    +
  • +
    +
    Direct Known Subclasses:
    +
    GrizzlyContainerProvider
    +
    +
    +
    public abstract class ContainerProvider
    +extends java.lang.Object
    +
    Provider class that allows the developer to get a reference to + the implementation of the WebSocketContainer. + The provider class uses the + ServiceLoader + to load an implementation of ContainerProvider. Specifically, the fully qualified classname + of the container implementation of ContainerProvider must be listed in the + META-INF/services/javax.websocket.ContainerProvider file in the implementation JAR file.
    +
    +
    Author:
    +
    dannycoward
    +
    +
  • +
+
+
+ +
+
+
    +
  • + +
    +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        ContainerProvider

        +
        public ContainerProvider()
        +
      • +
      +
    • +
    +
    + +
    +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        getWebSocketContainer

        +
        public static WebSocketContainer getWebSocketContainer()
        +
        Obtain a new instance of a WebSocketContainer. The method looks for the + ContainerProvider implementation class in the order listed in the META-INF/services/javax.websocket.ContainerProvider + file, returning the WebSocketContainer implementation from the ContainerProvider implementation + that is not null.
        +
        +
        Returns:
        +
        an implementation provided instance of type WebSocketContainer
        +
        +
      • +
      + + + +
        +
      • +

        getContainer

        +
        protected abstract WebSocketContainer getContainer()
        +
        Load the container implementation.
        +
        +
        Returns:
        +
        the implementation class
        +
        +
      • +
      +
    • +
    +
    +
  • +
+
+
+
+ + + + diff --git a/apidocs/1.19/javax/websocket/DecodeException.html b/apidocs/1.19/javax/websocket/DecodeException.html new file mode 100644 index 00000000..3cb24b6e --- /dev/null +++ b/apidocs/1.19/javax/websocket/DecodeException.html @@ -0,0 +1,480 @@ + + + + + +DecodeException (Tyrus 1.19 API) + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +

Class DecodeException

+
+
+
    +
  • java.lang.Object
  • +
  • +
      +
    • java.lang.Throwable
    • +
    • +
        +
      • java.lang.Exception
      • +
      • +
          +
        • javax.websocket.DecodeException
        • +
        +
      • +
      +
    • +
    +
  • +
+
+
    +
  • +
    +
    All Implemented Interfaces:
    +
    java.io.Serializable
    +
    +
    +
    public class DecodeException
    +extends java.lang.Exception
    +
    A general exception that occurs when trying to decode a custom object from a text or binary message.
    +
    +
    Author:
    +
    dannycoward
    +
    See Also:
    +
    Serialized Form
    +
    +
  • +
+
+
+
    +
  • + +
    +
      +
    • + + +

      Constructor Summary

      + + + + + + + + + + + + + + + + + + + + + + +
      Constructors 
      ConstructorDescription
      DecodeException​(java.lang.String encodedString, + java.lang.String message) +
      Constructs a DecodedException with the given encoded string that cannot + be decoded, and reason why.
      +
      DecodeException​(java.lang.String encodedString, + java.lang.String message, + java.lang.Throwable cause) +
      Constructor with the text data that could not be decoded, and the reason + why it failed to be, and the cause.
      +
      DecodeException​(java.nio.ByteBuffer bb, + java.lang.String message) +
      Constructs a DecodedException with the given ByteBuffer that cannot + be decoded, and reason why.
      +
      DecodeException​(java.nio.ByteBuffer bb, + java.lang.String message, + java.lang.Throwable cause) +
      Constructor with the binary data that could not be decoded, and the + reason why it failed to be, and the cause.
      +
      +
    • +
    +
    + +
    +
      +
    • + + +

      Method Summary

      + + + + + + + + + + + + + + + + + +
      All Methods Instance Methods Concrete Methods 
      Modifier and TypeMethodDescription
      java.nio.ByteBuffergetBytes() +
      Return the ByteBuffer containing either the whole message, or the partial message, that + could not be decoded, or null if + this exception arose from a failure to decode a text message.
      +
      java.lang.StringgetText() +
      Return the encoded string that is either the whole message, or the partial + message that could not be decoded, or null if + this exception arose from a failure to decode a binary message..
      +
      +
        +
      • + + +

        Methods inherited from class java.lang.Throwable

        +addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
      • +
      +
        +
      • + + +

        Methods inherited from class java.lang.Object

        +clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
      • +
      +
    • +
    +
    +
  • +
+
+
+
    +
  • + +
    +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        DecodeException

        +
        public DecodeException​(java.nio.ByteBuffer bb,
        +                       java.lang.String message,
        +                       java.lang.Throwable cause)
        +
        Constructor with the binary data that could not be decoded, and the + reason why it failed to be, and the cause. The buffer may represent the + whole message, or the part of the message most relevant to the decoding + error, depending whether the application is using one + of the streaming methods or not.
        +
        +
        Parameters:
        +
        bb - the byte buffer containing the (part of) the message that + could not be decoded.
        +
        message - the reason for the failure.
        +
        cause - the cause of the error.
        +
        +
      • +
      + + + +
        +
      • +

        DecodeException

        +
        public DecodeException​(java.lang.String encodedString,
        +                       java.lang.String message,
        +                       java.lang.Throwable cause)
        +
        Constructor with the text data that could not be decoded, and the reason + why it failed to be, and the cause. The encoded string may represent the whole message, + or the part of the message most relevant to the decoding error, depending + whether the application is using one + of the streaming methods or not.
        +
        +
        Parameters:
        +
        encodedString - the string representing the (part of) the message that could not be decoded.
        +
        message - the reason for the failure.
        +
        cause - the cause of the error.
        +
        +
      • +
      + + + +
        +
      • +

        DecodeException

        +
        public DecodeException​(java.nio.ByteBuffer bb,
        +                       java.lang.String message)
        +
        Constructs a DecodedException with the given ByteBuffer that cannot + be decoded, and reason why. The buffer may represent the + whole message, or the part of the message most relevant to the decoding + error, depending whether the application is using one + of the streaming methods or not.
        +
        +
        Parameters:
        +
        bb - the byte buffer containing the (part of) the message that + could not be decoded.
        +
        message - the reason for the failure.
        +
        +
      • +
      + + + +
        +
      • +

        DecodeException

        +
        public DecodeException​(java.lang.String encodedString,
        +                       java.lang.String message)
        +
        Constructs a DecodedException with the given encoded string that cannot + be decoded, and reason why. The encoded string may represent the whole message, + or the part of the message most relevant to the decoding error, depending + whether the application is using one + of the streaming methods or not.
        +
        +
        Parameters:
        +
        encodedString - the string representing the (part of) the message that + could not be decoded.
        +
        message - the reason for the failure.
        +
        +
      • +
      +
    • +
    +
    + +
    +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        getBytes

        +
        public java.nio.ByteBuffer getBytes()
        +
        Return the ByteBuffer containing either the whole message, or the partial message, that + could not be decoded, or null if + this exception arose from a failure to decode a text message.
        +
        +
        Returns:
        +
        the binary data not decoded or null for text message failures.
        +
        +
      • +
      + + + +
        +
      • +

        getText

        +
        public java.lang.String getText()
        +
        Return the encoded string that is either the whole message, or the partial + message that could not be decoded, or null if + this exception arose from a failure to decode a binary message..
        +
        +
        Returns:
        +
        the text not decoded or null for binary message failures.
        +
        +
      • +
      +
    • +
    +
    +
  • +
+
+
+
+ + + + diff --git a/apidocs/1.19/javax/websocket/Decoder.Binary.html b/apidocs/1.19/javax/websocket/Decoder.Binary.html new file mode 100644 index 00000000..629e4dd2 --- /dev/null +++ b/apidocs/1.19/javax/websocket/Decoder.Binary.html @@ -0,0 +1,326 @@ + + + + + +Decoder.Binary (Tyrus 1.19 API) + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +

Interface Decoder.Binary<T>

+
+
+
+ +
+
+ +
+
+
    +
  • + +
    +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        decode

        +
        T decode​(java.nio.ByteBuffer bytes)
        +  throws DecodeException
        +
        Decode the given bytes into an object of type T.
        +
        +
        Parameters:
        +
        bytes - the bytes to be decoded.
        +
        Returns:
        +
        the decoded object.
        +
        Throws:
        +
        DecodeException
        +
        +
      • +
      + + + +
        +
      • +

        willDecode

        +
        boolean willDecode​(java.nio.ByteBuffer bytes)
        +
        Answer whether the given bytes can be decoded into an object of type T.
        +
        +
        Parameters:
        +
        bytes - the bytes to be decoded.
        +
        Returns:
        +
        whether or not the bytes can be decoded by this decoder.
        +
        +
      • +
      +
    • +
    +
    +
  • +
+
+
+
+ + + + diff --git a/apidocs/1.19/javax/websocket/Decoder.BinaryStream.html b/apidocs/1.19/javax/websocket/Decoder.BinaryStream.html new file mode 100644 index 00000000..8f5c5abb --- /dev/null +++ b/apidocs/1.19/javax/websocket/Decoder.BinaryStream.html @@ -0,0 +1,301 @@ + + + + + +Decoder.BinaryStream (Tyrus 1.19 API) + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +

Interface Decoder.BinaryStream<T>

+
+
+
+
    +
  • +
    +
    All Superinterfaces:
    +
    Decoder
    +
    +
    +
    Enclosing interface:
    +
    Decoder
    +
    +
    +
    public static interface Decoder.BinaryStream<T>
    +extends Decoder
    +
    This interface defines how a custom object is decoded from a web socket message in + the form of a binary stream.
    +
  • +
+
+
+ +
+
+
    +
  • + +
    +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        decode

        +
        T decode​(java.io.InputStream is)
        +  throws DecodeException,
        +         java.io.IOException
        +
        Decode the given bytes read from the input stream into an object of type T.
        +
        +
        Parameters:
        +
        is - the input stream carrying the bytes.
        +
        Returns:
        +
        the decoded object.
        +
        Throws:
        +
        DecodeException
        +
        java.io.IOException
        +
        +
      • +
      +
    • +
    +
    +
  • +
+
+
+
+ + + + diff --git a/apidocs/1.19/javax/websocket/Decoder.Text.html b/apidocs/1.19/javax/websocket/Decoder.Text.html new file mode 100644 index 00000000..53c9f8cd --- /dev/null +++ b/apidocs/1.19/javax/websocket/Decoder.Text.html @@ -0,0 +1,326 @@ + + + + + +Decoder.Text (Tyrus 1.19 API) + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +

Interface Decoder.Text<T>

+
+
+
+ +
+
+ +
+
+
    +
  • + +
    +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        decode

        +
        T decode​(java.lang.String s)
        +  throws DecodeException
        +
        Decode the given String into an object of type T.
        +
        +
        Parameters:
        +
        s - string to be decoded.
        +
        Returns:
        +
        the decoded message as an object of type T
        +
        Throws:
        +
        DecodeException
        +
        +
      • +
      + + + +
        +
      • +

        willDecode

        +
        boolean willDecode​(java.lang.String s)
        +
        Answer whether the given String can be decoded into an object of type T.
        +
        +
        Parameters:
        +
        s - the string being tested for decodability.
        +
        Returns:
        +
        whether this decoder can decoded the supplied string.
        +
        +
      • +
      +
    • +
    +
    +
  • +
+
+
+
+ + + + diff --git a/apidocs/1.19/javax/websocket/Decoder.TextStream.html b/apidocs/1.19/javax/websocket/Decoder.TextStream.html new file mode 100644 index 00000000..175a9914 --- /dev/null +++ b/apidocs/1.19/javax/websocket/Decoder.TextStream.html @@ -0,0 +1,303 @@ + + + + + +Decoder.TextStream (Tyrus 1.19 API) + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +

Interface Decoder.TextStream<T>

+
+
+
+
    +
  • +
    +
    All Superinterfaces:
    +
    Decoder
    +
    +
    +
    Enclosing interface:
    +
    Decoder
    +
    +
    +
    public static interface Decoder.TextStream<T>
    +extends Decoder
    +
    This interface defines how a custom object of type T is decoded from a web socket message in + the form of a character stream.
    +
  • +
+
+
+ +
+
+
    +
  • + +
    +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        decode

        +
        T decode​(java.io.Reader reader)
        +  throws DecodeException,
        +         java.io.IOException
        +
        Reads the websocket message from the implementation provided + Reader and decodes it into an instance of the supplied object type.
        +
        +
        Parameters:
        +
        reader - the reader from which to read the web socket message.
        +
        Returns:
        +
        the instance of the object that is the decoded web socket message.
        +
        Throws:
        +
        DecodeException
        +
        java.io.IOException
        +
        +
      • +
      +
    • +
    +
    +
  • +
+
+
+
+ + + + diff --git a/apidocs/1.19/javax/websocket/Decoder.html b/apidocs/1.19/javax/websocket/Decoder.html new file mode 100644 index 00000000..f8dc1fcd --- /dev/null +++ b/apidocs/1.19/javax/websocket/Decoder.html @@ -0,0 +1,354 @@ + + + + + +Decoder (Tyrus 1.19 API) + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +

Interface Decoder

+
+
+
+ +
+
+
    +
  • + +
    +
      +
    • + + +

      Nested Class Summary

      + + + + + + + + + + + + + + + + + + + + + + + + + + + +
      Nested Classes 
      Modifier and TypeInterfaceDescription
      static interface Decoder.Binary<T> +
      This interface defines how a custom object (of type T) is decoded from a web socket message in + the form of a byte buffer.
      +
      static interface Decoder.BinaryStream<T> +
      This interface defines how a custom object is decoded from a web socket message in + the form of a binary stream.
      +
      static interface Decoder.Text<T> +
      This interface defines how a custom object is decoded from a web socket message in + the form of a string.
      +
      static interface Decoder.TextStream<T> +
      This interface defines how a custom object of type T is decoded from a web socket message in + the form of a character stream.
      +
      +
    • +
    +
    + +
    +
      +
    • + + +

      Method Summary

      + + + + + + + + + + + + + + + + + +
      All Methods Instance Methods Abstract Methods 
      Modifier and TypeMethodDescription
      voiddestroy() +
      This method is called when the decoder is about to be removed + from service in order that any resources the encoder used may + be closed gracefully.
      +
      voidinit​(EndpointConfig config) +
      This method is called with the endpoint configuration object of the + endpoint this decoder is intended for when + it is about to be brought into service.
      +
      +
    • +
    +
    +
  • +
+
+
+
    +
  • + +
    +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        init

        +
        void init​(EndpointConfig config)
        +
        This method is called with the endpoint configuration object of the + endpoint this decoder is intended for when + it is about to be brought into service.
        +
        +
        Parameters:
        +
        config - the endpoint configuration object when being brought into + service
        +
        +
      • +
      + + + +
        +
      • +

        destroy

        +
        void destroy()
        +
        This method is called when the decoder is about to be removed + from service in order that any resources the encoder used may + be closed gracefully.
        +
      • +
      +
    • +
    +
    +
  • +
+
+
+
+ + + + diff --git a/apidocs/1.19/javax/websocket/DeploymentException.html b/apidocs/1.19/javax/websocket/DeploymentException.html new file mode 100644 index 00000000..0f35814b --- /dev/null +++ b/apidocs/1.19/javax/websocket/DeploymentException.html @@ -0,0 +1,333 @@ + + + + + +DeploymentException (Tyrus 1.19 API) + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +

Class DeploymentException

+
+
+
    +
  • java.lang.Object
  • +
  • +
      +
    • java.lang.Throwable
    • +
    • +
        +
      • java.lang.Exception
      • +
      • +
          +
        • javax.websocket.DeploymentException
        • +
        +
      • +
      +
    • +
    +
  • +
+
+
    +
  • +
    +
    All Implemented Interfaces:
    +
    java.io.Serializable
    +
    +
    +
    public class DeploymentException
    +extends java.lang.Exception
    +
    Checked exception indicating some kind of failure either to publish + an endpoint on its server, or a failure to connect a client to its server.
    +
    +
    Author:
    +
    dannycoward
    +
    See Also:
    +
    Serialized Form
    +
    +
  • +
+
+
+
    +
  • + +
    +
      +
    • + + +

      Constructor Summary

      + + + + + + + + + + + + + + +
      Constructors 
      ConstructorDescription
      DeploymentException​(java.lang.String message) +
      Creates a deployment exception with the given reason for the deployment + failure.
      +
      DeploymentException​(java.lang.String message, + java.lang.Throwable cause) +
      Creates a deployment exception with the given reason for the deployment + failure and wrapped cause of the failure.
      +
      +
    • +
    +
    + +
    +
      +
    • + + +

      Method Summary

      +
        +
      • + + +

        Methods inherited from class java.lang.Throwable

        +addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
      • +
      +
        +
      • + + +

        Methods inherited from class java.lang.Object

        +clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
      • +
      +
    • +
    +
    +
  • +
+
+
+
    +
  • + +
    +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        DeploymentException

        +
        public DeploymentException​(java.lang.String message)
        +
        Creates a deployment exception with the given reason for the deployment + failure.
        +
        +
        Parameters:
        +
        message - the reason for the failure.
        +
        +
      • +
      + + + +
        +
      • +

        DeploymentException

        +
        public DeploymentException​(java.lang.String message,
        +                           java.lang.Throwable cause)
        +
        Creates a deployment exception with the given reason for the deployment + failure and wrapped cause of the failure.
        +
        +
        Parameters:
        +
        message - the reason for the failure.
        +
        cause - the cause of the problem.
        +
        +
      • +
      +
    • +
    +
    +
  • +
+
+
+
+ + + + diff --git a/apidocs/1.19/javax/websocket/EncodeException.html b/apidocs/1.19/javax/websocket/EncodeException.html new file mode 100644 index 00000000..14aa56c9 --- /dev/null +++ b/apidocs/1.19/javax/websocket/EncodeException.html @@ -0,0 +1,379 @@ + + + + + +EncodeException (Tyrus 1.19 API) + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +

Class EncodeException

+
+
+
    +
  • java.lang.Object
  • +
  • +
      +
    • java.lang.Throwable
    • +
    • +
        +
      • java.lang.Exception
      • +
      • +
          +
        • javax.websocket.EncodeException
        • +
        +
      • +
      +
    • +
    +
  • +
+
+
    +
  • +
    +
    All Implemented Interfaces:
    +
    java.io.Serializable
    +
    +
    +
    public class EncodeException
    +extends java.lang.Exception
    +
    A general exception that occurs when trying to encode a custom object to a string or binary message.
    +
    +
    Author:
    +
    dannycoward
    +
    See Also:
    +
    Serialized Form
    +
    +
  • +
+
+
+
    +
  • + +
    +
      +
    • + + +

      Constructor Summary

      + + + + + + + + + + + + + + +
      Constructors 
      ConstructorDescription
      EncodeException​(java.lang.Object object, + java.lang.String message) +
      Constructor with the object being encoded, and the reason why it failed to be.
      +
      EncodeException​(java.lang.Object object, + java.lang.String message, + java.lang.Throwable cause) +
      Constructor with the object being encoded, and the reason why it failed to be, and the cause.
      +
      +
    • +
    +
    + +
    +
      +
    • + + +

      Method Summary

      + + + + + + + + + + + + +
      All Methods Instance Methods Concrete Methods 
      Modifier and TypeMethodDescription
      java.lang.ObjectgetObject() +
      Return the Object that could not be encoded.
      +
      +
        +
      • + + +

        Methods inherited from class java.lang.Throwable

        +addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
      • +
      +
        +
      • + + +

        Methods inherited from class java.lang.Object

        +clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
      • +
      +
    • +
    +
    +
  • +
+
+
+
    +
  • + +
    +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        EncodeException

        +
        public EncodeException​(java.lang.Object object,
        +                       java.lang.String message)
        +
        Constructor with the object being encoded, and the reason why it failed to be.
        +
        +
        Parameters:
        +
        object - the object that could not be encoded.
        +
        message - the reason for the failure.
        +
        +
      • +
      + + + +
        +
      • +

        EncodeException

        +
        public EncodeException​(java.lang.Object object,
        +                       java.lang.String message,
        +                       java.lang.Throwable cause)
        +
        Constructor with the object being encoded, and the reason why it failed to be, and the cause.
        +
        +
        Parameters:
        +
        object - the object that could not be encoded.
        +
        message - the reason for the failure.
        +
        cause - the cause of the problem.
        +
        +
      • +
      +
    • +
    +
    + +
    +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        getObject

        +
        public java.lang.Object getObject()
        +
        Return the Object that could not be encoded.
        +
        +
        Returns:
        +
        the object.
        +
        +
      • +
      +
    • +
    +
    +
  • +
+
+
+
+ + + + diff --git a/apidocs/1.19/javax/websocket/Encoder.Binary.html b/apidocs/1.19/javax/websocket/Encoder.Binary.html new file mode 100644 index 00000000..bb2a35cd --- /dev/null +++ b/apidocs/1.19/javax/websocket/Encoder.Binary.html @@ -0,0 +1,309 @@ + + + + + +Encoder.Binary (Tyrus 1.19 API) + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +

Interface Encoder.Binary<T>

+
+
+
+
    +
  • +
    +
    Type Parameters:
    +
    T - The type of the custom object that this Encoder can encoder to a ByteBuffer.
    +
    +
    +
    All Superinterfaces:
    +
    Encoder
    +
    +
    +
    All Known Implementing Classes:
    +
    NoOpByteArrayCoder, NoOpByteBufferCoder
    +
    +
    +
    Enclosing interface:
    +
    Encoder
    +
    +
    +
    public static interface Encoder.Binary<T>
    +extends Encoder
    +
    This interface defines how to provide a way to convert a custom + object into a binary message.
    +
  • +
+
+
+ +
+
+
    +
  • + +
    +
      +
    • + + +

      Method Detail

      + + + + + +
        +
      • +

        encode

        +
        java.nio.ByteBuffer encode​(T object)
        +                    throws EncodeException
        +
        Encode the given object into a byte array.
        +
        +
        Parameters:
        +
        object - the object being encoded.
        +
        Returns:
        +
        the binary data.
        +
        Throws:
        +
        EncodeException
        +
        +
      • +
      +
    • +
    +
    +
  • +
+
+
+
+ + + + diff --git a/apidocs/1.19/javax/websocket/Encoder.BinaryStream.html b/apidocs/1.19/javax/websocket/Encoder.BinaryStream.html new file mode 100644 index 00000000..26eef1e2 --- /dev/null +++ b/apidocs/1.19/javax/websocket/Encoder.BinaryStream.html @@ -0,0 +1,310 @@ + + + + + +Encoder.BinaryStream (Tyrus 1.19 API) + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +

Interface Encoder.BinaryStream<T>

+
+
+
+
    +
  • +
    +
    Type Parameters:
    +
    T - the type of the object this encoder can encode.
    +
    +
    +
    All Superinterfaces:
    +
    Encoder
    +
    +
    +
    Enclosing interface:
    +
    Encoder
    +
    +
    +
    public static interface Encoder.BinaryStream<T>
    +extends Encoder
    +
    This interface may be implemented by encoding algorithms + that want to write the encoded object to a binary stream.
    +
  • +
+
+
+ +
+
+
    +
  • + +
    +
      +
    • + + +

      Method Detail

      + + + + + +
        +
      • +

        encode

        +
        void encode​(T object,
        +            java.io.OutputStream os)
        +     throws EncodeException,
        +            java.io.IOException
        +
        Encode the given object into a binary stream written to the + implementation provided OutputStream.
        +
        +
        Parameters:
        +
        object - the object being encoded.
        +
        os - the output stream where the encoded data is written.
        +
        Throws:
        +
        EncodeException
        +
        java.io.IOException
        +
        +
      • +
      +
    • +
    +
    +
  • +
+
+
+
+ + + + diff --git a/apidocs/1.19/javax/websocket/Encoder.Text.html b/apidocs/1.19/javax/websocket/Encoder.Text.html new file mode 100644 index 00000000..00ae1779 --- /dev/null +++ b/apidocs/1.19/javax/websocket/Encoder.Text.html @@ -0,0 +1,309 @@ + + + + + +Encoder.Text (Tyrus 1.19 API) + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +

Interface Encoder.Text<T>

+
+
+
+
    +
  • +
    +
    Type Parameters:
    +
    T - The type of the custom developer object that this Encoder can encode into a String.
    +
    +
    +
    All Superinterfaces:
    +
    Encoder
    +
    +
    +
    All Known Implementing Classes:
    +
    NoOpTextCoder, ToStringEncoder
    +
    +
    +
    Enclosing interface:
    +
    Encoder
    +
    +
    +
    public static interface Encoder.Text<T>
    +extends Encoder
    +
    This interface defines how to provide a way to convert a custom + object into a text message.
    +
  • +
+
+
+ +
+
+
    +
  • + +
    +
      +
    • + + +

      Method Detail

      + + + + + +
        +
      • +

        encode

        +
        java.lang.String encode​(T object)
        +                 throws EncodeException
        +
        Encode the given object into a String.
        +
        +
        Parameters:
        +
        object - the object being encoded.
        +
        Returns:
        +
        the encoded object as a string.
        +
        Throws:
        +
        EncodeException
        +
        +
      • +
      +
    • +
    +
    +
  • +
+
+
+
+ + + + diff --git a/apidocs/1.19/javax/websocket/Encoder.TextStream.html b/apidocs/1.19/javax/websocket/Encoder.TextStream.html new file mode 100644 index 00000000..a33d8ff8 --- /dev/null +++ b/apidocs/1.19/javax/websocket/Encoder.TextStream.html @@ -0,0 +1,313 @@ + + + + + +Encoder.TextStream (Tyrus 1.19 API) + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +

Interface Encoder.TextStream<T>

+
+
+
+
    +
  • +
    +
    Type Parameters:
    +
    T - the type of the object this encoder can encode to a CharacterStream.
    +
    +
    +
    All Superinterfaces:
    +
    Encoder
    +
    +
    +
    Enclosing interface:
    +
    Encoder
    +
    +
    +
    public static interface Encoder.TextStream<T>
    +extends Encoder
    +
    This interface may be implemented by encoding algorithms + that want to write the encoded object to a character stream.
    +
  • +
+
+
+ +
+
+
    +
  • + +
    +
      +
    • + + +

      Method Detail

      + + + + + +
        +
      • +

        encode

        +
        void encode​(T object,
        +            java.io.Writer writer)
        +     throws EncodeException,
        +            java.io.IOException
        +
        Encode the given object to a character stream writing it + to the supplied Writer. Implementations of this method may use the EncodeException + to indicate a failure to convert the supplied object to an encoded form, and may + use the IOException to indicate a failure to write the data to the supplied + stream.
        +
        +
        Parameters:
        +
        object - the object to be encoded.
        +
        writer - the writer provided by the web socket runtime to write the encoded data.
        +
        Throws:
        +
        EncodeException - if there was an error encoding the object due to its state.
        +
        java.io.IOException - if there was an exception writing to the writer.
        +
        +
      • +
      +
    • +
    +
    +
  • +
+
+
+
+ + + + diff --git a/apidocs/1.19/javax/websocket/Encoder.html b/apidocs/1.19/javax/websocket/Encoder.html new file mode 100644 index 00000000..b9848d1b --- /dev/null +++ b/apidocs/1.19/javax/websocket/Encoder.html @@ -0,0 +1,357 @@ + + + + + +Encoder (Tyrus 1.19 API) + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +

Interface Encoder

+
+
+
+
    +
  • +
    +
    All Known Subinterfaces:
    +
    Encoder.Binary<T>, Encoder.BinaryStream<T>, Encoder.Text<T>, Encoder.TextStream<T>
    +
    +
    +
    All Known Implementing Classes:
    +
    CoderWrapper, NoOpByteArrayCoder, NoOpByteBufferCoder, NoOpTextCoder, ToStringEncoder
    +
    +
    +
    public interface Encoder
    +
    The Encoder interface defines how developers can provide a way to convert + their custom objects into web socket messages. The Encoder interface contains + subinterfaces that allow encoding algorithms to encode custom objects to: text, + binary data, character stream and write to an output stream. + The websocket implementation creates a new instance of the encoder per + endpoint instance per connection. This means that each encoder instance has + at most one calling thread at a time. + The lifecycle of the Encoder instance is governed by the container calls to the + init(javax.websocket.EndpointConfig) and destroy() + methods.
    +
    +
    Author:
    +
    dannycoward
    +
    +
  • +
+
+
+
    +
  • + +
    +
      +
    • + + +

      Nested Class Summary

      + + + + + + + + + + + + + + + + + + + + + + + + + + + +
      Nested Classes 
      Modifier and TypeInterfaceDescription
      static interface Encoder.Binary<T> +
      This interface defines how to provide a way to convert a custom + object into a binary message.
      +
      static interface Encoder.BinaryStream<T> +
      This interface may be implemented by encoding algorithms + that want to write the encoded object to a binary stream.
      +
      static interface Encoder.Text<T> +
      This interface defines how to provide a way to convert a custom + object into a text message.
      +
      static interface Encoder.TextStream<T> +
      This interface may be implemented by encoding algorithms + that want to write the encoded object to a character stream.
      +
      +
    • +
    +
    + +
    +
      +
    • + + +

      Method Summary

      + + + + + + + + + + + + + + + + + +
      All Methods Instance Methods Abstract Methods 
      Modifier and TypeMethodDescription
      voiddestroy() +
      This method is called when the encoder is about to be removed + from service in order that any resources the encoder used may + be closed gracefully.
      +
      voidinit​(EndpointConfig config) +
      This method is called with the endpoint configuration object of the + endpoint this encoder is intended for when + it is about to be brought into service.
      +
      +
    • +
    +
    +
  • +
+
+
+
    +
  • + +
    +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        init

        +
        void init​(EndpointConfig config)
        +
        This method is called with the endpoint configuration object of the + endpoint this encoder is intended for when + it is about to be brought into service.
        +
        +
        Parameters:
        +
        config - the endpoint configuration object when being brought into + service
        +
        +
      • +
      + + + +
        +
      • +

        destroy

        +
        void destroy()
        +
        This method is called when the encoder is about to be removed + from service in order that any resources the encoder used may + be closed gracefully.
        +
      • +
      +
    • +
    +
    +
  • +
+
+
+
+ + + + diff --git a/apidocs/1.19/javax/websocket/Endpoint.html b/apidocs/1.19/javax/websocket/Endpoint.html new file mode 100644 index 00000000..a723125b --- /dev/null +++ b/apidocs/1.19/javax/websocket/Endpoint.html @@ -0,0 +1,447 @@ + + + + + +Endpoint (Tyrus 1.19 API) + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +

Class Endpoint

+
+
+
    +
  • java.lang.Object
  • +
  • +
      +
    • javax.websocket.Endpoint
    • +
    +
  • +
+
+
    +
  • +
    +
    Direct Known Subclasses:
    +
    AnnotatedEndpoint
    +
    +
    +
    public abstract class Endpoint
    +extends java.lang.Object
    +
    The Web Socket Endpoint represents an object that can handle websocket conversations. + Developers may extend this class in order to implement a programmatic websocket + endpoint. The Endpoint class holds lifecycle methods that may be + overridden to intercept websocket open, error and close events. By implementing + the onOpen method, the programmatic endpoint gains access to the Session object, + to which the developer may add MessageHandler implementations in order to + intercept incoming websocket messages. Each instance + of a websocket endpoint is guaranteed not to be called by more than one thread + at a time per active connection. + +

    If deployed as a client endpoint, it will be instantiated once for the + single connection to the server. + +

    When deployed as a server endpoint, the implementation uses the + ServerEndpointConfig.Configurator.getEndpointInstance(java.lang.Class<T>) + method to obtain the + endpoint instance it will use for each new client connection. If the developer uses + the default ServerEndpointConfig.Configurator, + there will be precisely one + endpoint instance per active client connection. Consequently, in this typical + case, when implementing/overriding the methods of Endpoint, the developer is + guaranteed that there will be at most one thread calling each endpoint instance + at a time. + +

    If the developer provides a custom ServerEndpointConfig.Configurator + which overrides the default policy for endpoint instance creation, for example, + using a single Endpoint instance for multiple client connections, the developer + may need to write code that can execute concurrently. + +

    Here is an example of a simple endpoint that echoes any incoming text message back to the sender. +

    
    + public class EchoServer extends Endpoint {
    +
    +     public void onOpen(Session session, EndpointConfig config) {
    +         final RemoteEndpoint remote = session.getBasicRemote();
    +         session.addMessageHandler(String.class, new MessageHandler.Whole<String>() {
    +             public void onMessage(String text) {
    +                 try {
    +                     remote.sendString("Got your message (" + text + "). Thanks !");
    +                 } catch (IOException ioe) {
    +                     // handle send failure here
    +                 }
    +             }
    +         });
    +     }
    +
    + }
    + 
    +
    +
    Author:
    +
    dannycoward
    +
    +
  • +
+
+
+
    +
  • + +
    +
      +
    • + + +

      Constructor Summary

      + + + + + + + + + + +
      Constructors 
      ConstructorDescription
      Endpoint() 
      +
    • +
    +
    + +
    +
      +
    • + + +

      Method Summary

      + + + + + + + + + + + + + + + + + + + + + + +
      All Methods Instance Methods Abstract Methods Concrete Methods 
      Modifier and TypeMethodDescription
      voidonClose​(Session session, + CloseReason closeReason) +
      This method is called immediately prior to the session with the remote + peer being closed.
      +
      voidonError​(Session session, + java.lang.Throwable thr) +
      Developers may implement this method when the web socket session + creates some kind of error that is not modeled in the web socket protocol.
      +
      abstract voidonOpen​(Session session, + EndpointConfig config) +
      Developers must implement this method to be notified when a new conversation has + just begun.
      +
      +
        +
      • + + +

        Methods inherited from class java.lang.Object

        +clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • +
      +
    • +
    +
    +
  • +
+
+
+
    +
  • + +
    +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        Endpoint

        +
        public Endpoint()
        +
      • +
      +
    • +
    +
    + +
    +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        onOpen

        +
        public abstract void onOpen​(Session session,
        +                            EndpointConfig config)
        +
        Developers must implement this method to be notified when a new conversation has + just begun.
        +
        +
        Parameters:
        +
        session - the session that has just been activated.
        +
        config - the configuration used to configure this endpoint.
        +
        +
      • +
      + + + +
        +
      • +

        onClose

        +
        public void onClose​(Session session,
        +                    CloseReason closeReason)
        +
        This method is called immediately prior to the session with the remote + peer being closed. It is called whether the session is being closed + because the remote peer initiated a close and sent a close frame, or + whether the local websocket container or this endpoint requests to close + the session. The developer may take this last opportunity to retrieve + session attributes such as the ID, or any application data it holds before + it becomes unavailable after the completion of the method. Developers should + not attempt to modify the session from within this method, or send new + messages from this call as the underlying + connection will not be able to send them at this stage.
        +
        +
        Parameters:
        +
        session - the session about to be closed.
        +
        closeReason - the reason the session was closed.
        +
        +
      • +
      + + + +
        +
      • +

        onError

        +
        public void onError​(Session session,
        +                    java.lang.Throwable thr)
        +
        Developers may implement this method when the web socket session + creates some kind of error that is not modeled in the web socket protocol. This may for example + be a notification that an incoming message is too big to handle, or that the incoming message could not be encoded. + +

        There are a number of categories of exception that this method is (currently) defined to handle: +

          +
        • connection problems, for example, a socket failure that occurs before + the web socket connection can be formally closed. These are modeled as + SessionExceptions
        • +
        • runtime errors thrown by developer created message handlers calls.
        • +
        • conversion errors encoding incoming messages before any message handler has been called. These + are modeled as DecodeExceptions
        • +
        +
        +
        Parameters:
        +
        session - the session in use when the error occurs.
        +
        thr - the throwable representing the problem.
        +
        +
      • +
      +
    • +
    +
    +
  • +
+
+
+
+ + + + diff --git a/apidocs/1.19/javax/websocket/EndpointConfig.html b/apidocs/1.19/javax/websocket/EndpointConfig.html new file mode 100644 index 00000000..a6d9faa3 --- /dev/null +++ b/apidocs/1.19/javax/websocket/EndpointConfig.html @@ -0,0 +1,325 @@ + + + + + +EndpointConfig (Tyrus 1.19 API) + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +

Interface EndpointConfig

+
+
+
+
    +
  • +
    +
    All Known Subinterfaces:
    +
    ClientEndpointConfig, ServerEndpointConfig, TyrusServerEndpointConfig
    +
    +
    +
    public interface EndpointConfig
    +
    The endpoint configuration contains all the information needed during the handshake process + for this end point. All endpoints specify, for example, a URI. In the case of a server endpoint, + the URI signifies the URI to which the endpoint will be mapped. In the case of a client application + the URI signifies the URI of the server to which the client endpoint will attempt to connect.
    +
    +
    Author:
    +
    dannycoward
    +
    +
  • +
+
+
+
    +
  • + +
    +
      +
    • + + +

      Method Summary

      + + + + + + + + + + + + + + + + + + + + + + +
      All Methods Instance Methods Abstract Methods 
      Modifier and TypeMethodDescription
      java.util.List<java.lang.Class<? extends Decoder>>getDecoders() +
      Return the Decoder implementation classes configured.
      +
      java.util.List<java.lang.Class<? extends Encoder>>getEncoders() +
      Return the Encoder implementation classes configured.
      +
      java.util.Map<java.lang.String,​java.lang.Object>getUserProperties() +
      This method returns a modifiable Map that the developer may use to store application + specific information relating to the endpoint that uses this + configuration instance.
      +
      +
    • +
    +
    +
  • +
+
+
+
    +
  • + +
    +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        getEncoders

        +
        java.util.List<java.lang.Class<? extends Encoder>> getEncoders()
        +
        Return the Encoder implementation classes configured. These + will be instantiated by the container to encode custom objects passed into + the send() methods on remote endpoints.
        +
        +
        Returns:
        +
        the encoder implementation classes, an empty list if none.
        +
        +
      • +
      + + + +
        +
      • +

        getDecoders

        +
        java.util.List<java.lang.Class<? extends Decoder>> getDecoders()
        +
        Return the Decoder implementation classes configured. These + will be instantiated by the container to decode incoming messages + into the expected custom objects on MessageHandler.Whole.onMessage(Object) + callbacks.
        +
        +
        Returns:
        +
        the decoder implementation classes, the empty list if none.
        +
        +
      • +
      + + + +
        +
      • +

        getUserProperties

        +
        java.util.Map<java.lang.String,​java.lang.Object> getUserProperties()
        +
        This method returns a modifiable Map that the developer may use to store application + specific information relating to the endpoint that uses this + configuration instance. Web socket applications running on distributed + implementations of the web container should make any application + specific objects stored here java.io.Serializable, or the object may + not be recreated after a failover.
        +
        +
        Returns:
        +
        a modifiable Map of application data.
        +
        +
      • +
      +
    • +
    +
    +
  • +
+
+
+
+ + + + diff --git a/apidocs/1.19/javax/websocket/Extension.Parameter.html b/apidocs/1.19/javax/websocket/Extension.Parameter.html new file mode 100644 index 00000000..7857d51f --- /dev/null +++ b/apidocs/1.19/javax/websocket/Extension.Parameter.html @@ -0,0 +1,289 @@ + + + + + +Extension.Parameter (Tyrus 1.19 API) + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +

Interface Extension.Parameter

+
+
+
+
    +
  • +
    +
    All Known Implementing Classes:
    +
    TyrusExtension.TyrusParameter
    +
    +
    +
    Enclosing interface:
    +
    Extension
    +
    +
    +
    public static interface Extension.Parameter
    +
    This member interface defines a single websocket extension parameter.
    +
  • +
+
+
+
    +
  • + +
    +
      +
    • + + +

      Method Summary

      + + + + + + + + + + + + + + + + + +
      All Methods Instance Methods Abstract Methods 
      Modifier and TypeMethodDescription
      java.lang.StringgetName() +
      Return the name of the extension parameter.
      +
      java.lang.StringgetValue() +
      Return the value of the extension parameter.
      +
      +
    • +
    +
    +
  • +
+
+
+
    +
  • + +
    +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        getName

        +
        java.lang.String getName()
        +
        Return the name of the extension parameter.
        +
        +
        Returns:
        +
        the name of the parameter.
        +
        +
      • +
      + + + +
        +
      • +

        getValue

        +
        java.lang.String getValue()
        +
        Return the value of the extension parameter.
        +
        +
        Returns:
        +
        the value of the parameter.
        +
        +
      • +
      +
    • +
    +
    +
  • +
+
+
+
+ + + + diff --git a/apidocs/1.19/javax/websocket/Extension.html b/apidocs/1.19/javax/websocket/Extension.html new file mode 100644 index 00000000..982d803b --- /dev/null +++ b/apidocs/1.19/javax/websocket/Extension.html @@ -0,0 +1,320 @@ + + + + + +Extension (Tyrus 1.19 API) + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +

Interface Extension

+
+
+
+
    +
  • +
    +
    All Known Subinterfaces:
    +
    ExtendedExtension
    +
    +
    +
    All Known Implementing Classes:
    +
    TyrusExtension
    +
    +
    +
    public interface Extension
    +
    A simple representation of a websocket extension as a name and map of extension parameters.
    +
    +
    Author:
    +
    dannycoward
    +
    +
  • +
+
+
+
    +
  • + +
    +
      +
    • + + +

      Nested Class Summary

      + + + + + + + + + + + + +
      Nested Classes 
      Modifier and TypeInterfaceDescription
      static interface Extension.Parameter +
      This member interface defines a single websocket extension parameter.
      +
      +
    • +
    +
    + +
    + +
    +
  • +
+
+
+
    +
  • + +
    +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        getName

        +
        java.lang.String getName()
        +
        The name of the extension.
        +
        +
        Returns:
        +
        the name of the extension.
        +
        +
      • +
      + + + +
        +
      • +

        getParameters

        +
        java.util.List<Extension.Parameter> getParameters()
        +
        The extension parameters for this extension in the order + they appear in the http headers.
        +
        +
        Returns:
        +
        The read-only Map of extension parameters belonging to this extension.
        +
        +
      • +
      +
    • +
    +
    +
  • +
+
+
+
+ + + + diff --git a/apidocs/1.19/javax/websocket/HandshakeResponse.html b/apidocs/1.19/javax/websocket/HandshakeResponse.html new file mode 100644 index 00000000..1f2aab5b --- /dev/null +++ b/apidocs/1.19/javax/websocket/HandshakeResponse.html @@ -0,0 +1,318 @@ + + + + + +HandshakeResponse (Tyrus 1.19 API) + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +

Interface HandshakeResponse

+
+
+
+
    +
  • +
    +
    All Known Implementing Classes:
    +
    TyrusUpgradeResponse, UpgradeResponse
    +
    +
    +
    public interface HandshakeResponse
    +
    The handshake response represents the web socket-defined Http response + that is the response to the opening handshake request.
    +
    +
    Author:
    +
    dannycoward
    +
    +
  • +
+
+
+
    +
  • + +
    +
      +
    • + + +

      Field Summary

      + + + + + + + + + + + + +
      Fields 
      Modifier and TypeFieldDescription
      static java.lang.StringSEC_WEBSOCKET_ACCEPT +
      The Sec-WebSocket-Accept header name.
      +
      +
    • +
    +
    + +
    +
      +
    • + + +

      Method Summary

      + + + + + + + + + + + + +
      All Methods Instance Methods Abstract Methods 
      Modifier and TypeMethodDescription
      java.util.Map<java.lang.String,​java.util.List<java.lang.String>>getHeaders() +
      Return the list of Http headers sent by the web socket server.
      +
      +
    • +
    +
    +
  • +
+
+
+
    +
  • + +
    +
      +
    • + + +

      Field Detail

      + + + +
        +
      • +

        SEC_WEBSOCKET_ACCEPT

        +
        static final java.lang.String SEC_WEBSOCKET_ACCEPT
        +
        The Sec-WebSocket-Accept header name.
        +
        +
        See Also:
        +
        Constant Field Values
        +
        +
      • +
      +
    • +
    +
    + +
    +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        getHeaders

        +
        java.util.Map<java.lang.String,​java.util.List<java.lang.String>> getHeaders()
        +
        Return the list of Http headers sent by the web socket server.
        +
        +
        Returns:
        +
        the http headers .
        +
        +
      • +
      +
    • +
    +
    +
  • +
+
+
+
+ + + + diff --git a/apidocs/1.19/javax/websocket/MessageHandler.Partial.html b/apidocs/1.19/javax/websocket/MessageHandler.Partial.html new file mode 100644 index 00000000..dacd0c49 --- /dev/null +++ b/apidocs/1.19/javax/websocket/MessageHandler.Partial.html @@ -0,0 +1,312 @@ + + + + + +MessageHandler.Partial (Tyrus 1.19 API) + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +

Interface MessageHandler.Partial<T>

+
+
+
+
    +
  • +
    +
    Type Parameters:
    +
    T - The type of the object that represent pieces of the incoming message that this MessageHandler will consume.
    +
    +
    +
    All Superinterfaces:
    +
    MessageHandler
    +
    +
    +
    Enclosing interface:
    +
    MessageHandler
    +
    +
    +
    public static interface MessageHandler.Partial<T>
    +extends MessageHandler
    +
    This kind of handler is notified by the implementation as it becomes ready + to deliver parts of a whole message. + +

    For handling parts of text messages, the type T is String + +

    For handling parts of binary messages, the allowable types for T are +

      +
    • ByteBuffer
    • +
    • byte[]
    • +
    + +

    Developers should not continue to reference message objects of type ByteBuffer + after the completion of the onMessage() call, since they + may be recycled by the implementation. + +

    Note: Implementations may choose their own schemes for delivering large messages in smaller parts through this API. These + schemes may or may not bear a relationship to the underlying websocket dataframes in which the message + is received off the wire.

    +
  • +
+
+
+ +
+
+
    +
  • + +
    +
      +
    • + + +

      Method Detail

      + + + + + +
        +
      • +

        onMessage

        +
        void onMessage​(T partialMessage,
        +               boolean last)
        +
        Called when the next part of a message has been fully received.
        +
        +
        Parameters:
        +
        partialMessage - the partial message data.
        +
        last - flag to indicate if this partialMessage is the last of the whole message being delivered.
        +
        +
      • +
      +
    • +
    +
    +
  • +
+
+
+
+ + + + diff --git a/apidocs/1.19/javax/websocket/MessageHandler.Whole.html b/apidocs/1.19/javax/websocket/MessageHandler.Whole.html new file mode 100644 index 00000000..96eecb87 --- /dev/null +++ b/apidocs/1.19/javax/websocket/MessageHandler.Whole.html @@ -0,0 +1,316 @@ + + + + + +MessageHandler.Whole (Tyrus 1.19 API) + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +

Interface MessageHandler.Whole<T>

+
+
+
+
    +
  • +
    +
    Type Parameters:
    +
    T - The type of the message object that this MessageHandler will consume.
    +
    +
    +
    All Superinterfaces:
    +
    MessageHandler
    +
    +
    +
    Enclosing interface:
    +
    MessageHandler
    +
    +
    +
    public static interface MessageHandler.Whole<T>
    +extends MessageHandler
    +
    This kind of handler is notified by the container on arrival of a complete message. If the message is received in parts, + the container buffers it until it is has been fully received before this method is called. + +

    For handling incoming text messages, the allowed types for T are +

    + +

    For handling incoming binary messages, the allowed types for T are +

    + +

    For handling incoming pong messages, the type of T is PongMessage + +

    Developers should not continue to reference message objects of type Reader, ByteBuffer + or InputStream after the completion of the onMessage() call, since they + may be recycled by the implementation.

    +
  • +
+
+
+ +
+
+
    +
  • + +
    +
      +
    • + + +

      Method Detail

      + + + + + +
        +
      • +

        onMessage

        +
        void onMessage​(T message)
        +
        Called when the message has been fully received.
        +
        +
        Parameters:
        +
        message - the message data.
        +
        +
      • +
      +
    • +
    +
    +
  • +
+
+
+
+ + + + diff --git a/apidocs/1.19/javax/websocket/MessageHandler.html b/apidocs/1.19/javax/websocket/MessageHandler.html new file mode 100644 index 00000000..12a9fe9c --- /dev/null +++ b/apidocs/1.19/javax/websocket/MessageHandler.html @@ -0,0 +1,249 @@ + + + + + +MessageHandler (Tyrus 1.19 API) + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +

Interface MessageHandler

+
+
+
+
    +
  • +
    +
    All Known Subinterfaces:
    +
    MessageHandler.Partial<T>, MessageHandler.Whole<T>
    +
    +
    +
    public interface MessageHandler
    +
    Developers implement MessageHandlers in order to receive incoming messages + during a web socket conversation. + Each web socket session uses no more than one thread at a time to call its MessageHandlers. This means + that, provided each message handler instance is used to handle messages for one web socket session, at most + one thread at a time can be calling any of its methods. Developers who wish to handle messages from multiple + clients within the same message handlers may do so by adding the same instance as a handler on each of the Session + objects for the clients. In that case, they will need to code with the possibility of their MessageHandler + being called concurrently by multiple threads, each one arising from a different client session. + +

    See Endpoint for a usage example.

    +
    +
    Author:
    +
    dannycoward
    +
    +
  • +
+
+
+
    +
  • + +
    +
      +
    • + + +

      Nested Class Summary

      + + + + + + + + + + + + + + + + + +
      Nested Classes 
      Modifier and TypeInterfaceDescription
      static interface MessageHandler.Partial<T> +
      This kind of handler is notified by the implementation as it becomes ready + to deliver parts of a whole message.
      +
      static interface MessageHandler.Whole<T> +
      This kind of handler is notified by the container on arrival of a complete message.
      +
      +
    • +
    +
    +
  • +
+
+
+
+ +
+ +

Copyright © 2012–2022 Oracle Corporation. All rights reserved.

+
+ + diff --git a/apidocs/1.19/javax/websocket/OnClose.html b/apidocs/1.19/javax/websocket/OnClose.html new file mode 100644 index 00000000..3ef10ad0 --- /dev/null +++ b/apidocs/1.19/javax/websocket/OnClose.html @@ -0,0 +1,209 @@ + + + + + +OnClose (Tyrus 1.19 API) + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +

Annotation Type OnClose

+
+
+
+
    +
  • +
    +
    @Retention(RUNTIME)
    +@Target(METHOD)
    +public @interface OnClose
    +
    This method level annotation can be used to decorate a Java method that wishes + to be called when a web socket session is closing. + +

    The method may only take the following parameters:- +

      +
    • optional Session parameter
    • +
    • optional CloseReason parameter
    • +
    • Zero to n String parameters annotated with the PathParam + annotation.
    • +
    + +

    The parameters may appear in any order. See + Endpoint.onClose(javax.websocket.Session, javax.websocket.CloseReason) + for more details on how the session parameter may be used during method calls + annotated with this annotation.

    +
    +
    Author:
    +
    dannycoward
    +
    +
  • +
+
+
+
+ +
+ +

Copyright © 2012–2022 Oracle Corporation. All rights reserved.

+
+ + diff --git a/apidocs/1.19/javax/websocket/OnError.html b/apidocs/1.19/javax/websocket/OnError.html new file mode 100644 index 00000000..5b67e8d6 --- /dev/null +++ b/apidocs/1.19/javax/websocket/OnError.html @@ -0,0 +1,206 @@ + + + + + +OnError (Tyrus 1.19 API) + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +

Annotation Type OnError

+
+
+
+
    +
  • +
    +
    @Retention(RUNTIME)
    +@Target(METHOD)
    +public @interface OnError
    +
    This method level annotation can be used to decorate a Java method that wishes to be called in order + to handle errors. See Endpoint.onError(javax.websocket.Session, java.lang.Throwable) for + a description of the different categories of error. + +

    The method may only take the following parameters:- +

      +
    • optional Session parameter
    • +
    • a Throwable parameter
    • +
    • Zero to n String parameters annotated with the PathParam annotation
    • +
    + +

    The parameters may appear in any order.

    +
    +
    Author:
    +
    dannycoward
    +
    +
  • +
+
+
+
+ +
+ +

Copyright © 2012–2022 Oracle Corporation. All rights reserved.

+
+ + diff --git a/apidocs/1.19/javax/websocket/OnMessage.html b/apidocs/1.19/javax/websocket/OnMessage.html new file mode 100644 index 00000000..7194ce57 --- /dev/null +++ b/apidocs/1.19/javax/websocket/OnMessage.html @@ -0,0 +1,344 @@ + + + + + +OnMessage (Tyrus 1.19 API) + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +

Annotation Type OnMessage

+
+
+
+
    +
  • +
    +
    @Retention(RUNTIME)
    +@Target(METHOD)
    +public @interface OnMessage
    +
    This method level annotation can be used to make a Java method receive incoming web socket messages. Each websocket + endpoint may only have one message handling method for each of the native websocket message formats: text, binary and pong. Methods + using this annotation are allowed to have + parameters of types described below, otherwise the container will generate an error at deployment time. +

    The allowed parameters are: +

      +
    1. Exactly one of any of the following choices +
        +
      • if the method is handling text messages: +
          +
        • String to receive the whole message
        • +
        • Java primitive or class equivalent to receive the whole message converted to that type
        • +
        • String and boolean pair to receive the message in parts
        • +
        • Reader to receive the whole message as a blocking stream
        • +
        • any object parameter for which the endpoint has a text decoder (Decoder.Text or + Decoder.TextStream).
        • +
        +
      • +
      • if the method is handling binary messages: +
          +
        • byte[] or ByteBuffer to receive the whole message
        • +
        • byte[] and boolean pair, or ByteBuffer and boolean pair to receive the message in parts
        • +
        • InputStream to receive the whole message as a blocking stream
        • +
        • any object parameter for which the endpoint has a binary decoder (Decoder.Binary or + Decoder.BinaryStream).
        • +
        +
      • +
      • if the method is handling pong messages: + +
      • +
      +
    2. +
    3. and Zero to n String or Java primitive parameters + annotated with the PathParam annotation for server endpoints.
    4. +
    5. and an optional Session parameter
    6. +
    +

    + The parameters may be listed in any order. + +

    The method may have a non-void return type, in which case the web socket + runtime must interpret this as a web socket message to return to the peer. + The allowed data types for this return type, other than void, are String, + ByteBuffer, byte[], any Java primitive or class equivalent, and anything for + which there is an encoder. If the method uses a Java primitive as a return + value, the implementation must construct the text message to send using the + standard Java string representation of the Java primitive unless there developer + provided encoder for the type configured for this endpoint, in which + case that encoder must be used. If the method uses + a class equivalent of a Java primitive as a return value, the implementation + must construct the text message from the Java primitive equivalent as + described above. + +

    Developers should + note that if developer closes the session during the invocation of a method with a return type, the method will complete but the + return value will not be delivered to the remote endpoint. The send failure will be passed back into the endpoint's error handling method. + +

    For example: +

    
    + @OnMessage
    + public void processGreeting(String message, Session session) {
    +     System.out.println("Greeting received:" + message);
    + }
    + 
    + For example: +
    
    + @OnMessage
    + public void processUpload(byte[] b, boolean last, Session session) {
    +     // process partial data here, which check on last to see if these is more on the way
    + }
    + 
    + Developers should not continue to reference message objects of type Reader, ByteBuffer + or InputStream after the annotated method has completed, since they + may be recycled by the implementation.
    +
    +
    Author:
    +
    dannycoward
    +
    +
  • +
+
+
+
    +
  • + +
    +
      +
    • + + +

      Optional Element Summary

      + + + + + + + + + + + + +
      Optional Elements 
      Modifier and TypeOptional ElementDescription
      longmaxMessageSize +
      Specifies the maximum size of message in bytes that the method + this annotates will be able to process, or -1 to indicate + that there is no maximum.
      +
      +
    • +
    +
    +
  • +
+
+
+
    +
  • + +
    +
      +
    • + + +

      Element Detail

      + + + +
        +
      • +

        maxMessageSize

        +
        long maxMessageSize
        +
        Specifies the maximum size of message in bytes that the method + this annotates will be able to process, or -1 to indicate + that there is no maximum. The default is -1. This attribute only + applies when the annotation is used to process whole messages, not to + those methods that process messages in parts or use a stream or reader + parameter to handle the incoming message. + If the incoming whole message exceeds this limit, then the implementation + generates an error and closes the connection using the reason that + the message was too big.
        +
        +
        Returns:
        +
        the maximum size in bytes.
        +
        +
        +
        Default:
        +
        -1L
        +
        +
      • +
      +
    • +
    +
    +
  • +
+
+
+
+ + + + diff --git a/apidocs/1.19/javax/websocket/OnOpen.html b/apidocs/1.19/javax/websocket/OnOpen.html new file mode 100644 index 00000000..ad4ca61a --- /dev/null +++ b/apidocs/1.19/javax/websocket/OnOpen.html @@ -0,0 +1,205 @@ + + + + + +OnOpen (Tyrus 1.19 API) + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +

Annotation Type OnOpen

+
+
+
+
    +
  • +
    +
    @Retention(RUNTIME)
    +@Target(METHOD)
    +public @interface OnOpen
    +
    This method level annotation can be used to decorate a Java method that wishes to be called when a new + web socket session is open. + +

    The method may only take the following parameters:- +

    + +

    The parameters may appear in any order.

    +
    +
    Author:
    +
    dannycoward
    +
    +
  • +
+
+
+
+ +
+ +

Copyright © 2012–2022 Oracle Corporation. All rights reserved.

+
+ + diff --git a/apidocs/1.19/javax/websocket/PongMessage.html b/apidocs/1.19/javax/websocket/PongMessage.html new file mode 100644 index 00000000..45503ec9 --- /dev/null +++ b/apidocs/1.19/javax/websocket/PongMessage.html @@ -0,0 +1,265 @@ + + + + + +PongMessage (Tyrus 1.19 API) + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +

Interface PongMessage

+
+
+
+
    +
  • +
    +
    public interface PongMessage
    +
    The PongMessage interface represents a web socket pong. PongMessages may be received by using + a MessageHandler.Basic<PongMessage>. The payload of the PongMessage is the application data sent by the peer.
    +
    +
    Author:
    +
    dannycoward
    +
    +
  • +
+
+
+ +
+
+
    +
  • + +
    +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        getApplicationData

        +
        java.nio.ByteBuffer getApplicationData()
        +
        The application data inside the pong message from the peer.
        +
        +
        Returns:
        +
        the application data.
        +
        +
      • +
      +
    • +
    +
    +
  • +
+
+
+
+ + + + diff --git a/apidocs/1.19/javax/websocket/RemoteEndpoint.Async.html b/apidocs/1.19/javax/websocket/RemoteEndpoint.Async.html new file mode 100644 index 00000000..d5b51f42 --- /dev/null +++ b/apidocs/1.19/javax/websocket/RemoteEndpoint.Async.html @@ -0,0 +1,508 @@ + + + + + +RemoteEndpoint.Async (Tyrus 1.19 API) + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +

Interface RemoteEndpoint.Async

+
+
+
+
    +
  • +
    +
    All Superinterfaces:
    +
    RemoteEndpoint
    +
    +
    +
    Enclosing interface:
    +
    RemoteEndpoint
    +
    +
    +
    public static interface RemoteEndpoint.Async
    +extends RemoteEndpoint
    +
    This representation of the peer of a web socket conversation has the ability + to send messages asynchronously. The point of completion of the send is + defined when all the supplied data has been written to the underlying connection. + The completion handlers for the asynchronous methods are always called with + a different thread from that which initiated the send.
    +
  • +
+
+
+
    +
  • + +
    + +
    + +
    +
      +
    • + + +

      Method Summary

      + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
      All Methods Instance Methods Abstract Methods 
      Modifier and TypeMethodDescription
      longgetSendTimeout() +
      Return the number of milliseconds the implementation will timeout + attempting to send a websocket message.
      +
      java.util.concurrent.Future<java.lang.Void>sendBinary​(java.nio.ByteBuffer data) +
      Initiates the asynchronous transmission of a binary message.
      +
      voidsendBinary​(java.nio.ByteBuffer data, + SendHandler handler) +
      Initiates the asynchronous transmission of a binary message.
      +
      java.util.concurrent.Future<java.lang.Void>sendObject​(java.lang.Object data) +
      Initiates the asynchronous transmission of a custom developer object.
      +
      voidsendObject​(java.lang.Object data, + SendHandler handler) +
      Initiates the asynchronous transmission of a custom developer object.
      +
      java.util.concurrent.Future<java.lang.Void>sendText​(java.lang.String text) +
      Initiates the asynchronous transmission of a text message.
      +
      voidsendText​(java.lang.String text, + SendHandler handler) +
      Initiates the asynchronous transmission of a text message.
      +
      voidsetSendTimeout​(long timeoutmillis) +
      Sets the number of milliseconds the implementation will timeout + attempting to send a websocket message.
      +
      + +
    • +
    +
    +
  • +
+
+
+
    +
  • + +
    +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        getSendTimeout

        +
        long getSendTimeout()
        +
        Return the number of milliseconds the implementation will timeout + attempting to send a websocket message. A non-positive number indicates + the implementation will not timeout attempting to send a websocket message + asynchronously. This value overrides the default value assigned in the + WebSocketContainer.
        +
        +
        Returns:
        +
        the timeout time in milliseconds.
        +
        +
      • +
      + + + +
        +
      • +

        setSendTimeout

        +
        void setSendTimeout​(long timeoutmillis)
        +
        Sets the number of milliseconds the implementation will timeout + attempting to send a websocket message. A non-positive number indicates + the implementation will not timeout attempting to send a websocket message + asynchronously. This value overrides the default value assigned in the + WebSocketContainer.
        +
        +
        Parameters:
        +
        timeoutmillis - The number of milliseconds this RemoteEndpoint will wait before timing out + an incomplete asynchronous message send.
        +
        +
      • +
      + + + +
        +
      • +

        sendText

        +
        void sendText​(java.lang.String text,
        +              SendHandler handler)
        +
        Initiates the asynchronous transmission of a text message. This method returns before the message + is transmitted. Developers provide a callback to be notified when the message has been + transmitted. Errors + in transmission are given to the developer in the SendResult object.
        +
        +
        Parameters:
        +
        text - the text being sent.
        +
        handler - the handler which will be notified of progress.
        +
        Throws:
        +
        java.lang.IllegalArgumentException - if the text or the handler is null.
        +
        +
      • +
      + + + +
        +
      • +

        sendText

        +
        java.util.concurrent.Future<java.lang.Void> sendText​(java.lang.String text)
        +
        Initiates the asynchronous transmission of a text message. This method + returns before the message is transmitted. Developers use the + returned Future object to track progress of the transmission. The + Future's get() method returns null upon successful completion. Errors + in transmission are wrapped in the ExecutionException + thrown when querying the Future object.
        +
        +
        Parameters:
        +
        text - the text being sent.
        +
        Returns:
        +
        the Future object representing the send operation.
        +
        Throws:
        +
        java.lang.IllegalArgumentException - if the text is null.
        +
        +
      • +
      + + + +
        +
      • +

        sendBinary

        +
        java.util.concurrent.Future<java.lang.Void> sendBinary​(java.nio.ByteBuffer data)
        +
        Initiates the asynchronous transmission of a binary message. This method returns before the message + is transmitted. Developers use the returned Future object to track progress of the transmission. The + Future's get() method returns null upon successful completion. Errors + in transmission are wrapped in the ExecutionException + thrown when querying the Future object.
        +
        +
        Parameters:
        +
        data - the data being sent.
        +
        Returns:
        +
        the Future object representing the send operation.
        +
        Throws:
        +
        java.lang.IllegalArgumentException - if the data is null.
        +
        +
      • +
      + + + +
        +
      • +

        sendBinary

        +
        void sendBinary​(java.nio.ByteBuffer data,
        +                SendHandler handler)
        +
        Initiates the asynchronous transmission of a binary message. This method returns before the message + is transmitted. Developers provide a callback to be notified when the message has been + transmitted. Errors in transmission are given to the developer in the SendResult object.
        +
        +
        Parameters:
        +
        data - the data being sent, must not be null.
        +
        handler - the handler that will be notified of progress, must not be null.
        +
        Throws:
        +
        java.lang.IllegalArgumentException - if either the data or the handler are null.
        +
        +
      • +
      + + + +
        +
      • +

        sendObject

        +
        java.util.concurrent.Future<java.lang.Void> sendObject​(java.lang.Object data)
        +
        Initiates the asynchronous transmission of a custom developer object. + The developer will have provided an encoder for this object + type in the endpoint configuration. Containers will by default be able + to encode java primitive types and their object equivalents, otherwise + the developer must have provided an encoder for the object type in the + endpoint configuration. Progress may be tracked using the Future object. + The Future's get() methods return null upon successful completion. Errors + in transmission are wrapped in the ExecutionException + thrown when querying the Future object.
        +
        +
        Parameters:
        +
        data - the object being sent.
        +
        Returns:
        +
        the Future object representing the send operation.
        +
        Throws:
        +
        java.lang.IllegalArgumentException - if the data is null.
        +
        +
      • +
      + + + +
        +
      • +

        sendObject

        +
        void sendObject​(java.lang.Object data,
        +                SendHandler handler)
        +
        Initiates the asynchronous transmission of a custom developer object. + Containers will by default be able to encode java primitive types and + their object equivalents, otherwise the developer must have provided an encoder + for the object type in the endpoint configuration. Developers + are notified when transmission is complete through the supplied callback object.
        +
        +
        Parameters:
        +
        data - the object being sent.
        +
        handler - the handler that will be notified of progress, must not be null.
        +
        Throws:
        +
        java.lang.IllegalArgumentException - if either the data or the handler are null.
        +
        +
      • +
      +
    • +
    +
    +
  • +
+
+
+
+ + + + diff --git a/apidocs/1.19/javax/websocket/RemoteEndpoint.Basic.html b/apidocs/1.19/javax/websocket/RemoteEndpoint.Basic.html new file mode 100644 index 00000000..ea183d7a --- /dev/null +++ b/apidocs/1.19/javax/websocket/RemoteEndpoint.Basic.html @@ -0,0 +1,476 @@ + + + + + +RemoteEndpoint.Basic (Tyrus 1.19 API) + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +

Interface RemoteEndpoint.Basic

+
+
+
+
    +
  • +
    +
    All Superinterfaces:
    +
    RemoteEndpoint
    +
    +
    +
    Enclosing interface:
    +
    RemoteEndpoint
    +
    +
    +
    public static interface RemoteEndpoint.Basic
    +extends RemoteEndpoint
    +
    This representation of the peer of a web socket conversation has the ability + to send messages synchronously. The point of completion of the send is + defined when all the supplied data has been written to the underlying connection. + The methods for sending messages on the RemoteEndpoint.Basic block until this + point of completion is reached, except for getSendStream + and getSendWriter which present + traditional blocking I/O streams to write messages. + +

    If the websocket connection underlying this RemoteEndpoint is busy sending a message when a call is made + to send another one, for example if two threads attempt to call a send method + concurrently, or if a developer attempts to send a new message while in the + middle of sending an existing one, the send method called while + the connection is already busy may throw an IllegalStateException.

    +
  • +
+
+
+
    +
  • + +
    + +
    + +
    +
      +
    • + + +

      Method Summary

      + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
      All Methods Instance Methods Abstract Methods 
      Modifier and TypeMethodDescription
      java.io.OutputStreamgetSendStream() +
      Opens an output stream on which a binary message may be sent.
      +
      java.io.WritergetSendWriter() +
      Opens an character stream on which a text message may be sent.
      +
      voidsendBinary​(java.nio.ByteBuffer data) +
      Send a binary message, returning when all of the message has been transmitted.
      +
      voidsendBinary​(java.nio.ByteBuffer partialByte, + boolean isLast) +
      Send a binary message in parts, blocking until all of the message has been transmitted.
      +
      voidsendObject​(java.lang.Object data) +
      Sends a custom developer object, blocking until it has been transmitted.
      +
      voidsendText​(java.lang.String text) +
      Send a text message, blocking until all of the message has been transmitted.
      +
      voidsendText​(java.lang.String partialMessage, + boolean isLast) +
      Send a text message in parts, blocking until all of the message has been transmitted.
      +
      + +
    • +
    +
    +
  • +
+
+
+
    +
  • + +
    +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        sendText

        +
        void sendText​(java.lang.String text)
        +       throws java.io.IOException
        +
        Send a text message, blocking until all of the message has been transmitted.
        +
        +
        Parameters:
        +
        text - the message to be sent.
        +
        Throws:
        +
        java.io.IOException - if there is a problem delivering the message.
        +
        java.lang.IllegalArgumentException - if the text is null.
        +
        +
      • +
      + + + +
        +
      • +

        sendBinary

        +
        void sendBinary​(java.nio.ByteBuffer data)
        +         throws java.io.IOException
        +
        Send a binary message, returning when all of the message has been transmitted.
        +
        +
        Parameters:
        +
        data - the message to be sent.
        +
        Throws:
        +
        java.io.IOException - if there is a problem delivering the message.
        +
        java.lang.IllegalArgumentException - if the data is null.
        +
        +
      • +
      + + + +
        +
      • +

        sendText

        +
        void sendText​(java.lang.String partialMessage,
        +              boolean isLast)
        +       throws java.io.IOException
        +
        Send a text message in parts, blocking until all of the message has been transmitted. The runtime + reads the message in order. Non-final parts of the message are sent with isLast set to false. The final part + must be sent with isLast set to true.
        +
        +
        Parameters:
        +
        partialMessage - the parts of the message being sent.
        +
        isLast - Whether the partial message being sent is the last part of the message.
        +
        Throws:
        +
        java.io.IOException - if there is a problem delivering the message fragment.
        +
        java.lang.IllegalArgumentException - if the partialMessage is null.
        +
        +
      • +
      + + + +
        +
      • +

        sendBinary

        +
        void sendBinary​(java.nio.ByteBuffer partialByte,
        +                boolean isLast)
        +         throws java.io.IOException
        +
        Send a binary message in parts, blocking until all of the message has been transmitted. The runtime + reads the message in order. Non-final parts are sent with isLast set to false. The final piece + must be sent with isLast set to true.
        +
        +
        Parameters:
        +
        partialByte - the part of the message being sent.
        +
        isLast - Whether the partial message being sent is the last part of the message.
        +
        Throws:
        +
        java.io.IOException - if there is a problem delivering the partial message.
        +
        java.lang.IllegalArgumentException - if the partialByte is null.
        +
        +
      • +
      + + + +
        +
      • +

        getSendStream

        +
        java.io.OutputStream getSendStream()
        +                            throws java.io.IOException
        +
        Opens an output stream on which a binary message may be sent. The developer must close the output stream in order + to indicate that the complete message has been placed into the output stream.
        +
        +
        Returns:
        +
        the output stream to which the message will be written.
        +
        Throws:
        +
        java.io.IOException - if there is a problem obtaining the OutputStream to write the binary message.
        +
        +
      • +
      + + + +
        +
      • +

        getSendWriter

        +
        java.io.Writer getSendWriter()
        +                      throws java.io.IOException
        +
        Opens an character stream on which a text message may be sent. The developer must close the writer in order + to indicate that the complete message has been placed into the character stream.
        +
        +
        Returns:
        +
        the writer to which the message will be written.
        +
        Throws:
        +
        java.io.IOException - if there is a problem obtaining the Writer to write the text message.
        +
        +
      • +
      + + + +
        +
      • +

        sendObject

        +
        void sendObject​(java.lang.Object data)
        +         throws java.io.IOException,
        +                EncodeException
        +
        Sends a custom developer object, blocking until it has been transmitted. + Containers will by default be able to encode java primitive types and + their object equivalents, otherwise the developer must have provided an encoder + for the object type in the endpoint configuration. A developer-provided + encoder for a Java primitive type overrides the container default + encoder.
        +
        +
        Parameters:
        +
        data - the object to be sent.
        +
        Throws:
        +
        java.io.IOException - if there is a communication error sending the message object.
        +
        EncodeException - if there was a problem encoding the message object into the form of a native websocket message.
        +
        java.lang.IllegalArgumentException - if the data parameter is null
        +
        +
      • +
      +
    • +
    +
    +
  • +
+
+
+
+ + + + diff --git a/apidocs/1.19/javax/websocket/RemoteEndpoint.html b/apidocs/1.19/javax/websocket/RemoteEndpoint.html new file mode 100644 index 00000000..80cb8ca4 --- /dev/null +++ b/apidocs/1.19/javax/websocket/RemoteEndpoint.html @@ -0,0 +1,456 @@ + + + + + +RemoteEndpoint (Tyrus 1.19 API) + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +

Interface RemoteEndpoint

+
+
+
+
    +
  • +
    +
    All Known Subinterfaces:
    +
    RemoteEndpoint.Async, RemoteEndpoint.Basic
    +
    +
    +
    All Known Implementing Classes:
    +
    TyrusRemoteEndpoint
    +
    +
    +
    public interface RemoteEndpoint
    +
    The RemoteEndpoint object is supplied by the container and represents the + 'other end' or peer of the Web Socket conversation. Instances of the RemoteEndpoint + are obtained from the Session using Session.getBasicRemote() or + Session.getAsyncRemote(). + Objects of this kind include numerous ways to send web socket messages. There + are two kinds of RemoteEndpoint objects: RemoteEndpoint.Basic for synchronous + sending of websocket messages, and RemoteEndpoint.Async for sending messages + asynchronously. + +

    There is no guarantee of the successful delivery of a web socket message to + the peer, but if the action of sending a message causes an error known to + the container, the API throws it. + RemoteEndpoints include a variety of ways to send messages: by whole message, + in parts, and in various data formats including websocket pings and pongs. + +

    Implementations + may or may not support batching of messages. More detail of the expected semantics + of implementations that do support batching are laid out in setBatchingAllowed(boolean). + +

    Note: Implementations may choose their own schemes for sending large messages in smaller parts. These + schemes may or may not bear a relationship to the underlying websocket dataframes in which the message + is ultimately sent on the wire. + +

    If the underlying connection is closed and methods on the RemoteEndpoint are attempted to be called, they will + result in an error being generated. For the methods that send messages, this will be an IOException, for the methods + that alter configuration of the endpoint, this will be runtime IllegalArgumentExceptions.

    +
    +
    Author:
    +
    dannycoward
    +
    +
  • +
+
+
+
    +
  • + +
    +
      +
    • + + +

      Nested Class Summary

      + + + + + + + + + + + + + + + + + +
      Nested Classes 
      Modifier and TypeInterfaceDescription
      static interface RemoteEndpoint.Async +
      This representation of the peer of a web socket conversation has the ability + to send messages asynchronously.
      +
      static interface RemoteEndpoint.Basic +
      This representation of the peer of a web socket conversation has the ability + to send messages synchronously.
      +
      +
    • +
    +
    + +
    +
      +
    • + + +

      Method Summary

      + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
      All Methods Instance Methods Abstract Methods 
      Modifier and TypeMethodDescription
      voidflushBatch() +
      This method is only used when batching is allowed for this RemoteEndpint.
      +
      booleangetBatchingAllowed() +
      Return whether the implementation is allowed to batch outgoing messages + before sending.
      +
      voidsendPing​(java.nio.ByteBuffer applicationData) +
      Send a Ping message containing the given application data to the remote endpoint.
      +
      voidsendPong​(java.nio.ByteBuffer applicationData) +
      Allows the developer to send an unsolicited Pong message containing the given application + data in order to serve as a unidirectional + heartbeat for the session.
      +
      voidsetBatchingAllowed​(boolean allowed) +
      Indicate to the implementation that it is allowed to batch outgoing messages + before sending.
      +
      +
    • +
    +
    +
  • +
+
+
+
    +
  • + +
    +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        setBatchingAllowed

        +
        void setBatchingAllowed​(boolean allowed)
        +                 throws java.io.IOException
        +
        Indicate to the implementation that it is allowed to batch outgoing messages + before sending. Not all implementations support batching of outgoing messages. + The default mode for RemoteEndpoints is false. If the developer + has indicated that batching of outgoing + messages is permitted, then the developer must call flushBatch() in order to be + sure that all the messages passed into the send methods of this RemoteEndpoint + are sent. + When batching is allowed, the implementations send operations are considered + to have completed if the message has been written to the local batch, in + the case when there is still room in the batch for the message, and are considered + to have completed if the batch has been send to the peer and the remainder + written to the new batch, in the case when + writing the message causes the batch to need to be sent. The blocking + and asynchronous send methods use this notion of completion in order + to complete blocking calls, notify SendHandlers and complete Futures respectively. + When batching is allowed, if the developer has called send methods + on this RemoteEndpoint without calling flushBatch(), then the implementation + may not have sent all the messages the developer has asked to be sent. If + the parameter value is false and the implementation has a batch of unsent messages, + then the implementation must immediately send the batch of unsent messages.
        +
        +
        Parameters:
        +
        allowed - whether the implementation is allowed to batch messages.
        +
        Throws:
        +
        java.io.IOException - if batching is being disabled and there are unsent messages + this error may be thrown as the implementation sends the batch of unsent messages if + there is a problem.
        +
        +
      • +
      + + + +
        +
      • +

        getBatchingAllowed

        +
        boolean getBatchingAllowed()
        +
        Return whether the implementation is allowed to batch outgoing messages + before sending. The default mode for RemoteEndpoints is false. The value + may be changed by calling setBatchingAllowed.
        +
      • +
      + + + +
        +
      • +

        flushBatch

        +
        void flushBatch()
        +         throws java.io.IOException
        +
        This method is only used when batching is allowed for this RemoteEndpint. Calling + this method forces the implementation to send any unsent messages it has been batching.
        +
        +
        Throws:
        +
        java.io.IOException
        +
        +
      • +
      + + + +
        +
      • +

        sendPing

        +
        void sendPing​(java.nio.ByteBuffer applicationData)
        +       throws java.io.IOException,
        +              java.lang.IllegalArgumentException
        +
        Send a Ping message containing the given application data to the remote endpoint. The corresponding Pong message may be picked + up using the MessageHandler.Pong handler.
        +
        +
        Parameters:
        +
        applicationData - the data to be carried in the ping request.
        +
        Throws:
        +
        java.io.IOException - if the ping failed to be sent
        +
        java.lang.IllegalArgumentException - if the applicationData exceeds the maximum allowed payload of 125 bytes
        +
        +
      • +
      + + + +
        +
      • +

        sendPong

        +
        void sendPong​(java.nio.ByteBuffer applicationData)
        +       throws java.io.IOException,
        +              java.lang.IllegalArgumentException
        +
        Allows the developer to send an unsolicited Pong message containing the given application + data in order to serve as a unidirectional + heartbeat for the session.
        +
        +
        Parameters:
        +
        applicationData - the application data to be carried in the pong response.
        +
        Throws:
        +
        java.io.IOException - if the pong failed to be sent
        +
        java.lang.IllegalArgumentException - if the applicationData exceeds the maximum allowed payload of 125 bytes
        +
        +
      • +
      +
    • +
    +
    +
  • +
+
+
+
+ + + + diff --git a/apidocs/1.19/javax/websocket/SendHandler.html b/apidocs/1.19/javax/websocket/SendHandler.html new file mode 100644 index 00000000..cda967f8 --- /dev/null +++ b/apidocs/1.19/javax/websocket/SendHandler.html @@ -0,0 +1,264 @@ + + + + + +SendHandler (Tyrus 1.19 API) + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +

Interface SendHandler

+
+
+
+
    +
  • +
    +
    public interface SendHandler
    +
    A simple callback object for asynchronous sending of web socket messages.
    +
    +
    Author:
    +
    dannycoward
    +
    +
  • +
+
+
+ +
+
+
    +
  • + +
    +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        onResult

        +
        void onResult​(SendResult result)
        +
        Called once the message has been transmitted.
        +
        +
        Parameters:
        +
        result - the result.
        +
        +
      • +
      +
    • +
    +
    +
  • +
+
+
+
+ + + + diff --git a/apidocs/1.19/javax/websocket/SendResult.html b/apidocs/1.19/javax/websocket/SendResult.html new file mode 100644 index 00000000..b8b8fa6e --- /dev/null +++ b/apidocs/1.19/javax/websocket/SendResult.html @@ -0,0 +1,366 @@ + + + + + +SendResult (Tyrus 1.19 API) + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +

Class SendResult

+
+
+
    +
  • java.lang.Object
  • +
  • +
      +
    • javax.websocket.SendResult
    • +
    +
  • +
+
+
    +
  • +
    +
    public final class SendResult
    +extends java.lang.Object
    +
    The result of asynchronously sending a web socket message. A SendResult is either + ok indicating there was no problem, or is not OK in which case there was a problem + and it carries an exception to indicate what the problem was.
    +
    +
    Author:
    +
    dannycoward
    +
    +
  • +
+
+
+
    +
  • + +
    +
      +
    • + + +

      Constructor Summary

      + + + + + + + + + + + + + + +
      Constructors 
      ConstructorDescription
      SendResult() +
      Construct a SendResult signifying a successful send carrying no exception.
      +
      SendResult​(java.lang.Throwable exception) +
      Construct a SendResult carrying an exception.
      +
      +
    • +
    +
    + +
    +
      +
    • + + +

      Method Summary

      + + + + + + + + + + + + + + + + + +
      All Methods Instance Methods Concrete Methods 
      Modifier and TypeMethodDescription
      java.lang.ThrowablegetException() +
      The problem sending the message.
      +
      booleanisOK() +
      Determines if this result is ok or not.
      +
      +
        +
      • + + +

        Methods inherited from class java.lang.Object

        +clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • +
      +
    • +
    +
    +
  • +
+
+
+
    +
  • + +
    +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        SendResult

        +
        public SendResult​(java.lang.Throwable exception)
        +
        Construct a SendResult carrying an exception.
        +
        +
        Parameters:
        +
        exception - the exception causing a send failure.
        +
        +
      • +
      + + + +
        +
      • +

        SendResult

        +
        public SendResult()
        +
        Construct a SendResult signifying a successful send carrying no exception.
        +
      • +
      +
    • +
    +
    + +
    +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        getException

        +
        public java.lang.Throwable getException()
        +
        The problem sending the message.
        +
        +
        Returns:
        +
        the problem or null if the send was successful.
        +
        +
      • +
      + + + +
        +
      • +

        isOK

        +
        public boolean isOK()
        +
        Determines if this result is ok or not.
        +
        +
        Returns:
        +
        whether the send was successful or not.
        +
        +
      • +
      +
    • +
    +
    +
  • +
+
+
+
+ + + + diff --git a/apidocs/1.19/javax/websocket/Session.html b/apidocs/1.19/javax/websocket/Session.html new file mode 100644 index 00000000..cc8d777f --- /dev/null +++ b/apidocs/1.19/javax/websocket/Session.html @@ -0,0 +1,982 @@ + + + + + +Session (Tyrus 1.19 API) + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +

Interface Session

+
+
+
+
    +
  • +
    +
    All Superinterfaces:
    +
    java.lang.AutoCloseable, java.io.Closeable
    +
    +
    +
    All Known Subinterfaces:
    +
    DistributedSession
    +
    +
    +
    All Known Implementing Classes:
    +
    RemoteSession, TyrusSession
    +
    +
    +
    public interface Session
    +extends java.io.Closeable
    +
    A Web Socket session represents a conversation between two web socket endpoints. As soon + as the websocket handshake completes successfully, the web socket implementation provides + the endpoint an open websocket session. The endpoint can then register interest in incoming + messages that are part of this newly created session by providing a MessageHandler to the + session, and can send messages to the other end of the conversation by means of the RemoteEndpoint object + obtained from this session. +

    + Once the session is closed, it is no longer valid for use by applications. Calling any of + its methods (with the exception of the close() methods) + once the session has been closed will result in an IllegalStateException being thrown. + Developers should retrieve any information from the session during the + Endpoint.onClose(javax.websocket.Session, javax.websocket.CloseReason) method. Following the convention of Closeable + calling the Session close() methods after the Session has been closed has no + effect. +

    + Session objects may be called by multiple threads. Implementations must + ensure the integrity of the mutable properties of the session under such circumstances.

    +
    +
    Author:
    +
    dannycoward
    +
    +
  • +
+
+
+
    +
  • + +
    +
      +
    • + + +

      Method Summary

      + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
      All Methods Instance Methods Abstract Methods 
      Modifier and TypeMethodDescription
      <T> voidaddMessageHandler​(java.lang.Class<T> clazz, + MessageHandler.Partial<T> handler) +
      Register to handle to incoming messages in this conversation.
      +
      <T> voidaddMessageHandler​(java.lang.Class<T> clazz, + MessageHandler.Whole<T> handler) +
      Register to handle to incoming messages in this conversation.
      +
      voidaddMessageHandler​(MessageHandler handler) +
      Register to handle to incoming messages in this conversation.
      +
      voidclose() +
      Close the current conversation with a normal status code and no reason phrase.
      +
      voidclose​(CloseReason closeReason) +
      Close the current conversation, giving a reason for the closure.
      +
      RemoteEndpoint.AsyncgetAsyncRemote() +
      Return a reference a RemoteEndpoint object representing the peer of this conversation + that is able to send messages asynchronously to the peer.
      +
      RemoteEndpoint.BasicgetBasicRemote() +
      Return a reference a RemoteEndpoint object representing the peer of this conversation + that is able to send messages synchronously to the peer.
      +
      WebSocketContainergetContainer() +
      Return the container that this session is part of.
      +
      java.lang.StringgetId() +
      Returns a string containing the unique identifier assigned to this session.
      +
      intgetMaxBinaryMessageBufferSize() +
      The maximum length of incoming binary messages that this Session can buffer.
      +
      longgetMaxIdleTimeout() +
      Return the number of milliseconds before this conversation may be closed by the + container if it is inactive, i.e.
      +
      intgetMaxTextMessageBufferSize() +
      The maximum length of incoming text messages that this Session can buffer.
      +
      java.util.Set<MessageHandler>getMessageHandlers() +
      Return an unmodifiable copy of the set of MessageHandlers for this Session.
      +
      java.util.List<Extension>getNegotiatedExtensions() +
      Return the list of extensions currently in use for this conversation.
      +
      java.lang.StringgetNegotiatedSubprotocol() +
      Return the sub protocol agreed during the websocket handshake for this conversation.
      +
      java.util.Set<Session>getOpenSessions() +
      Return a copy of the Set of all the open web socket sessions that represent + connections to the same endpoint to which this session represents a connection.
      +
      java.util.Map<java.lang.String,​java.lang.String>getPathParameters() +
      Return a map of the path parameter names and values used associated with the + request this session was opened under.
      +
      java.lang.StringgetProtocolVersion() +
      Returns the version of the websocket protocol currently being used.
      +
      java.lang.StringgetQueryString() +
      Return the query string associated with the request this session + was opened under.
      +
      java.util.Map<java.lang.String,​java.util.List<java.lang.String>>getRequestParameterMap() +
      Return the request parameters associated with the request this session + was opened under.
      +
      java.net.URIgetRequestURI() +
      Return the URI under which this session was opened, including + the query string if there is one.
      +
      java.security.PrincipalgetUserPrincipal() +
      Return the authenticated user for this Session or null if no user is authenticated for this session.
      +
      java.util.Map<java.lang.String,​java.lang.Object>getUserProperties() +
      While the session is open, this method returns a Map that the developer may + use to store application specific information relating to this session + instance.
      +
      booleanisOpen() +
      Return true if and only if the underlying socket is open.
      +
      booleanisSecure() +
      Return true if and only if the underlying socket is using a secure transport.
      +
      voidremoveMessageHandler​(MessageHandler handler) +
      Remove the given MessageHandler from the set belonging to this session.
      +
      voidsetMaxBinaryMessageBufferSize​(int length) +
      Sets the maximum length of incoming binary messages that this Session can buffer.
      +
      voidsetMaxIdleTimeout​(long milliseconds) +
      Set the non-zero number of milliseconds before this session will be closed by the + container if it is inactive, ie no messages are either sent or received.
      +
      voidsetMaxTextMessageBufferSize​(int length) +
      Sets the maximum length of incoming text messages that this Session can buffer.
      +
      +
    • +
    +
    +
  • +
+
+
+
    +
  • + +
    +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        getContainer

        +
        WebSocketContainer getContainer()
        +
        Return the container that this session is part of.
        +
        +
        Returns:
        +
        the container.
        +
        +
      • +
      + + + +
        +
      • +

        addMessageHandler

        +
        void addMessageHandler​(MessageHandler handler)
        +                throws java.lang.IllegalStateException
        +
        Register to handle to incoming messages in this conversation. A maximum of one message handler per + native websocket message type (text, binary, pong) may be added to each Session. I.e. a maximum + of one message handler to handle incoming text messages a maximum of one message handler for + handling incoming binary messages, and a maximum of one for handling incoming pong + messages. For further details of which message handlers handle which of the native websocket + message types please see MessageHandler.Whole and MessageHandler.Partial. + Adding more than one of any one type will result in a runtime exception. +

        + This method is not safe to use unless you are providing an anonymous class derived directly + from MessageHandler.Whole or MessageHandler.Partial. + In all other cases (Lambda Expressions, more complex inheritance or generic type arrangements), + one of the following methods have to be used: + addMessageHandler(Class, javax.websocket.MessageHandler.Whole) or + addMessageHandler(Class, javax.websocket.MessageHandler.Partial).

        +
        +
        Parameters:
        +
        handler - the MessageHandler to be added.
        +
        Throws:
        +
        java.lang.IllegalStateException - if there is already a MessageHandler registered for the same native + websocket message type as this handler.
        +
        +
      • +
      + + + +
        +
      • +

        addMessageHandler

        +
        <T> void addMessageHandler​(java.lang.Class<T> clazz,
        +                           MessageHandler.Whole<T> handler)
        +
        Register to handle to incoming messages in this conversation. A maximum of one message handler per + native websocket message type (text, binary, pong) may be added to each Session. I.e. a maximum + of one message handler to handle incoming text messages a maximum of one message handler for + handling incoming binary messages, and a maximum of one for handling incoming pong + messages. For further details of which message handlers handle which of the native websocket + message types please see MessageHandler.Whole and MessageHandler.Partial. + Adding more than one of any one type will result in a runtime exception.
        +
        +
        Parameters:
        +
        clazz - type of the message processed by message handler to be registered.
        +
        handler - whole message handler to be added.
        +
        Throws:
        +
        java.lang.IllegalStateException - if there is already a MessageHandler registered for the same native + websocket message type as this handler.
        +
        Since:
        +
        1.1
        +
        +
      • +
      + + + +
        +
      • +

        addMessageHandler

        +
        <T> void addMessageHandler​(java.lang.Class<T> clazz,
        +                           MessageHandler.Partial<T> handler)
        +
        Register to handle to incoming messages in this conversation. A maximum of one message handler per + native websocket message type (text, binary, pong) may be added to each Session. I.e. a maximum + of one message handler to handle incoming text messages a maximum of one message handler for + handling incoming binary messages, and a maximum of one for handling incoming pong + messages. For further details of which message handlers handle which of the native websocket + message types please see MessageHandler.Whole and MessageHandler.Partial. + Adding more than one of any one type will result in a runtime exception.
        +
        +
        Parameters:
        +
        clazz - type of the message processed by message handler to be registered.
        +
        handler - partial message handler to be added.
        +
        Throws:
        +
        java.lang.IllegalStateException - if there is already a MessageHandler registered for the same native + websocket message type as this handler.
        +
        Since:
        +
        1.1
        +
        +
      • +
      + + + +
        +
      • +

        getMessageHandlers

        +
        java.util.Set<MessageHandler> getMessageHandlers()
        +
        Return an unmodifiable copy of the set of MessageHandlers for this Session.
        +
        +
        Returns:
        +
        the set of message handlers.
        +
        +
      • +
      + + + +
        +
      • +

        removeMessageHandler

        +
        void removeMessageHandler​(MessageHandler handler)
        +
        Remove the given MessageHandler from the set belonging to this session. This method may block + if the given handler is processing a message until it is no longer in use.
        +
        +
        Parameters:
        +
        handler - the handler to be removed.
        +
        +
      • +
      + + + +
        +
      • +

        getProtocolVersion

        +
        java.lang.String getProtocolVersion()
        +
        Returns the version of the websocket protocol currently being used. This is taken + as the value of the Sec-WebSocket-Version header used in the opening handshake. i.e. "13".
        +
        +
        Returns:
        +
        the protocol version.
        +
        +
      • +
      + + + +
        +
      • +

        getNegotiatedSubprotocol

        +
        java.lang.String getNegotiatedSubprotocol()
        +
        Return the sub protocol agreed during the websocket handshake for this conversation.
        +
        +
        Returns:
        +
        the negotiated subprotocol, or the empty string if there isn't one.
        +
        +
      • +
      + + + +
        +
      • +

        getNegotiatedExtensions

        +
        java.util.List<Extension> getNegotiatedExtensions()
        +
        Return the list of extensions currently in use for this conversation.
        +
        +
        Returns:
        +
        the negotiated extensions.
        +
        +
      • +
      + + + +
        +
      • +

        isSecure

        +
        boolean isSecure()
        +
        Return true if and only if the underlying socket is using a secure transport.
        +
        +
        Returns:
        +
        whether its using a secure transport.
        +
        +
      • +
      + + + +
        +
      • +

        isOpen

        +
        boolean isOpen()
        +
        Return true if and only if the underlying socket is open.
        +
        +
        Returns:
        +
        whether the session is active.
        +
        +
      • +
      + + + +
        +
      • +

        getMaxIdleTimeout

        +
        long getMaxIdleTimeout()
        +
        Return the number of milliseconds before this conversation may be closed by the + container if it is inactive, i.e. no messages are either sent or received in that time.
        +
        +
        Returns:
        +
        the timeout in milliseconds.
        +
        +
      • +
      + + + +
        +
      • +

        setMaxIdleTimeout

        +
        void setMaxIdleTimeout​(long milliseconds)
        +
        Set the non-zero number of milliseconds before this session will be closed by the + container if it is inactive, ie no messages are either sent or received. A value that is + 0 or negative indicates the session will never timeout due to inactivity.
        +
        +
        Parameters:
        +
        milliseconds - the number of milliseconds.
        +
        +
      • +
      + + + +
        +
      • +

        setMaxBinaryMessageBufferSize

        +
        void setMaxBinaryMessageBufferSize​(int length)
        +
        Sets the maximum length of incoming binary messages that this Session can buffer.
        +
        +
        Parameters:
        +
        length - the maximum length.
        +
        +
      • +
      + + + +
        +
      • +

        getMaxBinaryMessageBufferSize

        +
        int getMaxBinaryMessageBufferSize()
        +
        The maximum length of incoming binary messages that this Session can buffer. If + the implementation receives a binary message that it cannot buffer because it + is too large, it must close the session with a close code of CloseReason.CloseCodes.TOO_BIG.
        +
        +
        Returns:
        +
        the maximum binary message size that can be buffered.
        +
        +
      • +
      + + + +
        +
      • +

        setMaxTextMessageBufferSize

        +
        void setMaxTextMessageBufferSize​(int length)
        +
        Sets the maximum length of incoming text messages that this Session can buffer.
        +
        +
        Parameters:
        +
        length - the maximum length.
        +
        +
      • +
      + + + +
        +
      • +

        getMaxTextMessageBufferSize

        +
        int getMaxTextMessageBufferSize()
        +
        The maximum length of incoming text messages that this Session can buffer. If + the implementation receives a text message that it cannot buffer because it + is too large, it must close the session with a close code of CloseReason.CloseCodes.TOO_BIG.
        +
        +
        Returns:
        +
        the maximum text message size that can be buffered.
        +
        +
      • +
      + + + +
        +
      • +

        getAsyncRemote

        +
        RemoteEndpoint.Async getAsyncRemote()
        +
        Return a reference a RemoteEndpoint object representing the peer of this conversation + that is able to send messages asynchronously to the peer.
        +
        +
        Returns:
        +
        the remote endpoint.
        +
        +
      • +
      + + + +
        +
      • +

        getBasicRemote

        +
        RemoteEndpoint.Basic getBasicRemote()
        +
        Return a reference a RemoteEndpoint object representing the peer of this conversation + that is able to send messages synchronously to the peer.
        +
        +
        Returns:
        +
        the remote endpoint.
        +
        +
      • +
      + + + +
        +
      • +

        getId

        +
        java.lang.String getId()
        +
        Returns a string containing the unique identifier assigned to this session. + The identifier is assigned by the web socket implementation and is implementation dependent.
        +
        +
        Returns:
        +
        the unique identifier for this session instance.
        +
        +
      • +
      + + + +
        +
      • +

        close

        +
        void close()
        +    throws java.io.IOException
        +
        Close the current conversation with a normal status code and no reason phrase.
        +
        +
        Specified by:
        +
        close in interface java.lang.AutoCloseable
        +
        Specified by:
        +
        close in interface java.io.Closeable
        +
        Throws:
        +
        java.io.IOException - if there was a connection error closing the connection.
        +
        +
      • +
      + + + +
        +
      • +

        close

        +
        void close​(CloseReason closeReason)
        +    throws java.io.IOException
        +
        Close the current conversation, giving a reason for the closure. The close + call causes the implementation to attempt notify the client of the close as + soon as it can. This may cause the sending of unsent messages immediately + prior to the close notification. After the close notification has been sent + the implementation notifies the endpoint's onClose method. Note the websocket + specification defines the + acceptable uses of status codes and reason phrases. If the application cannot + determine a suitable close code to use for the closeReason, it is recommended + to use CloseReason.CloseCodes.NO_STATUS_CODE.
        +
        +
        Parameters:
        +
        closeReason - the reason for the closure.
        +
        Throws:
        +
        java.io.IOException - if there was a connection error closing the connection
        +
        +
      • +
      + + + +
        +
      • +

        getRequestURI

        +
        java.net.URI getRequestURI()
        +
        Return the URI under which this session was opened, including + the query string if there is one.
        +
        +
        Returns:
        +
        the request URI.
        +
        +
      • +
      + + + +
        +
      • +

        getRequestParameterMap

        +
        java.util.Map<java.lang.String,​java.util.List<java.lang.String>> getRequestParameterMap()
        +
        Return the request parameters associated with the request this session + was opened under.
        +
        +
        Returns:
        +
        the unmodifiable map of the request parameters.
        +
        +
      • +
      + + + +
        +
      • +

        getQueryString

        +
        java.lang.String getQueryString()
        +
        Return the query string associated with the request this session + was opened under.
        +
        +
        Returns:
        +
        the query string
        +
        +
      • +
      + + + +
        +
      • +

        getPathParameters

        +
        java.util.Map<java.lang.String,​java.lang.String> getPathParameters()
        +
        Return a map of the path parameter names and values used associated with the + request this session was opened under.
        +
        +
        Returns:
        +
        the unmodifiable map of path parameters. The key of the map is the parameter name, + the values in the map are the parameter values.
        +
        +
      • +
      + + + +
        +
      • +

        getUserProperties

        +
        java.util.Map<java.lang.String,​java.lang.Object> getUserProperties()
        +
        While the session is open, this method returns a Map that the developer may + use to store application specific information relating to this session + instance. The developer may retrieve information from this Map at any time + between the opening of the session and during the onClose() method. But outside + that time, any information stored using this Map may no longer be kept by the + container. Web socket applications running on distributed implementations of + the web container should make any application specific objects stored here + java.io.Serializable, or the object may not be recreated after a failover.
        +
        +
        Returns:
        +
        an editable Map of application data.
        +
        +
      • +
      + + + +
        +
      • +

        getUserPrincipal

        +
        java.security.Principal getUserPrincipal()
        +
        Return the authenticated user for this Session or null if no user is authenticated for this session.
        +
        +
        Returns:
        +
        the user principal.
        +
        +
      • +
      + + + +
        +
      • +

        getOpenSessions

        +
        java.util.Set<Session> getOpenSessions()
        +
        Return a copy of the Set of all the open web socket sessions that represent + connections to the same endpoint to which this session represents a connection. + The Set includes the session this method is called on. These + sessions may not still be open at any point after the return of this method. For + example, iterating over the set at a later time may yield one or more closed sessions. Developers + should use session.isOpen() to check.
        +
        +
        Returns:
        +
        the set of sessions, open at the time of return.
        +
        +
      • +
      +
    • +
    +
    +
  • +
+
+
+
+ + + + diff --git a/apidocs/1.19/javax/websocket/SessionException.html b/apidocs/1.19/javax/websocket/SessionException.html new file mode 100644 index 00000000..f65b4e83 --- /dev/null +++ b/apidocs/1.19/javax/websocket/SessionException.html @@ -0,0 +1,361 @@ + + + + + +SessionException (Tyrus 1.19 API) + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +

Class SessionException

+
+
+
    +
  • java.lang.Object
  • +
  • +
      +
    • java.lang.Throwable
    • +
    • +
        +
      • java.lang.Exception
      • +
      • +
          +
        • javax.websocket.SessionException
        • +
        +
      • +
      +
    • +
    +
  • +
+
+
    +
  • +
    +
    All Implemented Interfaces:
    +
    java.io.Serializable
    +
    +
    +
    public class SessionException
    +extends java.lang.Exception
    +
    A SessionException represents a general exception type reporting problems + occurring on a websocket session.
    +
    +
    Author:
    +
    dannycoward
    +
    See Also:
    +
    Serialized Form
    +
    +
  • +
+
+
+
    +
  • + +
    +
      +
    • + + +

      Constructor Summary

      + + + + + + + + + + +
      Constructors 
      ConstructorDescription
      SessionException​(java.lang.String message, + java.lang.Throwable cause, + Session session) +
      Creates a new instance of this exception with the given message, + the wrapped cause of the exception and the session with which + the problem is associated.
      +
      +
    • +
    +
    + +
    +
      +
    • + + +

      Method Summary

      + + + + + + + + + + + + +
      All Methods Instance Methods Concrete Methods 
      Modifier and TypeMethodDescription
      SessiongetSession() +
      Return the Session on which the problem occurred.
      +
      +
        +
      • + + +

        Methods inherited from class java.lang.Throwable

        +addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
      • +
      +
        +
      • + + +

        Methods inherited from class java.lang.Object

        +clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
      • +
      +
    • +
    +
    +
  • +
+
+
+
    +
  • + +
    +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        SessionException

        +
        public SessionException​(java.lang.String message,
        +                        java.lang.Throwable cause,
        +                        Session session)
        +
        Creates a new instance of this exception with the given message, + the wrapped cause of the exception and the session with which + the problem is associated.
        +
        +
        Parameters:
        +
        message - a description of the problem
        +
        cause - the error that caused the problem
        +
        session - the session on which the problem occurred.
        +
        +
      • +
      +
    • +
    +
    + +
    +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        getSession

        +
        public Session getSession()
        +
        Return the Session on which the problem occurred.
        +
        +
        Returns:
        +
        the session
        +
        +
      • +
      +
    • +
    +
    +
  • +
+
+
+
+ + + + diff --git a/apidocs/1.19/javax/websocket/WebSocketContainer.html b/apidocs/1.19/javax/websocket/WebSocketContainer.html new file mode 100644 index 00000000..f173544a --- /dev/null +++ b/apidocs/1.19/javax/websocket/WebSocketContainer.html @@ -0,0 +1,647 @@ + + + + + +WebSocketContainer (Tyrus 1.19 API) + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +

Interface WebSocketContainer

+
+
+
+
    +
  • +
    +
    All Known Subinterfaces:
    +
    ServerContainer, ServerContainer
    +
    +
    +
    All Known Implementing Classes:
    +
    BaseContainer, ClientManager, TyrusServerContainer
    +
    +
    +
    public interface WebSocketContainer
    +
    A WebSocketContainer is an implementation provided object that provides applications + a view on the container running it. The WebSocketContainer container various + configuration parameters that control default session and buffer properties + of the endpoints it contains. It also allows the developer to + deploy websocket client endpoints by initiating a web socket handshake from + the provided endpoint to a supplied URI where the peer endpoint is presumed to + reside. + +

    A WebSocketContainer may be accessed by concurrent threads, so + implementations must ensure the integrity of its mutable attributes in such + circumstances.

    +
    +
    Author:
    +
    dannycoward
    +
    +
  • +
+
+
+
    +
  • + +
    +
      +
    • + + +

      Method Summary

      + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
      All Methods Instance Methods Abstract Methods 
      Modifier and TypeMethodDescription
      SessionconnectToServer​(java.lang.Class<?> annotatedEndpointClass, + java.net.URI path) +
      Connect the supplied annotated endpoint to its server.
      +
      SessionconnectToServer​(java.lang.Class<? extends Endpoint> endpointClass, + ClientEndpointConfig cec, + java.net.URI path) +
      Connect the supplied programmatic endpoint to its server with the given + configuration.
      +
      SessionconnectToServer​(java.lang.Object annotatedEndpointInstance, + java.net.URI path) +
      Connect the supplied annotated endpoint instance to its server.
      +
      SessionconnectToServer​(Endpoint endpointInstance, + ClientEndpointConfig cec, + java.net.URI path) +
      Connect the supplied programmatic client endpoint instance to its server + with the given configuration.
      +
      longgetDefaultAsyncSendTimeout() +
      Return the number of milliseconds the implementation will timeout + attempting to send a websocket message for all RemoteEndpoints associated + with this container.
      +
      intgetDefaultMaxBinaryMessageBufferSize() +
      Returns the default maximum size of incoming binary message that this container + will buffer.
      +
      longgetDefaultMaxSessionIdleTimeout() +
      Return the default time in milliseconds after which any web socket sessions in this + container will be closed if it has been inactive.
      +
      intgetDefaultMaxTextMessageBufferSize() +
      Returns the default maximum size of incoming text message that this container + will buffer.
      +
      java.util.Set<Extension>getInstalledExtensions() +
      Return the set of Extensions installed in the container.
      +
      voidsetAsyncSendTimeout​(long timeoutmillis) +
      Sets the number of milliseconds the implementation will timeout + attempting to send a websocket message for all RemoteEndpoints associated + with this container.
      +
      voidsetDefaultMaxBinaryMessageBufferSize​(int max) +
      Sets the default maximum size of incoming binary message that this container + will buffer.
      +
      voidsetDefaultMaxSessionIdleTimeout​(long timeout) +
      Sets the default time in milliseconds after which any web socket sessions in this + container will be closed if it has been inactive.
      +
      voidsetDefaultMaxTextMessageBufferSize​(int max) +
      Sets the maximum size of incoming text message that this container + will buffer.
      +
      +
    • +
    +
    +
  • +
+
+
+
    +
  • + +
    +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        getDefaultAsyncSendTimeout

        +
        long getDefaultAsyncSendTimeout()
        +
        Return the number of milliseconds the implementation will timeout + attempting to send a websocket message for all RemoteEndpoints associated + with this container. A non-positive number indicates + the implementation will not timeout attempting to send a websocket message + asynchronously. Note this default may be overridden in each RemoteEndpoint.
        +
        +
        Returns:
        +
        the timeout time in millsenconds.
        +
        +
      • +
      + + + +
        +
      • +

        setAsyncSendTimeout

        +
        void setAsyncSendTimeout​(long timeoutmillis)
        +
        Sets the number of milliseconds the implementation will timeout + attempting to send a websocket message for all RemoteEndpoints associated + with this container. A non-positive number indicates + the implementation will not timeout attempting to send a websocket message + asynchronously. Note this default may be overridden in each RemoteEndpoint.
        +
      • +
      + + + +
        +
      • +

        connectToServer

        +
        Session connectToServer​(java.lang.Object annotatedEndpointInstance,
        +                        java.net.URI path)
        +                 throws DeploymentException,
        +                        java.io.IOException
        +
        Connect the supplied annotated endpoint instance to its server. The supplied + object must be a class decorated with the class level + ServerEndpoint annotation. This method + blocks until the connection is established, or throws an error if either + the connection could not be made or there was a problem with the supplied + endpoint class. If the developer uses this method to deploy the client + endpoint, services like dependency injection that are supported, for + example, when the implementation is part of the Java EE platform + may not be available. If the client endpoint uses dependency injection, + use connectToServer(java.lang.Class, java.net.URI) + instead.
        +
        +
        Parameters:
        +
        annotatedEndpointInstance - the annotated websocket client endpoint + instance.
        +
        path - the complete path to the server endpoint.
        +
        Returns:
        +
        the Session created if the connection is successful.
        +
        Throws:
        +
        DeploymentException - if the annotated endpoint instance is not valid.
        +
        java.io.IOException - if there was a network or protocol problem that + prevented the client endpoint being connected to its server.
        +
        java.lang.IllegalStateException - if called during the deployment phase + of the containing application.
        +
        +
      • +
      + + + +
        +
      • +

        connectToServer

        +
        Session connectToServer​(java.lang.Class<?> annotatedEndpointClass,
        +                        java.net.URI path)
        +                 throws DeploymentException,
        +                        java.io.IOException
        +
        Connect the supplied annotated endpoint to its server. The supplied object must be a + class decorated with the class level + ServerEndpoint annotation. This method blocks until the connection + is established, or throws an error if either the connection could not be made or there + was a problem with the supplied endpoint class.
        +
        +
        Parameters:
        +
        annotatedEndpointClass - the annotated websocket client endpoint.
        +
        path - the complete path to the server endpoint.
        +
        Returns:
        +
        the Session created if the connection is successful.
        +
        Throws:
        +
        DeploymentException - if the class is not a valid annotated endpoint class.
        +
        java.io.IOException - if there was a network or protocol problem that + prevented the client endpoint being connected to its server.
        +
        java.lang.IllegalStateException - if called during the deployment phase + of the containing application.
        +
        +
      • +
      + + + +
        +
      • +

        connectToServer

        +
        Session connectToServer​(Endpoint endpointInstance,
        +                        ClientEndpointConfig cec,
        +                        java.net.URI path)
        +                 throws DeploymentException,
        +                        java.io.IOException
        +
        Connect the supplied programmatic client endpoint instance to its server + with the given configuration. This method blocks until the connection + is established, or throws an error if the connection could not be made. + If the developer uses this method to deploy the client + endpoint, services like dependency injection that are supported, for + example, when the implementation is part of the Java EE platform + may not be available. If the client endpoint uses dependency injection, + use connectToServer(java.lang.Class, javax.websocket.ClientEndpointConfig, java.net.URI) + instead.
        +
        +
        Parameters:
        +
        endpointInstance - the programmatic client endpoint instance Endpoint.
        +
        path - the complete path to the server endpoint.
        +
        cec - the configuration used to configure the programmatic endpoint.
        +
        Returns:
        +
        the Session created if the connection is successful.
        +
        Throws:
        +
        DeploymentException - if the configuration is not valid
        +
        java.io.IOException - if there was a network or protocol problem that + prevented the client endpoint being connected to its server
        +
        java.lang.IllegalStateException - if called during the deployment phase + of the containing application.
        +
        +
      • +
      + + + +
        +
      • +

        connectToServer

        +
        Session connectToServer​(java.lang.Class<? extends Endpoint> endpointClass,
        +                        ClientEndpointConfig cec,
        +                        java.net.URI path)
        +                 throws DeploymentException,
        +                        java.io.IOException
        +
        Connect the supplied programmatic endpoint to its server with the given + configuration. This method blocks until the connection + is established, or throws an error if the connection could not be made.
        +
        +
        Parameters:
        +
        endpointClass - the programmatic client endpoint class Endpoint.
        +
        path - the complete path to the server endpoint.
        +
        cec - the configuration used to configure the programmatic endpoint.
        +
        Returns:
        +
        the Session created if the connection is successful.
        +
        Throws:
        +
        DeploymentException - if the configuration is not valid
        +
        java.io.IOException - if there was a network or protocol problem that prevented the client endpoint being connected to its server
        +
        java.lang.IllegalStateException - if called during the deployment phase + of the containing application.
        +
        +
      • +
      + + + +
        +
      • +

        getDefaultMaxSessionIdleTimeout

        +
        long getDefaultMaxSessionIdleTimeout()
        +
        Return the default time in milliseconds after which any web socket sessions in this + container will be closed if it has been inactive. A value that is + 0 or negative indicates the sessions will never timeout due to inactivity. + The value may be overridden on a per session basis using + Session.setMaxIdleTimeout(long)
        +
        +
        Returns:
        +
        the default number of milliseconds after which an idle session in this container + will be closed
        +
        +
      • +
      + + + +
        +
      • +

        setDefaultMaxSessionIdleTimeout

        +
        void setDefaultMaxSessionIdleTimeout​(long timeout)
        +
        Sets the default time in milliseconds after which any web socket sessions in this + container will be closed if it has been inactive. A value that is + 0 or negative indicates the sessions will never timeout due to inactivity. + The value may be overridden on a per session basis using + Session.setMaxIdleTimeout(long)
        +
        +
        Parameters:
        +
        timeout - the maximum time in milliseconds.
        +
        +
      • +
      + + + +
        +
      • +

        getDefaultMaxBinaryMessageBufferSize

        +
        int getDefaultMaxBinaryMessageBufferSize()
        +
        Returns the default maximum size of incoming binary message that this container + will buffer. This default may be overridden on a per session basis using + Session.setMaxBinaryMessageBufferSize(int)
        +
        +
        Returns:
        +
        the maximum size of incoming binary message in number of bytes.
        +
        +
      • +
      + + + +
        +
      • +

        setDefaultMaxBinaryMessageBufferSize

        +
        void setDefaultMaxBinaryMessageBufferSize​(int max)
        +
        Sets the default maximum size of incoming binary message that this container + will buffer.
        +
        +
        Parameters:
        +
        max - the maximum size of binary message in number of bytes.
        +
        +
      • +
      + + + +
        +
      • +

        getDefaultMaxTextMessageBufferSize

        +
        int getDefaultMaxTextMessageBufferSize()
        +
        Returns the default maximum size of incoming text message that this container + will buffer. This default may be overridden on a per session basis using + Session.setMaxTextMessageBufferSize(int)
        +
        +
        Returns:
        +
        the maximum size of incoming text message in number of bytes.
        +
        +
      • +
      + + + +
        +
      • +

        setDefaultMaxTextMessageBufferSize

        +
        void setDefaultMaxTextMessageBufferSize​(int max)
        +
        Sets the maximum size of incoming text message that this container + will buffer.
        +
        +
        Parameters:
        +
        max - the maximum size of text message in number of bytes.
        +
        +
      • +
      + + + +
        +
      • +

        getInstalledExtensions

        +
        java.util.Set<Extension> getInstalledExtensions()
        +
        Return the set of Extensions installed in the container.
        +
        +
        Returns:
        +
        the set of extensions.
        +
        +
      • +
      +
    • +
    +
    +
  • +
+
+
+
+ + + + diff --git a/apidocs/1.19/javax/websocket/class-use/ClientEndpoint.html b/apidocs/1.19/javax/websocket/class-use/ClientEndpoint.html new file mode 100644 index 00000000..a9635920 --- /dev/null +++ b/apidocs/1.19/javax/websocket/class-use/ClientEndpoint.html @@ -0,0 +1,150 @@ + + + + + +Uses of Class javax.websocket.ClientEndpoint (Tyrus 1.19 API) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Class
javax.websocket.ClientEndpoint

+
+
No usage of javax.websocket.ClientEndpoint
+
+ + + diff --git a/apidocs/1.19/javax/websocket/class-use/ClientEndpointConfig.Builder.html b/apidocs/1.19/javax/websocket/class-use/ClientEndpointConfig.Builder.html new file mode 100644 index 00000000..d5176e09 --- /dev/null +++ b/apidocs/1.19/javax/websocket/class-use/ClientEndpointConfig.Builder.html @@ -0,0 +1,235 @@ + + + + + +Uses of Class javax.websocket.ClientEndpointConfig.Builder (Tyrus 1.19 API) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Class
javax.websocket.ClientEndpointConfig.Builder

+
+
+ +
+
+ + + diff --git a/apidocs/1.19/javax/websocket/class-use/ClientEndpointConfig.Configurator.html b/apidocs/1.19/javax/websocket/class-use/ClientEndpointConfig.Configurator.html new file mode 100644 index 00000000..69ef9448 --- /dev/null +++ b/apidocs/1.19/javax/websocket/class-use/ClientEndpointConfig.Configurator.html @@ -0,0 +1,234 @@ + + + + + +Uses of Class javax.websocket.ClientEndpointConfig.Configurator (Tyrus 1.19 API) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Class
javax.websocket.ClientEndpointConfig.Configurator

+
+
+ +
+
+ + + diff --git a/apidocs/1.19/javax/websocket/class-use/ClientEndpointConfig.html b/apidocs/1.19/javax/websocket/class-use/ClientEndpointConfig.html new file mode 100644 index 00000000..5bbc61e4 --- /dev/null +++ b/apidocs/1.19/javax/websocket/class-use/ClientEndpointConfig.html @@ -0,0 +1,406 @@ + + + + + +Uses of Interface javax.websocket.ClientEndpointConfig (Tyrus 1.19 API) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Interface
javax.websocket.ClientEndpointConfig

+
+
+ +
+
+ + + diff --git a/apidocs/1.19/javax/websocket/class-use/CloseReason.CloseCode.html b/apidocs/1.19/javax/websocket/class-use/CloseReason.CloseCode.html new file mode 100644 index 00000000..b4e63def --- /dev/null +++ b/apidocs/1.19/javax/websocket/class-use/CloseReason.CloseCode.html @@ -0,0 +1,270 @@ + + + + + +Uses of Interface javax.websocket.CloseReason.CloseCode (Tyrus 1.19 API) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Interface
javax.websocket.CloseReason.CloseCode

+
+
+ +
+
+ + + diff --git a/apidocs/1.19/javax/websocket/class-use/CloseReason.CloseCodes.html b/apidocs/1.19/javax/websocket/class-use/CloseReason.CloseCodes.html new file mode 100644 index 00000000..3ea9d763 --- /dev/null +++ b/apidocs/1.19/javax/websocket/class-use/CloseReason.CloseCodes.html @@ -0,0 +1,207 @@ + + + + + +Uses of Class javax.websocket.CloseReason.CloseCodes (Tyrus 1.19 API) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Class
javax.websocket.CloseReason.CloseCodes

+
+
+ +
+
+ + + diff --git a/apidocs/1.19/javax/websocket/class-use/CloseReason.html b/apidocs/1.19/javax/websocket/class-use/CloseReason.html new file mode 100644 index 00000000..97c9e9c0 --- /dev/null +++ b/apidocs/1.19/javax/websocket/class-use/CloseReason.html @@ -0,0 +1,460 @@ + + + + + +Uses of Class javax.websocket.CloseReason (Tyrus 1.19 API) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Class
javax.websocket.CloseReason

+
+
+ +
+
+ + + diff --git a/apidocs/1.19/javax/websocket/class-use/ContainerProvider.html b/apidocs/1.19/javax/websocket/class-use/ContainerProvider.html new file mode 100644 index 00000000..f3a42561 --- /dev/null +++ b/apidocs/1.19/javax/websocket/class-use/ContainerProvider.html @@ -0,0 +1,196 @@ + + + + + +Uses of Class javax.websocket.ContainerProvider (Tyrus 1.19 API) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Class
javax.websocket.ContainerProvider

+
+
+ +
+
+ + + diff --git a/apidocs/1.19/javax/websocket/class-use/DecodeException.html b/apidocs/1.19/javax/websocket/class-use/DecodeException.html new file mode 100644 index 00000000..071679d0 --- /dev/null +++ b/apidocs/1.19/javax/websocket/class-use/DecodeException.html @@ -0,0 +1,309 @@ + + + + + +Uses of Class javax.websocket.DecodeException (Tyrus 1.19 API) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Class
javax.websocket.DecodeException

+
+
+
    +
  • + + + + + + + + + + + + + + + + +
    Packages that use DecodeException 
    PackageDescription
    javax.websocket +
    This package contains all the WebSocket APIs common to both the client + and server side.
    +
    org.glassfish.tyrus.core.coder +
    Encoder and decoder adapters and built-in implementations.
    +
    +
  • +
  • +
      +
    • +
      + + +

      Uses of DecodeException in javax.websocket

      + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
      Methods in javax.websocket that throw DecodeException 
      Modifier and TypeMethodDescription
      TDecoder.Binary.decode​(java.nio.ByteBuffer bytes) +
      Decode the given bytes into an object of type T.
      +
      TDecoder.BinaryStream.decode​(java.io.InputStream is) +
      Decode the given bytes read from the input stream into an object of type T.
      +
      TDecoder.Text.decode​(java.lang.String s) +
      Decode the given String into an object of type T.
      +
      TDecoder.TextStream.decode​(java.io.Reader reader) +
      Reads the websocket message from the implementation provided + Reader and decodes it into an instance of the supplied object type.
      +
      +
      +
    • +
    • +
      + + +

      Uses of DecodeException in org.glassfish.tyrus.core.coder

      + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
      Methods in org.glassfish.tyrus.core.coder that throw DecodeException 
      Modifier and TypeMethodDescription
      java.io.InputStreamInputStreamDecoder.decode​(java.nio.ByteBuffer bytes) 
      byte[]NoOpByteArrayCoder.decode​(java.nio.ByteBuffer bytes) 
      java.nio.ByteBufferNoOpByteBufferCoder.decode​(java.nio.ByteBuffer bytes) 
      java.lang.StringNoOpTextCoder.decode​(java.lang.String s) 
      java.lang.BooleanPrimitiveDecoders.BooleanDecoder.decode​(java.lang.String s) 
      java.lang.BytePrimitiveDecoders.ByteDecoder.decode​(java.lang.String s) 
      java.lang.CharacterPrimitiveDecoders.CharacterDecoder.decode​(java.lang.String s) 
      java.lang.DoublePrimitiveDecoders.DoubleDecoder.decode​(java.lang.String s) 
      java.lang.FloatPrimitiveDecoders.FloatDecoder.decode​(java.lang.String s) 
      java.lang.IntegerPrimitiveDecoders.IntegerDecoder.decode​(java.lang.String s) 
      java.lang.LongPrimitiveDecoders.LongDecoder.decode​(java.lang.String s) 
      java.lang.ShortPrimitiveDecoders.ShortDecoder.decode​(java.lang.String s) 
      java.io.ReaderReaderDecoder.decode​(java.lang.String s) 
      +
      +
    • +
    +
  • +
+
+
+ + + diff --git a/apidocs/1.19/javax/websocket/class-use/Decoder.Binary.html b/apidocs/1.19/javax/websocket/class-use/Decoder.Binary.html new file mode 100644 index 00000000..41095763 --- /dev/null +++ b/apidocs/1.19/javax/websocket/class-use/Decoder.Binary.html @@ -0,0 +1,212 @@ + + + + + +Uses of Interface javax.websocket.Decoder.Binary (Tyrus 1.19 API) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Interface
javax.websocket.Decoder.Binary

+
+
+ +
+
+ + + diff --git a/apidocs/1.19/javax/websocket/class-use/Decoder.BinaryStream.html b/apidocs/1.19/javax/websocket/class-use/Decoder.BinaryStream.html new file mode 100644 index 00000000..43be948f --- /dev/null +++ b/apidocs/1.19/javax/websocket/class-use/Decoder.BinaryStream.html @@ -0,0 +1,150 @@ + + + + + +Uses of Interface javax.websocket.Decoder.BinaryStream (Tyrus 1.19 API) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Interface
javax.websocket.Decoder.BinaryStream

+
+
No usage of javax.websocket.Decoder.BinaryStream
+
+ + + diff --git a/apidocs/1.19/javax/websocket/class-use/Decoder.Text.html b/apidocs/1.19/javax/websocket/class-use/Decoder.Text.html new file mode 100644 index 00000000..c1b653d4 --- /dev/null +++ b/apidocs/1.19/javax/websocket/class-use/Decoder.Text.html @@ -0,0 +1,265 @@ + + + + + +Uses of Interface javax.websocket.Decoder.Text (Tyrus 1.19 API) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Interface
javax.websocket.Decoder.Text

+
+
+ +
+
+ + + diff --git a/apidocs/1.19/javax/websocket/class-use/Decoder.TextStream.html b/apidocs/1.19/javax/websocket/class-use/Decoder.TextStream.html new file mode 100644 index 00000000..895b7e55 --- /dev/null +++ b/apidocs/1.19/javax/websocket/class-use/Decoder.TextStream.html @@ -0,0 +1,150 @@ + + + + + +Uses of Interface javax.websocket.Decoder.TextStream (Tyrus 1.19 API) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Interface
javax.websocket.Decoder.TextStream

+
+
No usage of javax.websocket.Decoder.TextStream
+
+ + + diff --git a/apidocs/1.19/javax/websocket/class-use/Decoder.html b/apidocs/1.19/javax/websocket/class-use/Decoder.html new file mode 100644 index 00000000..a8d5ddc0 --- /dev/null +++ b/apidocs/1.19/javax/websocket/class-use/Decoder.html @@ -0,0 +1,477 @@ + + + + + +Uses of Interface javax.websocket.Decoder (Tyrus 1.19 API) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Interface
javax.websocket.Decoder

+
+
+ +
+
+ + + diff --git a/apidocs/1.19/javax/websocket/class-use/DeploymentException.html b/apidocs/1.19/javax/websocket/class-use/DeploymentException.html new file mode 100644 index 00000000..eba38633 --- /dev/null +++ b/apidocs/1.19/javax/websocket/class-use/DeploymentException.html @@ -0,0 +1,654 @@ + + + + + +Uses of Class javax.websocket.DeploymentException (Tyrus 1.19 API) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Class
javax.websocket.DeploymentException

+
+
+ +
+
+ + + diff --git a/apidocs/1.19/javax/websocket/class-use/EncodeException.html b/apidocs/1.19/javax/websocket/class-use/EncodeException.html new file mode 100644 index 00000000..41fa0484 --- /dev/null +++ b/apidocs/1.19/javax/websocket/class-use/EncodeException.html @@ -0,0 +1,303 @@ + + + + + +Uses of Class javax.websocket.EncodeException (Tyrus 1.19 API) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Class
javax.websocket.EncodeException

+
+
+
    +
  • + + + + + + + + + + + + + + + + + + + + +
    Packages that use EncodeException 
    PackageDescription
    javax.websocket +
    This package contains all the WebSocket APIs common to both the client + and server side.
    +
    org.glassfish.tyrus.core +
    Core classes.
    +
    org.glassfish.tyrus.core.coder +
    Encoder and decoder adapters and built-in implementations.
    +
    +
  • +
  • +
      +
    • +
      + + +

      Uses of EncodeException in javax.websocket

      + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
      Methods in javax.websocket that throw EncodeException 
      Modifier and TypeMethodDescription
      java.nio.ByteBufferEncoder.Binary.encode​(T object) +
      Encode the given object into a byte array.
      +
      voidEncoder.BinaryStream.encode​(T object, + java.io.OutputStream os) +
      Encode the given object into a binary stream written to the + implementation provided OutputStream.
      +
      java.lang.StringEncoder.Text.encode​(T object) +
      Encode the given object into a String.
      +
      voidEncoder.TextStream.encode​(T object, + java.io.Writer writer) +
      Encode the given object to a character stream writing it + to the supplied Writer.
      +
      voidRemoteEndpoint.Basic.sendObject​(java.lang.Object data) +
      Sends a custom developer object, blocking until it has been transmitted.
      +
      +
      +
    • +
    • +
      + + +

      Uses of EncodeException in org.glassfish.tyrus.core

      + + + + + + + + + + + + + + +
      Methods in org.glassfish.tyrus.core that throw EncodeException 
      Modifier and TypeMethodDescription
      java.lang.ObjectTyrusEndpointWrapper.doEncode​(Session session, + java.lang.Object message) 
      +
      +
    • +
    • +
      + + +

      Uses of EncodeException in org.glassfish.tyrus.core.coder

      + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
      Methods in org.glassfish.tyrus.core.coder that throw EncodeException 
      Modifier and TypeMethodDescription
      java.nio.ByteBufferNoOpByteArrayCoder.encode​(byte[] object) 
      java.nio.ByteBufferNoOpByteBufferCoder.encode​(java.nio.ByteBuffer object) 
      java.lang.StringNoOpTextCoder.encode​(java.lang.String object) 
      java.lang.StringToStringEncoder.encode​(java.lang.Object object) 
      +
      +
    • +
    +
  • +
+
+
+ + + diff --git a/apidocs/1.19/javax/websocket/class-use/Encoder.Binary.html b/apidocs/1.19/javax/websocket/class-use/Encoder.Binary.html new file mode 100644 index 00000000..1562a38c --- /dev/null +++ b/apidocs/1.19/javax/websocket/class-use/Encoder.Binary.html @@ -0,0 +1,205 @@ + + + + + +Uses of Interface javax.websocket.Encoder.Binary (Tyrus 1.19 API) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Interface
javax.websocket.Encoder.Binary

+
+
+ +
+
+ + + diff --git a/apidocs/1.19/javax/websocket/class-use/Encoder.BinaryStream.html b/apidocs/1.19/javax/websocket/class-use/Encoder.BinaryStream.html new file mode 100644 index 00000000..605086b8 --- /dev/null +++ b/apidocs/1.19/javax/websocket/class-use/Encoder.BinaryStream.html @@ -0,0 +1,150 @@ + + + + + +Uses of Interface javax.websocket.Encoder.BinaryStream (Tyrus 1.19 API) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Interface
javax.websocket.Encoder.BinaryStream

+
+
No usage of javax.websocket.Encoder.BinaryStream
+
+ + + diff --git a/apidocs/1.19/javax/websocket/class-use/Encoder.Text.html b/apidocs/1.19/javax/websocket/class-use/Encoder.Text.html new file mode 100644 index 00000000..e4a3dfb0 --- /dev/null +++ b/apidocs/1.19/javax/websocket/class-use/Encoder.Text.html @@ -0,0 +1,203 @@ + + + + + +Uses of Interface javax.websocket.Encoder.Text (Tyrus 1.19 API) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Interface
javax.websocket.Encoder.Text

+
+
+ +
+
+ + + diff --git a/apidocs/1.19/javax/websocket/class-use/Encoder.TextStream.html b/apidocs/1.19/javax/websocket/class-use/Encoder.TextStream.html new file mode 100644 index 00000000..1fe617ed --- /dev/null +++ b/apidocs/1.19/javax/websocket/class-use/Encoder.TextStream.html @@ -0,0 +1,150 @@ + + + + + +Uses of Interface javax.websocket.Encoder.TextStream (Tyrus 1.19 API) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Interface
javax.websocket.Encoder.TextStream

+
+
No usage of javax.websocket.Encoder.TextStream
+
+ + + diff --git a/apidocs/1.19/javax/websocket/class-use/Encoder.html b/apidocs/1.19/javax/websocket/class-use/Encoder.html new file mode 100644 index 00000000..c2f2c024 --- /dev/null +++ b/apidocs/1.19/javax/websocket/class-use/Encoder.html @@ -0,0 +1,400 @@ + + + + + +Uses of Interface javax.websocket.Encoder (Tyrus 1.19 API) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Interface
javax.websocket.Encoder

+
+
+ +
+
+ + + diff --git a/apidocs/1.19/javax/websocket/class-use/Endpoint.html b/apidocs/1.19/javax/websocket/class-use/Endpoint.html new file mode 100644 index 00000000..2462c61e --- /dev/null +++ b/apidocs/1.19/javax/websocket/class-use/Endpoint.html @@ -0,0 +1,473 @@ + + + + + +Uses of Class javax.websocket.Endpoint (Tyrus 1.19 API) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Class
javax.websocket.Endpoint

+
+
+ +
+
+ + + diff --git a/apidocs/1.19/javax/websocket/class-use/EndpointConfig.html b/apidocs/1.19/javax/websocket/class-use/EndpointConfig.html new file mode 100644 index 00000000..3293260d --- /dev/null +++ b/apidocs/1.19/javax/websocket/class-use/EndpointConfig.html @@ -0,0 +1,418 @@ + + + + + +Uses of Interface javax.websocket.EndpointConfig (Tyrus 1.19 API) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Interface
javax.websocket.EndpointConfig

+
+
+ +
+
+ + + diff --git a/apidocs/1.19/javax/websocket/class-use/Extension.Parameter.html b/apidocs/1.19/javax/websocket/class-use/Extension.Parameter.html new file mode 100644 index 00000000..bdc8c809 --- /dev/null +++ b/apidocs/1.19/javax/websocket/class-use/Extension.Parameter.html @@ -0,0 +1,318 @@ + + + + + +Uses of Interface javax.websocket.Extension.Parameter (Tyrus 1.19 API) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Interface
javax.websocket.Extension.Parameter

+
+
+ +
+
+ + + diff --git a/apidocs/1.19/javax/websocket/class-use/Extension.html b/apidocs/1.19/javax/websocket/class-use/Extension.html new file mode 100644 index 00000000..c44536a6 --- /dev/null +++ b/apidocs/1.19/javax/websocket/class-use/Extension.html @@ -0,0 +1,562 @@ + + + + + +Uses of Interface javax.websocket.Extension (Tyrus 1.19 API) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Interface
javax.websocket.Extension

+
+
+ +
+
+ + + diff --git a/apidocs/1.19/javax/websocket/class-use/HandshakeResponse.html b/apidocs/1.19/javax/websocket/class-use/HandshakeResponse.html new file mode 100644 index 00000000..5f889cd6 --- /dev/null +++ b/apidocs/1.19/javax/websocket/class-use/HandshakeResponse.html @@ -0,0 +1,311 @@ + + + + + +Uses of Interface javax.websocket.HandshakeResponse (Tyrus 1.19 API) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Interface
javax.websocket.HandshakeResponse

+
+
+ +
+
+ + + diff --git a/apidocs/1.19/javax/websocket/class-use/MessageHandler.Partial.html b/apidocs/1.19/javax/websocket/class-use/MessageHandler.Partial.html new file mode 100644 index 00000000..bd54102a --- /dev/null +++ b/apidocs/1.19/javax/websocket/class-use/MessageHandler.Partial.html @@ -0,0 +1,270 @@ + + + + + +Uses of Interface javax.websocket.MessageHandler.Partial (Tyrus 1.19 API) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Interface
javax.websocket.MessageHandler.Partial

+
+
+ +
+
+ + + diff --git a/apidocs/1.19/javax/websocket/class-use/MessageHandler.Whole.html b/apidocs/1.19/javax/websocket/class-use/MessageHandler.Whole.html new file mode 100644 index 00000000..c2d0042e --- /dev/null +++ b/apidocs/1.19/javax/websocket/class-use/MessageHandler.Whole.html @@ -0,0 +1,270 @@ + + + + + +Uses of Interface javax.websocket.MessageHandler.Whole (Tyrus 1.19 API) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Interface
javax.websocket.MessageHandler.Whole

+
+
+ +
+
+ + + diff --git a/apidocs/1.19/javax/websocket/class-use/MessageHandler.html b/apidocs/1.19/javax/websocket/class-use/MessageHandler.html new file mode 100644 index 00000000..ce225b4d --- /dev/null +++ b/apidocs/1.19/javax/websocket/class-use/MessageHandler.html @@ -0,0 +1,380 @@ + + + + + +Uses of Interface javax.websocket.MessageHandler (Tyrus 1.19 API) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Interface
javax.websocket.MessageHandler

+
+
+ +
+
+ + + diff --git a/apidocs/1.19/javax/websocket/class-use/OnClose.html b/apidocs/1.19/javax/websocket/class-use/OnClose.html new file mode 100644 index 00000000..b25f44d5 --- /dev/null +++ b/apidocs/1.19/javax/websocket/class-use/OnClose.html @@ -0,0 +1,150 @@ + + + + + +Uses of Class javax.websocket.OnClose (Tyrus 1.19 API) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Class
javax.websocket.OnClose

+
+
No usage of javax.websocket.OnClose
+
+ + + diff --git a/apidocs/1.19/javax/websocket/class-use/OnError.html b/apidocs/1.19/javax/websocket/class-use/OnError.html new file mode 100644 index 00000000..0dba5c8f --- /dev/null +++ b/apidocs/1.19/javax/websocket/class-use/OnError.html @@ -0,0 +1,150 @@ + + + + + +Uses of Class javax.websocket.OnError (Tyrus 1.19 API) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Class
javax.websocket.OnError

+
+
No usage of javax.websocket.OnError
+
+ + + diff --git a/apidocs/1.19/javax/websocket/class-use/OnMessage.html b/apidocs/1.19/javax/websocket/class-use/OnMessage.html new file mode 100644 index 00000000..e72c7941 --- /dev/null +++ b/apidocs/1.19/javax/websocket/class-use/OnMessage.html @@ -0,0 +1,150 @@ + + + + + +Uses of Class javax.websocket.OnMessage (Tyrus 1.19 API) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Class
javax.websocket.OnMessage

+
+
No usage of javax.websocket.OnMessage
+
+ + + diff --git a/apidocs/1.19/javax/websocket/class-use/OnOpen.html b/apidocs/1.19/javax/websocket/class-use/OnOpen.html new file mode 100644 index 00000000..ed94d569 --- /dev/null +++ b/apidocs/1.19/javax/websocket/class-use/OnOpen.html @@ -0,0 +1,150 @@ + + + + + +Uses of Class javax.websocket.OnOpen (Tyrus 1.19 API) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Class
javax.websocket.OnOpen

+
+
No usage of javax.websocket.OnOpen
+
+ + + diff --git a/apidocs/1.19/javax/websocket/class-use/PongMessage.html b/apidocs/1.19/javax/websocket/class-use/PongMessage.html new file mode 100644 index 00000000..f87e672b --- /dev/null +++ b/apidocs/1.19/javax/websocket/class-use/PongMessage.html @@ -0,0 +1,150 @@ + + + + + +Uses of Interface javax.websocket.PongMessage (Tyrus 1.19 API) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Interface
javax.websocket.PongMessage

+
+
No usage of javax.websocket.PongMessage
+
+ + + diff --git a/apidocs/1.19/javax/websocket/class-use/RemoteEndpoint.Async.html b/apidocs/1.19/javax/websocket/class-use/RemoteEndpoint.Async.html new file mode 100644 index 00000000..55b0f3e4 --- /dev/null +++ b/apidocs/1.19/javax/websocket/class-use/RemoteEndpoint.Async.html @@ -0,0 +1,259 @@ + + + + + +Uses of Interface javax.websocket.RemoteEndpoint.Async (Tyrus 1.19 API) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Interface
javax.websocket.RemoteEndpoint.Async

+
+
+ +
+
+ + + diff --git a/apidocs/1.19/javax/websocket/class-use/RemoteEndpoint.Basic.html b/apidocs/1.19/javax/websocket/class-use/RemoteEndpoint.Basic.html new file mode 100644 index 00000000..c8b73ac9 --- /dev/null +++ b/apidocs/1.19/javax/websocket/class-use/RemoteEndpoint.Basic.html @@ -0,0 +1,259 @@ + + + + + +Uses of Interface javax.websocket.RemoteEndpoint.Basic (Tyrus 1.19 API) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Interface
javax.websocket.RemoteEndpoint.Basic

+
+
+ +
+
+ + + diff --git a/apidocs/1.19/javax/websocket/class-use/RemoteEndpoint.html b/apidocs/1.19/javax/websocket/class-use/RemoteEndpoint.html new file mode 100644 index 00000000..918b01f4 --- /dev/null +++ b/apidocs/1.19/javax/websocket/class-use/RemoteEndpoint.html @@ -0,0 +1,238 @@ + + + + + +Uses of Interface javax.websocket.RemoteEndpoint (Tyrus 1.19 API) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Interface
javax.websocket.RemoteEndpoint

+
+
+ +
+
+ + + diff --git a/apidocs/1.19/javax/websocket/class-use/SendHandler.html b/apidocs/1.19/javax/websocket/class-use/SendHandler.html new file mode 100644 index 00000000..bebefcdd --- /dev/null +++ b/apidocs/1.19/javax/websocket/class-use/SendHandler.html @@ -0,0 +1,344 @@ + + + + + +Uses of Interface javax.websocket.SendHandler (Tyrus 1.19 API) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Interface
javax.websocket.SendHandler

+
+
+ +
+
+ + + diff --git a/apidocs/1.19/javax/websocket/class-use/SendResult.html b/apidocs/1.19/javax/websocket/class-use/SendResult.html new file mode 100644 index 00000000..454950bd --- /dev/null +++ b/apidocs/1.19/javax/websocket/class-use/SendResult.html @@ -0,0 +1,199 @@ + + + + + +Uses of Class javax.websocket.SendResult (Tyrus 1.19 API) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Class
javax.websocket.SendResult

+
+
+ +
+
+ + + diff --git a/apidocs/1.19/javax/websocket/class-use/Session.html b/apidocs/1.19/javax/websocket/class-use/Session.html new file mode 100644 index 00000000..e85a046c --- /dev/null +++ b/apidocs/1.19/javax/websocket/class-use/Session.html @@ -0,0 +1,747 @@ + + + + + +Uses of Interface javax.websocket.Session (Tyrus 1.19 API) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Interface
javax.websocket.Session

+
+
+ +
+
+ + + diff --git a/apidocs/1.19/javax/websocket/class-use/SessionException.html b/apidocs/1.19/javax/websocket/class-use/SessionException.html new file mode 100644 index 00000000..9c74e540 --- /dev/null +++ b/apidocs/1.19/javax/websocket/class-use/SessionException.html @@ -0,0 +1,150 @@ + + + + + +Uses of Class javax.websocket.SessionException (Tyrus 1.19 API) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Class
javax.websocket.SessionException

+
+
No usage of javax.websocket.SessionException
+
+ + + diff --git a/apidocs/1.19/javax/websocket/class-use/WebSocketContainer.html b/apidocs/1.19/javax/websocket/class-use/WebSocketContainer.html new file mode 100644 index 00000000..11cb92e3 --- /dev/null +++ b/apidocs/1.19/javax/websocket/class-use/WebSocketContainer.html @@ -0,0 +1,520 @@ + + + + + +Uses of Interface javax.websocket.WebSocketContainer (Tyrus 1.19 API) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Interface
javax.websocket.WebSocketContainer

+
+
+ +
+
+ + + diff --git a/apidocs/1.19/javax/websocket/package-summary.html b/apidocs/1.19/javax/websocket/package-summary.html new file mode 100644 index 00000000..5599d28b --- /dev/null +++ b/apidocs/1.19/javax/websocket/package-summary.html @@ -0,0 +1,499 @@ + + + + + +javax.websocket (Tyrus 1.19 API) + + + + + + + + + + + + + + + +
+ +
+
+
+

Package javax.websocket

+
+
+
+ + +
This package contains all the WebSocket APIs common to both the client + and server side.
+
+
    +
  • + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    Interface Summary 
    InterfaceDescription
    ClientEndpointConfig +
    The ClientEndpointConfig is a special kind of endpoint configuration object that contains + web socket configuration information specific only to client endpoints.
    +
    CloseReason.CloseCode +
    A marker interface for the close codes.
    +
    Decoder +
    The Decoder interface holds member interfaces that define how a developer can provide + the web socket container a way web socket messages into developer defined custom objects.
    +
    Decoder.Binary<T> +
    This interface defines how a custom object (of type T) is decoded from a web socket message in + the form of a byte buffer.
    +
    Decoder.BinaryStream<T> +
    This interface defines how a custom object is decoded from a web socket message in + the form of a binary stream.
    +
    Decoder.Text<T> +
    This interface defines how a custom object is decoded from a web socket message in + the form of a string.
    +
    Decoder.TextStream<T> +
    This interface defines how a custom object of type T is decoded from a web socket message in + the form of a character stream.
    +
    Encoder +
    The Encoder interface defines how developers can provide a way to convert + their custom objects into web socket messages.
    +
    Encoder.Binary<T> +
    This interface defines how to provide a way to convert a custom + object into a binary message.
    +
    Encoder.BinaryStream<T> +
    This interface may be implemented by encoding algorithms + that want to write the encoded object to a binary stream.
    +
    Encoder.Text<T> +
    This interface defines how to provide a way to convert a custom + object into a text message.
    +
    Encoder.TextStream<T> +
    This interface may be implemented by encoding algorithms + that want to write the encoded object to a character stream.
    +
    EndpointConfig +
    The endpoint configuration contains all the information needed during the handshake process + for this end point.
    +
    Extension +
    A simple representation of a websocket extension as a name and map of extension parameters.
    +
    Extension.Parameter +
    This member interface defines a single websocket extension parameter.
    +
    HandshakeResponse +
    The handshake response represents the web socket-defined Http response + that is the response to the opening handshake request.
    +
    MessageHandler +
    Developers implement MessageHandlers in order to receive incoming messages + during a web socket conversation.
    +
    MessageHandler.Partial<T> +
    This kind of handler is notified by the implementation as it becomes ready + to deliver parts of a whole message.
    +
    MessageHandler.Whole<T> +
    This kind of handler is notified by the container on arrival of a complete message.
    +
    PongMessage +
    The PongMessage interface represents a web socket pong.
    +
    RemoteEndpoint +
    The RemoteEndpoint object is supplied by the container and represents the + 'other end' or peer of the Web Socket conversation.
    +
    RemoteEndpoint.Async +
    This representation of the peer of a web socket conversation has the ability + to send messages asynchronously.
    +
    RemoteEndpoint.Basic +
    This representation of the peer of a web socket conversation has the ability + to send messages synchronously.
    +
    SendHandler +
    A simple callback object for asynchronous sending of web socket messages.
    +
    Session +
    A Web Socket session represents a conversation between two web socket endpoints.
    +
    WebSocketContainer +
    A WebSocketContainer is an implementation provided object that provides applications + a view on the container running it.
    +
    +
  • +
  • + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    Class Summary 
    ClassDescription
    ClientEndpointConfig.Builder +
    The ClientEndpointConfig.Builder is a class used for creating + ClientEndpointConfig objects for the purposes of + deploying a client endpoint.
    +
    ClientEndpointConfig.Configurator +
    The Configurator class may be extended by developers who want to + provide custom configuration algorithms, such as intercepting the opening handshake, or + providing arbitrary methods and algorithms that can be accessed from each endpoint + instance configured with this configurator.
    +
    CloseReason +
    A class encapsulating the reason why a web socket has been closed, or why it is being asked to + close.
    +
    ContainerProvider +
    Provider class that allows the developer to get a reference to + the implementation of the WebSocketContainer.
    +
    Endpoint +
    The Web Socket Endpoint represents an object that can handle websocket conversations.
    +
    SendResult +
    The result of asynchronously sending a web socket message.
    +
    +
  • +
  • + + + + + + + + + + + + +
    Enum Summary 
    EnumDescription
    CloseReason.CloseCodes +
    An Enumeration of status codes for a web socket close that + are defined in the specification.
    +
    +
  • +
  • + + + + + + + + + + + + + + + + + + + + + + + + +
    Exception Summary 
    ExceptionDescription
    DecodeException +
    A general exception that occurs when trying to decode a custom object from a text or binary message.
    +
    DeploymentException +
    Checked exception indicating some kind of failure either to publish + an endpoint on its server, or a failure to connect a client to its server.
    +
    EncodeException +
    A general exception that occurs when trying to encode a custom object to a string or binary message.
    +
    SessionException +
    A SessionException represents a general exception type reporting problems + occurring on a websocket session.
    +
    +
  • +
  • + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    Annotation Types Summary 
    Annotation TypeDescription
    ClientEndpoint +
    The ClientEndpoint annotation a class level annotation is used to denote that a POJO + is a web socket client and can be deployed as such.
    +
    OnClose +
    This method level annotation can be used to decorate a Java method that wishes + to be called when a web socket session is closing.
    +
    OnError +
    This method level annotation can be used to decorate a Java method that wishes to be called in order + to handle errors.
    +
    OnMessage +
    This method level annotation can be used to make a Java method receive incoming web socket messages.
    +
    OnOpen +
    This method level annotation can be used to decorate a Java method that wishes to be called when a new + web socket session is open.
    +
    +
  • +
+
+
+ + + diff --git a/apidocs/1.19/javax/websocket/package-tree.html b/apidocs/1.19/javax/websocket/package-tree.html new file mode 100644 index 00000000..c53c1389 --- /dev/null +++ b/apidocs/1.19/javax/websocket/package-tree.html @@ -0,0 +1,260 @@ + + + + + +javax.websocket Class Hierarchy (Tyrus 1.19 API) + + + + + + + + + + + + + + + +
+ +
+
+
+

Hierarchy For Package javax.websocket

+Package Hierarchies: + +
+
+
+

Class Hierarchy

+ +
+
+

Interface Hierarchy

+ +
+
+

Annotation Type Hierarchy

+
    +
  • javax.websocket.ClientEndpoint (implements java.lang.annotation.Annotation)
  • +
  • javax.websocket.OnClose (implements java.lang.annotation.Annotation)
  • +
  • javax.websocket.OnError (implements java.lang.annotation.Annotation)
  • +
  • javax.websocket.OnMessage (implements java.lang.annotation.Annotation)
  • +
  • javax.websocket.OnOpen (implements java.lang.annotation.Annotation)
  • +
+
+
+

Enum Hierarchy

+ +
+
+
+ + + diff --git a/apidocs/1.19/javax/websocket/package-use.html b/apidocs/1.19/javax/websocket/package-use.html new file mode 100644 index 00000000..2fd622ff --- /dev/null +++ b/apidocs/1.19/javax/websocket/package-use.html @@ -0,0 +1,1030 @@ + + + + + +Uses of Package javax.websocket (Tyrus 1.19 API) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Package
javax.websocket

+
+
+
    +
  • + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    Packages that use javax.websocket 
    PackageDescription
    javax.websocket +
    This package contains all the WebSocket APIs common to both the client + and server side.
    +
    javax.websocket.server +
    This package contains all the WebSocket APIs used only by server side + applications.
    +
    org.glassfish.tyrus.client +
    Common Client.
    +
    org.glassfish.tyrus.container.grizzly.client +
    Grizzly Client container.
    +
    org.glassfish.tyrus.core +
    Core classes.
    +
    org.glassfish.tyrus.core.cluster +
    Cluster relates classes and interfaces.
    +
    org.glassfish.tyrus.core.coder +
    Encoder and decoder adapters and built-in implementations.
    +
    org.glassfish.tyrus.core.extension +
    WebSocket Extension support.
    +
    org.glassfish.tyrus.core.frame +
    WebSocket frame representations.
    +
    org.glassfish.tyrus.server +
    Server implementation.
    +
    org.glassfish.tyrus.spi +
    Tyrus SPI.
    +
    +
  • +
  • + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    Classes in javax.websocket used by javax.websocket 
    ClassDescription
    ClientEndpointConfig +
    The ClientEndpointConfig is a special kind of endpoint configuration object that contains + web socket configuration information specific only to client endpoints.
    +
    ClientEndpointConfig.Builder +
    The ClientEndpointConfig.Builder is a class used for creating + ClientEndpointConfig objects for the purposes of + deploying a client endpoint.
    +
    ClientEndpointConfig.Configurator +
    The Configurator class may be extended by developers who want to + provide custom configuration algorithms, such as intercepting the opening handshake, or + providing arbitrary methods and algorithms that can be accessed from each endpoint + instance configured with this configurator.
    +
    CloseReason +
    A class encapsulating the reason why a web socket has been closed, or why it is being asked to + close.
    +
    CloseReason.CloseCode +
    A marker interface for the close codes.
    +
    CloseReason.CloseCodes +
    An Enumeration of status codes for a web socket close that + are defined in the specification.
    +
    DecodeException +
    A general exception that occurs when trying to decode a custom object from a text or binary message.
    +
    Decoder +
    The Decoder interface holds member interfaces that define how a developer can provide + the web socket container a way web socket messages into developer defined custom objects.
    +
    DeploymentException +
    Checked exception indicating some kind of failure either to publish + an endpoint on its server, or a failure to connect a client to its server.
    +
    EncodeException +
    A general exception that occurs when trying to encode a custom object to a string or binary message.
    +
    Encoder +
    The Encoder interface defines how developers can provide a way to convert + their custom objects into web socket messages.
    +
    Endpoint +
    The Web Socket Endpoint represents an object that can handle websocket conversations.
    +
    EndpointConfig +
    The endpoint configuration contains all the information needed during the handshake process + for this end point.
    +
    Extension +
    A simple representation of a websocket extension as a name and map of extension parameters.
    +
    Extension.Parameter +
    This member interface defines a single websocket extension parameter.
    +
    HandshakeResponse +
    The handshake response represents the web socket-defined Http response + that is the response to the opening handshake request.
    +
    MessageHandler +
    Developers implement MessageHandlers in order to receive incoming messages + during a web socket conversation.
    +
    MessageHandler.Partial +
    This kind of handler is notified by the implementation as it becomes ready + to deliver parts of a whole message.
    +
    MessageHandler.Whole +
    This kind of handler is notified by the container on arrival of a complete message.
    +
    RemoteEndpoint +
    The RemoteEndpoint object is supplied by the container and represents the + 'other end' or peer of the Web Socket conversation.
    +
    RemoteEndpoint.Async +
    This representation of the peer of a web socket conversation has the ability + to send messages asynchronously.
    +
    RemoteEndpoint.Basic +
    This representation of the peer of a web socket conversation has the ability + to send messages synchronously.
    +
    SendHandler +
    A simple callback object for asynchronous sending of web socket messages.
    +
    SendResult +
    The result of asynchronously sending a web socket message.
    +
    Session +
    A Web Socket session represents a conversation between two web socket endpoints.
    +
    WebSocketContainer +
    A WebSocketContainer is an implementation provided object that provides applications + a view on the container running it.
    +
    +
  • +
  • + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    Classes in javax.websocket used by javax.websocket.server 
    ClassDescription
    Decoder +
    The Decoder interface holds member interfaces that define how a developer can provide + the web socket container a way web socket messages into developer defined custom objects.
    +
    DeploymentException +
    Checked exception indicating some kind of failure either to publish + an endpoint on its server, or a failure to connect a client to its server.
    +
    Encoder +
    The Encoder interface defines how developers can provide a way to convert + their custom objects into web socket messages.
    +
    Endpoint +
    The Web Socket Endpoint represents an object that can handle websocket conversations.
    +
    EndpointConfig +
    The endpoint configuration contains all the information needed during the handshake process + for this end point.
    +
    Extension +
    A simple representation of a websocket extension as a name and map of extension parameters.
    +
    HandshakeResponse +
    The handshake response represents the web socket-defined Http response + that is the response to the opening handshake request.
    +
    WebSocketContainer +
    A WebSocketContainer is an implementation provided object that provides applications + a view on the container running it.
    +
    +
  • +
  • + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    Classes in javax.websocket used by org.glassfish.tyrus.client 
    ClassDescription
    ClientEndpointConfig +
    The ClientEndpointConfig is a special kind of endpoint configuration object that contains + web socket configuration information specific only to client endpoints.
    +
    CloseReason +
    A class encapsulating the reason why a web socket has been closed, or why it is being asked to + close.
    +
    DeploymentException +
    Checked exception indicating some kind of failure either to publish + an endpoint on its server, or a failure to connect a client to its server.
    +
    Endpoint +
    The Web Socket Endpoint represents an object that can handle websocket conversations.
    +
    Extension +
    A simple representation of a websocket extension as a name and map of extension parameters.
    +
    Session +
    A Web Socket session represents a conversation between two web socket endpoints.
    +
    WebSocketContainer +
    A WebSocketContainer is an implementation provided object that provides applications + a view on the container running it.
    +
    +
  • +
  • + + + + + + + + + + + + + + + + + + + + + + + + + + +
    Classes in javax.websocket used by org.glassfish.tyrus.container.grizzly.client 
    ClassDescription
    ClientEndpointConfig +
    The ClientEndpointConfig is a special kind of endpoint configuration object that contains + web socket configuration information specific only to client endpoints.
    +
    ContainerProvider +
    Provider class that allows the developer to get a reference to + the implementation of the WebSocketContainer.
    +
    DeploymentException +
    Checked exception indicating some kind of failure either to publish + an endpoint on its server, or a failure to connect a client to its server.
    +
    WebSocketContainer +
    A WebSocketContainer is an implementation provided object that provides applications + a view on the container running it.
    +
    +
  • +
  • + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    Classes in javax.websocket used by org.glassfish.tyrus.core 
    ClassDescription
    CloseReason +
    A class encapsulating the reason why a web socket has been closed, or why it is being asked to + close.
    +
    CloseReason.CloseCode +
    A marker interface for the close codes.
    +
    Decoder +
    The Decoder interface holds member interfaces that define how a developer can provide + the web socket container a way web socket messages into developer defined custom objects.
    +
    DeploymentException +
    Checked exception indicating some kind of failure either to publish + an endpoint on its server, or a failure to connect a client to its server.
    +
    EncodeException +
    A general exception that occurs when trying to encode a custom object to a string or binary message.
    +
    Encoder +
    The Encoder interface defines how developers can provide a way to convert + their custom objects into web socket messages.
    +
    Endpoint +
    The Web Socket Endpoint represents an object that can handle websocket conversations.
    +
    EndpointConfig +
    The endpoint configuration contains all the information needed during the handshake process + for this end point.
    +
    Extension +
    A simple representation of a websocket extension as a name and map of extension parameters.
    +
    Extension.Parameter +
    This member interface defines a single websocket extension parameter.
    +
    HandshakeResponse +
    The handshake response represents the web socket-defined Http response + that is the response to the opening handshake request.
    +
    MessageHandler +
    Developers implement MessageHandlers in order to receive incoming messages + during a web socket conversation.
    +
    MessageHandler.Partial +
    This kind of handler is notified by the implementation as it becomes ready + to deliver parts of a whole message.
    +
    MessageHandler.Whole +
    This kind of handler is notified by the container on arrival of a complete message.
    +
    RemoteEndpoint +
    The RemoteEndpoint object is supplied by the container and represents the + 'other end' or peer of the Web Socket conversation.
    +
    RemoteEndpoint.Async +
    This representation of the peer of a web socket conversation has the ability + to send messages asynchronously.
    +
    RemoteEndpoint.Basic +
    This representation of the peer of a web socket conversation has the ability + to send messages synchronously.
    +
    SendHandler +
    A simple callback object for asynchronous sending of web socket messages.
    +
    Session +
    A Web Socket session represents a conversation between two web socket endpoints.
    +
    WebSocketContainer +
    A WebSocketContainer is an implementation provided object that provides applications + a view on the container running it.
    +
    +
  • +
  • + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    Classes in javax.websocket used by org.glassfish.tyrus.core.cluster 
    ClassDescription
    CloseReason +
    A class encapsulating the reason why a web socket has been closed, or why it is being asked to + close.
    +
    Extension +
    A simple representation of a websocket extension as a name and map of extension parameters.
    +
    MessageHandler +
    Developers implement MessageHandlers in order to receive incoming messages + during a web socket conversation.
    +
    MessageHandler.Partial +
    This kind of handler is notified by the implementation as it becomes ready + to deliver parts of a whole message.
    +
    MessageHandler.Whole +
    This kind of handler is notified by the container on arrival of a complete message.
    +
    RemoteEndpoint.Async +
    This representation of the peer of a web socket conversation has the ability + to send messages asynchronously.
    +
    RemoteEndpoint.Basic +
    This representation of the peer of a web socket conversation has the ability + to send messages synchronously.
    +
    SendHandler +
    A simple callback object for asynchronous sending of web socket messages.
    +
    Session +
    A Web Socket session represents a conversation between two web socket endpoints.
    +
    WebSocketContainer +
    A WebSocketContainer is an implementation provided object that provides applications + a view on the container running it.
    +
    +
  • +
  • + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    Classes in javax.websocket used by org.glassfish.tyrus.core.coder 
    ClassDescription
    DecodeException +
    A general exception that occurs when trying to decode a custom object from a text or binary message.
    +
    Decoder +
    The Decoder interface holds member interfaces that define how a developer can provide + the web socket container a way web socket messages into developer defined custom objects.
    +
    Decoder.Binary +
    This interface defines how a custom object (of type T) is decoded from a web socket message in + the form of a byte buffer.
    +
    Decoder.Text +
    This interface defines how a custom object is decoded from a web socket message in + the form of a string.
    +
    EncodeException +
    A general exception that occurs when trying to encode a custom object to a string or binary message.
    +
    Encoder +
    The Encoder interface defines how developers can provide a way to convert + their custom objects into web socket messages.
    +
    Encoder.Binary +
    This interface defines how to provide a way to convert a custom + object into a binary message.
    +
    Encoder.Text +
    This interface defines how to provide a way to convert a custom + object into a text message.
    +
    EndpointConfig +
    The endpoint configuration contains all the information needed during the handshake process + for this end point.
    +
    +
  • +
  • + + + + + + + + + + + + + + + + + + +
    Classes in javax.websocket used by org.glassfish.tyrus.core.extension 
    ClassDescription
    Extension +
    A simple representation of a websocket extension as a name and map of extension parameters.
    +
    Extension.Parameter +
    This member interface defines a single websocket extension parameter.
    +
    +
  • +
  • + + + + + + + + + + + + + + +
    Classes in javax.websocket used by org.glassfish.tyrus.core.frame 
    ClassDescription
    CloseReason +
    A class encapsulating the reason why a web socket has been closed, or why it is being asked to + close.
    +
    +
  • +
  • + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    Classes in javax.websocket used by org.glassfish.tyrus.server 
    ClassDescription
    ClientEndpointConfig +
    The ClientEndpointConfig is a special kind of endpoint configuration object that contains + web socket configuration information specific only to client endpoints.
    +
    DeploymentException +
    Checked exception indicating some kind of failure either to publish + an endpoint on its server, or a failure to connect a client to its server.
    +
    Endpoint +
    The Web Socket Endpoint represents an object that can handle websocket conversations.
    +
    Extension +
    A simple representation of a websocket extension as a name and map of extension parameters.
    +
    Session +
    A Web Socket session represents a conversation between two web socket endpoints.
    +
    WebSocketContainer +
    A WebSocketContainer is an implementation provided object that provides applications + a view on the container running it.
    +
    +
  • +
  • + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    Classes in javax.websocket used by org.glassfish.tyrus.spi 
    ClassDescription
    ClientEndpointConfig +
    The ClientEndpointConfig is a special kind of endpoint configuration object that contains + web socket configuration information specific only to client endpoints.
    +
    CloseReason +
    A class encapsulating the reason why a web socket has been closed, or why it is being asked to + close.
    +
    DeploymentException +
    Checked exception indicating some kind of failure either to publish + an endpoint on its server, or a failure to connect a client to its server.
    +
    HandshakeResponse +
    The handshake response represents the web socket-defined Http response + that is the response to the opening handshake request.
    +
    WebSocketContainer +
    A WebSocketContainer is an implementation provided object that provides applications + a view on the container running it.
    +
    +
  • +
+
+
+ + + diff --git a/apidocs/1.19/javax/websocket/server/HandshakeRequest.html b/apidocs/1.19/javax/websocket/server/HandshakeRequest.html new file mode 100644 index 00000000..5f4f7587 --- /dev/null +++ b/apidocs/1.19/javax/websocket/server/HandshakeRequest.html @@ -0,0 +1,522 @@ + + + + + +HandshakeRequest (Tyrus 1.19 API) + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +

Interface HandshakeRequest

+
+
+
+
    +
  • +
    +
    All Known Implementing Classes:
    +
    RequestContext, UpgradeRequest
    +
    +
    +
    public interface HandshakeRequest
    +
    The handshake request represents the web socket defined Http GET request + for the opening handshake of a web socket session.
    +
    +
    Author:
    +
    dannycoward
    +
    +
  • +
+
+
+
    +
  • + +
    +
      +
    • + + +

      Field Summary

      + + + + + + + + + + + + + + + + + + + + + + + + + + + +
      Fields 
      Modifier and TypeFieldDescription
      static java.lang.StringSEC_WEBSOCKET_EXTENSIONS +
      The Sec-WebSocket-Extensions header name
      +
      static java.lang.StringSEC_WEBSOCKET_KEY +
      The Sec-WebSocket-Key header name
      +
      static java.lang.StringSEC_WEBSOCKET_PROTOCOL +
      The Sec-WebSocket-Protocol header name
      +
      static java.lang.StringSEC_WEBSOCKET_VERSION +
      The Sec-WebSocket-Version header name
      +
      +
    • +
    +
    + +
    +
      +
    • + + +

      Method Summary

      + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
      All Methods Instance Methods Abstract Methods 
      Modifier and TypeMethodDescription
      java.util.Map<java.lang.String,​java.util.List<java.lang.String>>getHeaders() +
      Return the read only Map of Http Headers that came with the handshake request.
      +
      java.lang.ObjectgetHttpSession() +
      Return a reference to the HttpSession that the web socket handshake that + started this conversation was part of, if the implementation + is part of a Java EE web container.
      +
      java.util.Map<java.lang.String,​java.util.List<java.lang.String>>getParameterMap() +
      Return the request parameters associated with the request.
      +
      java.lang.StringgetQueryString() +
      Return the query string associated with the request.
      +
      java.net.URIgetRequestURI() +
      Return the request URI of the handshake request.
      +
      java.security.PrincipalgetUserPrincipal() +
      Return the authenticated user or null if no user is authenticated + for this handshake.
      +
      booleanisUserInRole​(java.lang.String role) +
      Checks whether the current user is in the given role.
      +
      +
    • +
    +
    +
  • +
+
+
+
    +
  • + +
    +
      +
    • + + +

      Field Detail

      + + + +
        +
      • +

        SEC_WEBSOCKET_KEY

        +
        static final java.lang.String SEC_WEBSOCKET_KEY
        +
        The Sec-WebSocket-Key header name
        +
        +
        See Also:
        +
        Constant Field Values
        +
        +
      • +
      + + + +
        +
      • +

        SEC_WEBSOCKET_PROTOCOL

        +
        static final java.lang.String SEC_WEBSOCKET_PROTOCOL
        +
        The Sec-WebSocket-Protocol header name
        +
        +
        See Also:
        +
        Constant Field Values
        +
        +
      • +
      + + + +
        +
      • +

        SEC_WEBSOCKET_VERSION

        +
        static final java.lang.String SEC_WEBSOCKET_VERSION
        +
        The Sec-WebSocket-Version header name
        +
        +
        See Also:
        +
        Constant Field Values
        +
        +
      • +
      + + + +
        +
      • +

        SEC_WEBSOCKET_EXTENSIONS

        +
        static final java.lang.String SEC_WEBSOCKET_EXTENSIONS
        +
        The Sec-WebSocket-Extensions header name
        +
        +
        See Also:
        +
        Constant Field Values
        +
        +
      • +
      +
    • +
    +
    + +
    +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        getHeaders

        +
        java.util.Map<java.lang.String,​java.util.List<java.lang.String>> getHeaders()
        +
        Return the read only Map of Http Headers that came with the handshake request. The header names + are case insensitive.
        +
        +
        Returns:
        +
        the list of headers.
        +
        +
      • +
      + + + +
        +
      • +

        getUserPrincipal

        +
        java.security.Principal getUserPrincipal()
        +
        Return the authenticated user or null if no user is authenticated + for this handshake.
        +
        +
        Returns:
        +
        the user principal.
        +
        +
      • +
      + + + +
        +
      • +

        getRequestURI

        +
        java.net.URI getRequestURI()
        +
        Return the request URI of the handshake request.
        +
        +
        Returns:
        +
        the request uri of the handshake request.
        +
        +
      • +
      + + + +
        +
      • +

        isUserInRole

        +
        boolean isUserInRole​(java.lang.String role)
        +
        Checks whether the current user is in the given role. Roles and role + membership can be defined using deployment descriptors of the containing + WAR file, if running in a Java EE web container. If the user has + not been authenticated, the method returns false.
        +
        +
        Parameters:
        +
        role - the role being checked.
        +
        Returns:
        +
        whether the authenticated user is in the role, or false if the user has not + been authenticated.
        +
        +
      • +
      + + + +
        +
      • +

        getHttpSession

        +
        java.lang.Object getHttpSession()
        +
        Return a reference to the HttpSession that the web socket handshake that + started this conversation was part of, if the implementation + is part of a Java EE web container.
        +
        +
        Returns:
        +
        the http session or null if either the websocket + implementation is not part of a Java EE web container, or there is + no HttpSession associated with the opening handshake request.
        +
        +
      • +
      + + + +
        +
      • +

        getParameterMap

        +
        java.util.Map<java.lang.String,​java.util.List<java.lang.String>> getParameterMap()
        +
        Return the request parameters associated with the request.
        +
        +
        Returns:
        +
        the unmodifiable map of the request parameters.
        +
        +
      • +
      + + + +
        +
      • +

        getQueryString

        +
        java.lang.String getQueryString()
        +
        Return the query string associated with the request.
        +
        +
        Returns:
        +
        the query string.
        +
        +
      • +
      +
    • +
    +
    +
  • +
+
+
+
+ + + + diff --git a/apidocs/1.19/javax/websocket/server/PathParam.html b/apidocs/1.19/javax/websocket/server/PathParam.html new file mode 100644 index 00000000..737c1916 --- /dev/null +++ b/apidocs/1.19/javax/websocket/server/PathParam.html @@ -0,0 +1,287 @@ + + + + + +PathParam (Tyrus 1.19 API) + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +

Annotation Type PathParam

+
+
+
+
    +
  • +
    +
    @Retention(RUNTIME)
    +@Target(PARAMETER)
    +public @interface PathParam
    +
    This annotation may be used to annotate method parameters on server endpoints + where a URI-template has been used in the path-mapping of the ServerEndpoint + annotation. The method parameter may be of type String, any Java primitive + type or any boxed version thereof. If a client URI matches the URI-template, + but the requested path parameter cannot be decoded, then the websocket's error + handler will be called. + +

    For example:- +

    
    + @ServerEndpoint("/bookings/{guest-id}")
    + public class BookingServer {
    + 
    +     @OnMessage
    +     public void processBookingRequest(@PathParam("guest-id") String guestID, String message, Session session) {
    +         // process booking from the given guest here
    +     }
    + }
    + 
    + +

    For example:- +

    
    + @ServerEndpoint("/rewards/{vip-level}")
    + public class RewardServer {
    + 
    +     @OnMessage
    +     public void processReward(@PathParam("vip-level") Integer vipLevel, String message, Session session) {
    +         // process reward here
    +     }
    + }
    + 
    +
    +
    Author:
    +
    dannycoward
    +
    +
  • +
+
+
+
    +
  • + +
    +
      +
    • + + +

      Required Element Summary

      + + + + + + + + + + + + +
      Required Elements 
      Modifier and TypeRequired ElementDescription
      java.lang.Stringvalue +
      The name of the variable used in the URI-template.
      +
      +
    • +
    +
    +
  • +
+
+
+
    +
  • + +
    +
      +
    • + + +

      Element Detail

      + + + +
        +
      • +

        value

        +
        java.lang.String value
        +
        The name of the variable used in the URI-template. If the name does + not match a path variable in the URI-template, the value of the method parameter + this annotation annotates is null.
        +
        +
        Returns:
        +
        the name of the variable used in the URI-template.
        +
        +
      • +
      +
    • +
    +
    +
  • +
+
+
+
+ + + + diff --git a/apidocs/1.19/javax/websocket/server/ServerApplicationConfig.html b/apidocs/1.19/javax/websocket/server/ServerApplicationConfig.html new file mode 100644 index 00000000..7df2364b --- /dev/null +++ b/apidocs/1.19/javax/websocket/server/ServerApplicationConfig.html @@ -0,0 +1,312 @@ + + + + + +ServerApplicationConfig (Tyrus 1.19 API) + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +

Interface ServerApplicationConfig

+
+
+
+
    +
  • +
    +
    All Known Implementing Classes:
    +
    TyrusServerConfiguration
    +
    +
    +
    public interface ServerApplicationConfig
    +
    Developers include implementations of ServerApplicationConfig in an archive containing + websocket endpoints (WAR file, or JAR file within the WAR file) in order to specify the websocket + endpoints within the archive the implementation must deploy. There is a separate + method for programmatic endpoints and for annotated endpoints.
    +
    +
    Author:
    +
    dannycoward
    +
    +
  • +
+
+
+
    +
  • + +
    +
      +
    • + + +

      Method Summary

      + + + + + + + + + + + + + + + + + +
      All Methods Instance Methods Abstract Methods 
      Modifier and TypeMethodDescription
      java.util.Set<java.lang.Class<?>>getAnnotatedEndpointClasses​(java.util.Set<java.lang.Class<?>> scanned) +
      Return a set of annotated endpoint classes that the server container + must deploy.
      +
      java.util.Set<ServerEndpointConfig>getEndpointConfigs​(java.util.Set<java.lang.Class<? extends Endpoint>> endpointClasses) +
      Return a set of ServerEndpointConfig instances that the server container + will use to deploy the programmatic endpoints.
      +
      +
    • +
    +
    +
  • +
+
+
+
    +
  • + +
    +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        getEndpointConfigs

        +
        java.util.Set<ServerEndpointConfig> getEndpointConfigs​(java.util.Set<java.lang.Class<? extends Endpoint>> endpointClasses)
        +
        Return a set of ServerEndpointConfig instances that the server container + will use to deploy the programmatic endpoints. The set of Endpoint classes passed in to this method is + the set obtained by scanning the archive containing the implementation + of this ServerApplicationConfig. This set passed in + may be used the build the set of ServerEndpointConfig instances + to return to the container for deployment.
        +
        +
        Parameters:
        +
        endpointClasses - the set of all the Endpoint classes in the archive containing + the implementation of this interface.
        +
        Returns:
        +
        the non-null set of ServerEndpointConfig s to deploy on the server, using the empty set to + indicate none.
        +
        +
      • +
      + + + +
        +
      • +

        getAnnotatedEndpointClasses

        +
        java.util.Set<java.lang.Class<?>> getAnnotatedEndpointClasses​(java.util.Set<java.lang.Class<?>> scanned)
        +
        Return a set of annotated endpoint classes that the server container + must deploy. The set of classes passed in to this method is + the set obtained by scanning the archive containing the implementation + of this interface. Therefore, this set passed in contains all the annotated endpoint classes + in the JAR or WAR file containing the implementation of this interface. This set passed in + may be used the build the set to return to the container for deployment.
        +
        +
        Parameters:
        +
        scanned - the set of all the annotated endpoint classes in the archive containing + the implementation of this interface.
        +
        Returns:
        +
        the non-null set of annotated endpoint classes to deploy on the server, using the empty + set to indicate none.
        +
        +
      • +
      +
    • +
    +
    +
  • +
+
+
+
+ + + + diff --git a/apidocs/1.19/javax/websocket/server/ServerContainer.html b/apidocs/1.19/javax/websocket/server/ServerContainer.html new file mode 100644 index 00000000..73cc73d5 --- /dev/null +++ b/apidocs/1.19/javax/websocket/server/ServerContainer.html @@ -0,0 +1,334 @@ + + + + + +ServerContainer (Tyrus 1.19 API) + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +

Interface ServerContainer

+
+
+
+
    +
  • +
    +
    All Superinterfaces:
    +
    WebSocketContainer
    +
    +
    +
    All Known Subinterfaces:
    +
    ServerContainer
    +
    +
    +
    All Known Implementing Classes:
    +
    TyrusServerContainer
    +
    +
    +
    public interface ServerContainer
    +extends WebSocketContainer
    +
    The ServerContainer is the specialized view of the WebSocketContainer available + in server-side deployments. There is one ServerContainer instance per + websocket application. The ServerContainer holds the methods to be able to + register server endpoints during the initialization phase of the application. +

    For websocket enabled web containers, developers may + obtain a reference to the ServerContainer instance by retrieving it as an + attribute named javax.websocket.server.ServerContainer on the + ServletContext. This way, the registration methods held on this interface + may be called to register server endpoints from a ServletContextListener + during the deployment of the WAR file containing the endpoint. +

    +

    WebSocket + implementations that run outside the web container may have other means + by which to provide a ServerContainer instance to the developer at application + deployment time. +

    +

    Once the + application deployment phase is complete, and the websocket application has + begun accepting incoming connections, the registration methods may no + longer be called.

    +
    +
    Author:
    +
    dannycoward
    +
    +
  • +
+
+
+ +
+
+
    +
  • + +
    +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        addEndpoint

        +
        void addEndpoint​(java.lang.Class<?> endpointClass)
        +          throws DeploymentException
        +
        Deploys the given annotated endpoint into this ServerContainer during the + initialization phase of deploying the application.
        +
        +
        Parameters:
        +
        endpointClass - the class of the annotated endpoint
        +
        Throws:
        +
        DeploymentException - if the annotated endpoint was badly formed.
        +
        java.lang.IllegalStateException - if the containing websocket application has already + been deployed.
        +
        +
      • +
      + + + +
        +
      • +

        addEndpoint

        +
        void addEndpoint​(ServerEndpointConfig serverConfig)
        +          throws DeploymentException
        +
        +
        Parameters:
        +
        serverConfig - the configuration instance representing the logical endpoint + that will be registered.
        +
        Throws:
        +
        DeploymentException - if the endpoint was badly formed.
        +
        java.lang.IllegalStateException - if the containing websocket application has already + been deployed.
        +
        +
      • +
      +
    • +
    +
    +
  • +
+
+
+
+ + + + diff --git a/apidocs/1.19/javax/websocket/server/ServerEndpoint.html b/apidocs/1.19/javax/websocket/server/ServerEndpoint.html new file mode 100644 index 00000000..0e887a92 --- /dev/null +++ b/apidocs/1.19/javax/websocket/server/ServerEndpoint.html @@ -0,0 +1,434 @@ + + + + + +ServerEndpoint (Tyrus 1.19 API) + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +

Annotation Type ServerEndpoint

+
+
+
+
    +
  • +
    +
    @Retention(RUNTIME)
    +@Target(TYPE)
    +public @interface ServerEndpoint
    +
    This class level annotation declares that the class it decorates + is a web socket endpoint that will be deployed and made available in the URI-space + of a web socket server. The annotation allows the developer to + define the URL (or URI template) which this endpoint will be published, and other + important properties of the endpoint to the websocket runtime, such as the encoders + it uses to send messages. + +

    The annotated class + must have a public no-arg constructor. + +

    For example: +

    
    + @ServerEndpoint("/hello");
    + public class HelloServer {
    +
    +     @OnMessage
    +     public void processGreeting(String message, Session session) {
    +         System.out.println("Greeting received:" + message);
    +     }
    +
    + }
    + 
    +
    +
    Author:
    +
    dannycoward
    +
    +
  • +
+
+
+
    +
  • + +
    +
      +
    • + + +

      Required Element Summary

      + + + + + + + + + + + + +
      Required Elements 
      Modifier and TypeRequired ElementDescription
      java.lang.Stringvalue +
      The URI or URI-template, level-1 (See RFC 6570) where the endpoint will be deployed.
      +
      +
    • +
    +
    + +
    +
      +
    • + + +

      Optional Element Summary

      + + + + + + + + + + + + + + + + + + + + + + + + + + + +
      Optional Elements 
      Modifier and TypeOptional ElementDescription
      java.lang.Class<? extends ServerEndpointConfig.Configurator>configurator +
      The optional custom configurator class that the developer would like to use + to further configure new instances of this endpoint.
      +
      java.lang.Class<? extends Decoder>[]decoders +
      The ordered array of decoder classes this endpoint will use.
      +
      java.lang.Class<? extends Encoder>[]encoders +
      The ordered array of encoder classes this endpoint will use.
      +
      java.lang.String[]subprotocols +
      The ordered array of web socket protocols this endpoint supports.
      +
      +
    • +
    +
    +
  • +
+
+
+
    +
  • + +
    +
      +
    • + + +

      Element Detail

      + + + +
        +
      • +

        value

        +
        java.lang.String value
        +
        The URI or URI-template, level-1 (See RFC 6570) where the endpoint will be deployed. The URI us relative to the + root of the web socket container and must begin with a leading "/". Trailing "/"'s are ignored. Examples: +
        
        + @ServerEndpoint("/chat")
        + @ServerEndpoint("/chat/{user}")
        + @ServerEndpoint("/booking/{privilege-level}")
        + 
        +
        +
        Returns:
        +
        the URI or URI-template
        +
        +
      • +
      +
    • +
    +
    + +
    +
      +
    • + + +
        +
      • +

        subprotocols

        +
        java.lang.String[] subprotocols
        +
        The ordered array of web socket protocols this endpoint supports. + For example, {"superchat", "chat"}.
        +
        +
        Returns:
        +
        the subprotocols.
        +
        +
        +
        Default:
        +
        {}
        +
        +
      • +
      +
    • +
    +
    +
    +
      +
    • + + +
        +
      • +

        decoders

        +
        java.lang.Class<? extends Decoder>[] decoders
        +
        The ordered array of decoder classes this endpoint will use. For example, + if the developer has provided a MysteryObject decoder, this endpoint will be able to + receive MysteryObjects as web socket messages. The websocket runtime will use the first + decoder in the list able to decode a message, ignoring the remaining decoders.
        +
        +
        Returns:
        +
        the decoders.
        +
        +
        +
        Default:
        +
        {}
        +
        +
      • +
      +
    • +
    +
    +
    +
      +
    • + + +
        +
      • +

        encoders

        +
        java.lang.Class<? extends Encoder>[] encoders
        +
        The ordered array of encoder classes this endpoint will use. For example, + if the developer has provided a MysteryObject encoder, this class will be able to + send web socket messages in the form of MysteryObjects. The websocket runtime will use the first + encoder in the list able to encode a message, ignoring the remaining encoders.
        +
        +
        Returns:
        +
        the encoders.
        +
        +
        +
        Default:
        +
        {}
        +
        +
      • +
      +
    • +
    +
    +
    +
      +
    • + + +
        +
      • +

        configurator

        +
        java.lang.Class<? extends ServerEndpointConfig.Configurator> configurator
        +
        The optional custom configurator class that the developer would like to use + to further configure new instances of this endpoint. If no configurator + class is provided, the implementation uses its own. The implementation + creates a new instance of the configurator per logical endpoint.
        +
        +
        Returns:
        +
        the custom configuration class, or ServerEndpointConfig.Configurator.class + if none was set in the annotation.
        +
        +
        +
        Default:
        +
        javax.websocket.server.ServerEndpointConfig.Configurator.class
        +
        +
      • +
      +
    • +
    +
    +
  • +
+
+
+
+ + + + diff --git a/apidocs/1.19/javax/websocket/server/ServerEndpointConfig.Builder.html b/apidocs/1.19/javax/websocket/server/ServerEndpointConfig.Builder.html new file mode 100644 index 00000000..52300b72 --- /dev/null +++ b/apidocs/1.19/javax/websocket/server/ServerEndpointConfig.Builder.html @@ -0,0 +1,453 @@ + + + + + +ServerEndpointConfig.Builder (Tyrus 1.19 API) + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +

Class ServerEndpointConfig.Builder

+
+
+
    +
  • java.lang.Object
  • +
  • +
      +
    • javax.websocket.server.ServerEndpointConfig.Builder
    • +
    +
  • +
+
+
    +
  • +
    +
    Enclosing interface:
    +
    ServerEndpointConfig
    +
    +
    +
    public static final class ServerEndpointConfig.Builder
    +extends java.lang.Object
    +
    The ServerEndpointConfig.Builder is a class used for creating + ServerEndpointConfig.Builder objects for the purposes of + deploying a server endpoint. + +

    Here are some examples: + +

    Building a plain configuration for an endpoint with just a path. +

    
    + ServerEndpointConfig config = ServerEndpointConfig.Builder.create(ProgrammaticEndpoint.class, "/foo").build();
    + 
    + +

    Building a configuration with no subprotocols and a custom configurator. +

    
    + ServerEndpointConfig config = ServerEndpointConfig.Builder.create(ProgrammaticEndpoint.class, "/bar")
    +         .subprotocols(subprotocols)
    +         .configurator(new MyServerConfigurator())
    +         .build();
    + 
    +
    +
    Author:
    +
    dannycoward
    +
    +
  • +
+
+
+ +
+
+
    +
  • + +
    +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        create

        +
        public static ServerEndpointConfig.Builder create​(java.lang.Class<?> endpointClass,
        +                                                  java.lang.String path)
        +
        Creates the builder with the mandatory information of the endpoint class + (programmatic or annotated), the relative URI or URI-template to use, + and with no subprotocols, extensions, encoders, decoders or custom + configurator.
        +
        +
        Parameters:
        +
        endpointClass - the class of the endpoint to configure
        +
        path - The URI or URI template where the endpoint will be deployed. + A trailing "/" will be ignored and the path must begin with /.
        +
        Returns:
        +
        a new instance of ServerEndpointConfig.Builder
        +
        +
      • +
      + + + +
        +
      • +

        build

        +
        public ServerEndpointConfig build()
        +
        Builds the configuration object using the current attributes + that have been set on this builder object.
        +
        +
        Returns:
        +
        a new ServerEndpointConfig object.
        +
        +
      • +
      + + + +
        +
      • +

        encoders

        +
        public ServerEndpointConfig.Builder encoders​(java.util.List<java.lang.Class<? extends Encoder>> encoders)
        +
        Sets the list of encoder implementation classes for this builder.
        +
        +
        Parameters:
        +
        encoders - the encoders
        +
        Returns:
        +
        this builder instance
        +
        +
      • +
      + + + +
        +
      • +

        decoders

        +
        public ServerEndpointConfig.Builder decoders​(java.util.List<java.lang.Class<? extends Decoder>> decoders)
        +
        Sets the decoder implementation classes to use in the configuration.
        +
        +
        Parameters:
        +
        decoders - the decoders
        +
        Returns:
        +
        this builder instance.
        +
        +
      • +
      + + + +
        +
      • +

        subprotocols

        +
        public ServerEndpointConfig.Builder subprotocols​(java.util.List<java.lang.String> subprotocols)
        +
        Sets the subprotocols to use in the configuration.
        +
        +
        Parameters:
        +
        subprotocols - the subprotocols.
        +
        Returns:
        +
        this builder instance
        +
        +
      • +
      + + + +
        +
      • +

        extensions

        +
        public ServerEndpointConfig.Builder extensions​(java.util.List<Extension> extensions)
        +
        Sets the extensions to use in the configuration.
        +
        +
        Parameters:
        +
        extensions - the extensions to use.
        +
        Returns:
        +
        this builder instance.
        +
        +
      • +
      + + + +
        +
      • +

        configurator

        +
        public ServerEndpointConfig.Builder configurator​(ServerEndpointConfig.Configurator serverEndpointConfigurator)
        +
        Sets the custom configurator to use on the configuration + object built by this builder.
        +
        +
        Parameters:
        +
        serverEndpointConfigurator - the configurator
        +
        Returns:
        +
        this builder instance
        +
        +
      • +
      +
    • +
    +
    +
  • +
+
+
+
+ + + + diff --git a/apidocs/1.19/javax/websocket/server/ServerEndpointConfig.Configurator.html b/apidocs/1.19/javax/websocket/server/ServerEndpointConfig.Configurator.html new file mode 100644 index 00000000..2a34398d --- /dev/null +++ b/apidocs/1.19/javax/websocket/server/ServerEndpointConfig.Configurator.html @@ -0,0 +1,493 @@ + + + + + +ServerEndpointConfig.Configurator (Tyrus 1.19 API) + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +

Class ServerEndpointConfig.Configurator

+
+
+
    +
  • java.lang.Object
  • +
  • +
      +
    • javax.websocket.server.ServerEndpointConfig.Configurator
    • +
    +
  • +
+
+
    +
  • +
    +
    Direct Known Subclasses:
    +
    TyrusServerEndpointConfigurator
    +
    +
    +
    Enclosing interface:
    +
    ServerEndpointConfig
    +
    +
    +
    public static class ServerEndpointConfig.Configurator
    +extends java.lang.Object
    +
    The ServerEndpointConfig.Configurator class may be extended by developers who want to + provide custom configuration algorithms, such as intercepting the opening handshake, or + providing arbitrary methods and algorithms that can be accessed from each endpoint + instance configured with this configurator. + + The implementation must provide a platform default configurator loading using the service + loader.
    +
  • +
+
+
+
    +
  • + +
    +
      +
    • + + +

      Constructor Summary

      + + + + + + + + + + +
      Constructors 
      ConstructorDescription
      Configurator() 
      +
    • +
    +
    + +
    +
      +
    • + + +

      Method Summary

      + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
      All Methods Instance Methods Concrete Methods 
      Modifier and TypeMethodDescription
      booleancheckOrigin​(java.lang.String originHeaderValue) +
      Check the value of the Origin header (See Origin Header) the client passed during the opening + handshake.
      +
      <T> TgetEndpointInstance​(java.lang.Class<T> endpointClass) +
      This method is called by the container each time a new client + connects to the logical endpoint this configurator configures.
      +
      java.util.List<Extension>getNegotiatedExtensions​(java.util.List<Extension> installed, + java.util.List<Extension> requested) +
      Return the ordered list of extensions that t server endpoint will support + given the requested extension list passed in, the empty list if none.
      +
      java.lang.StringgetNegotiatedSubprotocol​(java.util.List<java.lang.String> supported, + java.util.List<java.lang.String> requested) +
      Return the subprotocol the server endpoint has chosen from the requested + list supplied by a client who wishes to connect, or none if there wasn't one + this server endpoint liked.
      +
      voidmodifyHandshake​(ServerEndpointConfig sec, + HandshakeRequest request, + HandshakeResponse response) +
      Called by the container after it has formulated a handshake response resulting from + a well-formed handshake request.
      +
      +
        +
      • + + +

        Methods inherited from class java.lang.Object

        +clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • +
      +
    • +
    +
    +
  • +
+
+
+
    +
  • + +
    +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        Configurator

        +
        public Configurator()
        +
      • +
      +
    • +
    +
    + +
    +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        getNegotiatedSubprotocol

        +
        public java.lang.String getNegotiatedSubprotocol​(java.util.List<java.lang.String> supported,
        +                                                 java.util.List<java.lang.String> requested)
        +
        Return the subprotocol the server endpoint has chosen from the requested + list supplied by a client who wishes to connect, or none if there wasn't one + this server endpoint liked. See + Sending the + Server's Opening Handshake. Subclasses may provide custom algorithms + based on other factors. + +

        The default platform implementation of this method returns the first + subprotocol in the list sent by the client that the server supports, + or the empty string if there isn't one.

        +
        +
        Parameters:
        +
        requested - the requested subprotocols from the client endpoint
        +
        supported - the subprotocols supported by the server endpoint
        +
        Returns:
        +
        the negotiated subprotocol or the empty string if there isn't one.
        +
        +
      • +
      + + + +
        +
      • +

        getNegotiatedExtensions

        +
        public java.util.List<Extension> getNegotiatedExtensions​(java.util.List<Extension> installed,
        +                                                         java.util.List<Extension> requested)
        +
        Return the ordered list of extensions that t server endpoint will support + given the requested extension list passed in, the empty list if none. See + Negotiating Extensions + +

        The default platform implementation of this method returns a list + containing all of the requested extensions passed to this method that + it supports, using the order in the requested extensions, the empty + list if none.

        +
        +
        Parameters:
        +
        installed - the installed extensions on the implementation.
        +
        requested - the requested extensions, in the order they were + requested by the client
        +
        Returns:
        +
        the list of extensions negotiated, the empty list if none.
        +
        +
      • +
      + + + +
        +
      • +

        checkOrigin

        +
        public boolean checkOrigin​(java.lang.String originHeaderValue)
        +
        Check the value of the Origin header (See Origin Header) the client passed during the opening + handshake. + +

        The platform default implementation of this method makes a check of the + validity of the Origin header sent along with + the opening handshake following the recommendation at: + Sending + the Server's Opening Handshake.

        +
        +
        Parameters:
        +
        originHeaderValue - the value of the origin header passed + by the client.
        +
        Returns:
        +
        whether the check passed or not
        +
        +
      • +
      + + + +
        +
      • +

        modifyHandshake

        +
        public void modifyHandshake​(ServerEndpointConfig sec,
        +                            HandshakeRequest request,
        +                            HandshakeResponse response)
        +
        Called by the container after it has formulated a handshake response resulting from + a well-formed handshake request. The container has already + checked that this configuration has a matching URI, determined the + validity of the origin using the checkOrigin method, and filled + out the negotiated subprotocols and extensions based on this configuration. + Custom configurations may override this method in order to inspect + the request parameters and modify the handshake response that the server has formulated. + and the URI checking also. + +

        If the developer does not override this method, no further + modification of the request and response are made by the implementation.

        +
        +
        Parameters:
        +
        sec - the configuration object involved in the handshake
        +
        request - the opening handshake request.
        +
        response - the proposed opening handshake response
        +
        +
      • +
      + + + +
        +
      • +

        getEndpointInstance

        +
        public <T> T getEndpointInstance​(java.lang.Class<T> endpointClass)
        +                          throws java.lang.InstantiationException
        +
        This method is called by the container each time a new client + connects to the logical endpoint this configurator configures. + Developers may override this method to control instantiation of + endpoint instances in order to customize the initialization + of the endpoint instance, or manage them in some other way. + If the developer overrides this method, services like + dependency injection that are otherwise supported, for example, when + the implementation is part of the Java EE platform + may not be available. + The platform default implementation of this method returns a new + endpoint instance per call, thereby ensuring that there is one + endpoint instance per client, the default deployment cardinality.
        +
        +
        Type Parameters:
        +
        T - the type of the endpoint
        +
        Parameters:
        +
        endpointClass - the class of the endpoint
        +
        Returns:
        +
        an instance of the endpoint that will handle all + interactions from a new client.
        +
        Throws:
        +
        java.lang.InstantiationException - if there was an error producing the + endpoint instance.
        +
        +
      • +
      +
    • +
    +
    +
  • +
+
+
+
+ + + + diff --git a/apidocs/1.19/javax/websocket/server/ServerEndpointConfig.html b/apidocs/1.19/javax/websocket/server/ServerEndpointConfig.html new file mode 100644 index 00000000..f1a3539e --- /dev/null +++ b/apidocs/1.19/javax/websocket/server/ServerEndpointConfig.html @@ -0,0 +1,415 @@ + + + + + +ServerEndpointConfig (Tyrus 1.19 API) + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +

Interface ServerEndpointConfig

+
+
+
+
    +
  • +
    +
    All Superinterfaces:
    +
    EndpointConfig
    +
    +
    +
    All Known Subinterfaces:
    +
    TyrusServerEndpointConfig
    +
    +
    +
    public interface ServerEndpointConfig
    +extends EndpointConfig
    +
    The ServerEndpointConfig is a special kind of endpoint configuration object that contains + web socket configuration information specific only to server endpoints. For developers + deploying programmatic endpoints, ServerEndpointConfig objects + can be created using a ServerEndpointConfig.Builder. Certain configuration + operations can be customized by providing a ServerEndpointConfig.Configurator
    +
    +
    Author:
    +
    dannycoward
    +
    +
  • +
+
+
+ +
+
+
    +
  • + +
    +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        getEndpointClass

        +
        java.lang.Class<?> getEndpointClass()
        +
        Returns the Class of the endpoint this configuration is configuring. If + the endpoint is an annotated endpoint, the value is the class of the Java class + annotated with @ServerEndpoint. if the endpoint is a programmatic, the value + is the class of the subclass of Endpoint.
        +
        +
        Returns:
        +
        the class of the endpoint, annotated or programmatic.
        +
        +
      • +
      + + + +
        +
      • +

        getPath

        +
        java.lang.String getPath()
        +
        Return the path for this endpoint configuration. The path is the URI or + URI-template (level 1) relative to the websocket root of the server to which the + endpoint using this configuration will be mapped. The path is always non-null + and always begins with a leading "/".
        +
        +
        Returns:
        +
        the relative path for this configuration.
        +
        +
      • +
      + + + +
        +
      • +

        getSubprotocols

        +
        java.util.List<java.lang.String> getSubprotocols()
        +
        Return the websocket subprotocols configured.
        +
        +
        Returns:
        +
        the list of subprotocols, the empty list if none
        +
        +
      • +
      + + + +
        +
      • +

        getExtensions

        +
        java.util.List<Extension> getExtensions()
        +
        Return the websocket extensions configured.
        +
        +
        Returns:
        +
        the list of extensions, the empty list if none.
        +
        +
      • +
      + + + + +
    • +
    +
    +
  • +
+
+
+
+ + + + diff --git a/apidocs/1.19/javax/websocket/server/class-use/HandshakeRequest.html b/apidocs/1.19/javax/websocket/server/class-use/HandshakeRequest.html new file mode 100644 index 00000000..da73d732 --- /dev/null +++ b/apidocs/1.19/javax/websocket/server/class-use/HandshakeRequest.html @@ -0,0 +1,279 @@ + + + + + +Uses of Interface javax.websocket.server.HandshakeRequest (Tyrus 1.19 API) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Interface
javax.websocket.server.HandshakeRequest

+
+
+ +
+
+ + + diff --git a/apidocs/1.19/javax/websocket/server/class-use/PathParam.html b/apidocs/1.19/javax/websocket/server/class-use/PathParam.html new file mode 100644 index 00000000..04ca16c6 --- /dev/null +++ b/apidocs/1.19/javax/websocket/server/class-use/PathParam.html @@ -0,0 +1,150 @@ + + + + + +Uses of Class javax.websocket.server.PathParam (Tyrus 1.19 API) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Class
javax.websocket.server.PathParam

+
+
No usage of javax.websocket.server.PathParam
+
+ + + diff --git a/apidocs/1.19/javax/websocket/server/class-use/ServerApplicationConfig.html b/apidocs/1.19/javax/websocket/server/class-use/ServerApplicationConfig.html new file mode 100644 index 00000000..91f93787 --- /dev/null +++ b/apidocs/1.19/javax/websocket/server/class-use/ServerApplicationConfig.html @@ -0,0 +1,213 @@ + + + + + +Uses of Interface javax.websocket.server.ServerApplicationConfig (Tyrus 1.19 API) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Interface
javax.websocket.server.ServerApplicationConfig

+
+
+ +
+
+ + + diff --git a/apidocs/1.19/javax/websocket/server/class-use/ServerContainer.html b/apidocs/1.19/javax/websocket/server/class-use/ServerContainer.html new file mode 100644 index 00000000..51800b2b --- /dev/null +++ b/apidocs/1.19/javax/websocket/server/class-use/ServerContainer.html @@ -0,0 +1,228 @@ + + + + + +Uses of Interface javax.websocket.server.ServerContainer (Tyrus 1.19 API) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Interface
javax.websocket.server.ServerContainer

+
+
+ +
+
+ + + diff --git a/apidocs/1.19/javax/websocket/server/class-use/ServerEndpoint.html b/apidocs/1.19/javax/websocket/server/class-use/ServerEndpoint.html new file mode 100644 index 00000000..c93be3e1 --- /dev/null +++ b/apidocs/1.19/javax/websocket/server/class-use/ServerEndpoint.html @@ -0,0 +1,150 @@ + + + + + +Uses of Class javax.websocket.server.ServerEndpoint (Tyrus 1.19 API) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Class
javax.websocket.server.ServerEndpoint

+
+
No usage of javax.websocket.server.ServerEndpoint
+
+ + + diff --git a/apidocs/1.19/javax/websocket/server/class-use/ServerEndpointConfig.Builder.html b/apidocs/1.19/javax/websocket/server/class-use/ServerEndpointConfig.Builder.html new file mode 100644 index 00000000..d3062cef --- /dev/null +++ b/apidocs/1.19/javax/websocket/server/class-use/ServerEndpointConfig.Builder.html @@ -0,0 +1,239 @@ + + + + + +Uses of Class javax.websocket.server.ServerEndpointConfig.Builder (Tyrus 1.19 API) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Class
javax.websocket.server.ServerEndpointConfig.Builder

+
+
+ +
+
+ + + diff --git a/apidocs/1.19/javax/websocket/server/class-use/ServerEndpointConfig.Configurator.html b/apidocs/1.19/javax/websocket/server/class-use/ServerEndpointConfig.Configurator.html new file mode 100644 index 00000000..3d0f403b --- /dev/null +++ b/apidocs/1.19/javax/websocket/server/class-use/ServerEndpointConfig.Configurator.html @@ -0,0 +1,323 @@ + + + + + +Uses of Class javax.websocket.server.ServerEndpointConfig.Configurator (Tyrus 1.19 API) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Class
javax.websocket.server.ServerEndpointConfig.Configurator

+
+
+ +
+
+ + + diff --git a/apidocs/1.19/javax/websocket/server/class-use/ServerEndpointConfig.html b/apidocs/1.19/javax/websocket/server/class-use/ServerEndpointConfig.html new file mode 100644 index 00000000..f7d2afcb --- /dev/null +++ b/apidocs/1.19/javax/websocket/server/class-use/ServerEndpointConfig.html @@ -0,0 +1,378 @@ + + + + + +Uses of Interface javax.websocket.server.ServerEndpointConfig (Tyrus 1.19 API) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Interface
javax.websocket.server.ServerEndpointConfig

+
+
+ +
+
+ + + diff --git a/apidocs/1.19/javax/websocket/server/package-summary.html b/apidocs/1.19/javax/websocket/server/package-summary.html new file mode 100644 index 00000000..75fd7dce --- /dev/null +++ b/apidocs/1.19/javax/websocket/server/package-summary.html @@ -0,0 +1,254 @@ + + + + + +javax.websocket.server (Tyrus 1.19 API) + + + + + + + + + + + + + + + +
+ +
+
+
+

Package javax.websocket.server

+
+
+
+ + +
This package contains all the WebSocket APIs used only by server side + applications.
+
+
    +
  • + + + + + + + + + + + + + + + + + + + + + + + + +
    Interface Summary 
    InterfaceDescription
    HandshakeRequest +
    The handshake request represents the web socket defined Http GET request + for the opening handshake of a web socket session.
    +
    ServerApplicationConfig +
    Developers include implementations of ServerApplicationConfig in an archive containing + websocket endpoints (WAR file, or JAR file within the WAR file) in order to specify the websocket + endpoints within the archive the implementation must deploy.
    +
    ServerContainer +
    The ServerContainer is the specialized view of the WebSocketContainer available + in server-side deployments.
    +
    ServerEndpointConfig +
    The ServerEndpointConfig is a special kind of endpoint configuration object that contains + web socket configuration information specific only to server endpoints.
    +
    +
  • +
  • + + + + + + + + + + + + + + + + +
    Class Summary 
    ClassDescription
    ServerEndpointConfig.Builder +
    The ServerEndpointConfig.Builder is a class used for creating + ServerEndpointConfig.Builder objects for the purposes of + deploying a server endpoint.
    +
    ServerEndpointConfig.Configurator +
    The ServerEndpointConfig.Configurator class may be extended by developers who want to + provide custom configuration algorithms, such as intercepting the opening handshake, or + providing arbitrary methods and algorithms that can be accessed from each endpoint + instance configured with this configurator.
    +
    +
  • +
  • + + + + + + + + + + + + + + + + +
    Annotation Types Summary 
    Annotation TypeDescription
    PathParam +
    This annotation may be used to annotate method parameters on server endpoints + where a URI-template has been used in the path-mapping of the ServerEndpoint + annotation.
    +
    ServerEndpoint +
    This class level annotation declares that the class it decorates + is a web socket endpoint that will be deployed and made available in the URI-space + of a web socket server.
    +
    +
  • +
+
+
+ + + diff --git a/apidocs/1.19/javax/websocket/server/package-tree.html b/apidocs/1.19/javax/websocket/server/package-tree.html new file mode 100644 index 00000000..195e96b2 --- /dev/null +++ b/apidocs/1.19/javax/websocket/server/package-tree.html @@ -0,0 +1,190 @@ + + + + + +javax.websocket.server Class Hierarchy (Tyrus 1.19 API) + + + + + + + + + + + + + + + +
+ +
+
+
+

Hierarchy For Package javax.websocket.server

+Package Hierarchies: + +
+
+
+

Class Hierarchy

+ +
+
+

Interface Hierarchy

+ +
+
+

Annotation Type Hierarchy

+
    +
  • javax.websocket.server.PathParam (implements java.lang.annotation.Annotation)
  • +
  • javax.websocket.server.ServerEndpoint (implements java.lang.annotation.Annotation)
  • +
+
+
+
+ + + diff --git a/apidocs/1.19/javax/websocket/server/package-use.html b/apidocs/1.19/javax/websocket/server/package-use.html new file mode 100644 index 00000000..cedd5646 --- /dev/null +++ b/apidocs/1.19/javax/websocket/server/package-use.html @@ -0,0 +1,338 @@ + + + + + +Uses of Package javax.websocket.server (Tyrus 1.19 API) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Package
javax.websocket.server

+
+
+
    +
  • + + + + + + + + + + + + + + + + + + + + + + + + +
    Packages that use javax.websocket.server 
    PackageDescription
    javax.websocket.server +
    This package contains all the WebSocket APIs used only by server side + applications.
    +
    org.glassfish.tyrus.core +
    Core classes.
    +
    org.glassfish.tyrus.server +
    Server implementation.
    +
    org.glassfish.tyrus.spi +
    Tyrus SPI.
    +
    +
  • +
  • + + + + + + + + + + + + + + + + + + + + + + + + + + +
    Classes in javax.websocket.server used by javax.websocket.server 
    ClassDescription
    HandshakeRequest +
    The handshake request represents the web socket defined Http GET request + for the opening handshake of a web socket session.
    +
    ServerEndpointConfig +
    The ServerEndpointConfig is a special kind of endpoint configuration object that contains + web socket configuration information specific only to server endpoints.
    +
    ServerEndpointConfig.Builder +
    The ServerEndpointConfig.Builder is a class used for creating + ServerEndpointConfig.Builder objects for the purposes of + deploying a server endpoint.
    +
    ServerEndpointConfig.Configurator +
    The ServerEndpointConfig.Configurator class may be extended by developers who want to + provide custom configuration algorithms, such as intercepting the opening handshake, or + providing arbitrary methods and algorithms that can be accessed from each endpoint + instance configured with this configurator.
    +
    +
  • +
  • + + + + + + + + + + + + + + + + + + + + + + +
    Classes in javax.websocket.server used by org.glassfish.tyrus.core 
    ClassDescription
    HandshakeRequest +
    The handshake request represents the web socket defined Http GET request + for the opening handshake of a web socket session.
    +
    ServerEndpointConfig +
    The ServerEndpointConfig is a special kind of endpoint configuration object that contains + web socket configuration information specific only to server endpoints.
    +
    ServerEndpointConfig.Configurator +
    The ServerEndpointConfig.Configurator class may be extended by developers who want to + provide custom configuration algorithms, such as intercepting the opening handshake, or + providing arbitrary methods and algorithms that can be accessed from each endpoint + instance configured with this configurator.
    +
    +
  • +
  • + + + + + + + + + + + + + + + + + + + + + + +
    Classes in javax.websocket.server used by org.glassfish.tyrus.server 
    ClassDescription
    ServerApplicationConfig +
    Developers include implementations of ServerApplicationConfig in an archive containing + websocket endpoints (WAR file, or JAR file within the WAR file) in order to specify the websocket + endpoints within the archive the implementation must deploy.
    +
    ServerContainer +
    The ServerContainer is the specialized view of the WebSocketContainer available + in server-side deployments.
    +
    ServerEndpointConfig +
    The ServerEndpointConfig is a special kind of endpoint configuration object that contains + web socket configuration information specific only to server endpoints.
    +
    +
  • +
  • + + + + + + + + + + + + + + + + + + + + + + +
    Classes in javax.websocket.server used by org.glassfish.tyrus.spi 
    ClassDescription
    HandshakeRequest +
    The handshake request represents the web socket defined Http GET request + for the opening handshake of a web socket session.
    +
    ServerContainer +
    The ServerContainer is the specialized view of the WebSocketContainer available + in server-side deployments.
    +
    ServerEndpointConfig +
    The ServerEndpointConfig is a special kind of endpoint configuration object that contains + web socket configuration information specific only to server endpoints.
    +
    +
  • +
+
+
+ + + diff --git a/apidocs/1.19/jquery/external/jquery/jquery.js b/apidocs/1.19/jquery/external/jquery/jquery.js new file mode 100644 index 00000000..9b5206bc --- /dev/null +++ b/apidocs/1.19/jquery/external/jquery/jquery.js @@ -0,0 +1,10364 @@ +/*! + * jQuery JavaScript Library v3.3.1 + * https://jquery.com/ + * + * Includes Sizzle.js + * https://sizzlejs.com/ + * + * Copyright JS Foundation and other contributors + * Released under the MIT license + * https://jquery.org/license + * + * Date: 2018-01-20T17:24Z + */ +( function( global, factory ) { + + "use strict"; + + if ( typeof module === "object" && typeof module.exports === "object" ) { + + // For CommonJS and CommonJS-like environments where a proper `window` + // is present, execute the factory and get jQuery. + // For environments that do not have a `window` with a `document` + // (such as Node.js), expose a factory as module.exports. + // This accentuates the need for the creation of a real `window`. + // e.g. var jQuery = require("jquery")(window); + // See ticket #14549 for more info. + module.exports = global.document ? + factory( global, true ) : + function( w ) { + if ( !w.document ) { + throw new Error( "jQuery requires a window with a document" ); + } + return factory( w ); + }; + } else { + factory( global ); + } + +// Pass this if window is not defined yet +} )( typeof window !== "undefined" ? window : this, function( window, noGlobal ) { + +// Edge <= 12 - 13+, Firefox <=18 - 45+, IE 10 - 11, Safari 5.1 - 9+, iOS 6 - 9.1 +// throw exceptions when non-strict code (e.g., ASP.NET 4.5) accesses strict mode +// arguments.callee.caller (trac-13335). But as of jQuery 3.0 (2016), strict mode should be common +// enough that all such attempts are guarded in a try block. +"use strict"; + +var arr = []; + +var document = window.document; + +var getProto = Object.getPrototypeOf; + +var slice = arr.slice; + +var concat = arr.concat; + +var push = arr.push; + +var indexOf = arr.indexOf; + +var class2type = {}; + +var toString = class2type.toString; + +var hasOwn = class2type.hasOwnProperty; + +var fnToString = hasOwn.toString; + +var ObjectFunctionString = fnToString.call( Object ); + +var support = {}; + +var isFunction = function isFunction( obj ) { + + // Support: Chrome <=57, Firefox <=52 + // In some browsers, typeof returns "function" for HTML elements + // (i.e., `typeof document.createElement( "object" ) === "function"`). + // We don't want to classify *any* DOM node as a function. + return typeof obj === "function" && typeof obj.nodeType !== "number"; + }; + + +var isWindow = function isWindow( obj ) { + return obj != null && obj === obj.window; + }; + + + + + var preservedScriptAttributes = { + type: true, + src: true, + noModule: true + }; + + function DOMEval( code, doc, node ) { + doc = doc || document; + + var i, + script = doc.createElement( "script" ); + + script.text = code; + if ( node ) { + for ( i in preservedScriptAttributes ) { + if ( node[ i ] ) { + script[ i ] = node[ i ]; + } + } + } + doc.head.appendChild( script ).parentNode.removeChild( script ); + } + + +function toType( obj ) { + if ( obj == null ) { + return obj + ""; + } + + // Support: Android <=2.3 only (functionish RegExp) + return typeof obj === "object" || typeof obj === "function" ? + class2type[ toString.call( obj ) ] || "object" : + typeof obj; +} +/* global Symbol */ +// Defining this global in .eslintrc.json would create a danger of using the global +// unguarded in another place, it seems safer to define global only for this module + + + +var + version = "3.3.1", + + // Define a local copy of jQuery + jQuery = function( selector, context ) { + + // The jQuery object is actually just the init constructor 'enhanced' + // Need init if jQuery is called (just allow error to be thrown if not included) + return new jQuery.fn.init( selector, context ); + }, + + // Support: Android <=4.0 only + // Make sure we trim BOM and NBSP + rtrim = /^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g; + +jQuery.fn = jQuery.prototype = { + + // The current version of jQuery being used + jquery: version, + + constructor: jQuery, + + // The default length of a jQuery object is 0 + length: 0, + + toArray: function() { + return slice.call( this ); + }, + + // Get the Nth element in the matched element set OR + // Get the whole matched element set as a clean array + get: function( num ) { + + // Return all the elements in a clean array + if ( num == null ) { + return slice.call( this ); + } + + // Return just the one element from the set + return num < 0 ? this[ num + this.length ] : this[ num ]; + }, + + // Take an array of elements and push it onto the stack + // (returning the new matched element set) + pushStack: function( elems ) { + + // Build a new jQuery matched element set + var ret = jQuery.merge( this.constructor(), elems ); + + // Add the old object onto the stack (as a reference) + ret.prevObject = this; + + // Return the newly-formed element set + return ret; + }, + + // Execute a callback for every element in the matched set. + each: function( callback ) { + return jQuery.each( this, callback ); + }, + + map: function( callback ) { + return this.pushStack( jQuery.map( this, function( elem, i ) { + return callback.call( elem, i, elem ); + } ) ); + }, + + slice: function() { + return this.pushStack( slice.apply( this, arguments ) ); + }, + + first: function() { + return this.eq( 0 ); + }, + + last: function() { + return this.eq( -1 ); + }, + + eq: function( i ) { + var len = this.length, + j = +i + ( i < 0 ? len : 0 ); + return this.pushStack( j >= 0 && j < len ? [ this[ j ] ] : [] ); + }, + + end: function() { + return this.prevObject || this.constructor(); + }, + + // For internal use only. + // Behaves like an Array's method, not like a jQuery method. + push: push, + sort: arr.sort, + splice: arr.splice +}; + +jQuery.extend = jQuery.fn.extend = function() { + var options, name, src, copy, copyIsArray, clone, + target = arguments[ 0 ] || {}, + i = 1, + length = arguments.length, + deep = false; + + // Handle a deep copy situation + if ( typeof target === "boolean" ) { + deep = target; + + // Skip the boolean and the target + target = arguments[ i ] || {}; + i++; + } + + // Handle case when target is a string or something (possible in deep copy) + if ( typeof target !== "object" && !isFunction( target ) ) { + target = {}; + } + + // Extend jQuery itself if only one argument is passed + if ( i === length ) { + target = this; + i--; + } + + for ( ; i < length; i++ ) { + + // Only deal with non-null/undefined values + if ( ( options = arguments[ i ] ) != null ) { + + // Extend the base object + for ( name in options ) { + src = target[ name ]; + copy = options[ name ]; + + // Prevent never-ending loop + if ( target === copy ) { + continue; + } + + // Recurse if we're merging plain objects or arrays + if ( deep && copy && ( jQuery.isPlainObject( copy ) || + ( copyIsArray = Array.isArray( copy ) ) ) ) { + + if ( copyIsArray ) { + copyIsArray = false; + clone = src && Array.isArray( src ) ? src : []; + + } else { + clone = src && jQuery.isPlainObject( src ) ? src : {}; + } + + // Never move original objects, clone them + target[ name ] = jQuery.extend( deep, clone, copy ); + + // Don't bring in undefined values + } else if ( copy !== undefined ) { + target[ name ] = copy; + } + } + } + } + + // Return the modified object + return target; +}; + +jQuery.extend( { + + // Unique for each copy of jQuery on the page + expando: "jQuery" + ( version + Math.random() ).replace( /\D/g, "" ), + + // Assume jQuery is ready without the ready module + isReady: true, + + error: function( msg ) { + throw new Error( msg ); + }, + + noop: function() {}, + + isPlainObject: function( obj ) { + var proto, Ctor; + + // Detect obvious negatives + // Use toString instead of jQuery.type to catch host objects + if ( !obj || toString.call( obj ) !== "[object Object]" ) { + return false; + } + + proto = getProto( obj ); + + // Objects with no prototype (e.g., `Object.create( null )`) are plain + if ( !proto ) { + return true; + } + + // Objects with prototype are plain iff they were constructed by a global Object function + Ctor = hasOwn.call( proto, "constructor" ) && proto.constructor; + return typeof Ctor === "function" && fnToString.call( Ctor ) === ObjectFunctionString; + }, + + isEmptyObject: function( obj ) { + + /* eslint-disable no-unused-vars */ + // See https://github.com/eslint/eslint/issues/6125 + var name; + + for ( name in obj ) { + return false; + } + return true; + }, + + // Evaluates a script in a global context + globalEval: function( code ) { + DOMEval( code ); + }, + + each: function( obj, callback ) { + var length, i = 0; + + if ( isArrayLike( obj ) ) { + length = obj.length; + for ( ; i < length; i++ ) { + if ( callback.call( obj[ i ], i, obj[ i ] ) === false ) { + break; + } + } + } else { + for ( i in obj ) { + if ( callback.call( obj[ i ], i, obj[ i ] ) === false ) { + break; + } + } + } + + return obj; + }, + + // Support: Android <=4.0 only + trim: function( text ) { + return text == null ? + "" : + ( text + "" ).replace( rtrim, "" ); + }, + + // results is for internal usage only + makeArray: function( arr, results ) { + var ret = results || []; + + if ( arr != null ) { + if ( isArrayLike( Object( arr ) ) ) { + jQuery.merge( ret, + typeof arr === "string" ? + [ arr ] : arr + ); + } else { + push.call( ret, arr ); + } + } + + return ret; + }, + + inArray: function( elem, arr, i ) { + return arr == null ? -1 : indexOf.call( arr, elem, i ); + }, + + // Support: Android <=4.0 only, PhantomJS 1 only + // push.apply(_, arraylike) throws on ancient WebKit + merge: function( first, second ) { + var len = +second.length, + j = 0, + i = first.length; + + for ( ; j < len; j++ ) { + first[ i++ ] = second[ j ]; + } + + first.length = i; + + return first; + }, + + grep: function( elems, callback, invert ) { + var callbackInverse, + matches = [], + i = 0, + length = elems.length, + callbackExpect = !invert; + + // Go through the array, only saving the items + // that pass the validator function + for ( ; i < length; i++ ) { + callbackInverse = !callback( elems[ i ], i ); + if ( callbackInverse !== callbackExpect ) { + matches.push( elems[ i ] ); + } + } + + return matches; + }, + + // arg is for internal usage only + map: function( elems, callback, arg ) { + var length, value, + i = 0, + ret = []; + + // Go through the array, translating each of the items to their new values + if ( isArrayLike( elems ) ) { + length = elems.length; + for ( ; i < length; i++ ) { + value = callback( elems[ i ], i, arg ); + + if ( value != null ) { + ret.push( value ); + } + } + + // Go through every key on the object, + } else { + for ( i in elems ) { + value = callback( elems[ i ], i, arg ); + + if ( value != null ) { + ret.push( value ); + } + } + } + + // Flatten any nested arrays + return concat.apply( [], ret ); + }, + + // A global GUID counter for objects + guid: 1, + + // jQuery.support is not used in Core but other projects attach their + // properties to it so it needs to exist. + support: support +} ); + +if ( typeof Symbol === "function" ) { + jQuery.fn[ Symbol.iterator ] = arr[ Symbol.iterator ]; +} + +// Populate the class2type map +jQuery.each( "Boolean Number String Function Array Date RegExp Object Error Symbol".split( " " ), +function( i, name ) { + class2type[ "[object " + name + "]" ] = name.toLowerCase(); +} ); + +function isArrayLike( obj ) { + + // Support: real iOS 8.2 only (not reproducible in simulator) + // `in` check used to prevent JIT error (gh-2145) + // hasOwn isn't used here due to false negatives + // regarding Nodelist length in IE + var length = !!obj && "length" in obj && obj.length, + type = toType( obj ); + + if ( isFunction( obj ) || isWindow( obj ) ) { + return false; + } + + return type === "array" || length === 0 || + typeof length === "number" && length > 0 && ( length - 1 ) in obj; +} +var Sizzle = +/*! + * Sizzle CSS Selector Engine v2.3.3 + * https://sizzlejs.com/ + * + * Copyright jQuery Foundation and other contributors + * Released under the MIT license + * http://jquery.org/license + * + * Date: 2016-08-08 + */ +(function( window ) { + +var i, + support, + Expr, + getText, + isXML, + tokenize, + compile, + select, + outermostContext, + sortInput, + hasDuplicate, + + // Local document vars + setDocument, + document, + docElem, + documentIsHTML, + rbuggyQSA, + rbuggyMatches, + matches, + contains, + + // Instance-specific data + expando = "sizzle" + 1 * new Date(), + preferredDoc = window.document, + dirruns = 0, + done = 0, + classCache = createCache(), + tokenCache = createCache(), + compilerCache = createCache(), + sortOrder = function( a, b ) { + if ( a === b ) { + hasDuplicate = true; + } + return 0; + }, + + // Instance methods + hasOwn = ({}).hasOwnProperty, + arr = [], + pop = arr.pop, + push_native = arr.push, + push = arr.push, + slice = arr.slice, + // Use a stripped-down indexOf as it's faster than native + // https://jsperf.com/thor-indexof-vs-for/5 + indexOf = function( list, elem ) { + var i = 0, + len = list.length; + for ( ; i < len; i++ ) { + if ( list[i] === elem ) { + return i; + } + } + return -1; + }, + + booleans = "checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped", + + // Regular expressions + + // http://www.w3.org/TR/css3-selectors/#whitespace + whitespace = "[\\x20\\t\\r\\n\\f]", + + // http://www.w3.org/TR/CSS21/syndata.html#value-def-identifier + identifier = "(?:\\\\.|[\\w-]|[^\0-\\xa0])+", + + // Attribute selectors: http://www.w3.org/TR/selectors/#attribute-selectors + attributes = "\\[" + whitespace + "*(" + identifier + ")(?:" + whitespace + + // Operator (capture 2) + "*([*^$|!~]?=)" + whitespace + + // "Attribute values must be CSS identifiers [capture 5] or strings [capture 3 or capture 4]" + "*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|(" + identifier + "))|)" + whitespace + + "*\\]", + + pseudos = ":(" + identifier + ")(?:\\((" + + // To reduce the number of selectors needing tokenize in the preFilter, prefer arguments: + // 1. quoted (capture 3; capture 4 or capture 5) + "('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|" + + // 2. simple (capture 6) + "((?:\\\\.|[^\\\\()[\\]]|" + attributes + ")*)|" + + // 3. anything else (capture 2) + ".*" + + ")\\)|)", + + // Leading and non-escaped trailing whitespace, capturing some non-whitespace characters preceding the latter + rwhitespace = new RegExp( whitespace + "+", "g" ), + rtrim = new RegExp( "^" + whitespace + "+|((?:^|[^\\\\])(?:\\\\.)*)" + whitespace + "+$", "g" ), + + rcomma = new RegExp( "^" + whitespace + "*," + whitespace + "*" ), + rcombinators = new RegExp( "^" + whitespace + "*([>+~]|" + whitespace + ")" + whitespace + "*" ), + + rattributeQuotes = new RegExp( "=" + whitespace + "*([^\\]'\"]*?)" + whitespace + "*\\]", "g" ), + + rpseudo = new RegExp( pseudos ), + ridentifier = new RegExp( "^" + identifier + "$" ), + + matchExpr = { + "ID": new RegExp( "^#(" + identifier + ")" ), + "CLASS": new RegExp( "^\\.(" + identifier + ")" ), + "TAG": new RegExp( "^(" + identifier + "|[*])" ), + "ATTR": new RegExp( "^" + attributes ), + "PSEUDO": new RegExp( "^" + pseudos ), + "CHILD": new RegExp( "^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\(" + whitespace + + "*(even|odd|(([+-]|)(\\d*)n|)" + whitespace + "*(?:([+-]|)" + whitespace + + "*(\\d+)|))" + whitespace + "*\\)|)", "i" ), + "bool": new RegExp( "^(?:" + booleans + ")$", "i" ), + // For use in libraries implementing .is() + // We use this for POS matching in `select` + "needsContext": new RegExp( "^" + whitespace + "*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\(" + + whitespace + "*((?:-\\d)?\\d*)" + whitespace + "*\\)|)(?=[^-]|$)", "i" ) + }, + + rinputs = /^(?:input|select|textarea|button)$/i, + rheader = /^h\d$/i, + + rnative = /^[^{]+\{\s*\[native \w/, + + // Easily-parseable/retrievable ID or TAG or CLASS selectors + rquickExpr = /^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/, + + rsibling = /[+~]/, + + // CSS escapes + // http://www.w3.org/TR/CSS21/syndata.html#escaped-characters + runescape = new RegExp( "\\\\([\\da-f]{1,6}" + whitespace + "?|(" + whitespace + ")|.)", "ig" ), + funescape = function( _, escaped, escapedWhitespace ) { + var high = "0x" + escaped - 0x10000; + // NaN means non-codepoint + // Support: Firefox<24 + // Workaround erroneous numeric interpretation of +"0x" + return high !== high || escapedWhitespace ? + escaped : + high < 0 ? + // BMP codepoint + String.fromCharCode( high + 0x10000 ) : + // Supplemental Plane codepoint (surrogate pair) + String.fromCharCode( high >> 10 | 0xD800, high & 0x3FF | 0xDC00 ); + }, + + // CSS string/identifier serialization + // https://drafts.csswg.org/cssom/#common-serializing-idioms + rcssescape = /([\0-\x1f\x7f]|^-?\d)|^-$|[^\0-\x1f\x7f-\uFFFF\w-]/g, + fcssescape = function( ch, asCodePoint ) { + if ( asCodePoint ) { + + // U+0000 NULL becomes U+FFFD REPLACEMENT CHARACTER + if ( ch === "\0" ) { + return "\uFFFD"; + } + + // Control characters and (dependent upon position) numbers get escaped as code points + return ch.slice( 0, -1 ) + "\\" + ch.charCodeAt( ch.length - 1 ).toString( 16 ) + " "; + } + + // Other potentially-special ASCII characters get backslash-escaped + return "\\" + ch; + }, + + // Used for iframes + // See setDocument() + // Removing the function wrapper causes a "Permission Denied" + // error in IE + unloadHandler = function() { + setDocument(); + }, + + disabledAncestor = addCombinator( + function( elem ) { + return elem.disabled === true && ("form" in elem || "label" in elem); + }, + { dir: "parentNode", next: "legend" } + ); + +// Optimize for push.apply( _, NodeList ) +try { + push.apply( + (arr = slice.call( preferredDoc.childNodes )), + preferredDoc.childNodes + ); + // Support: Android<4.0 + // Detect silently failing push.apply + arr[ preferredDoc.childNodes.length ].nodeType; +} catch ( e ) { + push = { apply: arr.length ? + + // Leverage slice if possible + function( target, els ) { + push_native.apply( target, slice.call(els) ); + } : + + // Support: IE<9 + // Otherwise append directly + function( target, els ) { + var j = target.length, + i = 0; + // Can't trust NodeList.length + while ( (target[j++] = els[i++]) ) {} + target.length = j - 1; + } + }; +} + +function Sizzle( selector, context, results, seed ) { + var m, i, elem, nid, match, groups, newSelector, + newContext = context && context.ownerDocument, + + // nodeType defaults to 9, since context defaults to document + nodeType = context ? context.nodeType : 9; + + results = results || []; + + // Return early from calls with invalid selector or context + if ( typeof selector !== "string" || !selector || + nodeType !== 1 && nodeType !== 9 && nodeType !== 11 ) { + + return results; + } + + // Try to shortcut find operations (as opposed to filters) in HTML documents + if ( !seed ) { + + if ( ( context ? context.ownerDocument || context : preferredDoc ) !== document ) { + setDocument( context ); + } + context = context || document; + + if ( documentIsHTML ) { + + // If the selector is sufficiently simple, try using a "get*By*" DOM method + // (excepting DocumentFragment context, where the methods don't exist) + if ( nodeType !== 11 && (match = rquickExpr.exec( selector )) ) { + + // ID selector + if ( (m = match[1]) ) { + + // Document context + if ( nodeType === 9 ) { + if ( (elem = context.getElementById( m )) ) { + + // Support: IE, Opera, Webkit + // TODO: identify versions + // getElementById can match elements by name instead of ID + if ( elem.id === m ) { + results.push( elem ); + return results; + } + } else { + return results; + } + + // Element context + } else { + + // Support: IE, Opera, Webkit + // TODO: identify versions + // getElementById can match elements by name instead of ID + if ( newContext && (elem = newContext.getElementById( m )) && + contains( context, elem ) && + elem.id === m ) { + + results.push( elem ); + return results; + } + } + + // Type selector + } else if ( match[2] ) { + push.apply( results, context.getElementsByTagName( selector ) ); + return results; + + // Class selector + } else if ( (m = match[3]) && support.getElementsByClassName && + context.getElementsByClassName ) { + + push.apply( results, context.getElementsByClassName( m ) ); + return results; + } + } + + // Take advantage of querySelectorAll + if ( support.qsa && + !compilerCache[ selector + " " ] && + (!rbuggyQSA || !rbuggyQSA.test( selector )) ) { + + if ( nodeType !== 1 ) { + newContext = context; + newSelector = selector; + + // qSA looks outside Element context, which is not what we want + // Thanks to Andrew Dupont for this workaround technique + // Support: IE <=8 + // Exclude object elements + } else if ( context.nodeName.toLowerCase() !== "object" ) { + + // Capture the context ID, setting it first if necessary + if ( (nid = context.getAttribute( "id" )) ) { + nid = nid.replace( rcssescape, fcssescape ); + } else { + context.setAttribute( "id", (nid = expando) ); + } + + // Prefix every selector in the list + groups = tokenize( selector ); + i = groups.length; + while ( i-- ) { + groups[i] = "#" + nid + " " + toSelector( groups[i] ); + } + newSelector = groups.join( "," ); + + // Expand context for sibling selectors + newContext = rsibling.test( selector ) && testContext( context.parentNode ) || + context; + } + + if ( newSelector ) { + try { + push.apply( results, + newContext.querySelectorAll( newSelector ) + ); + return results; + } catch ( qsaError ) { + } finally { + if ( nid === expando ) { + context.removeAttribute( "id" ); + } + } + } + } + } + } + + // All others + return select( selector.replace( rtrim, "$1" ), context, results, seed ); +} + +/** + * Create key-value caches of limited size + * @returns {function(string, object)} Returns the Object data after storing it on itself with + * property name the (space-suffixed) string and (if the cache is larger than Expr.cacheLength) + * deleting the oldest entry + */ +function createCache() { + var keys = []; + + function cache( key, value ) { + // Use (key + " ") to avoid collision with native prototype properties (see Issue #157) + if ( keys.push( key + " " ) > Expr.cacheLength ) { + // Only keep the most recent entries + delete cache[ keys.shift() ]; + } + return (cache[ key + " " ] = value); + } + return cache; +} + +/** + * Mark a function for special use by Sizzle + * @param {Function} fn The function to mark + */ +function markFunction( fn ) { + fn[ expando ] = true; + return fn; +} + +/** + * Support testing using an element + * @param {Function} fn Passed the created element and returns a boolean result + */ +function assert( fn ) { + var el = document.createElement("fieldset"); + + try { + return !!fn( el ); + } catch (e) { + return false; + } finally { + // Remove from its parent by default + if ( el.parentNode ) { + el.parentNode.removeChild( el ); + } + // release memory in IE + el = null; + } +} + +/** + * Adds the same handler for all of the specified attrs + * @param {String} attrs Pipe-separated list of attributes + * @param {Function} handler The method that will be applied + */ +function addHandle( attrs, handler ) { + var arr = attrs.split("|"), + i = arr.length; + + while ( i-- ) { + Expr.attrHandle[ arr[i] ] = handler; + } +} + +/** + * Checks document order of two siblings + * @param {Element} a + * @param {Element} b + * @returns {Number} Returns less than 0 if a precedes b, greater than 0 if a follows b + */ +function siblingCheck( a, b ) { + var cur = b && a, + diff = cur && a.nodeType === 1 && b.nodeType === 1 && + a.sourceIndex - b.sourceIndex; + + // Use IE sourceIndex if available on both nodes + if ( diff ) { + return diff; + } + + // Check if b follows a + if ( cur ) { + while ( (cur = cur.nextSibling) ) { + if ( cur === b ) { + return -1; + } + } + } + + return a ? 1 : -1; +} + +/** + * Returns a function to use in pseudos for input types + * @param {String} type + */ +function createInputPseudo( type ) { + return function( elem ) { + var name = elem.nodeName.toLowerCase(); + return name === "input" && elem.type === type; + }; +} + +/** + * Returns a function to use in pseudos for buttons + * @param {String} type + */ +function createButtonPseudo( type ) { + return function( elem ) { + var name = elem.nodeName.toLowerCase(); + return (name === "input" || name === "button") && elem.type === type; + }; +} + +/** + * Returns a function to use in pseudos for :enabled/:disabled + * @param {Boolean} disabled true for :disabled; false for :enabled + */ +function createDisabledPseudo( disabled ) { + + // Known :disabled false positives: fieldset[disabled] > legend:nth-of-type(n+2) :can-disable + return function( elem ) { + + // Only certain elements can match :enabled or :disabled + // https://html.spec.whatwg.org/multipage/scripting.html#selector-enabled + // https://html.spec.whatwg.org/multipage/scripting.html#selector-disabled + if ( "form" in elem ) { + + // Check for inherited disabledness on relevant non-disabled elements: + // * listed form-associated elements in a disabled fieldset + // https://html.spec.whatwg.org/multipage/forms.html#category-listed + // https://html.spec.whatwg.org/multipage/forms.html#concept-fe-disabled + // * option elements in a disabled optgroup + // https://html.spec.whatwg.org/multipage/forms.html#concept-option-disabled + // All such elements have a "form" property. + if ( elem.parentNode && elem.disabled === false ) { + + // Option elements defer to a parent optgroup if present + if ( "label" in elem ) { + if ( "label" in elem.parentNode ) { + return elem.parentNode.disabled === disabled; + } else { + return elem.disabled === disabled; + } + } + + // Support: IE 6 - 11 + // Use the isDisabled shortcut property to check for disabled fieldset ancestors + return elem.isDisabled === disabled || + + // Where there is no isDisabled, check manually + /* jshint -W018 */ + elem.isDisabled !== !disabled && + disabledAncestor( elem ) === disabled; + } + + return elem.disabled === disabled; + + // Try to winnow out elements that can't be disabled before trusting the disabled property. + // Some victims get caught in our net (label, legend, menu, track), but it shouldn't + // even exist on them, let alone have a boolean value. + } else if ( "label" in elem ) { + return elem.disabled === disabled; + } + + // Remaining elements are neither :enabled nor :disabled + return false; + }; +} + +/** + * Returns a function to use in pseudos for positionals + * @param {Function} fn + */ +function createPositionalPseudo( fn ) { + return markFunction(function( argument ) { + argument = +argument; + return markFunction(function( seed, matches ) { + var j, + matchIndexes = fn( [], seed.length, argument ), + i = matchIndexes.length; + + // Match elements found at the specified indexes + while ( i-- ) { + if ( seed[ (j = matchIndexes[i]) ] ) { + seed[j] = !(matches[j] = seed[j]); + } + } + }); + }); +} + +/** + * Checks a node for validity as a Sizzle context + * @param {Element|Object=} context + * @returns {Element|Object|Boolean} The input node if acceptable, otherwise a falsy value + */ +function testContext( context ) { + return context && typeof context.getElementsByTagName !== "undefined" && context; +} + +// Expose support vars for convenience +support = Sizzle.support = {}; + +/** + * Detects XML nodes + * @param {Element|Object} elem An element or a document + * @returns {Boolean} True iff elem is a non-HTML XML node + */ +isXML = Sizzle.isXML = function( elem ) { + // documentElement is verified for cases where it doesn't yet exist + // (such as loading iframes in IE - #4833) + var documentElement = elem && (elem.ownerDocument || elem).documentElement; + return documentElement ? documentElement.nodeName !== "HTML" : false; +}; + +/** + * Sets document-related variables once based on the current document + * @param {Element|Object} [doc] An element or document object to use to set the document + * @returns {Object} Returns the current document + */ +setDocument = Sizzle.setDocument = function( node ) { + var hasCompare, subWindow, + doc = node ? node.ownerDocument || node : preferredDoc; + + // Return early if doc is invalid or already selected + if ( doc === document || doc.nodeType !== 9 || !doc.documentElement ) { + return document; + } + + // Update global variables + document = doc; + docElem = document.documentElement; + documentIsHTML = !isXML( document ); + + // Support: IE 9-11, Edge + // Accessing iframe documents after unload throws "permission denied" errors (jQuery #13936) + if ( preferredDoc !== document && + (subWindow = document.defaultView) && subWindow.top !== subWindow ) { + + // Support: IE 11, Edge + if ( subWindow.addEventListener ) { + subWindow.addEventListener( "unload", unloadHandler, false ); + + // Support: IE 9 - 10 only + } else if ( subWindow.attachEvent ) { + subWindow.attachEvent( "onunload", unloadHandler ); + } + } + + /* Attributes + ---------------------------------------------------------------------- */ + + // Support: IE<8 + // Verify that getAttribute really returns attributes and not properties + // (excepting IE8 booleans) + support.attributes = assert(function( el ) { + el.className = "i"; + return !el.getAttribute("className"); + }); + + /* getElement(s)By* + ---------------------------------------------------------------------- */ + + // Check if getElementsByTagName("*") returns only elements + support.getElementsByTagName = assert(function( el ) { + el.appendChild( document.createComment("") ); + return !el.getElementsByTagName("*").length; + }); + + // Support: IE<9 + support.getElementsByClassName = rnative.test( document.getElementsByClassName ); + + // Support: IE<10 + // Check if getElementById returns elements by name + // The broken getElementById methods don't pick up programmatically-set names, + // so use a roundabout getElementsByName test + support.getById = assert(function( el ) { + docElem.appendChild( el ).id = expando; + return !document.getElementsByName || !document.getElementsByName( expando ).length; + }); + + // ID filter and find + if ( support.getById ) { + Expr.filter["ID"] = function( id ) { + var attrId = id.replace( runescape, funescape ); + return function( elem ) { + return elem.getAttribute("id") === attrId; + }; + }; + Expr.find["ID"] = function( id, context ) { + if ( typeof context.getElementById !== "undefined" && documentIsHTML ) { + var elem = context.getElementById( id ); + return elem ? [ elem ] : []; + } + }; + } else { + Expr.filter["ID"] = function( id ) { + var attrId = id.replace( runescape, funescape ); + return function( elem ) { + var node = typeof elem.getAttributeNode !== "undefined" && + elem.getAttributeNode("id"); + return node && node.value === attrId; + }; + }; + + // Support: IE 6 - 7 only + // getElementById is not reliable as a find shortcut + Expr.find["ID"] = function( id, context ) { + if ( typeof context.getElementById !== "undefined" && documentIsHTML ) { + var node, i, elems, + elem = context.getElementById( id ); + + if ( elem ) { + + // Verify the id attribute + node = elem.getAttributeNode("id"); + if ( node && node.value === id ) { + return [ elem ]; + } + + // Fall back on getElementsByName + elems = context.getElementsByName( id ); + i = 0; + while ( (elem = elems[i++]) ) { + node = elem.getAttributeNode("id"); + if ( node && node.value === id ) { + return [ elem ]; + } + } + } + + return []; + } + }; + } + + // Tag + Expr.find["TAG"] = support.getElementsByTagName ? + function( tag, context ) { + if ( typeof context.getElementsByTagName !== "undefined" ) { + return context.getElementsByTagName( tag ); + + // DocumentFragment nodes don't have gEBTN + } else if ( support.qsa ) { + return context.querySelectorAll( tag ); + } + } : + + function( tag, context ) { + var elem, + tmp = [], + i = 0, + // By happy coincidence, a (broken) gEBTN appears on DocumentFragment nodes too + results = context.getElementsByTagName( tag ); + + // Filter out possible comments + if ( tag === "*" ) { + while ( (elem = results[i++]) ) { + if ( elem.nodeType === 1 ) { + tmp.push( elem ); + } + } + + return tmp; + } + return results; + }; + + // Class + Expr.find["CLASS"] = support.getElementsByClassName && function( className, context ) { + if ( typeof context.getElementsByClassName !== "undefined" && documentIsHTML ) { + return context.getElementsByClassName( className ); + } + }; + + /* QSA/matchesSelector + ---------------------------------------------------------------------- */ + + // QSA and matchesSelector support + + // matchesSelector(:active) reports false when true (IE9/Opera 11.5) + rbuggyMatches = []; + + // qSa(:focus) reports false when true (Chrome 21) + // We allow this because of a bug in IE8/9 that throws an error + // whenever `document.activeElement` is accessed on an iframe + // So, we allow :focus to pass through QSA all the time to avoid the IE error + // See https://bugs.jquery.com/ticket/13378 + rbuggyQSA = []; + + if ( (support.qsa = rnative.test( document.querySelectorAll )) ) { + // Build QSA regex + // Regex strategy adopted from Diego Perini + assert(function( el ) { + // Select is set to empty string on purpose + // This is to test IE's treatment of not explicitly + // setting a boolean content attribute, + // since its presence should be enough + // https://bugs.jquery.com/ticket/12359 + docElem.appendChild( el ).innerHTML = "" + + ""; + + // Support: IE8, Opera 11-12.16 + // Nothing should be selected when empty strings follow ^= or $= or *= + // The test attribute must be unknown in Opera but "safe" for WinRT + // https://msdn.microsoft.com/en-us/library/ie/hh465388.aspx#attribute_section + if ( el.querySelectorAll("[msallowcapture^='']").length ) { + rbuggyQSA.push( "[*^$]=" + whitespace + "*(?:''|\"\")" ); + } + + // Support: IE8 + // Boolean attributes and "value" are not treated correctly + if ( !el.querySelectorAll("[selected]").length ) { + rbuggyQSA.push( "\\[" + whitespace + "*(?:value|" + booleans + ")" ); + } + + // Support: Chrome<29, Android<4.4, Safari<7.0+, iOS<7.0+, PhantomJS<1.9.8+ + if ( !el.querySelectorAll( "[id~=" + expando + "-]" ).length ) { + rbuggyQSA.push("~="); + } + + // Webkit/Opera - :checked should return selected option elements + // http://www.w3.org/TR/2011/REC-css3-selectors-20110929/#checked + // IE8 throws error here and will not see later tests + if ( !el.querySelectorAll(":checked").length ) { + rbuggyQSA.push(":checked"); + } + + // Support: Safari 8+, iOS 8+ + // https://bugs.webkit.org/show_bug.cgi?id=136851 + // In-page `selector#id sibling-combinator selector` fails + if ( !el.querySelectorAll( "a#" + expando + "+*" ).length ) { + rbuggyQSA.push(".#.+[+~]"); + } + }); + + assert(function( el ) { + el.innerHTML = "" + + ""; + + // Support: Windows 8 Native Apps + // The type and name attributes are restricted during .innerHTML assignment + var input = document.createElement("input"); + input.setAttribute( "type", "hidden" ); + el.appendChild( input ).setAttribute( "name", "D" ); + + // Support: IE8 + // Enforce case-sensitivity of name attribute + if ( el.querySelectorAll("[name=d]").length ) { + rbuggyQSA.push( "name" + whitespace + "*[*^$|!~]?=" ); + } + + // FF 3.5 - :enabled/:disabled and hidden elements (hidden elements are still enabled) + // IE8 throws error here and will not see later tests + if ( el.querySelectorAll(":enabled").length !== 2 ) { + rbuggyQSA.push( ":enabled", ":disabled" ); + } + + // Support: IE9-11+ + // IE's :disabled selector does not pick up the children of disabled fieldsets + docElem.appendChild( el ).disabled = true; + if ( el.querySelectorAll(":disabled").length !== 2 ) { + rbuggyQSA.push( ":enabled", ":disabled" ); + } + + // Opera 10-11 does not throw on post-comma invalid pseudos + el.querySelectorAll("*,:x"); + rbuggyQSA.push(",.*:"); + }); + } + + if ( (support.matchesSelector = rnative.test( (matches = docElem.matches || + docElem.webkitMatchesSelector || + docElem.mozMatchesSelector || + docElem.oMatchesSelector || + docElem.msMatchesSelector) )) ) { + + assert(function( el ) { + // Check to see if it's possible to do matchesSelector + // on a disconnected node (IE 9) + support.disconnectedMatch = matches.call( el, "*" ); + + // This should fail with an exception + // Gecko does not error, returns false instead + matches.call( el, "[s!='']:x" ); + rbuggyMatches.push( "!=", pseudos ); + }); + } + + rbuggyQSA = rbuggyQSA.length && new RegExp( rbuggyQSA.join("|") ); + rbuggyMatches = rbuggyMatches.length && new RegExp( rbuggyMatches.join("|") ); + + /* Contains + ---------------------------------------------------------------------- */ + hasCompare = rnative.test( docElem.compareDocumentPosition ); + + // Element contains another + // Purposefully self-exclusive + // As in, an element does not contain itself + contains = hasCompare || rnative.test( docElem.contains ) ? + function( a, b ) { + var adown = a.nodeType === 9 ? a.documentElement : a, + bup = b && b.parentNode; + return a === bup || !!( bup && bup.nodeType === 1 && ( + adown.contains ? + adown.contains( bup ) : + a.compareDocumentPosition && a.compareDocumentPosition( bup ) & 16 + )); + } : + function( a, b ) { + if ( b ) { + while ( (b = b.parentNode) ) { + if ( b === a ) { + return true; + } + } + } + return false; + }; + + /* Sorting + ---------------------------------------------------------------------- */ + + // Document order sorting + sortOrder = hasCompare ? + function( a, b ) { + + // Flag for duplicate removal + if ( a === b ) { + hasDuplicate = true; + return 0; + } + + // Sort on method existence if only one input has compareDocumentPosition + var compare = !a.compareDocumentPosition - !b.compareDocumentPosition; + if ( compare ) { + return compare; + } + + // Calculate position if both inputs belong to the same document + compare = ( a.ownerDocument || a ) === ( b.ownerDocument || b ) ? + a.compareDocumentPosition( b ) : + + // Otherwise we know they are disconnected + 1; + + // Disconnected nodes + if ( compare & 1 || + (!support.sortDetached && b.compareDocumentPosition( a ) === compare) ) { + + // Choose the first element that is related to our preferred document + if ( a === document || a.ownerDocument === preferredDoc && contains(preferredDoc, a) ) { + return -1; + } + if ( b === document || b.ownerDocument === preferredDoc && contains(preferredDoc, b) ) { + return 1; + } + + // Maintain original order + return sortInput ? + ( indexOf( sortInput, a ) - indexOf( sortInput, b ) ) : + 0; + } + + return compare & 4 ? -1 : 1; + } : + function( a, b ) { + // Exit early if the nodes are identical + if ( a === b ) { + hasDuplicate = true; + return 0; + } + + var cur, + i = 0, + aup = a.parentNode, + bup = b.parentNode, + ap = [ a ], + bp = [ b ]; + + // Parentless nodes are either documents or disconnected + if ( !aup || !bup ) { + return a === document ? -1 : + b === document ? 1 : + aup ? -1 : + bup ? 1 : + sortInput ? + ( indexOf( sortInput, a ) - indexOf( sortInput, b ) ) : + 0; + + // If the nodes are siblings, we can do a quick check + } else if ( aup === bup ) { + return siblingCheck( a, b ); + } + + // Otherwise we need full lists of their ancestors for comparison + cur = a; + while ( (cur = cur.parentNode) ) { + ap.unshift( cur ); + } + cur = b; + while ( (cur = cur.parentNode) ) { + bp.unshift( cur ); + } + + // Walk down the tree looking for a discrepancy + while ( ap[i] === bp[i] ) { + i++; + } + + return i ? + // Do a sibling check if the nodes have a common ancestor + siblingCheck( ap[i], bp[i] ) : + + // Otherwise nodes in our document sort first + ap[i] === preferredDoc ? -1 : + bp[i] === preferredDoc ? 1 : + 0; + }; + + return document; +}; + +Sizzle.matches = function( expr, elements ) { + return Sizzle( expr, null, null, elements ); +}; + +Sizzle.matchesSelector = function( elem, expr ) { + // Set document vars if needed + if ( ( elem.ownerDocument || elem ) !== document ) { + setDocument( elem ); + } + + // Make sure that attribute selectors are quoted + expr = expr.replace( rattributeQuotes, "='$1']" ); + + if ( support.matchesSelector && documentIsHTML && + !compilerCache[ expr + " " ] && + ( !rbuggyMatches || !rbuggyMatches.test( expr ) ) && + ( !rbuggyQSA || !rbuggyQSA.test( expr ) ) ) { + + try { + var ret = matches.call( elem, expr ); + + // IE 9's matchesSelector returns false on disconnected nodes + if ( ret || support.disconnectedMatch || + // As well, disconnected nodes are said to be in a document + // fragment in IE 9 + elem.document && elem.document.nodeType !== 11 ) { + return ret; + } + } catch (e) {} + } + + return Sizzle( expr, document, null, [ elem ] ).length > 0; +}; + +Sizzle.contains = function( context, elem ) { + // Set document vars if needed + if ( ( context.ownerDocument || context ) !== document ) { + setDocument( context ); + } + return contains( context, elem ); +}; + +Sizzle.attr = function( elem, name ) { + // Set document vars if needed + if ( ( elem.ownerDocument || elem ) !== document ) { + setDocument( elem ); + } + + var fn = Expr.attrHandle[ name.toLowerCase() ], + // Don't get fooled by Object.prototype properties (jQuery #13807) + val = fn && hasOwn.call( Expr.attrHandle, name.toLowerCase() ) ? + fn( elem, name, !documentIsHTML ) : + undefined; + + return val !== undefined ? + val : + support.attributes || !documentIsHTML ? + elem.getAttribute( name ) : + (val = elem.getAttributeNode(name)) && val.specified ? + val.value : + null; +}; + +Sizzle.escape = function( sel ) { + return (sel + "").replace( rcssescape, fcssescape ); +}; + +Sizzle.error = function( msg ) { + throw new Error( "Syntax error, unrecognized expression: " + msg ); +}; + +/** + * Document sorting and removing duplicates + * @param {ArrayLike} results + */ +Sizzle.uniqueSort = function( results ) { + var elem, + duplicates = [], + j = 0, + i = 0; + + // Unless we *know* we can detect duplicates, assume their presence + hasDuplicate = !support.detectDuplicates; + sortInput = !support.sortStable && results.slice( 0 ); + results.sort( sortOrder ); + + if ( hasDuplicate ) { + while ( (elem = results[i++]) ) { + if ( elem === results[ i ] ) { + j = duplicates.push( i ); + } + } + while ( j-- ) { + results.splice( duplicates[ j ], 1 ); + } + } + + // Clear input after sorting to release objects + // See https://github.com/jquery/sizzle/pull/225 + sortInput = null; + + return results; +}; + +/** + * Utility function for retrieving the text value of an array of DOM nodes + * @param {Array|Element} elem + */ +getText = Sizzle.getText = function( elem ) { + var node, + ret = "", + i = 0, + nodeType = elem.nodeType; + + if ( !nodeType ) { + // If no nodeType, this is expected to be an array + while ( (node = elem[i++]) ) { + // Do not traverse comment nodes + ret += getText( node ); + } + } else if ( nodeType === 1 || nodeType === 9 || nodeType === 11 ) { + // Use textContent for elements + // innerText usage removed for consistency of new lines (jQuery #11153) + if ( typeof elem.textContent === "string" ) { + return elem.textContent; + } else { + // Traverse its children + for ( elem = elem.firstChild; elem; elem = elem.nextSibling ) { + ret += getText( elem ); + } + } + } else if ( nodeType === 3 || nodeType === 4 ) { + return elem.nodeValue; + } + // Do not include comment or processing instruction nodes + + return ret; +}; + +Expr = Sizzle.selectors = { + + // Can be adjusted by the user + cacheLength: 50, + + createPseudo: markFunction, + + match: matchExpr, + + attrHandle: {}, + + find: {}, + + relative: { + ">": { dir: "parentNode", first: true }, + " ": { dir: "parentNode" }, + "+": { dir: "previousSibling", first: true }, + "~": { dir: "previousSibling" } + }, + + preFilter: { + "ATTR": function( match ) { + match[1] = match[1].replace( runescape, funescape ); + + // Move the given value to match[3] whether quoted or unquoted + match[3] = ( match[3] || match[4] || match[5] || "" ).replace( runescape, funescape ); + + if ( match[2] === "~=" ) { + match[3] = " " + match[3] + " "; + } + + return match.slice( 0, 4 ); + }, + + "CHILD": function( match ) { + /* matches from matchExpr["CHILD"] + 1 type (only|nth|...) + 2 what (child|of-type) + 3 argument (even|odd|\d*|\d*n([+-]\d+)?|...) + 4 xn-component of xn+y argument ([+-]?\d*n|) + 5 sign of xn-component + 6 x of xn-component + 7 sign of y-component + 8 y of y-component + */ + match[1] = match[1].toLowerCase(); + + if ( match[1].slice( 0, 3 ) === "nth" ) { + // nth-* requires argument + if ( !match[3] ) { + Sizzle.error( match[0] ); + } + + // numeric x and y parameters for Expr.filter.CHILD + // remember that false/true cast respectively to 0/1 + match[4] = +( match[4] ? match[5] + (match[6] || 1) : 2 * ( match[3] === "even" || match[3] === "odd" ) ); + match[5] = +( ( match[7] + match[8] ) || match[3] === "odd" ); + + // other types prohibit arguments + } else if ( match[3] ) { + Sizzle.error( match[0] ); + } + + return match; + }, + + "PSEUDO": function( match ) { + var excess, + unquoted = !match[6] && match[2]; + + if ( matchExpr["CHILD"].test( match[0] ) ) { + return null; + } + + // Accept quoted arguments as-is + if ( match[3] ) { + match[2] = match[4] || match[5] || ""; + + // Strip excess characters from unquoted arguments + } else if ( unquoted && rpseudo.test( unquoted ) && + // Get excess from tokenize (recursively) + (excess = tokenize( unquoted, true )) && + // advance to the next closing parenthesis + (excess = unquoted.indexOf( ")", unquoted.length - excess ) - unquoted.length) ) { + + // excess is a negative index + match[0] = match[0].slice( 0, excess ); + match[2] = unquoted.slice( 0, excess ); + } + + // Return only captures needed by the pseudo filter method (type and argument) + return match.slice( 0, 3 ); + } + }, + + filter: { + + "TAG": function( nodeNameSelector ) { + var nodeName = nodeNameSelector.replace( runescape, funescape ).toLowerCase(); + return nodeNameSelector === "*" ? + function() { return true; } : + function( elem ) { + return elem.nodeName && elem.nodeName.toLowerCase() === nodeName; + }; + }, + + "CLASS": function( className ) { + var pattern = classCache[ className + " " ]; + + return pattern || + (pattern = new RegExp( "(^|" + whitespace + ")" + className + "(" + whitespace + "|$)" )) && + classCache( className, function( elem ) { + return pattern.test( typeof elem.className === "string" && elem.className || typeof elem.getAttribute !== "undefined" && elem.getAttribute("class") || "" ); + }); + }, + + "ATTR": function( name, operator, check ) { + return function( elem ) { + var result = Sizzle.attr( elem, name ); + + if ( result == null ) { + return operator === "!="; + } + if ( !operator ) { + return true; + } + + result += ""; + + return operator === "=" ? result === check : + operator === "!=" ? result !== check : + operator === "^=" ? check && result.indexOf( check ) === 0 : + operator === "*=" ? check && result.indexOf( check ) > -1 : + operator === "$=" ? check && result.slice( -check.length ) === check : + operator === "~=" ? ( " " + result.replace( rwhitespace, " " ) + " " ).indexOf( check ) > -1 : + operator === "|=" ? result === check || result.slice( 0, check.length + 1 ) === check + "-" : + false; + }; + }, + + "CHILD": function( type, what, argument, first, last ) { + var simple = type.slice( 0, 3 ) !== "nth", + forward = type.slice( -4 ) !== "last", + ofType = what === "of-type"; + + return first === 1 && last === 0 ? + + // Shortcut for :nth-*(n) + function( elem ) { + return !!elem.parentNode; + } : + + function( elem, context, xml ) { + var cache, uniqueCache, outerCache, node, nodeIndex, start, + dir = simple !== forward ? "nextSibling" : "previousSibling", + parent = elem.parentNode, + name = ofType && elem.nodeName.toLowerCase(), + useCache = !xml && !ofType, + diff = false; + + if ( parent ) { + + // :(first|last|only)-(child|of-type) + if ( simple ) { + while ( dir ) { + node = elem; + while ( (node = node[ dir ]) ) { + if ( ofType ? + node.nodeName.toLowerCase() === name : + node.nodeType === 1 ) { + + return false; + } + } + // Reverse direction for :only-* (if we haven't yet done so) + start = dir = type === "only" && !start && "nextSibling"; + } + return true; + } + + start = [ forward ? parent.firstChild : parent.lastChild ]; + + // non-xml :nth-child(...) stores cache data on `parent` + if ( forward && useCache ) { + + // Seek `elem` from a previously-cached index + + // ...in a gzip-friendly way + node = parent; + outerCache = node[ expando ] || (node[ expando ] = {}); + + // Support: IE <9 only + // Defend against cloned attroperties (jQuery gh-1709) + uniqueCache = outerCache[ node.uniqueID ] || + (outerCache[ node.uniqueID ] = {}); + + cache = uniqueCache[ type ] || []; + nodeIndex = cache[ 0 ] === dirruns && cache[ 1 ]; + diff = nodeIndex && cache[ 2 ]; + node = nodeIndex && parent.childNodes[ nodeIndex ]; + + while ( (node = ++nodeIndex && node && node[ dir ] || + + // Fallback to seeking `elem` from the start + (diff = nodeIndex = 0) || start.pop()) ) { + + // When found, cache indexes on `parent` and break + if ( node.nodeType === 1 && ++diff && node === elem ) { + uniqueCache[ type ] = [ dirruns, nodeIndex, diff ]; + break; + } + } + + } else { + // Use previously-cached element index if available + if ( useCache ) { + // ...in a gzip-friendly way + node = elem; + outerCache = node[ expando ] || (node[ expando ] = {}); + + // Support: IE <9 only + // Defend against cloned attroperties (jQuery gh-1709) + uniqueCache = outerCache[ node.uniqueID ] || + (outerCache[ node.uniqueID ] = {}); + + cache = uniqueCache[ type ] || []; + nodeIndex = cache[ 0 ] === dirruns && cache[ 1 ]; + diff = nodeIndex; + } + + // xml :nth-child(...) + // or :nth-last-child(...) or :nth(-last)?-of-type(...) + if ( diff === false ) { + // Use the same loop as above to seek `elem` from the start + while ( (node = ++nodeIndex && node && node[ dir ] || + (diff = nodeIndex = 0) || start.pop()) ) { + + if ( ( ofType ? + node.nodeName.toLowerCase() === name : + node.nodeType === 1 ) && + ++diff ) { + + // Cache the index of each encountered element + if ( useCache ) { + outerCache = node[ expando ] || (node[ expando ] = {}); + + // Support: IE <9 only + // Defend against cloned attroperties (jQuery gh-1709) + uniqueCache = outerCache[ node.uniqueID ] || + (outerCache[ node.uniqueID ] = {}); + + uniqueCache[ type ] = [ dirruns, diff ]; + } + + if ( node === elem ) { + break; + } + } + } + } + } + + // Incorporate the offset, then check against cycle size + diff -= last; + return diff === first || ( diff % first === 0 && diff / first >= 0 ); + } + }; + }, + + "PSEUDO": function( pseudo, argument ) { + // pseudo-class names are case-insensitive + // http://www.w3.org/TR/selectors/#pseudo-classes + // Prioritize by case sensitivity in case custom pseudos are added with uppercase letters + // Remember that setFilters inherits from pseudos + var args, + fn = Expr.pseudos[ pseudo ] || Expr.setFilters[ pseudo.toLowerCase() ] || + Sizzle.error( "unsupported pseudo: " + pseudo ); + + // The user may use createPseudo to indicate that + // arguments are needed to create the filter function + // just as Sizzle does + if ( fn[ expando ] ) { + return fn( argument ); + } + + // But maintain support for old signatures + if ( fn.length > 1 ) { + args = [ pseudo, pseudo, "", argument ]; + return Expr.setFilters.hasOwnProperty( pseudo.toLowerCase() ) ? + markFunction(function( seed, matches ) { + var idx, + matched = fn( seed, argument ), + i = matched.length; + while ( i-- ) { + idx = indexOf( seed, matched[i] ); + seed[ idx ] = !( matches[ idx ] = matched[i] ); + } + }) : + function( elem ) { + return fn( elem, 0, args ); + }; + } + + return fn; + } + }, + + pseudos: { + // Potentially complex pseudos + "not": markFunction(function( selector ) { + // Trim the selector passed to compile + // to avoid treating leading and trailing + // spaces as combinators + var input = [], + results = [], + matcher = compile( selector.replace( rtrim, "$1" ) ); + + return matcher[ expando ] ? + markFunction(function( seed, matches, context, xml ) { + var elem, + unmatched = matcher( seed, null, xml, [] ), + i = seed.length; + + // Match elements unmatched by `matcher` + while ( i-- ) { + if ( (elem = unmatched[i]) ) { + seed[i] = !(matches[i] = elem); + } + } + }) : + function( elem, context, xml ) { + input[0] = elem; + matcher( input, null, xml, results ); + // Don't keep the element (issue #299) + input[0] = null; + return !results.pop(); + }; + }), + + "has": markFunction(function( selector ) { + return function( elem ) { + return Sizzle( selector, elem ).length > 0; + }; + }), + + "contains": markFunction(function( text ) { + text = text.replace( runescape, funescape ); + return function( elem ) { + return ( elem.textContent || elem.innerText || getText( elem ) ).indexOf( text ) > -1; + }; + }), + + // "Whether an element is represented by a :lang() selector + // is based solely on the element's language value + // being equal to the identifier C, + // or beginning with the identifier C immediately followed by "-". + // The matching of C against the element's language value is performed case-insensitively. + // The identifier C does not have to be a valid language name." + // http://www.w3.org/TR/selectors/#lang-pseudo + "lang": markFunction( function( lang ) { + // lang value must be a valid identifier + if ( !ridentifier.test(lang || "") ) { + Sizzle.error( "unsupported lang: " + lang ); + } + lang = lang.replace( runescape, funescape ).toLowerCase(); + return function( elem ) { + var elemLang; + do { + if ( (elemLang = documentIsHTML ? + elem.lang : + elem.getAttribute("xml:lang") || elem.getAttribute("lang")) ) { + + elemLang = elemLang.toLowerCase(); + return elemLang === lang || elemLang.indexOf( lang + "-" ) === 0; + } + } while ( (elem = elem.parentNode) && elem.nodeType === 1 ); + return false; + }; + }), + + // Miscellaneous + "target": function( elem ) { + var hash = window.location && window.location.hash; + return hash && hash.slice( 1 ) === elem.id; + }, + + "root": function( elem ) { + return elem === docElem; + }, + + "focus": function( elem ) { + return elem === document.activeElement && (!document.hasFocus || document.hasFocus()) && !!(elem.type || elem.href || ~elem.tabIndex); + }, + + // Boolean properties + "enabled": createDisabledPseudo( false ), + "disabled": createDisabledPseudo( true ), + + "checked": function( elem ) { + // In CSS3, :checked should return both checked and selected elements + // http://www.w3.org/TR/2011/REC-css3-selectors-20110929/#checked + var nodeName = elem.nodeName.toLowerCase(); + return (nodeName === "input" && !!elem.checked) || (nodeName === "option" && !!elem.selected); + }, + + "selected": function( elem ) { + // Accessing this property makes selected-by-default + // options in Safari work properly + if ( elem.parentNode ) { + elem.parentNode.selectedIndex; + } + + return elem.selected === true; + }, + + // Contents + "empty": function( elem ) { + // http://www.w3.org/TR/selectors/#empty-pseudo + // :empty is negated by element (1) or content nodes (text: 3; cdata: 4; entity ref: 5), + // but not by others (comment: 8; processing instruction: 7; etc.) + // nodeType < 6 works because attributes (2) do not appear as children + for ( elem = elem.firstChild; elem; elem = elem.nextSibling ) { + if ( elem.nodeType < 6 ) { + return false; + } + } + return true; + }, + + "parent": function( elem ) { + return !Expr.pseudos["empty"]( elem ); + }, + + // Element/input types + "header": function( elem ) { + return rheader.test( elem.nodeName ); + }, + + "input": function( elem ) { + return rinputs.test( elem.nodeName ); + }, + + "button": function( elem ) { + var name = elem.nodeName.toLowerCase(); + return name === "input" && elem.type === "button" || name === "button"; + }, + + "text": function( elem ) { + var attr; + return elem.nodeName.toLowerCase() === "input" && + elem.type === "text" && + + // Support: IE<8 + // New HTML5 attribute values (e.g., "search") appear with elem.type === "text" + ( (attr = elem.getAttribute("type")) == null || attr.toLowerCase() === "text" ); + }, + + // Position-in-collection + "first": createPositionalPseudo(function() { + return [ 0 ]; + }), + + "last": createPositionalPseudo(function( matchIndexes, length ) { + return [ length - 1 ]; + }), + + "eq": createPositionalPseudo(function( matchIndexes, length, argument ) { + return [ argument < 0 ? argument + length : argument ]; + }), + + "even": createPositionalPseudo(function( matchIndexes, length ) { + var i = 0; + for ( ; i < length; i += 2 ) { + matchIndexes.push( i ); + } + return matchIndexes; + }), + + "odd": createPositionalPseudo(function( matchIndexes, length ) { + var i = 1; + for ( ; i < length; i += 2 ) { + matchIndexes.push( i ); + } + return matchIndexes; + }), + + "lt": createPositionalPseudo(function( matchIndexes, length, argument ) { + var i = argument < 0 ? argument + length : argument; + for ( ; --i >= 0; ) { + matchIndexes.push( i ); + } + return matchIndexes; + }), + + "gt": createPositionalPseudo(function( matchIndexes, length, argument ) { + var i = argument < 0 ? argument + length : argument; + for ( ; ++i < length; ) { + matchIndexes.push( i ); + } + return matchIndexes; + }) + } +}; + +Expr.pseudos["nth"] = Expr.pseudos["eq"]; + +// Add button/input type pseudos +for ( i in { radio: true, checkbox: true, file: true, password: true, image: true } ) { + Expr.pseudos[ i ] = createInputPseudo( i ); +} +for ( i in { submit: true, reset: true } ) { + Expr.pseudos[ i ] = createButtonPseudo( i ); +} + +// Easy API for creating new setFilters +function setFilters() {} +setFilters.prototype = Expr.filters = Expr.pseudos; +Expr.setFilters = new setFilters(); + +tokenize = Sizzle.tokenize = function( selector, parseOnly ) { + var matched, match, tokens, type, + soFar, groups, preFilters, + cached = tokenCache[ selector + " " ]; + + if ( cached ) { + return parseOnly ? 0 : cached.slice( 0 ); + } + + soFar = selector; + groups = []; + preFilters = Expr.preFilter; + + while ( soFar ) { + + // Comma and first run + if ( !matched || (match = rcomma.exec( soFar )) ) { + if ( match ) { + // Don't consume trailing commas as valid + soFar = soFar.slice( match[0].length ) || soFar; + } + groups.push( (tokens = []) ); + } + + matched = false; + + // Combinators + if ( (match = rcombinators.exec( soFar )) ) { + matched = match.shift(); + tokens.push({ + value: matched, + // Cast descendant combinators to space + type: match[0].replace( rtrim, " " ) + }); + soFar = soFar.slice( matched.length ); + } + + // Filters + for ( type in Expr.filter ) { + if ( (match = matchExpr[ type ].exec( soFar )) && (!preFilters[ type ] || + (match = preFilters[ type ]( match ))) ) { + matched = match.shift(); + tokens.push({ + value: matched, + type: type, + matches: match + }); + soFar = soFar.slice( matched.length ); + } + } + + if ( !matched ) { + break; + } + } + + // Return the length of the invalid excess + // if we're just parsing + // Otherwise, throw an error or return tokens + return parseOnly ? + soFar.length : + soFar ? + Sizzle.error( selector ) : + // Cache the tokens + tokenCache( selector, groups ).slice( 0 ); +}; + +function toSelector( tokens ) { + var i = 0, + len = tokens.length, + selector = ""; + for ( ; i < len; i++ ) { + selector += tokens[i].value; + } + return selector; +} + +function addCombinator( matcher, combinator, base ) { + var dir = combinator.dir, + skip = combinator.next, + key = skip || dir, + checkNonElements = base && key === "parentNode", + doneName = done++; + + return combinator.first ? + // Check against closest ancestor/preceding element + function( elem, context, xml ) { + while ( (elem = elem[ dir ]) ) { + if ( elem.nodeType === 1 || checkNonElements ) { + return matcher( elem, context, xml ); + } + } + return false; + } : + + // Check against all ancestor/preceding elements + function( elem, context, xml ) { + var oldCache, uniqueCache, outerCache, + newCache = [ dirruns, doneName ]; + + // We can't set arbitrary data on XML nodes, so they don't benefit from combinator caching + if ( xml ) { + while ( (elem = elem[ dir ]) ) { + if ( elem.nodeType === 1 || checkNonElements ) { + if ( matcher( elem, context, xml ) ) { + return true; + } + } + } + } else { + while ( (elem = elem[ dir ]) ) { + if ( elem.nodeType === 1 || checkNonElements ) { + outerCache = elem[ expando ] || (elem[ expando ] = {}); + + // Support: IE <9 only + // Defend against cloned attroperties (jQuery gh-1709) + uniqueCache = outerCache[ elem.uniqueID ] || (outerCache[ elem.uniqueID ] = {}); + + if ( skip && skip === elem.nodeName.toLowerCase() ) { + elem = elem[ dir ] || elem; + } else if ( (oldCache = uniqueCache[ key ]) && + oldCache[ 0 ] === dirruns && oldCache[ 1 ] === doneName ) { + + // Assign to newCache so results back-propagate to previous elements + return (newCache[ 2 ] = oldCache[ 2 ]); + } else { + // Reuse newcache so results back-propagate to previous elements + uniqueCache[ key ] = newCache; + + // A match means we're done; a fail means we have to keep checking + if ( (newCache[ 2 ] = matcher( elem, context, xml )) ) { + return true; + } + } + } + } + } + return false; + }; +} + +function elementMatcher( matchers ) { + return matchers.length > 1 ? + function( elem, context, xml ) { + var i = matchers.length; + while ( i-- ) { + if ( !matchers[i]( elem, context, xml ) ) { + return false; + } + } + return true; + } : + matchers[0]; +} + +function multipleContexts( selector, contexts, results ) { + var i = 0, + len = contexts.length; + for ( ; i < len; i++ ) { + Sizzle( selector, contexts[i], results ); + } + return results; +} + +function condense( unmatched, map, filter, context, xml ) { + var elem, + newUnmatched = [], + i = 0, + len = unmatched.length, + mapped = map != null; + + for ( ; i < len; i++ ) { + if ( (elem = unmatched[i]) ) { + if ( !filter || filter( elem, context, xml ) ) { + newUnmatched.push( elem ); + if ( mapped ) { + map.push( i ); + } + } + } + } + + return newUnmatched; +} + +function setMatcher( preFilter, selector, matcher, postFilter, postFinder, postSelector ) { + if ( postFilter && !postFilter[ expando ] ) { + postFilter = setMatcher( postFilter ); + } + if ( postFinder && !postFinder[ expando ] ) { + postFinder = setMatcher( postFinder, postSelector ); + } + return markFunction(function( seed, results, context, xml ) { + var temp, i, elem, + preMap = [], + postMap = [], + preexisting = results.length, + + // Get initial elements from seed or context + elems = seed || multipleContexts( selector || "*", context.nodeType ? [ context ] : context, [] ), + + // Prefilter to get matcher input, preserving a map for seed-results synchronization + matcherIn = preFilter && ( seed || !selector ) ? + condense( elems, preMap, preFilter, context, xml ) : + elems, + + matcherOut = matcher ? + // If we have a postFinder, or filtered seed, or non-seed postFilter or preexisting results, + postFinder || ( seed ? preFilter : preexisting || postFilter ) ? + + // ...intermediate processing is necessary + [] : + + // ...otherwise use results directly + results : + matcherIn; + + // Find primary matches + if ( matcher ) { + matcher( matcherIn, matcherOut, context, xml ); + } + + // Apply postFilter + if ( postFilter ) { + temp = condense( matcherOut, postMap ); + postFilter( temp, [], context, xml ); + + // Un-match failing elements by moving them back to matcherIn + i = temp.length; + while ( i-- ) { + if ( (elem = temp[i]) ) { + matcherOut[ postMap[i] ] = !(matcherIn[ postMap[i] ] = elem); + } + } + } + + if ( seed ) { + if ( postFinder || preFilter ) { + if ( postFinder ) { + // Get the final matcherOut by condensing this intermediate into postFinder contexts + temp = []; + i = matcherOut.length; + while ( i-- ) { + if ( (elem = matcherOut[i]) ) { + // Restore matcherIn since elem is not yet a final match + temp.push( (matcherIn[i] = elem) ); + } + } + postFinder( null, (matcherOut = []), temp, xml ); + } + + // Move matched elements from seed to results to keep them synchronized + i = matcherOut.length; + while ( i-- ) { + if ( (elem = matcherOut[i]) && + (temp = postFinder ? indexOf( seed, elem ) : preMap[i]) > -1 ) { + + seed[temp] = !(results[temp] = elem); + } + } + } + + // Add elements to results, through postFinder if defined + } else { + matcherOut = condense( + matcherOut === results ? + matcherOut.splice( preexisting, matcherOut.length ) : + matcherOut + ); + if ( postFinder ) { + postFinder( null, results, matcherOut, xml ); + } else { + push.apply( results, matcherOut ); + } + } + }); +} + +function matcherFromTokens( tokens ) { + var checkContext, matcher, j, + len = tokens.length, + leadingRelative = Expr.relative[ tokens[0].type ], + implicitRelative = leadingRelative || Expr.relative[" "], + i = leadingRelative ? 1 : 0, + + // The foundational matcher ensures that elements are reachable from top-level context(s) + matchContext = addCombinator( function( elem ) { + return elem === checkContext; + }, implicitRelative, true ), + matchAnyContext = addCombinator( function( elem ) { + return indexOf( checkContext, elem ) > -1; + }, implicitRelative, true ), + matchers = [ function( elem, context, xml ) { + var ret = ( !leadingRelative && ( xml || context !== outermostContext ) ) || ( + (checkContext = context).nodeType ? + matchContext( elem, context, xml ) : + matchAnyContext( elem, context, xml ) ); + // Avoid hanging onto element (issue #299) + checkContext = null; + return ret; + } ]; + + for ( ; i < len; i++ ) { + if ( (matcher = Expr.relative[ tokens[i].type ]) ) { + matchers = [ addCombinator(elementMatcher( matchers ), matcher) ]; + } else { + matcher = Expr.filter[ tokens[i].type ].apply( null, tokens[i].matches ); + + // Return special upon seeing a positional matcher + if ( matcher[ expando ] ) { + // Find the next relative operator (if any) for proper handling + j = ++i; + for ( ; j < len; j++ ) { + if ( Expr.relative[ tokens[j].type ] ) { + break; + } + } + return setMatcher( + i > 1 && elementMatcher( matchers ), + i > 1 && toSelector( + // If the preceding token was a descendant combinator, insert an implicit any-element `*` + tokens.slice( 0, i - 1 ).concat({ value: tokens[ i - 2 ].type === " " ? "*" : "" }) + ).replace( rtrim, "$1" ), + matcher, + i < j && matcherFromTokens( tokens.slice( i, j ) ), + j < len && matcherFromTokens( (tokens = tokens.slice( j )) ), + j < len && toSelector( tokens ) + ); + } + matchers.push( matcher ); + } + } + + return elementMatcher( matchers ); +} + +function matcherFromGroupMatchers( elementMatchers, setMatchers ) { + var bySet = setMatchers.length > 0, + byElement = elementMatchers.length > 0, + superMatcher = function( seed, context, xml, results, outermost ) { + var elem, j, matcher, + matchedCount = 0, + i = "0", + unmatched = seed && [], + setMatched = [], + contextBackup = outermostContext, + // We must always have either seed elements or outermost context + elems = seed || byElement && Expr.find["TAG"]( "*", outermost ), + // Use integer dirruns iff this is the outermost matcher + dirrunsUnique = (dirruns += contextBackup == null ? 1 : Math.random() || 0.1), + len = elems.length; + + if ( outermost ) { + outermostContext = context === document || context || outermost; + } + + // Add elements passing elementMatchers directly to results + // Support: IE<9, Safari + // Tolerate NodeList properties (IE: "length"; Safari: ) matching elements by id + for ( ; i !== len && (elem = elems[i]) != null; i++ ) { + if ( byElement && elem ) { + j = 0; + if ( !context && elem.ownerDocument !== document ) { + setDocument( elem ); + xml = !documentIsHTML; + } + while ( (matcher = elementMatchers[j++]) ) { + if ( matcher( elem, context || document, xml) ) { + results.push( elem ); + break; + } + } + if ( outermost ) { + dirruns = dirrunsUnique; + } + } + + // Track unmatched elements for set filters + if ( bySet ) { + // They will have gone through all possible matchers + if ( (elem = !matcher && elem) ) { + matchedCount--; + } + + // Lengthen the array for every element, matched or not + if ( seed ) { + unmatched.push( elem ); + } + } + } + + // `i` is now the count of elements visited above, and adding it to `matchedCount` + // makes the latter nonnegative. + matchedCount += i; + + // Apply set filters to unmatched elements + // NOTE: This can be skipped if there are no unmatched elements (i.e., `matchedCount` + // equals `i`), unless we didn't visit _any_ elements in the above loop because we have + // no element matchers and no seed. + // Incrementing an initially-string "0" `i` allows `i` to remain a string only in that + // case, which will result in a "00" `matchedCount` that differs from `i` but is also + // numerically zero. + if ( bySet && i !== matchedCount ) { + j = 0; + while ( (matcher = setMatchers[j++]) ) { + matcher( unmatched, setMatched, context, xml ); + } + + if ( seed ) { + // Reintegrate element matches to eliminate the need for sorting + if ( matchedCount > 0 ) { + while ( i-- ) { + if ( !(unmatched[i] || setMatched[i]) ) { + setMatched[i] = pop.call( results ); + } + } + } + + // Discard index placeholder values to get only actual matches + setMatched = condense( setMatched ); + } + + // Add matches to results + push.apply( results, setMatched ); + + // Seedless set matches succeeding multiple successful matchers stipulate sorting + if ( outermost && !seed && setMatched.length > 0 && + ( matchedCount + setMatchers.length ) > 1 ) { + + Sizzle.uniqueSort( results ); + } + } + + // Override manipulation of globals by nested matchers + if ( outermost ) { + dirruns = dirrunsUnique; + outermostContext = contextBackup; + } + + return unmatched; + }; + + return bySet ? + markFunction( superMatcher ) : + superMatcher; +} + +compile = Sizzle.compile = function( selector, match /* Internal Use Only */ ) { + var i, + setMatchers = [], + elementMatchers = [], + cached = compilerCache[ selector + " " ]; + + if ( !cached ) { + // Generate a function of recursive functions that can be used to check each element + if ( !match ) { + match = tokenize( selector ); + } + i = match.length; + while ( i-- ) { + cached = matcherFromTokens( match[i] ); + if ( cached[ expando ] ) { + setMatchers.push( cached ); + } else { + elementMatchers.push( cached ); + } + } + + // Cache the compiled function + cached = compilerCache( selector, matcherFromGroupMatchers( elementMatchers, setMatchers ) ); + + // Save selector and tokenization + cached.selector = selector; + } + return cached; +}; + +/** + * A low-level selection function that works with Sizzle's compiled + * selector functions + * @param {String|Function} selector A selector or a pre-compiled + * selector function built with Sizzle.compile + * @param {Element} context + * @param {Array} [results] + * @param {Array} [seed] A set of elements to match against + */ +select = Sizzle.select = function( selector, context, results, seed ) { + var i, tokens, token, type, find, + compiled = typeof selector === "function" && selector, + match = !seed && tokenize( (selector = compiled.selector || selector) ); + + results = results || []; + + // Try to minimize operations if there is only one selector in the list and no seed + // (the latter of which guarantees us context) + if ( match.length === 1 ) { + + // Reduce context if the leading compound selector is an ID + tokens = match[0] = match[0].slice( 0 ); + if ( tokens.length > 2 && (token = tokens[0]).type === "ID" && + context.nodeType === 9 && documentIsHTML && Expr.relative[ tokens[1].type ] ) { + + context = ( Expr.find["ID"]( token.matches[0].replace(runescape, funescape), context ) || [] )[0]; + if ( !context ) { + return results; + + // Precompiled matchers will still verify ancestry, so step up a level + } else if ( compiled ) { + context = context.parentNode; + } + + selector = selector.slice( tokens.shift().value.length ); + } + + // Fetch a seed set for right-to-left matching + i = matchExpr["needsContext"].test( selector ) ? 0 : tokens.length; + while ( i-- ) { + token = tokens[i]; + + // Abort if we hit a combinator + if ( Expr.relative[ (type = token.type) ] ) { + break; + } + if ( (find = Expr.find[ type ]) ) { + // Search, expanding context for leading sibling combinators + if ( (seed = find( + token.matches[0].replace( runescape, funescape ), + rsibling.test( tokens[0].type ) && testContext( context.parentNode ) || context + )) ) { + + // If seed is empty or no tokens remain, we can return early + tokens.splice( i, 1 ); + selector = seed.length && toSelector( tokens ); + if ( !selector ) { + push.apply( results, seed ); + return results; + } + + break; + } + } + } + } + + // Compile and execute a filtering function if one is not provided + // Provide `match` to avoid retokenization if we modified the selector above + ( compiled || compile( selector, match ) )( + seed, + context, + !documentIsHTML, + results, + !context || rsibling.test( selector ) && testContext( context.parentNode ) || context + ); + return results; +}; + +// One-time assignments + +// Sort stability +support.sortStable = expando.split("").sort( sortOrder ).join("") === expando; + +// Support: Chrome 14-35+ +// Always assume duplicates if they aren't passed to the comparison function +support.detectDuplicates = !!hasDuplicate; + +// Initialize against the default document +setDocument(); + +// Support: Webkit<537.32 - Safari 6.0.3/Chrome 25 (fixed in Chrome 27) +// Detached nodes confoundingly follow *each other* +support.sortDetached = assert(function( el ) { + // Should return 1, but returns 4 (following) + return el.compareDocumentPosition( document.createElement("fieldset") ) & 1; +}); + +// Support: IE<8 +// Prevent attribute/property "interpolation" +// https://msdn.microsoft.com/en-us/library/ms536429%28VS.85%29.aspx +if ( !assert(function( el ) { + el.innerHTML = ""; + return el.firstChild.getAttribute("href") === "#" ; +}) ) { + addHandle( "type|href|height|width", function( elem, name, isXML ) { + if ( !isXML ) { + return elem.getAttribute( name, name.toLowerCase() === "type" ? 1 : 2 ); + } + }); +} + +// Support: IE<9 +// Use defaultValue in place of getAttribute("value") +if ( !support.attributes || !assert(function( el ) { + el.innerHTML = ""; + el.firstChild.setAttribute( "value", "" ); + return el.firstChild.getAttribute( "value" ) === ""; +}) ) { + addHandle( "value", function( elem, name, isXML ) { + if ( !isXML && elem.nodeName.toLowerCase() === "input" ) { + return elem.defaultValue; + } + }); +} + +// Support: IE<9 +// Use getAttributeNode to fetch booleans when getAttribute lies +if ( !assert(function( el ) { + return el.getAttribute("disabled") == null; +}) ) { + addHandle( booleans, function( elem, name, isXML ) { + var val; + if ( !isXML ) { + return elem[ name ] === true ? name.toLowerCase() : + (val = elem.getAttributeNode( name )) && val.specified ? + val.value : + null; + } + }); +} + +return Sizzle; + +})( window ); + + + +jQuery.find = Sizzle; +jQuery.expr = Sizzle.selectors; + +// Deprecated +jQuery.expr[ ":" ] = jQuery.expr.pseudos; +jQuery.uniqueSort = jQuery.unique = Sizzle.uniqueSort; +jQuery.text = Sizzle.getText; +jQuery.isXMLDoc = Sizzle.isXML; +jQuery.contains = Sizzle.contains; +jQuery.escapeSelector = Sizzle.escape; + + + + +var dir = function( elem, dir, until ) { + var matched = [], + truncate = until !== undefined; + + while ( ( elem = elem[ dir ] ) && elem.nodeType !== 9 ) { + if ( elem.nodeType === 1 ) { + if ( truncate && jQuery( elem ).is( until ) ) { + break; + } + matched.push( elem ); + } + } + return matched; +}; + + +var siblings = function( n, elem ) { + var matched = []; + + for ( ; n; n = n.nextSibling ) { + if ( n.nodeType === 1 && n !== elem ) { + matched.push( n ); + } + } + + return matched; +}; + + +var rneedsContext = jQuery.expr.match.needsContext; + + + +function nodeName( elem, name ) { + + return elem.nodeName && elem.nodeName.toLowerCase() === name.toLowerCase(); + +}; +var rsingleTag = ( /^<([a-z][^\/\0>:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i ); + + + +// Implement the identical functionality for filter and not +function winnow( elements, qualifier, not ) { + if ( isFunction( qualifier ) ) { + return jQuery.grep( elements, function( elem, i ) { + return !!qualifier.call( elem, i, elem ) !== not; + } ); + } + + // Single element + if ( qualifier.nodeType ) { + return jQuery.grep( elements, function( elem ) { + return ( elem === qualifier ) !== not; + } ); + } + + // Arraylike of elements (jQuery, arguments, Array) + if ( typeof qualifier !== "string" ) { + return jQuery.grep( elements, function( elem ) { + return ( indexOf.call( qualifier, elem ) > -1 ) !== not; + } ); + } + + // Filtered directly for both simple and complex selectors + return jQuery.filter( qualifier, elements, not ); +} + +jQuery.filter = function( expr, elems, not ) { + var elem = elems[ 0 ]; + + if ( not ) { + expr = ":not(" + expr + ")"; + } + + if ( elems.length === 1 && elem.nodeType === 1 ) { + return jQuery.find.matchesSelector( elem, expr ) ? [ elem ] : []; + } + + return jQuery.find.matches( expr, jQuery.grep( elems, function( elem ) { + return elem.nodeType === 1; + } ) ); +}; + +jQuery.fn.extend( { + find: function( selector ) { + var i, ret, + len = this.length, + self = this; + + if ( typeof selector !== "string" ) { + return this.pushStack( jQuery( selector ).filter( function() { + for ( i = 0; i < len; i++ ) { + if ( jQuery.contains( self[ i ], this ) ) { + return true; + } + } + } ) ); + } + + ret = this.pushStack( [] ); + + for ( i = 0; i < len; i++ ) { + jQuery.find( selector, self[ i ], ret ); + } + + return len > 1 ? jQuery.uniqueSort( ret ) : ret; + }, + filter: function( selector ) { + return this.pushStack( winnow( this, selector || [], false ) ); + }, + not: function( selector ) { + return this.pushStack( winnow( this, selector || [], true ) ); + }, + is: function( selector ) { + return !!winnow( + this, + + // If this is a positional/relative selector, check membership in the returned set + // so $("p:first").is("p:last") won't return true for a doc with two "p". + typeof selector === "string" && rneedsContext.test( selector ) ? + jQuery( selector ) : + selector || [], + false + ).length; + } +} ); + + +// Initialize a jQuery object + + +// A central reference to the root jQuery(document) +var rootjQuery, + + // A simple way to check for HTML strings + // Prioritize #id over to avoid XSS via location.hash (#9521) + // Strict HTML recognition (#11290: must start with <) + // Shortcut simple #id case for speed + rquickExpr = /^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]+))$/, + + init = jQuery.fn.init = function( selector, context, root ) { + var match, elem; + + // HANDLE: $(""), $(null), $(undefined), $(false) + if ( !selector ) { + return this; + } + + // Method init() accepts an alternate rootjQuery + // so migrate can support jQuery.sub (gh-2101) + root = root || rootjQuery; + + // Handle HTML strings + if ( typeof selector === "string" ) { + if ( selector[ 0 ] === "<" && + selector[ selector.length - 1 ] === ">" && + selector.length >= 3 ) { + + // Assume that strings that start and end with <> are HTML and skip the regex check + match = [ null, selector, null ]; + + } else { + match = rquickExpr.exec( selector ); + } + + // Match html or make sure no context is specified for #id + if ( match && ( match[ 1 ] || !context ) ) { + + // HANDLE: $(html) -> $(array) + if ( match[ 1 ] ) { + context = context instanceof jQuery ? context[ 0 ] : context; + + // Option to run scripts is true for back-compat + // Intentionally let the error be thrown if parseHTML is not present + jQuery.merge( this, jQuery.parseHTML( + match[ 1 ], + context && context.nodeType ? context.ownerDocument || context : document, + true + ) ); + + // HANDLE: $(html, props) + if ( rsingleTag.test( match[ 1 ] ) && jQuery.isPlainObject( context ) ) { + for ( match in context ) { + + // Properties of context are called as methods if possible + if ( isFunction( this[ match ] ) ) { + this[ match ]( context[ match ] ); + + // ...and otherwise set as attributes + } else { + this.attr( match, context[ match ] ); + } + } + } + + return this; + + // HANDLE: $(#id) + } else { + elem = document.getElementById( match[ 2 ] ); + + if ( elem ) { + + // Inject the element directly into the jQuery object + this[ 0 ] = elem; + this.length = 1; + } + return this; + } + + // HANDLE: $(expr, $(...)) + } else if ( !context || context.jquery ) { + return ( context || root ).find( selector ); + + // HANDLE: $(expr, context) + // (which is just equivalent to: $(context).find(expr) + } else { + return this.constructor( context ).find( selector ); + } + + // HANDLE: $(DOMElement) + } else if ( selector.nodeType ) { + this[ 0 ] = selector; + this.length = 1; + return this; + + // HANDLE: $(function) + // Shortcut for document ready + } else if ( isFunction( selector ) ) { + return root.ready !== undefined ? + root.ready( selector ) : + + // Execute immediately if ready is not present + selector( jQuery ); + } + + return jQuery.makeArray( selector, this ); + }; + +// Give the init function the jQuery prototype for later instantiation +init.prototype = jQuery.fn; + +// Initialize central reference +rootjQuery = jQuery( document ); + + +var rparentsprev = /^(?:parents|prev(?:Until|All))/, + + // Methods guaranteed to produce a unique set when starting from a unique set + guaranteedUnique = { + children: true, + contents: true, + next: true, + prev: true + }; + +jQuery.fn.extend( { + has: function( target ) { + var targets = jQuery( target, this ), + l = targets.length; + + return this.filter( function() { + var i = 0; + for ( ; i < l; i++ ) { + if ( jQuery.contains( this, targets[ i ] ) ) { + return true; + } + } + } ); + }, + + closest: function( selectors, context ) { + var cur, + i = 0, + l = this.length, + matched = [], + targets = typeof selectors !== "string" && jQuery( selectors ); + + // Positional selectors never match, since there's no _selection_ context + if ( !rneedsContext.test( selectors ) ) { + for ( ; i < l; i++ ) { + for ( cur = this[ i ]; cur && cur !== context; cur = cur.parentNode ) { + + // Always skip document fragments + if ( cur.nodeType < 11 && ( targets ? + targets.index( cur ) > -1 : + + // Don't pass non-elements to Sizzle + cur.nodeType === 1 && + jQuery.find.matchesSelector( cur, selectors ) ) ) { + + matched.push( cur ); + break; + } + } + } + } + + return this.pushStack( matched.length > 1 ? jQuery.uniqueSort( matched ) : matched ); + }, + + // Determine the position of an element within the set + index: function( elem ) { + + // No argument, return index in parent + if ( !elem ) { + return ( this[ 0 ] && this[ 0 ].parentNode ) ? this.first().prevAll().length : -1; + } + + // Index in selector + if ( typeof elem === "string" ) { + return indexOf.call( jQuery( elem ), this[ 0 ] ); + } + + // Locate the position of the desired element + return indexOf.call( this, + + // If it receives a jQuery object, the first element is used + elem.jquery ? elem[ 0 ] : elem + ); + }, + + add: function( selector, context ) { + return this.pushStack( + jQuery.uniqueSort( + jQuery.merge( this.get(), jQuery( selector, context ) ) + ) + ); + }, + + addBack: function( selector ) { + return this.add( selector == null ? + this.prevObject : this.prevObject.filter( selector ) + ); + } +} ); + +function sibling( cur, dir ) { + while ( ( cur = cur[ dir ] ) && cur.nodeType !== 1 ) {} + return cur; +} + +jQuery.each( { + parent: function( elem ) { + var parent = elem.parentNode; + return parent && parent.nodeType !== 11 ? parent : null; + }, + parents: function( elem ) { + return dir( elem, "parentNode" ); + }, + parentsUntil: function( elem, i, until ) { + return dir( elem, "parentNode", until ); + }, + next: function( elem ) { + return sibling( elem, "nextSibling" ); + }, + prev: function( elem ) { + return sibling( elem, "previousSibling" ); + }, + nextAll: function( elem ) { + return dir( elem, "nextSibling" ); + }, + prevAll: function( elem ) { + return dir( elem, "previousSibling" ); + }, + nextUntil: function( elem, i, until ) { + return dir( elem, "nextSibling", until ); + }, + prevUntil: function( elem, i, until ) { + return dir( elem, "previousSibling", until ); + }, + siblings: function( elem ) { + return siblings( ( elem.parentNode || {} ).firstChild, elem ); + }, + children: function( elem ) { + return siblings( elem.firstChild ); + }, + contents: function( elem ) { + if ( nodeName( elem, "iframe" ) ) { + return elem.contentDocument; + } + + // Support: IE 9 - 11 only, iOS 7 only, Android Browser <=4.3 only + // Treat the template element as a regular one in browsers that + // don't support it. + if ( nodeName( elem, "template" ) ) { + elem = elem.content || elem; + } + + return jQuery.merge( [], elem.childNodes ); + } +}, function( name, fn ) { + jQuery.fn[ name ] = function( until, selector ) { + var matched = jQuery.map( this, fn, until ); + + if ( name.slice( -5 ) !== "Until" ) { + selector = until; + } + + if ( selector && typeof selector === "string" ) { + matched = jQuery.filter( selector, matched ); + } + + if ( this.length > 1 ) { + + // Remove duplicates + if ( !guaranteedUnique[ name ] ) { + jQuery.uniqueSort( matched ); + } + + // Reverse order for parents* and prev-derivatives + if ( rparentsprev.test( name ) ) { + matched.reverse(); + } + } + + return this.pushStack( matched ); + }; +} ); +var rnothtmlwhite = ( /[^\x20\t\r\n\f]+/g ); + + + +// Convert String-formatted options into Object-formatted ones +function createOptions( options ) { + var object = {}; + jQuery.each( options.match( rnothtmlwhite ) || [], function( _, flag ) { + object[ flag ] = true; + } ); + return object; +} + +/* + * Create a callback list using the following parameters: + * + * options: an optional list of space-separated options that will change how + * the callback list behaves or a more traditional option object + * + * By default a callback list will act like an event callback list and can be + * "fired" multiple times. + * + * Possible options: + * + * once: will ensure the callback list can only be fired once (like a Deferred) + * + * memory: will keep track of previous values and will call any callback added + * after the list has been fired right away with the latest "memorized" + * values (like a Deferred) + * + * unique: will ensure a callback can only be added once (no duplicate in the list) + * + * stopOnFalse: interrupt callings when a callback returns false + * + */ +jQuery.Callbacks = function( options ) { + + // Convert options from String-formatted to Object-formatted if needed + // (we check in cache first) + options = typeof options === "string" ? + createOptions( options ) : + jQuery.extend( {}, options ); + + var // Flag to know if list is currently firing + firing, + + // Last fire value for non-forgettable lists + memory, + + // Flag to know if list was already fired + fired, + + // Flag to prevent firing + locked, + + // Actual callback list + list = [], + + // Queue of execution data for repeatable lists + queue = [], + + // Index of currently firing callback (modified by add/remove as needed) + firingIndex = -1, + + // Fire callbacks + fire = function() { + + // Enforce single-firing + locked = locked || options.once; + + // Execute callbacks for all pending executions, + // respecting firingIndex overrides and runtime changes + fired = firing = true; + for ( ; queue.length; firingIndex = -1 ) { + memory = queue.shift(); + while ( ++firingIndex < list.length ) { + + // Run callback and check for early termination + if ( list[ firingIndex ].apply( memory[ 0 ], memory[ 1 ] ) === false && + options.stopOnFalse ) { + + // Jump to end and forget the data so .add doesn't re-fire + firingIndex = list.length; + memory = false; + } + } + } + + // Forget the data if we're done with it + if ( !options.memory ) { + memory = false; + } + + firing = false; + + // Clean up if we're done firing for good + if ( locked ) { + + // Keep an empty list if we have data for future add calls + if ( memory ) { + list = []; + + // Otherwise, this object is spent + } else { + list = ""; + } + } + }, + + // Actual Callbacks object + self = { + + // Add a callback or a collection of callbacks to the list + add: function() { + if ( list ) { + + // If we have memory from a past run, we should fire after adding + if ( memory && !firing ) { + firingIndex = list.length - 1; + queue.push( memory ); + } + + ( function add( args ) { + jQuery.each( args, function( _, arg ) { + if ( isFunction( arg ) ) { + if ( !options.unique || !self.has( arg ) ) { + list.push( arg ); + } + } else if ( arg && arg.length && toType( arg ) !== "string" ) { + + // Inspect recursively + add( arg ); + } + } ); + } )( arguments ); + + if ( memory && !firing ) { + fire(); + } + } + return this; + }, + + // Remove a callback from the list + remove: function() { + jQuery.each( arguments, function( _, arg ) { + var index; + while ( ( index = jQuery.inArray( arg, list, index ) ) > -1 ) { + list.splice( index, 1 ); + + // Handle firing indexes + if ( index <= firingIndex ) { + firingIndex--; + } + } + } ); + return this; + }, + + // Check if a given callback is in the list. + // If no argument is given, return whether or not list has callbacks attached. + has: function( fn ) { + return fn ? + jQuery.inArray( fn, list ) > -1 : + list.length > 0; + }, + + // Remove all callbacks from the list + empty: function() { + if ( list ) { + list = []; + } + return this; + }, + + // Disable .fire and .add + // Abort any current/pending executions + // Clear all callbacks and values + disable: function() { + locked = queue = []; + list = memory = ""; + return this; + }, + disabled: function() { + return !list; + }, + + // Disable .fire + // Also disable .add unless we have memory (since it would have no effect) + // Abort any pending executions + lock: function() { + locked = queue = []; + if ( !memory && !firing ) { + list = memory = ""; + } + return this; + }, + locked: function() { + return !!locked; + }, + + // Call all callbacks with the given context and arguments + fireWith: function( context, args ) { + if ( !locked ) { + args = args || []; + args = [ context, args.slice ? args.slice() : args ]; + queue.push( args ); + if ( !firing ) { + fire(); + } + } + return this; + }, + + // Call all the callbacks with the given arguments + fire: function() { + self.fireWith( this, arguments ); + return this; + }, + + // To know if the callbacks have already been called at least once + fired: function() { + return !!fired; + } + }; + + return self; +}; + + +function Identity( v ) { + return v; +} +function Thrower( ex ) { + throw ex; +} + +function adoptValue( value, resolve, reject, noValue ) { + var method; + + try { + + // Check for promise aspect first to privilege synchronous behavior + if ( value && isFunction( ( method = value.promise ) ) ) { + method.call( value ).done( resolve ).fail( reject ); + + // Other thenables + } else if ( value && isFunction( ( method = value.then ) ) ) { + method.call( value, resolve, reject ); + + // Other non-thenables + } else { + + // Control `resolve` arguments by letting Array#slice cast boolean `noValue` to integer: + // * false: [ value ].slice( 0 ) => resolve( value ) + // * true: [ value ].slice( 1 ) => resolve() + resolve.apply( undefined, [ value ].slice( noValue ) ); + } + + // For Promises/A+, convert exceptions into rejections + // Since jQuery.when doesn't unwrap thenables, we can skip the extra checks appearing in + // Deferred#then to conditionally suppress rejection. + } catch ( value ) { + + // Support: Android 4.0 only + // Strict mode functions invoked without .call/.apply get global-object context + reject.apply( undefined, [ value ] ); + } +} + +jQuery.extend( { + + Deferred: function( func ) { + var tuples = [ + + // action, add listener, callbacks, + // ... .then handlers, argument index, [final state] + [ "notify", "progress", jQuery.Callbacks( "memory" ), + jQuery.Callbacks( "memory" ), 2 ], + [ "resolve", "done", jQuery.Callbacks( "once memory" ), + jQuery.Callbacks( "once memory" ), 0, "resolved" ], + [ "reject", "fail", jQuery.Callbacks( "once memory" ), + jQuery.Callbacks( "once memory" ), 1, "rejected" ] + ], + state = "pending", + promise = { + state: function() { + return state; + }, + always: function() { + deferred.done( arguments ).fail( arguments ); + return this; + }, + "catch": function( fn ) { + return promise.then( null, fn ); + }, + + // Keep pipe for back-compat + pipe: function( /* fnDone, fnFail, fnProgress */ ) { + var fns = arguments; + + return jQuery.Deferred( function( newDefer ) { + jQuery.each( tuples, function( i, tuple ) { + + // Map tuples (progress, done, fail) to arguments (done, fail, progress) + var fn = isFunction( fns[ tuple[ 4 ] ] ) && fns[ tuple[ 4 ] ]; + + // deferred.progress(function() { bind to newDefer or newDefer.notify }) + // deferred.done(function() { bind to newDefer or newDefer.resolve }) + // deferred.fail(function() { bind to newDefer or newDefer.reject }) + deferred[ tuple[ 1 ] ]( function() { + var returned = fn && fn.apply( this, arguments ); + if ( returned && isFunction( returned.promise ) ) { + returned.promise() + .progress( newDefer.notify ) + .done( newDefer.resolve ) + .fail( newDefer.reject ); + } else { + newDefer[ tuple[ 0 ] + "With" ]( + this, + fn ? [ returned ] : arguments + ); + } + } ); + } ); + fns = null; + } ).promise(); + }, + then: function( onFulfilled, onRejected, onProgress ) { + var maxDepth = 0; + function resolve( depth, deferred, handler, special ) { + return function() { + var that = this, + args = arguments, + mightThrow = function() { + var returned, then; + + // Support: Promises/A+ section 2.3.3.3.3 + // https://promisesaplus.com/#point-59 + // Ignore double-resolution attempts + if ( depth < maxDepth ) { + return; + } + + returned = handler.apply( that, args ); + + // Support: Promises/A+ section 2.3.1 + // https://promisesaplus.com/#point-48 + if ( returned === deferred.promise() ) { + throw new TypeError( "Thenable self-resolution" ); + } + + // Support: Promises/A+ sections 2.3.3.1, 3.5 + // https://promisesaplus.com/#point-54 + // https://promisesaplus.com/#point-75 + // Retrieve `then` only once + then = returned && + + // Support: Promises/A+ section 2.3.4 + // https://promisesaplus.com/#point-64 + // Only check objects and functions for thenability + ( typeof returned === "object" || + typeof returned === "function" ) && + returned.then; + + // Handle a returned thenable + if ( isFunction( then ) ) { + + // Special processors (notify) just wait for resolution + if ( special ) { + then.call( + returned, + resolve( maxDepth, deferred, Identity, special ), + resolve( maxDepth, deferred, Thrower, special ) + ); + + // Normal processors (resolve) also hook into progress + } else { + + // ...and disregard older resolution values + maxDepth++; + + then.call( + returned, + resolve( maxDepth, deferred, Identity, special ), + resolve( maxDepth, deferred, Thrower, special ), + resolve( maxDepth, deferred, Identity, + deferred.notifyWith ) + ); + } + + // Handle all other returned values + } else { + + // Only substitute handlers pass on context + // and multiple values (non-spec behavior) + if ( handler !== Identity ) { + that = undefined; + args = [ returned ]; + } + + // Process the value(s) + // Default process is resolve + ( special || deferred.resolveWith )( that, args ); + } + }, + + // Only normal processors (resolve) catch and reject exceptions + process = special ? + mightThrow : + function() { + try { + mightThrow(); + } catch ( e ) { + + if ( jQuery.Deferred.exceptionHook ) { + jQuery.Deferred.exceptionHook( e, + process.stackTrace ); + } + + // Support: Promises/A+ section 2.3.3.3.4.1 + // https://promisesaplus.com/#point-61 + // Ignore post-resolution exceptions + if ( depth + 1 >= maxDepth ) { + + // Only substitute handlers pass on context + // and multiple values (non-spec behavior) + if ( handler !== Thrower ) { + that = undefined; + args = [ e ]; + } + + deferred.rejectWith( that, args ); + } + } + }; + + // Support: Promises/A+ section 2.3.3.3.1 + // https://promisesaplus.com/#point-57 + // Re-resolve promises immediately to dodge false rejection from + // subsequent errors + if ( depth ) { + process(); + } else { + + // Call an optional hook to record the stack, in case of exception + // since it's otherwise lost when execution goes async + if ( jQuery.Deferred.getStackHook ) { + process.stackTrace = jQuery.Deferred.getStackHook(); + } + window.setTimeout( process ); + } + }; + } + + return jQuery.Deferred( function( newDefer ) { + + // progress_handlers.add( ... ) + tuples[ 0 ][ 3 ].add( + resolve( + 0, + newDefer, + isFunction( onProgress ) ? + onProgress : + Identity, + newDefer.notifyWith + ) + ); + + // fulfilled_handlers.add( ... ) + tuples[ 1 ][ 3 ].add( + resolve( + 0, + newDefer, + isFunction( onFulfilled ) ? + onFulfilled : + Identity + ) + ); + + // rejected_handlers.add( ... ) + tuples[ 2 ][ 3 ].add( + resolve( + 0, + newDefer, + isFunction( onRejected ) ? + onRejected : + Thrower + ) + ); + } ).promise(); + }, + + // Get a promise for this deferred + // If obj is provided, the promise aspect is added to the object + promise: function( obj ) { + return obj != null ? jQuery.extend( obj, promise ) : promise; + } + }, + deferred = {}; + + // Add list-specific methods + jQuery.each( tuples, function( i, tuple ) { + var list = tuple[ 2 ], + stateString = tuple[ 5 ]; + + // promise.progress = list.add + // promise.done = list.add + // promise.fail = list.add + promise[ tuple[ 1 ] ] = list.add; + + // Handle state + if ( stateString ) { + list.add( + function() { + + // state = "resolved" (i.e., fulfilled) + // state = "rejected" + state = stateString; + }, + + // rejected_callbacks.disable + // fulfilled_callbacks.disable + tuples[ 3 - i ][ 2 ].disable, + + // rejected_handlers.disable + // fulfilled_handlers.disable + tuples[ 3 - i ][ 3 ].disable, + + // progress_callbacks.lock + tuples[ 0 ][ 2 ].lock, + + // progress_handlers.lock + tuples[ 0 ][ 3 ].lock + ); + } + + // progress_handlers.fire + // fulfilled_handlers.fire + // rejected_handlers.fire + list.add( tuple[ 3 ].fire ); + + // deferred.notify = function() { deferred.notifyWith(...) } + // deferred.resolve = function() { deferred.resolveWith(...) } + // deferred.reject = function() { deferred.rejectWith(...) } + deferred[ tuple[ 0 ] ] = function() { + deferred[ tuple[ 0 ] + "With" ]( this === deferred ? undefined : this, arguments ); + return this; + }; + + // deferred.notifyWith = list.fireWith + // deferred.resolveWith = list.fireWith + // deferred.rejectWith = list.fireWith + deferred[ tuple[ 0 ] + "With" ] = list.fireWith; + } ); + + // Make the deferred a promise + promise.promise( deferred ); + + // Call given func if any + if ( func ) { + func.call( deferred, deferred ); + } + + // All done! + return deferred; + }, + + // Deferred helper + when: function( singleValue ) { + var + + // count of uncompleted subordinates + remaining = arguments.length, + + // count of unprocessed arguments + i = remaining, + + // subordinate fulfillment data + resolveContexts = Array( i ), + resolveValues = slice.call( arguments ), + + // the master Deferred + master = jQuery.Deferred(), + + // subordinate callback factory + updateFunc = function( i ) { + return function( value ) { + resolveContexts[ i ] = this; + resolveValues[ i ] = arguments.length > 1 ? slice.call( arguments ) : value; + if ( !( --remaining ) ) { + master.resolveWith( resolveContexts, resolveValues ); + } + }; + }; + + // Single- and empty arguments are adopted like Promise.resolve + if ( remaining <= 1 ) { + adoptValue( singleValue, master.done( updateFunc( i ) ).resolve, master.reject, + !remaining ); + + // Use .then() to unwrap secondary thenables (cf. gh-3000) + if ( master.state() === "pending" || + isFunction( resolveValues[ i ] && resolveValues[ i ].then ) ) { + + return master.then(); + } + } + + // Multiple arguments are aggregated like Promise.all array elements + while ( i-- ) { + adoptValue( resolveValues[ i ], updateFunc( i ), master.reject ); + } + + return master.promise(); + } +} ); + + +// These usually indicate a programmer mistake during development, +// warn about them ASAP rather than swallowing them by default. +var rerrorNames = /^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/; + +jQuery.Deferred.exceptionHook = function( error, stack ) { + + // Support: IE 8 - 9 only + // Console exists when dev tools are open, which can happen at any time + if ( window.console && window.console.warn && error && rerrorNames.test( error.name ) ) { + window.console.warn( "jQuery.Deferred exception: " + error.message, error.stack, stack ); + } +}; + + + + +jQuery.readyException = function( error ) { + window.setTimeout( function() { + throw error; + } ); +}; + + + + +// The deferred used on DOM ready +var readyList = jQuery.Deferred(); + +jQuery.fn.ready = function( fn ) { + + readyList + .then( fn ) + + // Wrap jQuery.readyException in a function so that the lookup + // happens at the time of error handling instead of callback + // registration. + .catch( function( error ) { + jQuery.readyException( error ); + } ); + + return this; +}; + +jQuery.extend( { + + // Is the DOM ready to be used? Set to true once it occurs. + isReady: false, + + // A counter to track how many items to wait for before + // the ready event fires. See #6781 + readyWait: 1, + + // Handle when the DOM is ready + ready: function( wait ) { + + // Abort if there are pending holds or we're already ready + if ( wait === true ? --jQuery.readyWait : jQuery.isReady ) { + return; + } + + // Remember that the DOM is ready + jQuery.isReady = true; + + // If a normal DOM Ready event fired, decrement, and wait if need be + if ( wait !== true && --jQuery.readyWait > 0 ) { + return; + } + + // If there are functions bound, to execute + readyList.resolveWith( document, [ jQuery ] ); + } +} ); + +jQuery.ready.then = readyList.then; + +// The ready event handler and self cleanup method +function completed() { + document.removeEventListener( "DOMContentLoaded", completed ); + window.removeEventListener( "load", completed ); + jQuery.ready(); +} + +// Catch cases where $(document).ready() is called +// after the browser event has already occurred. +// Support: IE <=9 - 10 only +// Older IE sometimes signals "interactive" too soon +if ( document.readyState === "complete" || + ( document.readyState !== "loading" && !document.documentElement.doScroll ) ) { + + // Handle it asynchronously to allow scripts the opportunity to delay ready + window.setTimeout( jQuery.ready ); + +} else { + + // Use the handy event callback + document.addEventListener( "DOMContentLoaded", completed ); + + // A fallback to window.onload, that will always work + window.addEventListener( "load", completed ); +} + + + + +// Multifunctional method to get and set values of a collection +// The value/s can optionally be executed if it's a function +var access = function( elems, fn, key, value, chainable, emptyGet, raw ) { + var i = 0, + len = elems.length, + bulk = key == null; + + // Sets many values + if ( toType( key ) === "object" ) { + chainable = true; + for ( i in key ) { + access( elems, fn, i, key[ i ], true, emptyGet, raw ); + } + + // Sets one value + } else if ( value !== undefined ) { + chainable = true; + + if ( !isFunction( value ) ) { + raw = true; + } + + if ( bulk ) { + + // Bulk operations run against the entire set + if ( raw ) { + fn.call( elems, value ); + fn = null; + + // ...except when executing function values + } else { + bulk = fn; + fn = function( elem, key, value ) { + return bulk.call( jQuery( elem ), value ); + }; + } + } + + if ( fn ) { + for ( ; i < len; i++ ) { + fn( + elems[ i ], key, raw ? + value : + value.call( elems[ i ], i, fn( elems[ i ], key ) ) + ); + } + } + } + + if ( chainable ) { + return elems; + } + + // Gets + if ( bulk ) { + return fn.call( elems ); + } + + return len ? fn( elems[ 0 ], key ) : emptyGet; +}; + + +// Matches dashed string for camelizing +var rmsPrefix = /^-ms-/, + rdashAlpha = /-([a-z])/g; + +// Used by camelCase as callback to replace() +function fcamelCase( all, letter ) { + return letter.toUpperCase(); +} + +// Convert dashed to camelCase; used by the css and data modules +// Support: IE <=9 - 11, Edge 12 - 15 +// Microsoft forgot to hump their vendor prefix (#9572) +function camelCase( string ) { + return string.replace( rmsPrefix, "ms-" ).replace( rdashAlpha, fcamelCase ); +} +var acceptData = function( owner ) { + + // Accepts only: + // - Node + // - Node.ELEMENT_NODE + // - Node.DOCUMENT_NODE + // - Object + // - Any + return owner.nodeType === 1 || owner.nodeType === 9 || !( +owner.nodeType ); +}; + + + + +function Data() { + this.expando = jQuery.expando + Data.uid++; +} + +Data.uid = 1; + +Data.prototype = { + + cache: function( owner ) { + + // Check if the owner object already has a cache + var value = owner[ this.expando ]; + + // If not, create one + if ( !value ) { + value = {}; + + // We can accept data for non-element nodes in modern browsers, + // but we should not, see #8335. + // Always return an empty object. + if ( acceptData( owner ) ) { + + // If it is a node unlikely to be stringify-ed or looped over + // use plain assignment + if ( owner.nodeType ) { + owner[ this.expando ] = value; + + // Otherwise secure it in a non-enumerable property + // configurable must be true to allow the property to be + // deleted when data is removed + } else { + Object.defineProperty( owner, this.expando, { + value: value, + configurable: true + } ); + } + } + } + + return value; + }, + set: function( owner, data, value ) { + var prop, + cache = this.cache( owner ); + + // Handle: [ owner, key, value ] args + // Always use camelCase key (gh-2257) + if ( typeof data === "string" ) { + cache[ camelCase( data ) ] = value; + + // Handle: [ owner, { properties } ] args + } else { + + // Copy the properties one-by-one to the cache object + for ( prop in data ) { + cache[ camelCase( prop ) ] = data[ prop ]; + } + } + return cache; + }, + get: function( owner, key ) { + return key === undefined ? + this.cache( owner ) : + + // Always use camelCase key (gh-2257) + owner[ this.expando ] && owner[ this.expando ][ camelCase( key ) ]; + }, + access: function( owner, key, value ) { + + // In cases where either: + // + // 1. No key was specified + // 2. A string key was specified, but no value provided + // + // Take the "read" path and allow the get method to determine + // which value to return, respectively either: + // + // 1. The entire cache object + // 2. The data stored at the key + // + if ( key === undefined || + ( ( key && typeof key === "string" ) && value === undefined ) ) { + + return this.get( owner, key ); + } + + // When the key is not a string, or both a key and value + // are specified, set or extend (existing objects) with either: + // + // 1. An object of properties + // 2. A key and value + // + this.set( owner, key, value ); + + // Since the "set" path can have two possible entry points + // return the expected data based on which path was taken[*] + return value !== undefined ? value : key; + }, + remove: function( owner, key ) { + var i, + cache = owner[ this.expando ]; + + if ( cache === undefined ) { + return; + } + + if ( key !== undefined ) { + + // Support array or space separated string of keys + if ( Array.isArray( key ) ) { + + // If key is an array of keys... + // We always set camelCase keys, so remove that. + key = key.map( camelCase ); + } else { + key = camelCase( key ); + + // If a key with the spaces exists, use it. + // Otherwise, create an array by matching non-whitespace + key = key in cache ? + [ key ] : + ( key.match( rnothtmlwhite ) || [] ); + } + + i = key.length; + + while ( i-- ) { + delete cache[ key[ i ] ]; + } + } + + // Remove the expando if there's no more data + if ( key === undefined || jQuery.isEmptyObject( cache ) ) { + + // Support: Chrome <=35 - 45 + // Webkit & Blink performance suffers when deleting properties + // from DOM nodes, so set to undefined instead + // https://bugs.chromium.org/p/chromium/issues/detail?id=378607 (bug restricted) + if ( owner.nodeType ) { + owner[ this.expando ] = undefined; + } else { + delete owner[ this.expando ]; + } + } + }, + hasData: function( owner ) { + var cache = owner[ this.expando ]; + return cache !== undefined && !jQuery.isEmptyObject( cache ); + } +}; +var dataPriv = new Data(); + +var dataUser = new Data(); + + + +// Implementation Summary +// +// 1. Enforce API surface and semantic compatibility with 1.9.x branch +// 2. Improve the module's maintainability by reducing the storage +// paths to a single mechanism. +// 3. Use the same single mechanism to support "private" and "user" data. +// 4. _Never_ expose "private" data to user code (TODO: Drop _data, _removeData) +// 5. Avoid exposing implementation details on user objects (eg. expando properties) +// 6. Provide a clear path for implementation upgrade to WeakMap in 2014 + +var rbrace = /^(?:\{[\w\W]*\}|\[[\w\W]*\])$/, + rmultiDash = /[A-Z]/g; + +function getData( data ) { + if ( data === "true" ) { + return true; + } + + if ( data === "false" ) { + return false; + } + + if ( data === "null" ) { + return null; + } + + // Only convert to a number if it doesn't change the string + if ( data === +data + "" ) { + return +data; + } + + if ( rbrace.test( data ) ) { + return JSON.parse( data ); + } + + return data; +} + +function dataAttr( elem, key, data ) { + var name; + + // If nothing was found internally, try to fetch any + // data from the HTML5 data-* attribute + if ( data === undefined && elem.nodeType === 1 ) { + name = "data-" + key.replace( rmultiDash, "-$&" ).toLowerCase(); + data = elem.getAttribute( name ); + + if ( typeof data === "string" ) { + try { + data = getData( data ); + } catch ( e ) {} + + // Make sure we set the data so it isn't changed later + dataUser.set( elem, key, data ); + } else { + data = undefined; + } + } + return data; +} + +jQuery.extend( { + hasData: function( elem ) { + return dataUser.hasData( elem ) || dataPriv.hasData( elem ); + }, + + data: function( elem, name, data ) { + return dataUser.access( elem, name, data ); + }, + + removeData: function( elem, name ) { + dataUser.remove( elem, name ); + }, + + // TODO: Now that all calls to _data and _removeData have been replaced + // with direct calls to dataPriv methods, these can be deprecated. + _data: function( elem, name, data ) { + return dataPriv.access( elem, name, data ); + }, + + _removeData: function( elem, name ) { + dataPriv.remove( elem, name ); + } +} ); + +jQuery.fn.extend( { + data: function( key, value ) { + var i, name, data, + elem = this[ 0 ], + attrs = elem && elem.attributes; + + // Gets all values + if ( key === undefined ) { + if ( this.length ) { + data = dataUser.get( elem ); + + if ( elem.nodeType === 1 && !dataPriv.get( elem, "hasDataAttrs" ) ) { + i = attrs.length; + while ( i-- ) { + + // Support: IE 11 only + // The attrs elements can be null (#14894) + if ( attrs[ i ] ) { + name = attrs[ i ].name; + if ( name.indexOf( "data-" ) === 0 ) { + name = camelCase( name.slice( 5 ) ); + dataAttr( elem, name, data[ name ] ); + } + } + } + dataPriv.set( elem, "hasDataAttrs", true ); + } + } + + return data; + } + + // Sets multiple values + if ( typeof key === "object" ) { + return this.each( function() { + dataUser.set( this, key ); + } ); + } + + return access( this, function( value ) { + var data; + + // The calling jQuery object (element matches) is not empty + // (and therefore has an element appears at this[ 0 ]) and the + // `value` parameter was not undefined. An empty jQuery object + // will result in `undefined` for elem = this[ 0 ] which will + // throw an exception if an attempt to read a data cache is made. + if ( elem && value === undefined ) { + + // Attempt to get data from the cache + // The key will always be camelCased in Data + data = dataUser.get( elem, key ); + if ( data !== undefined ) { + return data; + } + + // Attempt to "discover" the data in + // HTML5 custom data-* attrs + data = dataAttr( elem, key ); + if ( data !== undefined ) { + return data; + } + + // We tried really hard, but the data doesn't exist. + return; + } + + // Set the data... + this.each( function() { + + // We always store the camelCased key + dataUser.set( this, key, value ); + } ); + }, null, value, arguments.length > 1, null, true ); + }, + + removeData: function( key ) { + return this.each( function() { + dataUser.remove( this, key ); + } ); + } +} ); + + +jQuery.extend( { + queue: function( elem, type, data ) { + var queue; + + if ( elem ) { + type = ( type || "fx" ) + "queue"; + queue = dataPriv.get( elem, type ); + + // Speed up dequeue by getting out quickly if this is just a lookup + if ( data ) { + if ( !queue || Array.isArray( data ) ) { + queue = dataPriv.access( elem, type, jQuery.makeArray( data ) ); + } else { + queue.push( data ); + } + } + return queue || []; + } + }, + + dequeue: function( elem, type ) { + type = type || "fx"; + + var queue = jQuery.queue( elem, type ), + startLength = queue.length, + fn = queue.shift(), + hooks = jQuery._queueHooks( elem, type ), + next = function() { + jQuery.dequeue( elem, type ); + }; + + // If the fx queue is dequeued, always remove the progress sentinel + if ( fn === "inprogress" ) { + fn = queue.shift(); + startLength--; + } + + if ( fn ) { + + // Add a progress sentinel to prevent the fx queue from being + // automatically dequeued + if ( type === "fx" ) { + queue.unshift( "inprogress" ); + } + + // Clear up the last queue stop function + delete hooks.stop; + fn.call( elem, next, hooks ); + } + + if ( !startLength && hooks ) { + hooks.empty.fire(); + } + }, + + // Not public - generate a queueHooks object, or return the current one + _queueHooks: function( elem, type ) { + var key = type + "queueHooks"; + return dataPriv.get( elem, key ) || dataPriv.access( elem, key, { + empty: jQuery.Callbacks( "once memory" ).add( function() { + dataPriv.remove( elem, [ type + "queue", key ] ); + } ) + } ); + } +} ); + +jQuery.fn.extend( { + queue: function( type, data ) { + var setter = 2; + + if ( typeof type !== "string" ) { + data = type; + type = "fx"; + setter--; + } + + if ( arguments.length < setter ) { + return jQuery.queue( this[ 0 ], type ); + } + + return data === undefined ? + this : + this.each( function() { + var queue = jQuery.queue( this, type, data ); + + // Ensure a hooks for this queue + jQuery._queueHooks( this, type ); + + if ( type === "fx" && queue[ 0 ] !== "inprogress" ) { + jQuery.dequeue( this, type ); + } + } ); + }, + dequeue: function( type ) { + return this.each( function() { + jQuery.dequeue( this, type ); + } ); + }, + clearQueue: function( type ) { + return this.queue( type || "fx", [] ); + }, + + // Get a promise resolved when queues of a certain type + // are emptied (fx is the type by default) + promise: function( type, obj ) { + var tmp, + count = 1, + defer = jQuery.Deferred(), + elements = this, + i = this.length, + resolve = function() { + if ( !( --count ) ) { + defer.resolveWith( elements, [ elements ] ); + } + }; + + if ( typeof type !== "string" ) { + obj = type; + type = undefined; + } + type = type || "fx"; + + while ( i-- ) { + tmp = dataPriv.get( elements[ i ], type + "queueHooks" ); + if ( tmp && tmp.empty ) { + count++; + tmp.empty.add( resolve ); + } + } + resolve(); + return defer.promise( obj ); + } +} ); +var pnum = ( /[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/ ).source; + +var rcssNum = new RegExp( "^(?:([+-])=|)(" + pnum + ")([a-z%]*)$", "i" ); + + +var cssExpand = [ "Top", "Right", "Bottom", "Left" ]; + +var isHiddenWithinTree = function( elem, el ) { + + // isHiddenWithinTree might be called from jQuery#filter function; + // in that case, element will be second argument + elem = el || elem; + + // Inline style trumps all + return elem.style.display === "none" || + elem.style.display === "" && + + // Otherwise, check computed style + // Support: Firefox <=43 - 45 + // Disconnected elements can have computed display: none, so first confirm that elem is + // in the document. + jQuery.contains( elem.ownerDocument, elem ) && + + jQuery.css( elem, "display" ) === "none"; + }; + +var swap = function( elem, options, callback, args ) { + var ret, name, + old = {}; + + // Remember the old values, and insert the new ones + for ( name in options ) { + old[ name ] = elem.style[ name ]; + elem.style[ name ] = options[ name ]; + } + + ret = callback.apply( elem, args || [] ); + + // Revert the old values + for ( name in options ) { + elem.style[ name ] = old[ name ]; + } + + return ret; +}; + + + + +function adjustCSS( elem, prop, valueParts, tween ) { + var adjusted, scale, + maxIterations = 20, + currentValue = tween ? + function() { + return tween.cur(); + } : + function() { + return jQuery.css( elem, prop, "" ); + }, + initial = currentValue(), + unit = valueParts && valueParts[ 3 ] || ( jQuery.cssNumber[ prop ] ? "" : "px" ), + + // Starting value computation is required for potential unit mismatches + initialInUnit = ( jQuery.cssNumber[ prop ] || unit !== "px" && +initial ) && + rcssNum.exec( jQuery.css( elem, prop ) ); + + if ( initialInUnit && initialInUnit[ 3 ] !== unit ) { + + // Support: Firefox <=54 + // Halve the iteration target value to prevent interference from CSS upper bounds (gh-2144) + initial = initial / 2; + + // Trust units reported by jQuery.css + unit = unit || initialInUnit[ 3 ]; + + // Iteratively approximate from a nonzero starting point + initialInUnit = +initial || 1; + + while ( maxIterations-- ) { + + // Evaluate and update our best guess (doubling guesses that zero out). + // Finish if the scale equals or crosses 1 (making the old*new product non-positive). + jQuery.style( elem, prop, initialInUnit + unit ); + if ( ( 1 - scale ) * ( 1 - ( scale = currentValue() / initial || 0.5 ) ) <= 0 ) { + maxIterations = 0; + } + initialInUnit = initialInUnit / scale; + + } + + initialInUnit = initialInUnit * 2; + jQuery.style( elem, prop, initialInUnit + unit ); + + // Make sure we update the tween properties later on + valueParts = valueParts || []; + } + + if ( valueParts ) { + initialInUnit = +initialInUnit || +initial || 0; + + // Apply relative offset (+=/-=) if specified + adjusted = valueParts[ 1 ] ? + initialInUnit + ( valueParts[ 1 ] + 1 ) * valueParts[ 2 ] : + +valueParts[ 2 ]; + if ( tween ) { + tween.unit = unit; + tween.start = initialInUnit; + tween.end = adjusted; + } + } + return adjusted; +} + + +var defaultDisplayMap = {}; + +function getDefaultDisplay( elem ) { + var temp, + doc = elem.ownerDocument, + nodeName = elem.nodeName, + display = defaultDisplayMap[ nodeName ]; + + if ( display ) { + return display; + } + + temp = doc.body.appendChild( doc.createElement( nodeName ) ); + display = jQuery.css( temp, "display" ); + + temp.parentNode.removeChild( temp ); + + if ( display === "none" ) { + display = "block"; + } + defaultDisplayMap[ nodeName ] = display; + + return display; +} + +function showHide( elements, show ) { + var display, elem, + values = [], + index = 0, + length = elements.length; + + // Determine new display value for elements that need to change + for ( ; index < length; index++ ) { + elem = elements[ index ]; + if ( !elem.style ) { + continue; + } + + display = elem.style.display; + if ( show ) { + + // Since we force visibility upon cascade-hidden elements, an immediate (and slow) + // check is required in this first loop unless we have a nonempty display value (either + // inline or about-to-be-restored) + if ( display === "none" ) { + values[ index ] = dataPriv.get( elem, "display" ) || null; + if ( !values[ index ] ) { + elem.style.display = ""; + } + } + if ( elem.style.display === "" && isHiddenWithinTree( elem ) ) { + values[ index ] = getDefaultDisplay( elem ); + } + } else { + if ( display !== "none" ) { + values[ index ] = "none"; + + // Remember what we're overwriting + dataPriv.set( elem, "display", display ); + } + } + } + + // Set the display of the elements in a second loop to avoid constant reflow + for ( index = 0; index < length; index++ ) { + if ( values[ index ] != null ) { + elements[ index ].style.display = values[ index ]; + } + } + + return elements; +} + +jQuery.fn.extend( { + show: function() { + return showHide( this, true ); + }, + hide: function() { + return showHide( this ); + }, + toggle: function( state ) { + if ( typeof state === "boolean" ) { + return state ? this.show() : this.hide(); + } + + return this.each( function() { + if ( isHiddenWithinTree( this ) ) { + jQuery( this ).show(); + } else { + jQuery( this ).hide(); + } + } ); + } +} ); +var rcheckableType = ( /^(?:checkbox|radio)$/i ); + +var rtagName = ( /<([a-z][^\/\0>\x20\t\r\n\f]+)/i ); + +var rscriptType = ( /^$|^module$|\/(?:java|ecma)script/i ); + + + +// We have to close these tags to support XHTML (#13200) +var wrapMap = { + + // Support: IE <=9 only + option: [ 1, "" ], + + // XHTML parsers do not magically insert elements in the + // same way that tag soup parsers do. So we cannot shorten + // this by omitting or other required elements. + thead: [ 1, "", "
" ], + col: [ 2, "", "
" ], + tr: [ 2, "", "
" ], + td: [ 3, "", "
" ], + + _default: [ 0, "", "" ] +}; + +// Support: IE <=9 only +wrapMap.optgroup = wrapMap.option; + +wrapMap.tbody = wrapMap.tfoot = wrapMap.colgroup = wrapMap.caption = wrapMap.thead; +wrapMap.th = wrapMap.td; + + +function getAll( context, tag ) { + + // Support: IE <=9 - 11 only + // Use typeof to avoid zero-argument method invocation on host objects (#15151) + var ret; + + if ( typeof context.getElementsByTagName !== "undefined" ) { + ret = context.getElementsByTagName( tag || "*" ); + + } else if ( typeof context.querySelectorAll !== "undefined" ) { + ret = context.querySelectorAll( tag || "*" ); + + } else { + ret = []; + } + + if ( tag === undefined || tag && nodeName( context, tag ) ) { + return jQuery.merge( [ context ], ret ); + } + + return ret; +} + + +// Mark scripts as having already been evaluated +function setGlobalEval( elems, refElements ) { + var i = 0, + l = elems.length; + + for ( ; i < l; i++ ) { + dataPriv.set( + elems[ i ], + "globalEval", + !refElements || dataPriv.get( refElements[ i ], "globalEval" ) + ); + } +} + + +var rhtml = /<|&#?\w+;/; + +function buildFragment( elems, context, scripts, selection, ignored ) { + var elem, tmp, tag, wrap, contains, j, + fragment = context.createDocumentFragment(), + nodes = [], + i = 0, + l = elems.length; + + for ( ; i < l; i++ ) { + elem = elems[ i ]; + + if ( elem || elem === 0 ) { + + // Add nodes directly + if ( toType( elem ) === "object" ) { + + // Support: Android <=4.0 only, PhantomJS 1 only + // push.apply(_, arraylike) throws on ancient WebKit + jQuery.merge( nodes, elem.nodeType ? [ elem ] : elem ); + + // Convert non-html into a text node + } else if ( !rhtml.test( elem ) ) { + nodes.push( context.createTextNode( elem ) ); + + // Convert html into DOM nodes + } else { + tmp = tmp || fragment.appendChild( context.createElement( "div" ) ); + + // Deserialize a standard representation + tag = ( rtagName.exec( elem ) || [ "", "" ] )[ 1 ].toLowerCase(); + wrap = wrapMap[ tag ] || wrapMap._default; + tmp.innerHTML = wrap[ 1 ] + jQuery.htmlPrefilter( elem ) + wrap[ 2 ]; + + // Descend through wrappers to the right content + j = wrap[ 0 ]; + while ( j-- ) { + tmp = tmp.lastChild; + } + + // Support: Android <=4.0 only, PhantomJS 1 only + // push.apply(_, arraylike) throws on ancient WebKit + jQuery.merge( nodes, tmp.childNodes ); + + // Remember the top-level container + tmp = fragment.firstChild; + + // Ensure the created nodes are orphaned (#12392) + tmp.textContent = ""; + } + } + } + + // Remove wrapper from fragment + fragment.textContent = ""; + + i = 0; + while ( ( elem = nodes[ i++ ] ) ) { + + // Skip elements already in the context collection (trac-4087) + if ( selection && jQuery.inArray( elem, selection ) > -1 ) { + if ( ignored ) { + ignored.push( elem ); + } + continue; + } + + contains = jQuery.contains( elem.ownerDocument, elem ); + + // Append to fragment + tmp = getAll( fragment.appendChild( elem ), "script" ); + + // Preserve script evaluation history + if ( contains ) { + setGlobalEval( tmp ); + } + + // Capture executables + if ( scripts ) { + j = 0; + while ( ( elem = tmp[ j++ ] ) ) { + if ( rscriptType.test( elem.type || "" ) ) { + scripts.push( elem ); + } + } + } + } + + return fragment; +} + + +( function() { + var fragment = document.createDocumentFragment(), + div = fragment.appendChild( document.createElement( "div" ) ), + input = document.createElement( "input" ); + + // Support: Android 4.0 - 4.3 only + // Check state lost if the name is set (#11217) + // Support: Windows Web Apps (WWA) + // `name` and `type` must use .setAttribute for WWA (#14901) + input.setAttribute( "type", "radio" ); + input.setAttribute( "checked", "checked" ); + input.setAttribute( "name", "t" ); + + div.appendChild( input ); + + // Support: Android <=4.1 only + // Older WebKit doesn't clone checked state correctly in fragments + support.checkClone = div.cloneNode( true ).cloneNode( true ).lastChild.checked; + + // Support: IE <=11 only + // Make sure textarea (and checkbox) defaultValue is properly cloned + div.innerHTML = ""; + support.noCloneChecked = !!div.cloneNode( true ).lastChild.defaultValue; +} )(); +var documentElement = document.documentElement; + + + +var + rkeyEvent = /^key/, + rmouseEvent = /^(?:mouse|pointer|contextmenu|drag|drop)|click/, + rtypenamespace = /^([^.]*)(?:\.(.+)|)/; + +function returnTrue() { + return true; +} + +function returnFalse() { + return false; +} + +// Support: IE <=9 only +// See #13393 for more info +function safeActiveElement() { + try { + return document.activeElement; + } catch ( err ) { } +} + +function on( elem, types, selector, data, fn, one ) { + var origFn, type; + + // Types can be a map of types/handlers + if ( typeof types === "object" ) { + + // ( types-Object, selector, data ) + if ( typeof selector !== "string" ) { + + // ( types-Object, data ) + data = data || selector; + selector = undefined; + } + for ( type in types ) { + on( elem, type, selector, data, types[ type ], one ); + } + return elem; + } + + if ( data == null && fn == null ) { + + // ( types, fn ) + fn = selector; + data = selector = undefined; + } else if ( fn == null ) { + if ( typeof selector === "string" ) { + + // ( types, selector, fn ) + fn = data; + data = undefined; + } else { + + // ( types, data, fn ) + fn = data; + data = selector; + selector = undefined; + } + } + if ( fn === false ) { + fn = returnFalse; + } else if ( !fn ) { + return elem; + } + + if ( one === 1 ) { + origFn = fn; + fn = function( event ) { + + // Can use an empty set, since event contains the info + jQuery().off( event ); + return origFn.apply( this, arguments ); + }; + + // Use same guid so caller can remove using origFn + fn.guid = origFn.guid || ( origFn.guid = jQuery.guid++ ); + } + return elem.each( function() { + jQuery.event.add( this, types, fn, data, selector ); + } ); +} + +/* + * Helper functions for managing events -- not part of the public interface. + * Props to Dean Edwards' addEvent library for many of the ideas. + */ +jQuery.event = { + + global: {}, + + add: function( elem, types, handler, data, selector ) { + + var handleObjIn, eventHandle, tmp, + events, t, handleObj, + special, handlers, type, namespaces, origType, + elemData = dataPriv.get( elem ); + + // Don't attach events to noData or text/comment nodes (but allow plain objects) + if ( !elemData ) { + return; + } + + // Caller can pass in an object of custom data in lieu of the handler + if ( handler.handler ) { + handleObjIn = handler; + handler = handleObjIn.handler; + selector = handleObjIn.selector; + } + + // Ensure that invalid selectors throw exceptions at attach time + // Evaluate against documentElement in case elem is a non-element node (e.g., document) + if ( selector ) { + jQuery.find.matchesSelector( documentElement, selector ); + } + + // Make sure that the handler has a unique ID, used to find/remove it later + if ( !handler.guid ) { + handler.guid = jQuery.guid++; + } + + // Init the element's event structure and main handler, if this is the first + if ( !( events = elemData.events ) ) { + events = elemData.events = {}; + } + if ( !( eventHandle = elemData.handle ) ) { + eventHandle = elemData.handle = function( e ) { + + // Discard the second event of a jQuery.event.trigger() and + // when an event is called after a page has unloaded + return typeof jQuery !== "undefined" && jQuery.event.triggered !== e.type ? + jQuery.event.dispatch.apply( elem, arguments ) : undefined; + }; + } + + // Handle multiple events separated by a space + types = ( types || "" ).match( rnothtmlwhite ) || [ "" ]; + t = types.length; + while ( t-- ) { + tmp = rtypenamespace.exec( types[ t ] ) || []; + type = origType = tmp[ 1 ]; + namespaces = ( tmp[ 2 ] || "" ).split( "." ).sort(); + + // There *must* be a type, no attaching namespace-only handlers + if ( !type ) { + continue; + } + + // If event changes its type, use the special event handlers for the changed type + special = jQuery.event.special[ type ] || {}; + + // If selector defined, determine special event api type, otherwise given type + type = ( selector ? special.delegateType : special.bindType ) || type; + + // Update special based on newly reset type + special = jQuery.event.special[ type ] || {}; + + // handleObj is passed to all event handlers + handleObj = jQuery.extend( { + type: type, + origType: origType, + data: data, + handler: handler, + guid: handler.guid, + selector: selector, + needsContext: selector && jQuery.expr.match.needsContext.test( selector ), + namespace: namespaces.join( "." ) + }, handleObjIn ); + + // Init the event handler queue if we're the first + if ( !( handlers = events[ type ] ) ) { + handlers = events[ type ] = []; + handlers.delegateCount = 0; + + // Only use addEventListener if the special events handler returns false + if ( !special.setup || + special.setup.call( elem, data, namespaces, eventHandle ) === false ) { + + if ( elem.addEventListener ) { + elem.addEventListener( type, eventHandle ); + } + } + } + + if ( special.add ) { + special.add.call( elem, handleObj ); + + if ( !handleObj.handler.guid ) { + handleObj.handler.guid = handler.guid; + } + } + + // Add to the element's handler list, delegates in front + if ( selector ) { + handlers.splice( handlers.delegateCount++, 0, handleObj ); + } else { + handlers.push( handleObj ); + } + + // Keep track of which events have ever been used, for event optimization + jQuery.event.global[ type ] = true; + } + + }, + + // Detach an event or set of events from an element + remove: function( elem, types, handler, selector, mappedTypes ) { + + var j, origCount, tmp, + events, t, handleObj, + special, handlers, type, namespaces, origType, + elemData = dataPriv.hasData( elem ) && dataPriv.get( elem ); + + if ( !elemData || !( events = elemData.events ) ) { + return; + } + + // Once for each type.namespace in types; type may be omitted + types = ( types || "" ).match( rnothtmlwhite ) || [ "" ]; + t = types.length; + while ( t-- ) { + tmp = rtypenamespace.exec( types[ t ] ) || []; + type = origType = tmp[ 1 ]; + namespaces = ( tmp[ 2 ] || "" ).split( "." ).sort(); + + // Unbind all events (on this namespace, if provided) for the element + if ( !type ) { + for ( type in events ) { + jQuery.event.remove( elem, type + types[ t ], handler, selector, true ); + } + continue; + } + + special = jQuery.event.special[ type ] || {}; + type = ( selector ? special.delegateType : special.bindType ) || type; + handlers = events[ type ] || []; + tmp = tmp[ 2 ] && + new RegExp( "(^|\\.)" + namespaces.join( "\\.(?:.*\\.|)" ) + "(\\.|$)" ); + + // Remove matching events + origCount = j = handlers.length; + while ( j-- ) { + handleObj = handlers[ j ]; + + if ( ( mappedTypes || origType === handleObj.origType ) && + ( !handler || handler.guid === handleObj.guid ) && + ( !tmp || tmp.test( handleObj.namespace ) ) && + ( !selector || selector === handleObj.selector || + selector === "**" && handleObj.selector ) ) { + handlers.splice( j, 1 ); + + if ( handleObj.selector ) { + handlers.delegateCount--; + } + if ( special.remove ) { + special.remove.call( elem, handleObj ); + } + } + } + + // Remove generic event handler if we removed something and no more handlers exist + // (avoids potential for endless recursion during removal of special event handlers) + if ( origCount && !handlers.length ) { + if ( !special.teardown || + special.teardown.call( elem, namespaces, elemData.handle ) === false ) { + + jQuery.removeEvent( elem, type, elemData.handle ); + } + + delete events[ type ]; + } + } + + // Remove data and the expando if it's no longer used + if ( jQuery.isEmptyObject( events ) ) { + dataPriv.remove( elem, "handle events" ); + } + }, + + dispatch: function( nativeEvent ) { + + // Make a writable jQuery.Event from the native event object + var event = jQuery.event.fix( nativeEvent ); + + var i, j, ret, matched, handleObj, handlerQueue, + args = new Array( arguments.length ), + handlers = ( dataPriv.get( this, "events" ) || {} )[ event.type ] || [], + special = jQuery.event.special[ event.type ] || {}; + + // Use the fix-ed jQuery.Event rather than the (read-only) native event + args[ 0 ] = event; + + for ( i = 1; i < arguments.length; i++ ) { + args[ i ] = arguments[ i ]; + } + + event.delegateTarget = this; + + // Call the preDispatch hook for the mapped type, and let it bail if desired + if ( special.preDispatch && special.preDispatch.call( this, event ) === false ) { + return; + } + + // Determine handlers + handlerQueue = jQuery.event.handlers.call( this, event, handlers ); + + // Run delegates first; they may want to stop propagation beneath us + i = 0; + while ( ( matched = handlerQueue[ i++ ] ) && !event.isPropagationStopped() ) { + event.currentTarget = matched.elem; + + j = 0; + while ( ( handleObj = matched.handlers[ j++ ] ) && + !event.isImmediatePropagationStopped() ) { + + // Triggered event must either 1) have no namespace, or 2) have namespace(s) + // a subset or equal to those in the bound event (both can have no namespace). + if ( !event.rnamespace || event.rnamespace.test( handleObj.namespace ) ) { + + event.handleObj = handleObj; + event.data = handleObj.data; + + ret = ( ( jQuery.event.special[ handleObj.origType ] || {} ).handle || + handleObj.handler ).apply( matched.elem, args ); + + if ( ret !== undefined ) { + if ( ( event.result = ret ) === false ) { + event.preventDefault(); + event.stopPropagation(); + } + } + } + } + } + + // Call the postDispatch hook for the mapped type + if ( special.postDispatch ) { + special.postDispatch.call( this, event ); + } + + return event.result; + }, + + handlers: function( event, handlers ) { + var i, handleObj, sel, matchedHandlers, matchedSelectors, + handlerQueue = [], + delegateCount = handlers.delegateCount, + cur = event.target; + + // Find delegate handlers + if ( delegateCount && + + // Support: IE <=9 + // Black-hole SVG instance trees (trac-13180) + cur.nodeType && + + // Support: Firefox <=42 + // Suppress spec-violating clicks indicating a non-primary pointer button (trac-3861) + // https://www.w3.org/TR/DOM-Level-3-Events/#event-type-click + // Support: IE 11 only + // ...but not arrow key "clicks" of radio inputs, which can have `button` -1 (gh-2343) + !( event.type === "click" && event.button >= 1 ) ) { + + for ( ; cur !== this; cur = cur.parentNode || this ) { + + // Don't check non-elements (#13208) + // Don't process clicks on disabled elements (#6911, #8165, #11382, #11764) + if ( cur.nodeType === 1 && !( event.type === "click" && cur.disabled === true ) ) { + matchedHandlers = []; + matchedSelectors = {}; + for ( i = 0; i < delegateCount; i++ ) { + handleObj = handlers[ i ]; + + // Don't conflict with Object.prototype properties (#13203) + sel = handleObj.selector + " "; + + if ( matchedSelectors[ sel ] === undefined ) { + matchedSelectors[ sel ] = handleObj.needsContext ? + jQuery( sel, this ).index( cur ) > -1 : + jQuery.find( sel, this, null, [ cur ] ).length; + } + if ( matchedSelectors[ sel ] ) { + matchedHandlers.push( handleObj ); + } + } + if ( matchedHandlers.length ) { + handlerQueue.push( { elem: cur, handlers: matchedHandlers } ); + } + } + } + } + + // Add the remaining (directly-bound) handlers + cur = this; + if ( delegateCount < handlers.length ) { + handlerQueue.push( { elem: cur, handlers: handlers.slice( delegateCount ) } ); + } + + return handlerQueue; + }, + + addProp: function( name, hook ) { + Object.defineProperty( jQuery.Event.prototype, name, { + enumerable: true, + configurable: true, + + get: isFunction( hook ) ? + function() { + if ( this.originalEvent ) { + return hook( this.originalEvent ); + } + } : + function() { + if ( this.originalEvent ) { + return this.originalEvent[ name ]; + } + }, + + set: function( value ) { + Object.defineProperty( this, name, { + enumerable: true, + configurable: true, + writable: true, + value: value + } ); + } + } ); + }, + + fix: function( originalEvent ) { + return originalEvent[ jQuery.expando ] ? + originalEvent : + new jQuery.Event( originalEvent ); + }, + + special: { + load: { + + // Prevent triggered image.load events from bubbling to window.load + noBubble: true + }, + focus: { + + // Fire native event if possible so blur/focus sequence is correct + trigger: function() { + if ( this !== safeActiveElement() && this.focus ) { + this.focus(); + return false; + } + }, + delegateType: "focusin" + }, + blur: { + trigger: function() { + if ( this === safeActiveElement() && this.blur ) { + this.blur(); + return false; + } + }, + delegateType: "focusout" + }, + click: { + + // For checkbox, fire native event so checked state will be right + trigger: function() { + if ( this.type === "checkbox" && this.click && nodeName( this, "input" ) ) { + this.click(); + return false; + } + }, + + // For cross-browser consistency, don't fire native .click() on links + _default: function( event ) { + return nodeName( event.target, "a" ); + } + }, + + beforeunload: { + postDispatch: function( event ) { + + // Support: Firefox 20+ + // Firefox doesn't alert if the returnValue field is not set. + if ( event.result !== undefined && event.originalEvent ) { + event.originalEvent.returnValue = event.result; + } + } + } + } +}; + +jQuery.removeEvent = function( elem, type, handle ) { + + // This "if" is needed for plain objects + if ( elem.removeEventListener ) { + elem.removeEventListener( type, handle ); + } +}; + +jQuery.Event = function( src, props ) { + + // Allow instantiation without the 'new' keyword + if ( !( this instanceof jQuery.Event ) ) { + return new jQuery.Event( src, props ); + } + + // Event object + if ( src && src.type ) { + this.originalEvent = src; + this.type = src.type; + + // Events bubbling up the document may have been marked as prevented + // by a handler lower down the tree; reflect the correct value. + this.isDefaultPrevented = src.defaultPrevented || + src.defaultPrevented === undefined && + + // Support: Android <=2.3 only + src.returnValue === false ? + returnTrue : + returnFalse; + + // Create target properties + // Support: Safari <=6 - 7 only + // Target should not be a text node (#504, #13143) + this.target = ( src.target && src.target.nodeType === 3 ) ? + src.target.parentNode : + src.target; + + this.currentTarget = src.currentTarget; + this.relatedTarget = src.relatedTarget; + + // Event type + } else { + this.type = src; + } + + // Put explicitly provided properties onto the event object + if ( props ) { + jQuery.extend( this, props ); + } + + // Create a timestamp if incoming event doesn't have one + this.timeStamp = src && src.timeStamp || Date.now(); + + // Mark it as fixed + this[ jQuery.expando ] = true; +}; + +// jQuery.Event is based on DOM3 Events as specified by the ECMAScript Language Binding +// https://www.w3.org/TR/2003/WD-DOM-Level-3-Events-20030331/ecma-script-binding.html +jQuery.Event.prototype = { + constructor: jQuery.Event, + isDefaultPrevented: returnFalse, + isPropagationStopped: returnFalse, + isImmediatePropagationStopped: returnFalse, + isSimulated: false, + + preventDefault: function() { + var e = this.originalEvent; + + this.isDefaultPrevented = returnTrue; + + if ( e && !this.isSimulated ) { + e.preventDefault(); + } + }, + stopPropagation: function() { + var e = this.originalEvent; + + this.isPropagationStopped = returnTrue; + + if ( e && !this.isSimulated ) { + e.stopPropagation(); + } + }, + stopImmediatePropagation: function() { + var e = this.originalEvent; + + this.isImmediatePropagationStopped = returnTrue; + + if ( e && !this.isSimulated ) { + e.stopImmediatePropagation(); + } + + this.stopPropagation(); + } +}; + +// Includes all common event props including KeyEvent and MouseEvent specific props +jQuery.each( { + altKey: true, + bubbles: true, + cancelable: true, + changedTouches: true, + ctrlKey: true, + detail: true, + eventPhase: true, + metaKey: true, + pageX: true, + pageY: true, + shiftKey: true, + view: true, + "char": true, + charCode: true, + key: true, + keyCode: true, + button: true, + buttons: true, + clientX: true, + clientY: true, + offsetX: true, + offsetY: true, + pointerId: true, + pointerType: true, + screenX: true, + screenY: true, + targetTouches: true, + toElement: true, + touches: true, + + which: function( event ) { + var button = event.button; + + // Add which for key events + if ( event.which == null && rkeyEvent.test( event.type ) ) { + return event.charCode != null ? event.charCode : event.keyCode; + } + + // Add which for click: 1 === left; 2 === middle; 3 === right + if ( !event.which && button !== undefined && rmouseEvent.test( event.type ) ) { + if ( button & 1 ) { + return 1; + } + + if ( button & 2 ) { + return 3; + } + + if ( button & 4 ) { + return 2; + } + + return 0; + } + + return event.which; + } +}, jQuery.event.addProp ); + +// Create mouseenter/leave events using mouseover/out and event-time checks +// so that event delegation works in jQuery. +// Do the same for pointerenter/pointerleave and pointerover/pointerout +// +// Support: Safari 7 only +// Safari sends mouseenter too often; see: +// https://bugs.chromium.org/p/chromium/issues/detail?id=470258 +// for the description of the bug (it existed in older Chrome versions as well). +jQuery.each( { + mouseenter: "mouseover", + mouseleave: "mouseout", + pointerenter: "pointerover", + pointerleave: "pointerout" +}, function( orig, fix ) { + jQuery.event.special[ orig ] = { + delegateType: fix, + bindType: fix, + + handle: function( event ) { + var ret, + target = this, + related = event.relatedTarget, + handleObj = event.handleObj; + + // For mouseenter/leave call the handler if related is outside the target. + // NB: No relatedTarget if the mouse left/entered the browser window + if ( !related || ( related !== target && !jQuery.contains( target, related ) ) ) { + event.type = handleObj.origType; + ret = handleObj.handler.apply( this, arguments ); + event.type = fix; + } + return ret; + } + }; +} ); + +jQuery.fn.extend( { + + on: function( types, selector, data, fn ) { + return on( this, types, selector, data, fn ); + }, + one: function( types, selector, data, fn ) { + return on( this, types, selector, data, fn, 1 ); + }, + off: function( types, selector, fn ) { + var handleObj, type; + if ( types && types.preventDefault && types.handleObj ) { + + // ( event ) dispatched jQuery.Event + handleObj = types.handleObj; + jQuery( types.delegateTarget ).off( + handleObj.namespace ? + handleObj.origType + "." + handleObj.namespace : + handleObj.origType, + handleObj.selector, + handleObj.handler + ); + return this; + } + if ( typeof types === "object" ) { + + // ( types-object [, selector] ) + for ( type in types ) { + this.off( type, selector, types[ type ] ); + } + return this; + } + if ( selector === false || typeof selector === "function" ) { + + // ( types [, fn] ) + fn = selector; + selector = undefined; + } + if ( fn === false ) { + fn = returnFalse; + } + return this.each( function() { + jQuery.event.remove( this, types, fn, selector ); + } ); + } +} ); + + +var + + /* eslint-disable max-len */ + + // See https://github.com/eslint/eslint/issues/3229 + rxhtmlTag = /<(?!area|br|col|embed|hr|img|input|link|meta|param)(([a-z][^\/\0>\x20\t\r\n\f]*)[^>]*)\/>/gi, + + /* eslint-enable */ + + // Support: IE <=10 - 11, Edge 12 - 13 only + // In IE/Edge using regex groups here causes severe slowdowns. + // See https://connect.microsoft.com/IE/feedback/details/1736512/ + rnoInnerhtml = /\s*$/g; + +// Prefer a tbody over its parent table for containing new rows +function manipulationTarget( elem, content ) { + if ( nodeName( elem, "table" ) && + nodeName( content.nodeType !== 11 ? content : content.firstChild, "tr" ) ) { + + return jQuery( elem ).children( "tbody" )[ 0 ] || elem; + } + + return elem; +} + +// Replace/restore the type attribute of script elements for safe DOM manipulation +function disableScript( elem ) { + elem.type = ( elem.getAttribute( "type" ) !== null ) + "/" + elem.type; + return elem; +} +function restoreScript( elem ) { + if ( ( elem.type || "" ).slice( 0, 5 ) === "true/" ) { + elem.type = elem.type.slice( 5 ); + } else { + elem.removeAttribute( "type" ); + } + + return elem; +} + +function cloneCopyEvent( src, dest ) { + var i, l, type, pdataOld, pdataCur, udataOld, udataCur, events; + + if ( dest.nodeType !== 1 ) { + return; + } + + // 1. Copy private data: events, handlers, etc. + if ( dataPriv.hasData( src ) ) { + pdataOld = dataPriv.access( src ); + pdataCur = dataPriv.set( dest, pdataOld ); + events = pdataOld.events; + + if ( events ) { + delete pdataCur.handle; + pdataCur.events = {}; + + for ( type in events ) { + for ( i = 0, l = events[ type ].length; i < l; i++ ) { + jQuery.event.add( dest, type, events[ type ][ i ] ); + } + } + } + } + + // 2. Copy user data + if ( dataUser.hasData( src ) ) { + udataOld = dataUser.access( src ); + udataCur = jQuery.extend( {}, udataOld ); + + dataUser.set( dest, udataCur ); + } +} + +// Fix IE bugs, see support tests +function fixInput( src, dest ) { + var nodeName = dest.nodeName.toLowerCase(); + + // Fails to persist the checked state of a cloned checkbox or radio button. + if ( nodeName === "input" && rcheckableType.test( src.type ) ) { + dest.checked = src.checked; + + // Fails to return the selected option to the default selected state when cloning options + } else if ( nodeName === "input" || nodeName === "textarea" ) { + dest.defaultValue = src.defaultValue; + } +} + +function domManip( collection, args, callback, ignored ) { + + // Flatten any nested arrays + args = concat.apply( [], args ); + + var fragment, first, scripts, hasScripts, node, doc, + i = 0, + l = collection.length, + iNoClone = l - 1, + value = args[ 0 ], + valueIsFunction = isFunction( value ); + + // We can't cloneNode fragments that contain checked, in WebKit + if ( valueIsFunction || + ( l > 1 && typeof value === "string" && + !support.checkClone && rchecked.test( value ) ) ) { + return collection.each( function( index ) { + var self = collection.eq( index ); + if ( valueIsFunction ) { + args[ 0 ] = value.call( this, index, self.html() ); + } + domManip( self, args, callback, ignored ); + } ); + } + + if ( l ) { + fragment = buildFragment( args, collection[ 0 ].ownerDocument, false, collection, ignored ); + first = fragment.firstChild; + + if ( fragment.childNodes.length === 1 ) { + fragment = first; + } + + // Require either new content or an interest in ignored elements to invoke the callback + if ( first || ignored ) { + scripts = jQuery.map( getAll( fragment, "script" ), disableScript ); + hasScripts = scripts.length; + + // Use the original fragment for the last item + // instead of the first because it can end up + // being emptied incorrectly in certain situations (#8070). + for ( ; i < l; i++ ) { + node = fragment; + + if ( i !== iNoClone ) { + node = jQuery.clone( node, true, true ); + + // Keep references to cloned scripts for later restoration + if ( hasScripts ) { + + // Support: Android <=4.0 only, PhantomJS 1 only + // push.apply(_, arraylike) throws on ancient WebKit + jQuery.merge( scripts, getAll( node, "script" ) ); + } + } + + callback.call( collection[ i ], node, i ); + } + + if ( hasScripts ) { + doc = scripts[ scripts.length - 1 ].ownerDocument; + + // Reenable scripts + jQuery.map( scripts, restoreScript ); + + // Evaluate executable scripts on first document insertion + for ( i = 0; i < hasScripts; i++ ) { + node = scripts[ i ]; + if ( rscriptType.test( node.type || "" ) && + !dataPriv.access( node, "globalEval" ) && + jQuery.contains( doc, node ) ) { + + if ( node.src && ( node.type || "" ).toLowerCase() !== "module" ) { + + // Optional AJAX dependency, but won't run scripts if not present + if ( jQuery._evalUrl ) { + jQuery._evalUrl( node.src ); + } + } else { + DOMEval( node.textContent.replace( rcleanScript, "" ), doc, node ); + } + } + } + } + } + } + + return collection; +} + +function remove( elem, selector, keepData ) { + var node, + nodes = selector ? jQuery.filter( selector, elem ) : elem, + i = 0; + + for ( ; ( node = nodes[ i ] ) != null; i++ ) { + if ( !keepData && node.nodeType === 1 ) { + jQuery.cleanData( getAll( node ) ); + } + + if ( node.parentNode ) { + if ( keepData && jQuery.contains( node.ownerDocument, node ) ) { + setGlobalEval( getAll( node, "script" ) ); + } + node.parentNode.removeChild( node ); + } + } + + return elem; +} + +jQuery.extend( { + htmlPrefilter: function( html ) { + return html.replace( rxhtmlTag, "<$1>" ); + }, + + clone: function( elem, dataAndEvents, deepDataAndEvents ) { + var i, l, srcElements, destElements, + clone = elem.cloneNode( true ), + inPage = jQuery.contains( elem.ownerDocument, elem ); + + // Fix IE cloning issues + if ( !support.noCloneChecked && ( elem.nodeType === 1 || elem.nodeType === 11 ) && + !jQuery.isXMLDoc( elem ) ) { + + // We eschew Sizzle here for performance reasons: https://jsperf.com/getall-vs-sizzle/2 + destElements = getAll( clone ); + srcElements = getAll( elem ); + + for ( i = 0, l = srcElements.length; i < l; i++ ) { + fixInput( srcElements[ i ], destElements[ i ] ); + } + } + + // Copy the events from the original to the clone + if ( dataAndEvents ) { + if ( deepDataAndEvents ) { + srcElements = srcElements || getAll( elem ); + destElements = destElements || getAll( clone ); + + for ( i = 0, l = srcElements.length; i < l; i++ ) { + cloneCopyEvent( srcElements[ i ], destElements[ i ] ); + } + } else { + cloneCopyEvent( elem, clone ); + } + } + + // Preserve script evaluation history + destElements = getAll( clone, "script" ); + if ( destElements.length > 0 ) { + setGlobalEval( destElements, !inPage && getAll( elem, "script" ) ); + } + + // Return the cloned set + return clone; + }, + + cleanData: function( elems ) { + var data, elem, type, + special = jQuery.event.special, + i = 0; + + for ( ; ( elem = elems[ i ] ) !== undefined; i++ ) { + if ( acceptData( elem ) ) { + if ( ( data = elem[ dataPriv.expando ] ) ) { + if ( data.events ) { + for ( type in data.events ) { + if ( special[ type ] ) { + jQuery.event.remove( elem, type ); + + // This is a shortcut to avoid jQuery.event.remove's overhead + } else { + jQuery.removeEvent( elem, type, data.handle ); + } + } + } + + // Support: Chrome <=35 - 45+ + // Assign undefined instead of using delete, see Data#remove + elem[ dataPriv.expando ] = undefined; + } + if ( elem[ dataUser.expando ] ) { + + // Support: Chrome <=35 - 45+ + // Assign undefined instead of using delete, see Data#remove + elem[ dataUser.expando ] = undefined; + } + } + } + } +} ); + +jQuery.fn.extend( { + detach: function( selector ) { + return remove( this, selector, true ); + }, + + remove: function( selector ) { + return remove( this, selector ); + }, + + text: function( value ) { + return access( this, function( value ) { + return value === undefined ? + jQuery.text( this ) : + this.empty().each( function() { + if ( this.nodeType === 1 || this.nodeType === 11 || this.nodeType === 9 ) { + this.textContent = value; + } + } ); + }, null, value, arguments.length ); + }, + + append: function() { + return domManip( this, arguments, function( elem ) { + if ( this.nodeType === 1 || this.nodeType === 11 || this.nodeType === 9 ) { + var target = manipulationTarget( this, elem ); + target.appendChild( elem ); + } + } ); + }, + + prepend: function() { + return domManip( this, arguments, function( elem ) { + if ( this.nodeType === 1 || this.nodeType === 11 || this.nodeType === 9 ) { + var target = manipulationTarget( this, elem ); + target.insertBefore( elem, target.firstChild ); + } + } ); + }, + + before: function() { + return domManip( this, arguments, function( elem ) { + if ( this.parentNode ) { + this.parentNode.insertBefore( elem, this ); + } + } ); + }, + + after: function() { + return domManip( this, arguments, function( elem ) { + if ( this.parentNode ) { + this.parentNode.insertBefore( elem, this.nextSibling ); + } + } ); + }, + + empty: function() { + var elem, + i = 0; + + for ( ; ( elem = this[ i ] ) != null; i++ ) { + if ( elem.nodeType === 1 ) { + + // Prevent memory leaks + jQuery.cleanData( getAll( elem, false ) ); + + // Remove any remaining nodes + elem.textContent = ""; + } + } + + return this; + }, + + clone: function( dataAndEvents, deepDataAndEvents ) { + dataAndEvents = dataAndEvents == null ? false : dataAndEvents; + deepDataAndEvents = deepDataAndEvents == null ? dataAndEvents : deepDataAndEvents; + + return this.map( function() { + return jQuery.clone( this, dataAndEvents, deepDataAndEvents ); + } ); + }, + + html: function( value ) { + return access( this, function( value ) { + var elem = this[ 0 ] || {}, + i = 0, + l = this.length; + + if ( value === undefined && elem.nodeType === 1 ) { + return elem.innerHTML; + } + + // See if we can take a shortcut and just use innerHTML + if ( typeof value === "string" && !rnoInnerhtml.test( value ) && + !wrapMap[ ( rtagName.exec( value ) || [ "", "" ] )[ 1 ].toLowerCase() ] ) { + + value = jQuery.htmlPrefilter( value ); + + try { + for ( ; i < l; i++ ) { + elem = this[ i ] || {}; + + // Remove element nodes and prevent memory leaks + if ( elem.nodeType === 1 ) { + jQuery.cleanData( getAll( elem, false ) ); + elem.innerHTML = value; + } + } + + elem = 0; + + // If using innerHTML throws an exception, use the fallback method + } catch ( e ) {} + } + + if ( elem ) { + this.empty().append( value ); + } + }, null, value, arguments.length ); + }, + + replaceWith: function() { + var ignored = []; + + // Make the changes, replacing each non-ignored context element with the new content + return domManip( this, arguments, function( elem ) { + var parent = this.parentNode; + + if ( jQuery.inArray( this, ignored ) < 0 ) { + jQuery.cleanData( getAll( this ) ); + if ( parent ) { + parent.replaceChild( elem, this ); + } + } + + // Force callback invocation + }, ignored ); + } +} ); + +jQuery.each( { + appendTo: "append", + prependTo: "prepend", + insertBefore: "before", + insertAfter: "after", + replaceAll: "replaceWith" +}, function( name, original ) { + jQuery.fn[ name ] = function( selector ) { + var elems, + ret = [], + insert = jQuery( selector ), + last = insert.length - 1, + i = 0; + + for ( ; i <= last; i++ ) { + elems = i === last ? this : this.clone( true ); + jQuery( insert[ i ] )[ original ]( elems ); + + // Support: Android <=4.0 only, PhantomJS 1 only + // .get() because push.apply(_, arraylike) throws on ancient WebKit + push.apply( ret, elems.get() ); + } + + return this.pushStack( ret ); + }; +} ); +var rnumnonpx = new RegExp( "^(" + pnum + ")(?!px)[a-z%]+$", "i" ); + +var getStyles = function( elem ) { + + // Support: IE <=11 only, Firefox <=30 (#15098, #14150) + // IE throws on elements created in popups + // FF meanwhile throws on frame elements through "defaultView.getComputedStyle" + var view = elem.ownerDocument.defaultView; + + if ( !view || !view.opener ) { + view = window; + } + + return view.getComputedStyle( elem ); + }; + +var rboxStyle = new RegExp( cssExpand.join( "|" ), "i" ); + + + +( function() { + + // Executing both pixelPosition & boxSizingReliable tests require only one layout + // so they're executed at the same time to save the second computation. + function computeStyleTests() { + + // This is a singleton, we need to execute it only once + if ( !div ) { + return; + } + + container.style.cssText = "position:absolute;left:-11111px;width:60px;" + + "margin-top:1px;padding:0;border:0"; + div.style.cssText = + "position:relative;display:block;box-sizing:border-box;overflow:scroll;" + + "margin:auto;border:1px;padding:1px;" + + "width:60%;top:1%"; + documentElement.appendChild( container ).appendChild( div ); + + var divStyle = window.getComputedStyle( div ); + pixelPositionVal = divStyle.top !== "1%"; + + // Support: Android 4.0 - 4.3 only, Firefox <=3 - 44 + reliableMarginLeftVal = roundPixelMeasures( divStyle.marginLeft ) === 12; + + // Support: Android 4.0 - 4.3 only, Safari <=9.1 - 10.1, iOS <=7.0 - 9.3 + // Some styles come back with percentage values, even though they shouldn't + div.style.right = "60%"; + pixelBoxStylesVal = roundPixelMeasures( divStyle.right ) === 36; + + // Support: IE 9 - 11 only + // Detect misreporting of content dimensions for box-sizing:border-box elements + boxSizingReliableVal = roundPixelMeasures( divStyle.width ) === 36; + + // Support: IE 9 only + // Detect overflow:scroll screwiness (gh-3699) + div.style.position = "absolute"; + scrollboxSizeVal = div.offsetWidth === 36 || "absolute"; + + documentElement.removeChild( container ); + + // Nullify the div so it wouldn't be stored in the memory and + // it will also be a sign that checks already performed + div = null; + } + + function roundPixelMeasures( measure ) { + return Math.round( parseFloat( measure ) ); + } + + var pixelPositionVal, boxSizingReliableVal, scrollboxSizeVal, pixelBoxStylesVal, + reliableMarginLeftVal, + container = document.createElement( "div" ), + div = document.createElement( "div" ); + + // Finish early in limited (non-browser) environments + if ( !div.style ) { + return; + } + + // Support: IE <=9 - 11 only + // Style of cloned element affects source element cloned (#8908) + div.style.backgroundClip = "content-box"; + div.cloneNode( true ).style.backgroundClip = ""; + support.clearCloneStyle = div.style.backgroundClip === "content-box"; + + jQuery.extend( support, { + boxSizingReliable: function() { + computeStyleTests(); + return boxSizingReliableVal; + }, + pixelBoxStyles: function() { + computeStyleTests(); + return pixelBoxStylesVal; + }, + pixelPosition: function() { + computeStyleTests(); + return pixelPositionVal; + }, + reliableMarginLeft: function() { + computeStyleTests(); + return reliableMarginLeftVal; + }, + scrollboxSize: function() { + computeStyleTests(); + return scrollboxSizeVal; + } + } ); +} )(); + + +function curCSS( elem, name, computed ) { + var width, minWidth, maxWidth, ret, + + // Support: Firefox 51+ + // Retrieving style before computed somehow + // fixes an issue with getting wrong values + // on detached elements + style = elem.style; + + computed = computed || getStyles( elem ); + + // getPropertyValue is needed for: + // .css('filter') (IE 9 only, #12537) + // .css('--customProperty) (#3144) + if ( computed ) { + ret = computed.getPropertyValue( name ) || computed[ name ]; + + if ( ret === "" && !jQuery.contains( elem.ownerDocument, elem ) ) { + ret = jQuery.style( elem, name ); + } + + // A tribute to the "awesome hack by Dean Edwards" + // Android Browser returns percentage for some values, + // but width seems to be reliably pixels. + // This is against the CSSOM draft spec: + // https://drafts.csswg.org/cssom/#resolved-values + if ( !support.pixelBoxStyles() && rnumnonpx.test( ret ) && rboxStyle.test( name ) ) { + + // Remember the original values + width = style.width; + minWidth = style.minWidth; + maxWidth = style.maxWidth; + + // Put in the new values to get a computed value out + style.minWidth = style.maxWidth = style.width = ret; + ret = computed.width; + + // Revert the changed values + style.width = width; + style.minWidth = minWidth; + style.maxWidth = maxWidth; + } + } + + return ret !== undefined ? + + // Support: IE <=9 - 11 only + // IE returns zIndex value as an integer. + ret + "" : + ret; +} + + +function addGetHookIf( conditionFn, hookFn ) { + + // Define the hook, we'll check on the first run if it's really needed. + return { + get: function() { + if ( conditionFn() ) { + + // Hook not needed (or it's not possible to use it due + // to missing dependency), remove it. + delete this.get; + return; + } + + // Hook needed; redefine it so that the support test is not executed again. + return ( this.get = hookFn ).apply( this, arguments ); + } + }; +} + + +var + + // Swappable if display is none or starts with table + // except "table", "table-cell", or "table-caption" + // See here for display values: https://developer.mozilla.org/en-US/docs/CSS/display + rdisplayswap = /^(none|table(?!-c[ea]).+)/, + rcustomProp = /^--/, + cssShow = { position: "absolute", visibility: "hidden", display: "block" }, + cssNormalTransform = { + letterSpacing: "0", + fontWeight: "400" + }, + + cssPrefixes = [ "Webkit", "Moz", "ms" ], + emptyStyle = document.createElement( "div" ).style; + +// Return a css property mapped to a potentially vendor prefixed property +function vendorPropName( name ) { + + // Shortcut for names that are not vendor prefixed + if ( name in emptyStyle ) { + return name; + } + + // Check for vendor prefixed names + var capName = name[ 0 ].toUpperCase() + name.slice( 1 ), + i = cssPrefixes.length; + + while ( i-- ) { + name = cssPrefixes[ i ] + capName; + if ( name in emptyStyle ) { + return name; + } + } +} + +// Return a property mapped along what jQuery.cssProps suggests or to +// a vendor prefixed property. +function finalPropName( name ) { + var ret = jQuery.cssProps[ name ]; + if ( !ret ) { + ret = jQuery.cssProps[ name ] = vendorPropName( name ) || name; + } + return ret; +} + +function setPositiveNumber( elem, value, subtract ) { + + // Any relative (+/-) values have already been + // normalized at this point + var matches = rcssNum.exec( value ); + return matches ? + + // Guard against undefined "subtract", e.g., when used as in cssHooks + Math.max( 0, matches[ 2 ] - ( subtract || 0 ) ) + ( matches[ 3 ] || "px" ) : + value; +} + +function boxModelAdjustment( elem, dimension, box, isBorderBox, styles, computedVal ) { + var i = dimension === "width" ? 1 : 0, + extra = 0, + delta = 0; + + // Adjustment may not be necessary + if ( box === ( isBorderBox ? "border" : "content" ) ) { + return 0; + } + + for ( ; i < 4; i += 2 ) { + + // Both box models exclude margin + if ( box === "margin" ) { + delta += jQuery.css( elem, box + cssExpand[ i ], true, styles ); + } + + // If we get here with a content-box, we're seeking "padding" or "border" or "margin" + if ( !isBorderBox ) { + + // Add padding + delta += jQuery.css( elem, "padding" + cssExpand[ i ], true, styles ); + + // For "border" or "margin", add border + if ( box !== "padding" ) { + delta += jQuery.css( elem, "border" + cssExpand[ i ] + "Width", true, styles ); + + // But still keep track of it otherwise + } else { + extra += jQuery.css( elem, "border" + cssExpand[ i ] + "Width", true, styles ); + } + + // If we get here with a border-box (content + padding + border), we're seeking "content" or + // "padding" or "margin" + } else { + + // For "content", subtract padding + if ( box === "content" ) { + delta -= jQuery.css( elem, "padding" + cssExpand[ i ], true, styles ); + } + + // For "content" or "padding", subtract border + if ( box !== "margin" ) { + delta -= jQuery.css( elem, "border" + cssExpand[ i ] + "Width", true, styles ); + } + } + } + + // Account for positive content-box scroll gutter when requested by providing computedVal + if ( !isBorderBox && computedVal >= 0 ) { + + // offsetWidth/offsetHeight is a rounded sum of content, padding, scroll gutter, and border + // Assuming integer scroll gutter, subtract the rest and round down + delta += Math.max( 0, Math.ceil( + elem[ "offset" + dimension[ 0 ].toUpperCase() + dimension.slice( 1 ) ] - + computedVal - + delta - + extra - + 0.5 + ) ); + } + + return delta; +} + +function getWidthOrHeight( elem, dimension, extra ) { + + // Start with computed style + var styles = getStyles( elem ), + val = curCSS( elem, dimension, styles ), + isBorderBox = jQuery.css( elem, "boxSizing", false, styles ) === "border-box", + valueIsBorderBox = isBorderBox; + + // Support: Firefox <=54 + // Return a confounding non-pixel value or feign ignorance, as appropriate. + if ( rnumnonpx.test( val ) ) { + if ( !extra ) { + return val; + } + val = "auto"; + } + + // Check for style in case a browser which returns unreliable values + // for getComputedStyle silently falls back to the reliable elem.style + valueIsBorderBox = valueIsBorderBox && + ( support.boxSizingReliable() || val === elem.style[ dimension ] ); + + // Fall back to offsetWidth/offsetHeight when value is "auto" + // This happens for inline elements with no explicit setting (gh-3571) + // Support: Android <=4.1 - 4.3 only + // Also use offsetWidth/offsetHeight for misreported inline dimensions (gh-3602) + if ( val === "auto" || + !parseFloat( val ) && jQuery.css( elem, "display", false, styles ) === "inline" ) { + + val = elem[ "offset" + dimension[ 0 ].toUpperCase() + dimension.slice( 1 ) ]; + + // offsetWidth/offsetHeight provide border-box values + valueIsBorderBox = true; + } + + // Normalize "" and auto + val = parseFloat( val ) || 0; + + // Adjust for the element's box model + return ( val + + boxModelAdjustment( + elem, + dimension, + extra || ( isBorderBox ? "border" : "content" ), + valueIsBorderBox, + styles, + + // Provide the current computed size to request scroll gutter calculation (gh-3589) + val + ) + ) + "px"; +} + +jQuery.extend( { + + // Add in style property hooks for overriding the default + // behavior of getting and setting a style property + cssHooks: { + opacity: { + get: function( elem, computed ) { + if ( computed ) { + + // We should always get a number back from opacity + var ret = curCSS( elem, "opacity" ); + return ret === "" ? "1" : ret; + } + } + } + }, + + // Don't automatically add "px" to these possibly-unitless properties + cssNumber: { + "animationIterationCount": true, + "columnCount": true, + "fillOpacity": true, + "flexGrow": true, + "flexShrink": true, + "fontWeight": true, + "lineHeight": true, + "opacity": true, + "order": true, + "orphans": true, + "widows": true, + "zIndex": true, + "zoom": true + }, + + // Add in properties whose names you wish to fix before + // setting or getting the value + cssProps: {}, + + // Get and set the style property on a DOM Node + style: function( elem, name, value, extra ) { + + // Don't set styles on text and comment nodes + if ( !elem || elem.nodeType === 3 || elem.nodeType === 8 || !elem.style ) { + return; + } + + // Make sure that we're working with the right name + var ret, type, hooks, + origName = camelCase( name ), + isCustomProp = rcustomProp.test( name ), + style = elem.style; + + // Make sure that we're working with the right name. We don't + // want to query the value if it is a CSS custom property + // since they are user-defined. + if ( !isCustomProp ) { + name = finalPropName( origName ); + } + + // Gets hook for the prefixed version, then unprefixed version + hooks = jQuery.cssHooks[ name ] || jQuery.cssHooks[ origName ]; + + // Check if we're setting a value + if ( value !== undefined ) { + type = typeof value; + + // Convert "+=" or "-=" to relative numbers (#7345) + if ( type === "string" && ( ret = rcssNum.exec( value ) ) && ret[ 1 ] ) { + value = adjustCSS( elem, name, ret ); + + // Fixes bug #9237 + type = "number"; + } + + // Make sure that null and NaN values aren't set (#7116) + if ( value == null || value !== value ) { + return; + } + + // If a number was passed in, add the unit (except for certain CSS properties) + if ( type === "number" ) { + value += ret && ret[ 3 ] || ( jQuery.cssNumber[ origName ] ? "" : "px" ); + } + + // background-* props affect original clone's values + if ( !support.clearCloneStyle && value === "" && name.indexOf( "background" ) === 0 ) { + style[ name ] = "inherit"; + } + + // If a hook was provided, use that value, otherwise just set the specified value + if ( !hooks || !( "set" in hooks ) || + ( value = hooks.set( elem, value, extra ) ) !== undefined ) { + + if ( isCustomProp ) { + style.setProperty( name, value ); + } else { + style[ name ] = value; + } + } + + } else { + + // If a hook was provided get the non-computed value from there + if ( hooks && "get" in hooks && + ( ret = hooks.get( elem, false, extra ) ) !== undefined ) { + + return ret; + } + + // Otherwise just get the value from the style object + return style[ name ]; + } + }, + + css: function( elem, name, extra, styles ) { + var val, num, hooks, + origName = camelCase( name ), + isCustomProp = rcustomProp.test( name ); + + // Make sure that we're working with the right name. We don't + // want to modify the value if it is a CSS custom property + // since they are user-defined. + if ( !isCustomProp ) { + name = finalPropName( origName ); + } + + // Try prefixed name followed by the unprefixed name + hooks = jQuery.cssHooks[ name ] || jQuery.cssHooks[ origName ]; + + // If a hook was provided get the computed value from there + if ( hooks && "get" in hooks ) { + val = hooks.get( elem, true, extra ); + } + + // Otherwise, if a way to get the computed value exists, use that + if ( val === undefined ) { + val = curCSS( elem, name, styles ); + } + + // Convert "normal" to computed value + if ( val === "normal" && name in cssNormalTransform ) { + val = cssNormalTransform[ name ]; + } + + // Make numeric if forced or a qualifier was provided and val looks numeric + if ( extra === "" || extra ) { + num = parseFloat( val ); + return extra === true || isFinite( num ) ? num || 0 : val; + } + + return val; + } +} ); + +jQuery.each( [ "height", "width" ], function( i, dimension ) { + jQuery.cssHooks[ dimension ] = { + get: function( elem, computed, extra ) { + if ( computed ) { + + // Certain elements can have dimension info if we invisibly show them + // but it must have a current display style that would benefit + return rdisplayswap.test( jQuery.css( elem, "display" ) ) && + + // Support: Safari 8+ + // Table columns in Safari have non-zero offsetWidth & zero + // getBoundingClientRect().width unless display is changed. + // Support: IE <=11 only + // Running getBoundingClientRect on a disconnected node + // in IE throws an error. + ( !elem.getClientRects().length || !elem.getBoundingClientRect().width ) ? + swap( elem, cssShow, function() { + return getWidthOrHeight( elem, dimension, extra ); + } ) : + getWidthOrHeight( elem, dimension, extra ); + } + }, + + set: function( elem, value, extra ) { + var matches, + styles = getStyles( elem ), + isBorderBox = jQuery.css( elem, "boxSizing", false, styles ) === "border-box", + subtract = extra && boxModelAdjustment( + elem, + dimension, + extra, + isBorderBox, + styles + ); + + // Account for unreliable border-box dimensions by comparing offset* to computed and + // faking a content-box to get border and padding (gh-3699) + if ( isBorderBox && support.scrollboxSize() === styles.position ) { + subtract -= Math.ceil( + elem[ "offset" + dimension[ 0 ].toUpperCase() + dimension.slice( 1 ) ] - + parseFloat( styles[ dimension ] ) - + boxModelAdjustment( elem, dimension, "border", false, styles ) - + 0.5 + ); + } + + // Convert to pixels if value adjustment is needed + if ( subtract && ( matches = rcssNum.exec( value ) ) && + ( matches[ 3 ] || "px" ) !== "px" ) { + + elem.style[ dimension ] = value; + value = jQuery.css( elem, dimension ); + } + + return setPositiveNumber( elem, value, subtract ); + } + }; +} ); + +jQuery.cssHooks.marginLeft = addGetHookIf( support.reliableMarginLeft, + function( elem, computed ) { + if ( computed ) { + return ( parseFloat( curCSS( elem, "marginLeft" ) ) || + elem.getBoundingClientRect().left - + swap( elem, { marginLeft: 0 }, function() { + return elem.getBoundingClientRect().left; + } ) + ) + "px"; + } + } +); + +// These hooks are used by animate to expand properties +jQuery.each( { + margin: "", + padding: "", + border: "Width" +}, function( prefix, suffix ) { + jQuery.cssHooks[ prefix + suffix ] = { + expand: function( value ) { + var i = 0, + expanded = {}, + + // Assumes a single number if not a string + parts = typeof value === "string" ? value.split( " " ) : [ value ]; + + for ( ; i < 4; i++ ) { + expanded[ prefix + cssExpand[ i ] + suffix ] = + parts[ i ] || parts[ i - 2 ] || parts[ 0 ]; + } + + return expanded; + } + }; + + if ( prefix !== "margin" ) { + jQuery.cssHooks[ prefix + suffix ].set = setPositiveNumber; + } +} ); + +jQuery.fn.extend( { + css: function( name, value ) { + return access( this, function( elem, name, value ) { + var styles, len, + map = {}, + i = 0; + + if ( Array.isArray( name ) ) { + styles = getStyles( elem ); + len = name.length; + + for ( ; i < len; i++ ) { + map[ name[ i ] ] = jQuery.css( elem, name[ i ], false, styles ); + } + + return map; + } + + return value !== undefined ? + jQuery.style( elem, name, value ) : + jQuery.css( elem, name ); + }, name, value, arguments.length > 1 ); + } +} ); + + +function Tween( elem, options, prop, end, easing ) { + return new Tween.prototype.init( elem, options, prop, end, easing ); +} +jQuery.Tween = Tween; + +Tween.prototype = { + constructor: Tween, + init: function( elem, options, prop, end, easing, unit ) { + this.elem = elem; + this.prop = prop; + this.easing = easing || jQuery.easing._default; + this.options = options; + this.start = this.now = this.cur(); + this.end = end; + this.unit = unit || ( jQuery.cssNumber[ prop ] ? "" : "px" ); + }, + cur: function() { + var hooks = Tween.propHooks[ this.prop ]; + + return hooks && hooks.get ? + hooks.get( this ) : + Tween.propHooks._default.get( this ); + }, + run: function( percent ) { + var eased, + hooks = Tween.propHooks[ this.prop ]; + + if ( this.options.duration ) { + this.pos = eased = jQuery.easing[ this.easing ]( + percent, this.options.duration * percent, 0, 1, this.options.duration + ); + } else { + this.pos = eased = percent; + } + this.now = ( this.end - this.start ) * eased + this.start; + + if ( this.options.step ) { + this.options.step.call( this.elem, this.now, this ); + } + + if ( hooks && hooks.set ) { + hooks.set( this ); + } else { + Tween.propHooks._default.set( this ); + } + return this; + } +}; + +Tween.prototype.init.prototype = Tween.prototype; + +Tween.propHooks = { + _default: { + get: function( tween ) { + var result; + + // Use a property on the element directly when it is not a DOM element, + // or when there is no matching style property that exists. + if ( tween.elem.nodeType !== 1 || + tween.elem[ tween.prop ] != null && tween.elem.style[ tween.prop ] == null ) { + return tween.elem[ tween.prop ]; + } + + // Passing an empty string as a 3rd parameter to .css will automatically + // attempt a parseFloat and fallback to a string if the parse fails. + // Simple values such as "10px" are parsed to Float; + // complex values such as "rotate(1rad)" are returned as-is. + result = jQuery.css( tween.elem, tween.prop, "" ); + + // Empty strings, null, undefined and "auto" are converted to 0. + return !result || result === "auto" ? 0 : result; + }, + set: function( tween ) { + + // Use step hook for back compat. + // Use cssHook if its there. + // Use .style if available and use plain properties where available. + if ( jQuery.fx.step[ tween.prop ] ) { + jQuery.fx.step[ tween.prop ]( tween ); + } else if ( tween.elem.nodeType === 1 && + ( tween.elem.style[ jQuery.cssProps[ tween.prop ] ] != null || + jQuery.cssHooks[ tween.prop ] ) ) { + jQuery.style( tween.elem, tween.prop, tween.now + tween.unit ); + } else { + tween.elem[ tween.prop ] = tween.now; + } + } + } +}; + +// Support: IE <=9 only +// Panic based approach to setting things on disconnected nodes +Tween.propHooks.scrollTop = Tween.propHooks.scrollLeft = { + set: function( tween ) { + if ( tween.elem.nodeType && tween.elem.parentNode ) { + tween.elem[ tween.prop ] = tween.now; + } + } +}; + +jQuery.easing = { + linear: function( p ) { + return p; + }, + swing: function( p ) { + return 0.5 - Math.cos( p * Math.PI ) / 2; + }, + _default: "swing" +}; + +jQuery.fx = Tween.prototype.init; + +// Back compat <1.8 extension point +jQuery.fx.step = {}; + + + + +var + fxNow, inProgress, + rfxtypes = /^(?:toggle|show|hide)$/, + rrun = /queueHooks$/; + +function schedule() { + if ( inProgress ) { + if ( document.hidden === false && window.requestAnimationFrame ) { + window.requestAnimationFrame( schedule ); + } else { + window.setTimeout( schedule, jQuery.fx.interval ); + } + + jQuery.fx.tick(); + } +} + +// Animations created synchronously will run synchronously +function createFxNow() { + window.setTimeout( function() { + fxNow = undefined; + } ); + return ( fxNow = Date.now() ); +} + +// Generate parameters to create a standard animation +function genFx( type, includeWidth ) { + var which, + i = 0, + attrs = { height: type }; + + // If we include width, step value is 1 to do all cssExpand values, + // otherwise step value is 2 to skip over Left and Right + includeWidth = includeWidth ? 1 : 0; + for ( ; i < 4; i += 2 - includeWidth ) { + which = cssExpand[ i ]; + attrs[ "margin" + which ] = attrs[ "padding" + which ] = type; + } + + if ( includeWidth ) { + attrs.opacity = attrs.width = type; + } + + return attrs; +} + +function createTween( value, prop, animation ) { + var tween, + collection = ( Animation.tweeners[ prop ] || [] ).concat( Animation.tweeners[ "*" ] ), + index = 0, + length = collection.length; + for ( ; index < length; index++ ) { + if ( ( tween = collection[ index ].call( animation, prop, value ) ) ) { + + // We're done with this property + return tween; + } + } +} + +function defaultPrefilter( elem, props, opts ) { + var prop, value, toggle, hooks, oldfire, propTween, restoreDisplay, display, + isBox = "width" in props || "height" in props, + anim = this, + orig = {}, + style = elem.style, + hidden = elem.nodeType && isHiddenWithinTree( elem ), + dataShow = dataPriv.get( elem, "fxshow" ); + + // Queue-skipping animations hijack the fx hooks + if ( !opts.queue ) { + hooks = jQuery._queueHooks( elem, "fx" ); + if ( hooks.unqueued == null ) { + hooks.unqueued = 0; + oldfire = hooks.empty.fire; + hooks.empty.fire = function() { + if ( !hooks.unqueued ) { + oldfire(); + } + }; + } + hooks.unqueued++; + + anim.always( function() { + + // Ensure the complete handler is called before this completes + anim.always( function() { + hooks.unqueued--; + if ( !jQuery.queue( elem, "fx" ).length ) { + hooks.empty.fire(); + } + } ); + } ); + } + + // Detect show/hide animations + for ( prop in props ) { + value = props[ prop ]; + if ( rfxtypes.test( value ) ) { + delete props[ prop ]; + toggle = toggle || value === "toggle"; + if ( value === ( hidden ? "hide" : "show" ) ) { + + // Pretend to be hidden if this is a "show" and + // there is still data from a stopped show/hide + if ( value === "show" && dataShow && dataShow[ prop ] !== undefined ) { + hidden = true; + + // Ignore all other no-op show/hide data + } else { + continue; + } + } + orig[ prop ] = dataShow && dataShow[ prop ] || jQuery.style( elem, prop ); + } + } + + // Bail out if this is a no-op like .hide().hide() + propTween = !jQuery.isEmptyObject( props ); + if ( !propTween && jQuery.isEmptyObject( orig ) ) { + return; + } + + // Restrict "overflow" and "display" styles during box animations + if ( isBox && elem.nodeType === 1 ) { + + // Support: IE <=9 - 11, Edge 12 - 15 + // Record all 3 overflow attributes because IE does not infer the shorthand + // from identically-valued overflowX and overflowY and Edge just mirrors + // the overflowX value there. + opts.overflow = [ style.overflow, style.overflowX, style.overflowY ]; + + // Identify a display type, preferring old show/hide data over the CSS cascade + restoreDisplay = dataShow && dataShow.display; + if ( restoreDisplay == null ) { + restoreDisplay = dataPriv.get( elem, "display" ); + } + display = jQuery.css( elem, "display" ); + if ( display === "none" ) { + if ( restoreDisplay ) { + display = restoreDisplay; + } else { + + // Get nonempty value(s) by temporarily forcing visibility + showHide( [ elem ], true ); + restoreDisplay = elem.style.display || restoreDisplay; + display = jQuery.css( elem, "display" ); + showHide( [ elem ] ); + } + } + + // Animate inline elements as inline-block + if ( display === "inline" || display === "inline-block" && restoreDisplay != null ) { + if ( jQuery.css( elem, "float" ) === "none" ) { + + // Restore the original display value at the end of pure show/hide animations + if ( !propTween ) { + anim.done( function() { + style.display = restoreDisplay; + } ); + if ( restoreDisplay == null ) { + display = style.display; + restoreDisplay = display === "none" ? "" : display; + } + } + style.display = "inline-block"; + } + } + } + + if ( opts.overflow ) { + style.overflow = "hidden"; + anim.always( function() { + style.overflow = opts.overflow[ 0 ]; + style.overflowX = opts.overflow[ 1 ]; + style.overflowY = opts.overflow[ 2 ]; + } ); + } + + // Implement show/hide animations + propTween = false; + for ( prop in orig ) { + + // General show/hide setup for this element animation + if ( !propTween ) { + if ( dataShow ) { + if ( "hidden" in dataShow ) { + hidden = dataShow.hidden; + } + } else { + dataShow = dataPriv.access( elem, "fxshow", { display: restoreDisplay } ); + } + + // Store hidden/visible for toggle so `.stop().toggle()` "reverses" + if ( toggle ) { + dataShow.hidden = !hidden; + } + + // Show elements before animating them + if ( hidden ) { + showHide( [ elem ], true ); + } + + /* eslint-disable no-loop-func */ + + anim.done( function() { + + /* eslint-enable no-loop-func */ + + // The final step of a "hide" animation is actually hiding the element + if ( !hidden ) { + showHide( [ elem ] ); + } + dataPriv.remove( elem, "fxshow" ); + for ( prop in orig ) { + jQuery.style( elem, prop, orig[ prop ] ); + } + } ); + } + + // Per-property setup + propTween = createTween( hidden ? dataShow[ prop ] : 0, prop, anim ); + if ( !( prop in dataShow ) ) { + dataShow[ prop ] = propTween.start; + if ( hidden ) { + propTween.end = propTween.start; + propTween.start = 0; + } + } + } +} + +function propFilter( props, specialEasing ) { + var index, name, easing, value, hooks; + + // camelCase, specialEasing and expand cssHook pass + for ( index in props ) { + name = camelCase( index ); + easing = specialEasing[ name ]; + value = props[ index ]; + if ( Array.isArray( value ) ) { + easing = value[ 1 ]; + value = props[ index ] = value[ 0 ]; + } + + if ( index !== name ) { + props[ name ] = value; + delete props[ index ]; + } + + hooks = jQuery.cssHooks[ name ]; + if ( hooks && "expand" in hooks ) { + value = hooks.expand( value ); + delete props[ name ]; + + // Not quite $.extend, this won't overwrite existing keys. + // Reusing 'index' because we have the correct "name" + for ( index in value ) { + if ( !( index in props ) ) { + props[ index ] = value[ index ]; + specialEasing[ index ] = easing; + } + } + } else { + specialEasing[ name ] = easing; + } + } +} + +function Animation( elem, properties, options ) { + var result, + stopped, + index = 0, + length = Animation.prefilters.length, + deferred = jQuery.Deferred().always( function() { + + // Don't match elem in the :animated selector + delete tick.elem; + } ), + tick = function() { + if ( stopped ) { + return false; + } + var currentTime = fxNow || createFxNow(), + remaining = Math.max( 0, animation.startTime + animation.duration - currentTime ), + + // Support: Android 2.3 only + // Archaic crash bug won't allow us to use `1 - ( 0.5 || 0 )` (#12497) + temp = remaining / animation.duration || 0, + percent = 1 - temp, + index = 0, + length = animation.tweens.length; + + for ( ; index < length; index++ ) { + animation.tweens[ index ].run( percent ); + } + + deferred.notifyWith( elem, [ animation, percent, remaining ] ); + + // If there's more to do, yield + if ( percent < 1 && length ) { + return remaining; + } + + // If this was an empty animation, synthesize a final progress notification + if ( !length ) { + deferred.notifyWith( elem, [ animation, 1, 0 ] ); + } + + // Resolve the animation and report its conclusion + deferred.resolveWith( elem, [ animation ] ); + return false; + }, + animation = deferred.promise( { + elem: elem, + props: jQuery.extend( {}, properties ), + opts: jQuery.extend( true, { + specialEasing: {}, + easing: jQuery.easing._default + }, options ), + originalProperties: properties, + originalOptions: options, + startTime: fxNow || createFxNow(), + duration: options.duration, + tweens: [], + createTween: function( prop, end ) { + var tween = jQuery.Tween( elem, animation.opts, prop, end, + animation.opts.specialEasing[ prop ] || animation.opts.easing ); + animation.tweens.push( tween ); + return tween; + }, + stop: function( gotoEnd ) { + var index = 0, + + // If we are going to the end, we want to run all the tweens + // otherwise we skip this part + length = gotoEnd ? animation.tweens.length : 0; + if ( stopped ) { + return this; + } + stopped = true; + for ( ; index < length; index++ ) { + animation.tweens[ index ].run( 1 ); + } + + // Resolve when we played the last frame; otherwise, reject + if ( gotoEnd ) { + deferred.notifyWith( elem, [ animation, 1, 0 ] ); + deferred.resolveWith( elem, [ animation, gotoEnd ] ); + } else { + deferred.rejectWith( elem, [ animation, gotoEnd ] ); + } + return this; + } + } ), + props = animation.props; + + propFilter( props, animation.opts.specialEasing ); + + for ( ; index < length; index++ ) { + result = Animation.prefilters[ index ].call( animation, elem, props, animation.opts ); + if ( result ) { + if ( isFunction( result.stop ) ) { + jQuery._queueHooks( animation.elem, animation.opts.queue ).stop = + result.stop.bind( result ); + } + return result; + } + } + + jQuery.map( props, createTween, animation ); + + if ( isFunction( animation.opts.start ) ) { + animation.opts.start.call( elem, animation ); + } + + // Attach callbacks from options + animation + .progress( animation.opts.progress ) + .done( animation.opts.done, animation.opts.complete ) + .fail( animation.opts.fail ) + .always( animation.opts.always ); + + jQuery.fx.timer( + jQuery.extend( tick, { + elem: elem, + anim: animation, + queue: animation.opts.queue + } ) + ); + + return animation; +} + +jQuery.Animation = jQuery.extend( Animation, { + + tweeners: { + "*": [ function( prop, value ) { + var tween = this.createTween( prop, value ); + adjustCSS( tween.elem, prop, rcssNum.exec( value ), tween ); + return tween; + } ] + }, + + tweener: function( props, callback ) { + if ( isFunction( props ) ) { + callback = props; + props = [ "*" ]; + } else { + props = props.match( rnothtmlwhite ); + } + + var prop, + index = 0, + length = props.length; + + for ( ; index < length; index++ ) { + prop = props[ index ]; + Animation.tweeners[ prop ] = Animation.tweeners[ prop ] || []; + Animation.tweeners[ prop ].unshift( callback ); + } + }, + + prefilters: [ defaultPrefilter ], + + prefilter: function( callback, prepend ) { + if ( prepend ) { + Animation.prefilters.unshift( callback ); + } else { + Animation.prefilters.push( callback ); + } + } +} ); + +jQuery.speed = function( speed, easing, fn ) { + var opt = speed && typeof speed === "object" ? jQuery.extend( {}, speed ) : { + complete: fn || !fn && easing || + isFunction( speed ) && speed, + duration: speed, + easing: fn && easing || easing && !isFunction( easing ) && easing + }; + + // Go to the end state if fx are off + if ( jQuery.fx.off ) { + opt.duration = 0; + + } else { + if ( typeof opt.duration !== "number" ) { + if ( opt.duration in jQuery.fx.speeds ) { + opt.duration = jQuery.fx.speeds[ opt.duration ]; + + } else { + opt.duration = jQuery.fx.speeds._default; + } + } + } + + // Normalize opt.queue - true/undefined/null -> "fx" + if ( opt.queue == null || opt.queue === true ) { + opt.queue = "fx"; + } + + // Queueing + opt.old = opt.complete; + + opt.complete = function() { + if ( isFunction( opt.old ) ) { + opt.old.call( this ); + } + + if ( opt.queue ) { + jQuery.dequeue( this, opt.queue ); + } + }; + + return opt; +}; + +jQuery.fn.extend( { + fadeTo: function( speed, to, easing, callback ) { + + // Show any hidden elements after setting opacity to 0 + return this.filter( isHiddenWithinTree ).css( "opacity", 0 ).show() + + // Animate to the value specified + .end().animate( { opacity: to }, speed, easing, callback ); + }, + animate: function( prop, speed, easing, callback ) { + var empty = jQuery.isEmptyObject( prop ), + optall = jQuery.speed( speed, easing, callback ), + doAnimation = function() { + + // Operate on a copy of prop so per-property easing won't be lost + var anim = Animation( this, jQuery.extend( {}, prop ), optall ); + + // Empty animations, or finishing resolves immediately + if ( empty || dataPriv.get( this, "finish" ) ) { + anim.stop( true ); + } + }; + doAnimation.finish = doAnimation; + + return empty || optall.queue === false ? + this.each( doAnimation ) : + this.queue( optall.queue, doAnimation ); + }, + stop: function( type, clearQueue, gotoEnd ) { + var stopQueue = function( hooks ) { + var stop = hooks.stop; + delete hooks.stop; + stop( gotoEnd ); + }; + + if ( typeof type !== "string" ) { + gotoEnd = clearQueue; + clearQueue = type; + type = undefined; + } + if ( clearQueue && type !== false ) { + this.queue( type || "fx", [] ); + } + + return this.each( function() { + var dequeue = true, + index = type != null && type + "queueHooks", + timers = jQuery.timers, + data = dataPriv.get( this ); + + if ( index ) { + if ( data[ index ] && data[ index ].stop ) { + stopQueue( data[ index ] ); + } + } else { + for ( index in data ) { + if ( data[ index ] && data[ index ].stop && rrun.test( index ) ) { + stopQueue( data[ index ] ); + } + } + } + + for ( index = timers.length; index--; ) { + if ( timers[ index ].elem === this && + ( type == null || timers[ index ].queue === type ) ) { + + timers[ index ].anim.stop( gotoEnd ); + dequeue = false; + timers.splice( index, 1 ); + } + } + + // Start the next in the queue if the last step wasn't forced. + // Timers currently will call their complete callbacks, which + // will dequeue but only if they were gotoEnd. + if ( dequeue || !gotoEnd ) { + jQuery.dequeue( this, type ); + } + } ); + }, + finish: function( type ) { + if ( type !== false ) { + type = type || "fx"; + } + return this.each( function() { + var index, + data = dataPriv.get( this ), + queue = data[ type + "queue" ], + hooks = data[ type + "queueHooks" ], + timers = jQuery.timers, + length = queue ? queue.length : 0; + + // Enable finishing flag on private data + data.finish = true; + + // Empty the queue first + jQuery.queue( this, type, [] ); + + if ( hooks && hooks.stop ) { + hooks.stop.call( this, true ); + } + + // Look for any active animations, and finish them + for ( index = timers.length; index--; ) { + if ( timers[ index ].elem === this && timers[ index ].queue === type ) { + timers[ index ].anim.stop( true ); + timers.splice( index, 1 ); + } + } + + // Look for any animations in the old queue and finish them + for ( index = 0; index < length; index++ ) { + if ( queue[ index ] && queue[ index ].finish ) { + queue[ index ].finish.call( this ); + } + } + + // Turn off finishing flag + delete data.finish; + } ); + } +} ); + +jQuery.each( [ "toggle", "show", "hide" ], function( i, name ) { + var cssFn = jQuery.fn[ name ]; + jQuery.fn[ name ] = function( speed, easing, callback ) { + return speed == null || typeof speed === "boolean" ? + cssFn.apply( this, arguments ) : + this.animate( genFx( name, true ), speed, easing, callback ); + }; +} ); + +// Generate shortcuts for custom animations +jQuery.each( { + slideDown: genFx( "show" ), + slideUp: genFx( "hide" ), + slideToggle: genFx( "toggle" ), + fadeIn: { opacity: "show" }, + fadeOut: { opacity: "hide" }, + fadeToggle: { opacity: "toggle" } +}, function( name, props ) { + jQuery.fn[ name ] = function( speed, easing, callback ) { + return this.animate( props, speed, easing, callback ); + }; +} ); + +jQuery.timers = []; +jQuery.fx.tick = function() { + var timer, + i = 0, + timers = jQuery.timers; + + fxNow = Date.now(); + + for ( ; i < timers.length; i++ ) { + timer = timers[ i ]; + + // Run the timer and safely remove it when done (allowing for external removal) + if ( !timer() && timers[ i ] === timer ) { + timers.splice( i--, 1 ); + } + } + + if ( !timers.length ) { + jQuery.fx.stop(); + } + fxNow = undefined; +}; + +jQuery.fx.timer = function( timer ) { + jQuery.timers.push( timer ); + jQuery.fx.start(); +}; + +jQuery.fx.interval = 13; +jQuery.fx.start = function() { + if ( inProgress ) { + return; + } + + inProgress = true; + schedule(); +}; + +jQuery.fx.stop = function() { + inProgress = null; +}; + +jQuery.fx.speeds = { + slow: 600, + fast: 200, + + // Default speed + _default: 400 +}; + + +// Based off of the plugin by Clint Helfers, with permission. +// https://web.archive.org/web/20100324014747/http://blindsignals.com/index.php/2009/07/jquery-delay/ +jQuery.fn.delay = function( time, type ) { + time = jQuery.fx ? jQuery.fx.speeds[ time ] || time : time; + type = type || "fx"; + + return this.queue( type, function( next, hooks ) { + var timeout = window.setTimeout( next, time ); + hooks.stop = function() { + window.clearTimeout( timeout ); + }; + } ); +}; + + +( function() { + var input = document.createElement( "input" ), + select = document.createElement( "select" ), + opt = select.appendChild( document.createElement( "option" ) ); + + input.type = "checkbox"; + + // Support: Android <=4.3 only + // Default value for a checkbox should be "on" + support.checkOn = input.value !== ""; + + // Support: IE <=11 only + // Must access selectedIndex to make default options select + support.optSelected = opt.selected; + + // Support: IE <=11 only + // An input loses its value after becoming a radio + input = document.createElement( "input" ); + input.value = "t"; + input.type = "radio"; + support.radioValue = input.value === "t"; +} )(); + + +var boolHook, + attrHandle = jQuery.expr.attrHandle; + +jQuery.fn.extend( { + attr: function( name, value ) { + return access( this, jQuery.attr, name, value, arguments.length > 1 ); + }, + + removeAttr: function( name ) { + return this.each( function() { + jQuery.removeAttr( this, name ); + } ); + } +} ); + +jQuery.extend( { + attr: function( elem, name, value ) { + var ret, hooks, + nType = elem.nodeType; + + // Don't get/set attributes on text, comment and attribute nodes + if ( nType === 3 || nType === 8 || nType === 2 ) { + return; + } + + // Fallback to prop when attributes are not supported + if ( typeof elem.getAttribute === "undefined" ) { + return jQuery.prop( elem, name, value ); + } + + // Attribute hooks are determined by the lowercase version + // Grab necessary hook if one is defined + if ( nType !== 1 || !jQuery.isXMLDoc( elem ) ) { + hooks = jQuery.attrHooks[ name.toLowerCase() ] || + ( jQuery.expr.match.bool.test( name ) ? boolHook : undefined ); + } + + if ( value !== undefined ) { + if ( value === null ) { + jQuery.removeAttr( elem, name ); + return; + } + + if ( hooks && "set" in hooks && + ( ret = hooks.set( elem, value, name ) ) !== undefined ) { + return ret; + } + + elem.setAttribute( name, value + "" ); + return value; + } + + if ( hooks && "get" in hooks && ( ret = hooks.get( elem, name ) ) !== null ) { + return ret; + } + + ret = jQuery.find.attr( elem, name ); + + // Non-existent attributes return null, we normalize to undefined + return ret == null ? undefined : ret; + }, + + attrHooks: { + type: { + set: function( elem, value ) { + if ( !support.radioValue && value === "radio" && + nodeName( elem, "input" ) ) { + var val = elem.value; + elem.setAttribute( "type", value ); + if ( val ) { + elem.value = val; + } + return value; + } + } + } + }, + + removeAttr: function( elem, value ) { + var name, + i = 0, + + // Attribute names can contain non-HTML whitespace characters + // https://html.spec.whatwg.org/multipage/syntax.html#attributes-2 + attrNames = value && value.match( rnothtmlwhite ); + + if ( attrNames && elem.nodeType === 1 ) { + while ( ( name = attrNames[ i++ ] ) ) { + elem.removeAttribute( name ); + } + } + } +} ); + +// Hooks for boolean attributes +boolHook = { + set: function( elem, value, name ) { + if ( value === false ) { + + // Remove boolean attributes when set to false + jQuery.removeAttr( elem, name ); + } else { + elem.setAttribute( name, name ); + } + return name; + } +}; + +jQuery.each( jQuery.expr.match.bool.source.match( /\w+/g ), function( i, name ) { + var getter = attrHandle[ name ] || jQuery.find.attr; + + attrHandle[ name ] = function( elem, name, isXML ) { + var ret, handle, + lowercaseName = name.toLowerCase(); + + if ( !isXML ) { + + // Avoid an infinite loop by temporarily removing this function from the getter + handle = attrHandle[ lowercaseName ]; + attrHandle[ lowercaseName ] = ret; + ret = getter( elem, name, isXML ) != null ? + lowercaseName : + null; + attrHandle[ lowercaseName ] = handle; + } + return ret; + }; +} ); + + + + +var rfocusable = /^(?:input|select|textarea|button)$/i, + rclickable = /^(?:a|area)$/i; + +jQuery.fn.extend( { + prop: function( name, value ) { + return access( this, jQuery.prop, name, value, arguments.length > 1 ); + }, + + removeProp: function( name ) { + return this.each( function() { + delete this[ jQuery.propFix[ name ] || name ]; + } ); + } +} ); + +jQuery.extend( { + prop: function( elem, name, value ) { + var ret, hooks, + nType = elem.nodeType; + + // Don't get/set properties on text, comment and attribute nodes + if ( nType === 3 || nType === 8 || nType === 2 ) { + return; + } + + if ( nType !== 1 || !jQuery.isXMLDoc( elem ) ) { + + // Fix name and attach hooks + name = jQuery.propFix[ name ] || name; + hooks = jQuery.propHooks[ name ]; + } + + if ( value !== undefined ) { + if ( hooks && "set" in hooks && + ( ret = hooks.set( elem, value, name ) ) !== undefined ) { + return ret; + } + + return ( elem[ name ] = value ); + } + + if ( hooks && "get" in hooks && ( ret = hooks.get( elem, name ) ) !== null ) { + return ret; + } + + return elem[ name ]; + }, + + propHooks: { + tabIndex: { + get: function( elem ) { + + // Support: IE <=9 - 11 only + // elem.tabIndex doesn't always return the + // correct value when it hasn't been explicitly set + // https://web.archive.org/web/20141116233347/http://fluidproject.org/blog/2008/01/09/getting-setting-and-removing-tabindex-values-with-javascript/ + // Use proper attribute retrieval(#12072) + var tabindex = jQuery.find.attr( elem, "tabindex" ); + + if ( tabindex ) { + return parseInt( tabindex, 10 ); + } + + if ( + rfocusable.test( elem.nodeName ) || + rclickable.test( elem.nodeName ) && + elem.href + ) { + return 0; + } + + return -1; + } + } + }, + + propFix: { + "for": "htmlFor", + "class": "className" + } +} ); + +// Support: IE <=11 only +// Accessing the selectedIndex property +// forces the browser to respect setting selected +// on the option +// The getter ensures a default option is selected +// when in an optgroup +// eslint rule "no-unused-expressions" is disabled for this code +// since it considers such accessions noop +if ( !support.optSelected ) { + jQuery.propHooks.selected = { + get: function( elem ) { + + /* eslint no-unused-expressions: "off" */ + + var parent = elem.parentNode; + if ( parent && parent.parentNode ) { + parent.parentNode.selectedIndex; + } + return null; + }, + set: function( elem ) { + + /* eslint no-unused-expressions: "off" */ + + var parent = elem.parentNode; + if ( parent ) { + parent.selectedIndex; + + if ( parent.parentNode ) { + parent.parentNode.selectedIndex; + } + } + } + }; +} + +jQuery.each( [ + "tabIndex", + "readOnly", + "maxLength", + "cellSpacing", + "cellPadding", + "rowSpan", + "colSpan", + "useMap", + "frameBorder", + "contentEditable" +], function() { + jQuery.propFix[ this.toLowerCase() ] = this; +} ); + + + + + // Strip and collapse whitespace according to HTML spec + // https://infra.spec.whatwg.org/#strip-and-collapse-ascii-whitespace + function stripAndCollapse( value ) { + var tokens = value.match( rnothtmlwhite ) || []; + return tokens.join( " " ); + } + + +function getClass( elem ) { + return elem.getAttribute && elem.getAttribute( "class" ) || ""; +} + +function classesToArray( value ) { + if ( Array.isArray( value ) ) { + return value; + } + if ( typeof value === "string" ) { + return value.match( rnothtmlwhite ) || []; + } + return []; +} + +jQuery.fn.extend( { + addClass: function( value ) { + var classes, elem, cur, curValue, clazz, j, finalValue, + i = 0; + + if ( isFunction( value ) ) { + return this.each( function( j ) { + jQuery( this ).addClass( value.call( this, j, getClass( this ) ) ); + } ); + } + + classes = classesToArray( value ); + + if ( classes.length ) { + while ( ( elem = this[ i++ ] ) ) { + curValue = getClass( elem ); + cur = elem.nodeType === 1 && ( " " + stripAndCollapse( curValue ) + " " ); + + if ( cur ) { + j = 0; + while ( ( clazz = classes[ j++ ] ) ) { + if ( cur.indexOf( " " + clazz + " " ) < 0 ) { + cur += clazz + " "; + } + } + + // Only assign if different to avoid unneeded rendering. + finalValue = stripAndCollapse( cur ); + if ( curValue !== finalValue ) { + elem.setAttribute( "class", finalValue ); + } + } + } + } + + return this; + }, + + removeClass: function( value ) { + var classes, elem, cur, curValue, clazz, j, finalValue, + i = 0; + + if ( isFunction( value ) ) { + return this.each( function( j ) { + jQuery( this ).removeClass( value.call( this, j, getClass( this ) ) ); + } ); + } + + if ( !arguments.length ) { + return this.attr( "class", "" ); + } + + classes = classesToArray( value ); + + if ( classes.length ) { + while ( ( elem = this[ i++ ] ) ) { + curValue = getClass( elem ); + + // This expression is here for better compressibility (see addClass) + cur = elem.nodeType === 1 && ( " " + stripAndCollapse( curValue ) + " " ); + + if ( cur ) { + j = 0; + while ( ( clazz = classes[ j++ ] ) ) { + + // Remove *all* instances + while ( cur.indexOf( " " + clazz + " " ) > -1 ) { + cur = cur.replace( " " + clazz + " ", " " ); + } + } + + // Only assign if different to avoid unneeded rendering. + finalValue = stripAndCollapse( cur ); + if ( curValue !== finalValue ) { + elem.setAttribute( "class", finalValue ); + } + } + } + } + + return this; + }, + + toggleClass: function( value, stateVal ) { + var type = typeof value, + isValidValue = type === "string" || Array.isArray( value ); + + if ( typeof stateVal === "boolean" && isValidValue ) { + return stateVal ? this.addClass( value ) : this.removeClass( value ); + } + + if ( isFunction( value ) ) { + return this.each( function( i ) { + jQuery( this ).toggleClass( + value.call( this, i, getClass( this ), stateVal ), + stateVal + ); + } ); + } + + return this.each( function() { + var className, i, self, classNames; + + if ( isValidValue ) { + + // Toggle individual class names + i = 0; + self = jQuery( this ); + classNames = classesToArray( value ); + + while ( ( className = classNames[ i++ ] ) ) { + + // Check each className given, space separated list + if ( self.hasClass( className ) ) { + self.removeClass( className ); + } else { + self.addClass( className ); + } + } + + // Toggle whole class name + } else if ( value === undefined || type === "boolean" ) { + className = getClass( this ); + if ( className ) { + + // Store className if set + dataPriv.set( this, "__className__", className ); + } + + // If the element has a class name or if we're passed `false`, + // then remove the whole classname (if there was one, the above saved it). + // Otherwise bring back whatever was previously saved (if anything), + // falling back to the empty string if nothing was stored. + if ( this.setAttribute ) { + this.setAttribute( "class", + className || value === false ? + "" : + dataPriv.get( this, "__className__" ) || "" + ); + } + } + } ); + }, + + hasClass: function( selector ) { + var className, elem, + i = 0; + + className = " " + selector + " "; + while ( ( elem = this[ i++ ] ) ) { + if ( elem.nodeType === 1 && + ( " " + stripAndCollapse( getClass( elem ) ) + " " ).indexOf( className ) > -1 ) { + return true; + } + } + + return false; + } +} ); + + + + +var rreturn = /\r/g; + +jQuery.fn.extend( { + val: function( value ) { + var hooks, ret, valueIsFunction, + elem = this[ 0 ]; + + if ( !arguments.length ) { + if ( elem ) { + hooks = jQuery.valHooks[ elem.type ] || + jQuery.valHooks[ elem.nodeName.toLowerCase() ]; + + if ( hooks && + "get" in hooks && + ( ret = hooks.get( elem, "value" ) ) !== undefined + ) { + return ret; + } + + ret = elem.value; + + // Handle most common string cases + if ( typeof ret === "string" ) { + return ret.replace( rreturn, "" ); + } + + // Handle cases where value is null/undef or number + return ret == null ? "" : ret; + } + + return; + } + + valueIsFunction = isFunction( value ); + + return this.each( function( i ) { + var val; + + if ( this.nodeType !== 1 ) { + return; + } + + if ( valueIsFunction ) { + val = value.call( this, i, jQuery( this ).val() ); + } else { + val = value; + } + + // Treat null/undefined as ""; convert numbers to string + if ( val == null ) { + val = ""; + + } else if ( typeof val === "number" ) { + val += ""; + + } else if ( Array.isArray( val ) ) { + val = jQuery.map( val, function( value ) { + return value == null ? "" : value + ""; + } ); + } + + hooks = jQuery.valHooks[ this.type ] || jQuery.valHooks[ this.nodeName.toLowerCase() ]; + + // If set returns undefined, fall back to normal setting + if ( !hooks || !( "set" in hooks ) || hooks.set( this, val, "value" ) === undefined ) { + this.value = val; + } + } ); + } +} ); + +jQuery.extend( { + valHooks: { + option: { + get: function( elem ) { + + var val = jQuery.find.attr( elem, "value" ); + return val != null ? + val : + + // Support: IE <=10 - 11 only + // option.text throws exceptions (#14686, #14858) + // Strip and collapse whitespace + // https://html.spec.whatwg.org/#strip-and-collapse-whitespace + stripAndCollapse( jQuery.text( elem ) ); + } + }, + select: { + get: function( elem ) { + var value, option, i, + options = elem.options, + index = elem.selectedIndex, + one = elem.type === "select-one", + values = one ? null : [], + max = one ? index + 1 : options.length; + + if ( index < 0 ) { + i = max; + + } else { + i = one ? index : 0; + } + + // Loop through all the selected options + for ( ; i < max; i++ ) { + option = options[ i ]; + + // Support: IE <=9 only + // IE8-9 doesn't update selected after form reset (#2551) + if ( ( option.selected || i === index ) && + + // Don't return options that are disabled or in a disabled optgroup + !option.disabled && + ( !option.parentNode.disabled || + !nodeName( option.parentNode, "optgroup" ) ) ) { + + // Get the specific value for the option + value = jQuery( option ).val(); + + // We don't need an array for one selects + if ( one ) { + return value; + } + + // Multi-Selects return an array + values.push( value ); + } + } + + return values; + }, + + set: function( elem, value ) { + var optionSet, option, + options = elem.options, + values = jQuery.makeArray( value ), + i = options.length; + + while ( i-- ) { + option = options[ i ]; + + /* eslint-disable no-cond-assign */ + + if ( option.selected = + jQuery.inArray( jQuery.valHooks.option.get( option ), values ) > -1 + ) { + optionSet = true; + } + + /* eslint-enable no-cond-assign */ + } + + // Force browsers to behave consistently when non-matching value is set + if ( !optionSet ) { + elem.selectedIndex = -1; + } + return values; + } + } + } +} ); + +// Radios and checkboxes getter/setter +jQuery.each( [ "radio", "checkbox" ], function() { + jQuery.valHooks[ this ] = { + set: function( elem, value ) { + if ( Array.isArray( value ) ) { + return ( elem.checked = jQuery.inArray( jQuery( elem ).val(), value ) > -1 ); + } + } + }; + if ( !support.checkOn ) { + jQuery.valHooks[ this ].get = function( elem ) { + return elem.getAttribute( "value" ) === null ? "on" : elem.value; + }; + } +} ); + + + + +// Return jQuery for attributes-only inclusion + + +support.focusin = "onfocusin" in window; + + +var rfocusMorph = /^(?:focusinfocus|focusoutblur)$/, + stopPropagationCallback = function( e ) { + e.stopPropagation(); + }; + +jQuery.extend( jQuery.event, { + + trigger: function( event, data, elem, onlyHandlers ) { + + var i, cur, tmp, bubbleType, ontype, handle, special, lastElement, + eventPath = [ elem || document ], + type = hasOwn.call( event, "type" ) ? event.type : event, + namespaces = hasOwn.call( event, "namespace" ) ? event.namespace.split( "." ) : []; + + cur = lastElement = tmp = elem = elem || document; + + // Don't do events on text and comment nodes + if ( elem.nodeType === 3 || elem.nodeType === 8 ) { + return; + } + + // focus/blur morphs to focusin/out; ensure we're not firing them right now + if ( rfocusMorph.test( type + jQuery.event.triggered ) ) { + return; + } + + if ( type.indexOf( "." ) > -1 ) { + + // Namespaced trigger; create a regexp to match event type in handle() + namespaces = type.split( "." ); + type = namespaces.shift(); + namespaces.sort(); + } + ontype = type.indexOf( ":" ) < 0 && "on" + type; + + // Caller can pass in a jQuery.Event object, Object, or just an event type string + event = event[ jQuery.expando ] ? + event : + new jQuery.Event( type, typeof event === "object" && event ); + + // Trigger bitmask: & 1 for native handlers; & 2 for jQuery (always true) + event.isTrigger = onlyHandlers ? 2 : 3; + event.namespace = namespaces.join( "." ); + event.rnamespace = event.namespace ? + new RegExp( "(^|\\.)" + namespaces.join( "\\.(?:.*\\.|)" ) + "(\\.|$)" ) : + null; + + // Clean up the event in case it is being reused + event.result = undefined; + if ( !event.target ) { + event.target = elem; + } + + // Clone any incoming data and prepend the event, creating the handler arg list + data = data == null ? + [ event ] : + jQuery.makeArray( data, [ event ] ); + + // Allow special events to draw outside the lines + special = jQuery.event.special[ type ] || {}; + if ( !onlyHandlers && special.trigger && special.trigger.apply( elem, data ) === false ) { + return; + } + + // Determine event propagation path in advance, per W3C events spec (#9951) + // Bubble up to document, then to window; watch for a global ownerDocument var (#9724) + if ( !onlyHandlers && !special.noBubble && !isWindow( elem ) ) { + + bubbleType = special.delegateType || type; + if ( !rfocusMorph.test( bubbleType + type ) ) { + cur = cur.parentNode; + } + for ( ; cur; cur = cur.parentNode ) { + eventPath.push( cur ); + tmp = cur; + } + + // Only add window if we got to document (e.g., not plain obj or detached DOM) + if ( tmp === ( elem.ownerDocument || document ) ) { + eventPath.push( tmp.defaultView || tmp.parentWindow || window ); + } + } + + // Fire handlers on the event path + i = 0; + while ( ( cur = eventPath[ i++ ] ) && !event.isPropagationStopped() ) { + lastElement = cur; + event.type = i > 1 ? + bubbleType : + special.bindType || type; + + // jQuery handler + handle = ( dataPriv.get( cur, "events" ) || {} )[ event.type ] && + dataPriv.get( cur, "handle" ); + if ( handle ) { + handle.apply( cur, data ); + } + + // Native handler + handle = ontype && cur[ ontype ]; + if ( handle && handle.apply && acceptData( cur ) ) { + event.result = handle.apply( cur, data ); + if ( event.result === false ) { + event.preventDefault(); + } + } + } + event.type = type; + + // If nobody prevented the default action, do it now + if ( !onlyHandlers && !event.isDefaultPrevented() ) { + + if ( ( !special._default || + special._default.apply( eventPath.pop(), data ) === false ) && + acceptData( elem ) ) { + + // Call a native DOM method on the target with the same name as the event. + // Don't do default actions on window, that's where global variables be (#6170) + if ( ontype && isFunction( elem[ type ] ) && !isWindow( elem ) ) { + + // Don't re-trigger an onFOO event when we call its FOO() method + tmp = elem[ ontype ]; + + if ( tmp ) { + elem[ ontype ] = null; + } + + // Prevent re-triggering of the same event, since we already bubbled it above + jQuery.event.triggered = type; + + if ( event.isPropagationStopped() ) { + lastElement.addEventListener( type, stopPropagationCallback ); + } + + elem[ type ](); + + if ( event.isPropagationStopped() ) { + lastElement.removeEventListener( type, stopPropagationCallback ); + } + + jQuery.event.triggered = undefined; + + if ( tmp ) { + elem[ ontype ] = tmp; + } + } + } + } + + return event.result; + }, + + // Piggyback on a donor event to simulate a different one + // Used only for `focus(in | out)` events + simulate: function( type, elem, event ) { + var e = jQuery.extend( + new jQuery.Event(), + event, + { + type: type, + isSimulated: true + } + ); + + jQuery.event.trigger( e, null, elem ); + } + +} ); + +jQuery.fn.extend( { + + trigger: function( type, data ) { + return this.each( function() { + jQuery.event.trigger( type, data, this ); + } ); + }, + triggerHandler: function( type, data ) { + var elem = this[ 0 ]; + if ( elem ) { + return jQuery.event.trigger( type, data, elem, true ); + } + } +} ); + + +// Support: Firefox <=44 +// Firefox doesn't have focus(in | out) events +// Related ticket - https://bugzilla.mozilla.org/show_bug.cgi?id=687787 +// +// Support: Chrome <=48 - 49, Safari <=9.0 - 9.1 +// focus(in | out) events fire after focus & blur events, +// which is spec violation - http://www.w3.org/TR/DOM-Level-3-Events/#events-focusevent-event-order +// Related ticket - https://bugs.chromium.org/p/chromium/issues/detail?id=449857 +if ( !support.focusin ) { + jQuery.each( { focus: "focusin", blur: "focusout" }, function( orig, fix ) { + + // Attach a single capturing handler on the document while someone wants focusin/focusout + var handler = function( event ) { + jQuery.event.simulate( fix, event.target, jQuery.event.fix( event ) ); + }; + + jQuery.event.special[ fix ] = { + setup: function() { + var doc = this.ownerDocument || this, + attaches = dataPriv.access( doc, fix ); + + if ( !attaches ) { + doc.addEventListener( orig, handler, true ); + } + dataPriv.access( doc, fix, ( attaches || 0 ) + 1 ); + }, + teardown: function() { + var doc = this.ownerDocument || this, + attaches = dataPriv.access( doc, fix ) - 1; + + if ( !attaches ) { + doc.removeEventListener( orig, handler, true ); + dataPriv.remove( doc, fix ); + + } else { + dataPriv.access( doc, fix, attaches ); + } + } + }; + } ); +} +var location = window.location; + +var nonce = Date.now(); + +var rquery = ( /\?/ ); + + + +// Cross-browser xml parsing +jQuery.parseXML = function( data ) { + var xml; + if ( !data || typeof data !== "string" ) { + return null; + } + + // Support: IE 9 - 11 only + // IE throws on parseFromString with invalid input. + try { + xml = ( new window.DOMParser() ).parseFromString( data, "text/xml" ); + } catch ( e ) { + xml = undefined; + } + + if ( !xml || xml.getElementsByTagName( "parsererror" ).length ) { + jQuery.error( "Invalid XML: " + data ); + } + return xml; +}; + + +var + rbracket = /\[\]$/, + rCRLF = /\r?\n/g, + rsubmitterTypes = /^(?:submit|button|image|reset|file)$/i, + rsubmittable = /^(?:input|select|textarea|keygen)/i; + +function buildParams( prefix, obj, traditional, add ) { + var name; + + if ( Array.isArray( obj ) ) { + + // Serialize array item. + jQuery.each( obj, function( i, v ) { + if ( traditional || rbracket.test( prefix ) ) { + + // Treat each array item as a scalar. + add( prefix, v ); + + } else { + + // Item is non-scalar (array or object), encode its numeric index. + buildParams( + prefix + "[" + ( typeof v === "object" && v != null ? i : "" ) + "]", + v, + traditional, + add + ); + } + } ); + + } else if ( !traditional && toType( obj ) === "object" ) { + + // Serialize object item. + for ( name in obj ) { + buildParams( prefix + "[" + name + "]", obj[ name ], traditional, add ); + } + + } else { + + // Serialize scalar item. + add( prefix, obj ); + } +} + +// Serialize an array of form elements or a set of +// key/values into a query string +jQuery.param = function( a, traditional ) { + var prefix, + s = [], + add = function( key, valueOrFunction ) { + + // If value is a function, invoke it and use its return value + var value = isFunction( valueOrFunction ) ? + valueOrFunction() : + valueOrFunction; + + s[ s.length ] = encodeURIComponent( key ) + "=" + + encodeURIComponent( value == null ? "" : value ); + }; + + // If an array was passed in, assume that it is an array of form elements. + if ( Array.isArray( a ) || ( a.jquery && !jQuery.isPlainObject( a ) ) ) { + + // Serialize the form elements + jQuery.each( a, function() { + add( this.name, this.value ); + } ); + + } else { + + // If traditional, encode the "old" way (the way 1.3.2 or older + // did it), otherwise encode params recursively. + for ( prefix in a ) { + buildParams( prefix, a[ prefix ], traditional, add ); + } + } + + // Return the resulting serialization + return s.join( "&" ); +}; + +jQuery.fn.extend( { + serialize: function() { + return jQuery.param( this.serializeArray() ); + }, + serializeArray: function() { + return this.map( function() { + + // Can add propHook for "elements" to filter or add form elements + var elements = jQuery.prop( this, "elements" ); + return elements ? jQuery.makeArray( elements ) : this; + } ) + .filter( function() { + var type = this.type; + + // Use .is( ":disabled" ) so that fieldset[disabled] works + return this.name && !jQuery( this ).is( ":disabled" ) && + rsubmittable.test( this.nodeName ) && !rsubmitterTypes.test( type ) && + ( this.checked || !rcheckableType.test( type ) ); + } ) + .map( function( i, elem ) { + var val = jQuery( this ).val(); + + if ( val == null ) { + return null; + } + + if ( Array.isArray( val ) ) { + return jQuery.map( val, function( val ) { + return { name: elem.name, value: val.replace( rCRLF, "\r\n" ) }; + } ); + } + + return { name: elem.name, value: val.replace( rCRLF, "\r\n" ) }; + } ).get(); + } +} ); + + +var + r20 = /%20/g, + rhash = /#.*$/, + rantiCache = /([?&])_=[^&]*/, + rheaders = /^(.*?):[ \t]*([^\r\n]*)$/mg, + + // #7653, #8125, #8152: local protocol detection + rlocalProtocol = /^(?:about|app|app-storage|.+-extension|file|res|widget):$/, + rnoContent = /^(?:GET|HEAD)$/, + rprotocol = /^\/\//, + + /* Prefilters + * 1) They are useful to introduce custom dataTypes (see ajax/jsonp.js for an example) + * 2) These are called: + * - BEFORE asking for a transport + * - AFTER param serialization (s.data is a string if s.processData is true) + * 3) key is the dataType + * 4) the catchall symbol "*" can be used + * 5) execution will start with transport dataType and THEN continue down to "*" if needed + */ + prefilters = {}, + + /* Transports bindings + * 1) key is the dataType + * 2) the catchall symbol "*" can be used + * 3) selection will start with transport dataType and THEN go to "*" if needed + */ + transports = {}, + + // Avoid comment-prolog char sequence (#10098); must appease lint and evade compression + allTypes = "*/".concat( "*" ), + + // Anchor tag for parsing the document origin + originAnchor = document.createElement( "a" ); + originAnchor.href = location.href; + +// Base "constructor" for jQuery.ajaxPrefilter and jQuery.ajaxTransport +function addToPrefiltersOrTransports( structure ) { + + // dataTypeExpression is optional and defaults to "*" + return function( dataTypeExpression, func ) { + + if ( typeof dataTypeExpression !== "string" ) { + func = dataTypeExpression; + dataTypeExpression = "*"; + } + + var dataType, + i = 0, + dataTypes = dataTypeExpression.toLowerCase().match( rnothtmlwhite ) || []; + + if ( isFunction( func ) ) { + + // For each dataType in the dataTypeExpression + while ( ( dataType = dataTypes[ i++ ] ) ) { + + // Prepend if requested + if ( dataType[ 0 ] === "+" ) { + dataType = dataType.slice( 1 ) || "*"; + ( structure[ dataType ] = structure[ dataType ] || [] ).unshift( func ); + + // Otherwise append + } else { + ( structure[ dataType ] = structure[ dataType ] || [] ).push( func ); + } + } + } + }; +} + +// Base inspection function for prefilters and transports +function inspectPrefiltersOrTransports( structure, options, originalOptions, jqXHR ) { + + var inspected = {}, + seekingTransport = ( structure === transports ); + + function inspect( dataType ) { + var selected; + inspected[ dataType ] = true; + jQuery.each( structure[ dataType ] || [], function( _, prefilterOrFactory ) { + var dataTypeOrTransport = prefilterOrFactory( options, originalOptions, jqXHR ); + if ( typeof dataTypeOrTransport === "string" && + !seekingTransport && !inspected[ dataTypeOrTransport ] ) { + + options.dataTypes.unshift( dataTypeOrTransport ); + inspect( dataTypeOrTransport ); + return false; + } else if ( seekingTransport ) { + return !( selected = dataTypeOrTransport ); + } + } ); + return selected; + } + + return inspect( options.dataTypes[ 0 ] ) || !inspected[ "*" ] && inspect( "*" ); +} + +// A special extend for ajax options +// that takes "flat" options (not to be deep extended) +// Fixes #9887 +function ajaxExtend( target, src ) { + var key, deep, + flatOptions = jQuery.ajaxSettings.flatOptions || {}; + + for ( key in src ) { + if ( src[ key ] !== undefined ) { + ( flatOptions[ key ] ? target : ( deep || ( deep = {} ) ) )[ key ] = src[ key ]; + } + } + if ( deep ) { + jQuery.extend( true, target, deep ); + } + + return target; +} + +/* Handles responses to an ajax request: + * - finds the right dataType (mediates between content-type and expected dataType) + * - returns the corresponding response + */ +function ajaxHandleResponses( s, jqXHR, responses ) { + + var ct, type, finalDataType, firstDataType, + contents = s.contents, + dataTypes = s.dataTypes; + + // Remove auto dataType and get content-type in the process + while ( dataTypes[ 0 ] === "*" ) { + dataTypes.shift(); + if ( ct === undefined ) { + ct = s.mimeType || jqXHR.getResponseHeader( "Content-Type" ); + } + } + + // Check if we're dealing with a known content-type + if ( ct ) { + for ( type in contents ) { + if ( contents[ type ] && contents[ type ].test( ct ) ) { + dataTypes.unshift( type ); + break; + } + } + } + + // Check to see if we have a response for the expected dataType + if ( dataTypes[ 0 ] in responses ) { + finalDataType = dataTypes[ 0 ]; + } else { + + // Try convertible dataTypes + for ( type in responses ) { + if ( !dataTypes[ 0 ] || s.converters[ type + " " + dataTypes[ 0 ] ] ) { + finalDataType = type; + break; + } + if ( !firstDataType ) { + firstDataType = type; + } + } + + // Or just use first one + finalDataType = finalDataType || firstDataType; + } + + // If we found a dataType + // We add the dataType to the list if needed + // and return the corresponding response + if ( finalDataType ) { + if ( finalDataType !== dataTypes[ 0 ] ) { + dataTypes.unshift( finalDataType ); + } + return responses[ finalDataType ]; + } +} + +/* Chain conversions given the request and the original response + * Also sets the responseXXX fields on the jqXHR instance + */ +function ajaxConvert( s, response, jqXHR, isSuccess ) { + var conv2, current, conv, tmp, prev, + converters = {}, + + // Work with a copy of dataTypes in case we need to modify it for conversion + dataTypes = s.dataTypes.slice(); + + // Create converters map with lowercased keys + if ( dataTypes[ 1 ] ) { + for ( conv in s.converters ) { + converters[ conv.toLowerCase() ] = s.converters[ conv ]; + } + } + + current = dataTypes.shift(); + + // Convert to each sequential dataType + while ( current ) { + + if ( s.responseFields[ current ] ) { + jqXHR[ s.responseFields[ current ] ] = response; + } + + // Apply the dataFilter if provided + if ( !prev && isSuccess && s.dataFilter ) { + response = s.dataFilter( response, s.dataType ); + } + + prev = current; + current = dataTypes.shift(); + + if ( current ) { + + // There's only work to do if current dataType is non-auto + if ( current === "*" ) { + + current = prev; + + // Convert response if prev dataType is non-auto and differs from current + } else if ( prev !== "*" && prev !== current ) { + + // Seek a direct converter + conv = converters[ prev + " " + current ] || converters[ "* " + current ]; + + // If none found, seek a pair + if ( !conv ) { + for ( conv2 in converters ) { + + // If conv2 outputs current + tmp = conv2.split( " " ); + if ( tmp[ 1 ] === current ) { + + // If prev can be converted to accepted input + conv = converters[ prev + " " + tmp[ 0 ] ] || + converters[ "* " + tmp[ 0 ] ]; + if ( conv ) { + + // Condense equivalence converters + if ( conv === true ) { + conv = converters[ conv2 ]; + + // Otherwise, insert the intermediate dataType + } else if ( converters[ conv2 ] !== true ) { + current = tmp[ 0 ]; + dataTypes.unshift( tmp[ 1 ] ); + } + break; + } + } + } + } + + // Apply converter (if not an equivalence) + if ( conv !== true ) { + + // Unless errors are allowed to bubble, catch and return them + if ( conv && s.throws ) { + response = conv( response ); + } else { + try { + response = conv( response ); + } catch ( e ) { + return { + state: "parsererror", + error: conv ? e : "No conversion from " + prev + " to " + current + }; + } + } + } + } + } + } + + return { state: "success", data: response }; +} + +jQuery.extend( { + + // Counter for holding the number of active queries + active: 0, + + // Last-Modified header cache for next request + lastModified: {}, + etag: {}, + + ajaxSettings: { + url: location.href, + type: "GET", + isLocal: rlocalProtocol.test( location.protocol ), + global: true, + processData: true, + async: true, + contentType: "application/x-www-form-urlencoded; charset=UTF-8", + + /* + timeout: 0, + data: null, + dataType: null, + username: null, + password: null, + cache: null, + throws: false, + traditional: false, + headers: {}, + */ + + accepts: { + "*": allTypes, + text: "text/plain", + html: "text/html", + xml: "application/xml, text/xml", + json: "application/json, text/javascript" + }, + + contents: { + xml: /\bxml\b/, + html: /\bhtml/, + json: /\bjson\b/ + }, + + responseFields: { + xml: "responseXML", + text: "responseText", + json: "responseJSON" + }, + + // Data converters + // Keys separate source (or catchall "*") and destination types with a single space + converters: { + + // Convert anything to text + "* text": String, + + // Text to html (true = no transformation) + "text html": true, + + // Evaluate text as a json expression + "text json": JSON.parse, + + // Parse text as xml + "text xml": jQuery.parseXML + }, + + // For options that shouldn't be deep extended: + // you can add your own custom options here if + // and when you create one that shouldn't be + // deep extended (see ajaxExtend) + flatOptions: { + url: true, + context: true + } + }, + + // Creates a full fledged settings object into target + // with both ajaxSettings and settings fields. + // If target is omitted, writes into ajaxSettings. + ajaxSetup: function( target, settings ) { + return settings ? + + // Building a settings object + ajaxExtend( ajaxExtend( target, jQuery.ajaxSettings ), settings ) : + + // Extending ajaxSettings + ajaxExtend( jQuery.ajaxSettings, target ); + }, + + ajaxPrefilter: addToPrefiltersOrTransports( prefilters ), + ajaxTransport: addToPrefiltersOrTransports( transports ), + + // Main method + ajax: function( url, options ) { + + // If url is an object, simulate pre-1.5 signature + if ( typeof url === "object" ) { + options = url; + url = undefined; + } + + // Force options to be an object + options = options || {}; + + var transport, + + // URL without anti-cache param + cacheURL, + + // Response headers + responseHeadersString, + responseHeaders, + + // timeout handle + timeoutTimer, + + // Url cleanup var + urlAnchor, + + // Request state (becomes false upon send and true upon completion) + completed, + + // To know if global events are to be dispatched + fireGlobals, + + // Loop variable + i, + + // uncached part of the url + uncached, + + // Create the final options object + s = jQuery.ajaxSetup( {}, options ), + + // Callbacks context + callbackContext = s.context || s, + + // Context for global events is callbackContext if it is a DOM node or jQuery collection + globalEventContext = s.context && + ( callbackContext.nodeType || callbackContext.jquery ) ? + jQuery( callbackContext ) : + jQuery.event, + + // Deferreds + deferred = jQuery.Deferred(), + completeDeferred = jQuery.Callbacks( "once memory" ), + + // Status-dependent callbacks + statusCode = s.statusCode || {}, + + // Headers (they are sent all at once) + requestHeaders = {}, + requestHeadersNames = {}, + + // Default abort message + strAbort = "canceled", + + // Fake xhr + jqXHR = { + readyState: 0, + + // Builds headers hashtable if needed + getResponseHeader: function( key ) { + var match; + if ( completed ) { + if ( !responseHeaders ) { + responseHeaders = {}; + while ( ( match = rheaders.exec( responseHeadersString ) ) ) { + responseHeaders[ match[ 1 ].toLowerCase() ] = match[ 2 ]; + } + } + match = responseHeaders[ key.toLowerCase() ]; + } + return match == null ? null : match; + }, + + // Raw string + getAllResponseHeaders: function() { + return completed ? responseHeadersString : null; + }, + + // Caches the header + setRequestHeader: function( name, value ) { + if ( completed == null ) { + name = requestHeadersNames[ name.toLowerCase() ] = + requestHeadersNames[ name.toLowerCase() ] || name; + requestHeaders[ name ] = value; + } + return this; + }, + + // Overrides response content-type header + overrideMimeType: function( type ) { + if ( completed == null ) { + s.mimeType = type; + } + return this; + }, + + // Status-dependent callbacks + statusCode: function( map ) { + var code; + if ( map ) { + if ( completed ) { + + // Execute the appropriate callbacks + jqXHR.always( map[ jqXHR.status ] ); + } else { + + // Lazy-add the new callbacks in a way that preserves old ones + for ( code in map ) { + statusCode[ code ] = [ statusCode[ code ], map[ code ] ]; + } + } + } + return this; + }, + + // Cancel the request + abort: function( statusText ) { + var finalText = statusText || strAbort; + if ( transport ) { + transport.abort( finalText ); + } + done( 0, finalText ); + return this; + } + }; + + // Attach deferreds + deferred.promise( jqXHR ); + + // Add protocol if not provided (prefilters might expect it) + // Handle falsy url in the settings object (#10093: consistency with old signature) + // We also use the url parameter if available + s.url = ( ( url || s.url || location.href ) + "" ) + .replace( rprotocol, location.protocol + "//" ); + + // Alias method option to type as per ticket #12004 + s.type = options.method || options.type || s.method || s.type; + + // Extract dataTypes list + s.dataTypes = ( s.dataType || "*" ).toLowerCase().match( rnothtmlwhite ) || [ "" ]; + + // A cross-domain request is in order when the origin doesn't match the current origin. + if ( s.crossDomain == null ) { + urlAnchor = document.createElement( "a" ); + + // Support: IE <=8 - 11, Edge 12 - 15 + // IE throws exception on accessing the href property if url is malformed, + // e.g. http://example.com:80x/ + try { + urlAnchor.href = s.url; + + // Support: IE <=8 - 11 only + // Anchor's host property isn't correctly set when s.url is relative + urlAnchor.href = urlAnchor.href; + s.crossDomain = originAnchor.protocol + "//" + originAnchor.host !== + urlAnchor.protocol + "//" + urlAnchor.host; + } catch ( e ) { + + // If there is an error parsing the URL, assume it is crossDomain, + // it can be rejected by the transport if it is invalid + s.crossDomain = true; + } + } + + // Convert data if not already a string + if ( s.data && s.processData && typeof s.data !== "string" ) { + s.data = jQuery.param( s.data, s.traditional ); + } + + // Apply prefilters + inspectPrefiltersOrTransports( prefilters, s, options, jqXHR ); + + // If request was aborted inside a prefilter, stop there + if ( completed ) { + return jqXHR; + } + + // We can fire global events as of now if asked to + // Don't fire events if jQuery.event is undefined in an AMD-usage scenario (#15118) + fireGlobals = jQuery.event && s.global; + + // Watch for a new set of requests + if ( fireGlobals && jQuery.active++ === 0 ) { + jQuery.event.trigger( "ajaxStart" ); + } + + // Uppercase the type + s.type = s.type.toUpperCase(); + + // Determine if request has content + s.hasContent = !rnoContent.test( s.type ); + + // Save the URL in case we're toying with the If-Modified-Since + // and/or If-None-Match header later on + // Remove hash to simplify url manipulation + cacheURL = s.url.replace( rhash, "" ); + + // More options handling for requests with no content + if ( !s.hasContent ) { + + // Remember the hash so we can put it back + uncached = s.url.slice( cacheURL.length ); + + // If data is available and should be processed, append data to url + if ( s.data && ( s.processData || typeof s.data === "string" ) ) { + cacheURL += ( rquery.test( cacheURL ) ? "&" : "?" ) + s.data; + + // #9682: remove data so that it's not used in an eventual retry + delete s.data; + } + + // Add or update anti-cache param if needed + if ( s.cache === false ) { + cacheURL = cacheURL.replace( rantiCache, "$1" ); + uncached = ( rquery.test( cacheURL ) ? "&" : "?" ) + "_=" + ( nonce++ ) + uncached; + } + + // Put hash and anti-cache on the URL that will be requested (gh-1732) + s.url = cacheURL + uncached; + + // Change '%20' to '+' if this is encoded form body content (gh-2658) + } else if ( s.data && s.processData && + ( s.contentType || "" ).indexOf( "application/x-www-form-urlencoded" ) === 0 ) { + s.data = s.data.replace( r20, "+" ); + } + + // Set the If-Modified-Since and/or If-None-Match header, if in ifModified mode. + if ( s.ifModified ) { + if ( jQuery.lastModified[ cacheURL ] ) { + jqXHR.setRequestHeader( "If-Modified-Since", jQuery.lastModified[ cacheURL ] ); + } + if ( jQuery.etag[ cacheURL ] ) { + jqXHR.setRequestHeader( "If-None-Match", jQuery.etag[ cacheURL ] ); + } + } + + // Set the correct header, if data is being sent + if ( s.data && s.hasContent && s.contentType !== false || options.contentType ) { + jqXHR.setRequestHeader( "Content-Type", s.contentType ); + } + + // Set the Accepts header for the server, depending on the dataType + jqXHR.setRequestHeader( + "Accept", + s.dataTypes[ 0 ] && s.accepts[ s.dataTypes[ 0 ] ] ? + s.accepts[ s.dataTypes[ 0 ] ] + + ( s.dataTypes[ 0 ] !== "*" ? ", " + allTypes + "; q=0.01" : "" ) : + s.accepts[ "*" ] + ); + + // Check for headers option + for ( i in s.headers ) { + jqXHR.setRequestHeader( i, s.headers[ i ] ); + } + + // Allow custom headers/mimetypes and early abort + if ( s.beforeSend && + ( s.beforeSend.call( callbackContext, jqXHR, s ) === false || completed ) ) { + + // Abort if not done already and return + return jqXHR.abort(); + } + + // Aborting is no longer a cancellation + strAbort = "abort"; + + // Install callbacks on deferreds + completeDeferred.add( s.complete ); + jqXHR.done( s.success ); + jqXHR.fail( s.error ); + + // Get transport + transport = inspectPrefiltersOrTransports( transports, s, options, jqXHR ); + + // If no transport, we auto-abort + if ( !transport ) { + done( -1, "No Transport" ); + } else { + jqXHR.readyState = 1; + + // Send global event + if ( fireGlobals ) { + globalEventContext.trigger( "ajaxSend", [ jqXHR, s ] ); + } + + // If request was aborted inside ajaxSend, stop there + if ( completed ) { + return jqXHR; + } + + // Timeout + if ( s.async && s.timeout > 0 ) { + timeoutTimer = window.setTimeout( function() { + jqXHR.abort( "timeout" ); + }, s.timeout ); + } + + try { + completed = false; + transport.send( requestHeaders, done ); + } catch ( e ) { + + // Rethrow post-completion exceptions + if ( completed ) { + throw e; + } + + // Propagate others as results + done( -1, e ); + } + } + + // Callback for when everything is done + function done( status, nativeStatusText, responses, headers ) { + var isSuccess, success, error, response, modified, + statusText = nativeStatusText; + + // Ignore repeat invocations + if ( completed ) { + return; + } + + completed = true; + + // Clear timeout if it exists + if ( timeoutTimer ) { + window.clearTimeout( timeoutTimer ); + } + + // Dereference transport for early garbage collection + // (no matter how long the jqXHR object will be used) + transport = undefined; + + // Cache response headers + responseHeadersString = headers || ""; + + // Set readyState + jqXHR.readyState = status > 0 ? 4 : 0; + + // Determine if successful + isSuccess = status >= 200 && status < 300 || status === 304; + + // Get response data + if ( responses ) { + response = ajaxHandleResponses( s, jqXHR, responses ); + } + + // Convert no matter what (that way responseXXX fields are always set) + response = ajaxConvert( s, response, jqXHR, isSuccess ); + + // If successful, handle type chaining + if ( isSuccess ) { + + // Set the If-Modified-Since and/or If-None-Match header, if in ifModified mode. + if ( s.ifModified ) { + modified = jqXHR.getResponseHeader( "Last-Modified" ); + if ( modified ) { + jQuery.lastModified[ cacheURL ] = modified; + } + modified = jqXHR.getResponseHeader( "etag" ); + if ( modified ) { + jQuery.etag[ cacheURL ] = modified; + } + } + + // if no content + if ( status === 204 || s.type === "HEAD" ) { + statusText = "nocontent"; + + // if not modified + } else if ( status === 304 ) { + statusText = "notmodified"; + + // If we have data, let's convert it + } else { + statusText = response.state; + success = response.data; + error = response.error; + isSuccess = !error; + } + } else { + + // Extract error from statusText and normalize for non-aborts + error = statusText; + if ( status || !statusText ) { + statusText = "error"; + if ( status < 0 ) { + status = 0; + } + } + } + + // Set data for the fake xhr object + jqXHR.status = status; + jqXHR.statusText = ( nativeStatusText || statusText ) + ""; + + // Success/Error + if ( isSuccess ) { + deferred.resolveWith( callbackContext, [ success, statusText, jqXHR ] ); + } else { + deferred.rejectWith( callbackContext, [ jqXHR, statusText, error ] ); + } + + // Status-dependent callbacks + jqXHR.statusCode( statusCode ); + statusCode = undefined; + + if ( fireGlobals ) { + globalEventContext.trigger( isSuccess ? "ajaxSuccess" : "ajaxError", + [ jqXHR, s, isSuccess ? success : error ] ); + } + + // Complete + completeDeferred.fireWith( callbackContext, [ jqXHR, statusText ] ); + + if ( fireGlobals ) { + globalEventContext.trigger( "ajaxComplete", [ jqXHR, s ] ); + + // Handle the global AJAX counter + if ( !( --jQuery.active ) ) { + jQuery.event.trigger( "ajaxStop" ); + } + } + } + + return jqXHR; + }, + + getJSON: function( url, data, callback ) { + return jQuery.get( url, data, callback, "json" ); + }, + + getScript: function( url, callback ) { + return jQuery.get( url, undefined, callback, "script" ); + } +} ); + +jQuery.each( [ "get", "post" ], function( i, method ) { + jQuery[ method ] = function( url, data, callback, type ) { + + // Shift arguments if data argument was omitted + if ( isFunction( data ) ) { + type = type || callback; + callback = data; + data = undefined; + } + + // The url can be an options object (which then must have .url) + return jQuery.ajax( jQuery.extend( { + url: url, + type: method, + dataType: type, + data: data, + success: callback + }, jQuery.isPlainObject( url ) && url ) ); + }; +} ); + + +jQuery._evalUrl = function( url ) { + return jQuery.ajax( { + url: url, + + // Make this explicit, since user can override this through ajaxSetup (#11264) + type: "GET", + dataType: "script", + cache: true, + async: false, + global: false, + "throws": true + } ); +}; + + +jQuery.fn.extend( { + wrapAll: function( html ) { + var wrap; + + if ( this[ 0 ] ) { + if ( isFunction( html ) ) { + html = html.call( this[ 0 ] ); + } + + // The elements to wrap the target around + wrap = jQuery( html, this[ 0 ].ownerDocument ).eq( 0 ).clone( true ); + + if ( this[ 0 ].parentNode ) { + wrap.insertBefore( this[ 0 ] ); + } + + wrap.map( function() { + var elem = this; + + while ( elem.firstElementChild ) { + elem = elem.firstElementChild; + } + + return elem; + } ).append( this ); + } + + return this; + }, + + wrapInner: function( html ) { + if ( isFunction( html ) ) { + return this.each( function( i ) { + jQuery( this ).wrapInner( html.call( this, i ) ); + } ); + } + + return this.each( function() { + var self = jQuery( this ), + contents = self.contents(); + + if ( contents.length ) { + contents.wrapAll( html ); + + } else { + self.append( html ); + } + } ); + }, + + wrap: function( html ) { + var htmlIsFunction = isFunction( html ); + + return this.each( function( i ) { + jQuery( this ).wrapAll( htmlIsFunction ? html.call( this, i ) : html ); + } ); + }, + + unwrap: function( selector ) { + this.parent( selector ).not( "body" ).each( function() { + jQuery( this ).replaceWith( this.childNodes ); + } ); + return this; + } +} ); + + +jQuery.expr.pseudos.hidden = function( elem ) { + return !jQuery.expr.pseudos.visible( elem ); +}; +jQuery.expr.pseudos.visible = function( elem ) { + return !!( elem.offsetWidth || elem.offsetHeight || elem.getClientRects().length ); +}; + + + + +jQuery.ajaxSettings.xhr = function() { + try { + return new window.XMLHttpRequest(); + } catch ( e ) {} +}; + +var xhrSuccessStatus = { + + // File protocol always yields status code 0, assume 200 + 0: 200, + + // Support: IE <=9 only + // #1450: sometimes IE returns 1223 when it should be 204 + 1223: 204 + }, + xhrSupported = jQuery.ajaxSettings.xhr(); + +support.cors = !!xhrSupported && ( "withCredentials" in xhrSupported ); +support.ajax = xhrSupported = !!xhrSupported; + +jQuery.ajaxTransport( function( options ) { + var callback, errorCallback; + + // Cross domain only allowed if supported through XMLHttpRequest + if ( support.cors || xhrSupported && !options.crossDomain ) { + return { + send: function( headers, complete ) { + var i, + xhr = options.xhr(); + + xhr.open( + options.type, + options.url, + options.async, + options.username, + options.password + ); + + // Apply custom fields if provided + if ( options.xhrFields ) { + for ( i in options.xhrFields ) { + xhr[ i ] = options.xhrFields[ i ]; + } + } + + // Override mime type if needed + if ( options.mimeType && xhr.overrideMimeType ) { + xhr.overrideMimeType( options.mimeType ); + } + + // X-Requested-With header + // For cross-domain requests, seeing as conditions for a preflight are + // akin to a jigsaw puzzle, we simply never set it to be sure. + // (it can always be set on a per-request basis or even using ajaxSetup) + // For same-domain requests, won't change header if already provided. + if ( !options.crossDomain && !headers[ "X-Requested-With" ] ) { + headers[ "X-Requested-With" ] = "XMLHttpRequest"; + } + + // Set headers + for ( i in headers ) { + xhr.setRequestHeader( i, headers[ i ] ); + } + + // Callback + callback = function( type ) { + return function() { + if ( callback ) { + callback = errorCallback = xhr.onload = + xhr.onerror = xhr.onabort = xhr.ontimeout = + xhr.onreadystatechange = null; + + if ( type === "abort" ) { + xhr.abort(); + } else if ( type === "error" ) { + + // Support: IE <=9 only + // On a manual native abort, IE9 throws + // errors on any property access that is not readyState + if ( typeof xhr.status !== "number" ) { + complete( 0, "error" ); + } else { + complete( + + // File: protocol always yields status 0; see #8605, #14207 + xhr.status, + xhr.statusText + ); + } + } else { + complete( + xhrSuccessStatus[ xhr.status ] || xhr.status, + xhr.statusText, + + // Support: IE <=9 only + // IE9 has no XHR2 but throws on binary (trac-11426) + // For XHR2 non-text, let the caller handle it (gh-2498) + ( xhr.responseType || "text" ) !== "text" || + typeof xhr.responseText !== "string" ? + { binary: xhr.response } : + { text: xhr.responseText }, + xhr.getAllResponseHeaders() + ); + } + } + }; + }; + + // Listen to events + xhr.onload = callback(); + errorCallback = xhr.onerror = xhr.ontimeout = callback( "error" ); + + // Support: IE 9 only + // Use onreadystatechange to replace onabort + // to handle uncaught aborts + if ( xhr.onabort !== undefined ) { + xhr.onabort = errorCallback; + } else { + xhr.onreadystatechange = function() { + + // Check readyState before timeout as it changes + if ( xhr.readyState === 4 ) { + + // Allow onerror to be called first, + // but that will not handle a native abort + // Also, save errorCallback to a variable + // as xhr.onerror cannot be accessed + window.setTimeout( function() { + if ( callback ) { + errorCallback(); + } + } ); + } + }; + } + + // Create the abort callback + callback = callback( "abort" ); + + try { + + // Do send the request (this may raise an exception) + xhr.send( options.hasContent && options.data || null ); + } catch ( e ) { + + // #14683: Only rethrow if this hasn't been notified as an error yet + if ( callback ) { + throw e; + } + } + }, + + abort: function() { + if ( callback ) { + callback(); + } + } + }; + } +} ); + + + + +// Prevent auto-execution of scripts when no explicit dataType was provided (See gh-2432) +jQuery.ajaxPrefilter( function( s ) { + if ( s.crossDomain ) { + s.contents.script = false; + } +} ); + +// Install script dataType +jQuery.ajaxSetup( { + accepts: { + script: "text/javascript, application/javascript, " + + "application/ecmascript, application/x-ecmascript" + }, + contents: { + script: /\b(?:java|ecma)script\b/ + }, + converters: { + "text script": function( text ) { + jQuery.globalEval( text ); + return text; + } + } +} ); + +// Handle cache's special case and crossDomain +jQuery.ajaxPrefilter( "script", function( s ) { + if ( s.cache === undefined ) { + s.cache = false; + } + if ( s.crossDomain ) { + s.type = "GET"; + } +} ); + +// Bind script tag hack transport +jQuery.ajaxTransport( "script", function( s ) { + + // This transport only deals with cross domain requests + if ( s.crossDomain ) { + var script, callback; + return { + send: function( _, complete ) { + script = jQuery( "\r\n"; + +// inject VBScript +document.write(IEBinaryToArray_ByteStr_Script); + +global.JSZipUtils._getBinaryFromXHR = function (xhr) { + var binary = xhr.responseBody; + var byteMapping = {}; + for ( var i = 0; i < 256; i++ ) { + for ( var j = 0; j < 256; j++ ) { + byteMapping[ String.fromCharCode( i + (j << 8) ) ] = + String.fromCharCode(i) + String.fromCharCode(j); + } + } + var rawBytes = IEBinaryToArray_ByteStr(binary); + var lastChr = IEBinaryToArray_ByteStr_Last(binary); + return rawBytes.replace(/[\s\S]/g, function( match ) { + return byteMapping[match]; + }) + lastChr; +}; + +// enforcing Stuk's coding style +// vim: set shiftwidth=4 softtabstop=4: + +},{}]},{},[1]) +; diff --git a/apidocs/1.19/jquery/jszip-utils/dist/jszip-utils-ie.min.js b/apidocs/1.19/jquery/jszip-utils/dist/jszip-utils-ie.min.js new file mode 100644 index 00000000..93d8bc8e --- /dev/null +++ b/apidocs/1.19/jquery/jszip-utils/dist/jszip-utils-ie.min.js @@ -0,0 +1,10 @@ +/*! + +JSZipUtils - A collection of cross-browser utilities to go along with JSZip. + + +(c) 2014 Stuart Knightley, David Duponchel +Dual licenced under the MIT license or GPLv3. See https://raw.github.com/Stuk/jszip-utils/master/LICENSE.markdown. + +*/ +!function a(b,c,d){function e(g,h){if(!c[g]){if(!b[g]){var i="function"==typeof require&&require;if(!h&&i)return i(g,!0);if(f)return f(g,!0);throw new Error("Cannot find module '"+g+"'")}var j=c[g]={exports:{}};b[g][0].call(j.exports,function(a){var c=b[g][1][a];return e(c?c:a)},j,j.exports,a,b,c,d)}return c[g].exports}for(var f="function"==typeof require&&require,g=0;g\r\n";document.write(b),a.JSZipUtils._getBinaryFromXHR=function(a){for(var b=a.responseBody,c={},d=0;256>d;d++)for(var e=0;256>e;e++)c[String.fromCharCode(d+(e<<8))]=String.fromCharCode(d)+String.fromCharCode(e);var f=IEBinaryToArray_ByteStr(b),g=IEBinaryToArray_ByteStr_Last(b);return f.replace(/[\s\S]/g,function(a){return c[a]})+g}},{}]},{},[1]); diff --git a/apidocs/1.19/jquery/jszip-utils/dist/jszip-utils.js b/apidocs/1.19/jquery/jszip-utils/dist/jszip-utils.js new file mode 100644 index 00000000..775895ec --- /dev/null +++ b/apidocs/1.19/jquery/jszip-utils/dist/jszip-utils.js @@ -0,0 +1,118 @@ +/*! + +JSZipUtils - A collection of cross-browser utilities to go along with JSZip. + + +(c) 2014 Stuart Knightley, David Duponchel +Dual licenced under the MIT license or GPLv3. See https://raw.github.com/Stuk/jszip-utils/master/LICENSE.markdown. + +*/ +!function(e){"object"==typeof exports?module.exports=e():"function"==typeof define&&define.amd?define(e):"undefined"!=typeof window?window.JSZipUtils=e():"undefined"!=typeof global?global.JSZipUtils=e():"undefined"!=typeof self&&(self.JSZipUtils=e())}(function(){var define,module,exports;return (function e(t,n,r){function s(o,u){if(!n[o]){if(!t[o]){var a=typeof require=="function"&&require;if(!u&&a)return a(o,!0);if(i)return i(o,!0);throw new Error("Cannot find module '"+o+"'")}var f=n[o]={exports:{}};t[o][0].call(f.exports,function(e){var n=t[o][1][e];return s(n?n:e)},f,f.exports,e,t,n,r)}return n[o].exports}var i=typeof require=="function"&&require;for(var o=0;o + +(c) 2014 Stuart Knightley, David Duponchel +Dual licenced under the MIT license or GPLv3. See https://raw.github.com/Stuk/jszip-utils/master/LICENSE.markdown. + +*/ +!function(a){"object"==typeof exports?module.exports=a():"function"==typeof define&&define.amd?define(a):"undefined"!=typeof window?window.JSZipUtils=a():"undefined"!=typeof global?global.JSZipUtils=a():"undefined"!=typeof self&&(self.JSZipUtils=a())}(function(){return function a(b,c,d){function e(g,h){if(!c[g]){if(!b[g]){var i="function"==typeof require&&require;if(!h&&i)return i(g,!0);if(f)return f(g,!0);throw new Error("Cannot find module '"+g+"'")}var j=c[g]={exports:{}};b[g][0].call(j.exports,function(a){var c=b[g][1][a];return e(c?c:a)},j,j.exports,a,b,c,d)}return c[g].exports}for(var f="function"==typeof require&&require,g=0;g + +(c) 2009-2016 Stuart Knightley +Dual licenced under the MIT license or GPLv3. See https://raw.github.com/Stuk/jszip/master/LICENSE.markdown. + +JSZip uses the library pako released under the MIT license : +https://github.com/nodeca/pako/blob/master/LICENSE +*/ + +(function(f){if(typeof exports==="object"&&typeof module!=="undefined"){module.exports=f()}else if(typeof define==="function"&&define.amd){define([],f)}else{var g;if(typeof window!=="undefined"){g=window}else if(typeof global!=="undefined"){g=global}else if(typeof self!=="undefined"){g=self}else{g=this}g.JSZip = f()}})(function(){var define,module,exports;return (function e(t,n,r){function s(o,u){if(!n[o]){if(!t[o]){var a=typeof require=="function"&&require;if(!u&&a)return a(o,!0);if(i)return i(o,!0);var f=new Error("Cannot find module '"+o+"'");throw f.code="MODULE_NOT_FOUND",f}var l=n[o]={exports:{}};t[o][0].call(l.exports,function(e){var n=t[o][1][e];return s(n?n:e)},l,l.exports,e,t,n,r)}return n[o].exports}var i=typeof require=="function"&&require;for(var o=0;o> 2; + enc2 = ((chr1 & 3) << 4) | (chr2 >> 4); + enc3 = remainingBytes > 1 ? (((chr2 & 15) << 2) | (chr3 >> 6)) : 64; + enc4 = remainingBytes > 2 ? (chr3 & 63) : 64; + + output.push(_keyStr.charAt(enc1) + _keyStr.charAt(enc2) + _keyStr.charAt(enc3) + _keyStr.charAt(enc4)); + + } + + return output.join(""); +}; + +// public method for decoding +exports.decode = function(input) { + var chr1, chr2, chr3; + var enc1, enc2, enc3, enc4; + var i = 0, resultIndex = 0; + + var dataUrlPrefix = "data:"; + + if (input.substr(0, dataUrlPrefix.length) === dataUrlPrefix) { + // This is a common error: people give a data url + // (data:image/png;base64,iVBOR...) with a {base64: true} and + // wonders why things don't work. + // We can detect that the string input looks like a data url but we + // *can't* be sure it is one: removing everything up to the comma would + // be too dangerous. + throw new Error("Invalid base64 input, it looks like a data url."); + } + + input = input.replace(/[^A-Za-z0-9\+\/\=]/g, ""); + + var totalLength = input.length * 3 / 4; + if(input.charAt(input.length - 1) === _keyStr.charAt(64)) { + totalLength--; + } + if(input.charAt(input.length - 2) === _keyStr.charAt(64)) { + totalLength--; + } + if (totalLength % 1 !== 0) { + // totalLength is not an integer, the length does not match a valid + // base64 content. That can happen if: + // - the input is not a base64 content + // - the input is *almost* a base64 content, with a extra chars at the + // beginning or at the end + // - the input uses a base64 variant (base64url for example) + throw new Error("Invalid base64 input, bad content length."); + } + var output; + if (support.uint8array) { + output = new Uint8Array(totalLength|0); + } else { + output = new Array(totalLength|0); + } + + while (i < input.length) { + + enc1 = _keyStr.indexOf(input.charAt(i++)); + enc2 = _keyStr.indexOf(input.charAt(i++)); + enc3 = _keyStr.indexOf(input.charAt(i++)); + enc4 = _keyStr.indexOf(input.charAt(i++)); + + chr1 = (enc1 << 2) | (enc2 >> 4); + chr2 = ((enc2 & 15) << 4) | (enc3 >> 2); + chr3 = ((enc3 & 3) << 6) | enc4; + + output[resultIndex++] = chr1; + + if (enc3 !== 64) { + output[resultIndex++] = chr2; + } + if (enc4 !== 64) { + output[resultIndex++] = chr3; + } + + } + + return output; +}; + +},{"./support":30,"./utils":32}],2:[function(require,module,exports){ +'use strict'; + +var external = require("./external"); +var DataWorker = require('./stream/DataWorker'); +var DataLengthProbe = require('./stream/DataLengthProbe'); +var Crc32Probe = require('./stream/Crc32Probe'); +var DataLengthProbe = require('./stream/DataLengthProbe'); + +/** + * Represent a compressed object, with everything needed to decompress it. + * @constructor + * @param {number} compressedSize the size of the data compressed. + * @param {number} uncompressedSize the size of the data after decompression. + * @param {number} crc32 the crc32 of the decompressed file. + * @param {object} compression the type of compression, see lib/compressions.js. + * @param {String|ArrayBuffer|Uint8Array|Buffer} data the compressed data. + */ +function CompressedObject(compressedSize, uncompressedSize, crc32, compression, data) { + this.compressedSize = compressedSize; + this.uncompressedSize = uncompressedSize; + this.crc32 = crc32; + this.compression = compression; + this.compressedContent = data; +} + +CompressedObject.prototype = { + /** + * Create a worker to get the uncompressed content. + * @return {GenericWorker} the worker. + */ + getContentWorker : function () { + var worker = new DataWorker(external.Promise.resolve(this.compressedContent)) + .pipe(this.compression.uncompressWorker()) + .pipe(new DataLengthProbe("data_length")); + + var that = this; + worker.on("end", function () { + if(this.streamInfo['data_length'] !== that.uncompressedSize) { + throw new Error("Bug : uncompressed data size mismatch"); + } + }); + return worker; + }, + /** + * Create a worker to get the compressed content. + * @return {GenericWorker} the worker. + */ + getCompressedWorker : function () { + return new DataWorker(external.Promise.resolve(this.compressedContent)) + .withStreamInfo("compressedSize", this.compressedSize) + .withStreamInfo("uncompressedSize", this.uncompressedSize) + .withStreamInfo("crc32", this.crc32) + .withStreamInfo("compression", this.compression) + ; + } +}; + +/** + * Chain the given worker with other workers to compress the content with the + * given compresion. + * @param {GenericWorker} uncompressedWorker the worker to pipe. + * @param {Object} compression the compression object. + * @param {Object} compressionOptions the options to use when compressing. + * @return {GenericWorker} the new worker compressing the content. + */ +CompressedObject.createWorkerFrom = function (uncompressedWorker, compression, compressionOptions) { + return uncompressedWorker + .pipe(new Crc32Probe()) + .pipe(new DataLengthProbe("uncompressedSize")) + .pipe(compression.compressWorker(compressionOptions)) + .pipe(new DataLengthProbe("compressedSize")) + .withStreamInfo("compression", compression); +}; + +module.exports = CompressedObject; + +},{"./external":6,"./stream/Crc32Probe":25,"./stream/DataLengthProbe":26,"./stream/DataWorker":27}],3:[function(require,module,exports){ +'use strict'; + +var GenericWorker = require("./stream/GenericWorker"); + +exports.STORE = { + magic: "\x00\x00", + compressWorker : function (compressionOptions) { + return new GenericWorker("STORE compression"); + }, + uncompressWorker : function () { + return new GenericWorker("STORE decompression"); + } +}; +exports.DEFLATE = require('./flate'); + +},{"./flate":7,"./stream/GenericWorker":28}],4:[function(require,module,exports){ +'use strict'; + +var utils = require('./utils'); + +/** + * The following functions come from pako, from pako/lib/zlib/crc32.js + * released under the MIT license, see pako https://github.com/nodeca/pako/ + */ + +// Use ordinary array, since untyped makes no boost here +function makeTable() { + var c, table = []; + + for(var n =0; n < 256; n++){ + c = n; + for(var k =0; k < 8; k++){ + c = ((c&1) ? (0xEDB88320 ^ (c >>> 1)) : (c >>> 1)); + } + table[n] = c; + } + + return table; +} + +// Create table on load. Just 255 signed longs. Not a problem. +var crcTable = makeTable(); + + +function crc32(crc, buf, len, pos) { + var t = crcTable, end = pos + len; + + crc = crc ^ (-1); + + for (var i = pos; i < end; i++ ) { + crc = (crc >>> 8) ^ t[(crc ^ buf[i]) & 0xFF]; + } + + return (crc ^ (-1)); // >>> 0; +} + +// That's all for the pako functions. + +/** + * Compute the crc32 of a string. + * This is almost the same as the function crc32, but for strings. Using the + * same function for the two use cases leads to horrible performances. + * @param {Number} crc the starting value of the crc. + * @param {String} str the string to use. + * @param {Number} len the length of the string. + * @param {Number} pos the starting position for the crc32 computation. + * @return {Number} the computed crc32. + */ +function crc32str(crc, str, len, pos) { + var t = crcTable, end = pos + len; + + crc = crc ^ (-1); + + for (var i = pos; i < end; i++ ) { + crc = (crc >>> 8) ^ t[(crc ^ str.charCodeAt(i)) & 0xFF]; + } + + return (crc ^ (-1)); // >>> 0; +} + +module.exports = function crc32wrapper(input, crc) { + if (typeof input === "undefined" || !input.length) { + return 0; + } + + var isArray = utils.getTypeOf(input) !== "string"; + + if(isArray) { + return crc32(crc|0, input, input.length, 0); + } else { + return crc32str(crc|0, input, input.length, 0); + } +}; + +},{"./utils":32}],5:[function(require,module,exports){ +'use strict'; +exports.base64 = false; +exports.binary = false; +exports.dir = false; +exports.createFolders = true; +exports.date = null; +exports.compression = null; +exports.compressionOptions = null; +exports.comment = null; +exports.unixPermissions = null; +exports.dosPermissions = null; + +},{}],6:[function(require,module,exports){ +/* global Promise */ +'use strict'; + +// load the global object first: +// - it should be better integrated in the system (unhandledRejection in node) +// - the environment may have a custom Promise implementation (see zone.js) +var ES6Promise = null; +if (typeof Promise !== "undefined") { + ES6Promise = Promise; +} else { + ES6Promise = require("lie"); +} + +/** + * Let the user use/change some implementations. + */ +module.exports = { + Promise: ES6Promise +}; + +},{"lie":58}],7:[function(require,module,exports){ +'use strict'; +var USE_TYPEDARRAY = (typeof Uint8Array !== 'undefined') && (typeof Uint16Array !== 'undefined') && (typeof Uint32Array !== 'undefined'); + +var pako = require("pako"); +var utils = require("./utils"); +var GenericWorker = require("./stream/GenericWorker"); + +var ARRAY_TYPE = USE_TYPEDARRAY ? "uint8array" : "array"; + +exports.magic = "\x08\x00"; + +/** + * Create a worker that uses pako to inflate/deflate. + * @constructor + * @param {String} action the name of the pako function to call : either "Deflate" or "Inflate". + * @param {Object} options the options to use when (de)compressing. + */ +function FlateWorker(action, options) { + GenericWorker.call(this, "FlateWorker/" + action); + + this._pako = null; + this._pakoAction = action; + this._pakoOptions = options; + // the `meta` object from the last chunk received + // this allow this worker to pass around metadata + this.meta = {}; +} + +utils.inherits(FlateWorker, GenericWorker); + +/** + * @see GenericWorker.processChunk + */ +FlateWorker.prototype.processChunk = function (chunk) { + this.meta = chunk.meta; + if (this._pako === null) { + this._createPako(); + } + this._pako.push(utils.transformTo(ARRAY_TYPE, chunk.data), false); +}; + +/** + * @see GenericWorker.flush + */ +FlateWorker.prototype.flush = function () { + GenericWorker.prototype.flush.call(this); + if (this._pako === null) { + this._createPako(); + } + this._pako.push([], true); +}; +/** + * @see GenericWorker.cleanUp + */ +FlateWorker.prototype.cleanUp = function () { + GenericWorker.prototype.cleanUp.call(this); + this._pako = null; +}; + +/** + * Create the _pako object. + * TODO: lazy-loading this object isn't the best solution but it's the + * quickest. The best solution is to lazy-load the worker list. See also the + * issue #446. + */ +FlateWorker.prototype._createPako = function () { + this._pako = new pako[this._pakoAction]({ + raw: true, + level: this._pakoOptions.level || -1 // default compression + }); + var self = this; + this._pako.onData = function(data) { + self.push({ + data : data, + meta : self.meta + }); + }; +}; + +exports.compressWorker = function (compressionOptions) { + return new FlateWorker("Deflate", compressionOptions); +}; +exports.uncompressWorker = function () { + return new FlateWorker("Inflate", {}); +}; + +},{"./stream/GenericWorker":28,"./utils":32,"pako":59}],8:[function(require,module,exports){ +'use strict'; + +var utils = require('../utils'); +var GenericWorker = require('../stream/GenericWorker'); +var utf8 = require('../utf8'); +var crc32 = require('../crc32'); +var signature = require('../signature'); + +/** + * Transform an integer into a string in hexadecimal. + * @private + * @param {number} dec the number to convert. + * @param {number} bytes the number of bytes to generate. + * @returns {string} the result. + */ +var decToHex = function(dec, bytes) { + var hex = "", i; + for (i = 0; i < bytes; i++) { + hex += String.fromCharCode(dec & 0xff); + dec = dec >>> 8; + } + return hex; +}; + +/** + * Generate the UNIX part of the external file attributes. + * @param {Object} unixPermissions the unix permissions or null. + * @param {Boolean} isDir true if the entry is a directory, false otherwise. + * @return {Number} a 32 bit integer. + * + * adapted from http://unix.stackexchange.com/questions/14705/the-zip-formats-external-file-attribute : + * + * TTTTsstrwxrwxrwx0000000000ADVSHR + * ^^^^____________________________ file type, see zipinfo.c (UNX_*) + * ^^^_________________________ setuid, setgid, sticky + * ^^^^^^^^^________________ permissions + * ^^^^^^^^^^______ not used ? + * ^^^^^^ DOS attribute bits : Archive, Directory, Volume label, System file, Hidden, Read only + */ +var generateUnixExternalFileAttr = function (unixPermissions, isDir) { + + var result = unixPermissions; + if (!unixPermissions) { + // I can't use octal values in strict mode, hence the hexa. + // 040775 => 0x41fd + // 0100664 => 0x81b4 + result = isDir ? 0x41fd : 0x81b4; + } + return (result & 0xFFFF) << 16; +}; + +/** + * Generate the DOS part of the external file attributes. + * @param {Object} dosPermissions the dos permissions or null. + * @param {Boolean} isDir true if the entry is a directory, false otherwise. + * @return {Number} a 32 bit integer. + * + * Bit 0 Read-Only + * Bit 1 Hidden + * Bit 2 System + * Bit 3 Volume Label + * Bit 4 Directory + * Bit 5 Archive + */ +var generateDosExternalFileAttr = function (dosPermissions, isDir) { + + // the dir flag is already set for compatibility + return (dosPermissions || 0) & 0x3F; +}; + +/** + * Generate the various parts used in the construction of the final zip file. + * @param {Object} streamInfo the hash with informations about the compressed file. + * @param {Boolean} streamedContent is the content streamed ? + * @param {Boolean} streamingEnded is the stream finished ? + * @param {number} offset the current offset from the start of the zip file. + * @param {String} platform let's pretend we are this platform (change platform dependents fields) + * @param {Function} encodeFileName the function to encode the file name / comment. + * @return {Object} the zip parts. + */ +var generateZipParts = function(streamInfo, streamedContent, streamingEnded, offset, platform, encodeFileName) { + var file = streamInfo['file'], + compression = streamInfo['compression'], + useCustomEncoding = encodeFileName !== utf8.utf8encode, + encodedFileName = utils.transformTo("string", encodeFileName(file.name)), + utfEncodedFileName = utils.transformTo("string", utf8.utf8encode(file.name)), + comment = file.comment, + encodedComment = utils.transformTo("string", encodeFileName(comment)), + utfEncodedComment = utils.transformTo("string", utf8.utf8encode(comment)), + useUTF8ForFileName = utfEncodedFileName.length !== file.name.length, + useUTF8ForComment = utfEncodedComment.length !== comment.length, + dosTime, + dosDate, + extraFields = "", + unicodePathExtraField = "", + unicodeCommentExtraField = "", + dir = file.dir, + date = file.date; + + + var dataInfo = { + crc32 : 0, + compressedSize : 0, + uncompressedSize : 0 + }; + + // if the content is streamed, the sizes/crc32 are only available AFTER + // the end of the stream. + if (!streamedContent || streamingEnded) { + dataInfo.crc32 = streamInfo['crc32']; + dataInfo.compressedSize = streamInfo['compressedSize']; + dataInfo.uncompressedSize = streamInfo['uncompressedSize']; + } + + var bitflag = 0; + if (streamedContent) { + // Bit 3: the sizes/crc32 are set to zero in the local header. + // The correct values are put in the data descriptor immediately + // following the compressed data. + bitflag |= 0x0008; + } + if (!useCustomEncoding && (useUTF8ForFileName || useUTF8ForComment)) { + // Bit 11: Language encoding flag (EFS). + bitflag |= 0x0800; + } + + + var extFileAttr = 0; + var versionMadeBy = 0; + if (dir) { + // dos or unix, we set the dos dir flag + extFileAttr |= 0x00010; + } + if(platform === "UNIX") { + versionMadeBy = 0x031E; // UNIX, version 3.0 + extFileAttr |= generateUnixExternalFileAttr(file.unixPermissions, dir); + } else { // DOS or other, fallback to DOS + versionMadeBy = 0x0014; // DOS, version 2.0 + extFileAttr |= generateDosExternalFileAttr(file.dosPermissions, dir); + } + + // date + // @see http://www.delorie.com/djgpp/doc/rbinter/it/52/13.html + // @see http://www.delorie.com/djgpp/doc/rbinter/it/65/16.html + // @see http://www.delorie.com/djgpp/doc/rbinter/it/66/16.html + + dosTime = date.getUTCHours(); + dosTime = dosTime << 6; + dosTime = dosTime | date.getUTCMinutes(); + dosTime = dosTime << 5; + dosTime = dosTime | date.getUTCSeconds() / 2; + + dosDate = date.getUTCFullYear() - 1980; + dosDate = dosDate << 4; + dosDate = dosDate | (date.getUTCMonth() + 1); + dosDate = dosDate << 5; + dosDate = dosDate | date.getUTCDate(); + + if (useUTF8ForFileName) { + // set the unicode path extra field. unzip needs at least one extra + // field to correctly handle unicode path, so using the path is as good + // as any other information. This could improve the situation with + // other archive managers too. + // This field is usually used without the utf8 flag, with a non + // unicode path in the header (winrar, winzip). This helps (a bit) + // with the messy Windows' default compressed folders feature but + // breaks on p7zip which doesn't seek the unicode path extra field. + // So for now, UTF-8 everywhere ! + unicodePathExtraField = + // Version + decToHex(1, 1) + + // NameCRC32 + decToHex(crc32(encodedFileName), 4) + + // UnicodeName + utfEncodedFileName; + + extraFields += + // Info-ZIP Unicode Path Extra Field + "\x75\x70" + + // size + decToHex(unicodePathExtraField.length, 2) + + // content + unicodePathExtraField; + } + + if(useUTF8ForComment) { + + unicodeCommentExtraField = + // Version + decToHex(1, 1) + + // CommentCRC32 + decToHex(crc32(encodedComment), 4) + + // UnicodeName + utfEncodedComment; + + extraFields += + // Info-ZIP Unicode Path Extra Field + "\x75\x63" + + // size + decToHex(unicodeCommentExtraField.length, 2) + + // content + unicodeCommentExtraField; + } + + var header = ""; + + // version needed to extract + header += "\x0A\x00"; + // general purpose bit flag + header += decToHex(bitflag, 2); + // compression method + header += compression.magic; + // last mod file time + header += decToHex(dosTime, 2); + // last mod file date + header += decToHex(dosDate, 2); + // crc-32 + header += decToHex(dataInfo.crc32, 4); + // compressed size + header += decToHex(dataInfo.compressedSize, 4); + // uncompressed size + header += decToHex(dataInfo.uncompressedSize, 4); + // file name length + header += decToHex(encodedFileName.length, 2); + // extra field length + header += decToHex(extraFields.length, 2); + + + var fileRecord = signature.LOCAL_FILE_HEADER + header + encodedFileName + extraFields; + + var dirRecord = signature.CENTRAL_FILE_HEADER + + // version made by (00: DOS) + decToHex(versionMadeBy, 2) + + // file header (common to file and central directory) + header + + // file comment length + decToHex(encodedComment.length, 2) + + // disk number start + "\x00\x00" + + // internal file attributes TODO + "\x00\x00" + + // external file attributes + decToHex(extFileAttr, 4) + + // relative offset of local header + decToHex(offset, 4) + + // file name + encodedFileName + + // extra field + extraFields + + // file comment + encodedComment; + + return { + fileRecord: fileRecord, + dirRecord: dirRecord + }; +}; + +/** + * Generate the EOCD record. + * @param {Number} entriesCount the number of entries in the zip file. + * @param {Number} centralDirLength the length (in bytes) of the central dir. + * @param {Number} localDirLength the length (in bytes) of the local dir. + * @param {String} comment the zip file comment as a binary string. + * @param {Function} encodeFileName the function to encode the comment. + * @return {String} the EOCD record. + */ +var generateCentralDirectoryEnd = function (entriesCount, centralDirLength, localDirLength, comment, encodeFileName) { + var dirEnd = ""; + var encodedComment = utils.transformTo("string", encodeFileName(comment)); + + // end of central dir signature + dirEnd = signature.CENTRAL_DIRECTORY_END + + // number of this disk + "\x00\x00" + + // number of the disk with the start of the central directory + "\x00\x00" + + // total number of entries in the central directory on this disk + decToHex(entriesCount, 2) + + // total number of entries in the central directory + decToHex(entriesCount, 2) + + // size of the central directory 4 bytes + decToHex(centralDirLength, 4) + + // offset of start of central directory with respect to the starting disk number + decToHex(localDirLength, 4) + + // .ZIP file comment length + decToHex(encodedComment.length, 2) + + // .ZIP file comment + encodedComment; + + return dirEnd; +}; + +/** + * Generate data descriptors for a file entry. + * @param {Object} streamInfo the hash generated by a worker, containing informations + * on the file entry. + * @return {String} the data descriptors. + */ +var generateDataDescriptors = function (streamInfo) { + var descriptor = ""; + descriptor = signature.DATA_DESCRIPTOR + + // crc-32 4 bytes + decToHex(streamInfo['crc32'], 4) + + // compressed size 4 bytes + decToHex(streamInfo['compressedSize'], 4) + + // uncompressed size 4 bytes + decToHex(streamInfo['uncompressedSize'], 4); + + return descriptor; +}; + + +/** + * A worker to concatenate other workers to create a zip file. + * @param {Boolean} streamFiles `true` to stream the content of the files, + * `false` to accumulate it. + * @param {String} comment the comment to use. + * @param {String} platform the platform to use, "UNIX" or "DOS". + * @param {Function} encodeFileName the function to encode file names and comments. + */ +function ZipFileWorker(streamFiles, comment, platform, encodeFileName) { + GenericWorker.call(this, "ZipFileWorker"); + // The number of bytes written so far. This doesn't count accumulated chunks. + this.bytesWritten = 0; + // The comment of the zip file + this.zipComment = comment; + // The platform "generating" the zip file. + this.zipPlatform = platform; + // the function to encode file names and comments. + this.encodeFileName = encodeFileName; + // Should we stream the content of the files ? + this.streamFiles = streamFiles; + // If `streamFiles` is false, we will need to accumulate the content of the + // files to calculate sizes / crc32 (and write them *before* the content). + // This boolean indicates if we are accumulating chunks (it will change a lot + // during the lifetime of this worker). + this.accumulate = false; + // The buffer receiving chunks when accumulating content. + this.contentBuffer = []; + // The list of generated directory records. + this.dirRecords = []; + // The offset (in bytes) from the beginning of the zip file for the current source. + this.currentSourceOffset = 0; + // The total number of entries in this zip file. + this.entriesCount = 0; + // the name of the file currently being added, null when handling the end of the zip file. + // Used for the emited metadata. + this.currentFile = null; + + + + this._sources = []; +} +utils.inherits(ZipFileWorker, GenericWorker); + +/** + * @see GenericWorker.push + */ +ZipFileWorker.prototype.push = function (chunk) { + + var currentFilePercent = chunk.meta.percent || 0; + var entriesCount = this.entriesCount; + var remainingFiles = this._sources.length; + + if(this.accumulate) { + this.contentBuffer.push(chunk); + } else { + this.bytesWritten += chunk.data.length; + + GenericWorker.prototype.push.call(this, { + data : chunk.data, + meta : { + currentFile : this.currentFile, + percent : entriesCount ? (currentFilePercent + 100 * (entriesCount - remainingFiles - 1)) / entriesCount : 100 + } + }); + } +}; + +/** + * The worker started a new source (an other worker). + * @param {Object} streamInfo the streamInfo object from the new source. + */ +ZipFileWorker.prototype.openedSource = function (streamInfo) { + this.currentSourceOffset = this.bytesWritten; + this.currentFile = streamInfo['file'].name; + + var streamedContent = this.streamFiles && !streamInfo['file'].dir; + + // don't stream folders (because they don't have any content) + if(streamedContent) { + var record = generateZipParts(streamInfo, streamedContent, false, this.currentSourceOffset, this.zipPlatform, this.encodeFileName); + this.push({ + data : record.fileRecord, + meta : {percent:0} + }); + } else { + // we need to wait for the whole file before pushing anything + this.accumulate = true; + } +}; + +/** + * The worker finished a source (an other worker). + * @param {Object} streamInfo the streamInfo object from the finished source. + */ +ZipFileWorker.prototype.closedSource = function (streamInfo) { + this.accumulate = false; + var streamedContent = this.streamFiles && !streamInfo['file'].dir; + var record = generateZipParts(streamInfo, streamedContent, true, this.currentSourceOffset, this.zipPlatform, this.encodeFileName); + + this.dirRecords.push(record.dirRecord); + if(streamedContent) { + // after the streamed file, we put data descriptors + this.push({ + data : generateDataDescriptors(streamInfo), + meta : {percent:100} + }); + } else { + // the content wasn't streamed, we need to push everything now + // first the file record, then the content + this.push({ + data : record.fileRecord, + meta : {percent:0} + }); + while(this.contentBuffer.length) { + this.push(this.contentBuffer.shift()); + } + } + this.currentFile = null; +}; + +/** + * @see GenericWorker.flush + */ +ZipFileWorker.prototype.flush = function () { + + var localDirLength = this.bytesWritten; + for(var i = 0; i < this.dirRecords.length; i++) { + this.push({ + data : this.dirRecords[i], + meta : {percent:100} + }); + } + var centralDirLength = this.bytesWritten - localDirLength; + + var dirEnd = generateCentralDirectoryEnd(this.dirRecords.length, centralDirLength, localDirLength, this.zipComment, this.encodeFileName); + + this.push({ + data : dirEnd, + meta : {percent:100} + }); +}; + +/** + * Prepare the next source to be read. + */ +ZipFileWorker.prototype.prepareNextSource = function () { + this.previous = this._sources.shift(); + this.openedSource(this.previous.streamInfo); + if (this.isPaused) { + this.previous.pause(); + } else { + this.previous.resume(); + } +}; + +/** + * @see GenericWorker.registerPrevious + */ +ZipFileWorker.prototype.registerPrevious = function (previous) { + this._sources.push(previous); + var self = this; + + previous.on('data', function (chunk) { + self.processChunk(chunk); + }); + previous.on('end', function () { + self.closedSource(self.previous.streamInfo); + if(self._sources.length) { + self.prepareNextSource(); + } else { + self.end(); + } + }); + previous.on('error', function (e) { + self.error(e); + }); + return this; +}; + +/** + * @see GenericWorker.resume + */ +ZipFileWorker.prototype.resume = function () { + if(!GenericWorker.prototype.resume.call(this)) { + return false; + } + + if (!this.previous && this._sources.length) { + this.prepareNextSource(); + return true; + } + if (!this.previous && !this._sources.length && !this.generatedError) { + this.end(); + return true; + } +}; + +/** + * @see GenericWorker.error + */ +ZipFileWorker.prototype.error = function (e) { + var sources = this._sources; + if(!GenericWorker.prototype.error.call(this, e)) { + return false; + } + for(var i = 0; i < sources.length; i++) { + try { + sources[i].error(e); + } catch(e) { + // the `error` exploded, nothing to do + } + } + return true; +}; + +/** + * @see GenericWorker.lock + */ +ZipFileWorker.prototype.lock = function () { + GenericWorker.prototype.lock.call(this); + var sources = this._sources; + for(var i = 0; i < sources.length; i++) { + sources[i].lock(); + } +}; + +module.exports = ZipFileWorker; + +},{"../crc32":4,"../signature":23,"../stream/GenericWorker":28,"../utf8":31,"../utils":32}],9:[function(require,module,exports){ +'use strict'; + +var compressions = require('../compressions'); +var ZipFileWorker = require('./ZipFileWorker'); + +/** + * Find the compression to use. + * @param {String} fileCompression the compression defined at the file level, if any. + * @param {String} zipCompression the compression defined at the load() level. + * @return {Object} the compression object to use. + */ +var getCompression = function (fileCompression, zipCompression) { + + var compressionName = fileCompression || zipCompression; + var compression = compressions[compressionName]; + if (!compression) { + throw new Error(compressionName + " is not a valid compression method !"); + } + return compression; +}; + +/** + * Create a worker to generate a zip file. + * @param {JSZip} zip the JSZip instance at the right root level. + * @param {Object} options to generate the zip file. + * @param {String} comment the comment to use. + */ +exports.generateWorker = function (zip, options, comment) { + + var zipFileWorker = new ZipFileWorker(options.streamFiles, comment, options.platform, options.encodeFileName); + var entriesCount = 0; + try { + + zip.forEach(function (relativePath, file) { + entriesCount++; + var compression = getCompression(file.options.compression, options.compression); + var compressionOptions = file.options.compressionOptions || options.compressionOptions || {}; + var dir = file.dir, date = file.date; + + file._compressWorker(compression, compressionOptions) + .withStreamInfo("file", { + name : relativePath, + dir : dir, + date : date, + comment : file.comment || "", + unixPermissions : file.unixPermissions, + dosPermissions : file.dosPermissions + }) + .pipe(zipFileWorker); + }); + zipFileWorker.entriesCount = entriesCount; + } catch (e) { + zipFileWorker.error(e); + } + + return zipFileWorker; +}; + +},{"../compressions":3,"./ZipFileWorker":8}],10:[function(require,module,exports){ +'use strict'; + +/** + * Representation a of zip file in js + * @constructor + */ +function JSZip() { + // if this constructor is used without `new`, it adds `new` before itself: + if(!(this instanceof JSZip)) { + return new JSZip(); + } + + if(arguments.length) { + throw new Error("The constructor with parameters has been removed in JSZip 3.0, please check the upgrade guide."); + } + + // object containing the files : + // { + // "folder/" : {...}, + // "folder/data.txt" : {...} + // } + this.files = {}; + + this.comment = null; + + // Where we are in the hierarchy + this.root = ""; + this.clone = function() { + var newObj = new JSZip(); + for (var i in this) { + if (typeof this[i] !== "function") { + newObj[i] = this[i]; + } + } + return newObj; + }; +} +JSZip.prototype = require('./object'); +JSZip.prototype.loadAsync = require('./load'); +JSZip.support = require('./support'); +JSZip.defaults = require('./defaults'); + +// TODO find a better way to handle this version, +// a require('package.json').version doesn't work with webpack, see #327 +JSZip.version = "3.1.5"; + +JSZip.loadAsync = function (content, options) { + return new JSZip().loadAsync(content, options); +}; + +JSZip.external = require("./external"); +module.exports = JSZip; + +},{"./defaults":5,"./external":6,"./load":11,"./object":15,"./support":30}],11:[function(require,module,exports){ +'use strict'; +var utils = require('./utils'); +var external = require("./external"); +var utf8 = require('./utf8'); +var utils = require('./utils'); +var ZipEntries = require('./zipEntries'); +var Crc32Probe = require('./stream/Crc32Probe'); +var nodejsUtils = require("./nodejsUtils"); + +/** + * Check the CRC32 of an entry. + * @param {ZipEntry} zipEntry the zip entry to check. + * @return {Promise} the result. + */ +function checkEntryCRC32(zipEntry) { + return new external.Promise(function (resolve, reject) { + var worker = zipEntry.decompressed.getContentWorker().pipe(new Crc32Probe()); + worker.on("error", function (e) { + reject(e); + }) + .on("end", function () { + if (worker.streamInfo.crc32 !== zipEntry.decompressed.crc32) { + reject(new Error("Corrupted zip : CRC32 mismatch")); + } else { + resolve(); + } + }) + .resume(); + }); +} + +module.exports = function(data, options) { + var zip = this; + options = utils.extend(options || {}, { + base64: false, + checkCRC32: false, + optimizedBinaryString: false, + createFolders: false, + decodeFileName: utf8.utf8decode + }); + + if (nodejsUtils.isNode && nodejsUtils.isStream(data)) { + return external.Promise.reject(new Error("JSZip can't accept a stream when loading a zip file.")); + } + + return utils.prepareContent("the loaded zip file", data, true, options.optimizedBinaryString, options.base64) + .then(function(data) { + var zipEntries = new ZipEntries(options); + zipEntries.load(data); + return zipEntries; + }).then(function checkCRC32(zipEntries) { + var promises = [external.Promise.resolve(zipEntries)]; + var files = zipEntries.files; + if (options.checkCRC32) { + for (var i = 0; i < files.length; i++) { + promises.push(checkEntryCRC32(files[i])); + } + } + return external.Promise.all(promises); + }).then(function addFiles(results) { + var zipEntries = results.shift(); + var files = zipEntries.files; + for (var i = 0; i < files.length; i++) { + var input = files[i]; + zip.file(input.fileNameStr, input.decompressed, { + binary: true, + optimizedBinaryString: true, + date: input.date, + dir: input.dir, + comment : input.fileCommentStr.length ? input.fileCommentStr : null, + unixPermissions : input.unixPermissions, + dosPermissions : input.dosPermissions, + createFolders: options.createFolders + }); + } + if (zipEntries.zipComment.length) { + zip.comment = zipEntries.zipComment; + } + + return zip; + }); +}; + +},{"./external":6,"./nodejsUtils":14,"./stream/Crc32Probe":25,"./utf8":31,"./utils":32,"./zipEntries":33}],12:[function(require,module,exports){ +"use strict"; + +var utils = require('../utils'); +var GenericWorker = require('../stream/GenericWorker'); + +/** + * A worker that use a nodejs stream as source. + * @constructor + * @param {String} filename the name of the file entry for this stream. + * @param {Readable} stream the nodejs stream. + */ +function NodejsStreamInputAdapter(filename, stream) { + GenericWorker.call(this, "Nodejs stream input adapter for " + filename); + this._upstreamEnded = false; + this._bindStream(stream); +} + +utils.inherits(NodejsStreamInputAdapter, GenericWorker); + +/** + * Prepare the stream and bind the callbacks on it. + * Do this ASAP on node 0.10 ! A lazy binding doesn't always work. + * @param {Stream} stream the nodejs stream to use. + */ +NodejsStreamInputAdapter.prototype._bindStream = function (stream) { + var self = this; + this._stream = stream; + stream.pause(); + stream + .on("data", function (chunk) { + self.push({ + data: chunk, + meta : { + percent : 0 + } + }); + }) + .on("error", function (e) { + if(self.isPaused) { + this.generatedError = e; + } else { + self.error(e); + } + }) + .on("end", function () { + if(self.isPaused) { + self._upstreamEnded = true; + } else { + self.end(); + } + }); +}; +NodejsStreamInputAdapter.prototype.pause = function () { + if(!GenericWorker.prototype.pause.call(this)) { + return false; + } + this._stream.pause(); + return true; +}; +NodejsStreamInputAdapter.prototype.resume = function () { + if(!GenericWorker.prototype.resume.call(this)) { + return false; + } + + if(this._upstreamEnded) { + this.end(); + } else { + this._stream.resume(); + } + + return true; +}; + +module.exports = NodejsStreamInputAdapter; + +},{"../stream/GenericWorker":28,"../utils":32}],13:[function(require,module,exports){ +'use strict'; + +var Readable = require('readable-stream').Readable; + +var utils = require('../utils'); +utils.inherits(NodejsStreamOutputAdapter, Readable); + +/** +* A nodejs stream using a worker as source. +* @see the SourceWrapper in http://nodejs.org/api/stream.html +* @constructor +* @param {StreamHelper} helper the helper wrapping the worker +* @param {Object} options the nodejs stream options +* @param {Function} updateCb the update callback. +*/ +function NodejsStreamOutputAdapter(helper, options, updateCb) { + Readable.call(this, options); + this._helper = helper; + + var self = this; + helper.on("data", function (data, meta) { + if (!self.push(data)) { + self._helper.pause(); + } + if(updateCb) { + updateCb(meta); + } + }) + .on("error", function(e) { + self.emit('error', e); + }) + .on("end", function () { + self.push(null); + }); +} + + +NodejsStreamOutputAdapter.prototype._read = function() { + this._helper.resume(); +}; + +module.exports = NodejsStreamOutputAdapter; + +},{"../utils":32,"readable-stream":16}],14:[function(require,module,exports){ +'use strict'; + +module.exports = { + /** + * True if this is running in Nodejs, will be undefined in a browser. + * In a browser, browserify won't include this file and the whole module + * will be resolved an empty object. + */ + isNode : typeof Buffer !== "undefined", + /** + * Create a new nodejs Buffer from an existing content. + * @param {Object} data the data to pass to the constructor. + * @param {String} encoding the encoding to use. + * @return {Buffer} a new Buffer. + */ + newBufferFrom: function(data, encoding) { + // XXX We can't use `Buffer.from` which comes from `Uint8Array.from` + // in nodejs v4 (< v.4.5). It's not the expected implementation (and + // has a different signature). + // see https://github.com/nodejs/node/issues/8053 + // A condition on nodejs' version won't solve the issue as we don't + // control the Buffer polyfills that may or may not be used. + return new Buffer(data, encoding); + }, + /** + * Create a new nodejs Buffer with the specified size. + * @param {Integer} size the size of the buffer. + * @return {Buffer} a new Buffer. + */ + allocBuffer: function (size) { + if (Buffer.alloc) { + return Buffer.alloc(size); + } else { + return new Buffer(size); + } + }, + /** + * Find out if an object is a Buffer. + * @param {Object} b the object to test. + * @return {Boolean} true if the object is a Buffer, false otherwise. + */ + isBuffer : function(b){ + return Buffer.isBuffer(b); + }, + + isStream : function (obj) { + return obj && + typeof obj.on === "function" && + typeof obj.pause === "function" && + typeof obj.resume === "function"; + } +}; + +},{}],15:[function(require,module,exports){ +'use strict'; +var utf8 = require('./utf8'); +var utils = require('./utils'); +var GenericWorker = require('./stream/GenericWorker'); +var StreamHelper = require('./stream/StreamHelper'); +var defaults = require('./defaults'); +var CompressedObject = require('./compressedObject'); +var ZipObject = require('./zipObject'); +var generate = require("./generate"); +var nodejsUtils = require("./nodejsUtils"); +var NodejsStreamInputAdapter = require("./nodejs/NodejsStreamInputAdapter"); + + +/** + * Add a file in the current folder. + * @private + * @param {string} name the name of the file + * @param {String|ArrayBuffer|Uint8Array|Buffer} data the data of the file + * @param {Object} originalOptions the options of the file + * @return {Object} the new file. + */ +var fileAdd = function(name, data, originalOptions) { + // be sure sub folders exist + var dataType = utils.getTypeOf(data), + parent; + + + /* + * Correct options. + */ + + var o = utils.extend(originalOptions || {}, defaults); + o.date = o.date || new Date(); + if (o.compression !== null) { + o.compression = o.compression.toUpperCase(); + } + + if (typeof o.unixPermissions === "string") { + o.unixPermissions = parseInt(o.unixPermissions, 8); + } + + // UNX_IFDIR 0040000 see zipinfo.c + if (o.unixPermissions && (o.unixPermissions & 0x4000)) { + o.dir = true; + } + // Bit 4 Directory + if (o.dosPermissions && (o.dosPermissions & 0x0010)) { + o.dir = true; + } + + if (o.dir) { + name = forceTrailingSlash(name); + } + if (o.createFolders && (parent = parentFolder(name))) { + folderAdd.call(this, parent, true); + } + + var isUnicodeString = dataType === "string" && o.binary === false && o.base64 === false; + if (!originalOptions || typeof originalOptions.binary === "undefined") { + o.binary = !isUnicodeString; + } + + + var isCompressedEmpty = (data instanceof CompressedObject) && data.uncompressedSize === 0; + + if (isCompressedEmpty || o.dir || !data || data.length === 0) { + o.base64 = false; + o.binary = true; + data = ""; + o.compression = "STORE"; + dataType = "string"; + } + + /* + * Convert content to fit. + */ + + var zipObjectContent = null; + if (data instanceof CompressedObject || data instanceof GenericWorker) { + zipObjectContent = data; + } else if (nodejsUtils.isNode && nodejsUtils.isStream(data)) { + zipObjectContent = new NodejsStreamInputAdapter(name, data); + } else { + zipObjectContent = utils.prepareContent(name, data, o.binary, o.optimizedBinaryString, o.base64); + } + + var object = new ZipObject(name, zipObjectContent, o); + this.files[name] = object; + /* + TODO: we can't throw an exception because we have async promises + (we can have a promise of a Date() for example) but returning a + promise is useless because file(name, data) returns the JSZip + object for chaining. Should we break that to allow the user + to catch the error ? + + return external.Promise.resolve(zipObjectContent) + .then(function () { + return object; + }); + */ +}; + +/** + * Find the parent folder of the path. + * @private + * @param {string} path the path to use + * @return {string} the parent folder, or "" + */ +var parentFolder = function (path) { + if (path.slice(-1) === '/') { + path = path.substring(0, path.length - 1); + } + var lastSlash = path.lastIndexOf('/'); + return (lastSlash > 0) ? path.substring(0, lastSlash) : ""; +}; + +/** + * Returns the path with a slash at the end. + * @private + * @param {String} path the path to check. + * @return {String} the path with a trailing slash. + */ +var forceTrailingSlash = function(path) { + // Check the name ends with a / + if (path.slice(-1) !== "/") { + path += "/"; // IE doesn't like substr(-1) + } + return path; +}; + +/** + * Add a (sub) folder in the current folder. + * @private + * @param {string} name the folder's name + * @param {boolean=} [createFolders] If true, automatically create sub + * folders. Defaults to false. + * @return {Object} the new folder. + */ +var folderAdd = function(name, createFolders) { + createFolders = (typeof createFolders !== 'undefined') ? createFolders : defaults.createFolders; + + name = forceTrailingSlash(name); + + // Does this folder already exist? + if (!this.files[name]) { + fileAdd.call(this, name, null, { + dir: true, + createFolders: createFolders + }); + } + return this.files[name]; +}; + +/** +* Cross-window, cross-Node-context regular expression detection +* @param {Object} object Anything +* @return {Boolean} true if the object is a regular expression, +* false otherwise +*/ +function isRegExp(object) { + return Object.prototype.toString.call(object) === "[object RegExp]"; +} + +// return the actual prototype of JSZip +var out = { + /** + * @see loadAsync + */ + load: function() { + throw new Error("This method has been removed in JSZip 3.0, please check the upgrade guide."); + }, + + + /** + * Call a callback function for each entry at this folder level. + * @param {Function} cb the callback function: + * function (relativePath, file) {...} + * It takes 2 arguments : the relative path and the file. + */ + forEach: function(cb) { + var filename, relativePath, file; + for (filename in this.files) { + if (!this.files.hasOwnProperty(filename)) { + continue; + } + file = this.files[filename]; + relativePath = filename.slice(this.root.length, filename.length); + if (relativePath && filename.slice(0, this.root.length) === this.root) { // the file is in the current root + cb(relativePath, file); // TODO reverse the parameters ? need to be clean AND consistent with the filter search fn... + } + } + }, + + /** + * Filter nested files/folders with the specified function. + * @param {Function} search the predicate to use : + * function (relativePath, file) {...} + * It takes 2 arguments : the relative path and the file. + * @return {Array} An array of matching elements. + */ + filter: function(search) { + var result = []; + this.forEach(function (relativePath, entry) { + if (search(relativePath, entry)) { // the file matches the function + result.push(entry); + } + + }); + return result; + }, + + /** + * Add a file to the zip file, or search a file. + * @param {string|RegExp} name The name of the file to add (if data is defined), + * the name of the file to find (if no data) or a regex to match files. + * @param {String|ArrayBuffer|Uint8Array|Buffer} data The file data, either raw or base64 encoded + * @param {Object} o File options + * @return {JSZip|Object|Array} this JSZip object (when adding a file), + * a file (when searching by string) or an array of files (when searching by regex). + */ + file: function(name, data, o) { + if (arguments.length === 1) { + if (isRegExp(name)) { + var regexp = name; + return this.filter(function(relativePath, file) { + return !file.dir && regexp.test(relativePath); + }); + } + else { // text + var obj = this.files[this.root + name]; + if (obj && !obj.dir) { + return obj; + } else { + return null; + } + } + } + else { // more than one argument : we have data ! + name = this.root + name; + fileAdd.call(this, name, data, o); + } + return this; + }, + + /** + * Add a directory to the zip file, or search. + * @param {String|RegExp} arg The name of the directory to add, or a regex to search folders. + * @return {JSZip} an object with the new directory as the root, or an array containing matching folders. + */ + folder: function(arg) { + if (!arg) { + return this; + } + + if (isRegExp(arg)) { + return this.filter(function(relativePath, file) { + return file.dir && arg.test(relativePath); + }); + } + + // else, name is a new folder + var name = this.root + arg; + var newFolder = folderAdd.call(this, name); + + // Allow chaining by returning a new object with this folder as the root + var ret = this.clone(); + ret.root = newFolder.name; + return ret; + }, + + /** + * Delete a file, or a directory and all sub-files, from the zip + * @param {string} name the name of the file to delete + * @return {JSZip} this JSZip object + */ + remove: function(name) { + name = this.root + name; + var file = this.files[name]; + if (!file) { + // Look for any folders + if (name.slice(-1) !== "/") { + name += "/"; + } + file = this.files[name]; + } + + if (file && !file.dir) { + // file + delete this.files[name]; + } else { + // maybe a folder, delete recursively + var kids = this.filter(function(relativePath, file) { + return file.name.slice(0, name.length) === name; + }); + for (var i = 0; i < kids.length; i++) { + delete this.files[kids[i].name]; + } + } + + return this; + }, + + /** + * Generate the complete zip file + * @param {Object} options the options to generate the zip file : + * - compression, "STORE" by default. + * - type, "base64" by default. Values are : string, base64, uint8array, arraybuffer, blob. + * @return {String|Uint8Array|ArrayBuffer|Buffer|Blob} the zip file + */ + generate: function(options) { + throw new Error("This method has been removed in JSZip 3.0, please check the upgrade guide."); + }, + + /** + * Generate the complete zip file as an internal stream. + * @param {Object} options the options to generate the zip file : + * - compression, "STORE" by default. + * - type, "base64" by default. Values are : string, base64, uint8array, arraybuffer, blob. + * @return {StreamHelper} the streamed zip file. + */ + generateInternalStream: function(options) { + var worker, opts = {}; + try { + opts = utils.extend(options || {}, { + streamFiles: false, + compression: "STORE", + compressionOptions : null, + type: "", + platform: "DOS", + comment: null, + mimeType: 'application/zip', + encodeFileName: utf8.utf8encode + }); + + opts.type = opts.type.toLowerCase(); + opts.compression = opts.compression.toUpperCase(); + + // "binarystring" is prefered but the internals use "string". + if(opts.type === "binarystring") { + opts.type = "string"; + } + + if (!opts.type) { + throw new Error("No output type specified."); + } + + utils.checkSupport(opts.type); + + // accept nodejs `process.platform` + if( + opts.platform === 'darwin' || + opts.platform === 'freebsd' || + opts.platform === 'linux' || + opts.platform === 'sunos' + ) { + opts.platform = "UNIX"; + } + if (opts.platform === 'win32') { + opts.platform = "DOS"; + } + + var comment = opts.comment || this.comment || ""; + worker = generate.generateWorker(this, opts, comment); + } catch (e) { + worker = new GenericWorker("error"); + worker.error(e); + } + return new StreamHelper(worker, opts.type || "string", opts.mimeType); + }, + /** + * Generate the complete zip file asynchronously. + * @see generateInternalStream + */ + generateAsync: function(options, onUpdate) { + return this.generateInternalStream(options).accumulate(onUpdate); + }, + /** + * Generate the complete zip file asynchronously. + * @see generateInternalStream + */ + generateNodeStream: function(options, onUpdate) { + options = options || {}; + if (!options.type) { + options.type = "nodebuffer"; + } + return this.generateInternalStream(options).toNodejsStream(onUpdate); + } +}; +module.exports = out; + +},{"./compressedObject":2,"./defaults":5,"./generate":9,"./nodejs/NodejsStreamInputAdapter":12,"./nodejsUtils":14,"./stream/GenericWorker":28,"./stream/StreamHelper":29,"./utf8":31,"./utils":32,"./zipObject":35}],16:[function(require,module,exports){ +/* + * This file is used by module bundlers (browserify/webpack/etc) when + * including a stream implementation. We use "readable-stream" to get a + * consistent behavior between nodejs versions but bundlers often have a shim + * for "stream". Using this shim greatly improve the compatibility and greatly + * reduce the final size of the bundle (only one stream implementation, not + * two). + */ +module.exports = require("stream"); + +},{"stream":undefined}],17:[function(require,module,exports){ +'use strict'; +var DataReader = require('./DataReader'); +var utils = require('../utils'); + +function ArrayReader(data) { + DataReader.call(this, data); + for(var i = 0; i < this.data.length; i++) { + data[i] = data[i] & 0xFF; + } +} +utils.inherits(ArrayReader, DataReader); +/** + * @see DataReader.byteAt + */ +ArrayReader.prototype.byteAt = function(i) { + return this.data[this.zero + i]; +}; +/** + * @see DataReader.lastIndexOfSignature + */ +ArrayReader.prototype.lastIndexOfSignature = function(sig) { + var sig0 = sig.charCodeAt(0), + sig1 = sig.charCodeAt(1), + sig2 = sig.charCodeAt(2), + sig3 = sig.charCodeAt(3); + for (var i = this.length - 4; i >= 0; --i) { + if (this.data[i] === sig0 && this.data[i + 1] === sig1 && this.data[i + 2] === sig2 && this.data[i + 3] === sig3) { + return i - this.zero; + } + } + + return -1; +}; +/** + * @see DataReader.readAndCheckSignature + */ +ArrayReader.prototype.readAndCheckSignature = function (sig) { + var sig0 = sig.charCodeAt(0), + sig1 = sig.charCodeAt(1), + sig2 = sig.charCodeAt(2), + sig3 = sig.charCodeAt(3), + data = this.readData(4); + return sig0 === data[0] && sig1 === data[1] && sig2 === data[2] && sig3 === data[3]; +}; +/** + * @see DataReader.readData + */ +ArrayReader.prototype.readData = function(size) { + this.checkOffset(size); + if(size === 0) { + return []; + } + var result = this.data.slice(this.zero + this.index, this.zero + this.index + size); + this.index += size; + return result; +}; +module.exports = ArrayReader; + +},{"../utils":32,"./DataReader":18}],18:[function(require,module,exports){ +'use strict'; +var utils = require('../utils'); + +function DataReader(data) { + this.data = data; // type : see implementation + this.length = data.length; + this.index = 0; + this.zero = 0; +} +DataReader.prototype = { + /** + * Check that the offset will not go too far. + * @param {string} offset the additional offset to check. + * @throws {Error} an Error if the offset is out of bounds. + */ + checkOffset: function(offset) { + this.checkIndex(this.index + offset); + }, + /** + * Check that the specified index will not be too far. + * @param {string} newIndex the index to check. + * @throws {Error} an Error if the index is out of bounds. + */ + checkIndex: function(newIndex) { + if (this.length < this.zero + newIndex || newIndex < 0) { + throw new Error("End of data reached (data length = " + this.length + ", asked index = " + (newIndex) + "). Corrupted zip ?"); + } + }, + /** + * Change the index. + * @param {number} newIndex The new index. + * @throws {Error} if the new index is out of the data. + */ + setIndex: function(newIndex) { + this.checkIndex(newIndex); + this.index = newIndex; + }, + /** + * Skip the next n bytes. + * @param {number} n the number of bytes to skip. + * @throws {Error} if the new index is out of the data. + */ + skip: function(n) { + this.setIndex(this.index + n); + }, + /** + * Get the byte at the specified index. + * @param {number} i the index to use. + * @return {number} a byte. + */ + byteAt: function(i) { + // see implementations + }, + /** + * Get the next number with a given byte size. + * @param {number} size the number of bytes to read. + * @return {number} the corresponding number. + */ + readInt: function(size) { + var result = 0, + i; + this.checkOffset(size); + for (i = this.index + size - 1; i >= this.index; i--) { + result = (result << 8) + this.byteAt(i); + } + this.index += size; + return result; + }, + /** + * Get the next string with a given byte size. + * @param {number} size the number of bytes to read. + * @return {string} the corresponding string. + */ + readString: function(size) { + return utils.transformTo("string", this.readData(size)); + }, + /** + * Get raw data without conversion, bytes. + * @param {number} size the number of bytes to read. + * @return {Object} the raw data, implementation specific. + */ + readData: function(size) { + // see implementations + }, + /** + * Find the last occurence of a zip signature (4 bytes). + * @param {string} sig the signature to find. + * @return {number} the index of the last occurence, -1 if not found. + */ + lastIndexOfSignature: function(sig) { + // see implementations + }, + /** + * Read the signature (4 bytes) at the current position and compare it with sig. + * @param {string} sig the expected signature + * @return {boolean} true if the signature matches, false otherwise. + */ + readAndCheckSignature: function(sig) { + // see implementations + }, + /** + * Get the next date. + * @return {Date} the date. + */ + readDate: function() { + var dostime = this.readInt(4); + return new Date(Date.UTC( + ((dostime >> 25) & 0x7f) + 1980, // year + ((dostime >> 21) & 0x0f) - 1, // month + (dostime >> 16) & 0x1f, // day + (dostime >> 11) & 0x1f, // hour + (dostime >> 5) & 0x3f, // minute + (dostime & 0x1f) << 1)); // second + } +}; +module.exports = DataReader; + +},{"../utils":32}],19:[function(require,module,exports){ +'use strict'; +var Uint8ArrayReader = require('./Uint8ArrayReader'); +var utils = require('../utils'); + +function NodeBufferReader(data) { + Uint8ArrayReader.call(this, data); +} +utils.inherits(NodeBufferReader, Uint8ArrayReader); + +/** + * @see DataReader.readData + */ +NodeBufferReader.prototype.readData = function(size) { + this.checkOffset(size); + var result = this.data.slice(this.zero + this.index, this.zero + this.index + size); + this.index += size; + return result; +}; +module.exports = NodeBufferReader; + +},{"../utils":32,"./Uint8ArrayReader":21}],20:[function(require,module,exports){ +'use strict'; +var DataReader = require('./DataReader'); +var utils = require('../utils'); + +function StringReader(data) { + DataReader.call(this, data); +} +utils.inherits(StringReader, DataReader); +/** + * @see DataReader.byteAt + */ +StringReader.prototype.byteAt = function(i) { + return this.data.charCodeAt(this.zero + i); +}; +/** + * @see DataReader.lastIndexOfSignature + */ +StringReader.prototype.lastIndexOfSignature = function(sig) { + return this.data.lastIndexOf(sig) - this.zero; +}; +/** + * @see DataReader.readAndCheckSignature + */ +StringReader.prototype.readAndCheckSignature = function (sig) { + var data = this.readData(4); + return sig === data; +}; +/** + * @see DataReader.readData + */ +StringReader.prototype.readData = function(size) { + this.checkOffset(size); + // this will work because the constructor applied the "& 0xff" mask. + var result = this.data.slice(this.zero + this.index, this.zero + this.index + size); + this.index += size; + return result; +}; +module.exports = StringReader; + +},{"../utils":32,"./DataReader":18}],21:[function(require,module,exports){ +'use strict'; +var ArrayReader = require('./ArrayReader'); +var utils = require('../utils'); + +function Uint8ArrayReader(data) { + ArrayReader.call(this, data); +} +utils.inherits(Uint8ArrayReader, ArrayReader); +/** + * @see DataReader.readData + */ +Uint8ArrayReader.prototype.readData = function(size) { + this.checkOffset(size); + if(size === 0) { + // in IE10, when using subarray(idx, idx), we get the array [0x00] instead of []. + return new Uint8Array(0); + } + var result = this.data.subarray(this.zero + this.index, this.zero + this.index + size); + this.index += size; + return result; +}; +module.exports = Uint8ArrayReader; + +},{"../utils":32,"./ArrayReader":17}],22:[function(require,module,exports){ +'use strict'; + +var utils = require('../utils'); +var support = require('../support'); +var ArrayReader = require('./ArrayReader'); +var StringReader = require('./StringReader'); +var NodeBufferReader = require('./NodeBufferReader'); +var Uint8ArrayReader = require('./Uint8ArrayReader'); + +/** + * Create a reader adapted to the data. + * @param {String|ArrayBuffer|Uint8Array|Buffer} data the data to read. + * @return {DataReader} the data reader. + */ +module.exports = function (data) { + var type = utils.getTypeOf(data); + utils.checkSupport(type); + if (type === "string" && !support.uint8array) { + return new StringReader(data); + } + if (type === "nodebuffer") { + return new NodeBufferReader(data); + } + if (support.uint8array) { + return new Uint8ArrayReader(utils.transformTo("uint8array", data)); + } + return new ArrayReader(utils.transformTo("array", data)); +}; + +},{"../support":30,"../utils":32,"./ArrayReader":17,"./NodeBufferReader":19,"./StringReader":20,"./Uint8ArrayReader":21}],23:[function(require,module,exports){ +'use strict'; +exports.LOCAL_FILE_HEADER = "PK\x03\x04"; +exports.CENTRAL_FILE_HEADER = "PK\x01\x02"; +exports.CENTRAL_DIRECTORY_END = "PK\x05\x06"; +exports.ZIP64_CENTRAL_DIRECTORY_LOCATOR = "PK\x06\x07"; +exports.ZIP64_CENTRAL_DIRECTORY_END = "PK\x06\x06"; +exports.DATA_DESCRIPTOR = "PK\x07\x08"; + +},{}],24:[function(require,module,exports){ +'use strict'; + +var GenericWorker = require('./GenericWorker'); +var utils = require('../utils'); + +/** + * A worker which convert chunks to a specified type. + * @constructor + * @param {String} destType the destination type. + */ +function ConvertWorker(destType) { + GenericWorker.call(this, "ConvertWorker to " + destType); + this.destType = destType; +} +utils.inherits(ConvertWorker, GenericWorker); + +/** + * @see GenericWorker.processChunk + */ +ConvertWorker.prototype.processChunk = function (chunk) { + this.push({ + data : utils.transformTo(this.destType, chunk.data), + meta : chunk.meta + }); +}; +module.exports = ConvertWorker; + +},{"../utils":32,"./GenericWorker":28}],25:[function(require,module,exports){ +'use strict'; + +var GenericWorker = require('./GenericWorker'); +var crc32 = require('../crc32'); +var utils = require('../utils'); + +/** + * A worker which calculate the crc32 of the data flowing through. + * @constructor + */ +function Crc32Probe() { + GenericWorker.call(this, "Crc32Probe"); + this.withStreamInfo("crc32", 0); +} +utils.inherits(Crc32Probe, GenericWorker); + +/** + * @see GenericWorker.processChunk + */ +Crc32Probe.prototype.processChunk = function (chunk) { + this.streamInfo.crc32 = crc32(chunk.data, this.streamInfo.crc32 || 0); + this.push(chunk); +}; +module.exports = Crc32Probe; + +},{"../crc32":4,"../utils":32,"./GenericWorker":28}],26:[function(require,module,exports){ +'use strict'; + +var utils = require('../utils'); +var GenericWorker = require('./GenericWorker'); + +/** + * A worker which calculate the total length of the data flowing through. + * @constructor + * @param {String} propName the name used to expose the length + */ +function DataLengthProbe(propName) { + GenericWorker.call(this, "DataLengthProbe for " + propName); + this.propName = propName; + this.withStreamInfo(propName, 0); +} +utils.inherits(DataLengthProbe, GenericWorker); + +/** + * @see GenericWorker.processChunk + */ +DataLengthProbe.prototype.processChunk = function (chunk) { + if(chunk) { + var length = this.streamInfo[this.propName] || 0; + this.streamInfo[this.propName] = length + chunk.data.length; + } + GenericWorker.prototype.processChunk.call(this, chunk); +}; +module.exports = DataLengthProbe; + + +},{"../utils":32,"./GenericWorker":28}],27:[function(require,module,exports){ +'use strict'; + +var utils = require('../utils'); +var GenericWorker = require('./GenericWorker'); + +// the size of the generated chunks +// TODO expose this as a public variable +var DEFAULT_BLOCK_SIZE = 16 * 1024; + +/** + * A worker that reads a content and emits chunks. + * @constructor + * @param {Promise} dataP the promise of the data to split + */ +function DataWorker(dataP) { + GenericWorker.call(this, "DataWorker"); + var self = this; + this.dataIsReady = false; + this.index = 0; + this.max = 0; + this.data = null; + this.type = ""; + + this._tickScheduled = false; + + dataP.then(function (data) { + self.dataIsReady = true; + self.data = data; + self.max = data && data.length || 0; + self.type = utils.getTypeOf(data); + if(!self.isPaused) { + self._tickAndRepeat(); + } + }, function (e) { + self.error(e); + }); +} + +utils.inherits(DataWorker, GenericWorker); + +/** + * @see GenericWorker.cleanUp + */ +DataWorker.prototype.cleanUp = function () { + GenericWorker.prototype.cleanUp.call(this); + this.data = null; +}; + +/** + * @see GenericWorker.resume + */ +DataWorker.prototype.resume = function () { + if(!GenericWorker.prototype.resume.call(this)) { + return false; + } + + if (!this._tickScheduled && this.dataIsReady) { + this._tickScheduled = true; + utils.delay(this._tickAndRepeat, [], this); + } + return true; +}; + +/** + * Trigger a tick a schedule an other call to this function. + */ +DataWorker.prototype._tickAndRepeat = function() { + this._tickScheduled = false; + if(this.isPaused || this.isFinished) { + return; + } + this._tick(); + if(!this.isFinished) { + utils.delay(this._tickAndRepeat, [], this); + this._tickScheduled = true; + } +}; + +/** + * Read and push a chunk. + */ +DataWorker.prototype._tick = function() { + + if(this.isPaused || this.isFinished) { + return false; + } + + var size = DEFAULT_BLOCK_SIZE; + var data = null, nextIndex = Math.min(this.max, this.index + size); + if (this.index >= this.max) { + // EOF + return this.end(); + } else { + switch(this.type) { + case "string": + data = this.data.substring(this.index, nextIndex); + break; + case "uint8array": + data = this.data.subarray(this.index, nextIndex); + break; + case "array": + case "nodebuffer": + data = this.data.slice(this.index, nextIndex); + break; + } + this.index = nextIndex; + return this.push({ + data : data, + meta : { + percent : this.max ? this.index / this.max * 100 : 0 + } + }); + } +}; + +module.exports = DataWorker; + +},{"../utils":32,"./GenericWorker":28}],28:[function(require,module,exports){ +'use strict'; + +/** + * A worker that does nothing but passing chunks to the next one. This is like + * a nodejs stream but with some differences. On the good side : + * - it works on IE 6-9 without any issue / polyfill + * - it weights less than the full dependencies bundled with browserify + * - it forwards errors (no need to declare an error handler EVERYWHERE) + * + * A chunk is an object with 2 attributes : `meta` and `data`. The former is an + * object containing anything (`percent` for example), see each worker for more + * details. The latter is the real data (String, Uint8Array, etc). + * + * @constructor + * @param {String} name the name of the stream (mainly used for debugging purposes) + */ +function GenericWorker(name) { + // the name of the worker + this.name = name || "default"; + // an object containing metadata about the workers chain + this.streamInfo = {}; + // an error which happened when the worker was paused + this.generatedError = null; + // an object containing metadata to be merged by this worker into the general metadata + this.extraStreamInfo = {}; + // true if the stream is paused (and should not do anything), false otherwise + this.isPaused = true; + // true if the stream is finished (and should not do anything), false otherwise + this.isFinished = false; + // true if the stream is locked to prevent further structure updates (pipe), false otherwise + this.isLocked = false; + // the event listeners + this._listeners = { + 'data':[], + 'end':[], + 'error':[] + }; + // the previous worker, if any + this.previous = null; +} + +GenericWorker.prototype = { + /** + * Push a chunk to the next workers. + * @param {Object} chunk the chunk to push + */ + push : function (chunk) { + this.emit("data", chunk); + }, + /** + * End the stream. + * @return {Boolean} true if this call ended the worker, false otherwise. + */ + end : function () { + if (this.isFinished) { + return false; + } + + this.flush(); + try { + this.emit("end"); + this.cleanUp(); + this.isFinished = true; + } catch (e) { + this.emit("error", e); + } + return true; + }, + /** + * End the stream with an error. + * @param {Error} e the error which caused the premature end. + * @return {Boolean} true if this call ended the worker with an error, false otherwise. + */ + error : function (e) { + if (this.isFinished) { + return false; + } + + if(this.isPaused) { + this.generatedError = e; + } else { + this.isFinished = true; + + this.emit("error", e); + + // in the workers chain exploded in the middle of the chain, + // the error event will go downward but we also need to notify + // workers upward that there has been an error. + if(this.previous) { + this.previous.error(e); + } + + this.cleanUp(); + } + return true; + }, + /** + * Add a callback on an event. + * @param {String} name the name of the event (data, end, error) + * @param {Function} listener the function to call when the event is triggered + * @return {GenericWorker} the current object for chainability + */ + on : function (name, listener) { + this._listeners[name].push(listener); + return this; + }, + /** + * Clean any references when a worker is ending. + */ + cleanUp : function () { + this.streamInfo = this.generatedError = this.extraStreamInfo = null; + this._listeners = []; + }, + /** + * Trigger an event. This will call registered callback with the provided arg. + * @param {String} name the name of the event (data, end, error) + * @param {Object} arg the argument to call the callback with. + */ + emit : function (name, arg) { + if (this._listeners[name]) { + for(var i = 0; i < this._listeners[name].length; i++) { + this._listeners[name][i].call(this, arg); + } + } + }, + /** + * Chain a worker with an other. + * @param {Worker} next the worker receiving events from the current one. + * @return {worker} the next worker for chainability + */ + pipe : function (next) { + return next.registerPrevious(this); + }, + /** + * Same as `pipe` in the other direction. + * Using an API with `pipe(next)` is very easy. + * Implementing the API with the point of view of the next one registering + * a source is easier, see the ZipFileWorker. + * @param {Worker} previous the previous worker, sending events to this one + * @return {Worker} the current worker for chainability + */ + registerPrevious : function (previous) { + if (this.isLocked) { + throw new Error("The stream '" + this + "' has already been used."); + } + + // sharing the streamInfo... + this.streamInfo = previous.streamInfo; + // ... and adding our own bits + this.mergeStreamInfo(); + this.previous = previous; + var self = this; + previous.on('data', function (chunk) { + self.processChunk(chunk); + }); + previous.on('end', function () { + self.end(); + }); + previous.on('error', function (e) { + self.error(e); + }); + return this; + }, + /** + * Pause the stream so it doesn't send events anymore. + * @return {Boolean} true if this call paused the worker, false otherwise. + */ + pause : function () { + if(this.isPaused || this.isFinished) { + return false; + } + this.isPaused = true; + + if(this.previous) { + this.previous.pause(); + } + return true; + }, + /** + * Resume a paused stream. + * @return {Boolean} true if this call resumed the worker, false otherwise. + */ + resume : function () { + if(!this.isPaused || this.isFinished) { + return false; + } + this.isPaused = false; + + // if true, the worker tried to resume but failed + var withError = false; + if(this.generatedError) { + this.error(this.generatedError); + withError = true; + } + if(this.previous) { + this.previous.resume(); + } + + return !withError; + }, + /** + * Flush any remaining bytes as the stream is ending. + */ + flush : function () {}, + /** + * Process a chunk. This is usually the method overridden. + * @param {Object} chunk the chunk to process. + */ + processChunk : function(chunk) { + this.push(chunk); + }, + /** + * Add a key/value to be added in the workers chain streamInfo once activated. + * @param {String} key the key to use + * @param {Object} value the associated value + * @return {Worker} the current worker for chainability + */ + withStreamInfo : function (key, value) { + this.extraStreamInfo[key] = value; + this.mergeStreamInfo(); + return this; + }, + /** + * Merge this worker's streamInfo into the chain's streamInfo. + */ + mergeStreamInfo : function () { + for(var key in this.extraStreamInfo) { + if (!this.extraStreamInfo.hasOwnProperty(key)) { + continue; + } + this.streamInfo[key] = this.extraStreamInfo[key]; + } + }, + + /** + * Lock the stream to prevent further updates on the workers chain. + * After calling this method, all calls to pipe will fail. + */ + lock: function () { + if (this.isLocked) { + throw new Error("The stream '" + this + "' has already been used."); + } + this.isLocked = true; + if (this.previous) { + this.previous.lock(); + } + }, + + /** + * + * Pretty print the workers chain. + */ + toString : function () { + var me = "Worker " + this.name; + if (this.previous) { + return this.previous + " -> " + me; + } else { + return me; + } + } +}; + +module.exports = GenericWorker; + +},{}],29:[function(require,module,exports){ +'use strict'; + +var utils = require('../utils'); +var ConvertWorker = require('./ConvertWorker'); +var GenericWorker = require('./GenericWorker'); +var base64 = require('../base64'); +var support = require("../support"); +var external = require("../external"); + +var NodejsStreamOutputAdapter = null; +if (support.nodestream) { + try { + NodejsStreamOutputAdapter = require('../nodejs/NodejsStreamOutputAdapter'); + } catch(e) {} +} + +/** + * Apply the final transformation of the data. If the user wants a Blob for + * example, it's easier to work with an U8intArray and finally do the + * ArrayBuffer/Blob conversion. + * @param {String} type the name of the final type + * @param {String|Uint8Array|Buffer} content the content to transform + * @param {String} mimeType the mime type of the content, if applicable. + * @return {String|Uint8Array|ArrayBuffer|Buffer|Blob} the content in the right format. + */ +function transformZipOutput(type, content, mimeType) { + switch(type) { + case "blob" : + return utils.newBlob(utils.transformTo("arraybuffer", content), mimeType); + case "base64" : + return base64.encode(content); + default : + return utils.transformTo(type, content); + } +} + +/** + * Concatenate an array of data of the given type. + * @param {String} type the type of the data in the given array. + * @param {Array} dataArray the array containing the data chunks to concatenate + * @return {String|Uint8Array|Buffer} the concatenated data + * @throws Error if the asked type is unsupported + */ +function concat (type, dataArray) { + var i, index = 0, res = null, totalLength = 0; + for(i = 0; i < dataArray.length; i++) { + totalLength += dataArray[i].length; + } + switch(type) { + case "string": + return dataArray.join(""); + case "array": + return Array.prototype.concat.apply([], dataArray); + case "uint8array": + res = new Uint8Array(totalLength); + for(i = 0; i < dataArray.length; i++) { + res.set(dataArray[i], index); + index += dataArray[i].length; + } + return res; + case "nodebuffer": + return Buffer.concat(dataArray); + default: + throw new Error("concat : unsupported type '" + type + "'"); + } +} + +/** + * Listen a StreamHelper, accumulate its content and concatenate it into a + * complete block. + * @param {StreamHelper} helper the helper to use. + * @param {Function} updateCallback a callback called on each update. Called + * with one arg : + * - the metadata linked to the update received. + * @return Promise the promise for the accumulation. + */ +function accumulate(helper, updateCallback) { + return new external.Promise(function (resolve, reject){ + var dataArray = []; + var chunkType = helper._internalType, + resultType = helper._outputType, + mimeType = helper._mimeType; + helper + .on('data', function (data, meta) { + dataArray.push(data); + if(updateCallback) { + updateCallback(meta); + } + }) + .on('error', function(err) { + dataArray = []; + reject(err); + }) + .on('end', function (){ + try { + var result = transformZipOutput(resultType, concat(chunkType, dataArray), mimeType); + resolve(result); + } catch (e) { + reject(e); + } + dataArray = []; + }) + .resume(); + }); +} + +/** + * An helper to easily use workers outside of JSZip. + * @constructor + * @param {Worker} worker the worker to wrap + * @param {String} outputType the type of data expected by the use + * @param {String} mimeType the mime type of the content, if applicable. + */ +function StreamHelper(worker, outputType, mimeType) { + var internalType = outputType; + switch(outputType) { + case "blob": + case "arraybuffer": + internalType = "uint8array"; + break; + case "base64": + internalType = "string"; + break; + } + + try { + // the type used internally + this._internalType = internalType; + // the type used to output results + this._outputType = outputType; + // the mime type + this._mimeType = mimeType; + utils.checkSupport(internalType); + this._worker = worker.pipe(new ConvertWorker(internalType)); + // the last workers can be rewired without issues but we need to + // prevent any updates on previous workers. + worker.lock(); + } catch(e) { + this._worker = new GenericWorker("error"); + this._worker.error(e); + } +} + +StreamHelper.prototype = { + /** + * Listen a StreamHelper, accumulate its content and concatenate it into a + * complete block. + * @param {Function} updateCb the update callback. + * @return Promise the promise for the accumulation. + */ + accumulate : function (updateCb) { + return accumulate(this, updateCb); + }, + /** + * Add a listener on an event triggered on a stream. + * @param {String} evt the name of the event + * @param {Function} fn the listener + * @return {StreamHelper} the current helper. + */ + on : function (evt, fn) { + var self = this; + + if(evt === "data") { + this._worker.on(evt, function (chunk) { + fn.call(self, chunk.data, chunk.meta); + }); + } else { + this._worker.on(evt, function () { + utils.delay(fn, arguments, self); + }); + } + return this; + }, + /** + * Resume the flow of chunks. + * @return {StreamHelper} the current helper. + */ + resume : function () { + utils.delay(this._worker.resume, [], this._worker); + return this; + }, + /** + * Pause the flow of chunks. + * @return {StreamHelper} the current helper. + */ + pause : function () { + this._worker.pause(); + return this; + }, + /** + * Return a nodejs stream for this helper. + * @param {Function} updateCb the update callback. + * @return {NodejsStreamOutputAdapter} the nodejs stream. + */ + toNodejsStream : function (updateCb) { + utils.checkSupport("nodestream"); + if (this._outputType !== "nodebuffer") { + // an object stream containing blob/arraybuffer/uint8array/string + // is strange and I don't know if it would be useful. + // I you find this comment and have a good usecase, please open a + // bug report ! + throw new Error(this._outputType + " is not supported by this method"); + } + + return new NodejsStreamOutputAdapter(this, { + objectMode : this._outputType !== "nodebuffer" + }, updateCb); + } +}; + + +module.exports = StreamHelper; + +},{"../base64":1,"../external":6,"../nodejs/NodejsStreamOutputAdapter":13,"../support":30,"../utils":32,"./ConvertWorker":24,"./GenericWorker":28}],30:[function(require,module,exports){ +'use strict'; + +exports.base64 = true; +exports.array = true; +exports.string = true; +exports.arraybuffer = typeof ArrayBuffer !== "undefined" && typeof Uint8Array !== "undefined"; +exports.nodebuffer = typeof Buffer !== "undefined"; +// contains true if JSZip can read/generate Uint8Array, false otherwise. +exports.uint8array = typeof Uint8Array !== "undefined"; + +if (typeof ArrayBuffer === "undefined") { + exports.blob = false; +} +else { + var buffer = new ArrayBuffer(0); + try { + exports.blob = new Blob([buffer], { + type: "application/zip" + }).size === 0; + } + catch (e) { + try { + var Builder = self.BlobBuilder || self.WebKitBlobBuilder || self.MozBlobBuilder || self.MSBlobBuilder; + var builder = new Builder(); + builder.append(buffer); + exports.blob = builder.getBlob('application/zip').size === 0; + } + catch (e) { + exports.blob = false; + } + } +} + +try { + exports.nodestream = !!require('readable-stream').Readable; +} catch(e) { + exports.nodestream = false; +} + +},{"readable-stream":16}],31:[function(require,module,exports){ +'use strict'; + +var utils = require('./utils'); +var support = require('./support'); +var nodejsUtils = require('./nodejsUtils'); +var GenericWorker = require('./stream/GenericWorker'); + +/** + * The following functions come from pako, from pako/lib/utils/strings + * released under the MIT license, see pako https://github.com/nodeca/pako/ + */ + +// Table with utf8 lengths (calculated by first byte of sequence) +// Note, that 5 & 6-byte values and some 4-byte values can not be represented in JS, +// because max possible codepoint is 0x10ffff +var _utf8len = new Array(256); +for (var i=0; i<256; i++) { + _utf8len[i] = (i >= 252 ? 6 : i >= 248 ? 5 : i >= 240 ? 4 : i >= 224 ? 3 : i >= 192 ? 2 : 1); +} +_utf8len[254]=_utf8len[254]=1; // Invalid sequence start + +// convert string to array (typed, when possible) +var string2buf = function (str) { + var buf, c, c2, m_pos, i, str_len = str.length, buf_len = 0; + + // count binary size + for (m_pos = 0; m_pos < str_len; m_pos++) { + c = str.charCodeAt(m_pos); + if ((c & 0xfc00) === 0xd800 && (m_pos+1 < str_len)) { + c2 = str.charCodeAt(m_pos+1); + if ((c2 & 0xfc00) === 0xdc00) { + c = 0x10000 + ((c - 0xd800) << 10) + (c2 - 0xdc00); + m_pos++; + } + } + buf_len += c < 0x80 ? 1 : c < 0x800 ? 2 : c < 0x10000 ? 3 : 4; + } + + // allocate buffer + if (support.uint8array) { + buf = new Uint8Array(buf_len); + } else { + buf = new Array(buf_len); + } + + // convert + for (i=0, m_pos = 0; i < buf_len; m_pos++) { + c = str.charCodeAt(m_pos); + if ((c & 0xfc00) === 0xd800 && (m_pos+1 < str_len)) { + c2 = str.charCodeAt(m_pos+1); + if ((c2 & 0xfc00) === 0xdc00) { + c = 0x10000 + ((c - 0xd800) << 10) + (c2 - 0xdc00); + m_pos++; + } + } + if (c < 0x80) { + /* one byte */ + buf[i++] = c; + } else if (c < 0x800) { + /* two bytes */ + buf[i++] = 0xC0 | (c >>> 6); + buf[i++] = 0x80 | (c & 0x3f); + } else if (c < 0x10000) { + /* three bytes */ + buf[i++] = 0xE0 | (c >>> 12); + buf[i++] = 0x80 | (c >>> 6 & 0x3f); + buf[i++] = 0x80 | (c & 0x3f); + } else { + /* four bytes */ + buf[i++] = 0xf0 | (c >>> 18); + buf[i++] = 0x80 | (c >>> 12 & 0x3f); + buf[i++] = 0x80 | (c >>> 6 & 0x3f); + buf[i++] = 0x80 | (c & 0x3f); + } + } + + return buf; +}; + +// Calculate max possible position in utf8 buffer, +// that will not break sequence. If that's not possible +// - (very small limits) return max size as is. +// +// buf[] - utf8 bytes array +// max - length limit (mandatory); +var utf8border = function(buf, max) { + var pos; + + max = max || buf.length; + if (max > buf.length) { max = buf.length; } + + // go back from last position, until start of sequence found + pos = max-1; + while (pos >= 0 && (buf[pos] & 0xC0) === 0x80) { pos--; } + + // Fuckup - very small and broken sequence, + // return max, because we should return something anyway. + if (pos < 0) { return max; } + + // If we came to start of buffer - that means vuffer is too small, + // return max too. + if (pos === 0) { return max; } + + return (pos + _utf8len[buf[pos]] > max) ? pos : max; +}; + +// convert array to string +var buf2string = function (buf) { + var str, i, out, c, c_len; + var len = buf.length; + + // Reserve max possible length (2 words per char) + // NB: by unknown reasons, Array is significantly faster for + // String.fromCharCode.apply than Uint16Array. + var utf16buf = new Array(len*2); + + for (out=0, i=0; i 4) { utf16buf[out++] = 0xfffd; i += c_len-1; continue; } + + // apply mask on first byte + c &= c_len === 2 ? 0x1f : c_len === 3 ? 0x0f : 0x07; + // join the rest + while (c_len > 1 && i < len) { + c = (c << 6) | (buf[i++] & 0x3f); + c_len--; + } + + // terminated by end of string? + if (c_len > 1) { utf16buf[out++] = 0xfffd; continue; } + + if (c < 0x10000) { + utf16buf[out++] = c; + } else { + c -= 0x10000; + utf16buf[out++] = 0xd800 | ((c >> 10) & 0x3ff); + utf16buf[out++] = 0xdc00 | (c & 0x3ff); + } + } + + // shrinkBuf(utf16buf, out) + if (utf16buf.length !== out) { + if(utf16buf.subarray) { + utf16buf = utf16buf.subarray(0, out); + } else { + utf16buf.length = out; + } + } + + // return String.fromCharCode.apply(null, utf16buf); + return utils.applyFromCharCode(utf16buf); +}; + + +// That's all for the pako functions. + + +/** + * Transform a javascript string into an array (typed if possible) of bytes, + * UTF-8 encoded. + * @param {String} str the string to encode + * @return {Array|Uint8Array|Buffer} the UTF-8 encoded string. + */ +exports.utf8encode = function utf8encode(str) { + if (support.nodebuffer) { + return nodejsUtils.newBufferFrom(str, "utf-8"); + } + + return string2buf(str); +}; + + +/** + * Transform a bytes array (or a representation) representing an UTF-8 encoded + * string into a javascript string. + * @param {Array|Uint8Array|Buffer} buf the data de decode + * @return {String} the decoded string. + */ +exports.utf8decode = function utf8decode(buf) { + if (support.nodebuffer) { + return utils.transformTo("nodebuffer", buf).toString("utf-8"); + } + + buf = utils.transformTo(support.uint8array ? "uint8array" : "array", buf); + + return buf2string(buf); +}; + +/** + * A worker to decode utf8 encoded binary chunks into string chunks. + * @constructor + */ +function Utf8DecodeWorker() { + GenericWorker.call(this, "utf-8 decode"); + // the last bytes if a chunk didn't end with a complete codepoint. + this.leftOver = null; +} +utils.inherits(Utf8DecodeWorker, GenericWorker); + +/** + * @see GenericWorker.processChunk + */ +Utf8DecodeWorker.prototype.processChunk = function (chunk) { + + var data = utils.transformTo(support.uint8array ? "uint8array" : "array", chunk.data); + + // 1st step, re-use what's left of the previous chunk + if (this.leftOver && this.leftOver.length) { + if(support.uint8array) { + var previousData = data; + data = new Uint8Array(previousData.length + this.leftOver.length); + data.set(this.leftOver, 0); + data.set(previousData, this.leftOver.length); + } else { + data = this.leftOver.concat(data); + } + this.leftOver = null; + } + + var nextBoundary = utf8border(data); + var usableData = data; + if (nextBoundary !== data.length) { + if (support.uint8array) { + usableData = data.subarray(0, nextBoundary); + this.leftOver = data.subarray(nextBoundary, data.length); + } else { + usableData = data.slice(0, nextBoundary); + this.leftOver = data.slice(nextBoundary, data.length); + } + } + + this.push({ + data : exports.utf8decode(usableData), + meta : chunk.meta + }); +}; + +/** + * @see GenericWorker.flush + */ +Utf8DecodeWorker.prototype.flush = function () { + if(this.leftOver && this.leftOver.length) { + this.push({ + data : exports.utf8decode(this.leftOver), + meta : {} + }); + this.leftOver = null; + } +}; +exports.Utf8DecodeWorker = Utf8DecodeWorker; + +/** + * A worker to endcode string chunks into utf8 encoded binary chunks. + * @constructor + */ +function Utf8EncodeWorker() { + GenericWorker.call(this, "utf-8 encode"); +} +utils.inherits(Utf8EncodeWorker, GenericWorker); + +/** + * @see GenericWorker.processChunk + */ +Utf8EncodeWorker.prototype.processChunk = function (chunk) { + this.push({ + data : exports.utf8encode(chunk.data), + meta : chunk.meta + }); +}; +exports.Utf8EncodeWorker = Utf8EncodeWorker; + +},{"./nodejsUtils":14,"./stream/GenericWorker":28,"./support":30,"./utils":32}],32:[function(require,module,exports){ +'use strict'; + +var support = require('./support'); +var base64 = require('./base64'); +var nodejsUtils = require('./nodejsUtils'); +var setImmediate = require('core-js/library/fn/set-immediate'); +var external = require("./external"); + + +/** + * Convert a string that pass as a "binary string": it should represent a byte + * array but may have > 255 char codes. Be sure to take only the first byte + * and returns the byte array. + * @param {String} str the string to transform. + * @return {Array|Uint8Array} the string in a binary format. + */ +function string2binary(str) { + var result = null; + if (support.uint8array) { + result = new Uint8Array(str.length); + } else { + result = new Array(str.length); + } + return stringToArrayLike(str, result); +} + +/** + * Create a new blob with the given content and the given type. + * @param {String|ArrayBuffer} part the content to put in the blob. DO NOT use + * an Uint8Array because the stock browser of android 4 won't accept it (it + * will be silently converted to a string, "[object Uint8Array]"). + * + * Use only ONE part to build the blob to avoid a memory leak in IE11 / Edge: + * when a large amount of Array is used to create the Blob, the amount of + * memory consumed is nearly 100 times the original data amount. + * + * @param {String} type the mime type of the blob. + * @return {Blob} the created blob. + */ +exports.newBlob = function(part, type) { + exports.checkSupport("blob"); + + try { + // Blob constructor + return new Blob([part], { + type: type + }); + } + catch (e) { + + try { + // deprecated, browser only, old way + var Builder = self.BlobBuilder || self.WebKitBlobBuilder || self.MozBlobBuilder || self.MSBlobBuilder; + var builder = new Builder(); + builder.append(part); + return builder.getBlob(type); + } + catch (e) { + + // well, fuck ?! + throw new Error("Bug : can't construct the Blob."); + } + } + + +}; +/** + * The identity function. + * @param {Object} input the input. + * @return {Object} the same input. + */ +function identity(input) { + return input; +} + +/** + * Fill in an array with a string. + * @param {String} str the string to use. + * @param {Array|ArrayBuffer|Uint8Array|Buffer} array the array to fill in (will be mutated). + * @return {Array|ArrayBuffer|Uint8Array|Buffer} the updated array. + */ +function stringToArrayLike(str, array) { + for (var i = 0; i < str.length; ++i) { + array[i] = str.charCodeAt(i) & 0xFF; + } + return array; +} + +/** + * An helper for the function arrayLikeToString. + * This contains static informations and functions that + * can be optimized by the browser JIT compiler. + */ +var arrayToStringHelper = { + /** + * Transform an array of int into a string, chunk by chunk. + * See the performances notes on arrayLikeToString. + * @param {Array|ArrayBuffer|Uint8Array|Buffer} array the array to transform. + * @param {String} type the type of the array. + * @param {Integer} chunk the chunk size. + * @return {String} the resulting string. + * @throws Error if the chunk is too big for the stack. + */ + stringifyByChunk: function(array, type, chunk) { + var result = [], k = 0, len = array.length; + // shortcut + if (len <= chunk) { + return String.fromCharCode.apply(null, array); + } + while (k < len) { + if (type === "array" || type === "nodebuffer") { + result.push(String.fromCharCode.apply(null, array.slice(k, Math.min(k + chunk, len)))); + } + else { + result.push(String.fromCharCode.apply(null, array.subarray(k, Math.min(k + chunk, len)))); + } + k += chunk; + } + return result.join(""); + }, + /** + * Call String.fromCharCode on every item in the array. + * This is the naive implementation, which generate A LOT of intermediate string. + * This should be used when everything else fail. + * @param {Array|ArrayBuffer|Uint8Array|Buffer} array the array to transform. + * @return {String} the result. + */ + stringifyByChar: function(array){ + var resultStr = ""; + for(var i = 0; i < array.length; i++) { + resultStr += String.fromCharCode(array[i]); + } + return resultStr; + }, + applyCanBeUsed : { + /** + * true if the browser accepts to use String.fromCharCode on Uint8Array + */ + uint8array : (function () { + try { + return support.uint8array && String.fromCharCode.apply(null, new Uint8Array(1)).length === 1; + } catch (e) { + return false; + } + })(), + /** + * true if the browser accepts to use String.fromCharCode on nodejs Buffer. + */ + nodebuffer : (function () { + try { + return support.nodebuffer && String.fromCharCode.apply(null, nodejsUtils.allocBuffer(1)).length === 1; + } catch (e) { + return false; + } + })() + } +}; + +/** + * Transform an array-like object to a string. + * @param {Array|ArrayBuffer|Uint8Array|Buffer} array the array to transform. + * @return {String} the result. + */ +function arrayLikeToString(array) { + // Performances notes : + // -------------------- + // String.fromCharCode.apply(null, array) is the fastest, see + // see http://jsperf.com/converting-a-uint8array-to-a-string/2 + // but the stack is limited (and we can get huge arrays !). + // + // result += String.fromCharCode(array[i]); generate too many strings ! + // + // This code is inspired by http://jsperf.com/arraybuffer-to-string-apply-performance/2 + // TODO : we now have workers that split the work. Do we still need that ? + var chunk = 65536, + type = exports.getTypeOf(array), + canUseApply = true; + if (type === "uint8array") { + canUseApply = arrayToStringHelper.applyCanBeUsed.uint8array; + } else if (type === "nodebuffer") { + canUseApply = arrayToStringHelper.applyCanBeUsed.nodebuffer; + } + + if (canUseApply) { + while (chunk > 1) { + try { + return arrayToStringHelper.stringifyByChunk(array, type, chunk); + } catch (e) { + chunk = Math.floor(chunk / 2); + } + } + } + + // no apply or chunk error : slow and painful algorithm + // default browser on android 4.* + return arrayToStringHelper.stringifyByChar(array); +} + +exports.applyFromCharCode = arrayLikeToString; + + +/** + * Copy the data from an array-like to an other array-like. + * @param {Array|ArrayBuffer|Uint8Array|Buffer} arrayFrom the origin array. + * @param {Array|ArrayBuffer|Uint8Array|Buffer} arrayTo the destination array which will be mutated. + * @return {Array|ArrayBuffer|Uint8Array|Buffer} the updated destination array. + */ +function arrayLikeToArrayLike(arrayFrom, arrayTo) { + for (var i = 0; i < arrayFrom.length; i++) { + arrayTo[i] = arrayFrom[i]; + } + return arrayTo; +} + +// a matrix containing functions to transform everything into everything. +var transform = {}; + +// string to ? +transform["string"] = { + "string": identity, + "array": function(input) { + return stringToArrayLike(input, new Array(input.length)); + }, + "arraybuffer": function(input) { + return transform["string"]["uint8array"](input).buffer; + }, + "uint8array": function(input) { + return stringToArrayLike(input, new Uint8Array(input.length)); + }, + "nodebuffer": function(input) { + return stringToArrayLike(input, nodejsUtils.allocBuffer(input.length)); + } +}; + +// array to ? +transform["array"] = { + "string": arrayLikeToString, + "array": identity, + "arraybuffer": function(input) { + return (new Uint8Array(input)).buffer; + }, + "uint8array": function(input) { + return new Uint8Array(input); + }, + "nodebuffer": function(input) { + return nodejsUtils.newBufferFrom(input); + } +}; + +// arraybuffer to ? +transform["arraybuffer"] = { + "string": function(input) { + return arrayLikeToString(new Uint8Array(input)); + }, + "array": function(input) { + return arrayLikeToArrayLike(new Uint8Array(input), new Array(input.byteLength)); + }, + "arraybuffer": identity, + "uint8array": function(input) { + return new Uint8Array(input); + }, + "nodebuffer": function(input) { + return nodejsUtils.newBufferFrom(new Uint8Array(input)); + } +}; + +// uint8array to ? +transform["uint8array"] = { + "string": arrayLikeToString, + "array": function(input) { + return arrayLikeToArrayLike(input, new Array(input.length)); + }, + "arraybuffer": function(input) { + return input.buffer; + }, + "uint8array": identity, + "nodebuffer": function(input) { + return nodejsUtils.newBufferFrom(input); + } +}; + +// nodebuffer to ? +transform["nodebuffer"] = { + "string": arrayLikeToString, + "array": function(input) { + return arrayLikeToArrayLike(input, new Array(input.length)); + }, + "arraybuffer": function(input) { + return transform["nodebuffer"]["uint8array"](input).buffer; + }, + "uint8array": function(input) { + return arrayLikeToArrayLike(input, new Uint8Array(input.length)); + }, + "nodebuffer": identity +}; + +/** + * Transform an input into any type. + * The supported output type are : string, array, uint8array, arraybuffer, nodebuffer. + * If no output type is specified, the unmodified input will be returned. + * @param {String} outputType the output type. + * @param {String|Array|ArrayBuffer|Uint8Array|Buffer} input the input to convert. + * @throws {Error} an Error if the browser doesn't support the requested output type. + */ +exports.transformTo = function(outputType, input) { + if (!input) { + // undefined, null, etc + // an empty string won't harm. + input = ""; + } + if (!outputType) { + return input; + } + exports.checkSupport(outputType); + var inputType = exports.getTypeOf(input); + var result = transform[inputType][outputType](input); + return result; +}; + +/** + * Return the type of the input. + * The type will be in a format valid for JSZip.utils.transformTo : string, array, uint8array, arraybuffer. + * @param {Object} input the input to identify. + * @return {String} the (lowercase) type of the input. + */ +exports.getTypeOf = function(input) { + if (typeof input === "string") { + return "string"; + } + if (Object.prototype.toString.call(input) === "[object Array]") { + return "array"; + } + if (support.nodebuffer && nodejsUtils.isBuffer(input)) { + return "nodebuffer"; + } + if (support.uint8array && input instanceof Uint8Array) { + return "uint8array"; + } + if (support.arraybuffer && input instanceof ArrayBuffer) { + return "arraybuffer"; + } +}; + +/** + * Throw an exception if the type is not supported. + * @param {String} type the type to check. + * @throws {Error} an Error if the browser doesn't support the requested type. + */ +exports.checkSupport = function(type) { + var supported = support[type.toLowerCase()]; + if (!supported) { + throw new Error(type + " is not supported by this platform"); + } +}; + +exports.MAX_VALUE_16BITS = 65535; +exports.MAX_VALUE_32BITS = -1; // well, "\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF" is parsed as -1 + +/** + * Prettify a string read as binary. + * @param {string} str the string to prettify. + * @return {string} a pretty string. + */ +exports.pretty = function(str) { + var res = '', + code, i; + for (i = 0; i < (str || "").length; i++) { + code = str.charCodeAt(i); + res += '\\x' + (code < 16 ? "0" : "") + code.toString(16).toUpperCase(); + } + return res; +}; + +/** + * Defer the call of a function. + * @param {Function} callback the function to call asynchronously. + * @param {Array} args the arguments to give to the callback. + */ +exports.delay = function(callback, args, self) { + setImmediate(function () { + callback.apply(self || null, args || []); + }); +}; + +/** + * Extends a prototype with an other, without calling a constructor with + * side effects. Inspired by nodejs' `utils.inherits` + * @param {Function} ctor the constructor to augment + * @param {Function} superCtor the parent constructor to use + */ +exports.inherits = function (ctor, superCtor) { + var Obj = function() {}; + Obj.prototype = superCtor.prototype; + ctor.prototype = new Obj(); +}; + +/** + * Merge the objects passed as parameters into a new one. + * @private + * @param {...Object} var_args All objects to merge. + * @return {Object} a new object with the data of the others. + */ +exports.extend = function() { + var result = {}, i, attr; + for (i = 0; i < arguments.length; i++) { // arguments is not enumerable in some browsers + for (attr in arguments[i]) { + if (arguments[i].hasOwnProperty(attr) && typeof result[attr] === "undefined") { + result[attr] = arguments[i][attr]; + } + } + } + return result; +}; + +/** + * Transform arbitrary content into a Promise. + * @param {String} name a name for the content being processed. + * @param {Object} inputData the content to process. + * @param {Boolean} isBinary true if the content is not an unicode string + * @param {Boolean} isOptimizedBinaryString true if the string content only has one byte per character. + * @param {Boolean} isBase64 true if the string content is encoded with base64. + * @return {Promise} a promise in a format usable by JSZip. + */ +exports.prepareContent = function(name, inputData, isBinary, isOptimizedBinaryString, isBase64) { + + // if inputData is already a promise, this flatten it. + var promise = external.Promise.resolve(inputData).then(function(data) { + + + var isBlob = support.blob && (data instanceof Blob || ['[object File]', '[object Blob]'].indexOf(Object.prototype.toString.call(data)) !== -1); + + if (isBlob && typeof FileReader !== "undefined") { + return new external.Promise(function (resolve, reject) { + var reader = new FileReader(); + + reader.onload = function(e) { + resolve(e.target.result); + }; + reader.onerror = function(e) { + reject(e.target.error); + }; + reader.readAsArrayBuffer(data); + }); + } else { + return data; + } + }); + + return promise.then(function(data) { + var dataType = exports.getTypeOf(data); + + if (!dataType) { + return external.Promise.reject( + new Error("Can't read the data of '" + name + "'. Is it " + + "in a supported JavaScript type (String, Blob, ArrayBuffer, etc) ?") + ); + } + // special case : it's way easier to work with Uint8Array than with ArrayBuffer + if (dataType === "arraybuffer") { + data = exports.transformTo("uint8array", data); + } else if (dataType === "string") { + if (isBase64) { + data = base64.decode(data); + } + else if (isBinary) { + // optimizedBinaryString === true means that the file has already been filtered with a 0xFF mask + if (isOptimizedBinaryString !== true) { + // this is a string, not in a base64 format. + // Be sure that this is a correct "binary string" + data = string2binary(data); + } + } + } + return data; + }); +}; + +},{"./base64":1,"./external":6,"./nodejsUtils":14,"./support":30,"core-js/library/fn/set-immediate":36}],33:[function(require,module,exports){ +'use strict'; +var readerFor = require('./reader/readerFor'); +var utils = require('./utils'); +var sig = require('./signature'); +var ZipEntry = require('./zipEntry'); +var utf8 = require('./utf8'); +var support = require('./support'); +// class ZipEntries {{{ +/** + * All the entries in the zip file. + * @constructor + * @param {Object} loadOptions Options for loading the stream. + */ +function ZipEntries(loadOptions) { + this.files = []; + this.loadOptions = loadOptions; +} +ZipEntries.prototype = { + /** + * Check that the reader is on the specified signature. + * @param {string} expectedSignature the expected signature. + * @throws {Error} if it is an other signature. + */ + checkSignature: function(expectedSignature) { + if (!this.reader.readAndCheckSignature(expectedSignature)) { + this.reader.index -= 4; + var signature = this.reader.readString(4); + throw new Error("Corrupted zip or bug: unexpected signature " + "(" + utils.pretty(signature) + ", expected " + utils.pretty(expectedSignature) + ")"); + } + }, + /** + * Check if the given signature is at the given index. + * @param {number} askedIndex the index to check. + * @param {string} expectedSignature the signature to expect. + * @return {boolean} true if the signature is here, false otherwise. + */ + isSignature: function(askedIndex, expectedSignature) { + var currentIndex = this.reader.index; + this.reader.setIndex(askedIndex); + var signature = this.reader.readString(4); + var result = signature === expectedSignature; + this.reader.setIndex(currentIndex); + return result; + }, + /** + * Read the end of the central directory. + */ + readBlockEndOfCentral: function() { + this.diskNumber = this.reader.readInt(2); + this.diskWithCentralDirStart = this.reader.readInt(2); + this.centralDirRecordsOnThisDisk = this.reader.readInt(2); + this.centralDirRecords = this.reader.readInt(2); + this.centralDirSize = this.reader.readInt(4); + this.centralDirOffset = this.reader.readInt(4); + + this.zipCommentLength = this.reader.readInt(2); + // warning : the encoding depends of the system locale + // On a linux machine with LANG=en_US.utf8, this field is utf8 encoded. + // On a windows machine, this field is encoded with the localized windows code page. + var zipComment = this.reader.readData(this.zipCommentLength); + var decodeParamType = support.uint8array ? "uint8array" : "array"; + // To get consistent behavior with the generation part, we will assume that + // this is utf8 encoded unless specified otherwise. + var decodeContent = utils.transformTo(decodeParamType, zipComment); + this.zipComment = this.loadOptions.decodeFileName(decodeContent); + }, + /** + * Read the end of the Zip 64 central directory. + * Not merged with the method readEndOfCentral : + * The end of central can coexist with its Zip64 brother, + * I don't want to read the wrong number of bytes ! + */ + readBlockZip64EndOfCentral: function() { + this.zip64EndOfCentralSize = this.reader.readInt(8); + this.reader.skip(4); + // this.versionMadeBy = this.reader.readString(2); + // this.versionNeeded = this.reader.readInt(2); + this.diskNumber = this.reader.readInt(4); + this.diskWithCentralDirStart = this.reader.readInt(4); + this.centralDirRecordsOnThisDisk = this.reader.readInt(8); + this.centralDirRecords = this.reader.readInt(8); + this.centralDirSize = this.reader.readInt(8); + this.centralDirOffset = this.reader.readInt(8); + + this.zip64ExtensibleData = {}; + var extraDataSize = this.zip64EndOfCentralSize - 44, + index = 0, + extraFieldId, + extraFieldLength, + extraFieldValue; + while (index < extraDataSize) { + extraFieldId = this.reader.readInt(2); + extraFieldLength = this.reader.readInt(4); + extraFieldValue = this.reader.readData(extraFieldLength); + this.zip64ExtensibleData[extraFieldId] = { + id: extraFieldId, + length: extraFieldLength, + value: extraFieldValue + }; + } + }, + /** + * Read the end of the Zip 64 central directory locator. + */ + readBlockZip64EndOfCentralLocator: function() { + this.diskWithZip64CentralDirStart = this.reader.readInt(4); + this.relativeOffsetEndOfZip64CentralDir = this.reader.readInt(8); + this.disksCount = this.reader.readInt(4); + if (this.disksCount > 1) { + throw new Error("Multi-volumes zip are not supported"); + } + }, + /** + * Read the local files, based on the offset read in the central part. + */ + readLocalFiles: function() { + var i, file; + for (i = 0; i < this.files.length; i++) { + file = this.files[i]; + this.reader.setIndex(file.localHeaderOffset); + this.checkSignature(sig.LOCAL_FILE_HEADER); + file.readLocalPart(this.reader); + file.handleUTF8(); + file.processAttributes(); + } + }, + /** + * Read the central directory. + */ + readCentralDir: function() { + var file; + + this.reader.setIndex(this.centralDirOffset); + while (this.reader.readAndCheckSignature(sig.CENTRAL_FILE_HEADER)) { + file = new ZipEntry({ + zip64: this.zip64 + }, this.loadOptions); + file.readCentralPart(this.reader); + this.files.push(file); + } + + if (this.centralDirRecords !== this.files.length) { + if (this.centralDirRecords !== 0 && this.files.length === 0) { + // We expected some records but couldn't find ANY. + // This is really suspicious, as if something went wrong. + throw new Error("Corrupted zip or bug: expected " + this.centralDirRecords + " records in central dir, got " + this.files.length); + } else { + // We found some records but not all. + // Something is wrong but we got something for the user: no error here. + // console.warn("expected", this.centralDirRecords, "records in central dir, got", this.files.length); + } + } + }, + /** + * Read the end of central directory. + */ + readEndOfCentral: function() { + var offset = this.reader.lastIndexOfSignature(sig.CENTRAL_DIRECTORY_END); + if (offset < 0) { + // Check if the content is a truncated zip or complete garbage. + // A "LOCAL_FILE_HEADER" is not required at the beginning (auto + // extractible zip for example) but it can give a good hint. + // If an ajax request was used without responseType, we will also + // get unreadable data. + var isGarbage = !this.isSignature(0, sig.LOCAL_FILE_HEADER); + + if (isGarbage) { + throw new Error("Can't find end of central directory : is this a zip file ? " + + "If it is, see https://stuk.github.io/jszip/documentation/howto/read_zip.html"); + } else { + throw new Error("Corrupted zip: can't find end of central directory"); + } + + } + this.reader.setIndex(offset); + var endOfCentralDirOffset = offset; + this.checkSignature(sig.CENTRAL_DIRECTORY_END); + this.readBlockEndOfCentral(); + + + /* extract from the zip spec : + 4) If one of the fields in the end of central directory + record is too small to hold required data, the field + should be set to -1 (0xFFFF or 0xFFFFFFFF) and the + ZIP64 format record should be created. + 5) The end of central directory record and the + Zip64 end of central directory locator record must + reside on the same disk when splitting or spanning + an archive. + */ + if (this.diskNumber === utils.MAX_VALUE_16BITS || this.diskWithCentralDirStart === utils.MAX_VALUE_16BITS || this.centralDirRecordsOnThisDisk === utils.MAX_VALUE_16BITS || this.centralDirRecords === utils.MAX_VALUE_16BITS || this.centralDirSize === utils.MAX_VALUE_32BITS || this.centralDirOffset === utils.MAX_VALUE_32BITS) { + this.zip64 = true; + + /* + Warning : the zip64 extension is supported, but ONLY if the 64bits integer read from + the zip file can fit into a 32bits integer. This cannot be solved : JavaScript represents + all numbers as 64-bit double precision IEEE 754 floating point numbers. + So, we have 53bits for integers and bitwise operations treat everything as 32bits. + see https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Operators/Bitwise_Operators + and http://www.ecma-international.org/publications/files/ECMA-ST/ECMA-262.pdf section 8.5 + */ + + // should look for a zip64 EOCD locator + offset = this.reader.lastIndexOfSignature(sig.ZIP64_CENTRAL_DIRECTORY_LOCATOR); + if (offset < 0) { + throw new Error("Corrupted zip: can't find the ZIP64 end of central directory locator"); + } + this.reader.setIndex(offset); + this.checkSignature(sig.ZIP64_CENTRAL_DIRECTORY_LOCATOR); + this.readBlockZip64EndOfCentralLocator(); + + // now the zip64 EOCD record + if (!this.isSignature(this.relativeOffsetEndOfZip64CentralDir, sig.ZIP64_CENTRAL_DIRECTORY_END)) { + // console.warn("ZIP64 end of central directory not where expected."); + this.relativeOffsetEndOfZip64CentralDir = this.reader.lastIndexOfSignature(sig.ZIP64_CENTRAL_DIRECTORY_END); + if (this.relativeOffsetEndOfZip64CentralDir < 0) { + throw new Error("Corrupted zip: can't find the ZIP64 end of central directory"); + } + } + this.reader.setIndex(this.relativeOffsetEndOfZip64CentralDir); + this.checkSignature(sig.ZIP64_CENTRAL_DIRECTORY_END); + this.readBlockZip64EndOfCentral(); + } + + var expectedEndOfCentralDirOffset = this.centralDirOffset + this.centralDirSize; + if (this.zip64) { + expectedEndOfCentralDirOffset += 20; // end of central dir 64 locator + expectedEndOfCentralDirOffset += 12 /* should not include the leading 12 bytes */ + this.zip64EndOfCentralSize; + } + + var extraBytes = endOfCentralDirOffset - expectedEndOfCentralDirOffset; + + if (extraBytes > 0) { + // console.warn(extraBytes, "extra bytes at beginning or within zipfile"); + if (this.isSignature(endOfCentralDirOffset, sig.CENTRAL_FILE_HEADER)) { + // The offsets seem wrong, but we have something at the specified offset. + // So… we keep it. + } else { + // the offset is wrong, update the "zero" of the reader + // this happens if data has been prepended (crx files for example) + this.reader.zero = extraBytes; + } + } else if (extraBytes < 0) { + throw new Error("Corrupted zip: missing " + Math.abs(extraBytes) + " bytes."); + } + }, + prepareReader: function(data) { + this.reader = readerFor(data); + }, + /** + * Read a zip file and create ZipEntries. + * @param {String|ArrayBuffer|Uint8Array|Buffer} data the binary string representing a zip file. + */ + load: function(data) { + this.prepareReader(data); + this.readEndOfCentral(); + this.readCentralDir(); + this.readLocalFiles(); + } +}; +// }}} end of ZipEntries +module.exports = ZipEntries; + +},{"./reader/readerFor":22,"./signature":23,"./support":30,"./utf8":31,"./utils":32,"./zipEntry":34}],34:[function(require,module,exports){ +'use strict'; +var readerFor = require('./reader/readerFor'); +var utils = require('./utils'); +var CompressedObject = require('./compressedObject'); +var crc32fn = require('./crc32'); +var utf8 = require('./utf8'); +var compressions = require('./compressions'); +var support = require('./support'); + +var MADE_BY_DOS = 0x00; +var MADE_BY_UNIX = 0x03; + +/** + * Find a compression registered in JSZip. + * @param {string} compressionMethod the method magic to find. + * @return {Object|null} the JSZip compression object, null if none found. + */ +var findCompression = function(compressionMethod) { + for (var method in compressions) { + if (!compressions.hasOwnProperty(method)) { + continue; + } + if (compressions[method].magic === compressionMethod) { + return compressions[method]; + } + } + return null; +}; + +// class ZipEntry {{{ +/** + * An entry in the zip file. + * @constructor + * @param {Object} options Options of the current file. + * @param {Object} loadOptions Options for loading the stream. + */ +function ZipEntry(options, loadOptions) { + this.options = options; + this.loadOptions = loadOptions; +} +ZipEntry.prototype = { + /** + * say if the file is encrypted. + * @return {boolean} true if the file is encrypted, false otherwise. + */ + isEncrypted: function() { + // bit 1 is set + return (this.bitFlag & 0x0001) === 0x0001; + }, + /** + * say if the file has utf-8 filename/comment. + * @return {boolean} true if the filename/comment is in utf-8, false otherwise. + */ + useUTF8: function() { + // bit 11 is set + return (this.bitFlag & 0x0800) === 0x0800; + }, + /** + * Read the local part of a zip file and add the info in this object. + * @param {DataReader} reader the reader to use. + */ + readLocalPart: function(reader) { + var compression, localExtraFieldsLength; + + // we already know everything from the central dir ! + // If the central dir data are false, we are doomed. + // On the bright side, the local part is scary : zip64, data descriptors, both, etc. + // The less data we get here, the more reliable this should be. + // Let's skip the whole header and dash to the data ! + reader.skip(22); + // in some zip created on windows, the filename stored in the central dir contains \ instead of /. + // Strangely, the filename here is OK. + // I would love to treat these zip files as corrupted (see http://www.info-zip.org/FAQ.html#backslashes + // or APPNOTE#4.4.17.1, "All slashes MUST be forward slashes '/'") but there are a lot of bad zip generators... + // Search "unzip mismatching "local" filename continuing with "central" filename version" on + // the internet. + // + // I think I see the logic here : the central directory is used to display + // content and the local directory is used to extract the files. Mixing / and \ + // may be used to display \ to windows users and use / when extracting the files. + // Unfortunately, this lead also to some issues : http://seclists.org/fulldisclosure/2009/Sep/394 + this.fileNameLength = reader.readInt(2); + localExtraFieldsLength = reader.readInt(2); // can't be sure this will be the same as the central dir + // the fileName is stored as binary data, the handleUTF8 method will take care of the encoding. + this.fileName = reader.readData(this.fileNameLength); + reader.skip(localExtraFieldsLength); + + if (this.compressedSize === -1 || this.uncompressedSize === -1) { + throw new Error("Bug or corrupted zip : didn't get enough informations from the central directory " + "(compressedSize === -1 || uncompressedSize === -1)"); + } + + compression = findCompression(this.compressionMethod); + if (compression === null) { // no compression found + throw new Error("Corrupted zip : compression " + utils.pretty(this.compressionMethod) + " unknown (inner file : " + utils.transformTo("string", this.fileName) + ")"); + } + this.decompressed = new CompressedObject(this.compressedSize, this.uncompressedSize, this.crc32, compression, reader.readData(this.compressedSize)); + }, + + /** + * Read the central part of a zip file and add the info in this object. + * @param {DataReader} reader the reader to use. + */ + readCentralPart: function(reader) { + this.versionMadeBy = reader.readInt(2); + reader.skip(2); + // this.versionNeeded = reader.readInt(2); + this.bitFlag = reader.readInt(2); + this.compressionMethod = reader.readString(2); + this.date = reader.readDate(); + this.crc32 = reader.readInt(4); + this.compressedSize = reader.readInt(4); + this.uncompressedSize = reader.readInt(4); + var fileNameLength = reader.readInt(2); + this.extraFieldsLength = reader.readInt(2); + this.fileCommentLength = reader.readInt(2); + this.diskNumberStart = reader.readInt(2); + this.internalFileAttributes = reader.readInt(2); + this.externalFileAttributes = reader.readInt(4); + this.localHeaderOffset = reader.readInt(4); + + if (this.isEncrypted()) { + throw new Error("Encrypted zip are not supported"); + } + + // will be read in the local part, see the comments there + reader.skip(fileNameLength); + this.readExtraFields(reader); + this.parseZIP64ExtraField(reader); + this.fileComment = reader.readData(this.fileCommentLength); + }, + + /** + * Parse the external file attributes and get the unix/dos permissions. + */ + processAttributes: function () { + this.unixPermissions = null; + this.dosPermissions = null; + var madeBy = this.versionMadeBy >> 8; + + // Check if we have the DOS directory flag set. + // We look for it in the DOS and UNIX permissions + // but some unknown platform could set it as a compatibility flag. + this.dir = this.externalFileAttributes & 0x0010 ? true : false; + + if(madeBy === MADE_BY_DOS) { + // first 6 bits (0 to 5) + this.dosPermissions = this.externalFileAttributes & 0x3F; + } + + if(madeBy === MADE_BY_UNIX) { + this.unixPermissions = (this.externalFileAttributes >> 16) & 0xFFFF; + // the octal permissions are in (this.unixPermissions & 0x01FF).toString(8); + } + + // fail safe : if the name ends with a / it probably means a folder + if (!this.dir && this.fileNameStr.slice(-1) === '/') { + this.dir = true; + } + }, + + /** + * Parse the ZIP64 extra field and merge the info in the current ZipEntry. + * @param {DataReader} reader the reader to use. + */ + parseZIP64ExtraField: function(reader) { + + if (!this.extraFields[0x0001]) { + return; + } + + // should be something, preparing the extra reader + var extraReader = readerFor(this.extraFields[0x0001].value); + + // I really hope that these 64bits integer can fit in 32 bits integer, because js + // won't let us have more. + if (this.uncompressedSize === utils.MAX_VALUE_32BITS) { + this.uncompressedSize = extraReader.readInt(8); + } + if (this.compressedSize === utils.MAX_VALUE_32BITS) { + this.compressedSize = extraReader.readInt(8); + } + if (this.localHeaderOffset === utils.MAX_VALUE_32BITS) { + this.localHeaderOffset = extraReader.readInt(8); + } + if (this.diskNumberStart === utils.MAX_VALUE_32BITS) { + this.diskNumberStart = extraReader.readInt(4); + } + }, + /** + * Read the central part of a zip file and add the info in this object. + * @param {DataReader} reader the reader to use. + */ + readExtraFields: function(reader) { + var end = reader.index + this.extraFieldsLength, + extraFieldId, + extraFieldLength, + extraFieldValue; + + if (!this.extraFields) { + this.extraFields = {}; + } + + while (reader.index < end) { + extraFieldId = reader.readInt(2); + extraFieldLength = reader.readInt(2); + extraFieldValue = reader.readData(extraFieldLength); + + this.extraFields[extraFieldId] = { + id: extraFieldId, + length: extraFieldLength, + value: extraFieldValue + }; + } + }, + /** + * Apply an UTF8 transformation if needed. + */ + handleUTF8: function() { + var decodeParamType = support.uint8array ? "uint8array" : "array"; + if (this.useUTF8()) { + this.fileNameStr = utf8.utf8decode(this.fileName); + this.fileCommentStr = utf8.utf8decode(this.fileComment); + } else { + var upath = this.findExtraFieldUnicodePath(); + if (upath !== null) { + this.fileNameStr = upath; + } else { + // ASCII text or unsupported code page + var fileNameByteArray = utils.transformTo(decodeParamType, this.fileName); + this.fileNameStr = this.loadOptions.decodeFileName(fileNameByteArray); + } + + var ucomment = this.findExtraFieldUnicodeComment(); + if (ucomment !== null) { + this.fileCommentStr = ucomment; + } else { + // ASCII text or unsupported code page + var commentByteArray = utils.transformTo(decodeParamType, this.fileComment); + this.fileCommentStr = this.loadOptions.decodeFileName(commentByteArray); + } + } + }, + + /** + * Find the unicode path declared in the extra field, if any. + * @return {String} the unicode path, null otherwise. + */ + findExtraFieldUnicodePath: function() { + var upathField = this.extraFields[0x7075]; + if (upathField) { + var extraReader = readerFor(upathField.value); + + // wrong version + if (extraReader.readInt(1) !== 1) { + return null; + } + + // the crc of the filename changed, this field is out of date. + if (crc32fn(this.fileName) !== extraReader.readInt(4)) { + return null; + } + + return utf8.utf8decode(extraReader.readData(upathField.length - 5)); + } + return null; + }, + + /** + * Find the unicode comment declared in the extra field, if any. + * @return {String} the unicode comment, null otherwise. + */ + findExtraFieldUnicodeComment: function() { + var ucommentField = this.extraFields[0x6375]; + if (ucommentField) { + var extraReader = readerFor(ucommentField.value); + + // wrong version + if (extraReader.readInt(1) !== 1) { + return null; + } + + // the crc of the comment changed, this field is out of date. + if (crc32fn(this.fileComment) !== extraReader.readInt(4)) { + return null; + } + + return utf8.utf8decode(extraReader.readData(ucommentField.length - 5)); + } + return null; + } +}; +module.exports = ZipEntry; + +},{"./compressedObject":2,"./compressions":3,"./crc32":4,"./reader/readerFor":22,"./support":30,"./utf8":31,"./utils":32}],35:[function(require,module,exports){ +'use strict'; + +var StreamHelper = require('./stream/StreamHelper'); +var DataWorker = require('./stream/DataWorker'); +var utf8 = require('./utf8'); +var CompressedObject = require('./compressedObject'); +var GenericWorker = require('./stream/GenericWorker'); + +/** + * A simple object representing a file in the zip file. + * @constructor + * @param {string} name the name of the file + * @param {String|ArrayBuffer|Uint8Array|Buffer} data the data + * @param {Object} options the options of the file + */ +var ZipObject = function(name, data, options) { + this.name = name; + this.dir = options.dir; + this.date = options.date; + this.comment = options.comment; + this.unixPermissions = options.unixPermissions; + this.dosPermissions = options.dosPermissions; + + this._data = data; + this._dataBinary = options.binary; + // keep only the compression + this.options = { + compression : options.compression, + compressionOptions : options.compressionOptions + }; +}; + +ZipObject.prototype = { + /** + * Create an internal stream for the content of this object. + * @param {String} type the type of each chunk. + * @return StreamHelper the stream. + */ + internalStream: function (type) { + var result = null, outputType = "string"; + try { + if (!type) { + throw new Error("No output type specified."); + } + outputType = type.toLowerCase(); + var askUnicodeString = outputType === "string" || outputType === "text"; + if (outputType === "binarystring" || outputType === "text") { + outputType = "string"; + } + result = this._decompressWorker(); + + var isUnicodeString = !this._dataBinary; + + if (isUnicodeString && !askUnicodeString) { + result = result.pipe(new utf8.Utf8EncodeWorker()); + } + if (!isUnicodeString && askUnicodeString) { + result = result.pipe(new utf8.Utf8DecodeWorker()); + } + } catch (e) { + result = new GenericWorker("error"); + result.error(e); + } + + return new StreamHelper(result, outputType, ""); + }, + + /** + * Prepare the content in the asked type. + * @param {String} type the type of the result. + * @param {Function} onUpdate a function to call on each internal update. + * @return Promise the promise of the result. + */ + async: function (type, onUpdate) { + return this.internalStream(type).accumulate(onUpdate); + }, + + /** + * Prepare the content as a nodejs stream. + * @param {String} type the type of each chunk. + * @param {Function} onUpdate a function to call on each internal update. + * @return Stream the stream. + */ + nodeStream: function (type, onUpdate) { + return this.internalStream(type || "nodebuffer").toNodejsStream(onUpdate); + }, + + /** + * Return a worker for the compressed content. + * @private + * @param {Object} compression the compression object to use. + * @param {Object} compressionOptions the options to use when compressing. + * @return Worker the worker. + */ + _compressWorker: function (compression, compressionOptions) { + if ( + this._data instanceof CompressedObject && + this._data.compression.magic === compression.magic + ) { + return this._data.getCompressedWorker(); + } else { + var result = this._decompressWorker(); + if(!this._dataBinary) { + result = result.pipe(new utf8.Utf8EncodeWorker()); + } + return CompressedObject.createWorkerFrom(result, compression, compressionOptions); + } + }, + /** + * Return a worker for the decompressed content. + * @private + * @return Worker the worker. + */ + _decompressWorker : function () { + if (this._data instanceof CompressedObject) { + return this._data.getContentWorker(); + } else if (this._data instanceof GenericWorker) { + return this._data; + } else { + return new DataWorker(this._data); + } + } +}; + +var removedMethods = ["asText", "asBinary", "asNodeBuffer", "asUint8Array", "asArrayBuffer"]; +var removedFn = function () { + throw new Error("This method has been removed in JSZip 3.0, please check the upgrade guide."); +}; + +for(var i = 0; i < removedMethods.length; i++) { + ZipObject.prototype[removedMethods[i]] = removedFn; +} +module.exports = ZipObject; + +},{"./compressedObject":2,"./stream/DataWorker":27,"./stream/GenericWorker":28,"./stream/StreamHelper":29,"./utf8":31}],36:[function(require,module,exports){ +require('../modules/web.immediate'); +module.exports = require('../modules/_core').setImmediate; +},{"../modules/_core":40,"../modules/web.immediate":56}],37:[function(require,module,exports){ +module.exports = function(it){ + if(typeof it != 'function')throw TypeError(it + ' is not a function!'); + return it; +}; +},{}],38:[function(require,module,exports){ +var isObject = require('./_is-object'); +module.exports = function(it){ + if(!isObject(it))throw TypeError(it + ' is not an object!'); + return it; +}; +},{"./_is-object":51}],39:[function(require,module,exports){ +var toString = {}.toString; + +module.exports = function(it){ + return toString.call(it).slice(8, -1); +}; +},{}],40:[function(require,module,exports){ +var core = module.exports = {version: '2.3.0'}; +if(typeof __e == 'number')__e = core; // eslint-disable-line no-undef +},{}],41:[function(require,module,exports){ +// optional / simple context binding +var aFunction = require('./_a-function'); +module.exports = function(fn, that, length){ + aFunction(fn); + if(that === undefined)return fn; + switch(length){ + case 1: return function(a){ + return fn.call(that, a); + }; + case 2: return function(a, b){ + return fn.call(that, a, b); + }; + case 3: return function(a, b, c){ + return fn.call(that, a, b, c); + }; + } + return function(/* ...args */){ + return fn.apply(that, arguments); + }; +}; +},{"./_a-function":37}],42:[function(require,module,exports){ +// Thank's IE8 for his funny defineProperty +module.exports = !require('./_fails')(function(){ + return Object.defineProperty({}, 'a', {get: function(){ return 7; }}).a != 7; +}); +},{"./_fails":45}],43:[function(require,module,exports){ +var isObject = require('./_is-object') + , document = require('./_global').document + // in old IE typeof document.createElement is 'object' + , is = isObject(document) && isObject(document.createElement); +module.exports = function(it){ + return is ? document.createElement(it) : {}; +}; +},{"./_global":46,"./_is-object":51}],44:[function(require,module,exports){ +var global = require('./_global') + , core = require('./_core') + , ctx = require('./_ctx') + , hide = require('./_hide') + , PROTOTYPE = 'prototype'; + +var $export = function(type, name, source){ + var IS_FORCED = type & $export.F + , IS_GLOBAL = type & $export.G + , IS_STATIC = type & $export.S + , IS_PROTO = type & $export.P + , IS_BIND = type & $export.B + , IS_WRAP = type & $export.W + , exports = IS_GLOBAL ? core : core[name] || (core[name] = {}) + , expProto = exports[PROTOTYPE] + , target = IS_GLOBAL ? global : IS_STATIC ? global[name] : (global[name] || {})[PROTOTYPE] + , key, own, out; + if(IS_GLOBAL)source = name; + for(key in source){ + // contains in native + own = !IS_FORCED && target && target[key] !== undefined; + if(own && key in exports)continue; + // export native or passed + out = own ? target[key] : source[key]; + // prevent global pollution for namespaces + exports[key] = IS_GLOBAL && typeof target[key] != 'function' ? source[key] + // bind timers to global for call from export context + : IS_BIND && own ? ctx(out, global) + // wrap global constructors for prevent change them in library + : IS_WRAP && target[key] == out ? (function(C){ + var F = function(a, b, c){ + if(this instanceof C){ + switch(arguments.length){ + case 0: return new C; + case 1: return new C(a); + case 2: return new C(a, b); + } return new C(a, b, c); + } return C.apply(this, arguments); + }; + F[PROTOTYPE] = C[PROTOTYPE]; + return F; + // make static versions for prototype methods + })(out) : IS_PROTO && typeof out == 'function' ? ctx(Function.call, out) : out; + // export proto methods to core.%CONSTRUCTOR%.methods.%NAME% + if(IS_PROTO){ + (exports.virtual || (exports.virtual = {}))[key] = out; + // export proto methods to core.%CONSTRUCTOR%.prototype.%NAME% + if(type & $export.R && expProto && !expProto[key])hide(expProto, key, out); + } + } +}; +// type bitmap +$export.F = 1; // forced +$export.G = 2; // global +$export.S = 4; // static +$export.P = 8; // proto +$export.B = 16; // bind +$export.W = 32; // wrap +$export.U = 64; // safe +$export.R = 128; // real proto method for `library` +module.exports = $export; +},{"./_core":40,"./_ctx":41,"./_global":46,"./_hide":47}],45:[function(require,module,exports){ +module.exports = function(exec){ + try { + return !!exec(); + } catch(e){ + return true; + } +}; +},{}],46:[function(require,module,exports){ +// https://github.com/zloirock/core-js/issues/86#issuecomment-115759028 +var global = module.exports = typeof window != 'undefined' && window.Math == Math + ? window : typeof self != 'undefined' && self.Math == Math ? self : Function('return this')(); +if(typeof __g == 'number')__g = global; // eslint-disable-line no-undef +},{}],47:[function(require,module,exports){ +var dP = require('./_object-dp') + , createDesc = require('./_property-desc'); +module.exports = require('./_descriptors') ? function(object, key, value){ + return dP.f(object, key, createDesc(1, value)); +} : function(object, key, value){ + object[key] = value; + return object; +}; +},{"./_descriptors":42,"./_object-dp":52,"./_property-desc":53}],48:[function(require,module,exports){ +module.exports = require('./_global').document && document.documentElement; +},{"./_global":46}],49:[function(require,module,exports){ +module.exports = !require('./_descriptors') && !require('./_fails')(function(){ + return Object.defineProperty(require('./_dom-create')('div'), 'a', {get: function(){ return 7; }}).a != 7; +}); +},{"./_descriptors":42,"./_dom-create":43,"./_fails":45}],50:[function(require,module,exports){ +// fast apply, http://jsperf.lnkit.com/fast-apply/5 +module.exports = function(fn, args, that){ + var un = that === undefined; + switch(args.length){ + case 0: return un ? fn() + : fn.call(that); + case 1: return un ? fn(args[0]) + : fn.call(that, args[0]); + case 2: return un ? fn(args[0], args[1]) + : fn.call(that, args[0], args[1]); + case 3: return un ? fn(args[0], args[1], args[2]) + : fn.call(that, args[0], args[1], args[2]); + case 4: return un ? fn(args[0], args[1], args[2], args[3]) + : fn.call(that, args[0], args[1], args[2], args[3]); + } return fn.apply(that, args); +}; +},{}],51:[function(require,module,exports){ +module.exports = function(it){ + return typeof it === 'object' ? it !== null : typeof it === 'function'; +}; +},{}],52:[function(require,module,exports){ +var anObject = require('./_an-object') + , IE8_DOM_DEFINE = require('./_ie8-dom-define') + , toPrimitive = require('./_to-primitive') + , dP = Object.defineProperty; + +exports.f = require('./_descriptors') ? Object.defineProperty : function defineProperty(O, P, Attributes){ + anObject(O); + P = toPrimitive(P, true); + anObject(Attributes); + if(IE8_DOM_DEFINE)try { + return dP(O, P, Attributes); + } catch(e){ /* empty */ } + if('get' in Attributes || 'set' in Attributes)throw TypeError('Accessors not supported!'); + if('value' in Attributes)O[P] = Attributes.value; + return O; +}; +},{"./_an-object":38,"./_descriptors":42,"./_ie8-dom-define":49,"./_to-primitive":55}],53:[function(require,module,exports){ +module.exports = function(bitmap, value){ + return { + enumerable : !(bitmap & 1), + configurable: !(bitmap & 2), + writable : !(bitmap & 4), + value : value + }; +}; +},{}],54:[function(require,module,exports){ +var ctx = require('./_ctx') + , invoke = require('./_invoke') + , html = require('./_html') + , cel = require('./_dom-create') + , global = require('./_global') + , process = global.process + , setTask = global.setImmediate + , clearTask = global.clearImmediate + , MessageChannel = global.MessageChannel + , counter = 0 + , queue = {} + , ONREADYSTATECHANGE = 'onreadystatechange' + , defer, channel, port; +var run = function(){ + var id = +this; + if(queue.hasOwnProperty(id)){ + var fn = queue[id]; + delete queue[id]; + fn(); + } +}; +var listener = function(event){ + run.call(event.data); +}; +// Node.js 0.9+ & IE10+ has setImmediate, otherwise: +if(!setTask || !clearTask){ + setTask = function setImmediate(fn){ + var args = [], i = 1; + while(arguments.length > i)args.push(arguments[i++]); + queue[++counter] = function(){ + invoke(typeof fn == 'function' ? fn : Function(fn), args); + }; + defer(counter); + return counter; + }; + clearTask = function clearImmediate(id){ + delete queue[id]; + }; + // Node.js 0.8- + if(require('./_cof')(process) == 'process'){ + defer = function(id){ + process.nextTick(ctx(run, id, 1)); + }; + // Browsers with MessageChannel, includes WebWorkers + } else if(MessageChannel){ + channel = new MessageChannel; + port = channel.port2; + channel.port1.onmessage = listener; + defer = ctx(port.postMessage, port, 1); + // Browsers with postMessage, skip WebWorkers + // IE8 has postMessage, but it's sync & typeof its postMessage is 'object' + } else if(global.addEventListener && typeof postMessage == 'function' && !global.importScripts){ + defer = function(id){ + global.postMessage(id + '', '*'); + }; + global.addEventListener('message', listener, false); + // IE8- + } else if(ONREADYSTATECHANGE in cel('script')){ + defer = function(id){ + html.appendChild(cel('script'))[ONREADYSTATECHANGE] = function(){ + html.removeChild(this); + run.call(id); + }; + }; + // Rest old browsers + } else { + defer = function(id){ + setTimeout(ctx(run, id, 1), 0); + }; + } +} +module.exports = { + set: setTask, + clear: clearTask +}; +},{"./_cof":39,"./_ctx":41,"./_dom-create":43,"./_global":46,"./_html":48,"./_invoke":50}],55:[function(require,module,exports){ +// 7.1.1 ToPrimitive(input [, PreferredType]) +var isObject = require('./_is-object'); +// instead of the ES6 spec version, we didn't implement @@toPrimitive case +// and the second argument - flag - preferred type is a string +module.exports = function(it, S){ + if(!isObject(it))return it; + var fn, val; + if(S && typeof (fn = it.toString) == 'function' && !isObject(val = fn.call(it)))return val; + if(typeof (fn = it.valueOf) == 'function' && !isObject(val = fn.call(it)))return val; + if(!S && typeof (fn = it.toString) == 'function' && !isObject(val = fn.call(it)))return val; + throw TypeError("Can't convert object to primitive value"); +}; +},{"./_is-object":51}],56:[function(require,module,exports){ +var $export = require('./_export') + , $task = require('./_task'); +$export($export.G + $export.B, { + setImmediate: $task.set, + clearImmediate: $task.clear +}); +},{"./_export":44,"./_task":54}],57:[function(require,module,exports){ +(function (global){ +'use strict'; +var Mutation = global.MutationObserver || global.WebKitMutationObserver; + +var scheduleDrain; + +{ + if (Mutation) { + var called = 0; + var observer = new Mutation(nextTick); + var element = global.document.createTextNode(''); + observer.observe(element, { + characterData: true + }); + scheduleDrain = function () { + element.data = (called = ++called % 2); + }; + } else if (!global.setImmediate && typeof global.MessageChannel !== 'undefined') { + var channel = new global.MessageChannel(); + channel.port1.onmessage = nextTick; + scheduleDrain = function () { + channel.port2.postMessage(0); + }; + } else if ('document' in global && 'onreadystatechange' in global.document.createElement('script')) { + scheduleDrain = function () { + + // Create a + + + + + + + + + + +
+ +
+ +
+
+ +

Class ClientManager.ReconnectHandler

+
+
+
    +
  • java.lang.Object
  • +
  • +
      +
    • org.glassfish.tyrus.client.ClientManager.ReconnectHandler
    • +
    +
  • +
+
+
    +
  • +
    +
    Enclosing class:
    +
    ClientManager
    +
    +
    +
    public static class ClientManager.ReconnectHandler
    +extends java.lang.Object
    +
    Reconnect handler. +

    + When implementing, be sure that you do have enough logic behind cancelling reconnect feature - even Session.close() call will be treated just like any other disconnect resulting in reconnect.

    +
  • +
+
+
+ +
+
+
    +
  • + +
    +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        ReconnectHandler

        +
        public ReconnectHandler()
        +
      • +
      +
    • +
    +
    + +
    +
      +
    • + + +

      Method Detail

      + + + + + + + +
        +
      • +

        onConnectFailure

        +
        public boolean onConnectFailure​(java.lang.Exception exception)
        +
        Called when there is a connection failure. +

        + Type of the failure is indicated by Exception parameter. Be cautious when implementing this method, + you might easily cause DDoS like behaviour.

        +
        +
        Parameters:
        +
        exception - Exception thrown during connection phase.
        +
        Returns:
        +
        When true is returned, client container will reconnect.
        +
        +
      • +
      + + + +
        +
      • +

        getDelay

        +
        public long getDelay()
        +
        Get reconnect delay. +

        + Called after onDisconnect(CloseReason) or onConnectFailure(Exception) when true is + returned. When positive value is returned, next connection attempt will be made after that number of + seconds. +

        + Default implementation returns 5L.

        +
        +
        Returns:
        +
        reconnect delay in seconds.
        +
        +
      • +
      +
    • +
    +
    +
  • +
+
+
+
+ + + + diff --git a/apidocs/1.19/org/glassfish/tyrus/client/ClientManager.html b/apidocs/1.19/org/glassfish/tyrus/client/ClientManager.html new file mode 100644 index 00000000..ac34193e --- /dev/null +++ b/apidocs/1.19/org/glassfish/tyrus/client/ClientManager.html @@ -0,0 +1,1444 @@ + + + + + +ClientManager (Tyrus 1.19 API) + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +

Class ClientManager

+
+
+ +
+
    +
  • +
    +
    All Implemented Interfaces:
    +
    WebSocketContainer
    +
    +
    +
    public class ClientManager
    +extends BaseContainer
    +implements WebSocketContainer
    +
    ClientManager implementation.
    +
    +
    Author:
    +
    Stepan Kopriva (stepan.kopriva at oracle.com), Pavel Bucek (pavel.bucek at oracle.com)
    +
    +
  • +
+
+
+ +
+
+
    +
  • + +
    +
      +
    • + + +

      Field Detail

      + + + + + + + + + + + +
        +
      • +

        PROXY_URI

        +
        public static final java.lang.String PROXY_URI
        +
        Deprecated. + +
        +
        Client-side user property to set proxy URI. +

        + Value is expected to be String and represent proxy URI. Protocol part is currently ignored + but must be present (URI(String) is used for parsing). +

        +     client.getProperties().put(ClientManager.PROXY_URI, "http://my.proxy.com:80");
        +     client.connectToServer(...);
        + 
        +
        +
        See Also:
        +
        EndpointConfig.getUserProperties(), +Constant Field Values
        +
        +
      • +
      + + + +
        +
      • +

        PROXY_HEADERS

        +
        public static final java.lang.String PROXY_HEADERS
        +
        Deprecated. + +
        +
        Client-side user property to set additional proxy headers. +

        + Value is expected to be Map<String, String> and represent raw http headers + to be added to initial request which is sent to proxy. Key corresponds to header name, value is header + value. +

        + Sample below demonstrates use of this feature to set preemptive basic proxy authentication: +

        +     final HashMap<String, String> proxyHeaders = new HashMap<String, String>();
        +     proxyHeaders.put("Proxy-Authorization", "Basic " +
        +         Base64.getEncoder().encodeToString("username:password".getBytes(Charset.forName("UTF-8"))));
        +
        +     client.getProperties().put(GrizzlyClientSocket.PROXY_HEADERS, proxyHeaders);
        +     client.connectToServer(...);
        + 
        + Please note that these headers will be used only when establishing proxy connection, for modifying + WebSocket handshake headers, see ClientEndpointConfig.Configurator.beforeRequest(java.util.Map).
        +
        +
        See Also:
        +
        EndpointConfig.getUserProperties(), +Constant Field Values
        +
        +
      • +
      + + + +
        +
      • +

        SSL_ENGINE_CONFIGURATOR

        +
        public static final java.lang.String SSL_ENGINE_CONFIGURATOR
        +
        Deprecated. + +
        +
        Property usable in getProperties() as a key for SSL configuration. +

        + Value is expected to be either org.glassfish.grizzly.ssl.SSLEngineConfigurator when configuring Grizzly + client or SslEngineConfigurator when configuring JDK client. +

        + Example configuration for JDK client: +

        +      SslContextConfigurator sslContextConfigurator = new SslContextConfigurator();
        +      sslContextConfigurator.setTrustStoreFile("...");
        +      sslContextConfigurator.setTrustStorePassword("...");
        +      sslContextConfigurator.setTrustStoreType("...");
        +      sslContextConfigurator.setKeyStoreFile("...");
        +      sslContextConfigurator.setKeyStorePassword("...");
        +      sslContextConfigurator.setKeyStoreType("...");
        +      SslEngineConfigurator sslEngineConfigurator = new SslEngineConfigurator(sslContextConfigurator, true,
        + false,
        + false);
        +      client.getProperties().put(ClientManager.SSL_ENGINE_CONFIGURATOR, sslEngineConfigurator);
        + 
        +
        +
        See Also:
        +
        Constant Field Values
        +
        +
      • +
      + + + +
        +
      • +

        WLS_PROXY_HOST

        +
        public static final java.lang.String WLS_PROXY_HOST
        +
        +
        See Also:
        +
        Constant Field Values
        +
        +
      • +
      + + + +
        +
      • +

        WLS_PROXY_PORT

        +
        public static final java.lang.String WLS_PROXY_PORT
        +
        +
        See Also:
        +
        Constant Field Values
        +
        +
      • +
      + + + +
        +
      • +

        WLS_PROXY_USERNAME

        +
        public static final java.lang.String WLS_PROXY_USERNAME
        +
        +
        See Also:
        +
        Constant Field Values
        +
        +
      • +
      + + + +
        +
      • +

        WLS_PROXY_PASSWORD

        +
        public static final java.lang.String WLS_PROXY_PASSWORD
        +
        +
        See Also:
        +
        Constant Field Values
        +
        +
      • +
      + + + +
        +
      • +

        WLS_SSL_PROTOCOLS_PROPERTY

        +
        public static final java.lang.String WLS_SSL_PROTOCOLS_PROPERTY
        +
        +
        See Also:
        +
        Constant Field Values
        +
        +
      • +
      + + + +
        +
      • +

        WLS_SSL_TRUSTSTORE_PROPERTY

        +
        public static final java.lang.String WLS_SSL_TRUSTSTORE_PROPERTY
        +
        +
        See Also:
        +
        Constant Field Values
        +
        +
      • +
      + + + +
        +
      • +

        WLS_SSL_TRUSTSTORE_PWD_PROPERTY

        +
        public static final java.lang.String WLS_SSL_TRUSTSTORE_PWD_PROPERTY
        +
        +
        See Also:
        +
        Constant Field Values
        +
        +
      • +
      + + + +
        +
      • +

        WLS_MAX_THREADS

        +
        public static final java.lang.String WLS_MAX_THREADS
        +
        +
        See Also:
        +
        Constant Field Values
        +
        +
      • +
      + + + +
        +
      • +

        WLS_IGNORE_HOSTNAME_VERIFICATION

        +
        public static final java.lang.String WLS_IGNORE_HOSTNAME_VERIFICATION
        +
        +
        See Also:
        +
        Constant Field Values
        +
        +
      • +
      + + + +
        +
      • +

        WLS_HOSTNAME_VERIFIER_CLASS

        +
        public static final java.lang.String WLS_HOSTNAME_VERIFIER_CLASS
        +
        +
        See Also:
        +
        Constant Field Values
        +
        +
      • +
      +
    • +
    +
    + +
    + +
    + +
    +
      +
    • + + +

      Method Detail

      + + + + + + + + + + + +
        +
      • +

        createClient

        +
        public static ClientManager createClient​(java.lang.String containerProviderClassName)
        +
        Create new ClientManager instance.
        +
        +
        Parameters:
        +
        containerProviderClassName - classname of container provider. It will be loaded using context class loader.
        +
        Returns:
        +
        new ClientManager instance.
        +
        +
      • +
      + + + +
        +
      • +

        createClient

        +
        public static ClientManager createClient​(java.lang.String containerProviderClassName,
        +                                         WebSocketContainer webSocketContainer)
        +
        Create new ClientManager instance on top of provided WebSocketContainer instance.
        +
        +
        Parameters:
        +
        containerProviderClassName - classname of container provider. It will be loaded using context class loader.
        +
        webSocketContainer - websocket container.
        +
        Returns:
        +
        new ClientManager instance.
        +
        +
      • +
      + + + +
        +
      • +

        connectToServer

        +
        public Session connectToServer​(java.lang.Class annotatedEndpointClass,
        +                               java.net.URI path)
        +                        throws DeploymentException,
        +                               java.io.IOException
        +
        Description copied from interface: WebSocketContainer
        +
        Connect the supplied annotated endpoint to its server. The supplied object must be a + class decorated with the class level + ServerEndpoint annotation. This method blocks until the connection + is established, or throws an error if either the connection could not be made or there + was a problem with the supplied endpoint class.
        +
        +
        Specified by:
        +
        connectToServer in interface WebSocketContainer
        +
        Parameters:
        +
        annotatedEndpointClass - the annotated websocket client endpoint.
        +
        path - the complete path to the server endpoint.
        +
        Returns:
        +
        the Session created if the connection is successful.
        +
        Throws:
        +
        DeploymentException - if the class is not a valid annotated endpoint class.
        +
        java.io.IOException - if there was a network or protocol problem that + prevented the client endpoint being connected to its server.
        +
        +
      • +
      + + + +
        +
      • +

        connectToServer

        +
        public Session connectToServer​(java.lang.Class<? extends Endpoint> endpointClass,
        +                               ClientEndpointConfig cec,
        +                               java.net.URI path)
        +                        throws DeploymentException,
        +                               java.io.IOException
        +
        Description copied from interface: WebSocketContainer
        +
        Connect the supplied programmatic endpoint to its server with the given + configuration. This method blocks until the connection + is established, or throws an error if the connection could not be made.
        +
        +
        Specified by:
        +
        connectToServer in interface WebSocketContainer
        +
        Parameters:
        +
        endpointClass - the programmatic client endpoint class Endpoint.
        +
        cec - the configuration used to configure the programmatic endpoint.
        +
        path - the complete path to the server endpoint.
        +
        Returns:
        +
        the Session created if the connection is successful.
        +
        Throws:
        +
        DeploymentException - if the configuration is not valid
        +
        java.io.IOException - if there was a network or protocol problem that prevented the client endpoint being connected to its server
        +
        +
      • +
      + + + +
        +
      • +

        connectToServer

        +
        public Session connectToServer​(Endpoint endpointInstance,
        +                               ClientEndpointConfig cec,
        +                               java.net.URI path)
        +                        throws DeploymentException,
        +                               java.io.IOException
        +
        Description copied from interface: WebSocketContainer
        +
        Connect the supplied programmatic client endpoint instance to its server + with the given configuration. This method blocks until the connection + is established, or throws an error if the connection could not be made. + If the developer uses this method to deploy the client + endpoint, services like dependency injection that are supported, for + example, when the implementation is part of the Java EE platform + may not be available. If the client endpoint uses dependency injection, + use WebSocketContainer.connectToServer(java.lang.Class, javax.websocket.ClientEndpointConfig, java.net.URI) + instead.
        +
        +
        Specified by:
        +
        connectToServer in interface WebSocketContainer
        +
        Parameters:
        +
        endpointInstance - the programmatic client endpoint instance Endpoint.
        +
        cec - the configuration used to configure the programmatic endpoint.
        +
        path - the complete path to the server endpoint.
        +
        Returns:
        +
        the Session created if the connection is successful.
        +
        Throws:
        +
        DeploymentException - if the configuration is not valid
        +
        java.io.IOException - if there was a network or protocol problem that + prevented the client endpoint being connected to its server
        +
        +
      • +
      + + + +
        +
      • +

        connectToServer

        +
        public Session connectToServer​(java.lang.Object obj,
        +                               java.net.URI path)
        +                        throws DeploymentException,
        +                               java.io.IOException
        +
        Description copied from interface: WebSocketContainer
        +
        Connect the supplied annotated endpoint instance to its server. The supplied + object must be a class decorated with the class level + ServerEndpoint annotation. This method + blocks until the connection is established, or throws an error if either + the connection could not be made or there was a problem with the supplied + endpoint class. If the developer uses this method to deploy the client + endpoint, services like dependency injection that are supported, for + example, when the implementation is part of the Java EE platform + may not be available. If the client endpoint uses dependency injection, + use WebSocketContainer.connectToServer(java.lang.Class, java.net.URI) + instead.
        +
        +
        Specified by:
        +
        connectToServer in interface WebSocketContainer
        +
        Parameters:
        +
        obj - the annotated websocket client endpoint + instance.
        +
        path - the complete path to the server endpoint.
        +
        Returns:
        +
        the Session created if the connection is successful.
        +
        Throws:
        +
        DeploymentException - if the annotated endpoint instance is not valid.
        +
        java.io.IOException - if there was a network or protocol problem that + prevented the client endpoint being connected to its server.
        +
        +
      • +
      + + + +
        +
      • +

        asyncConnectToServer

        +
        public java.util.concurrent.Future<Session> asyncConnectToServer​(java.lang.Class<?> annotatedEndpointClass,
        +                                                                 java.net.URI path)
        +                                                          throws DeploymentException
        +
        Non-blocking version of WebSocketContainer.connectToServer(Class, java.net.URI). +

        + Only simple checks are performed in the main thread; client container is created in different thread, same + applies to connecting etc.

        +
        +
        Parameters:
        +
        annotatedEndpointClass - the annotated websocket client endpoint.
        +
        path - the complete path to the server endpoint.
        +
        Returns:
        +
        Future for the Session created if the connection is successful.
        +
        Throws:
        +
        DeploymentException - if the class is not a valid annotated endpoint class.
        +
        +
      • +
      + + + + + + + + + + + + + + + + + + + +
        +
      • +

        setDefaultMaxBinaryMessageBufferSize

        +
        public void setDefaultMaxBinaryMessageBufferSize​(int i)
        +
        Description copied from interface: WebSocketContainer
        +
        Sets the default maximum size of incoming binary message that this container + will buffer.
        +
        +
        Specified by:
        +
        setDefaultMaxBinaryMessageBufferSize in interface WebSocketContainer
        +
        Parameters:
        +
        i - the maximum size of binary message in number of bytes.
        +
        +
      • +
      + + + + + + + +
        +
      • +

        setDefaultMaxTextMessageBufferSize

        +
        public void setDefaultMaxTextMessageBufferSize​(int i)
        +
        Description copied from interface: WebSocketContainer
        +
        Sets the maximum size of incoming text message that this container + will buffer.
        +
        +
        Specified by:
        +
        setDefaultMaxTextMessageBufferSize in interface WebSocketContainer
        +
        Parameters:
        +
        i - the maximum size of text message in number of bytes.
        +
        +
      • +
      + + + + + + + +
        +
      • +

        getDefaultAsyncSendTimeout

        +
        public long getDefaultAsyncSendTimeout()
        +
        Description copied from interface: WebSocketContainer
        +
        Return the number of milliseconds the implementation will timeout + attempting to send a websocket message for all RemoteEndpoints associated + with this container. A non-positive number indicates + the implementation will not timeout attempting to send a websocket message + asynchronously. Note this default may be overridden in each RemoteEndpoint.
        +
        +
        Specified by:
        +
        getDefaultAsyncSendTimeout in interface WebSocketContainer
        +
        Returns:
        +
        the timeout time in millsenconds.
        +
        +
      • +
      + + + +
        +
      • +

        setAsyncSendTimeout

        +
        public void setAsyncSendTimeout​(long timeoutmillis)
        +
        Description copied from interface: WebSocketContainer
        +
        Sets the number of milliseconds the implementation will timeout + attempting to send a websocket message for all RemoteEndpoints associated + with this container. A non-positive number indicates + the implementation will not timeout attempting to send a websocket message + asynchronously. Note this default may be overridden in each RemoteEndpoint.
        +
        +
        Specified by:
        +
        setAsyncSendTimeout in interface WebSocketContainer
        +
        +
      • +
      + + + +
        +
      • +

        getDefaultMaxSessionIdleTimeout

        +
        public long getDefaultMaxSessionIdleTimeout()
        +
        Description copied from interface: WebSocketContainer
        +
        Return the default time in milliseconds after which any web socket sessions in this + container will be closed if it has been inactive. A value that is + 0 or negative indicates the sessions will never timeout due to inactivity. + The value may be overridden on a per session basis using + Session.setMaxIdleTimeout(long)
        +
        +
        Specified by:
        +
        getDefaultMaxSessionIdleTimeout in interface WebSocketContainer
        +
        Returns:
        +
        the default number of milliseconds after which an idle session in this container + will be closed
        +
        +
      • +
      + + + +
        +
      • +

        setDefaultMaxSessionIdleTimeout

        +
        public void setDefaultMaxSessionIdleTimeout​(long defaultMaxSessionIdleTimeout)
        +
        Description copied from interface: WebSocketContainer
        +
        Sets the default time in milliseconds after which any web socket sessions in this + container will be closed if it has been inactive. A value that is + 0 or negative indicates the sessions will never timeout due to inactivity. + The value may be overridden on a per session basis using + Session.setMaxIdleTimeout(long)
        +
        +
        Specified by:
        +
        setDefaultMaxSessionIdleTimeout in interface WebSocketContainer
        +
        Parameters:
        +
        defaultMaxSessionIdleTimeout - the maximum time in milliseconds.
        +
        +
      • +
      + + + +
        +
      • +

        getProperties

        +
        public java.util.Map<java.lang.String,​java.lang.Object> getProperties()
        +
        Container properties. +

        + Used to set container specific configuration as SSL truststore and keystore, HTTP Proxy configuration and + maximum + incoming buffer size. These properties cannot be shared among various containers due to constraints in WebSocket + API, so if you need to have multiple configurations, you will need to create multiple ClientManager instances or + synchronize connectToServer method invocations.

        +
        +
        Returns:
        +
        map containing container properties.
        +
        See Also:
        +
        ClientProperties
        +
        +
      • +
      +
    • +
    +
    +
  • +
+
+
+
+ + + + diff --git a/apidocs/1.19/org/glassfish/tyrus/client/ClientProperties.html b/apidocs/1.19/org/glassfish/tyrus/client/ClientProperties.html new file mode 100644 index 00000000..ab7424f7 --- /dev/null +++ b/apidocs/1.19/org/glassfish/tyrus/client/ClientProperties.html @@ -0,0 +1,828 @@ + + + + + +ClientProperties (Tyrus 1.19 API) + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +

Class ClientProperties

+
+
+
    +
  • java.lang.Object
  • +
  • +
      +
    • org.glassfish.tyrus.client.ClientProperties
    • +
    +
  • +
+
+
    +
  • +
    +
    public final class ClientProperties
    +extends java.lang.Object
    +
    Tyrus client configuration properties.
    +
    +
    Author:
    +
    Petr Janouch
    +
    +
  • +
+
+
+
    +
  • + +
    + +
    + +
    +
      +
    • + + +

      Constructor Summary

      + + + + + + + + + + +
      Constructors 
      ConstructorDescription
      ClientProperties() 
      +
    • +
    +
    + +
    +
      +
    • + + +

      Method Summary

      +
        +
      • + + +

        Methods inherited from class java.lang.Object

        +clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • +
      +
    • +
    +
    +
  • +
+
+
+
    +
  • + +
    +
      +
    • + + +

      Field Detail

      + + + +
        +
      • +

        HANDSHAKE_TIMEOUT

        +
        public static final java.lang.String HANDSHAKE_TIMEOUT
        +
        Property usable in ClientManager.getProperties(). +

        + Value must be int and represents handshake timeout in milliseconds. Default value is 30000 (30 seconds).

        +
        +
        See Also:
        +
        Constant Field Values
        +
        +
      • +
      + + + + + + + +
        +
      • +

        PROXY_URI

        +
        public static final java.lang.String PROXY_URI
        +
        User property to set proxy URI. +

        + Value is expected to be String and represent proxy URI. Protocol part is currently ignored + but must be present (URI(String) is used for parsing). +

        +     client.getProperties().put(ClientProperties.PROXY_URI, "http://my.proxy.com:80");
        +     client.connectToServer(...);
        + 
        +
        +
        See Also:
        +
        EndpointConfig.getUserProperties(), +Constant Field Values
        +
        +
      • +
      + + + +
        +
      • +

        PROXY_HEADERS

        +
        public static final java.lang.String PROXY_HEADERS
        +
        User property to set additional proxy headers. +

        + Value is expected to be Map<String, String> and represent raw http headers + to be added to initial request which is sent to proxy. Key corresponds to header name, value is header + value. +

        + Sample below demonstrates use of this feature to set preemptive basic proxy authentication: +

        +     final HashMap<String, String> proxyHeaders = new HashMap<String, String>();
        +     proxyHeaders.put("Proxy-Authorization", "Basic " +
        +         Base64.getEncoder().encodeToString("username:password".getBytes(Charset.forName("UTF-8"))));
        +
        +     client.getProperties().put(ClientProperties.PROXY_HEADERS, proxyHeaders);
        +     client.connectToServer(...);
        + 
        + Please note that these headers will be used only when establishing proxy connection, for modifying + WebSocket handshake headers, see + ClientEndpointConfig.Configurator.beforeRequest(java.util.Map).
        +
        +
        See Also:
        +
        EndpointConfig.getUserProperties(), +Constant Field Values
        +
        +
      • +
      + + + +
        +
      • +

        SSL_ENGINE_CONFIGURATOR

        +
        public static final java.lang.String SSL_ENGINE_CONFIGURATOR
        +
        Property usable in ClientManager.getProperties() as a key for SSL configuration. +

        + Value is expected to be either org.glassfish.grizzly.ssl.SSLEngineConfigurator or + SslEngineConfigurator when configuring Grizzly client or only + SslEngineConfigurator when configuring JDK client. +

        + The advantage of using SslEngineConfigurator with Grizzly client is that + SslEngineConfigurator allows configuration of host name verification + (which is turned on by default) +

        + Example configuration for JDK client: +

        +      SslContextConfigurator sslContextConfigurator = new SslContextConfigurator();
        +      sslContextConfigurator.setTrustStoreFile("...");
        +      sslContextConfigurator.setTrustStorePassword("...");
        +      sslContextConfigurator.setTrustStoreType("...");
        +      sslContextConfigurator.setKeyStoreFile("...");
        +      sslContextConfigurator.setKeyStorePassword("...");
        +      sslContextConfigurator.setKeyStoreType("...");
        +      SslEngineConfigurator sslEngineConfigurator = new SslEngineConfigurator(sslContextConfigurator, true,
        +          false, false);
        +      client.getProperties().put(ClientProperties.SSL_ENGINE_CONFIGURATOR, sslEngineConfigurator);
        + 
        +
        +
        See Also:
        +
        Constant Field Values
        +
        +
      • +
      + + + + + + + +
        +
      • +

        SHARED_CONTAINER

        +
        public static final java.lang.String SHARED_CONTAINER
        +
        When set to true (boolean value), client runtime preserves used container and reuses it for outgoing + connections. +

        + A single thread pool is reused by all clients with this property set to true. + JDK client supports only shared container option, so setting this property has no effect.

        +
        +
        See Also:
        +
        SHARED_CONTAINER_IDLE_TIMEOUT, +Constant Field Values
        +
        +
      • +
      + + + +
        +
      • +

        SHARED_CONTAINER_IDLE_TIMEOUT

        +
        public static final java.lang.String SHARED_CONTAINER_IDLE_TIMEOUT
        +
        Container idle timeout in seconds (Integer value). +

        + When the timeout elapses, the shared thread pool will be destroyed.

        +
        +
        See Also:
        +
        SHARED_CONTAINER, +Constant Field Values
        +
        +
      • +
      + + + +
        +
      • +

        WORKER_THREAD_POOL_CONFIG

        +
        public static final java.lang.String WORKER_THREAD_POOL_CONFIG
        +
        User property to set worker thread pool configuration. +

        + An instance of ThreadPoolConfig is expected for both JDK + and Grizzly client. Instance of org.glassfish.grizzly.threadpool.ThreadPoolConfig, can be used + for Grizzly client. +

        + Sample below demonstrates how to use this property: +

        +     client.getProperties().put(ClientProperties.WORKER_THREAD_POOL_CONFIG, ThreadPoolConfig.defaultConfig());
        + 
        +
        +
        See Also:
        +
        Constant Field Values
        +
        +
      • +
      + + + +
        +
      • +

        AUTH_CONFIG

        +
        public static final java.lang.String AUTH_CONFIG
        +
        Authentication configuration. If no AuthConfig is specified then default configuration will be used, + containing both Basic and Digest provided authenticators. +

        + Value must be AuthConfig instance. +

        + Sample below demonstrates how to use this property: +

        +     client.getProperties().put(ClientProperties.AUTH_CONFIG, AuthConfig.builder().enableProvidedBasicAuth()
        +     .build());
        + 
        +
        +
        See Also:
        +
        AuthConfig, +AuthConfig.Builder, +Authenticator, +Constant Field Values
        +
        +
      • +
      + + + +
        +
      • +

        CREDENTIALS

        +
        public static final java.lang.String CREDENTIALS
        +
        Authentication credentials. +

        + Value must be Credentials instance. +

        + Provided authenticators (both Basic and Digest) require this property set, + otherwise AuthenticationException will be thrown during a handshake. + User defined authenticators may look up credentials in another sources. +

        + Sample below demonstrates how to use this property: +

        +     client.getProperties().put(ClientProperties.CREDENTIALS, new Credentials("websocket_user", "password");
        + 
        +
        +
        See Also:
        +
        Credentials, +AuthConfig, +Authenticator, +Constant Field Values
        +
        +
      • +
      + + + +
        +
      • +

        REDIRECT_ENABLED

        +
        public static final java.lang.String REDIRECT_ENABLED
        +
        HTTP Redirect support. +

        + Value is expected to be boolean. Default value is false. +

        + When set to true and one of the following redirection HTTP response status code (3xx) is received during + a handshake, client will attempt to connect to the URI contained in "Location" + header from handshake response. Number of redirection is limited by property REDIRECT_THRESHOLD + (integer value), while default value is 5. +

        + List of supported HTTP status codes: +

          +
        • 300 - Multiple Choices
        • +
        • 301 - Moved permanently
        • +
        • 302 - Found
        • +
        • 303 - See Other (since HTTP/1.1)
        • +
        • 307 - Temporary Redirect (since HTTP/1.1)
        • +
        • 308 - Permanent Redirect (Experimental RFC; RFC 7238)
        • +
        +
        +
        See Also:
        +
        REDIRECT_THRESHOLD, +Constant Field Values
        +
        +
      • +
      + + + +
        +
      • +

        REDIRECT_THRESHOLD

        +
        public static final java.lang.String REDIRECT_THRESHOLD
        +
        The maximal number of redirects during single handshake. +

        + Value is expected to be positive Integer. Default value is 5. +

        + HTTP redirection must be enabled by property REDIRECT_ENABLED, otherwise REDIRECT_THRESHOLD is + not applied.

        +
        +
        See Also:
        +
        REDIRECT_ENABLED, +RedirectException, +Constant Field Values
        +
        +
      • +
      + + + + + + + +
        +
      • +

        LOG_HTTP_UPGRADE

        +
        public static final java.lang.String LOG_HTTP_UPGRADE
        +
        User property to configure logging of HTTP upgrade messages. +

        + Value is expected to be boolean. Default value is false. +

        + When set to true upgrade request and response messages will be logged regardless of the logging + level configuration. When the logging is configured to Level.FINE or lower, + this setting will have no effect as at this level HTTP upgrade messages will be logged anyway.

        +
        +
        See Also:
        +
        Constant Field Values
        +
        +
      • +
      + + + +
        +
      • +

        MASKING_KEY_GENERATOR

        +
        public static final java.lang.String MASKING_KEY_GENERATOR
        +
        Property name for registering a custom masking key generator. The expected value is an instance of + MaskingKeyGenerator. +

        + As a security measure, all frames originating on websocket client have to be masked with random 4B value, which + should be freshly generated for each frame. Moreover to fully comply with the security requirements of RFC 6455, + a masking key of a frame must not be predictable from masking keys of previous frames and therefore Tyrus uses + SecureRandom as a default masking key generator. While this is perfectly OK for most Tyrus + client use cases, usage of SecureRandom might prove to be a performance issue, + when the client is used for instance for highly parallel stress testing as SecureRandom + uses a synchronized singleton as a random entropy provider in its internals. +

        + This property allows replacing the default SecureRandom with a more scalable provider + of masking keys.

        +
        +
        See Also:
        +
        Constant Field Values
        +
        +
      • +
      + + + +
        +
      • +

        SOCKET_BINDING

        +
        public static final java.lang.String SOCKET_BINDING
        +
        Property name for defining local binding address for all socket created by the client. The expected value is an instance + of InetAddress. +

        + Sample below demonstrates how to use this property: +

        +     client.getProperties().put(ClientProperties.SOCKET_BINDING, InetAddress.getByName("127.0.0.1"));
        + 
        +
        +
        See Also:
        +
        Constant Field Values
        +
        +
      • +
      +
    • +
    +
    + +
    +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        ClientProperties

        +
        public ClientProperties()
        +
      • +
      +
    • +
    +
    +
  • +
+
+
+
+ + + + diff --git a/apidocs/1.19/org/glassfish/tyrus/client/RedirectException.html b/apidocs/1.19/org/glassfish/tyrus/client/RedirectException.html new file mode 100644 index 00000000..8d6dbf80 --- /dev/null +++ b/apidocs/1.19/org/glassfish/tyrus/client/RedirectException.html @@ -0,0 +1,338 @@ + + + + + +RedirectException (Tyrus 1.19 API) + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +

Class RedirectException

+
+
+ +
+ +
+
+
    +
  • + +
    +
      +
    • + + +

      Constructor Summary

      + + + + + + + + + + +
      Constructors 
      ConstructorDescription
      RedirectException​(int httpStatusCode, + java.lang.String message) +
      Constructor.
      +
      +
    • +
    +
    + +
    +
      +
    • + + +

      Method Summary

      + +
        +
      • + + +

        Methods inherited from class java.lang.Throwable

        +addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
      • +
      +
        +
      • + + +

        Methods inherited from class java.lang.Object

        +clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
      • +
      +
    • +
    +
    +
  • +
+
+
+
    +
  • + +
    +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        RedirectException

        +
        public RedirectException​(int httpStatusCode,
        +                         java.lang.String message)
        +
        Constructor.
        +
        +
        Parameters:
        +
        httpStatusCode - http status code to be set to response.
        +
        message - the detail message. The detail message is saved for later retrieval by the Throwable.getMessage() method.
        +
        +
      • +
      +
    • +
    +
    +
  • +
+
+
+
+ + + + diff --git a/apidocs/1.19/org/glassfish/tyrus/client/RetryAfterException.html b/apidocs/1.19/org/glassfish/tyrus/client/RetryAfterException.html new file mode 100644 index 00000000..7a13040a --- /dev/null +++ b/apidocs/1.19/org/glassfish/tyrus/client/RetryAfterException.html @@ -0,0 +1,370 @@ + + + + + +RetryAfterException (Tyrus 1.19 API) + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +

Class RetryAfterException

+
+
+ +
+ +
+
+
    +
  • + +
    +
      +
    • + + +

      Constructor Summary

      + + + + + + + + + + +
      Constructors 
      ConstructorDescription
      RetryAfterException​(java.lang.String message, + java.lang.Long delay) +
      Constructor.
      +
      +
    • +
    +
    + +
    +
      +
    • + + +

      Method Summary

      + + + + + + + + + + + + +
      All Methods Instance Methods Concrete Methods 
      Modifier and TypeMethodDescription
      java.lang.LonggetDelay() +
      Get a delay specified in "Retry-After" response header in seconds.
      +
      + +
        +
      • + + +

        Methods inherited from class java.lang.Throwable

        +addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
      • +
      +
        +
      • + + +

        Methods inherited from class java.lang.Object

        +clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
      • +
      +
    • +
    +
    +
  • +
+
+
+
    +
  • + +
    +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        RetryAfterException

        +
        public RetryAfterException​(java.lang.String message,
        +                           java.lang.Long delay)
        +
        Constructor.
        +
        +
        Parameters:
        +
        message - the detail message. The detail message is saved for later retrieval by the Throwable.getMessage() + method.
        +
        delay - a delay to the time received handshake response in header.
        +
        +
      • +
      +
    • +
    +
    + +
    +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        getDelay

        +
        public java.lang.Long getDelay()
        +
        Get a delay specified in "Retry-After" response header in seconds.
        +
        +
        Returns:
        +
        a delay in seconds or null when response does not contain "Retry-After" or + the value cannot be parsed as long ot http-date.
        +
        +
      • +
      +
    • +
    +
    +
  • +
+
+
+
+ + + + diff --git a/apidocs/1.19/org/glassfish/tyrus/client/SslContextConfigurator.html b/apidocs/1.19/org/glassfish/tyrus/client/SslContextConfigurator.html new file mode 100644 index 00000000..f437b53c --- /dev/null +++ b/apidocs/1.19/org/glassfish/tyrus/client/SslContextConfigurator.html @@ -0,0 +1,1129 @@ + + + + + +SslContextConfigurator (Tyrus 1.19 API) + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +

Class SslContextConfigurator

+
+
+
    +
  • java.lang.Object
  • +
  • +
      +
    • org.glassfish.tyrus.client.SslContextConfigurator
    • +
    +
  • +
+
+
    +
  • +
    +
    public class SslContextConfigurator
    +extends java.lang.Object
    +
    Utility class, which helps to configure ssl context. +

    + Used to configure SslEngineConfigurator, which will be passed to client via configuration properties. + Example: +

    +      SslContextConfigurator sslContextConfigurator = new SslContextConfigurator();
    +      sslContextConfigurator.setTrustStoreFile("...");
    +      sslContextConfigurator.setTrustStorePassword("...");
    +      sslContextConfigurator.setTrustStoreType("...");
    +      sslContextConfigurator.setKeyStoreFile("...");
    +      sslContextConfigurator.setKeyStorePassword("...");
    +      sslContextConfigurator.setKeyStoreType("...");
    +      SslEngineConfigurator sslEngineConfigurator = new SslEngineConfigurator(sslContextConfigurator, true, false,
    + false);
    +      client.getProperties().put(ClientManager.SSL_ENGINE_CONFIGURATOR, sslEngineConfigurator);
    + 
    +
    +
    Author:
    +
    Alexey Stashok, Hubert Iwaniuk, Bruno Harbulot, Marek Potociar (marek.potociar at oracle.com)
    +
    +
  • +
+
+
+ +
+
+
    +
  • + +
    +
      +
    • + + +

      Field Detail

      + + + +
        +
      • +

        TRUST_STORE_PROVIDER

        +
        public static final java.lang.String TRUST_STORE_PROVIDER
        +
        Trust store provider name. +

        + The value MUST be a String representing the name of a trust store provider. +

        + No default value is set. +

        + The name of the configuration property is "javax.net.ssl.trustStoreProvider".

        +
        +
        See Also:
        +
        Constant Field Values
        +
        +
      • +
      + + + +
        +
      • +

        KEY_STORE_PROVIDER

        +
        public static final java.lang.String KEY_STORE_PROVIDER
        +
        Key store provider name. +

        + The value MUST be a String representing the name of a trust store provider. +

        + No default value is set. +

        + The name of the configuration property is "javax.net.ssl.keyStoreProvider".

        +
        +
        See Also:
        +
        Constant Field Values
        +
        +
      • +
      + + + +
        +
      • +

        TRUST_STORE_FILE

        +
        public static final java.lang.String TRUST_STORE_FILE
        +
        Trust store file name. +

        + The value MUST be a String representing the name of a trust store file. +

        + No default value is set. +

        + The name of the configuration property is "javax.net.ssl.trustStore".

        +
        +
        See Also:
        +
        Constant Field Values
        +
        +
      • +
      + + + +
        +
      • +

        KEY_STORE_FILE

        +
        public static final java.lang.String KEY_STORE_FILE
        +
        Key store file name. +

        + The value MUST be a String representing the name of a key store file. +

        + No default value is set. +

        + The name of the configuration property is "javax.net.ssl.keyStore".

        +
        +
        See Also:
        +
        Constant Field Values
        +
        +
      • +
      + + + +
        +
      • +

        TRUST_STORE_PASSWORD

        +
        public static final java.lang.String TRUST_STORE_PASSWORD
        +
        Trust store file password - the password used to unlock the trust store file. +

        + The value MUST be a String representing the trust store file password. +

        + No default value is set. +

        + The name of the configuration property is "javax.net.ssl.trustStorePassword".

        +
        +
        See Also:
        +
        Constant Field Values
        +
        +
      • +
      + + + +
        +
      • +

        KEY_STORE_PASSWORD

        +
        public static final java.lang.String KEY_STORE_PASSWORD
        +
        Key store file password - the password used to unlock the trust store file. +

        + The value MUST be a String representing the key store file password. +

        + No default value is set. +

        + The name of the configuration property is "javax.net.ssl.keyStorePassword".

        +
        +
        See Also:
        +
        Constant Field Values
        +
        +
      • +
      + + + +
        +
      • +

        TRUST_STORE_TYPE

        +
        public static final java.lang.String TRUST_STORE_TYPE
        +
        Trust store type (see KeyStore.getType() for more info). +

        + The value MUST be a String representing the trust store type name. +

        + No default value is set. +

        + The name of the configuration property is "javax.net.ssl.trustStoreType".

        +
        +
        See Also:
        +
        Constant Field Values
        +
        +
      • +
      + + + +
        +
      • +

        KEY_STORE_TYPE

        +
        public static final java.lang.String KEY_STORE_TYPE
        +
        Key store type (see KeyStore.getType() for more info). +

        + The value MUST be a String representing the key store type name. +

        + No default value is set. +

        + The name of the configuration property is "javax.net.ssl.keyStoreType".

        +
        +
        See Also:
        +
        Constant Field Values
        +
        +
      • +
      + + + +
        +
      • +

        KEY_FACTORY_MANAGER_ALGORITHM

        +
        public static final java.lang.String KEY_FACTORY_MANAGER_ALGORITHM
        +
        Key manager factory algorithm name. +

        + The value MUST be a String representing the key manager factory algorithm name. +

        + No default value is set. +

        + The name of the configuration property is "ssl.KeyManagerFactory.algorithm".

        +
        +
        See Also:
        +
        Constant Field Values
        +
        +
      • +
      + + + +
        +
      • +

        TRUST_FACTORY_MANAGER_ALGORITHM

        +
        public static final java.lang.String TRUST_FACTORY_MANAGER_ALGORITHM
        +
        Trust manager factory algorithm name. +

        + The value MUST be a String representing the trust manager factory algorithm name. +

        + No default value is set. +

        + The name of the configuration property is "ssl.TrustManagerFactory.algorithm".

        +
        +
        See Also:
        +
        Constant Field Values
        +
        +
      • +
      + + + +
        +
      • +

        DEFAULT_CONFIG

        +
        public static final SslContextConfigurator DEFAULT_CONFIG
        +
        Default SSL configuration. If you have changed any of + System.getProperties() of javax.net.ssl family you should refresh + this configuration by calling retrieve(java.util.Properties).
        +
      • +
      +
    • +
    +
    + +
    +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        SslContextConfigurator

        +
        public SslContextConfigurator()
        +
        Default constructor. Reads configuration properties from + System.getProperties(). Calls SslContextConfigurator(boolean) with + true.
        +
      • +
      + + + +
        +
      • +

        SslContextConfigurator

        +
        public SslContextConfigurator​(boolean readSystemProperties)
        +
        Constructor that allows you creating empty configuration.
        +
        +
        Parameters:
        +
        readSystemProperties - If true populates configuration from + System.getProperties(), else you have empty + configuration.
        +
        +
      • +
      +
    • +
    +
    + +
    +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        setTrustStoreProvider

        +
        public SslContextConfigurator setTrustStoreProvider​(java.lang.String trustStoreProvider)
        +
        Sets the trust store provider name.
        +
        +
        Parameters:
        +
        trustStoreProvider - Trust store provider to set.
        +
        Returns:
        +
        updated SslContextConfigurator instance.
        +
        +
      • +
      + + + +
        +
      • +

        setKeyStoreProvider

        +
        public SslContextConfigurator setKeyStoreProvider​(java.lang.String keyStoreProvider)
        +
        Sets the key store provider name.
        +
        +
        Parameters:
        +
        keyStoreProvider - Key store provider to set.
        +
        Returns:
        +
        updated SslContextConfigurator instance.
        +
        +
      • +
      + + + +
        +
      • +

        setTrustStoreType

        +
        public SslContextConfigurator setTrustStoreType​(java.lang.String trustStoreType)
        +
        Type of trust store.
        +
        +
        Parameters:
        +
        trustStoreType - Type of trust store to set.
        +
        Returns:
        +
        updated SslContextConfigurator instance.
        +
        +
      • +
      + + + +
        +
      • +

        setKeyStoreType

        +
        public SslContextConfigurator setKeyStoreType​(java.lang.String keyStoreType)
        +
        Type of key store.
        +
        +
        Parameters:
        +
        keyStoreType - Type of key store to set.
        +
        Returns:
        +
        updated SslContextConfigurator instance.
        +
        +
      • +
      + + + +
        +
      • +

        setTrustStorePassword

        +
        public SslContextConfigurator setTrustStorePassword​(java.lang.String trustStorePassword)
        +
        Password of trust store.
        +
        +
        Parameters:
        +
        trustStorePassword - Password of trust store to set.
        +
        Returns:
        +
        updated SslContextConfigurator instance.
        +
        +
      • +
      + + + +
        +
      • +

        setKeyStorePassword

        +
        public SslContextConfigurator setKeyStorePassword​(java.lang.String keyStorePassword)
        +
        Password of key store.
        +
        +
        Parameters:
        +
        keyStorePassword - Password of key store to set.
        +
        Returns:
        +
        updated SslContextConfigurator instance.
        +
        +
      • +
      + + + +
        +
      • +

        setKeyStorePassword

        +
        public SslContextConfigurator setKeyStorePassword​(char[] keyStorePassword)
        +
        Password of key store.
        +
        +
        Parameters:
        +
        keyStorePassword - Password of key store to set.
        +
        Returns:
        +
        updated SslContextConfigurator instance.
        +
        +
      • +
      + + + +
        +
      • +

        setKeyPassword

        +
        public SslContextConfigurator setKeyPassword​(java.lang.String keyPassword)
        +
        Password of the key in the key store.
        +
        +
        Parameters:
        +
        keyPassword - Password of key to set.
        +
        Returns:
        +
        updated SslContextConfigurator instance.
        +
        +
      • +
      + + + +
        +
      • +

        setKeyPassword

        +
        public SslContextConfigurator setKeyPassword​(char[] keyPassword)
        +
        Password of the key in the key store.
        +
        +
        Parameters:
        +
        keyPassword - Password of key to set.
        +
        Returns:
        +
        updated SslContextConfigurator instance.
        +
        +
      • +
      + + + +
        +
      • +

        setTrustStoreFile

        +
        public SslContextConfigurator setTrustStoreFile​(java.lang.String trustStoreFile)
        +
        Sets trust store file name, also makes sure that if other trust store + configuration parameters are not set to set them to default values. + Method resets trust store bytes if any have been set before via + setTrustStoreBytes(byte[]).
        +
        +
        Parameters:
        +
        trustStoreFile - File name of trust store.
        +
        Returns:
        +
        updated SslContextConfigurator instance.
        +
        +
      • +
      + + + + + + + +
        +
      • +

        setKeyStoreFile

        +
        public SslContextConfigurator setKeyStoreFile​(java.lang.String keyStoreFile)
        +
        Sets key store file name, also makes sure that if other key store + configuration parameters are not set to set them to default values. + Method resets key store bytes if any have been set before via + setKeyStoreBytes(byte[]).
        +
        +
        Parameters:
        +
        keyStoreFile - File name of key store.
        +
        Returns:
        +
        updated SslContextConfigurator instance.
        +
        +
      • +
      + + + + + + + +
        +
      • +

        setTrustManagerFactoryAlgorithm

        +
        public SslContextConfigurator setTrustManagerFactoryAlgorithm​(java.lang.String trustManagerFactoryAlgorithm)
        +
        Sets the trust manager factory algorithm.
        +
        +
        Parameters:
        +
        trustManagerFactoryAlgorithm - the trust manager factory algorithm.
        +
        Returns:
        +
        updated SslContextConfigurator instance.
        +
        +
      • +
      + + + +
        +
      • +

        setKeyManagerFactoryAlgorithm

        +
        public SslContextConfigurator setKeyManagerFactoryAlgorithm​(java.lang.String keyManagerFactoryAlgorithm)
        +
        Sets the key manager factory algorithm.
        +
        +
        Parameters:
        +
        keyManagerFactoryAlgorithm - the key manager factory algorithm.
        +
        Returns:
        +
        updated SslContextConfigurator instance.
        +
        +
      • +
      + + + +
        +
      • +

        setSecurityProtocol

        +
        public SslContextConfigurator setSecurityProtocol​(java.lang.String securityProtocol)
        +
        Sets the SSLContext protocol. The default value is TLS if + this is null.
        +
        +
        Parameters:
        +
        securityProtocol - Protocol for SSLContext.getProtocol().
        +
        Returns:
        +
        updated SslContextConfigurator instance.
        +
        +
      • +
      + + + +
        +
      • +

        validateConfiguration

        +
        public boolean validateConfiguration()
        +
        Validates SslContextConfigurator configuration.
        +
        +
        Returns:
        +
        true if configuration is valid, else + false.
        +
        +
      • +
      + + + +
        +
      • +

        validateConfiguration

        +
        public boolean validateConfiguration​(boolean needsKeyStore)
        +
        Validates SslContextConfigurator configuration.
        +
        +
        Parameters:
        +
        needsKeyStore - forces failure if no keystore is specified.
        +
        Returns:
        +
        true if configuration is valid, else + false.
        +
        +
      • +
      + + + +
        +
      • +

        createSSLContext

        +
        public javax.net.ssl.SSLContext createSSLContext()
        +
        Create SSLContext from current configuration.
        +
        +
        Returns:
        +
        created SSLContext.
        +
        +
      • +
      + + + +
        +
      • +

        retrieve

        +
        public SslContextConfigurator retrieve​(java.util.Properties props)
        +
        Retrieve settings from (system) properties.
        +
        +
        Parameters:
        +
        props - property map (usually taken from System.getProperties()).
        +
        Returns:
        +
        updated SslContextConfigurator instance.
        +
        +
      • +
      +
    • +
    +
    +
  • +
+
+
+
+ + + + diff --git a/apidocs/1.19/org/glassfish/tyrus/client/SslEngineConfigurator.html b/apidocs/1.19/org/glassfish/tyrus/client/SslEngineConfigurator.html new file mode 100644 index 00000000..b14c49c9 --- /dev/null +++ b/apidocs/1.19/org/glassfish/tyrus/client/SslEngineConfigurator.html @@ -0,0 +1,1065 @@ + + + + + +SslEngineConfigurator (Tyrus 1.19 API) + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +

Class SslEngineConfigurator

+
+
+
    +
  • java.lang.Object
  • +
  • +
      +
    • org.glassfish.tyrus.client.SslEngineConfigurator
    • +
    +
  • +
+
+
    +
  • +
    +
    public class SslEngineConfigurator
    +extends java.lang.Object
    +
    SSLEngineConfigurator class from Grizzly project. +

    + Utility class, which helps to configure SSLEngine. Should be passed to client via configuration properties. + Example: +

    +      SslContextConfigurator sslContextConfigurator = new SslContextConfigurator();
    +      sslContextConfigurator.setTrustStoreFile("...");
    +      sslContextConfigurator.setTrustStorePassword("...");
    +      sslContextConfigurator.setTrustStoreType("...");
    +      sslContextConfigurator.setKeyStoreFile("...");
    +      sslContextConfigurator.setKeyStorePassword("...");
    +      sslContextConfigurator.setKeyStoreType("...");
    +      SslEngineConfigurator sslEngineConfigurator = new SslEngineConfigurator(sslContextConfigurator, true, false,
    + false);
    +      client.getProperties().put(ClientManager.SSL_ENGINE_CONFIGURATOR, sslEngineConfigurator);
    + 
    +
    +
    Author:
    +
    Alexey Stashok
    +
    +
  • +
+
+
+ +
+
+
    +
  • + +
    +
      +
    • + + +

      Field Detail

      + + + + + + + +
        +
      • +

        sslContext

        +
        protected volatile javax.net.ssl.SSLContext sslContext
        +
      • +
      + + + +
        +
      • +

        enabledCipherSuites

        +
        protected java.lang.String[] enabledCipherSuites
        +
        The list of cipher suites.
        +
      • +
      + + + +
        +
      • +

        enabledProtocols

        +
        protected java.lang.String[] enabledProtocols
        +
        The list of protocols.
        +
      • +
      + + + +
        +
      • +

        clientMode

        +
        protected boolean clientMode
        +
        Client mode when handshaking.
        +
      • +
      + + + +
        +
      • +

        needClientAuth

        +
        protected boolean needClientAuth
        +
        Require client Authentication.
        +
      • +
      + + + +
        +
      • +

        wantClientAuth

        +
        protected boolean wantClientAuth
        +
        True when requesting authentication.
        +
      • +
      +
    • +
    +
    + +
    +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        SslEngineConfigurator

        +
        public SslEngineConfigurator​(javax.net.ssl.SSLContext sslContext)
        +
        Create SSL Engine configuration basing on passed SSLContext.
        +
        +
        Parameters:
        +
        sslContext - SSLContext.
        +
        +
      • +
      + + + +
        +
      • +

        SslEngineConfigurator

        +
        public SslEngineConfigurator​(javax.net.ssl.SSLContext sslContext,
        +                             boolean clientMode,
        +                             boolean needClientAuth,
        +                             boolean wantClientAuth)
        +
        Create SSL Engine configuration based on passed SSLContext, + using passed client mode, need/want client auth parameters.
        +
        +
        Parameters:
        +
        sslContext - SSLContext.
        +
        clientMode - will be configured to work in client mode.
        +
        needClientAuth - client authentication is required.
        +
        wantClientAuth - client should authenticate.
        +
        +
      • +
      + + + + + + + +
        +
      • +

        SslEngineConfigurator

        +
        public SslEngineConfigurator​(SslContextConfigurator sslContextConfiguration,
        +                             boolean clientMode,
        +                             boolean needClientAuth,
        +                             boolean wantClientAuth)
        +
        Create SSL Engine configuration basing on passed SslContextConfigurator. + This constructor makes possible to initialize SSLEngine and SSLContext in lazy + fashion on first createSSLEngine(String) call.
        +
        +
        Parameters:
        +
        sslContextConfiguration - SslContextConfigurator.
        +
        clientMode - will be configured to work in client mode.
        +
        needClientAuth - client authentication is required.
        +
        wantClientAuth - client should authenticate.
        +
        +
      • +
      + + + + + + + +
        +
      • +

        SslEngineConfigurator

        +
        protected SslEngineConfigurator()
        +
        Default constructor.
        +
      • +
      +
    • +
    +
    + +
    +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        createSSLEngine

        +
        public javax.net.ssl.SSLEngine createSSLEngine​(java.lang.String serverHost)
        +
        Create and configure SSLEngine, based on current settings.
        +
        +
        Parameters:
        +
        serverHost - server host, which will be used to verify authenticity of the server (the provided host name + will + compared to the host in the certificate provided by the server).
        +
        Returns:
        +
        SSLEngine.
        +
        +
      • +
      + + + +
        +
      • +

        configure

        +
        public javax.net.ssl.SSLEngine configure​(javax.net.ssl.SSLEngine sslEngine)
        +
        Configure passed SSLEngine, using current configurator settings, excluding Hostname Verification.
        +
        +
        Parameters:
        +
        sslEngine - SSLEngine to configure.
        +
        Returns:
        +
        configured SSLEngine.
        +
        +
      • +
      + + + +
        +
      • +

        isClientMode

        +
        public boolean isClientMode()
        +
        Will SSLEngine be configured to work in client mode.
        +
        +
        Returns:
        +
        true, if SSLEngine will be configured to work + in client mode, or false for server mode.
        +
        +
      • +
      + + + +
        +
      • +

        setClientMode

        +
        public SslEngineConfigurator setClientMode​(boolean clientMode)
        +
        Set SSLEngine to be configured to work in client mode.
        +
        +
        Parameters:
        +
        clientMode - true, if SSLEngine will be configured + to work in client mode, or false for server + mode.
        +
        Returns:
        +
        updated SslEngineConfigurator.
        +
        +
      • +
      + + + +
        +
      • +

        isNeedClientAuth

        +
        public boolean isNeedClientAuth()
        +
        Get "need client auth" property.
        +
        +
        Returns:
        +
        need client auth property value;
        +
        +
      • +
      + + + +
        +
      • +

        setNeedClientAuth

        +
        public SslEngineConfigurator setNeedClientAuth​(boolean needClientAuth)
        +
        Set "need client auth" property.
        +
        +
        Parameters:
        +
        needClientAuth - value to be set.
        +
        Returns:
        +
        updated SslEngineConfigurator.
        +
        +
      • +
      + + + +
        +
      • +

        isWantClientAuth

        +
        public boolean isWantClientAuth()
        +
        Get "want client auth" property.
        +
        +
        Returns:
        +
        need client auth property value;
        +
        +
      • +
      + + + +
        +
      • +

        setWantClientAuth

        +
        public SslEngineConfigurator setWantClientAuth​(boolean wantClientAuth)
        +
        Set "want client auth" property.
        +
        +
        Parameters:
        +
        wantClientAuth - value to be set.
        +
        Returns:
        +
        updated SslEngineConfigurator.
        +
        +
      • +
      + + + +
        +
      • +

        getEnabledCipherSuites

        +
        public java.lang.String[] getEnabledCipherSuites()
        +
        Get enabled cipher suites.
        +
        +
        Returns:
        +
        String array with enabled cipher suites.
        +
        +
      • +
      + + + +
        +
      • +

        setEnabledCipherSuites

        +
        public SslEngineConfigurator setEnabledCipherSuites​(java.lang.String[] enabledCipherSuites)
        +
        Set enabled cipher suites.
        +
        +
        Parameters:
        +
        enabledCipherSuites - String array with cipher suites.
        +
        Returns:
        +
        updated SslEngineConfigurator.
        +
        +
      • +
      + + + +
        +
      • +

        getEnabledProtocols

        +
        public java.lang.String[] getEnabledProtocols()
        +
        Get enabled protocols.
        +
        +
        Returns:
        +
        String array with enabled protocols.
        +
        +
      • +
      + + + +
        +
      • +

        setEnabledProtocols

        +
        public SslEngineConfigurator setEnabledProtocols​(java.lang.String[] enabledProtocols)
        +
        Set enabled protocols.
        +
        +
        Parameters:
        +
        enabledProtocols - String array with protocols.
        +
        Returns:
        +
        updated SslEngineConfigurator.
        +
        +
      • +
      + + + +
        +
      • +

        isCipherConfigured

        +
        public boolean isCipherConfigured()
        +
      • +
      + + + +
        +
      • +

        setCipherConfigured

        +
        public SslEngineConfigurator setCipherConfigured​(boolean isCipherConfigured)
        +
      • +
      + + + +
        +
      • +

        isProtocolConfigured

        +
        public boolean isProtocolConfigured()
        +
      • +
      + + + +
        +
      • +

        setProtocolConfigured

        +
        public SslEngineConfigurator setProtocolConfigured​(boolean isProtocolConfigured)
        +
      • +
      + + + +
        +
      • +

        isHostVerificationEnabled

        +
        public boolean isHostVerificationEnabled()
        +
        Get the hostname verification state.
        +
        +
        Returns:
        +
        true if the hostname verification is enabled, false otherwise.
        +
        +
      • +
      + + + +
        +
      • +

        setHostVerificationEnabled

        +
        public SslEngineConfigurator setHostVerificationEnabled​(boolean hostVerificationEnabled)
        +
        Set hostname verification.
        +
        +
        Parameters:
        +
        hostVerificationEnabled - when true, servers hostname will be verified using JDK default + HostnameVerifier. When false, hostname verification won't be + performed unless custom HostnameVerifier is set.
        +
        Returns:
        +
        updated SslEngineConfigurator.
        +
        See Also:
        +
        setHostnameVerifier(HostnameVerifier)
        +
        +
      • +
      + + + +
        +
      • +

        getHostnameVerifier

        +
        public javax.net.ssl.HostnameVerifier getHostnameVerifier()
        +
        Get custom hostname verifier.
        +
        +
        Returns:
        +
        user provided hostname verifier instance.
        +
        +
      • +
      + + + +
        +
      • +

        setHostnameVerifier

        +
        public SslEngineConfigurator setHostnameVerifier​(javax.net.ssl.HostnameVerifier hostnameVerifier)
        +
        Set custom hostname verifier. +

        + When custom HostnameVerifier instance is registered, it will be used to perform hostname verification, + no matter on the state of hostname verification flag (see isHostVerificationEnabled()) and JDK default + hostname verifier won't be used.

        +
        +
        Parameters:
        +
        hostnameVerifier - custom hostname verifier.
        +
        Returns:
        +
        updated SslEngineConfigurator.
        +
        +
      • +
      + + + +
        +
      • +

        getSslContext

        +
        public javax.net.ssl.SSLContext getSslContext()
        +
        Create SSLContext and store it for further invocation of this method.
        +
        +
        Returns:
        +
        created ssl context.
        +
        +
      • +
      + + + +
        +
      • +

        toString

        +
        public java.lang.String toString()
        +
        +
        Overrides:
        +
        toString in class java.lang.Object
        +
        +
      • +
      + + + + +
    • +
    +
    +
  • +
+
+
+
+ + + + diff --git a/apidocs/1.19/org/glassfish/tyrus/client/ThreadPoolConfig.html b/apidocs/1.19/org/glassfish/tyrus/client/ThreadPoolConfig.html new file mode 100644 index 00000000..ee4ce2f1 --- /dev/null +++ b/apidocs/1.19/org/glassfish/tyrus/client/ThreadPoolConfig.html @@ -0,0 +1,845 @@ + + + + + +ThreadPoolConfig (Tyrus 1.19 API) + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +

Class ThreadPoolConfig

+
+
+
    +
  • java.lang.Object
  • +
  • +
      +
    • org.glassfish.tyrus.client.ThreadPoolConfig
    • +
    +
  • +
+
+
    +
  • +
    +
    public final class ThreadPoolConfig
    +extends java.lang.Object
    +
    Client thread pool configuration, which might be used to customize client thread pool. +

    + One can get a default ThreadPoolConfig using defaultConfig() + and customize it according to the application specific requirements. +

    + A ThreadPoolConfig object might be customized in a "Builder"-like fashion: +

    +      ThreadPoolConfig.defaultConfig()
    +               .setPoolName("App1Pool")
    +               .setCorePoolSize(5)
    +               .setMaxPoolSize(10);
    + 
    +
    +
    Author:
    +
    Oleksiy Stashok, gustav trede
    +
    +
  • +
+
+
+
    +
  • + +
    +
      +
    • + + +

      Method Summary

      + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and TypeMethodDescription
      ThreadPoolConfigcopy() +
      Return a copy of this thread pool config.
      +
      static ThreadPoolConfigdefaultConfig() +
      Create new client thread pool configuration instance.
      +
      booleanequals​(java.lang.Object o) 
      intgetCorePoolSize() +
      Get the core thread pool size - the size of the thread pool will never bee smaller than this.
      +
      java.lang.ClassLoadergetInitialClassLoader() +
      Get the class loader (if any) to be initially exposed by threads from this pool.
      +
      longgetKeepAliveTime​(java.util.concurrent.TimeUnit timeUnit) +
      Get the max period of time a thread will wait for a new task to process.
      +
      intgetMaxPoolSize() +
      Get max thread pool size.
      +
      java.lang.StringgetPoolName() +
      Return thread pool name.
      +
      intgetPriority() +
      Get priority of the threads in thread pool.
      +
      java.util.Queue<java.lang.Runnable>getQueue() +
      Return a queue that will be used to temporarily store tasks when all threads in the thread pool are busy.
      +
      intgetQueueLimit() +
      Get the limit of the queue, where tasks are temporarily stored when all threads are busy.
      +
      java.util.concurrent.ThreadFactorygetThreadFactory() +
      Return ThreadFactory that will be used to create thread pool threads.
      +
      inthashCode() 
      booleanisDaemon() +
      Return true if thread pool threads are daemons.
      +
      ThreadPoolConfigsetCorePoolSize​(int corePoolSize) +
      Set the core thread pool size - the size of the thread pool will never bee smaller than this.
      +
      ThreadPoolConfigsetDaemon​(boolean isDaemon) +
      Set true if thread pool threads are daemons.
      +
      ThreadPoolConfigsetInitialClassLoader​(java.lang.ClassLoader initialClassLoader) +
      Specifies the context class loader that will be used by threads in this pool.
      +
      ThreadPoolConfigsetKeepAliveTime​(long time, + java.util.concurrent.TimeUnit unit) +
      The max period of time a thread will wait for a new task to process.
      +
      ThreadPoolConfigsetMaxPoolSize​(int maxPoolSize) +
      Set max thread pool size.
      +
      ThreadPoolConfigsetPoolName​(java.lang.String poolName) +
      Set thread pool name.
      +
      ThreadPoolConfigsetPriority​(int priority) +
      Set priority of the threads in thread pool.
      +
      ThreadPoolConfigsetQueue​(java.util.Queue<java.lang.Runnable> queue) +
      Set a queue implementation that will be used to temporarily store tasks when all threads in the thread pool are + busy.
      +
      ThreadPoolConfigsetQueueLimit​(int queueLimit) +
      Set the limit of the queue, where tasks are temporarily stored when all threads are busy.
      +
      ThreadPoolConfigsetThreadFactory​(java.util.concurrent.ThreadFactory threadFactory) +
      Set ThreadFactory that will be used to create thread pool threads.
      +
      java.lang.StringtoString() 
      +
        +
      • + + +

        Methods inherited from class java.lang.Object

        +clone, finalize, getClass, notify, notifyAll, wait, wait, wait
      • +
      +
    • +
    +
    +
  • +
+
+
+
    +
  • + +
    +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        defaultConfig

        +
        public static ThreadPoolConfig defaultConfig()
        +
        Create new client thread pool configuration instance. The returned ThreadPoolConfig instance will be + pre-configured with a default values.
        +
        +
        Returns:
        +
        client thread pool configuration instance.
        +
        +
      • +
      + + + +
        +
      • +

        copy

        +
        public ThreadPoolConfig copy()
        +
        Return a copy of this thread pool config.
        +
        +
        Returns:
        +
        a copy of this thread pool config.
        +
        +
      • +
      + + + +
        +
      • +

        getQueue

        +
        public java.util.Queue<java.lang.Runnable> getQueue()
        +
        Return a queue that will be used to temporarily store tasks when all threads in the thread pool are busy.
        +
        +
        Returns:
        +
        queue that will be used to temporarily store tasks when all threads in the thread pool are busy.
        +
        +
      • +
      + + + +
        +
      • +

        setQueue

        +
        public ThreadPoolConfig setQueue​(java.util.Queue<java.lang.Runnable> queue)
        +
        Set a queue implementation that will be used to temporarily store tasks when all threads in the thread pool are + busy.
        +
        +
        Parameters:
        +
        queue - queue implementation that will be used to temporarily store tasks when all threads in the thread + pool are busy.
        +
        Returns:
        +
        the ThreadPoolConfig with the new Queue implementation.
        +
        +
      • +
      + + + +
        +
      • +

        getThreadFactory

        +
        public java.util.concurrent.ThreadFactory getThreadFactory()
        +
        Return ThreadFactory that will be used to create thread pool threads. +

        + If ThreadFactory is set, then priority, isDaemon, + poolName settings will not be considered when creating new threads.

        +
        +
        Returns:
        +
        ThreadFactory that will be used to create thread pool threads.
        +
        +
      • +
      + + + +
        +
      • +

        setThreadFactory

        +
        public ThreadPoolConfig setThreadFactory​(java.util.concurrent.ThreadFactory threadFactory)
        +
        Set ThreadFactory that will be used to create thread pool threads.
        +
        +
        Parameters:
        +
        threadFactory - custom ThreadFactory If + ThreadFactory is set, then priority, isDaemon, poolName settings will not be considered when creating new threads.
        +
        Returns:
        +
        the ThreadPoolConfig with the new ThreadFactory
        +
        +
      • +
      + + + +
        +
      • +

        getPoolName

        +
        public java.lang.String getPoolName()
        +
        Return thread pool name. The default is "Tyrus-client".
        +
        +
        Returns:
        +
        the thread pool name.
        +
        +
      • +
      + + + +
        +
      • +

        setPoolName

        +
        public ThreadPoolConfig setPoolName​(java.lang.String poolName)
        +
        Set thread pool name. The default is "Tyrus-client".
        +
        +
        Parameters:
        +
        poolName - the thread pool name.
        +
        Returns:
        +
        the ThreadPoolConfig with the new thread pool name.
        +
        +
      • +
      + + + +
        +
      • +

        getPriority

        +
        public int getPriority()
        +
        Get priority of the threads in thread pool. The default is Thread.NORM_PRIORITY.
        +
        +
        Returns:
        +
        priority of the threads in thread pool.
        +
        +
      • +
      + + + +
        +
      • +

        setPriority

        +
        public ThreadPoolConfig setPriority​(int priority)
        +
        Set priority of the threads in thread pool. The default is Thread.NORM_PRIORITY.
        +
        +
        Parameters:
        +
        priority - of the threads in thread pool.
        +
        Returns:
        +
        the ThreadPoolConfig with the new thread priority.
        +
        +
      • +
      + + + +
        +
      • +

        isDaemon

        +
        public boolean isDaemon()
        +
        Return true if thread pool threads are daemons. The default is true.
        +
        +
        Returns:
        +
        true if thread pool threads are daemons.
        +
        +
      • +
      + + + +
        +
      • +

        setDaemon

        +
        public ThreadPoolConfig setDaemon​(boolean isDaemon)
        +
        Set true if thread pool threads are daemons. The default is true.
        +
        +
        Parameters:
        +
        isDaemon - true if thread pool threads are daemons.
        +
        Returns:
        +
        the ThreadPoolConfig with the daemon property set.
        +
        +
      • +
      + + + +
        +
      • +

        getMaxPoolSize

        +
        public int getMaxPoolSize()
        +
        Get max thread pool size. The default is Math.max(Runtime.getRuntime().availableProcessors(), 20)
        +
        +
        Returns:
        +
        max thread pool size.
        +
        +
      • +
      + + + +
        +
      • +

        setMaxPoolSize

        +
        public ThreadPoolConfig setMaxPoolSize​(int maxPoolSize)
        +
        Set max thread pool size. The default is The default is + Math.max(Runtime.getRuntime().availableProcessors(), 20). +

        + Cannot be smaller than 3.

        +
        +
        Parameters:
        +
        maxPoolSize - the max thread pool size.
        +
        Returns:
        +
        the ThreadPoolConfig with the new max pool size set.
        +
        +
      • +
      + + + +
        +
      • +

        getCorePoolSize

        +
        public int getCorePoolSize()
        +
        Get the core thread pool size - the size of the thread pool will never bee smaller than this. +

        + The default is 1.

        +
        +
        Returns:
        +
        the core thread pool size - the size of the thread pool will never bee smaller than this.
        +
        +
      • +
      + + + +
        +
      • +

        setCorePoolSize

        +
        public ThreadPoolConfig setCorePoolSize​(int corePoolSize)
        +
        Set the core thread pool size - the size of the thread pool will never bee smaller than this. +

        + The default is 1.

        +
        +
        Parameters:
        +
        corePoolSize - the core thread pool size - the size of the thread pool will never bee smaller than this.
        +
        Returns:
        +
        the ThreadPoolConfig with the new core pool size set.
        +
        +
      • +
      + + + +
        +
      • +

        getQueueLimit

        +
        public int getQueueLimit()
        +
        Get the limit of the queue, where tasks are temporarily stored when all threads are busy. +

        + Value less than 0 means unlimited queue. The default is -1.

        +
        +
        Returns:
        +
        the thread-pool queue limit. The queue limit
        +
        +
      • +
      + + + +
        +
      • +

        setQueueLimit

        +
        public ThreadPoolConfig setQueueLimit​(int queueLimit)
        +
        Set the limit of the queue, where tasks are temporarily stored when all threads are busy. +

        + Value less than 0 means unlimited queue. The default is -1.

        +
        +
        Parameters:
        +
        queueLimit - the thread pool queue limit. The queueLimit value less than 0 means unlimited queue.
        +
        Returns:
        +
        the ThreadPoolConfig with the new queue limit.
        +
        +
      • +
      + + + +
        +
      • +

        setKeepAliveTime

        +
        public ThreadPoolConfig setKeepAliveTime​(long time,
        +                                         java.util.concurrent.TimeUnit unit)
        +
        The max period of time a thread will wait for a new task to process. +

        + If the timeout expires and the thread is not a core one (see setCorePoolSize(int), + setMaxPoolSize(int)) - then the thread will be terminated and removed from the thread pool. +

        + The default is 10s.

        +
        +
        Parameters:
        +
        time - max keep alive timeout. The value less than 0 means no timeout.
        +
        unit - time unit.
        +
        Returns:
        +
        the ThreadPoolConfig with the new keep alive time.
        +
        +
      • +
      + + + +
        +
      • +

        getKeepAliveTime

        +
        public long getKeepAliveTime​(java.util.concurrent.TimeUnit timeUnit)
        +
        Get the max period of time a thread will wait for a new task to process. +

        + If the timeout expires and the thread is not a core one (see setCorePoolSize(int), setMaxPoolSize(int)) - then the thread will be terminated and removed from the thread pool. +

        + The default is 10s.

        +
        +
        Parameters:
        +
        timeUnit - time unit to which the result will be converted.
        +
        Returns:
        +
        the keep-alive timeout, the value less than 0 means no timeout.
        +
        +
      • +
      + + + +
        +
      • +

        getInitialClassLoader

        +
        public java.lang.ClassLoader getInitialClassLoader()
        +
        Get the class loader (if any) to be initially exposed by threads from this pool. +

        + If not specified, the class loader of the parent thread that initialized the pool will be used.Authen

        +
        +
        Returns:
        +
        the class loader (if any) to be initially exposed by threads from this pool.
        +
        +
      • +
      + + + +
        +
      • +

        setInitialClassLoader

        +
        public ThreadPoolConfig setInitialClassLoader​(java.lang.ClassLoader initialClassLoader)
        +
        Specifies the context class loader that will be used by threads in this pool. +

        + If not specified, the class loader of the parent thread that initialized the pool will be used.

        +
        +
        Parameters:
        +
        initialClassLoader - the class loader to be exposed by threads of this pool.
        +
        Returns:
        +
        the ThreadPoolConfig with the class loader set.
        +
        See Also:
        +
        Thread.getContextClassLoader()
        +
        +
      • +
      + + + +
        +
      • +

        toString

        +
        public java.lang.String toString()
        +
        +
        Overrides:
        +
        toString in class java.lang.Object
        +
        +
      • +
      + + + +
        +
      • +

        equals

        +
        public boolean equals​(java.lang.Object o)
        +
        +
        Overrides:
        +
        equals in class java.lang.Object
        +
        +
      • +
      + + + +
        +
      • +

        hashCode

        +
        public int hashCode()
        +
        +
        Overrides:
        +
        hashCode in class java.lang.Object
        +
        +
      • +
      +
    • +
    +
    +
  • +
+
+
+
+ + + + diff --git a/apidocs/1.19/org/glassfish/tyrus/client/TyrusClientEngine.ClientHandshakeListener.html b/apidocs/1.19/org/glassfish/tyrus/client/TyrusClientEngine.ClientHandshakeListener.html new file mode 100644 index 00000000..6514e585 --- /dev/null +++ b/apidocs/1.19/org/glassfish/tyrus/client/TyrusClientEngine.ClientHandshakeListener.html @@ -0,0 +1,289 @@ + + + + + +TyrusClientEngine.ClientHandshakeListener (Tyrus 1.19 API) + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +

Interface TyrusClientEngine.ClientHandshakeListener

+
+
+
+
    +
  • +
    +
    Enclosing class:
    +
    TyrusClientEngine
    +
    +
    +
    public static interface TyrusClientEngine.ClientHandshakeListener
    +
    Called when response is received from the server.
    +
  • +
+
+
+ +
+
+ +
+
+
+ + + + diff --git a/apidocs/1.19/org/glassfish/tyrus/client/TyrusClientEngine.html b/apidocs/1.19/org/glassfish/tyrus/client/TyrusClientEngine.html new file mode 100644 index 00000000..b97cb027 --- /dev/null +++ b/apidocs/1.19/org/glassfish/tyrus/client/TyrusClientEngine.html @@ -0,0 +1,458 @@ + + + + + +TyrusClientEngine (Tyrus 1.19 API) + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +

Class TyrusClientEngine

+
+
+
    +
  • java.lang.Object
  • +
  • +
      +
    • org.glassfish.tyrus.client.TyrusClientEngine
    • +
    +
  • +
+
+
    +
  • +
    +
    All Implemented Interfaces:
    +
    ClientEngine
    +
    +
    +
    public class TyrusClientEngine
    +extends java.lang.Object
    +implements ClientEngine
    +
    Tyrus ClientEngine implementation.
    +
    +
    Author:
    +
    Pavel Bucek (pavel.bucek at oracle.com)
    +
    +
  • +
+
+
+ +
+
+ +
+
+
+ + + + diff --git a/apidocs/1.19/org/glassfish/tyrus/client/auth/AuthConfig.Builder.html b/apidocs/1.19/org/glassfish/tyrus/client/auth/AuthConfig.Builder.html new file mode 100644 index 00000000..b9fb87d0 --- /dev/null +++ b/apidocs/1.19/org/glassfish/tyrus/client/auth/AuthConfig.Builder.html @@ -0,0 +1,395 @@ + + + + + +AuthConfig.Builder (Tyrus 1.19 API) + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +

Class AuthConfig.Builder

+
+
+
    +
  • java.lang.Object
  • +
  • +
      +
    • org.glassfish.tyrus.client.auth.AuthConfig.Builder
    • +
    +
  • +
+
+
    +
  • +
    +
    Enclosing class:
    +
    AuthConfig
    +
    +
    +
    public static final class AuthConfig.Builder
    +extends java.lang.Object
    +
    The AuthConfig.Builder is a class used for creating an instance of AuthConfig for purpose of HTTP + Authentication. +

    + Example 1 - building an authentication configuration enhanced with user defined NTLM authentication and + overridden Basic Authentication: +

    
    + AuthConfig authConfig = AuthConfig.Builder.create().
    +                          registerAuthProvider("NTLM", myAuthenticator).
    +                          registerAuthProvider("Basic", myBasicAuthenticator).
    +                          build();
    + 
    + Example 2 - Building an authentication configuration with disabled Basic scheme authenticator: +
    
    + AuthConfig authConfig = AuthConfig.Builder.create().
    +                          disableProvidedBasicAuth().
    +                          build();
    + 
    +
    +
    See Also:
    +
    Credentials, +Authenticator
    +
    +
  • +
+
+
+ +
+
+ +
+
+
+ + + + diff --git a/apidocs/1.19/org/glassfish/tyrus/client/auth/AuthConfig.html b/apidocs/1.19/org/glassfish/tyrus/client/auth/AuthConfig.html new file mode 100644 index 00000000..cda6fa15 --- /dev/null +++ b/apidocs/1.19/org/glassfish/tyrus/client/auth/AuthConfig.html @@ -0,0 +1,351 @@ + + + + + +AuthConfig (Tyrus 1.19 API) + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +

Class AuthConfig

+
+
+
    +
  • java.lang.Object
  • +
  • +
      +
    • org.glassfish.tyrus.client.auth.AuthConfig
    • +
    +
  • +
+
+
    +
  • +
    +
    @Beta
    +public class AuthConfig
    +extends java.lang.Object
    +
    AuthConfig serves as a configuration of HTTP authentication. +

    + An instance of this class can be created by AuthConfig and it must be registered to property bag in ClientManager.

    +
    +
    Author:
    +
    Ondrej Kosatka (ondrej.kosatka at oracle.com)
    +
    See Also:
    +
    Authenticator, +ClientManager.getProperties()
    +
    +
  • +
+
+
+
    +
  • + +
    +
      +
    • + + +

      Nested Class Summary

      + + + + + + + + + + + + +
      Nested Classes 
      Modifier and TypeClassDescription
      static class AuthConfig.Builder +
      The AuthConfig.Builder is a class used for creating an instance of AuthConfig for purpose of HTTP + Authentication.
      +
      +
    • +
    +
    + +
    + +
    +
  • +
+
+
+
    +
  • + +
    +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        getAuthenticators

        +
        public java.util.Map<java.lang.String,​Authenticator> getAuthenticators()
        +
        Get an unmodifiable map of authenticators, where case insensitive authentication scheme to Authenticator.
        +
        +
        Returns:
        +
        unmodifiable map of authenticators. Case insensitive authentication scheme is mapped to Authenticator.
        +
        +
      • +
      + + + +
        +
      • +

        builder

        +
        public static AuthConfig.Builder builder()
        +
        Create new AuthConfig.Builder instance, which contains provided Basic and Digest authenticators.
        +
        +
        Returns:
        +
        builder instance.
        +
        +
      • +
      + + + +
        +
      • +

        toString

        +
        public java.lang.String toString()
        +
        +
        Overrides:
        +
        toString in class java.lang.Object
        +
        +
      • +
      +
    • +
    +
    +
  • +
+
+
+
+ + + + diff --git a/apidocs/1.19/org/glassfish/tyrus/client/auth/AuthenticationException.html b/apidocs/1.19/org/glassfish/tyrus/client/auth/AuthenticationException.html new file mode 100644 index 00000000..09928e76 --- /dev/null +++ b/apidocs/1.19/org/glassfish/tyrus/client/auth/AuthenticationException.html @@ -0,0 +1,342 @@ + + + + + +AuthenticationException (Tyrus 1.19 API) + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +

Class AuthenticationException

+
+
+ +
+ +
+
+
    +
  • + +
    +
      +
    • + + +

      Constructor Summary

      + + + + + + + + + + +
      Constructors 
      ConstructorDescription
      AuthenticationException​(java.lang.String message) +
      Constructor.
      +
      +
    • +
    +
    + +
    +
      +
    • + + +

      Method Summary

      + +
        +
      • + + +

        Methods inherited from class java.lang.Throwable

        +addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
      • +
      +
        +
      • + + +

        Methods inherited from class java.lang.Object

        +clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
      • +
      +
    • +
    +
    +
  • +
+
+
+
    +
  • + +
    +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        AuthenticationException

        +
        public AuthenticationException​(java.lang.String message)
        +
        Constructor.
        +
        +
        Parameters:
        +
        message - the detail message. The detail message is saved for later retrieval by the Throwable.getMessage() + method.
        +
        +
      • +
      +
    • +
    +
    +
  • +
+
+
+
+ + + + diff --git a/apidocs/1.19/org/glassfish/tyrus/client/auth/Authenticator.html b/apidocs/1.19/org/glassfish/tyrus/client/auth/Authenticator.html new file mode 100644 index 00000000..48519197 --- /dev/null +++ b/apidocs/1.19/org/glassfish/tyrus/client/auth/Authenticator.html @@ -0,0 +1,345 @@ + + + + + +Authenticator (Tyrus 1.19 API) + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +

Class Authenticator

+
+
+
    +
  • java.lang.Object
  • +
  • +
      +
    • org.glassfish.tyrus.client.auth.Authenticator
    • +
    +
  • +
+
+ +
+
+
    +
  • + +
    +
      +
    • + + +

      Constructor Summary

      + + + + + + + + + + +
      Constructors 
      ConstructorDescription
      Authenticator() 
      +
    • +
    +
    + +
    +
      +
    • + + +

      Method Summary

      + + + + + + + + + + + + +
      All Methods Instance Methods Abstract Methods 
      Modifier and TypeMethodDescription
      abstract java.lang.StringgenerateAuthorizationHeader​(java.net.URI uri, + java.lang.String wwwAuthenticateHeader, + Credentials credentials) +
      Generate value used as ""Authorization"" header value for next request.
      +
      +
        +
      • + + +

        Methods inherited from class java.lang.Object

        +clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • +
      +
    • +
    +
    +
  • +
+
+
+ +
+
+
+ + + + diff --git a/apidocs/1.19/org/glassfish/tyrus/client/auth/Credentials.html b/apidocs/1.19/org/glassfish/tyrus/client/auth/Credentials.html new file mode 100644 index 00000000..1db33726 --- /dev/null +++ b/apidocs/1.19/org/glassfish/tyrus/client/auth/Credentials.html @@ -0,0 +1,395 @@ + + + + + +Credentials (Tyrus 1.19 API) + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +

Class Credentials

+
+
+
    +
  • java.lang.Object
  • +
  • +
      +
    • org.glassfish.tyrus.client.auth.Credentials
    • +
    +
  • +
+
+
    +
  • +
    +
    @Beta
    +public final class Credentials
    +extends java.lang.Object
    +
    Credentials can be used when configuring authentication properties used during client handshake.
    +
    +
    Author:
    +
    Ondrej Kosatka (ondrej.kosatka at oracle.com)
    +
    See Also:
    +
    ClientProperties.CREDENTIALS
    +
    +
  • +
+
+
+
    +
  • + +
    +
      +
    • + + +

      Constructor Summary

      + + + + + + + + + + + + + + +
      Constructors 
      ConstructorDescription
      Credentials​(java.lang.String username, + byte[] password) +
      Create new credentials.
      +
      Credentials​(java.lang.String username, + java.lang.String password) +
      Create new credentials.
      +
      +
    • +
    +
    + +
    +
      +
    • + + +

      Method Summary

      + + + + + + + + + + + + + + + + + + + + + + +
      All Methods Instance Methods Concrete Methods 
      Modifier and TypeMethodDescription
      byte[]getPassword() +
      Get the password as byte array.
      +
      java.lang.StringgetUsername() +
      Get the username.
      +
      java.lang.StringtoString() 
      +
        +
      • + + +

        Methods inherited from class java.lang.Object

        +clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
      • +
      +
    • +
    +
    +
  • +
+
+
+
    +
  • + +
    +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        Credentials

        +
        public Credentials​(java.lang.String username,
        +                   byte[] password)
        +
        Create new credentials.
        +
        +
        Parameters:
        +
        username - Username. Cannot be null.
        +
        password - Password as byte array. Cannot be null.
        +
        +
      • +
      + + + +
        +
      • +

        Credentials

        +
        public Credentials​(java.lang.String username,
        +                   java.lang.String password)
        +
        Create new credentials.
        +
        +
        Parameters:
        +
        username - Username. Cannot be null.
        +
        password - Password. Cannot be null.
        +
        +
      • +
      +
    • +
    +
    + +
    +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        getUsername

        +
        public java.lang.String getUsername()
        +
        Get the username.
        +
        +
        Returns:
        +
        username.
        +
        +
      • +
      + + + +
        +
      • +

        getPassword

        +
        public byte[] getPassword()
        +
        Get the password as byte array.
        +
        +
        Returns:
        +
        Password string in byte array representation.
        +
        +
      • +
      + + + +
        +
      • +

        toString

        +
        public java.lang.String toString()
        +
        +
        Overrides:
        +
        toString in class java.lang.Object
        +
        +
      • +
      +
    • +
    +
    +
  • +
+
+
+
+ + + + diff --git a/apidocs/1.19/org/glassfish/tyrus/client/auth/class-use/AuthConfig.Builder.html b/apidocs/1.19/org/glassfish/tyrus/client/auth/class-use/AuthConfig.Builder.html new file mode 100644 index 00000000..bd21ef8c --- /dev/null +++ b/apidocs/1.19/org/glassfish/tyrus/client/auth/class-use/AuthConfig.Builder.html @@ -0,0 +1,225 @@ + + + + + +Uses of Class org.glassfish.tyrus.client.auth.AuthConfig.Builder (Tyrus 1.19 API) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Class
org.glassfish.tyrus.client.auth.AuthConfig.Builder

+
+
+ +
+
+ + + diff --git a/apidocs/1.19/org/glassfish/tyrus/client/auth/class-use/AuthConfig.html b/apidocs/1.19/org/glassfish/tyrus/client/auth/class-use/AuthConfig.html new file mode 100644 index 00000000..0da5d5b8 --- /dev/null +++ b/apidocs/1.19/org/glassfish/tyrus/client/auth/class-use/AuthConfig.html @@ -0,0 +1,196 @@ + + + + + +Uses of Class org.glassfish.tyrus.client.auth.AuthConfig (Tyrus 1.19 API) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Class
org.glassfish.tyrus.client.auth.AuthConfig

+
+
+ +
+
+ + + diff --git a/apidocs/1.19/org/glassfish/tyrus/client/auth/class-use/AuthenticationException.html b/apidocs/1.19/org/glassfish/tyrus/client/auth/class-use/AuthenticationException.html new file mode 100644 index 00000000..7adb4b6c --- /dev/null +++ b/apidocs/1.19/org/glassfish/tyrus/client/auth/class-use/AuthenticationException.html @@ -0,0 +1,198 @@ + + + + + +Uses of Class org.glassfish.tyrus.client.auth.AuthenticationException (Tyrus 1.19 API) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Class
org.glassfish.tyrus.client.auth.AuthenticationException

+
+
+ +
+
+ + + diff --git a/apidocs/1.19/org/glassfish/tyrus/client/auth/class-use/Authenticator.html b/apidocs/1.19/org/glassfish/tyrus/client/auth/class-use/Authenticator.html new file mode 100644 index 00000000..9867e42d --- /dev/null +++ b/apidocs/1.19/org/glassfish/tyrus/client/auth/class-use/Authenticator.html @@ -0,0 +1,214 @@ + + + + + +Uses of Class org.glassfish.tyrus.client.auth.Authenticator (Tyrus 1.19 API) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Class
org.glassfish.tyrus.client.auth.Authenticator

+
+
+ +
+
+ + + diff --git a/apidocs/1.19/org/glassfish/tyrus/client/auth/class-use/Credentials.html b/apidocs/1.19/org/glassfish/tyrus/client/auth/class-use/Credentials.html new file mode 100644 index 00000000..b08e83fe --- /dev/null +++ b/apidocs/1.19/org/glassfish/tyrus/client/auth/class-use/Credentials.html @@ -0,0 +1,198 @@ + + + + + +Uses of Class org.glassfish.tyrus.client.auth.Credentials (Tyrus 1.19 API) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Class
org.glassfish.tyrus.client.auth.Credentials

+
+
+ +
+
+ + + diff --git a/apidocs/1.19/org/glassfish/tyrus/client/auth/package-summary.html b/apidocs/1.19/org/glassfish/tyrus/client/auth/package-summary.html new file mode 100644 index 00000000..52e086ec --- /dev/null +++ b/apidocs/1.19/org/glassfish/tyrus/client/auth/package-summary.html @@ -0,0 +1,211 @@ + + + + + +org.glassfish.tyrus.client.auth (Tyrus 1.19 API) + + + + + + + + + + + + + + + +
+ +
+
+
+

Package org.glassfish.tyrus.client.auth

+
+
+
    +
  • + + + + + + + + + + + + + + + + + + + + + + + + +
    Class Summary 
    ClassDescription
    AuthConfig +
    AuthConfig serves as a configuration of HTTP authentication.
    +
    AuthConfig.Builder +
    The AuthConfig.Builder is a class used for creating an instance of AuthConfig for purpose of HTTP + Authentication.
    +
    Authenticator +
    Authenticator provides a way how to plug-in custom authentication provider.
    +
    Credentials +
    Credentials can be used when configuring authentication properties used during client handshake.
    +
    +
  • +
  • + + + + + + + + + + + + +
    Exception Summary 
    ExceptionDescription
    AuthenticationException +
    This exception is set as a cause of DeploymentException thrown when WebSocketContainer.connectToServer(...) + fails because of any of the following: + + + HTTP response status code 401 is received and ""WWW-Authenticate"" header + contains scheme which is not handled by any Authenticator registered in AuthConfig.
    +
    +
  • +
+
+
+ + + diff --git a/apidocs/1.19/org/glassfish/tyrus/client/auth/package-tree.html b/apidocs/1.19/org/glassfish/tyrus/client/auth/package-tree.html new file mode 100644 index 00000000..c9ecc7f1 --- /dev/null +++ b/apidocs/1.19/org/glassfish/tyrus/client/auth/package-tree.html @@ -0,0 +1,181 @@ + + + + + +org.glassfish.tyrus.client.auth Class Hierarchy (Tyrus 1.19 API) + + + + + + + + + + + + + + + +
+ +
+
+
+

Hierarchy For Package org.glassfish.tyrus.client.auth

+Package Hierarchies: + +
+
+
+

Class Hierarchy

+ +
+
+
+ + + diff --git a/apidocs/1.19/org/glassfish/tyrus/client/auth/package-use.html b/apidocs/1.19/org/glassfish/tyrus/client/auth/package-use.html new file mode 100644 index 00000000..b77a72cd --- /dev/null +++ b/apidocs/1.19/org/glassfish/tyrus/client/auth/package-use.html @@ -0,0 +1,217 @@ + + + + + +Uses of Package org.glassfish.tyrus.client.auth (Tyrus 1.19 API) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Package
org.glassfish.tyrus.client.auth

+
+
+ +
+
+ + + diff --git a/apidocs/1.19/org/glassfish/tyrus/client/class-use/ClientManager.ReconnectHandler.html b/apidocs/1.19/org/glassfish/tyrus/client/class-use/ClientManager.ReconnectHandler.html new file mode 100644 index 00000000..5cbf9602 --- /dev/null +++ b/apidocs/1.19/org/glassfish/tyrus/client/class-use/ClientManager.ReconnectHandler.html @@ -0,0 +1,150 @@ + + + + + +Uses of Class org.glassfish.tyrus.client.ClientManager.ReconnectHandler (Tyrus 1.19 API) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Class
org.glassfish.tyrus.client.ClientManager.ReconnectHandler

+
+
No usage of org.glassfish.tyrus.client.ClientManager.ReconnectHandler
+
+ + + diff --git a/apidocs/1.19/org/glassfish/tyrus/client/class-use/ClientManager.html b/apidocs/1.19/org/glassfish/tyrus/client/class-use/ClientManager.html new file mode 100644 index 00000000..7f1f6996 --- /dev/null +++ b/apidocs/1.19/org/glassfish/tyrus/client/class-use/ClientManager.html @@ -0,0 +1,250 @@ + + + + + +Uses of Class org.glassfish.tyrus.client.ClientManager (Tyrus 1.19 API) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Class
org.glassfish.tyrus.client.ClientManager

+
+
+ +
+
+ + + diff --git a/apidocs/1.19/org/glassfish/tyrus/client/class-use/ClientProperties.html b/apidocs/1.19/org/glassfish/tyrus/client/class-use/ClientProperties.html new file mode 100644 index 00000000..a117c84d --- /dev/null +++ b/apidocs/1.19/org/glassfish/tyrus/client/class-use/ClientProperties.html @@ -0,0 +1,150 @@ + + + + + +Uses of Class org.glassfish.tyrus.client.ClientProperties (Tyrus 1.19 API) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Class
org.glassfish.tyrus.client.ClientProperties

+
+
No usage of org.glassfish.tyrus.client.ClientProperties
+
+ + + diff --git a/apidocs/1.19/org/glassfish/tyrus/client/class-use/RedirectException.html b/apidocs/1.19/org/glassfish/tyrus/client/class-use/RedirectException.html new file mode 100644 index 00000000..bccac088 --- /dev/null +++ b/apidocs/1.19/org/glassfish/tyrus/client/class-use/RedirectException.html @@ -0,0 +1,150 @@ + + + + + +Uses of Class org.glassfish.tyrus.client.RedirectException (Tyrus 1.19 API) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Class
org.glassfish.tyrus.client.RedirectException

+
+
No usage of org.glassfish.tyrus.client.RedirectException
+
+ + + diff --git a/apidocs/1.19/org/glassfish/tyrus/client/class-use/RetryAfterException.html b/apidocs/1.19/org/glassfish/tyrus/client/class-use/RetryAfterException.html new file mode 100644 index 00000000..701726b8 --- /dev/null +++ b/apidocs/1.19/org/glassfish/tyrus/client/class-use/RetryAfterException.html @@ -0,0 +1,150 @@ + + + + + +Uses of Class org.glassfish.tyrus.client.RetryAfterException (Tyrus 1.19 API) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Class
org.glassfish.tyrus.client.RetryAfterException

+
+
No usage of org.glassfish.tyrus.client.RetryAfterException
+
+ + + diff --git a/apidocs/1.19/org/glassfish/tyrus/client/class-use/SslContextConfigurator.html b/apidocs/1.19/org/glassfish/tyrus/client/class-use/SslContextConfigurator.html new file mode 100644 index 00000000..891857a0 --- /dev/null +++ b/apidocs/1.19/org/glassfish/tyrus/client/class-use/SslContextConfigurator.html @@ -0,0 +1,358 @@ + + + + + +Uses of Class org.glassfish.tyrus.client.SslContextConfigurator (Tyrus 1.19 API) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Class
org.glassfish.tyrus.client.SslContextConfigurator

+
+
+ +
+
+ + + diff --git a/apidocs/1.19/org/glassfish/tyrus/client/class-use/SslEngineConfigurator.html b/apidocs/1.19/org/glassfish/tyrus/client/class-use/SslEngineConfigurator.html new file mode 100644 index 00000000..9eb547d8 --- /dev/null +++ b/apidocs/1.19/org/glassfish/tyrus/client/class-use/SslEngineConfigurator.html @@ -0,0 +1,270 @@ + + + + + +Uses of Class org.glassfish.tyrus.client.SslEngineConfigurator (Tyrus 1.19 API) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Class
org.glassfish.tyrus.client.SslEngineConfigurator

+
+
+ +
+
+ + + diff --git a/apidocs/1.19/org/glassfish/tyrus/client/class-use/ThreadPoolConfig.html b/apidocs/1.19/org/glassfish/tyrus/client/class-use/ThreadPoolConfig.html new file mode 100644 index 00000000..8e58f8d9 --- /dev/null +++ b/apidocs/1.19/org/glassfish/tyrus/client/class-use/ThreadPoolConfig.html @@ -0,0 +1,277 @@ + + + + + +Uses of Class org.glassfish.tyrus.client.ThreadPoolConfig (Tyrus 1.19 API) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Class
org.glassfish.tyrus.client.ThreadPoolConfig

+
+
+ +
+
+ + + diff --git a/apidocs/1.19/org/glassfish/tyrus/client/class-use/TyrusClientEngine.ClientHandshakeListener.html b/apidocs/1.19/org/glassfish/tyrus/client/class-use/TyrusClientEngine.ClientHandshakeListener.html new file mode 100644 index 00000000..c7ee0e83 --- /dev/null +++ b/apidocs/1.19/org/glassfish/tyrus/client/class-use/TyrusClientEngine.ClientHandshakeListener.html @@ -0,0 +1,150 @@ + + + + + +Uses of Interface org.glassfish.tyrus.client.TyrusClientEngine.ClientHandshakeListener (Tyrus 1.19 API) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Interface
org.glassfish.tyrus.client.TyrusClientEngine.ClientHandshakeListener

+
+
No usage of org.glassfish.tyrus.client.TyrusClientEngine.ClientHandshakeListener
+
+ + + diff --git a/apidocs/1.19/org/glassfish/tyrus/client/class-use/TyrusClientEngine.html b/apidocs/1.19/org/glassfish/tyrus/client/class-use/TyrusClientEngine.html new file mode 100644 index 00000000..ae263c86 --- /dev/null +++ b/apidocs/1.19/org/glassfish/tyrus/client/class-use/TyrusClientEngine.html @@ -0,0 +1,150 @@ + + + + + +Uses of Class org.glassfish.tyrus.client.TyrusClientEngine (Tyrus 1.19 API) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Class
org.glassfish.tyrus.client.TyrusClientEngine

+
+
No usage of org.glassfish.tyrus.client.TyrusClientEngine
+
+ + + diff --git a/apidocs/1.19/org/glassfish/tyrus/client/package-summary.html b/apidocs/1.19/org/glassfish/tyrus/client/package-summary.html new file mode 100644 index 00000000..4d61f808 --- /dev/null +++ b/apidocs/1.19/org/glassfish/tyrus/client/package-summary.html @@ -0,0 +1,266 @@ + + + + + +org.glassfish.tyrus.client (Tyrus 1.19 API) + + + + + + + + + + + + + + + +
+ +
+
+
+

Package org.glassfish.tyrus.client

+
+
+
+ + +
Common Client.
+
+ +
+
+ + + diff --git a/apidocs/1.19/org/glassfish/tyrus/client/package-tree.html b/apidocs/1.19/org/glassfish/tyrus/client/package-tree.html new file mode 100644 index 00000000..0f1e8ecc --- /dev/null +++ b/apidocs/1.19/org/glassfish/tyrus/client/package-tree.html @@ -0,0 +1,199 @@ + + + + + +org.glassfish.tyrus.client Class Hierarchy (Tyrus 1.19 API) + + + + + + + + + + + + + + + +
+ +
+
+
+

Hierarchy For Package org.glassfish.tyrus.client

+Package Hierarchies: + +
+
+
+

Class Hierarchy

+ +
+
+

Interface Hierarchy

+ +
+
+
+ + + diff --git a/apidocs/1.19/org/glassfish/tyrus/client/package-use.html b/apidocs/1.19/org/glassfish/tyrus/client/package-use.html new file mode 100644 index 00000000..85a32862 --- /dev/null +++ b/apidocs/1.19/org/glassfish/tyrus/client/package-use.html @@ -0,0 +1,232 @@ + + + + + +Uses of Package org.glassfish.tyrus.client (Tyrus 1.19 API) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Package
org.glassfish.tyrus.client

+
+
+ +
+
+ + + diff --git a/apidocs/1.19/org/glassfish/tyrus/container/grizzly/client/GrizzlyClientContainer.html b/apidocs/1.19/org/glassfish/tyrus/container/grizzly/client/GrizzlyClientContainer.html new file mode 100644 index 00000000..6bad1653 --- /dev/null +++ b/apidocs/1.19/org/glassfish/tyrus/container/grizzly/client/GrizzlyClientContainer.html @@ -0,0 +1,462 @@ + + + + + +GrizzlyClientContainer (Tyrus 1.19 API) + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +

Class GrizzlyClientContainer

+
+
+
    +
  • java.lang.Object
  • +
  • +
      +
    • org.glassfish.tyrus.container.grizzly.client.GrizzlyClientContainer
    • +
    +
  • +
+
+
    +
  • +
    +
    All Implemented Interfaces:
    +
    ClientContainer
    +
    +
    +
    public class GrizzlyClientContainer
    +extends java.lang.Object
    +implements ClientContainer
    +
    +
    Author:
    +
    Danny Coward (danny.coward at oracle.com), Pavel Bucek (pavel.bucek at oracle.com)
    +
    +
  • +
+
+
+ +
+
+ +
+
+
+ + + + diff --git a/apidocs/1.19/org/glassfish/tyrus/container/grizzly/client/GrizzlyClientProperties.html b/apidocs/1.19/org/glassfish/tyrus/container/grizzly/client/GrizzlyClientProperties.html new file mode 100644 index 00000000..93e6f832 --- /dev/null +++ b/apidocs/1.19/org/glassfish/tyrus/container/grizzly/client/GrizzlyClientProperties.html @@ -0,0 +1,354 @@ + + + + + +GrizzlyClientProperties (Tyrus 1.19 API) + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +

Class GrizzlyClientProperties

+
+
+
    +
  • java.lang.Object
  • +
  • +
      +
    • org.glassfish.tyrus.container.grizzly.client.GrizzlyClientProperties
    • +
    +
  • +
+
+
    +
  • +
    +
    public final class GrizzlyClientProperties
    +extends java.lang.Object
    +
    Grizzly client properties.
    +
    +
    Author:
    +
    Pavel Bucek (pavel.bucek at oracle.com)
    +
    +
  • +
+
+
+
    +
  • + +
    +
      +
    • + + +

      Field Summary

      + + + + + + + + + + + + + + + + + +
      Fields 
      Modifier and TypeFieldDescription
      static java.lang.StringSELECTOR_THREAD_POOL_CONFIG +
      Client-side property to set custom selector ThreadPoolConfig.
      +
      static java.lang.StringWORKER_THREAD_POOL_CONFIG +
      Client-side property to set custom worker ThreadPoolConfig.
      +
      +
    • +
    +
    + +
    + +
    + +
    +
      +
    • + + +

      Method Summary

      +
        +
      • + + +

        Methods inherited from class java.lang.Object

        +clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • +
      +
    • +
    +
    +
  • +
+
+
+
    +
  • + +
    +
      +
    • + + +

      Field Detail

      + + + + + + + +
        +
      • +

        SELECTOR_THREAD_POOL_CONFIG

        +
        public static final java.lang.String SELECTOR_THREAD_POOL_CONFIG
        +
        Client-side property to set custom selector ThreadPoolConfig. +

        + Value is expected to be instance of ThreadPoolConfig, can be + null (it won't be used).

        +
        +
        See Also:
        +
        Constant Field Values
        +
        +
      • +
      +
    • +
    +
    + +
    +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        GrizzlyClientProperties

        +
        public GrizzlyClientProperties()
        +
      • +
      +
    • +
    +
    +
  • +
+
+
+
+ + + + diff --git a/apidocs/1.19/org/glassfish/tyrus/container/grizzly/client/GrizzlyClientSocket.html b/apidocs/1.19/org/glassfish/tyrus/container/grizzly/client/GrizzlyClientSocket.html new file mode 100644 index 00000000..eb6f2ba0 --- /dev/null +++ b/apidocs/1.19/org/glassfish/tyrus/container/grizzly/client/GrizzlyClientSocket.html @@ -0,0 +1,444 @@ + + + + + +GrizzlyClientSocket (Tyrus 1.19 API) + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +

Class GrizzlyClientSocket

+
+
+
    +
  • java.lang.Object
  • +
  • +
      +
    • org.glassfish.tyrus.container.grizzly.client.GrizzlyClientSocket
    • +
    +
  • +
+
+
    +
  • +
    +
    public class GrizzlyClientSocket
    +extends java.lang.Object
    +
    Implementation of the WebSocket interface.
    +
    +
    Author:
    +
    Stepan Kopriva (stepan.kopriva at oracle.com), Pavel Bucek (pavel.bucek at oracle.com)
    +
    +
  • +
+
+
+ +
+
+
    +
  • + +
    +
      +
    • + + +

      Field Detail

      + + + +
        +
      • +

        PROXY_URI

        +
        public static final java.lang.String PROXY_URI
        +
        Deprecated. + +
        +
        Client-side user property to set proxy URI. +

        + Value is expected to be String and represent proxy URI. Protocol part is currently ignored + but must be present (URI(String) is used for parsing). +

        +     client.getProperties().put(GrizzlyClientSocket.PROXY_URI, "http://my.proxy.com:80");
        +     client.connectToServer(...);
        + 
        +
        +
        See Also:
        +
        EndpointConfig.getUserProperties(), +Constant Field Values
        +
        +
      • +
      + + + +
        +
      • +

        PROXY_HEADERS

        +
        public static final java.lang.String PROXY_HEADERS
        +
        Deprecated. + +
        +
        Client-side user property to set additional proxy headers. +

        + Value is expected to be Map<String, String> and represent raw http headers + to be added to initial request which is sent to proxy. Key corresponds to header name, value is header + value. +

        + Sample below demonstrates use of this feature to set preemptive basic proxy authentication: +

        +     final HashMap<String, String> proxyHeaders = new HashMap<String, String>();
        +     proxyHeaders.put("Proxy-Authorization", "Basic " +
        +         Base64.getEncoder().encodeToString("username:password".getBytes(Charset.forName("UTF-8"))));
        +
        +     client.getProperties().put(GrizzlyClientSocket.PROXY_HEADERS, proxyHeaders);
        +     client.connectToServer(...);
        + 
        + Please note that these headers will be used only when establishing proxy connection, for modifying WebSocket + handshake headers, see ClientEndpointConfig.Configurator.beforeRequest(java.util.Map).
        +
        +
        See Also:
        +
        EndpointConfig.getUserProperties(), +Constant Field Values
        +
        +
      • +
      + + + +
        +
      • +

        WORKER_THREAD_POOL_CONFIG

        +
        public static final java.lang.String WORKER_THREAD_POOL_CONFIG
        + +
        Client-side property to set custom worker ThreadPoolConfig. +

        + Value is expected to be instance of ThreadPoolConfig, can be null (it won't be used).

        +
        +
        See Also:
        +
        Constant Field Values
        +
        +
      • +
      + + + +
        +
      • +

        SELECTOR_THREAD_POOL_CONFIG

        +
        public static final java.lang.String SELECTOR_THREAD_POOL_CONFIG
        + +
        Client-side property to set custom selector ThreadPoolConfig. +

        + Value is expected to be instance of ThreadPoolConfig, can be null (it won't be used).

        +
        +
        See Also:
        +
        Constant Field Values
        +
        +
      • +
      +
    • +
    +
    + +
    +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        connect

        +
        public void connect()
        +             throws DeploymentException,
        +                    java.io.IOException
        +
        Performs connect to server endpoint.
        +
        +
        Throws:
        +
        DeploymentException - when there the server endpoint cannot be reached.
        +
        java.io.IOException - when transport fails to start.
        +
        +
      • +
      +
    • +
    +
    +
  • +
+
+
+
+ + + + diff --git a/apidocs/1.19/org/glassfish/tyrus/container/grizzly/client/GrizzlyContainerProvider.html b/apidocs/1.19/org/glassfish/tyrus/container/grizzly/client/GrizzlyContainerProvider.html new file mode 100644 index 00000000..3334ad99 --- /dev/null +++ b/apidocs/1.19/org/glassfish/tyrus/container/grizzly/client/GrizzlyContainerProvider.html @@ -0,0 +1,334 @@ + + + + + +GrizzlyContainerProvider (Tyrus 1.19 API) + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +

Class GrizzlyContainerProvider

+
+
+ +
+
    +
  • +
    +
    public class GrizzlyContainerProvider
    +extends ContainerProvider
    +
    +
    Author:
    +
    Pavel Bucek (pavel.bucek at oracle.com)
    +
    +
  • +
+
+
+ +
+
+
    +
  • + +
    +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        GrizzlyContainerProvider

        +
        public GrizzlyContainerProvider()
        +
      • +
      +
    • +
    +
    + +
    + +
    +
  • +
+
+
+
+ + + + diff --git a/apidocs/1.19/org/glassfish/tyrus/container/grizzly/client/GrizzlyWriter.html b/apidocs/1.19/org/glassfish/tyrus/container/grizzly/client/GrizzlyWriter.html new file mode 100644 index 00000000..431f0caa --- /dev/null +++ b/apidocs/1.19/org/glassfish/tyrus/container/grizzly/client/GrizzlyWriter.html @@ -0,0 +1,420 @@ + + + + + +GrizzlyWriter (Tyrus 1.19 API) + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +

Class GrizzlyWriter

+
+
+ +
+
    +
  • +
    +
    All Implemented Interfaces:
    +
    java.io.Closeable, java.lang.AutoCloseable
    +
    +
    +
    public class GrizzlyWriter
    +extends Writer
    +
    +
    Author:
    +
    Pavel Bucek (pavel.bucek at oracle.com)
    +
    +
  • +
+
+
+
    +
  • + +
    +
      +
    • + + +

      Constructor Summary

      + + + + + + + + + + +
      Constructors 
      ConstructorDescription
      GrizzlyWriter​(org.glassfish.grizzly.Connection connection) 
      +
    • +
    +
    + +
    + +
    +
  • +
+
+
+
    +
  • + +
    +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        GrizzlyWriter

        +
        public GrizzlyWriter​(org.glassfish.grizzly.Connection connection)
        +
      • +
      +
    • +
    +
    + +
    +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        write

        +
        public void write​(java.nio.ByteBuffer buffer,
        +                  CompletionHandler<java.nio.ByteBuffer> completionHandler)
        +
        Description copied from class: Writer
        +

        + A backward compatible method called from Writer.write(ByteBuffer, CompletionHandler, WriterInfo) + to handover the data for a connection + to the transport. The transport writes bytes to underlying connection. + Tyrus runtime must not use the buffer until the write is completed. +

        +

        + The method will be removed in the next major version. +

        +
        +
        Specified by:
        +
        write in class Writer
        +
        Parameters:
        +
        buffer - bytes to write.
        +
        completionHandler - completion handler to know the write status.
        +
        +
      • +
      + + + +
        +
      • +

        close

        +
        public void close()
        +
      • +
      + + + +
        +
      • +

        hashCode

        +
        public int hashCode()
        +
        +
        Overrides:
        +
        hashCode in class java.lang.Object
        +
        +
      • +
      + + + +
        +
      • +

        equals

        +
        public boolean equals​(java.lang.Object obj)
        +
        +
        Overrides:
        +
        equals in class java.lang.Object
        +
        +
      • +
      + + + +
        +
      • +

        toString

        +
        public java.lang.String toString()
        +
        +
        Overrides:
        +
        toString in class java.lang.Object
        +
        +
      • +
      +
    • +
    +
    +
  • +
+
+
+
+ + + + diff --git a/apidocs/1.19/org/glassfish/tyrus/container/grizzly/client/TaskProcessor.Condition.html b/apidocs/1.19/org/glassfish/tyrus/container/grizzly/client/TaskProcessor.Condition.html new file mode 100644 index 00000000..81b93020 --- /dev/null +++ b/apidocs/1.19/org/glassfish/tyrus/container/grizzly/client/TaskProcessor.Condition.html @@ -0,0 +1,264 @@ + + + + + +TaskProcessor.Condition (Tyrus 1.19 API) + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +

Interface TaskProcessor.Condition

+
+
+
+ +
+
+ +
+
+
    +
  • + +
    +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        isValid

        +
        boolean isValid()
        +
        Check the condition.
        +
        +
        Returns:
        +
        true when condition is valid, false otherwise.
        +
        +
      • +
      +
    • +
    +
    +
  • +
+
+
+
+ + + + diff --git a/apidocs/1.19/org/glassfish/tyrus/container/grizzly/client/TaskProcessor.Task.html b/apidocs/1.19/org/glassfish/tyrus/container/grizzly/client/TaskProcessor.Task.html new file mode 100644 index 00000000..ec3c263b --- /dev/null +++ b/apidocs/1.19/org/glassfish/tyrus/container/grizzly/client/TaskProcessor.Task.html @@ -0,0 +1,316 @@ + + + + + +TaskProcessor.Task (Tyrus 1.19 API) + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +

Class TaskProcessor.Task

+
+
+
    +
  • java.lang.Object
  • +
  • +
      +
    • org.glassfish.tyrus.container.grizzly.client.TaskProcessor.Task
    • +
    +
  • +
+
+
    +
  • +
    +
    Enclosing class:
    +
    TaskProcessor
    +
    +
    +
    public abstract static class TaskProcessor.Task
    +extends java.lang.Object
    +
    Generic task representation.
    +
  • +
+
+
+
    +
  • + +
    +
      +
    • + + +

      Constructor Summary

      + + + + + + + + + + +
      Constructors 
      ConstructorDescription
      Task() 
      +
    • +
    +
    + +
    +
      +
    • + + +

      Method Summary

      + + + + + + + + + + + + +
      All Methods Instance Methods Abstract Methods 
      Modifier and TypeMethodDescription
      abstract voidexecute() +
      To be overridden.
      +
      +
        +
      • + + +

        Methods inherited from class java.lang.Object

        +clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • +
      +
    • +
    +
    +
  • +
+
+
+
    +
  • + +
    +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        Task

        +
        public Task()
        +
      • +
      +
    • +
    +
    + +
    +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        execute

        +
        public abstract void execute()
        +
        To be overridden.
        +
      • +
      +
    • +
    +
    +
  • +
+
+
+
+ + + + diff --git a/apidocs/1.19/org/glassfish/tyrus/container/grizzly/client/TaskProcessor.html b/apidocs/1.19/org/glassfish/tyrus/container/grizzly/client/TaskProcessor.html new file mode 100644 index 00000000..40a2078c --- /dev/null +++ b/apidocs/1.19/org/glassfish/tyrus/container/grizzly/client/TaskProcessor.html @@ -0,0 +1,397 @@ + + + + + +TaskProcessor (Tyrus 1.19 API) + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +

Class TaskProcessor

+
+
+
    +
  • java.lang.Object
  • +
  • +
      +
    • org.glassfish.tyrus.container.grizzly.client.TaskProcessor
    • +
    +
  • +
+
+
    +
  • +
    +
    public class TaskProcessor
    +extends java.lang.Object
    +
    A class responsible for processing TaskProcessor.Task. It ensures that only one task will be processed at a time, because + Grizzly Worker-thread IOStrategy does not wait until one message is processed before dispatching another one.
    +
    +
    Author:
    +
    Pavel Bucek (pavel.bucek at oracle.com), Petr Janouch
    +
    +
  • +
+
+
+ +
+
+
    +
  • + +
    +
      +
    • + + +

      Constructor Detail

      + + + + + + + +
        +
      • +

        TaskProcessor

        +
        public TaskProcessor()
        +
        Constructor. +

        + There is no condition that has to be checked before processing each task.

        +
      • +
      +
    • +
    +
    + +
    +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        processTask

        +
        public void processTask​(TaskProcessor.Task task)
        +
        Add a task to the task queue and process as much tasks from the task queue as possible.
        +
        +
        Parameters:
        +
        task - TaskProcessor.Task that should be processed.
        +
        +
      • +
      + + + +
        +
      • +

        processTask

        +
        public void processTask()
        +
        Process as much tasks from task queue as possible.
        +
      • +
      +
    • +
    +
    +
  • +
+
+
+
+ + + + diff --git a/apidocs/1.19/org/glassfish/tyrus/container/grizzly/client/class-use/GrizzlyClientContainer.html b/apidocs/1.19/org/glassfish/tyrus/container/grizzly/client/class-use/GrizzlyClientContainer.html new file mode 100644 index 00000000..1ce9f668 --- /dev/null +++ b/apidocs/1.19/org/glassfish/tyrus/container/grizzly/client/class-use/GrizzlyClientContainer.html @@ -0,0 +1,150 @@ + + + + + +Uses of Class org.glassfish.tyrus.container.grizzly.client.GrizzlyClientContainer (Tyrus 1.19 API) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Class
org.glassfish.tyrus.container.grizzly.client.GrizzlyClientContainer

+
+
No usage of org.glassfish.tyrus.container.grizzly.client.GrizzlyClientContainer
+
+ + + diff --git a/apidocs/1.19/org/glassfish/tyrus/container/grizzly/client/class-use/GrizzlyClientProperties.html b/apidocs/1.19/org/glassfish/tyrus/container/grizzly/client/class-use/GrizzlyClientProperties.html new file mode 100644 index 00000000..cdeaffc2 --- /dev/null +++ b/apidocs/1.19/org/glassfish/tyrus/container/grizzly/client/class-use/GrizzlyClientProperties.html @@ -0,0 +1,150 @@ + + + + + +Uses of Class org.glassfish.tyrus.container.grizzly.client.GrizzlyClientProperties (Tyrus 1.19 API) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Class
org.glassfish.tyrus.container.grizzly.client.GrizzlyClientProperties

+
+
No usage of org.glassfish.tyrus.container.grizzly.client.GrizzlyClientProperties
+
+ + + diff --git a/apidocs/1.19/org/glassfish/tyrus/container/grizzly/client/class-use/GrizzlyClientSocket.html b/apidocs/1.19/org/glassfish/tyrus/container/grizzly/client/class-use/GrizzlyClientSocket.html new file mode 100644 index 00000000..65814114 --- /dev/null +++ b/apidocs/1.19/org/glassfish/tyrus/container/grizzly/client/class-use/GrizzlyClientSocket.html @@ -0,0 +1,150 @@ + + + + + +Uses of Class org.glassfish.tyrus.container.grizzly.client.GrizzlyClientSocket (Tyrus 1.19 API) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Class
org.glassfish.tyrus.container.grizzly.client.GrizzlyClientSocket

+
+
No usage of org.glassfish.tyrus.container.grizzly.client.GrizzlyClientSocket
+
+ + + diff --git a/apidocs/1.19/org/glassfish/tyrus/container/grizzly/client/class-use/GrizzlyContainerProvider.html b/apidocs/1.19/org/glassfish/tyrus/container/grizzly/client/class-use/GrizzlyContainerProvider.html new file mode 100644 index 00000000..84062a7a --- /dev/null +++ b/apidocs/1.19/org/glassfish/tyrus/container/grizzly/client/class-use/GrizzlyContainerProvider.html @@ -0,0 +1,150 @@ + + + + + +Uses of Class org.glassfish.tyrus.container.grizzly.client.GrizzlyContainerProvider (Tyrus 1.19 API) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Class
org.glassfish.tyrus.container.grizzly.client.GrizzlyContainerProvider

+
+
No usage of org.glassfish.tyrus.container.grizzly.client.GrizzlyContainerProvider
+
+ + + diff --git a/apidocs/1.19/org/glassfish/tyrus/container/grizzly/client/class-use/GrizzlyWriter.html b/apidocs/1.19/org/glassfish/tyrus/container/grizzly/client/class-use/GrizzlyWriter.html new file mode 100644 index 00000000..d3258edd --- /dev/null +++ b/apidocs/1.19/org/glassfish/tyrus/container/grizzly/client/class-use/GrizzlyWriter.html @@ -0,0 +1,150 @@ + + + + + +Uses of Class org.glassfish.tyrus.container.grizzly.client.GrizzlyWriter (Tyrus 1.19 API) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Class
org.glassfish.tyrus.container.grizzly.client.GrizzlyWriter

+
+
No usage of org.glassfish.tyrus.container.grizzly.client.GrizzlyWriter
+
+ + + diff --git a/apidocs/1.19/org/glassfish/tyrus/container/grizzly/client/class-use/TaskProcessor.Condition.html b/apidocs/1.19/org/glassfish/tyrus/container/grizzly/client/class-use/TaskProcessor.Condition.html new file mode 100644 index 00000000..2ec5c857 --- /dev/null +++ b/apidocs/1.19/org/glassfish/tyrus/container/grizzly/client/class-use/TaskProcessor.Condition.html @@ -0,0 +1,196 @@ + + + + + +Uses of Interface org.glassfish.tyrus.container.grizzly.client.TaskProcessor.Condition (Tyrus 1.19 API) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Interface
org.glassfish.tyrus.container.grizzly.client.TaskProcessor.Condition

+
+
+ +
+
+ + + diff --git a/apidocs/1.19/org/glassfish/tyrus/container/grizzly/client/class-use/TaskProcessor.Task.html b/apidocs/1.19/org/glassfish/tyrus/container/grizzly/client/class-use/TaskProcessor.Task.html new file mode 100644 index 00000000..5cc1de7a --- /dev/null +++ b/apidocs/1.19/org/glassfish/tyrus/container/grizzly/client/class-use/TaskProcessor.Task.html @@ -0,0 +1,198 @@ + + + + + +Uses of Class org.glassfish.tyrus.container.grizzly.client.TaskProcessor.Task (Tyrus 1.19 API) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Class
org.glassfish.tyrus.container.grizzly.client.TaskProcessor.Task

+
+
+ +
+
+ + + diff --git a/apidocs/1.19/org/glassfish/tyrus/container/grizzly/client/class-use/TaskProcessor.html b/apidocs/1.19/org/glassfish/tyrus/container/grizzly/client/class-use/TaskProcessor.html new file mode 100644 index 00000000..421c1590 --- /dev/null +++ b/apidocs/1.19/org/glassfish/tyrus/container/grizzly/client/class-use/TaskProcessor.html @@ -0,0 +1,150 @@ + + + + + +Uses of Class org.glassfish.tyrus.container.grizzly.client.TaskProcessor (Tyrus 1.19 API) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Class
org.glassfish.tyrus.container.grizzly.client.TaskProcessor

+
+
No usage of org.glassfish.tyrus.container.grizzly.client.TaskProcessor
+
+ + + diff --git a/apidocs/1.19/org/glassfish/tyrus/container/grizzly/client/package-summary.html b/apidocs/1.19/org/glassfish/tyrus/container/grizzly/client/package-summary.html new file mode 100644 index 00000000..11e1ea01 --- /dev/null +++ b/apidocs/1.19/org/glassfish/tyrus/container/grizzly/client/package-summary.html @@ -0,0 +1,222 @@ + + + + + +org.glassfish.tyrus.container.grizzly.client (Tyrus 1.19 API) + + + + + + + + + + + + + + + +
+ +
+
+
+

Package org.glassfish.tyrus.container.grizzly.client

+
+
+
+ + +
Grizzly Client container.
+
+ +
+
+ + + diff --git a/apidocs/1.19/org/glassfish/tyrus/container/grizzly/client/package-tree.html b/apidocs/1.19/org/glassfish/tyrus/container/grizzly/client/package-tree.html new file mode 100644 index 00000000..1a0c524a --- /dev/null +++ b/apidocs/1.19/org/glassfish/tyrus/container/grizzly/client/package-tree.html @@ -0,0 +1,185 @@ + + + + + +org.glassfish.tyrus.container.grizzly.client Class Hierarchy (Tyrus 1.19 API) + + + + + + + + + + + + + + + +
+ +
+
+
+

Hierarchy For Package org.glassfish.tyrus.container.grizzly.client

+Package Hierarchies: + +
+
+
+

Class Hierarchy

+ +
+
+

Interface Hierarchy

+ +
+
+
+ + + diff --git a/apidocs/1.19/org/glassfish/tyrus/container/grizzly/client/package-use.html b/apidocs/1.19/org/glassfish/tyrus/container/grizzly/client/package-use.html new file mode 100644 index 00000000..89f1ba52 --- /dev/null +++ b/apidocs/1.19/org/glassfish/tyrus/container/grizzly/client/package-use.html @@ -0,0 +1,195 @@ + + + + + +Uses of Package org.glassfish.tyrus.container.grizzly.client (Tyrus 1.19 API) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Package
org.glassfish.tyrus.container.grizzly.client

+
+
+ +
+
+ + + diff --git a/apidocs/1.19/org/glassfish/tyrus/container/grizzly/server/GrizzlyServerContainer.html b/apidocs/1.19/org/glassfish/tyrus/container/grizzly/server/GrizzlyServerContainer.html new file mode 100644 index 00000000..b73d58f6 --- /dev/null +++ b/apidocs/1.19/org/glassfish/tyrus/container/grizzly/server/GrizzlyServerContainer.html @@ -0,0 +1,413 @@ + + + + + +GrizzlyServerContainer (Tyrus 1.19 API) + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +

Class GrizzlyServerContainer

+
+
+ +
+ +
+
+ +
+
+
    +
  • + +
    +
      +
    • + + +

      Field Detail

      + + + +
        +
      • +

        WORKER_THREAD_POOL_CONFIG

        +
        public static final java.lang.String WORKER_THREAD_POOL_CONFIG
        +
        Server-side property to set custom worker ThreadPoolConfig. +

        + Value is expected to be instance of ThreadPoolConfig, can be null (it won't be used).

        +
        +
        See Also:
        +
        Constant Field Values
        +
        +
      • +
      + + + +
        +
      • +

        SELECTOR_THREAD_POOL_CONFIG

        +
        public static final java.lang.String SELECTOR_THREAD_POOL_CONFIG
        +
        Server-side property to set custom selector ThreadPoolConfig. +

        + Value is expected to be instance of ThreadPoolConfig, can be null (it won't be used).

        +
        +
        See Also:
        +
        Constant Field Values
        +
        +
      • +
      +
    • +
    +
    + +
    +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        GrizzlyServerContainer

        +
        public GrizzlyServerContainer()
        +
      • +
      +
    • +
    +
    + +
    + +
    +
  • +
+
+
+
+ + + + diff --git a/apidocs/1.19/org/glassfish/tyrus/container/grizzly/server/WebSocketAddOn.html b/apidocs/1.19/org/glassfish/tyrus/container/grizzly/server/WebSocketAddOn.html new file mode 100644 index 00000000..3402ab09 --- /dev/null +++ b/apidocs/1.19/org/glassfish/tyrus/container/grizzly/server/WebSocketAddOn.html @@ -0,0 +1,284 @@ + + + + + +WebSocketAddOn (Tyrus 1.19 API) + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +

Class WebSocketAddOn

+
+
+
    +
  • java.lang.Object
  • +
  • +
      +
    • org.glassfish.tyrus.container.grizzly.server.WebSocketAddOn
    • +
    +
  • +
+
+
    +
  • +
    +
    All Implemented Interfaces:
    +
    org.glassfish.grizzly.http.server.AddOn
    +
    +
    +
    public class WebSocketAddOn
    +extends java.lang.Object
    +implements org.glassfish.grizzly.http.server.AddOn
    +
    WebSockets AddOn for the HttpServer.
    +
    +
    Author:
    +
    Alexey Stashok
    +
    +
  • +
+
+
+
    +
  • + +
    +
      +
    • + + +

      Method Summary

      + + + + + + + + + + + + +
      All Methods Instance Methods Concrete Methods 
      Modifier and TypeMethodDescription
      voidsetup​(org.glassfish.grizzly.http.server.NetworkListener networkListener, + org.glassfish.grizzly.filterchain.FilterChainBuilder builder) 
      +
        +
      • + + +

        Methods inherited from class java.lang.Object

        +clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • +
      +
    • +
    +
    +
  • +
+
+
+
    +
  • + +
    +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        setup

        +
        public void setup​(org.glassfish.grizzly.http.server.NetworkListener networkListener,
        +                  org.glassfish.grizzly.filterchain.FilterChainBuilder builder)
        +
        +
        Specified by:
        +
        setup in interface org.glassfish.grizzly.http.server.AddOn
        +
        +
      • +
      +
    • +
    +
    +
  • +
+
+
+
+ + + + diff --git a/apidocs/1.19/org/glassfish/tyrus/container/grizzly/server/class-use/GrizzlyServerContainer.html b/apidocs/1.19/org/glassfish/tyrus/container/grizzly/server/class-use/GrizzlyServerContainer.html new file mode 100644 index 00000000..fa38dc07 --- /dev/null +++ b/apidocs/1.19/org/glassfish/tyrus/container/grizzly/server/class-use/GrizzlyServerContainer.html @@ -0,0 +1,150 @@ + + + + + +Uses of Class org.glassfish.tyrus.container.grizzly.server.GrizzlyServerContainer (Tyrus 1.19 API) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Class
org.glassfish.tyrus.container.grizzly.server.GrizzlyServerContainer

+
+
No usage of org.glassfish.tyrus.container.grizzly.server.GrizzlyServerContainer
+
+ + + diff --git a/apidocs/1.19/org/glassfish/tyrus/container/grizzly/server/class-use/WebSocketAddOn.html b/apidocs/1.19/org/glassfish/tyrus/container/grizzly/server/class-use/WebSocketAddOn.html new file mode 100644 index 00000000..b14bc851 --- /dev/null +++ b/apidocs/1.19/org/glassfish/tyrus/container/grizzly/server/class-use/WebSocketAddOn.html @@ -0,0 +1,150 @@ + + + + + +Uses of Class org.glassfish.tyrus.container.grizzly.server.WebSocketAddOn (Tyrus 1.19 API) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Class
org.glassfish.tyrus.container.grizzly.server.WebSocketAddOn

+
+
No usage of org.glassfish.tyrus.container.grizzly.server.WebSocketAddOn
+
+ + + diff --git a/apidocs/1.19/org/glassfish/tyrus/container/grizzly/server/package-summary.html b/apidocs/1.19/org/glassfish/tyrus/container/grizzly/server/package-summary.html new file mode 100644 index 00000000..b3840ad7 --- /dev/null +++ b/apidocs/1.19/org/glassfish/tyrus/container/grizzly/server/package-summary.html @@ -0,0 +1,181 @@ + + + + + +org.glassfish.tyrus.container.grizzly.server (Tyrus 1.19 API) + + + + + + + + + + + + + + + +
+ +
+
+
+

Package org.glassfish.tyrus.container.grizzly.server

+
+
+
+ + +
Grizzly Server container.
+
+ +
+
+ + + diff --git a/apidocs/1.19/org/glassfish/tyrus/container/grizzly/server/package-tree.html b/apidocs/1.19/org/glassfish/tyrus/container/grizzly/server/package-tree.html new file mode 100644 index 00000000..82633388 --- /dev/null +++ b/apidocs/1.19/org/glassfish/tyrus/container/grizzly/server/package-tree.html @@ -0,0 +1,170 @@ + + + + + +org.glassfish.tyrus.container.grizzly.server Class Hierarchy (Tyrus 1.19 API) + + + + + + + + + + + + + + + +
+ +
+
+
+

Hierarchy For Package org.glassfish.tyrus.container.grizzly.server

+Package Hierarchies: + +
+
+
+

Class Hierarchy

+ +
+
+
+ + + diff --git a/apidocs/1.19/org/glassfish/tyrus/container/grizzly/server/package-use.html b/apidocs/1.19/org/glassfish/tyrus/container/grizzly/server/package-use.html new file mode 100644 index 00000000..501de5c0 --- /dev/null +++ b/apidocs/1.19/org/glassfish/tyrus/container/grizzly/server/package-use.html @@ -0,0 +1,150 @@ + + + + + +Uses of Package org.glassfish.tyrus.container.grizzly.server (Tyrus 1.19 API) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Package
org.glassfish.tyrus.container.grizzly.server

+
+
No usage of org.glassfish.tyrus.container.grizzly.server
+
+ + + diff --git a/apidocs/1.19/org/glassfish/tyrus/core/AnnotatedEndpoint.html b/apidocs/1.19/org/glassfish/tyrus/core/AnnotatedEndpoint.html new file mode 100644 index 00000000..55f3039a --- /dev/null +++ b/apidocs/1.19/org/glassfish/tyrus/core/AnnotatedEndpoint.html @@ -0,0 +1,536 @@ + + + + + +AnnotatedEndpoint (Tyrus 1.19 API) + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +

Class AnnotatedEndpoint

+
+
+ +
+
    +
  • +
    +
    public class AnnotatedEndpoint
    +extends Endpoint
    +
    Endpoint descendant which represents deployed annotated endpoint.
    +
    +
    Author:
    +
    Martin Matula (martin.matula at oracle.com), Stepan Kopriva (stepan.kopriva at oracle.com), Pavel Bucek (pavel.bucek at oracle.com)
    +
    +
  • +
+
+
+ +
+
+
    +
  • + +
    +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        fromClass

        +
        public static AnnotatedEndpoint fromClass​(java.lang.Class<?> annotatedClass,
        +                                          ComponentProviderService componentProvider,
        +                                          boolean isServerEndpoint,
        +                                          int incomingBufferSize,
        +                                          ErrorCollector collector,
        +                                          EndpointEventListener endpointEventListener)
        +
        Create AnnotatedEndpoint from class.
        +
        +
        Parameters:
        +
        annotatedClass - annotated class.
        +
        componentProvider - used for instantiating.
        +
        isServerEndpoint - true iff annotated endpoint is deployed on server side.
        +
        incomingBufferSize - size limit of the incoming buffer.
        +
        collector - error collector.
        +
        endpointEventListener - listener of monitored endpoint events.
        +
        Returns:
        +
        new instance.
        +
        +
      • +
      + + + +
        +
      • +

        fromClass

        +
        public static AnnotatedEndpoint fromClass​(java.lang.Class<?> annotatedClass,
        +                                          ComponentProviderService componentProvider,
        +                                          boolean isServerEndpoint,
        +                                          int incomingBufferSize,
        +                                          ErrorCollector collector,
        +                                          EndpointEventListener endpointEventListener,
        +                                          java.util.Set<Extension> extensions)
        +
        Create AnnotatedEndpoint from class.
        +
        +
        Parameters:
        +
        annotatedClass - annotated class.
        +
        componentProvider - used for instantiating.
        +
        isServerEndpoint - true iff annotated endpoint is deployed on server side.
        +
        incomingBufferSize - size limit of the incoming buffer.
        +
        collector - error collector.
        +
        endpointEventListener - listener of monitored endpoint events.
        +
        extensions - installed extentions.
        +
        Returns:
        +
        new instance.
        +
        +
      • +
      + + + +
        +
      • +

        fromInstance

        +
        public static AnnotatedEndpoint fromInstance​(java.lang.Object annotatedInstance,
        +                                             ComponentProviderService componentProvider,
        +                                             boolean isServerEndpoint,
        +                                             int incomingBufferSize,
        +                                             ErrorCollector collector)
        +
        Create AnnotatedEndpoint from instance.
        +
        +
        Parameters:
        +
        annotatedInstance - annotated instance.
        +
        componentProvider - used for instantiating.
        +
        isServerEndpoint - true iff annotated endpoint is deployed on server side.
        +
        incomingBufferSize - size limit of the incoming buffer
        +
        collector - error collector.
        +
        Returns:
        +
        new instance.
        +
        +
      • +
      + + + +
        +
      • +

        fromInstance

        +
        public static AnnotatedEndpoint fromInstance​(java.lang.Object annotatedInstance,
        +                                             ComponentProviderService componentProvider,
        +                                             boolean isServerEndpoint,
        +                                             int incomingBufferSize,
        +                                             ErrorCollector collector,
        +                                             java.util.Set<Extension> extensions)
        +
        Create AnnotatedEndpoint from instance.
        +
        +
        Parameters:
        +
        annotatedInstance - annotated instance.
        +
        componentProvider - used for instantiating.
        +
        isServerEndpoint - true iff annotated endpoint is deployed on server side.
        +
        incomingBufferSize - size limit of the incoming buffer
        +
        collector - error collector.
        +
        extensions - installed extentions.
        +
        Returns:
        +
        new instance.
        +
        +
      • +
      + + + +
        +
      • +

        onClose

        +
        public void onClose​(Session session,
        +                    CloseReason closeReason)
        +
        Description copied from class: Endpoint
        +
        This method is called immediately prior to the session with the remote + peer being closed. It is called whether the session is being closed + because the remote peer initiated a close and sent a close frame, or + whether the local websocket container or this endpoint requests to close + the session. The developer may take this last opportunity to retrieve + session attributes such as the ID, or any application data it holds before + it becomes unavailable after the completion of the method. Developers should + not attempt to modify the session from within this method, or send new + messages from this call as the underlying + connection will not be able to send them at this stage.
        +
        +
        Overrides:
        +
        onClose in class Endpoint
        +
        Parameters:
        +
        session - the session about to be closed.
        +
        closeReason - the reason the session was closed.
        +
        +
      • +
      + + + +
        +
      • +

        onError

        +
        public void onError​(Session session,
        +                    java.lang.Throwable thr)
        +
        Description copied from class: Endpoint
        +
        Developers may implement this method when the web socket session + creates some kind of error that is not modeled in the web socket protocol. This may for example + be a notification that an incoming message is too big to handle, or that the incoming message could not be encoded. + +

        There are a number of categories of exception that this method is (currently) defined to handle: +

          +
        • connection problems, for example, a socket failure that occurs before + the web socket connection can be formally closed. These are modeled as + SessionExceptions
        • +
        • runtime errors thrown by developer created message handlers calls.
        • +
        • conversion errors encoding incoming messages before any message handler has been called. These + are modeled as DecodeExceptions
        • +
        +
        +
        Overrides:
        +
        onError in class Endpoint
        +
        Parameters:
        +
        session - the session in use when the error occurs.
        +
        thr - the throwable representing the problem.
        +
        +
      • +
      + + + +
        +
      • +

        getEndpointConfig

        +
        public EndpointConfig getEndpointConfig()
        +
      • +
      + + + +
        +
      • +

        onOpen

        +
        public void onOpen​(Session session,
        +                   EndpointConfig configuration)
        +
        Description copied from class: Endpoint
        +
        Developers must implement this method to be notified when a new conversation has + just begun.
        +
        +
        Specified by:
        +
        onOpen in class Endpoint
        +
        Parameters:
        +
        session - the session that has just been activated.
        +
        configuration - the configuration used to configure this endpoint.
        +
        +
      • +
      +
    • +
    +
    +
  • +
+
+
+
+ + + + diff --git a/apidocs/1.19/org/glassfish/tyrus/core/BaseContainer.ShutDownCondition.html b/apidocs/1.19/org/glassfish/tyrus/core/BaseContainer.ShutDownCondition.html new file mode 100644 index 00000000..24063e7b --- /dev/null +++ b/apidocs/1.19/org/glassfish/tyrus/core/BaseContainer.ShutDownCondition.html @@ -0,0 +1,256 @@ + + + + + +BaseContainer.ShutDownCondition (Tyrus 1.19 API) + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +

Interface BaseContainer.ShutDownCondition

+
+
+
+
    +
  • +
    +
    Enclosing class:
    +
    BaseContainer
    +
    +
    +
    protected static interface BaseContainer.ShutDownCondition
    +
  • +
+
+
+ +
+
+
    +
  • + +
    +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        evaluate

        +
        boolean evaluate()
        +
      • +
      +
    • +
    +
    +
  • +
+
+
+
+ + + + diff --git a/apidocs/1.19/org/glassfish/tyrus/core/BaseContainer.html b/apidocs/1.19/org/glassfish/tyrus/core/BaseContainer.html new file mode 100644 index 00000000..2141c6eb --- /dev/null +++ b/apidocs/1.19/org/glassfish/tyrus/core/BaseContainer.html @@ -0,0 +1,446 @@ + + + + + +BaseContainer (Tyrus 1.19 API) + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +

Class BaseContainer

+
+
+ +
+ +
+
+ +
+
+
    +
  • + +
    +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        BaseContainer

        +
        public BaseContainer()
        +
      • +
      +
    • +
    +
    + +
    +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        getExecutorService

        +
        public java.util.concurrent.ExecutorService getExecutorService()
        +
        Returns a container-managed ExecutorService registered under + java:comp/DefaultManagedExecutorService or if the lookup has failed, it returns a + ExecutorService created and managed by this instance of + BaseContainer.
        +
        +
        Specified by:
        +
        getExecutorService in class ExecutorServiceProvider
        +
        Returns:
        +
        executor service.
        +
        +
      • +
      + + + +
        +
      • +

        getScheduledExecutorService

        +
        public java.util.concurrent.ScheduledExecutorService getScheduledExecutorService()
        +
        Returns a container-managed ScheduledExecutorService registered under + java:comp/DefaultManagedScheduledExecutorService or if the lookup has failed it returns a + ScheduledExecutorService created and managed by this instance of + BaseContainer.
        +
        +
        Specified by:
        +
        getScheduledExecutorService in class ExecutorServiceProvider
        +
        Returns:
        +
        scheduled executor service.
        +
        +
      • +
      + + + +
        +
      • +

        shutdown

        +
        public void shutdown()
        +
        Release executor services managed by this instance. Executor services obtained via JNDI lookup won't be + shut down.
        +
      • +
      + + + +
        +
      • +

        shutdown

        +
        protected void shutdown​(BaseContainer.ShutDownCondition shutDownCondition)
        +
        Release executor services managed by this instance if the condition passed in the parameter is fulfilled. + Executor services obtained via JNDI lookup won't be shut down.
        +
        +
        Parameters:
        +
        shutDownCondition - condition that will be evaluated before executor services are released and they will be + released only if the condition is evaluated to true. The condition will be + evaluated in a synchronized block in order to make the process of its evaluation + and executor services release an atomic operation.
        +
        +
      • +
      +
    • +
    +
    +
  • +
+
+
+
+ + + + diff --git a/apidocs/1.19/org/glassfish/tyrus/core/Beta.html b/apidocs/1.19/org/glassfish/tyrus/core/Beta.html new file mode 100644 index 00000000..6b547151 --- /dev/null +++ b/apidocs/1.19/org/glassfish/tyrus/core/Beta.html @@ -0,0 +1,209 @@ + + + + + +Beta (Tyrus 1.19 API) + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +

Annotation Type Beta

+
+
+
+
    +
  • +
    +
    @Retention(CLASS)
    +@Documented
    +@Target({ANNOTATION_TYPE,TYPE,CONSTRUCTOR,METHOD,FIELD,PACKAGE})
    +public @interface Beta
    +
    Marker of a public Tyrus API that is still in "beta" non-final version. +

    + This annotation signals that the annotated public Tyrus API (package, class, method or field) + has not been fully stabilized yet. As such, the API is subject to backward-incompatible changes + (or even removal) in a future Tyrus release. Tyrus development team does not make any guarantees + to retain backward compatibility of a @Beta-annotated Tyrus API. +

    + This annotation does not indicate inferior quality or performance of the API, just informs that the + API may still evolve in the future in a backward-incompatible ways. Tyrus users may use beta APIs + in their applications keeping in mind potential cost of extra work associated with an upgrade + to a newer Tyrus version. +

    + Once a @Beta-annotated Tyrus API reaches the desired maturity, the @Beta annotation + will be removed from such API and the API will become part of a stable public Tyrus API.

    +
    +
    Author:
    +
    Marek Potociar (marek.potociar at oracle.com)
    +
    +
  • +
+
+
+
+ +
+ +

Copyright © 2012–2022 Oracle Corporation. All rights reserved.

+
+ + diff --git a/apidocs/1.19/org/glassfish/tyrus/core/CloseReasons.html b/apidocs/1.19/org/glassfish/tyrus/core/CloseReasons.html new file mode 100644 index 00000000..8a5ebba1 --- /dev/null +++ b/apidocs/1.19/org/glassfish/tyrus/core/CloseReasons.html @@ -0,0 +1,691 @@ + + + + + +CloseReasons (Tyrus 1.19 API) + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +

Enum CloseReasons

+
+
+
    +
  • java.lang.Object
  • +
  • +
      +
    • java.lang.Enum<CloseReasons>
    • +
    • +
        +
      • org.glassfish.tyrus.core.CloseReasons
      • +
      +
    • +
    +
  • +
+
+
    +
  • +
    +
    All Implemented Interfaces:
    +
    java.io.Serializable, java.lang.Comparable<CloseReasons>
    +
    +
    +
    public enum CloseReasons
    +extends java.lang.Enum<CloseReasons>
    +
    Enum containing standard CloseReasons defined in RFC 6455, see chapter + 7.4.1 Defined Status Codes.
    +
    +
    Author:
    +
    Pavel Bucek (pavel.bucek at oracle.com)
    +
    +
  • +
+
+
+
    +
  • + +
    +
      +
    • + + +

      Enum Constant Summary

      + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
      Enum Constants 
      Enum ConstantDescription
      CANNOT_ACCEPT +
      1003 indicates that an endpoint is terminating the connection + because it has received a type of data it cannot accept (e.g., an + endpoint that understands only text data MAY send this if it + receives a binary message).
      +
      CLOSED_ABNORMALLY +
      1006 is a reserved value and MUST NOT be set as a status code in a + Close control frame by an endpoint.
      +
      GOING_AWAY +
      1001 indicates that an endpoint is "going away", such as a server + going down or a browser having navigated away from a page.
      +
      NO_EXTENSION +
      1010 indicates that an endpoint (client) is terminating the + connection because it has expected the server to negotiate one or + more extension, but the server didn't return them in the response + message of the WebSocket handshake.
      +
      NO_STATUS_CODE +
      1005 is a reserved value and MUST NOT be set as a status code in a + Close control frame by an endpoint.
      +
      NORMAL_CLOSURE +
      1000 indicates a normal closure, meaning that the purpose for + which the connection was established has been fulfilled.
      +
      NOT_CONSISTENT +
      1007 indicates that an endpoint is terminating the connection + because it has received data within a message that was not + consistent with the type of the message (e.g., non-UTF-8 + data within a text message).
      +
      PROTOCOL_ERROR +
      1002 indicates that an endpoint is terminating the connection due + to a protocol error.
      +
      RESERVED +
      Reserved.
      +
      SERVICE_RESTART +
      1012 indicates that the service will be restarted.
      +
      TLS_HANDSHAKE_FAILURE +
      1015 is a reserved value and MUST NOT be set as a status code in a + Close control frame by an endpoint.
      +
      TOO_BIG +
      1009 indicates that an endpoint is terminating the connection + because it has received a message that is too big for it to + process.
      +
      TRY_AGAIN_LATER +
      1013 indicates that the service is experiencing overload
      +
      UNEXPECTED_CONDITION +
      1011 indicates that a server is terminating the connection because + it encountered an unexpected condition that prevented it from + fulfilling the request.
      +
      VIOLATED_POLICY +
      1008 indicates that an endpoint is terminating the connection + because it has received a message that violates its policy.
      +
      +
    • +
    +
    + +
    +
      +
    • + + +

      Method Summary

      + + + + + + + + + + + + + + + + + + + + + + + + + + + +
      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and TypeMethodDescription
      static CloseReasoncreate​(CloseReason.CloseCode closeCode, + java.lang.String reasonPhrase) 
      CloseReasongetCloseReason() +
      Get close reason.
      +
      static CloseReasonsvalueOf​(java.lang.String name) +
      Returns the enum constant of this type with the specified name.
      +
      static CloseReasons[]values() +
      Returns an array containing the constants of this enum type, in +the order they are declared.
      +
      +
        +
      • + + +

        Methods inherited from class java.lang.Enum

        +clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
      • +
      +
        +
      • + + +

        Methods inherited from class java.lang.Object

        +getClass, notify, notifyAll, wait, wait, wait
      • +
      +
    • +
    +
    +
  • +
+
+
+
    +
  • + +
    +
      +
    • + + +

      Enum Constant Detail

      + + + +
        +
      • +

        NORMAL_CLOSURE

        +
        public static final CloseReasons NORMAL_CLOSURE
        +
        1000 indicates a normal closure, meaning that the purpose for + which the connection was established has been fulfilled.
        +
      • +
      + + + +
        +
      • +

        GOING_AWAY

        +
        public static final CloseReasons GOING_AWAY
        +
        1001 indicates that an endpoint is "going away", such as a server + going down or a browser having navigated away from a page.
        +
      • +
      + + + +
        +
      • +

        PROTOCOL_ERROR

        +
        public static final CloseReasons PROTOCOL_ERROR
        +
        1002 indicates that an endpoint is terminating the connection due + to a protocol error.
        +
      • +
      + + + +
        +
      • +

        CANNOT_ACCEPT

        +
        public static final CloseReasons CANNOT_ACCEPT
        +
        1003 indicates that an endpoint is terminating the connection + because it has received a type of data it cannot accept (e.g., an + endpoint that understands only text data MAY send this if it + receives a binary message).
        +
      • +
      + + + +
        +
      • +

        RESERVED

        +
        public static final CloseReasons RESERVED
        +
        Reserved. The specific meaning might be defined in the future.
        +
      • +
      + + + +
        +
      • +

        NO_STATUS_CODE

        +
        public static final CloseReasons NO_STATUS_CODE
        +
        1005 is a reserved value and MUST NOT be set as a status code in a + Close control frame by an endpoint. It is designated for use in + applications expecting a status code to indicate that no status + code was actually present.
        +
      • +
      + + + +
        +
      • +

        CLOSED_ABNORMALLY

        +
        public static final CloseReasons CLOSED_ABNORMALLY
        +
        1006 is a reserved value and MUST NOT be set as a status code in a + Close control frame by an endpoint. It is designated for use in + applications expecting a status code to indicate that the + connection was closed abnormally, e.g., without sending or + receiving a Close control frame.
        +
      • +
      + + + +
        +
      • +

        NOT_CONSISTENT

        +
        public static final CloseReasons NOT_CONSISTENT
        +
        1007 indicates that an endpoint is terminating the connection + because it has received data within a message that was not + consistent with the type of the message (e.g., non-UTF-8 + data within a text message).
        +
      • +
      + + + +
        +
      • +

        VIOLATED_POLICY

        +
        public static final CloseReasons VIOLATED_POLICY
        +
        1008 indicates that an endpoint is terminating the connection + because it has received a message that violates its policy. This + is a generic status code that can be returned when there is no + other more suitable status code (e.g., 1003 or 1009) or if there + is a need to hide specific details about the policy.
        +
      • +
      + + + +
        +
      • +

        TOO_BIG

        +
        public static final CloseReasons TOO_BIG
        +
        1009 indicates that an endpoint is terminating the connection + because it has received a message that is too big for it to + process.
        +
      • +
      + + + +
        +
      • +

        NO_EXTENSION

        +
        public static final CloseReasons NO_EXTENSION
        +
        1010 indicates that an endpoint (client) is terminating the + connection because it has expected the server to negotiate one or + more extension, but the server didn't return them in the response + message of the WebSocket handshake. The list of extensions that + are needed SHOULD appear in the /reason/ part of the Close frame. + Note that this status code is not used by the server, because it + can fail the WebSocket handshake instead.
        +
      • +
      + + + +
        +
      • +

        UNEXPECTED_CONDITION

        +
        public static final CloseReasons UNEXPECTED_CONDITION
        +
        1011 indicates that a server is terminating the connection because + it encountered an unexpected condition that prevented it from + fulfilling the request.
        +
      • +
      + + + +
        +
      • +

        SERVICE_RESTART

        +
        public static final CloseReasons SERVICE_RESTART
        +
        1012 indicates that the service will be restarted.
        +
      • +
      + + + +
        +
      • +

        TRY_AGAIN_LATER

        +
        public static final CloseReasons TRY_AGAIN_LATER
        +
        1013 indicates that the service is experiencing overload
        +
      • +
      + + + +
        +
      • +

        TLS_HANDSHAKE_FAILURE

        +
        public static final CloseReasons TLS_HANDSHAKE_FAILURE
        +
        1015 is a reserved value and MUST NOT be set as a status code in a + Close control frame by an endpoint. It is designated for use in + applications expecting a status code to indicate that the + connection was closed due to a failure to perform a TLS handshake + (e.g., the server certificate can't be verified).
        +
      • +
      +
    • +
    +
    + +
    +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        values

        +
        public static CloseReasons[] values()
        +
        Returns an array containing the constants of this enum type, in +the order they are declared. This method may be used to iterate +over the constants as follows: +
        +for (CloseReasons c : CloseReasons.values())
        +    System.out.println(c);
        +
        +
        +
        Returns:
        +
        an array containing the constants of this enum type, in the order they are declared
        +
        +
      • +
      + + + +
        +
      • +

        valueOf

        +
        public static CloseReasons valueOf​(java.lang.String name)
        +
        Returns the enum constant of this type with the specified name. +The string must match exactly an identifier used to declare an +enum constant in this type. (Extraneous whitespace characters are +not permitted.)
        +
        +
        Parameters:
        +
        name - the name of the enum constant to be returned.
        +
        Returns:
        +
        the enum constant with the specified name
        +
        Throws:
        +
        java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
        +
        java.lang.NullPointerException - if the argument is null
        +
        +
      • +
      + + + +
        +
      • +

        getCloseReason

        +
        public CloseReason getCloseReason()
        +
        Get close reason.
        +
        +
        Returns:
        +
        close reason represented by this value;
        +
        +
      • +
      + + + + +
    • +
    +
    +
  • +
+
+
+
+ + + + diff --git a/apidocs/1.19/org/glassfish/tyrus/core/ComponentProvider.html b/apidocs/1.19/org/glassfish/tyrus/core/ComponentProvider.html new file mode 100644 index 00000000..103e25eb --- /dev/null +++ b/apidocs/1.19/org/glassfish/tyrus/core/ComponentProvider.html @@ -0,0 +1,406 @@ + + + + + +ComponentProvider (Tyrus 1.19 API) + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +

Class ComponentProvider

+
+
+
    +
  • java.lang.Object
  • +
  • +
      +
    • org.glassfish.tyrus.core.ComponentProvider
    • +
    +
  • +
+
+
    +
  • +
    +
    Direct Known Subclasses:
    +
    CdiComponentProvider, DefaultComponentProvider, EjbComponentProvider
    +
    +
    +
    public abstract class ComponentProvider
    +extends java.lang.Object
    +
    Provides an instance. +

    + Method isApplicable(Class) is called first to check whether the provider is able to provide the given + Class. Method create(Class) is called to get the instance.

    +
    +
    Author:
    +
    Stepan Kopriva (stepan.kopriva at oracle.com), Martin Matula (martin.matula at oracle.com), Pavel Bucek (pavel.bucek at oracle.com)
    +
    +
  • +
+
+
+
    +
  • + +
    +
      +
    • + + +

      Constructor Summary

      + + + + + + + + + + +
      Constructors 
      ConstructorDescription
      ComponentProvider() 
      +
    • +
    +
    + +
    +
      +
    • + + +

      Method Summary

      + + + + + + + + + + + + + + + + + + + + + + + + + + + +
      All Methods Instance Methods Abstract Methods Concrete Methods 
      Modifier and TypeMethodDescription
      abstract <T> java.lang.Objectcreate​(java.lang.Class<T> c) +
      Create new instance.
      +
      abstract booleandestroy​(java.lang.Object o) +
      Destroys the given managed instance.
      +
      java.lang.reflect.MethodgetInvocableMethod​(java.lang.reflect.Method method) +
      Get the method which should be invoked instead provided one.
      +
      abstract booleanisApplicable​(java.lang.Class<?> c) +
      Checks whether this component provider is able to provide an instance of given Class.
      +
      +
        +
      • + + +

        Methods inherited from class java.lang.Object

        +clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • +
      +
    • +
    +
    +
  • +
+
+
+
    +
  • + +
    +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        ComponentProvider

        +
        public ComponentProvider()
        +
      • +
      +
    • +
    +
    + +
    +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        isApplicable

        +
        public abstract boolean isApplicable​(java.lang.Class<?> c)
        +
        Checks whether this component provider is able to provide an instance of given Class.
        +
        +
        Parameters:
        +
        c - Class to be checked.
        +
        Returns:
        +
        true iff this ComponentProvider is able to create an instance of the given Class.
        +
        +
      • +
      + + + +
        +
      • +

        create

        +
        public abstract <T> java.lang.Object create​(java.lang.Class<T> c)
        +
        Create new instance.
        +
        +
        Type Parameters:
        +
        T - type of the created object.
        +
        Parameters:
        +
        c - Class to be created.
        +
        Returns:
        +
        instance, iff found, null otherwise.
        +
        +
      • +
      + + + +
        +
      • +

        getInvocableMethod

        +
        public java.lang.reflect.Method getInvocableMethod​(java.lang.reflect.Method method)
        +
        Get the method which should be invoked instead provided one. +

        + Useful mainly for EJB container support, where methods from endpoint class cannot be invoked directly - Tyrus + needs + to use method declared on remote interface. +

        + Default implementation returns method provided as parameter.

        +
        +
        Parameters:
        +
        method - method from endpoint class.
        +
        Returns:
        +
        method which should be invoked.
        +
        +
      • +
      + + + +
        +
      • +

        destroy

        +
        public abstract boolean destroy​(java.lang.Object o)
        +
        Destroys the given managed instance.
        +
        +
        Parameters:
        +
        o - instance to be destroyed.
        +
        Returns:
        +
        true iff the instance was coupled to this ComponentProvider, false otherwise.
        +
        +
      • +
      +
    • +
    +
    +
  • +
+
+
+
+ + + + diff --git a/apidocs/1.19/org/glassfish/tyrus/core/ComponentProviderService.html b/apidocs/1.19/org/glassfish/tyrus/core/ComponentProviderService.html new file mode 100644 index 00000000..751c47e7 --- /dev/null +++ b/apidocs/1.19/org/glassfish/tyrus/core/ComponentProviderService.html @@ -0,0 +1,513 @@ + + + + + +ComponentProviderService (Tyrus 1.19 API) + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +

Class ComponentProviderService

+
+
+
    +
  • java.lang.Object
  • +
  • +
      +
    • org.glassfish.tyrus.core.ComponentProviderService
    • +
    +
  • +
+
+
    +
  • +
    +
    public class ComponentProviderService
    +extends java.lang.Object
    +
    Provides an instance of component. Searches for registered ComponentProviders which are used to provide + instances.
    +
    +
    Author:
    +
    Martin Matula (martin.matula at oracle.com), Stepan Kopriva (stepan.kopriva at oracle.com), Pavel Bucek (pavel.bucek at oracle.com)
    +
    +
  • +
+
+
+ +
+
+
    +
  • + +
    +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        ComponentProviderService

        +
        public ComponentProviderService​(ComponentProviderService componentProviderService)
        +
        Copy constructor.
        +
        +
        Parameters:
        +
        componentProviderService - original instance.
        +
        +
      • +
      +
    • +
    +
    + +
    +
      +
    • + + +

      Method Detail

      + + + + + + + +
        +
      • +

        createClient

        +
        public static ComponentProviderService createClient()
        +
        Create new instance of ComponentProviderService. +

        + Contains *only* DefaultComponentProvider. Used for creating client instances (CDI/EJB container are + often confused and using them to retrieve instances leads to unstable results since the injection scope is not + properly defined for these cases). See https://java.net/jira/browse/WEBSOCKET_SPEC-197 and + https://java.net/jira/browse/WEBSOCKET_SPEC-196.

        +
        +
        Returns:
        +
        initialized ComponentProviderService.
        +
        +
      • +
      + + + +
        +
      • +

        getInstance

        +
        public <T> java.lang.Object getInstance​(java.lang.Class<T> c,
        +                                        Session session,
        +                                        ErrorCollector collector)
        +
        Provide an instance of class which is coupled to Session. +

        + The first time the method is called the provider creates an instance and caches it. + Next time the method is called the cached instance is returned.

        +
        +
        Type Parameters:
        +
        T - type of the provided instance.
        +
        Parameters:
        +
        c - Class whose instance will be provided.
        +
        session - session to which the instance belongs (think of this as a scope).
        +
        collector - error collector.
        +
        Returns:
        +
        instance
        +
        +
      • +
      + + + + + + + +
        +
      • +

        getInvocableMethod

        +
        public java.lang.reflect.Method getInvocableMethod​(java.lang.reflect.Method method)
        +
      • +
      + + + +
        +
      • +

        removeSession

        +
        public void removeSession​(Session session)
        +
        Remove Session from cache.
        +
        +
        Parameters:
        +
        session - to be removed.
        +
        +
      • +
      + + + +
        +
      • +

        getEndpointInstance

        +
        public <T> java.lang.Object getEndpointInstance​(java.lang.Class<T> endpointClass)
        +                                         throws java.lang.InstantiationException
        +
        This method is called by the container each time a new client + connects to the logical endpoint this configurator configures. + Developers may override this method to control instantiation of + endpoint instances in order to customize the initialization + of the endpoint instance, or manage them in some other way. + If the developer overrides this method, services like + dependency injection that are otherwise supported, for example, when + the implementation is part of the Java EE platform + may not be available. + The platform default implementation of this method returns a new + endpoint instance per call, thereby ensuring that there is one + endpoint instance per client, the default deployment cardinality.
        +
        +
        Type Parameters:
        +
        T - the type of the endpoint.
        +
        Parameters:
        +
        endpointClass - the class of the endpoint.
        +
        Returns:
        +
        an instance of the endpoint that will handle all + interactions from a new client.
        +
        Throws:
        +
        java.lang.InstantiationException - if there was an error producing the + endpoint instance.
        +
        See Also:
        +
        ServerEndpointConfig.Configurator.getEndpointInstance(Class)
        +
        +
      • +
      +
    • +
    +
    +
  • +
+
+
+
+ + + + diff --git a/apidocs/1.19/org/glassfish/tyrus/core/DebugContext.TracingThreshold.html b/apidocs/1.19/org/glassfish/tyrus/core/DebugContext.TracingThreshold.html new file mode 100644 index 00000000..5288f020 --- /dev/null +++ b/apidocs/1.19/org/glassfish/tyrus/core/DebugContext.TracingThreshold.html @@ -0,0 +1,393 @@ + + + + + +DebugContext.TracingThreshold (Tyrus 1.19 API) + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +

Enum DebugContext.TracingThreshold

+
+
+ +
+
    +
  • +
    +
    All Implemented Interfaces:
    +
    java.io.Serializable, java.lang.Comparable<DebugContext.TracingThreshold>
    +
    +
    +
    Enclosing class:
    +
    DebugContext
    +
    +
    +
    public static enum DebugContext.TracingThreshold
    +extends java.lang.Enum<DebugContext.TracingThreshold>
    +
    Tracing threshold - used for configuration granularity of information that will be sent in tracing headers.
    +
  • +
+
+
+
    +
  • + +
    +
      +
    • + + +

      Enum Constant Summary

      + + + + + + + + + + + + + + +
      Enum Constants 
      Enum ConstantDescription
      SUMMARY +
      A less verbose tracing, an equivalent to Level.FINER logging level.
      +
      TRACE +
      A more verbose tracing, an equivalent to Level.FINE logging level.
      +
      +
    • +
    +
    + +
    +
      +
    • + + +

      Method Summary

      + + + + + + + + + + + + + + + + + +
      All Methods Static Methods Concrete Methods 
      Modifier and TypeMethodDescription
      static DebugContext.TracingThresholdvalueOf​(java.lang.String name) +
      Returns the enum constant of this type with the specified name.
      +
      static DebugContext.TracingThreshold[]values() +
      Returns an array containing the constants of this enum type, in +the order they are declared.
      +
      +
        +
      • + + +

        Methods inherited from class java.lang.Enum

        +clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
      • +
      +
        +
      • + + +

        Methods inherited from class java.lang.Object

        +getClass, notify, notifyAll, wait, wait, wait
      • +
      +
    • +
    +
    +
  • +
+
+
+
    +
  • + +
    +
      +
    • + + +

      Enum Constant Detail

      + + + + + + + +
        +
      • +

        TRACE

        +
        public static final DebugContext.TracingThreshold TRACE
        +
        A more verbose tracing, an equivalent to Level.FINE logging level. +

        + The default tracing threshold.

        +
      • +
      +
    • +
    +
    + +
    +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        values

        +
        public static DebugContext.TracingThreshold[] values()
        +
        Returns an array containing the constants of this enum type, in +the order they are declared. This method may be used to iterate +over the constants as follows: +
        +for (DebugContext.TracingThreshold c : DebugContext.TracingThreshold.values())
        +    System.out.println(c);
        +
        +
        +
        Returns:
        +
        an array containing the constants of this enum type, in the order they are declared
        +
        +
      • +
      + + + +
        +
      • +

        valueOf

        +
        public static DebugContext.TracingThreshold valueOf​(java.lang.String name)
        +
        Returns the enum constant of this type with the specified name. +The string must match exactly an identifier used to declare an +enum constant in this type. (Extraneous whitespace characters are +not permitted.)
        +
        +
        Parameters:
        +
        name - the name of the enum constant to be returned.
        +
        Returns:
        +
        the enum constant with the specified name
        +
        Throws:
        +
        java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
        +
        java.lang.NullPointerException - if the argument is null
        +
        +
      • +
      +
    • +
    +
    +
  • +
+
+
+
+ + + + diff --git a/apidocs/1.19/org/glassfish/tyrus/core/DebugContext.TracingType.html b/apidocs/1.19/org/glassfish/tyrus/core/DebugContext.TracingType.html new file mode 100644 index 00000000..b4d8ba13 --- /dev/null +++ b/apidocs/1.19/org/glassfish/tyrus/core/DebugContext.TracingType.html @@ -0,0 +1,409 @@ + + + + + +DebugContext.TracingType (Tyrus 1.19 API) + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +

Enum DebugContext.TracingType

+
+
+
    +
  • java.lang.Object
  • +
  • + +
  • +
+
+ +
+
+
    +
  • + +
    +
      +
    • + + +

      Enum Constant Summary

      + + + + + + + + + + + + + + + + + + +
      Enum Constants 
      Enum ConstantDescription
      ALL +
      Tracing headers will be present in all handshake responses.
      +
      OFF +
      No tracing headers will be ever sent in handshake response.
      +
      ON_DEMAND +
      Tracing headers will be sent in handshake response only if X-Tyrus-Tracing-Accept header is present + in handshake request.
      +
      +
    • +
    +
    + +
    +
      +
    • + + +

      Method Summary

      + + + + + + + + + + + + + + + + + +
      All Methods Static Methods Concrete Methods 
      Modifier and TypeMethodDescription
      static DebugContext.TracingTypevalueOf​(java.lang.String name) +
      Returns the enum constant of this type with the specified name.
      +
      static DebugContext.TracingType[]values() +
      Returns an array containing the constants of this enum type, in +the order they are declared.
      +
      +
        +
      • + + +

        Methods inherited from class java.lang.Enum

        +clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
      • +
      +
        +
      • + + +

        Methods inherited from class java.lang.Object

        +getClass, notify, notifyAll, wait, wait, wait
      • +
      +
    • +
    +
    +
  • +
+
+
+
    +
  • + +
    +
      +
    • + + +

      Enum Constant Detail

      + + + +
        +
      • +

        OFF

        +
        public static final DebugContext.TracingType OFF
        +
        No tracing headers will be ever sent in handshake response.
        +
      • +
      + + + +
        +
      • +

        ON_DEMAND

        +
        public static final DebugContext.TracingType ON_DEMAND
        +
        Tracing headers will be sent in handshake response only if X-Tyrus-Tracing-Accept header is present + in handshake request.
        +
      • +
      + + + +
        +
      • +

        ALL

        +
        public static final DebugContext.TracingType ALL
        +
        Tracing headers will be present in all handshake responses.
        +
      • +
      +
    • +
    +
    + +
    +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        values

        +
        public static DebugContext.TracingType[] values()
        +
        Returns an array containing the constants of this enum type, in +the order they are declared. This method may be used to iterate +over the constants as follows: +
        +for (DebugContext.TracingType c : DebugContext.TracingType.values())
        +    System.out.println(c);
        +
        +
        +
        Returns:
        +
        an array containing the constants of this enum type, in the order they are declared
        +
        +
      • +
      + + + +
        +
      • +

        valueOf

        +
        public static DebugContext.TracingType valueOf​(java.lang.String name)
        +
        Returns the enum constant of this type with the specified name. +The string must match exactly an identifier used to declare an +enum constant in this type. (Extraneous whitespace characters are +not permitted.)
        +
        +
        Parameters:
        +
        name - the name of the enum constant to be returned.
        +
        Returns:
        +
        the enum constant with the specified name
        +
        Throws:
        +
        java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
        +
        java.lang.NullPointerException - if the argument is null
        +
        +
      • +
      +
    • +
    +
    +
  • +
+
+
+
+ + + + diff --git a/apidocs/1.19/org/glassfish/tyrus/core/DebugContext.Type.html b/apidocs/1.19/org/glassfish/tyrus/core/DebugContext.Type.html new file mode 100644 index 00000000..8f4eb48d --- /dev/null +++ b/apidocs/1.19/org/glassfish/tyrus/core/DebugContext.Type.html @@ -0,0 +1,398 @@ + + + + + +DebugContext.Type (Tyrus 1.19 API) + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +

Enum DebugContext.Type

+
+
+
    +
  • java.lang.Object
  • +
  • +
      +
    • java.lang.Enum<DebugContext.Type>
    • +
    • +
        +
      • org.glassfish.tyrus.core.DebugContext.Type
      • +
      +
    • +
    +
  • +
+
+
    +
  • +
    +
    All Implemented Interfaces:
    +
    java.io.Serializable, java.lang.Comparable<DebugContext.Type>
    +
    +
    +
    Enclosing class:
    +
    DebugContext
    +
    +
    +
    public static enum DebugContext.Type
    +extends java.lang.Enum<DebugContext.Type>
    +
    Type of the record - used to graphically distinguish these message types in the log.
    +
  • +
+
+
+
    +
  • + +
    + +
    + +
    +
      +
    • + + +

      Method Summary

      + + + + + + + + + + + + + + + + + +
      All Methods Static Methods Concrete Methods 
      Modifier and TypeMethodDescription
      static DebugContext.TypevalueOf​(java.lang.String name) +
      Returns the enum constant of this type with the specified name.
      +
      static DebugContext.Type[]values() +
      Returns an array containing the constants of this enum type, in +the order they are declared.
      +
      +
        +
      • + + +

        Methods inherited from class java.lang.Enum

        +clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
      • +
      +
        +
      • + + +

        Methods inherited from class java.lang.Object

        +getClass, notify, notifyAll, wait, wait, wait
      • +
      +
    • +
    +
    +
  • +
+
+
+
    +
  • + +
    + +
    + +
    +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        values

        +
        public static DebugContext.Type[] values()
        +
        Returns an array containing the constants of this enum type, in +the order they are declared. This method may be used to iterate +over the constants as follows: +
        +for (DebugContext.Type c : DebugContext.Type.values())
        +    System.out.println(c);
        +
        +
        +
        Returns:
        +
        an array containing the constants of this enum type, in the order they are declared
        +
        +
      • +
      + + + +
        +
      • +

        valueOf

        +
        public static DebugContext.Type valueOf​(java.lang.String name)
        +
        Returns the enum constant of this type with the specified name. +The string must match exactly an identifier used to declare an +enum constant in this type. (Extraneous whitespace characters are +not permitted.)
        +
        +
        Parameters:
        +
        name - the name of the enum constant to be returned.
        +
        Returns:
        +
        the enum constant with the specified name
        +
        Throws:
        +
        java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
        +
        java.lang.NullPointerException - if the argument is null
        +
        +
      • +
      +
    • +
    +
    +
  • +
+
+
+
+ + + + diff --git a/apidocs/1.19/org/glassfish/tyrus/core/DebugContext.html b/apidocs/1.19/org/glassfish/tyrus/core/DebugContext.html new file mode 100644 index 00000000..018723ab --- /dev/null +++ b/apidocs/1.19/org/glassfish/tyrus/core/DebugContext.html @@ -0,0 +1,585 @@ + + + + + +DebugContext (Tyrus 1.19 API) + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +

Class DebugContext

+
+
+
    +
  • java.lang.Object
  • +
  • +
      +
    • org.glassfish.tyrus.core.DebugContext
    • +
    +
  • +
+
+
    +
  • +
    +
    public class DebugContext
    +extends java.lang.Object
    +
    A Logger wrapper that gives logging records a common formatting and temporarily stores log + records and postpones their logging until they can be provided with a session ID. After a session ID has been + provided, messages are logged immediately. +

    + Log records are provided with a session ID, so that log records from a single upgrade request can be easily linked + together in a log of a busy server or client.

    +
    +
    Author:
    +
    Petr Janouch
    +
    +
  • +
+
+
+
    +
  • + +
    +
      +
    • + + +

      Nested Class Summary

      + + + + + + + + + + + + + + + + + + + + + + +
      Nested Classes 
      Modifier and TypeClassDescription
      static class DebugContext.TracingThreshold +
      Tracing threshold - used for configuration granularity of information that will be sent in tracing headers.
      +
      static class DebugContext.TracingType +
      Type of tracing - used for tracing configuration.
      +
      static class DebugContext.Type +
      Type of the record - used to graphically distinguish these message types in the log.
      +
      +
    • +
    +
    + +
    +
      +
    • + + +

      Constructor Summary

      + + + + + + + + + + + + + + +
      Constructors 
      ConstructorDescription
      DebugContext() +
      Constructor that configures tracing to be OFF.
      +
      DebugContext​(DebugContext.TracingThreshold tracingThreshold) +
      Constructor that configures tracing to be ON and accepts tracing threshold as a parameter.
      +
      +
    • +
    +
    + +
    +
      +
    • + + +

      Method Summary

      + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
      All Methods Instance Methods Concrete Methods 
      Modifier and TypeMethodDescription
      voidappendLogMessage​(java.util.logging.Logger logger, + java.util.logging.Level loggingLevel, + DebugContext.Type type, + java.lang.Object... messageParts) +
      Append a message to the log, the logging will be postponed until the message can be provided with a session ID.
      +
      voidappendLogMessageWithThrowable​(java.util.logging.Logger logger, + java.util.logging.Level loggingLevel, + DebugContext.Type type, + java.lang.Throwable t, + java.lang.Object... messageParts) +
      Append a message to the log, the logging will be postponed until the message can be provided with a session ID.
      +
      voidappendStandardOutputMessage​(DebugContext.Type type, + java.lang.String message) +
      Write a message to the standard output, the logging will be postponed until the message can be provided with + a session ID.
      +
      voidappendTraceMessage​(java.util.logging.Logger logger, + java.util.logging.Level loggingLevel, + DebugContext.Type type, + java.lang.Object... messageParts) +
      Append a message to the log and to the list of trace messages that are sent in handshake response.
      +
      voidappendTraceMessageWithThrowable​(java.util.logging.Logger logger, + java.util.logging.Level loggingLevel, + DebugContext.Type type, + java.lang.Throwable t, + java.lang.Object... messageParts) +
      Append a message to the log and to the list of trace messages that are sent in handshake response.
      +
      voidflush() +
      Write pending messages to the log.
      +
      java.util.Map<java.lang.String,​java.util.List<java.lang.String>>getTracingHeaders() +
      Get headers containing tracing messages.
      +
      voidsetSessionId​(java.lang.String sessionId) +
      Set a session ID that will be used as a common identifier for logged messages related to the same upgrade + request.
      +
      +
        +
      • + + +

        Methods inherited from class java.lang.Object

        +clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • +
      +
    • +
    +
    +
  • +
+
+
+
    +
  • + +
    +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        DebugContext

        +
        public DebugContext​(DebugContext.TracingThreshold tracingThreshold)
        +
        Constructor that configures tracing to be ON and accepts tracing threshold as a parameter.
        +
        +
        Parameters:
        +
        tracingThreshold - tracing threshold.
        +
        +
      • +
      + + + +
        +
      • +

        DebugContext

        +
        public DebugContext()
        +
        Constructor that configures tracing to be OFF.
        +
      • +
      +
    • +
    +
    + +
    +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        appendLogMessage

        +
        public void appendLogMessage​(java.util.logging.Logger logger,
        +                             java.util.logging.Level loggingLevel,
        +                             DebugContext.Type type,
        +                             java.lang.Object... messageParts)
        +
        Append a message to the log, the logging will be postponed until the message can be provided with a session ID. + Randomly generated session ID is used if a session has not been created.
        +
        +
        Parameters:
        +
        logger - logger to be used to log the message.
        +
        loggingLevel - message level.
        +
        type - type of the message.
        +
        messageParts - message parts that will be concatenated to create a log message.
        +
        +
      • +
      + + + +
        +
      • +

        appendTraceMessage

        +
        public void appendTraceMessage​(java.util.logging.Logger logger,
        +                               java.util.logging.Level loggingLevel,
        +                               DebugContext.Type type,
        +                               java.lang.Object... messageParts)
        +
        Append a message to the log and to the list of trace messages that are sent in handshake response. + The logging will be postponed until the message can be provided with a session ID. Randomly generated session ID + is used if a session has not been created.
        +
        +
        Parameters:
        +
        logger - logger to be used to log the message.
        +
        loggingLevel - message level.
        +
        type - type of the message.
        +
        messageParts - message parts that will be stringified and concatenated to create a log message.
        +
        +
      • +
      + + + +
        +
      • +

        appendLogMessageWithThrowable

        +
        public void appendLogMessageWithThrowable​(java.util.logging.Logger logger,
        +                                          java.util.logging.Level loggingLevel,
        +                                          DebugContext.Type type,
        +                                          java.lang.Throwable t,
        +                                          java.lang.Object... messageParts)
        +
        Append a message to the log, the logging will be postponed until the message can be provided with a session ID. + Randomly generated session ID is used if a session has not been created.
        +
        +
        Parameters:
        +
        logger - logger to be used to log the message.
        +
        loggingLevel - message level.
        +
        type - type of the message.
        +
        t - throwable that has been thrown.
        +
        messageParts - message parts that will be stringified and concatenated to create a log message.
        +
        +
      • +
      + + + +
        +
      • +

        appendTraceMessageWithThrowable

        +
        public void appendTraceMessageWithThrowable​(java.util.logging.Logger logger,
        +                                            java.util.logging.Level loggingLevel,
        +                                            DebugContext.Type type,
        +                                            java.lang.Throwable t,
        +                                            java.lang.Object... messageParts)
        +
        Append a message to the log and to the list of trace messages that are sent in handshake response. + The logging will be postponed until the message can be provided with a session ID. Randomly generated session ID + is used if a session has not been created.
        +
        +
        Parameters:
        +
        logger - logger to be used to log the message.
        +
        loggingLevel - message level.
        +
        type - type of the message.
        +
        t - throwable that has been thrown.
        +
        messageParts - message parts that will be stringified and concatenated to create a log message.
        +
        +
      • +
      + + + +
        +
      • +

        appendStandardOutputMessage

        +
        public void appendStandardOutputMessage​(DebugContext.Type type,
        +                                        java.lang.String message)
        +
        Write a message to the standard output, the logging will be postponed until the message can be provided with + a session ID. Randomly generated session ID is used if a session has not been created.
        +
        +
        Parameters:
        +
        message - message to be logged.
        +
        type - type of the message.
        +
        +
      • +
      + + + +
        +
      • +

        setSessionId

        +
        public void setSessionId​(java.lang.String sessionId)
        +
        Set a session ID that will be used as a common identifier for logged messages related to the same upgrade + request. Setting the session ID will cause the pending messages to be written into the log.
        +
        +
        Parameters:
        +
        sessionId - session ID.
        +
        +
      • +
      + + + +
        +
      • +

        flush

        +
        public void flush()
        +
        Write pending messages to the log.
        +
      • +
      + + + +
        +
      • +

        getTracingHeaders

        +
        public java.util.Map<java.lang.String,​java.util.List<java.lang.String>> getTracingHeaders()
        +
        Get headers containing tracing messages.
        +
        +
        Returns:
        +
        tracing headers.
        +
        +
      • +
      +
    • +
    +
    +
  • +
+
+
+
+ + + + diff --git a/apidocs/1.19/org/glassfish/tyrus/core/DefaultComponentProvider.html b/apidocs/1.19/org/glassfish/tyrus/core/DefaultComponentProvider.html new file mode 100644 index 00000000..6a850bb0 --- /dev/null +++ b/apidocs/1.19/org/glassfish/tyrus/core/DefaultComponentProvider.html @@ -0,0 +1,416 @@ + + + + + +DefaultComponentProvider (Tyrus 1.19 API) + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +

Class DefaultComponentProvider

+
+
+ +
+
    +
  • +
    +
    public class DefaultComponentProvider
    +extends ComponentProvider
    +
    Provides instances using reflection.
    +
    +
    Author:
    +
    Stepan Kopriva (stepan.kopriva at oracle.com)
    +
    +
  • +
+
+
+
    +
  • + +
    + +
    + +
    +
      +
    • + + +

      Method Summary

      + + + + + + + + + + + + + + + + + + + + + + + + + + + +
      All Methods Instance Methods Concrete Methods 
      Modifier and TypeMethodDescription
      <T> java.lang.Objectcreate​(java.lang.Class<T> toLoad) +
      Create new instance.
      +
      booleandestroy​(java.lang.Object o) +
      Destroys the given managed instance.
      +
      java.lang.reflect.MethodgetInvocableMethod​(java.lang.reflect.Method method) +
      Get the method which should be invoked instead provided one.
      +
      booleanisApplicable​(java.lang.Class<?> c) +
      Checks whether this component provider is able to provide an instance of given Class.
      +
      +
        +
      • + + +

        Methods inherited from class java.lang.Object

        +clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • +
      +
    • +
    +
    +
  • +
+
+
+
    +
  • + +
    +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        DefaultComponentProvider

        +
        public DefaultComponentProvider()
        +
      • +
      +
    • +
    +
    + +
    +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        isApplicable

        +
        public boolean isApplicable​(java.lang.Class<?> c)
        +
        Description copied from class: ComponentProvider
        +
        Checks whether this component provider is able to provide an instance of given Class.
        +
        +
        Specified by:
        +
        isApplicable in class ComponentProvider
        +
        Parameters:
        +
        c - Class to be checked.
        +
        Returns:
        +
        true iff this ComponentProvider is able to create an instance of the given Class.
        +
        +
      • +
      + + + +
        +
      • +

        create

        +
        public <T> java.lang.Object create​(java.lang.Class<T> toLoad)
        +
        Description copied from class: ComponentProvider
        +
        Create new instance.
        +
        +
        Specified by:
        +
        create in class ComponentProvider
        +
        Type Parameters:
        +
        T - type of the created object.
        +
        Parameters:
        +
        toLoad - Class to be created.
        +
        Returns:
        +
        instance, iff found, null otherwise.
        +
        +
      • +
      + + + +
        +
      • +

        destroy

        +
        public boolean destroy​(java.lang.Object o)
        +
        Description copied from class: ComponentProvider
        +
        Destroys the given managed instance.
        +
        +
        Specified by:
        +
        destroy in class ComponentProvider
        +
        Parameters:
        +
        o - instance to be destroyed.
        +
        Returns:
        +
        true iff the instance was coupled to this ComponentProvider, false otherwise.
        +
        +
      • +
      + + + +
        +
      • +

        getInvocableMethod

        +
        public java.lang.reflect.Method getInvocableMethod​(java.lang.reflect.Method method)
        +
        Description copied from class: ComponentProvider
        +
        Get the method which should be invoked instead provided one. +

        + Useful mainly for EJB container support, where methods from endpoint class cannot be invoked directly - Tyrus + needs + to use method declared on remote interface. +

        + Default implementation returns method provided as parameter.

        +
        +
        Overrides:
        +
        getInvocableMethod in class ComponentProvider
        +
        Parameters:
        +
        method - method from endpoint class.
        +
        Returns:
        +
        method which should be invoked.
        +
        +
      • +
      +
    • +
    +
    +
  • +
+
+
+
+ + + + diff --git a/apidocs/1.19/org/glassfish/tyrus/core/ErrorCollector.html b/apidocs/1.19/org/glassfish/tyrus/core/ErrorCollector.html new file mode 100644 index 00000000..e9e250b6 --- /dev/null +++ b/apidocs/1.19/org/glassfish/tyrus/core/ErrorCollector.html @@ -0,0 +1,362 @@ + + + + + +ErrorCollector (Tyrus 1.19 API) + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +

Class ErrorCollector

+
+
+
    +
  • java.lang.Object
  • +
  • +
      +
    • org.glassfish.tyrus.core.ErrorCollector
    • +
    +
  • +
+
+
    +
  • +
    +
    public class ErrorCollector
    +extends java.lang.Object
    +
    Used to collect deployment errors to present these to the user together.
    +
    +
    Author:
    +
    Stepan Kopriva (stepan.kopriva at oracle.com)
    +
    +
  • +
+
+
+ +
+
+
    +
  • + +
    +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        ErrorCollector

        +
        public ErrorCollector()
        +
      • +
      +
    • +
    +
    + +
    +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        addException

        +
        public void addException​(java.lang.Exception exception)
        +
        Add Exception to the collector.
        +
        +
        Parameters:
        +
        exception - to be collected.
        +
        +
      • +
      + + + +
        +
      • +

        composeComprehensiveException

        +
        public DeploymentException composeComprehensiveException()
        +
        Create DeploymentException with message concatenated from collected exceptions.
        +
        +
        Returns:
        +
        comprehensive exception.
        +
        +
      • +
      + + + +
        +
      • +

        isEmpty

        +
        public boolean isEmpty()
        +
        Checks whether any exception has been logged.
        +
        +
        Returns:
        +
        true iff no exception was logged, false otherwise.
        +
        +
      • +
      +
    • +
    +
    +
  • +
+
+
+
+ + + + diff --git a/apidocs/1.19/org/glassfish/tyrus/core/ExecutorServiceProvider.html b/apidocs/1.19/org/glassfish/tyrus/core/ExecutorServiceProvider.html new file mode 100644 index 00000000..84485658 --- /dev/null +++ b/apidocs/1.19/org/glassfish/tyrus/core/ExecutorServiceProvider.html @@ -0,0 +1,344 @@ + + + + + +ExecutorServiceProvider (Tyrus 1.19 API) + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +

Class ExecutorServiceProvider

+
+
+
    +
  • java.lang.Object
  • +
  • +
      +
    • org.glassfish.tyrus.core.ExecutorServiceProvider
    • +
    +
  • +
+
+
    +
  • +
    +
    Direct Known Subclasses:
    +
    BaseContainer
    +
    +
    +
    public abstract class ExecutorServiceProvider
    +extends java.lang.Object
    +
    +
    Author:
    +
    Stepan Kopriva (stepan.kopriva at oracle.com)
    +
    +
  • +
+
+
+
    +
  • + +
    + +
    + +
    +
      +
    • + + +

      Method Summary

      + + + + + + + + + + + + + + + + + +
      All Methods Instance Methods Abstract Methods 
      Modifier and TypeMethodDescription
      abstract java.util.concurrent.ExecutorServicegetExecutorService() +
      Get the ExecutorService.
      +
      abstract java.util.concurrent.ScheduledExecutorServicegetScheduledExecutorService() +
      Get the ScheduledExecutorService.
      +
      +
        +
      • + + +

        Methods inherited from class java.lang.Object

        +clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • +
      +
    • +
    +
    +
  • +
+
+
+
    +
  • + +
    +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        ExecutorServiceProvider

        +
        public ExecutorServiceProvider()
        +
      • +
      +
    • +
    +
    + +
    +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        getExecutorService

        +
        public abstract java.util.concurrent.ExecutorService getExecutorService()
        +
        Get the ExecutorService.
        +
        +
        Returns:
        +
        executor service.
        +
        +
      • +
      + + + +
        +
      • +

        getScheduledExecutorService

        +
        public abstract java.util.concurrent.ScheduledExecutorService getScheduledExecutorService()
        +
        Get the ScheduledExecutorService.
        +
        +
        Returns:
        +
        scheduled executor service.
        +
        +
      • +
      +
    • +
    +
    +
  • +
+
+
+
+ + + + diff --git a/apidocs/1.19/org/glassfish/tyrus/core/Handshake.html b/apidocs/1.19/org/glassfish/tyrus/core/Handshake.html new file mode 100644 index 00000000..51a9e1b4 --- /dev/null +++ b/apidocs/1.19/org/glassfish/tyrus/core/Handshake.html @@ -0,0 +1,411 @@ + + + + + +Handshake (Tyrus 1.19 API) + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +

Class Handshake

+
+
+
    +
  • java.lang.Object
  • +
  • +
      +
    • org.glassfish.tyrus.core.Handshake
    • +
    +
  • +
+
+
    +
  • +
    +
    public final class Handshake
    +extends java.lang.Object
    +
    Class responsible for performing and validating handshake.
    +
    +
    Author:
    +
    Justin Lee, Pavel Bucek (pavel.bucek at oracle.com)
    +
    +
  • +
+
+
+ +
+
+
    +
  • + +
    +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        createClientHandshake

        +
        public static Handshake createClientHandshake​(RequestContext webSocketRequest)
        +
        Client-side handshake.
        +
        +
        Parameters:
        +
        webSocketRequest - request representation to be modified for use as WebSocket handshake request.
        +
        Returns:
        +
        handshake instance.
        +
        +
      • +
      + + + + + + + +
        +
      • +

        setSubProtocols

        +
        public void setSubProtocols​(java.util.List<java.lang.String> subProtocols)
        +
        Client side only - set the list of supported subprotocols.
        +
        +
        Parameters:
        +
        subProtocols - list of supported subprotocol.
        +
        +
      • +
      + + + +
        +
      • +

        setExtensions

        +
        public void setExtensions​(java.util.List<Extension> extensions)
        +
        Client side only - set the list of supported extensions.
        +
        +
        Parameters:
        +
        extensions - list of supported extensions.
        +
        +
      • +
      + + + + + + + +
        +
      • +

        validateServerResponse

        +
        public void validateServerResponse​(UpgradeResponse response)
        +                            throws HandshakeException
        +
        Client side only - validate server response.
        +
        +
        Parameters:
        +
        response - response to be validated.
        +
        Throws:
        +
        HandshakeException - when HTTP Status of received response is not 101 - Switching protocols.
        +
        +
      • +
      + + + +
        +
      • +

        updateHostAndOrigin

        +
        public static void updateHostAndOrigin​(UpgradeRequest upgradeRequest)
        +
        Client side only - Generate host and origin header and put them to the upgrade request headers.
        +
        +
        Parameters:
        +
        upgradeRequest - upgrade request to be updated.
        +
        +
      • +
      +
    • +
    +
    +
  • +
+
+
+
+ + + + diff --git a/apidocs/1.19/org/glassfish/tyrus/core/HandshakeException.html b/apidocs/1.19/org/glassfish/tyrus/core/HandshakeException.html new file mode 100644 index 00000000..fd5e4c59 --- /dev/null +++ b/apidocs/1.19/org/glassfish/tyrus/core/HandshakeException.html @@ -0,0 +1,377 @@ + + + + + +HandshakeException (Tyrus 1.19 API) + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +

Class HandshakeException

+
+
+
    +
  • java.lang.Object
  • +
  • +
      +
    • java.lang.Throwable
    • +
    • +
        +
      • java.lang.Exception
      • +
      • +
          +
        • org.glassfish.tyrus.core.HandshakeException
        • +
        +
      • +
      +
    • +
    +
  • +
+
+
    +
  • +
    +
    All Implemented Interfaces:
    +
    java.io.Serializable
    +
    +
    +
    Direct Known Subclasses:
    +
    AuthenticationException, RedirectException, RetryAfterException
    +
    +
    +
    public class HandshakeException
    +extends java.lang.Exception
    +
    Exception, which describes the error, occurred during the handshake phase.
    +
    +
    Author:
    +
    Alexey Stashok, Pavel Bucek (pavel.bucek at oracle.com)
    +
    See Also:
    +
    Serialized Form
    +
    +
  • +
+
+
+
    +
  • + +
    +
      +
    • + + +

      Constructor Summary

      + + + + + + + + + + + + + + +
      Constructors 
      ConstructorDescription
      HandshakeException​(int httpStatusCode, + java.lang.String message) +
      Constructor.
      +
      HandshakeException​(java.lang.String message) +
      Construct a HandshakeException.
      +
      +
    • +
    +
    + +
    +
      +
    • + + +

      Method Summary

      + + + + + + + + + + + + +
      All Methods Instance Methods Concrete Methods 
      Modifier and TypeMethodDescription
      intgetHttpStatusCode() +
      Get the error code.
      +
      +
        +
      • + + +

        Methods inherited from class java.lang.Throwable

        +addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
      • +
      +
        +
      • + + +

        Methods inherited from class java.lang.Object

        +clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
      • +
      +
    • +
    +
    +
  • +
+
+
+
    +
  • + +
    +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        HandshakeException

        +
        public HandshakeException​(java.lang.String message)
        +
        Construct a HandshakeException. HTTP status code will be set to 500.
        +
        +
        Parameters:
        +
        message - error description
        +
        +
      • +
      + + + +
        +
      • +

        HandshakeException

        +
        public HandshakeException​(int httpStatusCode,
        +                          java.lang.String message)
        +
        Constructor.
        +
        +
        Parameters:
        +
        httpStatusCode - http status code to be set to response.
        +
        message - the detail message. The detail message is saved for later retrieval by the Throwable.getMessage() method.
        +
        +
      • +
      +
    • +
    +
    + +
    +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        getHttpStatusCode

        +
        public int getHttpStatusCode()
        +
        Get the error code.
        +
        +
        Returns:
        +
        the error code.
        +
        +
      • +
      +
    • +
    +
    +
  • +
+
+
+
+ + + + diff --git a/apidocs/1.19/org/glassfish/tyrus/core/MaskingKeyGenerator.html b/apidocs/1.19/org/glassfish/tyrus/core/MaskingKeyGenerator.html new file mode 100644 index 00000000..3271da10 --- /dev/null +++ b/apidocs/1.19/org/glassfish/tyrus/core/MaskingKeyGenerator.html @@ -0,0 +1,279 @@ + + + + + +MaskingKeyGenerator (Tyrus 1.19 API) + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +

Interface MaskingKeyGenerator

+
+
+
+
    +
  • +
    +
    @Beta
    +public interface MaskingKeyGenerator
    +
    Can be implemented to generate masking keys. +

    + The implementation must be thread safe. +

    + Tyrus by default uses the following implementation: +

    +     new MaskingKeyGenerator() {
    +
    +          private final SecureRandom secureRandom = new SecureRandom();
    +
    +          public int nextInt() {
    +              return secureRandom.nextInt();
    +          }
    +      };
    + 
    +
    +
    Author:
    +
    Petr Janouch
    +
    +
  • +
+
+
+
    +
  • + +
    + +
    +
  • +
+
+
+
    +
  • + +
    +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        nextInt

        +
        int nextInt()
        +
        Return next random int similarly to Random.nextInt().
        +
        +
        Returns:
        +
        next random value.
        +
        +
      • +
      +
    • +
    +
    +
  • +
+
+
+
+ + + + diff --git a/apidocs/1.19/org/glassfish/tyrus/core/MaxSessions.html b/apidocs/1.19/org/glassfish/tyrus/core/MaxSessions.html new file mode 100644 index 00000000..c58c67d5 --- /dev/null +++ b/apidocs/1.19/org/glassfish/tyrus/core/MaxSessions.html @@ -0,0 +1,271 @@ + + + + + +MaxSessions (Tyrus 1.19 API) + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +

Annotation Type MaxSessions

+
+
+
+
    +
  • +
    +
    @Retention(RUNTIME)
    +@Target(TYPE)
    +public @interface MaxSessions
    +
    This annotation may be used to annotate server endpoints as a optional annotation + to ServerEndpoint. When number of maximal open + sessions is exceeded every new attempt to open session is closed with + CloseReason.CloseCodes.TRY_AGAIN_LATER. + If value less then 1 is specified, no limit will be applied. + Annotation example: +
    
    + @MaxSessions(100)
    + @ServerEndpoint("/limited-resources")
    + public class LimitedEndpoint {
    + }
    + 
    +

    + Maximal number of open sessions can be also specified programmatically + using TyrusServerEndpointConfig.Builder.maxSessions(int). +

    +
    +
    Author:
    +
    Ondrej Kosatka (ondrej.kosatka at oracle.com)
    +
    +
  • +
+
+
+
    +
  • + +
    +
      +
    • + + +

      Required Element Summary

      + + + + + + + + + + + + +
      Required Elements 
      Modifier and TypeRequired ElementDescription
      intvalue +
      Maximal number of open sessions.
      +
      +
    • +
    +
    +
  • +
+
+
+
    +
  • + +
    +
      +
    • + + +

      Element Detail

      + + + +
        +
      • +

        value

        +
        int value
        +
        Maximal number of open sessions.
        +
        +
        Returns:
        +
        maximal number of open sessions.
        +
        +
      • +
      +
    • +
    +
    +
  • +
+
+
+
+ + + + diff --git a/apidocs/1.19/org/glassfish/tyrus/core/MessageHandlerManager.html b/apidocs/1.19/org/glassfish/tyrus/core/MessageHandlerManager.html new file mode 100644 index 00000000..cbd5aeca --- /dev/null +++ b/apidocs/1.19/org/glassfish/tyrus/core/MessageHandlerManager.html @@ -0,0 +1,494 @@ + + + + + +MessageHandlerManager (Tyrus 1.19 API) + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +

Class MessageHandlerManager

+
+
+
    +
  • java.lang.Object
  • +
  • +
      +
    • org.glassfish.tyrus.core.MessageHandlerManager
    • +
    +
  • +
+
+
    +
  • +
    +
    public class MessageHandlerManager
    +extends java.lang.Object
    +
    Manages registered MessageHandlers and checks whether the new ones may be registered.
    +
    +
    Author:
    +
    Stepan Kopriva (stepan.kopriva at oracle.com), Pavel Bucek (pavel.bucek at oracle.com)
    +
    See Also:
    +
    MessageHandler, +OnMessage
    +
    +
  • +
+
+
+ +
+
+
    +
  • + +
    +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        MessageHandlerManager

        +
        public MessageHandlerManager()
        +
        Construct manager with no decoders.
        +
      • +
      +
    • +
    +
    + +
    +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        fromDecoderClasses

        +
        public static MessageHandlerManager fromDecoderClasses​(java.util.List<java.lang.Class<? extends Decoder>> decoderClasses)
        +
        Construct manager.
        +
        +
        Parameters:
        +
        decoderClasses - registered Decoders.
        +
        Returns:
        +
        constructed message handler manager.
        +
        +
      • +
      + + + +
        +
      • +

        addMessageHandler

        +
        public void addMessageHandler​(MessageHandler handler)
        +                       throws java.lang.IllegalStateException
        +
        Add MessageHandler to the manager.
        +
        +
        Parameters:
        +
        handler - MessageHandler to be added to the manager.
        +
        Throws:
        +
        java.lang.IllegalStateException
        +
        +
      • +
      + + + +
        +
      • +

        addMessageHandler

        +
        public <T> void addMessageHandler​(java.lang.Class<T> clazz,
        +                                  MessageHandler.Whole<T> handler)
        +                           throws java.lang.IllegalStateException
        +
        Add MessageHandler.Whole to the manager.
        +
        +
        Type Parameters:
        +
        T - type of message to be handled.
        +
        Parameters:
        +
        clazz - type handled by MessageHandler.
        +
        handler - MessageHandler to be added.
        +
        Throws:
        +
        java.lang.IllegalStateException - when the message handler cannot be added.
        +
        +
      • +
      + + + +
        +
      • +

        addMessageHandler

        +
        public <T> void addMessageHandler​(java.lang.Class<T> clazz,
        +                                  MessageHandler.Partial<T> handler)
        +                           throws java.lang.IllegalStateException
        +
        Add MessageHandler.Partial to the manager.
        +
        +
        Type Parameters:
        +
        T - type of message to be handled.
        +
        Parameters:
        +
        clazz - type handled by MessageHandler.
        +
        handler - MessageHandler to be added.
        +
        Throws:
        +
        java.lang.IllegalStateException - when the message handler cannot be added.
        +
        +
      • +
      + + + +
        +
      • +

        removeMessageHandler

        +
        public void removeMessageHandler​(MessageHandler handler)
        +
        Remove MessageHandler from the manager.
        +
        +
        Parameters:
        +
        handler - handler which will be removed.
        +
        +
      • +
      + + + + + + + +
        +
      • +

        getOrderedWholeMessageHandlers

        +
        public java.util.List<java.util.Map.Entry<java.lang.Class<?>,​MessageHandler>> getOrderedWholeMessageHandlers()
        +
      • +
      + + + +
        +
      • +

        isReaderHandlerPresent

        +
        public boolean isReaderHandlerPresent()
        +
      • +
      + + + +
        +
      • +

        isInputStreamHandlerPresent

        +
        public boolean isInputStreamHandlerPresent()
        +
      • +
      +
    • +
    +
    +
  • +
+
+
+
+ + + + diff --git a/apidocs/1.19/org/glassfish/tyrus/core/OsgiRegistry.html b/apidocs/1.19/org/glassfish/tyrus/core/OsgiRegistry.html new file mode 100644 index 00000000..7f4ea19f --- /dev/null +++ b/apidocs/1.19/org/glassfish/tyrus/core/OsgiRegistry.html @@ -0,0 +1,401 @@ + + + + + +OsgiRegistry (Tyrus 1.19 API) + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +

Class OsgiRegistry

+
+
+
    +
  • java.lang.Object
  • +
  • +
      +
    • org.glassfish.tyrus.core.OsgiRegistry
    • +
    +
  • +
+
+
    +
  • +
    +
    All Implemented Interfaces:
    +
    java.util.EventListener, org.osgi.framework.BundleListener, org.osgi.framework.SynchronousBundleListener
    +
    +
    +
    public final class OsgiRegistry
    +extends java.lang.Object
    +implements org.osgi.framework.SynchronousBundleListener
    +
    Taken from Jersey 2. Utility class to deal with OSGi runtime specific behavior. + This is mainly to handle META-INF/services lookup + and generic/application class lookup issue in OSGi. +

    + When OSGi runtime is detected by the ServiceFinder class, + an instance of OsgiRegistry is created and associated with given + OSGi BundleContext. META-INF/services entries are then being accessed + via the OSGi Bundle API as direct ClassLoader#getResource() method invocation + does not work in this case within OSGi.

    +
    +
    Author:
    +
    Jakub Podlesak (jakub.podlesak at oracle.com)
    +
    +
  • +
+
+
+
    +
  • + +
    +
      +
    • + + +

      Method Summary

      + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and TypeMethodDescription
      voidbundleChanged​(org.osgi.framework.BundleEvent event) 
      java.lang.Class<?>classForNameWithException​(java.lang.String className) +
      Get the Class from the class name.
      +
      static OsgiRegistrygetInstance() +
      Returns an OsgiRegistry instance.
      +
      java.util.Enumeration<java.net.URL>getPackageResources​(java.lang.String packagePath, + java.lang.ClassLoader classLoader) 
      java.util.ResourceBundlegetResourceBundle​(java.lang.String bundleName) +
      Tries to load resource bundle via OSGi means.
      +
      voidhookUp() +
      Will hook up this instance with the OSGi runtime.
      +
      +
        +
      • + + +

        Methods inherited from class java.lang.Object

        +clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • +
      +
    • +
    +
    +
  • +
+
+
+
    +
  • + +
    +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        getInstance

        +
        public static OsgiRegistry getInstance()
        +
        Returns an OsgiRegistry instance. Call this method only if sure that the application is running in OSGi + environment, otherwise a call to this method can lead to an ClassNotFoundException.
        +
        +
        Returns:
        +
        an OsgiRegistry instance.
        +
        +
      • +
      + + + +
        +
      • +

        bundleChanged

        +
        public void bundleChanged​(org.osgi.framework.BundleEvent event)
        +
        +
        Specified by:
        +
        bundleChanged in interface org.osgi.framework.BundleListener
        +
        +
      • +
      + + + +
        +
      • +

        getPackageResources

        +
        public java.util.Enumeration<java.net.URL> getPackageResources​(java.lang.String packagePath,
        +                                                               java.lang.ClassLoader classLoader)
        +
      • +
      + + + +
        +
      • +

        classForNameWithException

        +
        public java.lang.Class<?> classForNameWithException​(java.lang.String className)
        +                                             throws java.lang.ClassNotFoundException
        +
        Get the Class from the class name. +

        + The context class loader will be utilized if accessible and non-null. + Otherwise the defining class loader of this class will + be utilized.

        +
        +
        Parameters:
        +
        className - the class name.
        +
        Returns:
        +
        the Class, otherwise null if the class cannot be found.
        +
        Throws:
        +
        java.lang.ClassNotFoundException - if the class cannot be found.
        +
        +
      • +
      + + + +
        +
      • +

        getResourceBundle

        +
        public java.util.ResourceBundle getResourceBundle​(java.lang.String bundleName)
        +
        Tries to load resource bundle via OSGi means. No caching involved here, + as localization properties are being cached in Localizer class already.
        +
        +
        Parameters:
        +
        bundleName - name of the resource bundle to load
        +
        Returns:
        +
        resource bundle instance if found, null otherwise
        +
        +
      • +
      + + + +
        +
      • +

        hookUp

        +
        public void hookUp()
        +
        Will hook up this instance with the OSGi runtime. + This is to actually update SPI provider lookup and class loading mechanisms in Jersey + to utilize OSGi features.
        +
      • +
      +
    • +
    +
    +
  • +
+
+
+
+ + + + diff --git a/apidocs/1.19/org/glassfish/tyrus/core/ProtocolException.html b/apidocs/1.19/org/glassfish/tyrus/core/ProtocolException.html new file mode 100644 index 00000000..11eca4cb --- /dev/null +++ b/apidocs/1.19/org/glassfish/tyrus/core/ProtocolException.html @@ -0,0 +1,356 @@ + + + + + +ProtocolException (Tyrus 1.19 API) + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +

Class ProtocolException

+
+
+
    +
  • java.lang.Object
  • +
  • + +
  • +
+
+
    +
  • +
    +
    All Implemented Interfaces:
    +
    java.io.Serializable
    +
    +
    +
    public class ProtocolException
    +extends WebSocketException
    +
    Represents issue with parsing or producing websocket frame.
    +
    +
    Author:
    +
    Pavel Bucek (pavel.bucek at oracle.com)
    +
    See Also:
    +
    Serialized Form
    +
    +
  • +
+
+
+
    +
  • + +
    +
      +
    • + + +

      Constructor Summary

      + + + + + + + + + + +
      Constructors 
      ConstructorDescription
      ProtocolException​(java.lang.String reasonPhrase) 
      +
    • +
    +
    + +
    +
      +
    • + + +

      Method Summary

      + + + + + + + + + + + + +
      All Methods Instance Methods Concrete Methods 
      Modifier and TypeMethodDescription
      CloseReasongetCloseReason() +
      Get close reason.
      +
      +
        +
      • + + +

        Methods inherited from class java.lang.Throwable

        +addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
      • +
      +
        +
      • + + +

        Methods inherited from class java.lang.Object

        +clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
      • +
      +
    • +
    +
    +
  • +
+
+
+
    +
  • + +
    +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        ProtocolException

        +
        public ProtocolException​(java.lang.String reasonPhrase)
        +
      • +
      +
    • +
    +
    + +
    + +
    +
  • +
+
+
+
+ + + + diff --git a/apidocs/1.19/org/glassfish/tyrus/core/ProtocolHandler.html b/apidocs/1.19/org/glassfish/tyrus/core/ProtocolHandler.html new file mode 100644 index 00000000..ff180396 --- /dev/null +++ b/apidocs/1.19/org/glassfish/tyrus/core/ProtocolHandler.html @@ -0,0 +1,788 @@ + + + + + +ProtocolHandler (Tyrus 1.19 API) + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +

Class ProtocolHandler

+
+
+
    +
  • java.lang.Object
  • +
  • +
      +
    • org.glassfish.tyrus.core.ProtocolHandler
    • +
    +
  • +
+
+
    +
  • +
    +
    public final class ProtocolHandler
    +extends java.lang.Object
    +
    Tyrus protocol handler. +

    + Responsible for framing and unframing raw websocket frames. Tyrus creates exactly one instance per Session.

    +
  • +
+
+
+ +
+
+
    +
  • + +
    + +
    + +
    +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        setWriter

        +
        public void setWriter​(Writer writer)
        +
        Set Writer instance. +

        + The set instance is used for "sending" all outgoing WebSocket frames.

        +
        +
        Parameters:
        +
        writer - Writer to be set.
        +
        +
      • +
      + + + +
        +
      • +

        hasExtensions

        +
        public boolean hasExtensions()
        +
        Returns true when current connection has some negotiated extension.
        +
        +
        Returns:
        +
        true if there is at least one negotiated extension associated to this connection, false + otherwise.
        +
        +
      • +
      + + + + + + + +
        +
      • +

        setExtensions

        +
        public void setExtensions​(java.util.List<Extension> extensions)
        +
        Client side. Set extensions negotiated for this WebSocket session/connection.
        +
        +
        Parameters:
        +
        extensions - list of negotiated extensions. Can be null.
        +
        +
      • +
      + + + +
        +
      • +

        setWebSocket

        +
        public void setWebSocket​(TyrusWebSocket webSocket)
        +
        Client side. Set WebSocket.
        +
        +
        Parameters:
        +
        webSocket - client WebSocket connection.
        +
        +
      • +
      + + + +
        +
      • +

        setExtensionContext

        +
        public void setExtensionContext​(ExtendedExtension.ExtensionContext extensionContext)
        +
        Client side. Set extension context.
        +
        +
        Parameters:
        +
        extensionContext - extension context.
        +
        +
      • +
      + + + +
        +
      • +

        setMessageEventListener

        +
        public void setMessageEventListener​(MessageEventListener messageEventListener)
        +
        Set message event listener.
        +
        +
        Parameters:
        +
        messageEventListener - message event listener.
        +
        +
      • +
      + + + +
        +
      • +

        send

        +
        @Deprecated
        +public java.util.concurrent.Future<Frame> send​(byte[] data)
        +
        Deprecated.
        +
      • +
      + + + +
        +
      • +

        send

        +
        public java.util.concurrent.Future<Frame> send​(byte[] data,
        +                                               WriterInfo writerInfo)
        +
      • +
      + + + +
        +
      • +

        send

        +
        @Deprecated
        +public void send​(byte[] data,
        +                 SendHandler handler)
        +
        Deprecated.
        +
      • +
      + + + + + + + +
        +
      • +

        send

        +
        @Deprecated
        +public java.util.concurrent.Future<Frame> send​(java.lang.String data)
        +
        Deprecated.
        +
      • +
      + + + +
        +
      • +

        send

        +
        public java.util.concurrent.Future<Frame> send​(java.lang.String data,
        +                                               WriterInfo writerInfo)
        +
      • +
      + + + +
        +
      • +

        send

        +
        @Deprecated
        +public void send​(java.lang.String data,
        +                 SendHandler handler)
        +
        Deprecated.
        +
      • +
      + + + +
        +
      • +

        send

        +
        public void send​(java.lang.String data,
        +                 SendHandler handler,
        +                 WriterInfo writerInfo)
        +
      • +
      + + + +
        +
      • +

        sendRawFrame

        +
        public java.util.concurrent.Future<Frame> sendRawFrame​(java.nio.ByteBuffer data)
        +
        Raw frame is always whole (not partial).
        +
        +
        Parameters:
        +
        data - serialized frame.
        +
        Returns:
        +
        send future.
        +
        +
      • +
      + + + +
        +
      • +

        stream

        +
        @Deprecated
        +public java.util.concurrent.Future<Frame> stream​(boolean last,
        +                                                 byte[] bytes,
        +                                                 int off,
        +                                                 int len)
        +
        Deprecated.
        +
      • +
      + + + +
        +
      • +

        stream

        +
        public java.util.concurrent.Future<Frame> stream​(boolean last,
        +                                                 byte[] bytes,
        +                                                 int off,
        +                                                 int len,
        +                                                 WriterInfo writerInfo)
        +
      • +
      + + + +
        +
      • +

        stream

        +
        @Deprecated
        +public java.util.concurrent.Future<Frame> stream​(boolean last,
        +                                                 java.lang.String fragment)
        +
        Deprecated.
        +
      • +
      + + + +
        +
      • +

        stream

        +
        public java.util.concurrent.Future<Frame> stream​(boolean last,
        +                                                 java.lang.String fragment,
        +                                                 WriterInfo writerInfo)
        +
      • +
      + + + +
        +
      • +

        close

        +
        public java.util.concurrent.Future<Frame> close​(int code,
        +                                                java.lang.String reason)
        +
      • +
      + + + +
        +
      • +

        unframe

        +
        public Frame unframe​(java.nio.ByteBuffer buffer)
        +
        TODO!
        +
        +
        Parameters:
        +
        buffer - TODO.
        +
        Returns:
        +
        TODO.
        +
        +
      • +
      + + + +
        +
      • +

        process

        +
        public void process​(Frame frame,
        +                    TyrusWebSocket socket)
        +
        TODO. +

        + called after Extension execution. +

        + validates frame + processes its content

        +
        +
        Parameters:
        +
        frame - TODO.
        +
        socket - TODO.
        +
        +
      • +
      +
    • +
    +
    +
  • +
+
+
+
+ + + + diff --git a/apidocs/1.19/org/glassfish/tyrus/core/ReflectionHelper.ClassTypePair.html b/apidocs/1.19/org/glassfish/tyrus/core/ReflectionHelper.ClassTypePair.html new file mode 100644 index 00000000..c99918d4 --- /dev/null +++ b/apidocs/1.19/org/glassfish/tyrus/core/ReflectionHelper.ClassTypePair.html @@ -0,0 +1,352 @@ + + + + + +ReflectionHelper.ClassTypePair (Tyrus 1.19 API) + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +

Class ReflectionHelper.ClassTypePair

+
+
+
    +
  • java.lang.Object
  • +
  • +
      +
    • org.glassfish.tyrus.core.ReflectionHelper.ClassTypePair
    • +
    +
  • +
+
+
    +
  • +
    +
    Enclosing class:
    +
    ReflectionHelper
    +
    +
    +
    public static class ReflectionHelper.ClassTypePair
    +extends java.lang.Object
    +
    A tuple consisting of a class and type of the class.
    +
  • +
+
+
+
    +
  • + +
    +
      +
    • + + +

      Field Summary

      + + + + + + + + + + + + + + + + + +
      Fields 
      Modifier and TypeFieldDescription
      java.lang.Classc +
      The class.
      +
      java.lang.reflect.Typet +
      The type of the class.
      +
      +
    • +
    +
    + +
    +
      +
    • + + +

      Constructor Summary

      + + + + + + + + + + + + + + +
      Constructors 
      ConstructorDescription
      ClassTypePair​(java.lang.Class c) 
      ClassTypePair​(java.lang.Class c, + java.lang.reflect.Type t) 
      +
    • +
    +
    + +
    +
      +
    • + + +

      Method Summary

      +
        +
      • + + +

        Methods inherited from class java.lang.Object

        +clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • +
      +
    • +
    +
    +
  • +
+
+
+
    +
  • + +
    +
      +
    • + + +

      Field Detail

      + + + +
        +
      • +

        c

        +
        public final java.lang.Class c
        +
        The class.
        +
      • +
      + + + +
        +
      • +

        t

        +
        public final java.lang.reflect.Type t
        +
        The type of the class.
        +
      • +
      +
    • +
    +
    + +
    +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        ClassTypePair

        +
        public ClassTypePair​(java.lang.Class c)
        +
      • +
      + + + +
        +
      • +

        ClassTypePair

        +
        public ClassTypePair​(java.lang.Class c,
        +                     java.lang.reflect.Type t)
        +
      • +
      +
    • +
    +
    +
  • +
+
+
+
+ + + + diff --git a/apidocs/1.19/org/glassfish/tyrus/core/ReflectionHelper.DeclaringClassInterfacePair.html b/apidocs/1.19/org/glassfish/tyrus/core/ReflectionHelper.DeclaringClassInterfacePair.html new file mode 100644 index 00000000..81416b10 --- /dev/null +++ b/apidocs/1.19/org/glassfish/tyrus/core/ReflectionHelper.DeclaringClassInterfacePair.html @@ -0,0 +1,305 @@ + + + + + +ReflectionHelper.DeclaringClassInterfacePair (Tyrus 1.19 API) + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +

Class ReflectionHelper.DeclaringClassInterfacePair

+
+
+
    +
  • java.lang.Object
  • +
  • +
      +
    • org.glassfish.tyrus.core.ReflectionHelper.DeclaringClassInterfacePair
    • +
    +
  • +
+
+
    +
  • +
    +
    Enclosing class:
    +
    ReflectionHelper
    +
    +
    +
    public static class ReflectionHelper.DeclaringClassInterfacePair
    +extends java.lang.Object
    +
    A tuple consisting of a concrete class, declaring class that declares a generic interface type.
    +
  • +
+
+
+
    +
  • + +
    + +
    + +
    +
      +
    • + + +

      Method Summary

      +
        +
      • + + +

        Methods inherited from class java.lang.Object

        +clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • +
      +
    • +
    +
    +
  • +
+
+
+
    +
  • + +
    +
      +
    • + + +

      Field Detail

      + + + +
        +
      • +

        concreteClass

        +
        public final java.lang.Class concreteClass
        +
      • +
      + + + +
        +
      • +

        declaringClass

        +
        public final java.lang.Class declaringClass
        +
      • +
      + + + +
        +
      • +

        genericInterface

        +
        public final java.lang.reflect.Type genericInterface
        +
      • +
      +
    • +
    +
    +
  • +
+
+
+
+ + + + diff --git a/apidocs/1.19/org/glassfish/tyrus/core/ReflectionHelper.TypeClassPair.html b/apidocs/1.19/org/glassfish/tyrus/core/ReflectionHelper.TypeClassPair.html new file mode 100644 index 00000000..c9ffbffa --- /dev/null +++ b/apidocs/1.19/org/glassfish/tyrus/core/ReflectionHelper.TypeClassPair.html @@ -0,0 +1,332 @@ + + + + + +ReflectionHelper.TypeClassPair (Tyrus 1.19 API) + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +

Class ReflectionHelper.TypeClassPair

+
+
+
    +
  • java.lang.Object
  • +
  • +
      +
    • org.glassfish.tyrus.core.ReflectionHelper.TypeClassPair
    • +
    +
  • +
+
+
    +
  • +
    +
    Enclosing class:
    +
    ReflectionHelper
    +
    +
    +
    public static final class ReflectionHelper.TypeClassPair
    +extends java.lang.Object
    +
  • +
+
+
+
    +
  • + +
    +
      +
    • + + +

      Field Summary

      + + + + + + + + + + + + + + + + + +
      Fields 
      Modifier and TypeFieldDescription
      java.lang.Classc 
      java.lang.reflect.Typet 
      +
    • +
    +
    + +
    +
      +
    • + + +

      Constructor Summary

      + + + + + + + + + + +
      Constructors 
      ConstructorDescription
      TypeClassPair​(java.lang.reflect.Type t, + java.lang.Class c) 
      +
    • +
    +
    + +
    +
      +
    • + + +

      Method Summary

      +
        +
      • + + +

        Methods inherited from class java.lang.Object

        +clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • +
      +
    • +
    +
    +
  • +
+
+
+
    +
  • + +
    +
      +
    • + + +

      Field Detail

      + + + +
        +
      • +

        t

        +
        public final java.lang.reflect.Type t
        +
      • +
      + + + +
        +
      • +

        c

        +
        public final java.lang.Class c
        +
      • +
      +
    • +
    +
    + +
    +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        TypeClassPair

        +
        public TypeClassPair​(java.lang.reflect.Type t,
        +                     java.lang.Class c)
        +
      • +
      +
    • +
    +
    +
  • +
+
+
+
+ + + + diff --git a/apidocs/1.19/org/glassfish/tyrus/core/ReflectionHelper.html b/apidocs/1.19/org/glassfish/tyrus/core/ReflectionHelper.html new file mode 100644 index 00000000..9f28db7e --- /dev/null +++ b/apidocs/1.19/org/glassfish/tyrus/core/ReflectionHelper.html @@ -0,0 +1,1064 @@ + + + + + +ReflectionHelper (Tyrus 1.19 API) + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +

Class ReflectionHelper

+
+
+
    +
  • java.lang.Object
  • +
  • +
      +
    • org.glassfish.tyrus.core.ReflectionHelper
    • +
    +
  • +
+
+
    +
  • +
    +
    public class ReflectionHelper
    +extends java.lang.Object
    +
    Utility methods for Java reflection.
    +
    +
    Author:
    +
    Paul.Sandoz@Sun.Com
    +
    +
  • +
+
+
+
    +
  • + +
    + +
    + +
    +
      +
    • + + +

      Constructor Summary

      + + + + + + + + + + +
      Constructors 
      ConstructorDescription
      ReflectionHelper() 
      +
    • +
    +
    + +
    +
      +
    • + + +

      Method Summary

      + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
      All Methods Static Methods Concrete Methods 
      Modifier and TypeMethodDescription
      static java.lang.ClassclassForName​(java.lang.String name) +
      Get the Class from the class name.
      +
      static java.lang.ClassclassForName​(java.lang.String name, + java.lang.ClassLoader cl) +
      Get the Class from the class name.
      +
      static java.lang.ClassclassForNameWithException​(java.lang.String name) +
      Get the Class from the class name.
      +
      static java.lang.ClassclassForNameWithException​(java.lang.String name, + java.lang.ClassLoader cl) +
      Get the Class from the class name.
      +
      static <T> java.security.PrivilegedExceptionAction<java.lang.Class<T>>classForNameWithExceptionPEA​(java.lang.String name) +
      Get privileged exception action to obtain Class from given class name.
      +
      static <T> java.security.PrivilegedExceptionAction<java.lang.Class<T>>classForNameWithExceptionPEA​(java.lang.String name, + java.lang.ClassLoader cl) +
      Get privileged exception action to obtain Class from given class name.
      +
      static java.lang.reflect.MethodfindMethodOnClass​(java.lang.Class c, + java.lang.reflect.Method m) +
      Find a method on a class given an existing method.
      +
      static java.lang.ClassgetArrayClass​(java.lang.Class c) +
      Get Array class of component class.
      +
      static ReflectionHelper.DeclaringClassInterfacePairgetClass​(java.lang.Class concrete, + java.lang.Class iface) +
      Find the declaring class that implements or extends an interface.
      +
      static java.lang.Class<?>getClassType​(java.lang.Class<?> inspectedClass, + java.lang.Class<?> superClass) +
      Find a type of the class given it's Superclass.
      +
      static java.security.PrivilegedAction<java.lang.ClassLoader>getContextClassLoaderPA() +
      Get privileged action to obtain context class loader.
      +
      static java.lang.ClassgetDeclaringClass​(java.lang.reflect.AccessibleObject ao) +
      Get declaring class of provided field, method or constructor.
      +
      static java.lang.reflect.MethodgetFromStringStringMethod​(java.lang.Class c) +
      Get the static fromString(String ) method.
      +
      static java.lang.ClassgetGenericClass​(java.lang.reflect.Type parameterizedType) +
      Get the class that is the type argument of a parameterized type.
      +
      static <T> TgetInstance​(java.lang.Class<T> c) +
      Creates an instance of Class c using Class.newInstance().
      +
      static <T> TgetInstance​(java.lang.Class<T> c, + ErrorCollector collector) +
      Creates an instance of Class c using Class.newInstance().
      +
      static OsgiRegistrygetOsgiRegistryInstance() +
      Returns an OsgiRegistry instance.
      +
      static java.lang.Class[]getParameterizedClassArguments​(ReflectionHelper.DeclaringClassInterfacePair p) +
      Get the parameterized class arguments for a declaring class that declares a generic interface type.
      +
      static java.lang.reflect.Type[]getParameterizedTypeArguments​(ReflectionHelper.DeclaringClassInterfacePair p) +
      Get the parameterized type arguments for a declaring class that declares a generic interface type.
      +
      static java.lang.reflect.ConstructorgetStringConstructor​(java.lang.Class c) +
      Get the constructor that has a single parameter of String.
      +
      static ReflectionHelper.TypeClassPairgetTypeArgumentAndClass​(java.lang.reflect.Type parameterizedType) 
      static java.lang.reflect.MethodgetValueOfStringMethod​(java.lang.Class c) +
      Get the static valueOf(String ) method.
      +
      static java.lang.StringmethodInstanceToString​(java.lang.Object o, + java.lang.reflect.Method m) +
      Create a string representation of a method and an instance whose + class implements the method.
      +
      static java.lang.StringobjectToString​(java.lang.Object o) +
      Create a string representation of an object.
      +
      static ReflectionHelper.ClassTypePairresolveTypeVariable​(java.lang.Class c, + java.lang.Class dc, + java.lang.reflect.TypeVariable tv) +
      Given a type variable resolve the Java class of that variable.
      +
      static voidsetAccessibleMethod​(java.lang.reflect.Method m) +
      Set a method to be accessible.
      +
      +
        +
      • + + +

        Methods inherited from class java.lang.Object

        +clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • +
      +
    • +
    +
    +
  • +
+
+
+
    +
  • + +
    +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        ReflectionHelper

        +
        public ReflectionHelper()
        +
      • +
      +
    • +
    +
    + +
    +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        getDeclaringClass

        +
        public static java.lang.Class getDeclaringClass​(java.lang.reflect.AccessibleObject ao)
        +
        Get declaring class of provided field, method or constructor.
        +
        +
        Parameters:
        +
        ao - object for which the declared class will be returned.
        +
        Returns:
        +
        declaring class of provided object.
        +
        +
      • +
      + + + +
        +
      • +

        objectToString

        +
        public static java.lang.String objectToString​(java.lang.Object o)
        +
        Create a string representation of an object. +

        + Returns a string consisting of the name of the class of which the + object is an instance, the at-sign character '@', and + the unsigned hexadecimal representation of the hash code of the + object. In other words, this method returns a string equal to the + value of: +

        +
        + o.getClass().getName() + '@' + Integer.toHexString(o.hashCode())
        + 
        +
        +
        Parameters:
        +
        o - the object.
        +
        Returns:
        +
        the string representation of the object.
        +
        +
      • +
      + + + +
        +
      • +

        methodInstanceToString

        +
        public static java.lang.String methodInstanceToString​(java.lang.Object o,
        +                                                      java.lang.reflect.Method m)
        +
        Create a string representation of a method and an instance whose + class implements the method. +

        + Returns a string consisting of the name of the class of which the object + is an instance, the at-sign character '@', + the unsigned hexadecimal representation of the hash code of the + object, the character '.', the name of the method, + the character '(', the list of method parameters, and + the character ')'. In other words, thos method returns a + string equal to the value of: +

        +
        + o.getClass().getName() + '@' + Integer.toHexString(o.hashCode()) +
        + '.' + m.getName() + '(' + <parameters> + ')'.
        + 
        +
        +
        Parameters:
        +
        o - the object whose class implements m.
        +
        m - the method.
        +
        Returns:
        +
        the string representation of the method and instance.
        +
        +
      • +
      + + + +
        +
      • +

        classForName

        +
        public static java.lang.Class classForName​(java.lang.String name)
        +
        Get the Class from the class name. +

        + The context class loader will be utilized if accessible and non-null. + Otherwise the defining class loader of this class will + be utilized.

        +
        +
        Parameters:
        +
        name - the class name.
        +
        Returns:
        +
        the Class, otherwise null if the class cannot be found.
        +
        +
      • +
      + + + +
        +
      • +

        classForName

        +
        public static java.lang.Class classForName​(java.lang.String name,
        +                                           java.lang.ClassLoader cl)
        +
        Get the Class from the class name.
        +
        +
        Parameters:
        +
        name - the class name.
        +
        cl - the class loader to use, if null then the defining class loader + of this class will be utilized.
        +
        Returns:
        +
        the Class, otherwise null if the class cannot be found.
        +
        +
      • +
      + + + +
        +
      • +

        classForNameWithException

        +
        public static java.lang.Class classForNameWithException​(java.lang.String name)
        +                                                 throws java.lang.ClassNotFoundException
        +
        Get the Class from the class name. +

        + The context class loader will be utilized if accessible and non-null. + Otherwise the defining class loader of this class will + be utilized.

        +
        +
        Parameters:
        +
        name - the class name.
        +
        Returns:
        +
        the Class, otherwise null if the class cannot be found.
        +
        Throws:
        +
        java.lang.ClassNotFoundException - if the class cannot be found.
        +
        +
      • +
      + + + +
        +
      • +

        classForNameWithException

        +
        public static java.lang.Class classForNameWithException​(java.lang.String name,
        +                                                        java.lang.ClassLoader cl)
        +                                                 throws java.lang.ClassNotFoundException
        +
        Get the Class from the class name.
        +
        +
        Parameters:
        +
        name - the class name.
        +
        cl - the class loader to use, if null then the defining class loader + of this class will be utilized.
        +
        Returns:
        +
        the Class, otherwise null if the class cannot be found.
        +
        Throws:
        +
        java.lang.ClassNotFoundException - if the class cannot be found.
        +
        +
      • +
      + + + +
        +
      • +

        classForNameWithExceptionPEA

        +
        public static <T> java.security.PrivilegedExceptionAction<java.lang.Class<T>> classForNameWithExceptionPEA​(java.lang.String name)
        +                                                                                                    throws java.lang.ClassNotFoundException
        +
        Get privileged exception action to obtain Class from given class name. + If run using security manager, the returned privileged exception action + must be invoked within a doPrivileged block. +

        + The actual context class loader will be utilized if accessible and non-null. + Otherwise the defining class loader of the calling class will be utilized.

        +
        +
        Type Parameters:
        +
        T - class type.
        +
        Parameters:
        +
        name - class name.
        +
        Returns:
        +
        privileged exception action to obtain the Class. + The action could throw ClassNotFoundException or return null if the class cannot be found.
        +
        Throws:
        +
        java.lang.ClassNotFoundException - when provided string contains classname of unknown class.
        +
        See Also:
        +
        AccessController.doPrivileged(java.security.PrivilegedExceptionAction)
        +
        +
      • +
      + + + +
        +
      • +

        classForNameWithExceptionPEA

        +
        public static <T> java.security.PrivilegedExceptionAction<java.lang.Class<T>> classForNameWithExceptionPEA​(java.lang.String name,
        +                                                                                                           java.lang.ClassLoader cl)
        +                                                                                                    throws java.lang.ClassNotFoundException
        +
        Get privileged exception action to obtain Class from given class name. + If run using security manager, the returned privileged exception action + must be invoked within a doPrivileged block.
        +
        +
        Type Parameters:
        +
        T - class type.
        +
        Parameters:
        +
        name - class name.
        +
        cl - class loader to use, if null then the defining class loader + of the calling class will be utilized.
        +
        Returns:
        +
        privileged exception action to obtain the Class. + The action throws ClassNotFoundException + or returns null if the class cannot be found.
        +
        Throws:
        +
        java.lang.ClassNotFoundException - when provided string contains classname of unknown class.
        +
        See Also:
        +
        AccessController.doPrivileged(java.security.PrivilegedExceptionAction)
        +
        +
      • +
      + + + +
        +
      • +

        getContextClassLoaderPA

        +
        public static java.security.PrivilegedAction<java.lang.ClassLoader> getContextClassLoaderPA()
        +
        Get privileged action to obtain context class loader. + If run using security manager, the returned privileged action + must be invoked within a doPrivileged block.
        +
        +
        Returns:
        +
        privileged action to obtain the actual context class loader. + The action could return null if context class loader has not been set.
        +
        See Also:
        +
        AccessController.doPrivileged(java.security.PrivilegedAction)
        +
        +
      • +
      + + + +
        +
      • +

        setAccessibleMethod

        +
        public static void setAccessibleMethod​(java.lang.reflect.Method m)
        +
        Set a method to be accessible.
        +
        +
        Parameters:
        +
        m - the method to be set as accessible
        +
        +
      • +
      + + + +
        +
      • +

        getGenericClass

        +
        public static java.lang.Class getGenericClass​(java.lang.reflect.Type parameterizedType)
        +                                       throws java.lang.IllegalArgumentException
        +
        Get the class that is the type argument of a parameterized type.
        +
        +
        Parameters:
        +
        parameterizedType - must be an instance of ParameterizedType + and have exactly one type argument.
        +
        Returns:
        +
        the class of the actual type argument. If the type argument + is a class then the class is returned. If the type argument + is a generic array type and the generic component type is a + class then class of the array is returned. if the type argument + is a parameterized type and it's raw type is a class then + that class is returned. + If the parameterizedType is not an instance of ParameterizedType + or contains more than one type argument null is returned.
        +
        Throws:
        +
        java.lang.IllegalArgumentException - if the single type argument is not of + a class, or a generic array type, or the generic component type + of the generic array type is not class, or not a parameterized + type with a raw type that is not a class.
        +
        +
      • +
      + + + +
        +
      • +

        getTypeArgumentAndClass

        +
        public static ReflectionHelper.TypeClassPair getTypeArgumentAndClass​(java.lang.reflect.Type parameterizedType)
        +                                                              throws java.lang.IllegalArgumentException
        +
        +
        Throws:
        +
        java.lang.IllegalArgumentException
        +
        +
      • +
      + + + +
        +
      • +

        getArrayClass

        +
        public static java.lang.Class getArrayClass​(java.lang.Class c)
        +
        Get Array class of component class.
        +
        +
        Parameters:
        +
        c - the component class of the array
        +
        Returns:
        +
        the array class.
        +
        +
      • +
      + + + +
        +
      • +

        getValueOfStringMethod

        +
        public static java.lang.reflect.Method getValueOfStringMethod​(java.lang.Class c)
        +
        Get the static valueOf(String ) method.
        +
        +
        Parameters:
        +
        c - The class to obtain the method.
        +
        Returns:
        +
        the method, otherwise null if the method is not present.
        +
        +
      • +
      + + + +
        +
      • +

        getFromStringStringMethod

        +
        public static java.lang.reflect.Method getFromStringStringMethod​(java.lang.Class c)
        +
        Get the static fromString(String ) method.
        +
        +
        Parameters:
        +
        c - The class to obtain the method.
        +
        Returns:
        +
        the method, otherwise null if the method is not present.
        +
        +
      • +
      + + + +
        +
      • +

        getStringConstructor

        +
        public static java.lang.reflect.Constructor getStringConstructor​(java.lang.Class c)
        +
        Get the constructor that has a single parameter of String.
        +
        +
        Parameters:
        +
        c - The class to obtain the constructor.
        +
        Returns:
        +
        the constructor, otherwise null if the constructor is not present.
        +
        +
      • +
      + + + +
        +
      • +

        getParameterizedClassArguments

        +
        public static java.lang.Class[] getParameterizedClassArguments​(ReflectionHelper.DeclaringClassInterfacePair p)
        +
        Get the parameterized class arguments for a declaring class that declares a generic interface type.
        +
        +
        Parameters:
        +
        p - the declaring class
        +
        Returns:
        +
        the parameterized class arguments, or null if the generic interface type is not a parameterized type.
        +
        +
      • +
      + + + +
        +
      • +

        getParameterizedTypeArguments

        +
        public static java.lang.reflect.Type[] getParameterizedTypeArguments​(ReflectionHelper.DeclaringClassInterfacePair p)
        +
        Get the parameterized type arguments for a declaring class that declares a generic interface type.
        +
        +
        Parameters:
        +
        p - the declaring class
        +
        Returns:
        +
        the parameterized type arguments, or null if the generic interface type is not a parameterized type.
        +
        +
      • +
      + + + +
        +
      • +

        getClass

        +
        public static ReflectionHelper.DeclaringClassInterfacePair getClass​(java.lang.Class concrete,
        +                                                                    java.lang.Class iface)
        +
        Find the declaring class that implements or extends an interface.
        +
        +
        Parameters:
        +
        concrete - the concrete class than directly or indirectly implements or extends an interface class.
        +
        iface - the interface class.
        +
        Returns:
        +
        the tuple of the declaring class and the generic interface type.
        +
        +
      • +
      + + + +
        +
      • +

        resolveTypeVariable

        +
        public static ReflectionHelper.ClassTypePair resolveTypeVariable​(java.lang.Class c,
        +                                                                 java.lang.Class dc,
        +                                                                 java.lang.reflect.TypeVariable tv)
        +
        Given a type variable resolve the Java class of that variable.
        +
        +
        Parameters:
        +
        c - the concrete class from which all type variables are resolved
        +
        dc - the declaring class where the type variable was defined
        +
        tv - the type variable
        +
        Returns:
        +
        the resolved Java class and type, otherwise null if the type variable could not be resolved
        +
        +
      • +
      + + + +
        +
      • +

        findMethodOnClass

        +
        public static java.lang.reflect.Method findMethodOnClass​(java.lang.Class c,
        +                                                         java.lang.reflect.Method m)
        +
        Find a method on a class given an existing method. +

        + If there exists a public method on the class that has the same name + and parameters as the existing method then that public method is + returned. +

        + Otherwise, if there exists a public method on the class that has + the same name and the same number of parameters as the existing method, + and each generic parameter type, in order, of the public method is equal + to the generic parameter type, in the same order, of the existing method + or is an instance of TypeVariable then that public method is + returned.

        +
        +
        Parameters:
        +
        c - the class to search for a public method
        +
        m - the method to find
        +
        Returns:
        +
        the found public method.
        +
        +
      • +
      + + + +
        +
      • +

        getClassType

        +
        public static java.lang.Class<?> getClassType​(java.lang.Class<?> inspectedClass,
        +                                              java.lang.Class<?> superClass)
        +
        Find a type of the class given it's Superclass.
        +
        +
        Parameters:
        +
        inspectedClass - Class whose type is searched for.
        +
        superClass - Class relatively to which the search is performed.
        +
        Returns:
        +
        type of the class.
        +
        +
      • +
      + + + +
        +
      • +

        getOsgiRegistryInstance

        +
        public static OsgiRegistry getOsgiRegistryInstance()
        +
        Returns an OsgiRegistry instance.
        +
        +
        Returns:
        +
        an OsgiRegistry instance or null if the class cannot be instantiated (not in OSGi + environment).
        +
        +
      • +
      + + + +
        +
      • +

        getInstance

        +
        public static <T> T getInstance​(java.lang.Class<T> c,
        +                                ErrorCollector collector)
        +
        Creates an instance of Class c using Class.newInstance(). Exceptions are logged to ErrorCollector.
        +
        +
        Type Parameters:
        +
        T - type.
        +
        Parameters:
        +
        c - Class whose instance is going to be created
        +
        collector - ErrorCollector which collects the Exceptions.
        +
        Returns:
        +
        new instance of Class.
        +
        +
      • +
      + + + +
        +
      • +

        getInstance

        +
        public static <T> T getInstance​(java.lang.Class<T> c)
        +                         throws java.lang.IllegalAccessException,
        +                                java.lang.InstantiationException
        +
        Creates an instance of Class c using Class.newInstance().
        +
        +
        Type Parameters:
        +
        T - type.
        +
        Parameters:
        +
        c - Class whose instance is going to be created
        +
        Returns:
        +
        new instance of Class.
        +
        Throws:
        +
        java.lang.IllegalAccessException - if the class or its nullary + constructor is not accessible.
        +
        java.lang.InstantiationException - if this Class represents an abstract class, + an interface, an array class, a primitive type, or void; + or if the class has no nullary constructor; + or if the instantiation fails for some other reason.
        +
        +
      • +
      +
    • +
    +
    +
  • +
+
+
+
+ + + + diff --git a/apidocs/1.19/org/glassfish/tyrus/core/RequestContext.Builder.IsUserInRoleDelegate.html b/apidocs/1.19/org/glassfish/tyrus/core/RequestContext.Builder.IsUserInRoleDelegate.html new file mode 100644 index 00000000..2fab7222 --- /dev/null +++ b/apidocs/1.19/org/glassfish/tyrus/core/RequestContext.Builder.IsUserInRoleDelegate.html @@ -0,0 +1,272 @@ + + + + + +RequestContext.Builder.IsUserInRoleDelegate (Tyrus 1.19 API) + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +

Interface RequestContext.Builder.IsUserInRoleDelegate

+
+
+
+
    +
  • +
    +
    Enclosing class:
    +
    RequestContext.Builder
    +
    +
    +
    public static interface RequestContext.Builder.IsUserInRoleDelegate
    +
    Is user in role delegate. +

    + Cannot easily query ServletContext or HttpServletRequest for this information, since it is stored only as + object.

    +
  • +
+
+
+
    +
  • + +
    +
      +
    • + + +

      Method Summary

      + + + + + + + + + + + + +
      All Methods Instance Methods Abstract Methods 
      Modifier and TypeMethodDescription
      booleanisUserInRole​(java.lang.String role) +
      Returns a boolean indicating whether the authenticated user is included in the specified logical "role".
      +
      +
    • +
    +
    +
  • +
+
+
+
    +
  • + +
    +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        isUserInRole

        +
        boolean isUserInRole​(java.lang.String role)
        +
        Returns a boolean indicating whether the authenticated user is included in the specified logical "role". + Roles and role membership can be defined using deployment descriptors. If the user has not been + authenticated, the method returns false.
        +
        +
        Parameters:
        +
        role - a String specifying the name of the role.
        +
        Returns:
        +
        a boolean indicating whether the user making this request belongs to a given role; false if the + user has not been authenticated.
        +
        +
      • +
      +
    • +
    +
    +
  • +
+
+
+
+ + + + diff --git a/apidocs/1.19/org/glassfish/tyrus/core/RequestContext.Builder.html b/apidocs/1.19/org/glassfish/tyrus/core/RequestContext.Builder.html new file mode 100644 index 00000000..d2bfd1ac --- /dev/null +++ b/apidocs/1.19/org/glassfish/tyrus/core/RequestContext.Builder.html @@ -0,0 +1,573 @@ + + + + + +RequestContext.Builder (Tyrus 1.19 API) + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +

Class RequestContext.Builder

+
+
+
    +
  • java.lang.Object
  • +
  • +
      +
    • org.glassfish.tyrus.core.RequestContext.Builder
    • +
    +
  • +
+
+
    +
  • +
    +
    Enclosing class:
    +
    RequestContext
    +
    +
    +
    public static final class RequestContext.Builder
    +extends java.lang.Object
    + +
  • +
+
+
+ +
+
+ +
+
+
+ + + + diff --git a/apidocs/1.19/org/glassfish/tyrus/core/RequestContext.html b/apidocs/1.19/org/glassfish/tyrus/core/RequestContext.html new file mode 100644 index 00000000..88a5efdb --- /dev/null +++ b/apidocs/1.19/org/glassfish/tyrus/core/RequestContext.html @@ -0,0 +1,601 @@ + + + + + +RequestContext (Tyrus 1.19 API) + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +

Class RequestContext

+
+
+ +
+
    +
  • +
    +
    All Implemented Interfaces:
    +
    HandshakeRequest
    +
    +
    +
    public final class RequestContext
    +extends UpgradeRequest
    +
    Implementation of all possible request interfaces. Should be the only point of truth.
    +
    +
    Author:
    +
    Pavel Bucek (pavel.bucek at oracle.com)
    +
    +
  • +
+
+
+ +
+
+
    +
  • + +
    +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        getHeaders

        +
        public java.util.Map<java.lang.String,​java.util.List<java.lang.String>> getHeaders()
        +
        Get headers.
        +
        +
        Returns:
        +
        headers map. List items are corresponding to header declaration in HTTP request.
        +
        +
      • +
      + + + +
        +
      • +

        getHeader

        +
        public java.lang.String getHeader​(java.lang.String name)
        +
        Returns the header value corresponding to the name.
        +
        +
        Specified by:
        +
        getHeader in class UpgradeRequest
        +
        Parameters:
        +
        name - header name.
        +
        Returns:
        +
        List of header values iff found, null otherwise.
        +
        +
      • +
      + + + +
        +
      • +

        lock

        +
        public void lock()
        +
        Make headers and parameter map read-only.
        +
      • +
      + + + +
        +
      • +

        getUserPrincipal

        +
        public java.security.Principal getUserPrincipal()
        +
        Description copied from interface: HandshakeRequest
        +
        Return the authenticated user or null if no user is authenticated + for this handshake.
        +
        +
        Returns:
        +
        the user principal.
        +
        +
      • +
      + + + +
        +
      • +

        getRequestURI

        +
        public java.net.URI getRequestURI()
        +
        Description copied from interface: HandshakeRequest
        +
        Return the request URI of the handshake request.
        +
        +
        Returns:
        +
        the request uri of the handshake request.
        +
        +
      • +
      + + + +
        +
      • +

        isUserInRole

        +
        public boolean isUserInRole​(java.lang.String role)
        +
        Description copied from interface: HandshakeRequest
        +
        Checks whether the current user is in the given role. Roles and role + membership can be defined using deployment descriptors of the containing + WAR file, if running in a Java EE web container. If the user has + not been authenticated, the method returns false.
        +
        +
        Parameters:
        +
        role - the role being checked.
        +
        Returns:
        +
        whether the authenticated user is in the role, or false if the user has not + been authenticated.
        +
        +
      • +
      + + + +
        +
      • +

        getHttpSession

        +
        public java.lang.Object getHttpSession()
        +
        Description copied from interface: HandshakeRequest
        +
        Return a reference to the HttpSession that the web socket handshake that + started this conversation was part of, if the implementation + is part of a Java EE web container.
        +
        +
        Returns:
        +
        the http session or null if either the websocket + implementation is not part of a Java EE web container, or there is + no HttpSession associated with the opening handshake request.
        +
        +
      • +
      + + + +
        +
      • +

        getParameterMap

        +
        public java.util.Map<java.lang.String,​java.util.List<java.lang.String>> getParameterMap()
        +
        Description copied from interface: HandshakeRequest
        +
        Return the request parameters associated with the request.
        +
        +
        Returns:
        +
        the unmodifiable map of the request parameters.
        +
        +
      • +
      + + + +
        +
      • +

        getQueryString

        +
        public java.lang.String getQueryString()
        +
        Description copied from interface: HandshakeRequest
        +
        Return the query string associated with the request.
        +
        +
        Returns:
        +
        the query string.
        +
        +
      • +
      + + + +
        +
      • +

        getRequestUri

        +
        public java.lang.String getRequestUri()
        +
        Description copied from class: UpgradeRequest
        +
        Get the undecoded request uri (up to the query string) of underlying + HTTP handshake request.
        +
        +
        Specified by:
        +
        getRequestUri in class UpgradeRequest
        +
        Returns:
        +
        request uri.
        +
        +
      • +
      + + + +
        +
      • +

        isSecure

        +
        public boolean isSecure()
        +
        Description copied from class: UpgradeRequest
        +
        Indicates whether this request was made using a secure channel + (such as HTTPS).
        +
        +
        Specified by:
        +
        isSecure in class UpgradeRequest
        +
        Returns:
        +
        true if the request was made using secure channel, + false otherwise.
        +
        +
      • +
      + + + +
        +
      • +

        getRemoteAddr

        +
        public java.lang.String getRemoteAddr()
        +
        Get the Internet Protocol (IP) address of the client or last proxy that sent the request.
        +
        +
        Returns:
        +
        a String containing the IP address of the client that sent the request or null when + method is called on client-side.
        +
        +
      • +
      +
    • +
    +
    +
  • +
+
+
+
+ + + + diff --git a/apidocs/1.19/org/glassfish/tyrus/core/ServiceConfigurationError.html b/apidocs/1.19/org/glassfish/tyrus/core/ServiceConfigurationError.html new file mode 100644 index 00000000..eccea14f --- /dev/null +++ b/apidocs/1.19/org/glassfish/tyrus/core/ServiceConfigurationError.html @@ -0,0 +1,332 @@ + + + + + +ServiceConfigurationError (Tyrus 1.19 API) + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +

Class ServiceConfigurationError

+
+
+
    +
  • java.lang.Object
  • +
  • +
      +
    • java.lang.Throwable
    • +
    • +
        +
      • java.lang.Error
      • +
      • +
          +
        • org.glassfish.tyrus.core.ServiceConfigurationError
        • +
        +
      • +
      +
    • +
    +
  • +
+
+
    +
  • +
    +
    All Implemented Interfaces:
    +
    java.io.Serializable
    +
    +
    +
    public class ServiceConfigurationError
    +extends java.lang.Error
    +
    Taken from Jersey 2. Error thrown when something goes wrong while looking up service providers. + In particular, this error will be thrown in the following situations: +
      +
    • A concrete provider class cannot be found, +
    • A concrete provider class cannot be instantiated, +
    • The format of a provider-configuration file is illegal, or +
    • An IOException occurs while reading a provider-configuration file. +
    +
    +
    Author:
    +
    Mark Reinhold, Marek Potociar (marek.potociar at oracle.com)
    +
    See Also:
    +
    Serialized Form
    +
    +
  • +
+
+
+
    +
  • + +
    +
      +
    • + + +

      Constructor Summary

      + + + + + + + + + + + + + + +
      Constructors 
      ConstructorDescription
      ServiceConfigurationError​(java.lang.String msg) +
      Constructs a new instance with the specified detail string.
      +
      ServiceConfigurationError​(java.lang.Throwable x) +
      Constructs a new instance that wraps the specified throwable.
      +
      +
    • +
    +
    + +
    +
      +
    • + + +

      Method Summary

      +
        +
      • + + +

        Methods inherited from class java.lang.Throwable

        +addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
      • +
      +
        +
      • + + +

        Methods inherited from class java.lang.Object

        +clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
      • +
      +
    • +
    +
    +
  • +
+
+
+
    +
  • + +
    +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        ServiceConfigurationError

        +
        public ServiceConfigurationError​(java.lang.String msg)
        +
        Constructs a new instance with the specified detail string.
        +
        +
        Parameters:
        +
        msg - the detail string
        +
        +
      • +
      + + + +
        +
      • +

        ServiceConfigurationError

        +
        public ServiceConfigurationError​(java.lang.Throwable x)
        +
        Constructs a new instance that wraps the specified throwable.
        +
        +
        Parameters:
        +
        x - the throwable to be wrapped
        +
        +
      • +
      +
    • +
    +
    +
  • +
+
+
+
+ + + + diff --git a/apidocs/1.19/org/glassfish/tyrus/core/ServiceFinder.DefaultServiceIteratorProvider.html b/apidocs/1.19/org/glassfish/tyrus/core/ServiceFinder.DefaultServiceIteratorProvider.html new file mode 100644 index 00000000..6e7e0c48 --- /dev/null +++ b/apidocs/1.19/org/glassfish/tyrus/core/ServiceFinder.DefaultServiceIteratorProvider.html @@ -0,0 +1,388 @@ + + + + + +ServiceFinder.DefaultServiceIteratorProvider (Tyrus 1.19 API) + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +

Class ServiceFinder.DefaultServiceIteratorProvider

+
+
+ +
+ +
+
+
    +
  • + +
    + +
    + +
    +
      +
    • + + +

      Method Summary

      + + + + + + + + + + + + + + + + + +
      All Methods Instance Methods Concrete Methods 
      Modifier and TypeMethodDescription
      <T> java.util.Iterator<java.lang.Class<T>>createClassIterator​(java.lang.Class<T> service, + java.lang.String serviceName, + java.lang.ClassLoader loader, + boolean ignoreOnClassNotFound) +
      Iterate over provider classes of a service.
      +
      <T> java.util.Iterator<T>createIterator​(java.lang.Class<T> service, + java.lang.String serviceName, + java.lang.ClassLoader loader, + boolean ignoreOnClassNotFound) +
      Iterate over provider instances of a service.
      +
      +
        +
      • + + +

        Methods inherited from class java.lang.Object

        +clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • +
      +
    • +
    +
    +
  • +
+
+
+
    +
  • + +
    +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        DefaultServiceIteratorProvider

        +
        public DefaultServiceIteratorProvider()
        +
      • +
      +
    • +
    +
    + +
    +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        createIterator

        +
        public <T> java.util.Iterator<T> createIterator​(java.lang.Class<T> service,
        +                                                java.lang.String serviceName,
        +                                                java.lang.ClassLoader loader,
        +                                                boolean ignoreOnClassNotFound)
        +
        Description copied from class: ServiceFinder.ServiceIteratorProvider
        +
        Iterate over provider instances of a service.
        +
        +
        Specified by:
        +
        createIterator in class ServiceFinder.ServiceIteratorProvider
        +
        Type Parameters:
        +
        T - the type of the service.
        +
        Parameters:
        +
        service - the service class.
        +
        serviceName - the service name.
        +
        loader - the class loader to utilize when loading provider + classes.
        +
        ignoreOnClassNotFound - if true ignore an instance if the + corresponding provider class if cannot be found, + otherwise throw a ClassNotFoundException.
        +
        Returns:
        +
        the provider instance iterator.
        +
        +
      • +
      + + + +
        +
      • +

        createClassIterator

        +
        public <T> java.util.Iterator<java.lang.Class<T>> createClassIterator​(java.lang.Class<T> service,
        +                                                                      java.lang.String serviceName,
        +                                                                      java.lang.ClassLoader loader,
        +                                                                      boolean ignoreOnClassNotFound)
        +
        Description copied from class: ServiceFinder.ServiceIteratorProvider
        +
        Iterate over provider classes of a service.
        +
        +
        Specified by:
        +
        createClassIterator in class ServiceFinder.ServiceIteratorProvider
        +
        Type Parameters:
        +
        T - the type of the service.
        +
        Parameters:
        +
        service - the service class.
        +
        serviceName - the service name.
        +
        loader - the class loader to utilize when loading provider + classes.
        +
        ignoreOnClassNotFound - if true ignore the provider class if + cannot be found, + otherwise throw a ClassNotFoundException.
        +
        Returns:
        +
        the provider class iterator.
        +
        +
      • +
      +
    • +
    +
    +
  • +
+
+
+
+ + + + diff --git a/apidocs/1.19/org/glassfish/tyrus/core/ServiceFinder.ServiceIteratorProvider.html b/apidocs/1.19/org/glassfish/tyrus/core/ServiceFinder.ServiceIteratorProvider.html new file mode 100644 index 00000000..91c9ac91 --- /dev/null +++ b/apidocs/1.19/org/glassfish/tyrus/core/ServiceFinder.ServiceIteratorProvider.html @@ -0,0 +1,382 @@ + + + + + +ServiceFinder.ServiceIteratorProvider (Tyrus 1.19 API) + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +

Class ServiceFinder.ServiceIteratorProvider

+
+
+
    +
  • java.lang.Object
  • +
  • +
      +
    • org.glassfish.tyrus.core.ServiceFinder.ServiceIteratorProvider
    • +
    +
  • +
+
+ +
+
+
    +
  • + +
    + +
    + +
    +
      +
    • + + +

      Method Summary

      + + + + + + + + + + + + + + + + + +
      All Methods Instance Methods Abstract Methods 
      Modifier and TypeMethodDescription
      abstract <T> java.util.Iterator<java.lang.Class<T>>createClassIterator​(java.lang.Class<T> service, + java.lang.String serviceName, + java.lang.ClassLoader loader, + boolean ignoreOnClassNotFound) +
      Iterate over provider classes of a service.
      +
      abstract <T> java.util.Iterator<T>createIterator​(java.lang.Class<T> service, + java.lang.String serviceName, + java.lang.ClassLoader loader, + boolean ignoreOnClassNotFound) +
      Iterate over provider instances of a service.
      +
      +
        +
      • + + +

        Methods inherited from class java.lang.Object

        +clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • +
      +
    • +
    +
    +
  • +
+
+
+
    +
  • + +
    +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        ServiceIteratorProvider

        +
        public ServiceIteratorProvider()
        +
      • +
      +
    • +
    +
    + +
    +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        createIterator

        +
        public abstract <T> java.util.Iterator<T> createIterator​(java.lang.Class<T> service,
        +                                                         java.lang.String serviceName,
        +                                                         java.lang.ClassLoader loader,
        +                                                         boolean ignoreOnClassNotFound)
        +
        Iterate over provider instances of a service.
        +
        +
        Type Parameters:
        +
        T - the type of the service.
        +
        Parameters:
        +
        service - the service class.
        +
        serviceName - the service name.
        +
        loader - the class loader to utilize when loading provider + classes.
        +
        ignoreOnClassNotFound - if true ignore an instance if the + corresponding provider class if cannot be found, + otherwise throw a ClassNotFoundException.
        +
        Returns:
        +
        the provider instance iterator.
        +
        +
      • +
      + + + +
        +
      • +

        createClassIterator

        +
        public abstract <T> java.util.Iterator<java.lang.Class<T>> createClassIterator​(java.lang.Class<T> service,
        +                                                                               java.lang.String serviceName,
        +                                                                               java.lang.ClassLoader loader,
        +                                                                               boolean ignoreOnClassNotFound)
        +
        Iterate over provider classes of a service.
        +
        +
        Type Parameters:
        +
        T - the type of the service.
        +
        Parameters:
        +
        service - the service class.
        +
        serviceName - the service name.
        +
        loader - the class loader to utilize when loading provider + classes.
        +
        ignoreOnClassNotFound - if true ignore the provider class if + cannot be found, + otherwise throw a ClassNotFoundException.
        +
        Returns:
        +
        the provider class iterator.
        +
        +
      • +
      +
    • +
    +
    +
  • +
+
+
+
+ + + + diff --git a/apidocs/1.19/org/glassfish/tyrus/core/ServiceFinder.html b/apidocs/1.19/org/glassfish/tyrus/core/ServiceFinder.html new file mode 100644 index 00000000..9b3d478a --- /dev/null +++ b/apidocs/1.19/org/glassfish/tyrus/core/ServiceFinder.html @@ -0,0 +1,715 @@ + + + + + +ServiceFinder (Tyrus 1.19 API) + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +

Class ServiceFinder<T>

+
+
+
    +
  • java.lang.Object
  • +
  • +
      +
    • org.glassfish.tyrus.core.ServiceFinder<T>
    • +
    +
  • +
+
+
    +
  • +
    +
    Type Parameters:
    +
    T - the type of the service instance.
    +
    +
    +
    All Implemented Interfaces:
    +
    java.lang.Iterable<T>
    +
    +
    +
    public final class ServiceFinder<T>
    +extends java.lang.Object
    +implements java.lang.Iterable<T>
    +
    A simple service-provider lookup mechanism. A service is a + well-known set of interfaces and (usually abstract) classes. A service + provider is a specific implementation of a service. The classes in a + provider typically implement the interfaces and subclass the classes defined + in the service itself. Service providers may be installed in an + implementation of the Java platform in the form of extensions, that is, jar + files placed into any of the usual extension directories. Providers may + also be made available by adding them to the applet or application class + path or by some other platform-specific means. +

    + In this lookup mechanism a service is represented by an interface or an + abstract class. (A concrete class may be used, but this is not + recommended.) A provider of a given service contains one or more concrete + classes that extend this service class with data and code specific to + the provider. This provider class will typically not be the entire + provider itself but rather a proxy that contains enough information to + decide whether the provider is able to satisfy a particular request together + with code that can create the actual provider on demand. The details of + provider classes tend to be highly service-specific; no single class or + interface could possibly unify them, so no such class has been defined. The + only requirement enforced here is that provider classes must have a + zero-argument constructor so that they may be instantiated during lookup. +

    + The default service provider registration/lookup mechanism based + on META-INF/services files is described below. + For environments, where the basic mechanism is not suitable, clients + can enforce a different approach by setting their custom ServiceIteratorProvider + by calling setIteratorProvider. The call must be made prior to any lookup attempts. +

    + A service provider identifies itself by placing a provider-configuration + file in the resource directory META-INF/services. The file's name + should consist of the fully-qualified name of the abstract service class. + The file should contain a list of fully-qualified concrete provider-class + names, one per line. Space and tab characters surrounding each name, as + well as blank lines, are ignored. The comment character is '#' + (0x23); on each line all characters following the first comment + character are ignored. The file must be encoded in UTF-8. +

    + If a particular concrete provider class is named in more than one + configuration file, or is named in the same configuration file more than + once, then the duplicates will be ignored. The configuration file naming a + particular provider need not be in the same jar file or other distribution + unit as the provider itself. The provider must be accessible from the same + class loader that was initially queried to locate the configuration file; + note that this is not necessarily the class loader that found the file. +

    + Example: Suppose we have a service class named + java.io.spi.CharCodec. It has two abstract methods: +

    +   public abstract CharEncoder getEncoder(String encodingName);
    +   public abstract CharDecoder getDecoder(String encodingName);
    + 
    +

    + Each method returns an appropriate object or null if it cannot + translate the given encoding. Typical CharCodec providers will + support more than one encoding. +

    + If sun.io.StandardCodec is a provider of the CharCodec + service then its jar file would contain the file + META-INF/services/java.io.spi.CharCodec. This file would contain + the single line: +

    +   sun.io.StandardCodec    # Standard codecs for the platform
    + 
    +

    + To locate an codec for a given encoding name, the internal I/O code would + do something like this: +

    +   CharEncoder getEncoder(String encodingName) {
    +       for( CharCodec cc : ServiceFinder.find(CharCodec.class) ) {
    +           CharEncoder ce = cc.getEncoder(encodingName);
    +           if (ce != null)
    +               return ce;
    +       }
    +       return null;
    +   }
    + 
    +

    + The provider-lookup mechanism always executes in the security context of the + caller. Trusted system code should typically invoke the methods in this + class from within a privileged security context.

    +
    +
    Author:
    +
    Mark Reinhold, Jakub Podlesak, Marek Potociar
    +
    +
  • +
+
+
+
    +
  • + +
    + +
    + +
    +
      +
    • + + +

      Method Summary

      + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and TypeMethodDescription
      static <T> ServiceFinder<T>find​(java.lang.Class<T> service) +
      Locates and incrementally instantiates the available providers of a + given service using the context class loader.
      +
      static <T> ServiceFinder<T>find​(java.lang.Class<T> service, + boolean ignoreOnClassNotFound) +
      Locates and incrementally instantiates the available providers of a + given service using the context class loader.
      +
      static <T> ServiceFinder<T>find​(java.lang.Class<T> service, + java.lang.ClassLoader loader) +
      Locates and incrementally instantiates the available providers of a + given service using the given class loader.
      +
      static <T> ServiceFinder<T>find​(java.lang.Class<T> service, + java.lang.ClassLoader loader, + boolean ignoreOnClassNotFound) +
      Locates and incrementally instantiates the available providers of a + given service using the given class loader.
      +
      static ServiceFinder<?>find​(java.lang.String serviceName) +
      Locates and incrementally instantiates the available classes of a given + service file using the context class loader.
      +
      java.util.Iterator<T>iterator() +
      Returns discovered objects incrementally.
      +
      static voidsetIteratorProvider​(ServiceFinder.ServiceIteratorProvider sip) +
      Register the service iterator provider to iterate on provider instances + or classes.
      +
      T[]toArray() +
      Returns discovered objects all at once.
      +
      java.lang.Class<T>[]toClassArray() +
      Returns discovered classes all at once.
      +
      +
        +
      • + + +

        Methods inherited from class java.lang.Object

        +clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • +
      +
        +
      • + + +

        Methods inherited from interface java.lang.Iterable

        +forEach, spliterator
      • +
      +
    • +
    +
    +
  • +
+
+
+
    +
  • + +
    +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        find

        +
        public static <T> ServiceFinder<T> find​(java.lang.Class<T> service,
        +                                        java.lang.ClassLoader loader)
        +                                 throws ServiceConfigurationError
        +
        Locates and incrementally instantiates the available providers of a + given service using the given class loader. +

        + This method transforms the name of the given service class into a + provider-configuration filename as described above and then uses the + getResources method of the given class loader to find all + available files with that name. These files are then read and parsed to + produce a list of provider-class names. The iterator that is returned + uses the given class loader to lookup and then instantiate each element + of the list. +

        + Because it is possible for extensions to be installed into a running + Java virtual machine, this method may return different results each time + it is invoked.

        +
        +
        Type Parameters:
        +
        T - the type of the service instance.
        +
        Parameters:
        +
        service - The service's abstract service class
        +
        loader - The class loader to be used to load provider-configuration files + and instantiate provider classes, or null if the system + class loader (or, failing that the bootstrap class loader) is to + be used
        +
        Returns:
        +
        the service finder
        +
        Throws:
        +
        ServiceConfigurationError - If a provider-configuration file violates the specified format + or names a provider class that cannot be found and instantiated
        +
        See Also:
        +
        find(Class)
        +
        +
      • +
      + + + +
        +
      • +

        find

        +
        public static <T> ServiceFinder<T> find​(java.lang.Class<T> service,
        +                                        java.lang.ClassLoader loader,
        +                                        boolean ignoreOnClassNotFound)
        +                                 throws ServiceConfigurationError
        +
        Locates and incrementally instantiates the available providers of a + given service using the given class loader. +

        + This method transforms the name of the given service class into a + provider-configuration filename as described above and then uses the + getResources method of the given class loader to find all + available files with that name. These files are then read and parsed to + produce a list of provider-class names. The iterator that is returned + uses the given class loader to lookup and then instantiate each element + of the list. +

        + Because it is possible for extensions to be installed into a running + Java virtual machine, this method may return different results each time + it is invoked.

        +
        +
        Type Parameters:
        +
        T - the type of the service instance.
        +
        Parameters:
        +
        service - The service's abstract service class
        +
        loader - The class loader to be used to load provider-configuration files + and instantiate provider classes, or null if the system + class loader (or, failing that the bootstrap class loader) is to + be used
        +
        ignoreOnClassNotFound - If a provider cannot be loaded by the class loader + then move on to the next available provider.
        +
        Returns:
        +
        the service finder
        +
        Throws:
        +
        ServiceConfigurationError - If a provider-configuration file violates the specified format + or names a provider class that cannot be found and instantiated
        +
        See Also:
        +
        find(Class)
        +
        +
      • +
      + + + +
        +
      • +

        find

        +
        public static <T> ServiceFinder<T> find​(java.lang.Class<T> service)
        +                                 throws ServiceConfigurationError
        +
        Locates and incrementally instantiates the available providers of a + given service using the context class loader. This convenience method + is equivalent to +
        +   ClassLoader cl = Thread.currentThread().getContextClassLoader();
        +   return Service.providers(service, cl, false);
        + 
        +
        +
        Type Parameters:
        +
        T - the type of the service instance.
        +
        Parameters:
        +
        service - The service's abstract service class
        +
        Returns:
        +
        the service finder
        +
        Throws:
        +
        ServiceConfigurationError - If a provider-configuration file violates the specified format + or names a provider class that cannot be found and instantiated
        +
        See Also:
        +
        find(Class, ClassLoader)
        +
        +
      • +
      + + + +
        +
      • +

        find

        +
        public static <T> ServiceFinder<T> find​(java.lang.Class<T> service,
        +                                        boolean ignoreOnClassNotFound)
        +                                 throws ServiceConfigurationError
        +
        Locates and incrementally instantiates the available providers of a + given service using the context class loader. This convenience method + is equivalent to +
        +   ClassLoader cl = Thread.currentThread().getContextClassLoader();
        +   boolean ingore = ...
        +   return Service.providers(service, cl, ignore);
        + 
        +
        +
        Type Parameters:
        +
        T - the type of the service instance.
        +
        Parameters:
        +
        service - The service's abstract service class
        +
        ignoreOnClassNotFound - If a provider cannot be loaded by the class loader + then move on to the next available provider.
        +
        Returns:
        +
        the service finder
        +
        Throws:
        +
        ServiceConfigurationError - If a provider-configuration file violates the specified format + or names a provider class that cannot be found and instantiated
        +
        See Also:
        +
        find(Class, ClassLoader)
        +
        +
      • +
      + + + +
        +
      • +

        find

        +
        public static ServiceFinder<?> find​(java.lang.String serviceName)
        +                             throws ServiceConfigurationError
        +
        Locates and incrementally instantiates the available classes of a given + service file using the context class loader.
        +
        +
        Parameters:
        +
        serviceName - the service name correspond to a file in + META-INF/services that contains a list of fully qualified class + names
        +
        Returns:
        +
        the service finder
        +
        Throws:
        +
        ServiceConfigurationError - If a service file violates the specified format + or names a provider class that cannot be found and instantiated
        +
        +
      • +
      + + + +
        +
      • +

        setIteratorProvider

        +
        public static void setIteratorProvider​(ServiceFinder.ServiceIteratorProvider sip)
        +                                throws java.lang.SecurityException
        +
        Register the service iterator provider to iterate on provider instances + or classes. +

        + The default implementation registered, ServiceFinder.DefaultServiceIteratorProvider, + looks up provider classes in META-INF/service files. +

        + This method must be called prior to any attempts to obtain provider + instances or classes.

        +
        +
        Parameters:
        +
        sip - the service iterator provider.
        +
        Throws:
        +
        java.lang.SecurityException - if the provider cannot be registered.
        +
        +
      • +
      + + + +
        +
      • +

        iterator

        +
        public java.util.Iterator<T> iterator()
        +
        Returns discovered objects incrementally.
        +
        +
        Specified by:
        +
        iterator in interface java.lang.Iterable<T>
        +
        Returns:
        +
        An Iterator that yields provider objects for the given + service, in some arbitrary order. The iterator will throw a + ServiceConfigurationError if a provider-configuration + file violates the specified format or if a provider class cannot + be found and instantiated.
        +
        +
      • +
      + + + +
        +
      • +

        toArray

        +
        public T[] toArray()
        +            throws ServiceConfigurationError
        +
        Returns discovered objects all at once.
        +
        +
        Returns:
        +
        can be empty but never null.
        +
        Throws:
        +
        ServiceConfigurationError - If a provider-configuration file violates the specified format + or names a provider class that cannot be found and instantiated
        +
        +
      • +
      + + + +
        +
      • +

        toClassArray

        +
        public java.lang.Class<T>[] toClassArray()
        +                                  throws ServiceConfigurationError
        +
        Returns discovered classes all at once.
        +
        +
        Returns:
        +
        can be empty but never null.
        +
        Throws:
        +
        ServiceConfigurationError - If a provider-configuration file violates the specified format + or names a provider class that cannot be found
        +
        +
      • +
      +
    • +
    +
    +
  • +
+
+
+
+ + + + diff --git a/apidocs/1.19/org/glassfish/tyrus/core/StrictUtf8.Parser.html b/apidocs/1.19/org/glassfish/tyrus/core/StrictUtf8.Parser.html new file mode 100644 index 00000000..3fb715e9 --- /dev/null +++ b/apidocs/1.19/org/glassfish/tyrus/core/StrictUtf8.Parser.html @@ -0,0 +1,381 @@ + + + + + +StrictUtf8.Parser (Tyrus 1.19 API) + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +

Class StrictUtf8.Parser

+
+
+
    +
  • java.lang.Object
  • +
  • +
      +
    • org.glassfish.tyrus.core.StrictUtf8.Parser
    • +
    +
  • +
+
+
    +
  • +
    +
    Enclosing class:
    +
    StrictUtf8
    +
    +
    +
    public static class StrictUtf8.Parser
    +extends java.lang.Object
    +
    Surrogate parsing support. Charset implementations may use instances of this class to handle the details of + parsing UTF-16 surrogate pairs.
    +
  • +
+
+
+
    +
  • + +
    +
      +
    • + + +

      Constructor Summary

      + + + + + + + + + + +
      Constructors 
      ConstructorDescription
      Parser() 
      +
    • +
    +
    + +
    +
      +
    • + + +

      Method Summary

      + + + + + + + + + + + + + + + + + + + + + + +
      All Methods Instance Methods Concrete Methods 
      Modifier and TypeMethodDescription
      java.nio.charset.CoderResulterror() +
      If the previous parse operation detected an error, return the object describing that error.
      +
      intparse​(char c, + char[] ia, + int ip, + int il) +
      Parses a UCS-4 character from the given source buffer, handling surrogates.
      +
      intparse​(char c, + java.nio.CharBuffer in) +
      Parses a UCS-4 character from the given source buffer, handling surrogates.
      +
      +
        +
      • + + +

        Methods inherited from class java.lang.Object

        +clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • +
      +
    • +
    +
    +
  • +
+
+
+
    +
  • + +
    +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        Parser

        +
        public Parser()
        +
      • +
      +
    • +
    +
    + +
    +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        error

        +
        public java.nio.charset.CoderResult error()
        +
        If the previous parse operation detected an error, return the object describing that error.
        +
        +
        Returns:
        +
        object describing encountered parse error.
        +
        +
      • +
      + + + +
        +
      • +

        parse

        +
        public int parse​(char c,
        +                 java.nio.CharBuffer in)
        +
        Parses a UCS-4 character from the given source buffer, handling surrogates.
        +
        +
        Parameters:
        +
        c - The first character
        +
        in - The source buffer, from which one more character will be consumed if c is a high surrogate
        +
        Returns:
        +
        Either a parsed UCS-4 character, in which case the isPair() and increment() methods will return + meaningful values, or -1, in which case error() will return a descriptive result object
        +
        +
      • +
      + + + +
        +
      • +

        parse

        +
        public int parse​(char c,
        +                 char[] ia,
        +                 int ip,
        +                 int il)
        +
        Parses a UCS-4 character from the given source buffer, handling surrogates.
        +
        +
        Parameters:
        +
        c - The first character
        +
        ia - The input array, from which one more character will be consumed if c is a high surrogate
        +
        ip - The input index
        +
        il - The input limit
        +
        Returns:
        +
        Either a parsed UCS-4 character, in which case the isPair() and increment() methods will return + meaningful values, or -1, in which case error() will return a descriptive result object
        +
        +
      • +
      +
    • +
    +
    +
  • +
+
+
+
+ + + + diff --git a/apidocs/1.19/org/glassfish/tyrus/core/StrictUtf8.html b/apidocs/1.19/org/glassfish/tyrus/core/StrictUtf8.html new file mode 100644 index 00000000..87e37a58 --- /dev/null +++ b/apidocs/1.19/org/glassfish/tyrus/core/StrictUtf8.html @@ -0,0 +1,389 @@ + + + + + +StrictUtf8 (Tyrus 1.19 API) + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +

Class StrictUtf8

+
+
+
    +
  • java.lang.Object
  • +
  • +
      +
    • java.nio.charset.Charset
    • +
    • +
        +
      • org.glassfish.tyrus.core.StrictUtf8
      • +
      +
    • +
    +
  • +
+
+
    +
  • +
    +
    All Implemented Interfaces:
    +
    java.lang.Comparable<java.nio.charset.Charset>
    +
    +
    +
    public class StrictUtf8
    +extends java.nio.charset.Charset
    +
  • +
+
+
+
    +
  • + +
    +
      +
    • + + +

      Nested Class Summary

      + + + + + + + + + + + + +
      Nested Classes 
      Modifier and TypeClassDescription
      static class StrictUtf8.Parser +
      Surrogate parsing support.
      +
      +
    • +
    +
    + +
    +
      +
    • + + +

      Constructor Summary

      + + + + + + + + + + +
      Constructors 
      ConstructorDescription
      StrictUtf8() 
      +
    • +
    +
    + +
    +
      +
    • + + +

      Method Summary

      + + + + + + + + + + + + + + + + + + + + + + +
      All Methods Instance Methods Concrete Methods 
      Modifier and TypeMethodDescription
      booleancontains​(java.nio.charset.Charset cs) 
      java.nio.charset.CharsetDecodernewDecoder() 
      java.nio.charset.CharsetEncodernewEncoder() 
      +
        +
      • + + +

        Methods inherited from class java.nio.charset.Charset

        +aliases, availableCharsets, canEncode, compareTo, decode, defaultCharset, displayName, displayName, encode, encode, equals, forName, hashCode, isRegistered, isSupported, name, toString
      • +
      +
        +
      • + + +

        Methods inherited from class java.lang.Object

        +clone, finalize, getClass, notify, notifyAll, wait, wait, wait
      • +
      +
    • +
    +
    +
  • +
+
+
+
    +
  • + +
    +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        StrictUtf8

        +
        public StrictUtf8()
        +
      • +
      +
    • +
    +
    + +
    +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        newDecoder

        +
        public java.nio.charset.CharsetDecoder newDecoder()
        +
        +
        Specified by:
        +
        newDecoder in class java.nio.charset.Charset
        +
        +
      • +
      + + + +
        +
      • +

        newEncoder

        +
        public java.nio.charset.CharsetEncoder newEncoder()
        +
        +
        Specified by:
        +
        newEncoder in class java.nio.charset.Charset
        +
        +
      • +
      + + + +
        +
      • +

        contains

        +
        public boolean contains​(java.nio.charset.Charset cs)
        +
        +
        Specified by:
        +
        contains in class java.nio.charset.Charset
        +
        +
      • +
      +
    • +
    +
    +
  • +
+
+
+
+ + + + diff --git a/apidocs/1.19/org/glassfish/tyrus/core/TyrusEndpointWrapper.SessionListener.OnOpenResult.html b/apidocs/1.19/org/glassfish/tyrus/core/TyrusEndpointWrapper.SessionListener.OnOpenResult.html new file mode 100644 index 00000000..772dfb2e --- /dev/null +++ b/apidocs/1.19/org/glassfish/tyrus/core/TyrusEndpointWrapper.SessionListener.OnOpenResult.html @@ -0,0 +1,407 @@ + + + + + +TyrusEndpointWrapper.SessionListener.OnOpenResult (Tyrus 1.19 API) + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +

Enum TyrusEndpointWrapper.SessionListener.OnOpenResult

+
+
+ +
+ +
+
+ +
+
+
    +
  • + +
    + +
    + +
    +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        values

        +
        public static TyrusEndpointWrapper.SessionListener.OnOpenResult[] values()
        +
        Returns an array containing the constants of this enum type, in +the order they are declared. This method may be used to iterate +over the constants as follows: +
        +for (TyrusEndpointWrapper.SessionListener.OnOpenResult c : TyrusEndpointWrapper.SessionListener.OnOpenResult.values())
        +    System.out.println(c);
        +
        +
        +
        Returns:
        +
        an array containing the constants of this enum type, in the order they are declared
        +
        +
      • +
      + + + +
        +
      • +

        valueOf

        +
        public static TyrusEndpointWrapper.SessionListener.OnOpenResult valueOf​(java.lang.String name)
        +
        Returns the enum constant of this type with the specified name. +The string must match exactly an identifier used to declare an +enum constant in this type. (Extraneous whitespace characters are +not permitted.)
        +
        +
        Parameters:
        +
        name - the name of the enum constant to be returned.
        +
        Returns:
        +
        the enum constant with the specified name
        +
        Throws:
        +
        java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
        +
        java.lang.NullPointerException - if the argument is null
        +
        +
      • +
      +
    • +
    +
    +
  • +
+
+
+
+ + + + diff --git a/apidocs/1.19/org/glassfish/tyrus/core/TyrusEndpointWrapper.SessionListener.html b/apidocs/1.19/org/glassfish/tyrus/core/TyrusEndpointWrapper.SessionListener.html new file mode 100644 index 00000000..b55fc6d9 --- /dev/null +++ b/apidocs/1.19/org/glassfish/tyrus/core/TyrusEndpointWrapper.SessionListener.html @@ -0,0 +1,380 @@ + + + + + +TyrusEndpointWrapper.SessionListener (Tyrus 1.19 API) + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +

Class TyrusEndpointWrapper.SessionListener

+
+
+
    +
  • java.lang.Object
  • +
  • +
      +
    • org.glassfish.tyrus.core.TyrusEndpointWrapper.SessionListener
    • +
    +
  • +
+
+
    +
  • +
    +
    Enclosing class:
    +
    TyrusEndpointWrapper
    +
    +
    +
    public abstract static class TyrusEndpointWrapper.SessionListener
    +extends java.lang.Object
    +
    Session listener. +

    + TODO: rename/consolidate with EndpointEventListener?

    +
  • +
+
+
+ +
+
+ +
+
+
+ + + + diff --git a/apidocs/1.19/org/glassfish/tyrus/core/TyrusEndpointWrapper.html b/apidocs/1.19/org/glassfish/tyrus/core/TyrusEndpointWrapper.html new file mode 100644 index 00000000..73730572 --- /dev/null +++ b/apidocs/1.19/org/glassfish/tyrus/core/TyrusEndpointWrapper.html @@ -0,0 +1,528 @@ + + + + + +TyrusEndpointWrapper (Tyrus 1.19 API) + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +

Class TyrusEndpointWrapper

+
+
+
    +
  • java.lang.Object
  • +
  • +
      +
    • org.glassfish.tyrus.core.TyrusEndpointWrapper
    • +
    +
  • +
+
+
    +
  • +
    +
    public class TyrusEndpointWrapper
    +extends java.lang.Object
    +
    Wraps the registered application class. +

    + There is one TyrusEndpointWrapper for each application class, which handles all the methods.

    +
    +
    Author:
    +
    Danny Coward, Stepan Kopriva, Martin Matula, Pavel Bucek
    +
    +
  • +
+
+
+ +
+
+
    +
  • + +
    + +
    + +
    +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        doEncode

        +
        public java.lang.Object doEncode​(Session session,
        +                                 java.lang.Object message)
        +                          throws EncodeException,
        +                                 java.io.IOException
        +
        +
        Throws:
        +
        EncodeException
        +
        java.io.IOException
        +
        +
      • +
      + + + +
        +
      • +

        getEndpointPath

        +
        public java.lang.String getEndpointPath()
        +
        Server-side; Get Endpoint absolute path.
        +
        +
        Returns:
        +
        endpoint absolute path.
        +
        +
      • +
      + + + +
        +
      • +

        createSessionForRemoteEndpoint

        +
        public Session createSessionForRemoteEndpoint​(TyrusWebSocket socket,
        +                                              java.lang.String subprotocol,
        +                                              java.util.List<Extension> extensions,
        +                                              DebugContext debugContext)
        +
        Creates a Session based on the TyrusWebSocket, subprotocols and extensions.
        +
        +
        Parameters:
        +
        socket - the other end of the connection.
        +
        subprotocol - used.
        +
        extensions - extensions used.
        +
        debugContext - debug context.
        +
        Returns:
        +
        Session representing the connection.
        +
        +
      • +
      + + + +
        +
      • +

        getEndpointConfig

        +
        public EndpointConfig getEndpointConfig()
        +
        Get Endpoint configuration.
        +
        +
        Returns:
        +
        configuration.
        +
        +
      • +
      + + + +
        +
      • +

        toString

        +
        public java.lang.String toString()
        +
        +
        Overrides:
        +
        toString in class java.lang.Object
        +
        +
      • +
      +
    • +
    +
    +
  • +
+
+
+
+ + + + diff --git a/apidocs/1.19/org/glassfish/tyrus/core/TyrusExtension.TyrusParameter.html b/apidocs/1.19/org/glassfish/tyrus/core/TyrusExtension.TyrusParameter.html new file mode 100644 index 00000000..1aaa946d --- /dev/null +++ b/apidocs/1.19/org/glassfish/tyrus/core/TyrusExtension.TyrusParameter.html @@ -0,0 +1,384 @@ + + + + + +TyrusExtension.TyrusParameter (Tyrus 1.19 API) + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +

Class TyrusExtension.TyrusParameter

+
+
+
    +
  • java.lang.Object
  • +
  • +
      +
    • org.glassfish.tyrus.core.TyrusExtension.TyrusParameter
    • +
    +
  • +
+
+ +
+
+
    +
  • + +
    +
      +
    • + + +

      Constructor Summary

      + + + + + + + + + + +
      Constructors 
      ConstructorDescription
      TyrusParameter​(java.lang.String name, + java.lang.String value) +
      Create Extension.Parameter with name and value.
      +
      +
    • +
    +
    + +
    +
      +
    • + + +

      Method Summary

      + + + + + + + + + + + + + + + + + + + + + + +
      All Methods Instance Methods Concrete Methods 
      Modifier and TypeMethodDescription
      java.lang.StringgetName() +
      Return the name of the extension parameter.
      +
      java.lang.StringgetValue() +
      Return the value of the extension parameter.
      +
      java.lang.StringtoString() 
      +
        +
      • + + +

        Methods inherited from class java.lang.Object

        +clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
      • +
      +
    • +
    +
    +
  • +
+
+
+
    +
  • + +
    +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        TyrusParameter

        +
        public TyrusParameter​(java.lang.String name,
        +                      java.lang.String value)
        +
        Create Extension.Parameter with name and value.
        +
        +
        Parameters:
        +
        name - parameter name.
        +
        value - parameter value.
        +
        +
      • +
      +
    • +
    +
    + +
    +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        getName

        +
        public java.lang.String getName()
        +
        Description copied from interface: Extension.Parameter
        +
        Return the name of the extension parameter.
        +
        +
        Specified by:
        +
        getName in interface Extension.Parameter
        +
        Returns:
        +
        the name of the parameter.
        +
        +
      • +
      + + + +
        +
      • +

        getValue

        +
        public java.lang.String getValue()
        +
        Description copied from interface: Extension.Parameter
        +
        Return the value of the extension parameter.
        +
        +
        Specified by:
        +
        getValue in interface Extension.Parameter
        +
        Returns:
        +
        the value of the parameter.
        +
        +
      • +
      + + + +
        +
      • +

        toString

        +
        public java.lang.String toString()
        +
        +
        Overrides:
        +
        toString in class java.lang.Object
        +
        +
      • +
      +
    • +
    +
    +
  • +
+
+
+
+ + + + diff --git a/apidocs/1.19/org/glassfish/tyrus/core/TyrusExtension.html b/apidocs/1.19/org/glassfish/tyrus/core/TyrusExtension.html new file mode 100644 index 00000000..aab3f946 --- /dev/null +++ b/apidocs/1.19/org/glassfish/tyrus/core/TyrusExtension.html @@ -0,0 +1,520 @@ + + + + + +TyrusExtension (Tyrus 1.19 API) + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +

Class TyrusExtension

+
+
+
    +
  • java.lang.Object
  • +
  • +
      +
    • org.glassfish.tyrus.core.TyrusExtension
    • +
    +
  • +
+
+
    +
  • +
    +
    All Implemented Interfaces:
    +
    java.io.Serializable, Extension
    +
    +
    +
    public class TyrusExtension
    +extends java.lang.Object
    +implements Extension, java.io.Serializable
    +
    WebSocket Extension implementation.
    +
    +
    Author:
    +
    Pavel Bucek (pavel.bucek at oracle.com)
    +
    See Also:
    +
    Serialized Form
    +
    +
  • +
+
+
+ +
+
+
    +
  • + +
    +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        TyrusExtension

        +
        public TyrusExtension​(java.lang.String name)
        +
        Create Extension with specific name.
        +
        +
        Parameters:
        +
        name - extension name.
        +
        Throws:
        +
        java.lang.IllegalArgumentException - when name is null or empty string.
        +
        +
      • +
      + + + +
        +
      • +

        TyrusExtension

        +
        public TyrusExtension​(java.lang.String name,
        +                      java.util.List<Extension.Parameter> parameters)
        +
        Create Extension with name and parameters.
        +
        +
        Parameters:
        +
        name - extension name.
        +
        parameters - extension parameters.
        +
        +
      • +
      +
    • +
    +
    + +
    +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        getName

        +
        public java.lang.String getName()
        +
        Description copied from interface: Extension
        +
        The name of the extension.
        +
        +
        Specified by:
        +
        getName in interface Extension
        +
        Returns:
        +
        the name of the extension.
        +
        +
      • +
      + + + +
        +
      • +

        getParameters

        +
        public java.util.List<Extension.Parameter> getParameters()
        +
        Description copied from interface: Extension
        +
        The extension parameters for this extension in the order + they appear in the http headers.
        +
        +
        Specified by:
        +
        getParameters in interface Extension
        +
        Returns:
        +
        The read-only Map of extension parameters belonging to this extension.
        +
        +
      • +
      + + + +
        +
      • +

        toString

        +
        public java.lang.String toString()
        +
        +
        Overrides:
        +
        toString in class java.lang.Object
        +
        +
      • +
      + + + +
        +
      • +

        equals

        +
        public boolean equals​(java.lang.Object o)
        +
        +
        Overrides:
        +
        equals in class java.lang.Object
        +
        +
      • +
      + + + +
        +
      • +

        hashCode

        +
        public int hashCode()
        +
        +
        Overrides:
        +
        hashCode in class java.lang.Object
        +
        +
      • +
      + + + +
        +
      • +

        fromString

        +
        public static java.util.List<Extension> fromString​(java.util.List<java.lang.String> s)
        +
        Parsing of one Extension.
        +
        +
        Parameters:
        +
        s - List of String containing Extensions.
        +
        Returns:
        +
        List of extensions represented as TyrusExtension.
        +
        +
      • +
      + + + +
        +
      • +

        fromHeaders

        +
        public static java.util.List<Extension> fromHeaders​(java.util.List<java.lang.String> extensionHeaders)
        +
        Parse Extension from headers (represented as List of strings).
        +
        +
        Parameters:
        +
        extensionHeaders - Http Extension headers.
        +
        Returns:
        +
        list of parsed Extensions.
        +
        +
      • +
      +
    • +
    +
    +
  • +
+
+
+
+ + + + diff --git a/apidocs/1.19/org/glassfish/tyrus/core/TyrusFuture.html b/apidocs/1.19/org/glassfish/tyrus/core/TyrusFuture.html new file mode 100644 index 00000000..2a859b86 --- /dev/null +++ b/apidocs/1.19/org/glassfish/tyrus/core/TyrusFuture.html @@ -0,0 +1,452 @@ + + + + + +TyrusFuture (Tyrus 1.19 API) + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +

Class TyrusFuture<T>

+
+
+
    +
  • java.lang.Object
  • +
  • +
      +
    • org.glassfish.tyrus.core.TyrusFuture<T>
    • +
    +
  • +
+
+
    +
  • +
    +
    All Implemented Interfaces:
    +
    java.util.concurrent.Future<T>
    +
    +
    +
    public class TyrusFuture<T>
    +extends java.lang.Object
    +implements java.util.concurrent.Future<T>
    +
    Simple Future implementation.
    +
    +
    Author:
    +
    Stepan Kopriva (stepan.kopriva at oracle.com)
    +
    +
  • +
+
+
+
    +
  • + +
    +
      +
    • + + +

      Constructor Summary

      + + + + + + + + + + +
      Constructors 
      ConstructorDescription
      TyrusFuture() 
      +
    • +
    +
    + +
    +
      +
    • + + +

      Method Summary

      + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
      All Methods Instance Methods Concrete Methods 
      Modifier and TypeMethodDescription
      booleancancel​(boolean mayInterruptIfRunning) 
      Tget() 
      Tget​(long timeout, + java.util.concurrent.TimeUnit unit) 
      booleanisCancelled() 
      booleanisDone() 
      voidsetFailure​(java.lang.Throwable throwable) +
      Sets the failure result of message writing process.
      +
      voidsetResult​(T result) +
      Sets the result of the message writing process.
      +
      +
        +
      • + + +

        Methods inherited from class java.lang.Object

        +clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • +
      +
    • +
    +
    +
  • +
+
+
+
    +
  • + +
    +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        TyrusFuture

        +
        public TyrusFuture()
        +
      • +
      +
    • +
    +
    + +
    +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        cancel

        +
        public boolean cancel​(boolean mayInterruptIfRunning)
        +
        +
        Specified by:
        +
        cancel in interface java.util.concurrent.Future<T>
        +
        +
      • +
      + + + +
        +
      • +

        isCancelled

        +
        public boolean isCancelled()
        +
        +
        Specified by:
        +
        isCancelled in interface java.util.concurrent.Future<T>
        +
        +
      • +
      + + + +
        +
      • +

        isDone

        +
        public boolean isDone()
        +
        +
        Specified by:
        +
        isDone in interface java.util.concurrent.Future<T>
        +
        +
      • +
      + + + +
        +
      • +

        get

        +
        public T get()
        +      throws java.lang.InterruptedException,
        +             java.util.concurrent.ExecutionException
        +
        +
        Specified by:
        +
        get in interface java.util.concurrent.Future<T>
        +
        Throws:
        +
        java.lang.InterruptedException
        +
        java.util.concurrent.ExecutionException
        +
        +
      • +
      + + + +
        +
      • +

        get

        +
        public T get​(long timeout,
        +             java.util.concurrent.TimeUnit unit)
        +      throws java.lang.InterruptedException,
        +             java.util.concurrent.ExecutionException,
        +             java.util.concurrent.TimeoutException
        +
        +
        Specified by:
        +
        get in interface java.util.concurrent.Future<T>
        +
        Throws:
        +
        java.lang.InterruptedException
        +
        java.util.concurrent.ExecutionException
        +
        java.util.concurrent.TimeoutException
        +
        +
      • +
      + + + + + +
        +
      • +

        setResult

        +
        public void setResult​(T result)
        +
        Sets the result of the message writing process.
        +
        +
        Parameters:
        +
        result - result
        +
        +
      • +
      + + + +
        +
      • +

        setFailure

        +
        public void setFailure​(java.lang.Throwable throwable)
        +
        Sets the failure result of message writing process.
        +
        +
        Parameters:
        +
        throwable - throwable.
        +
        +
      • +
      +
    • +
    +
    +
  • +
+
+
+
+ + + + diff --git a/apidocs/1.19/org/glassfish/tyrus/core/TyrusRemoteEndpoint.html b/apidocs/1.19/org/glassfish/tyrus/core/TyrusRemoteEndpoint.html new file mode 100644 index 00000000..670959fc --- /dev/null +++ b/apidocs/1.19/org/glassfish/tyrus/core/TyrusRemoteEndpoint.html @@ -0,0 +1,447 @@ + + + + + +TyrusRemoteEndpoint (Tyrus 1.19 API) + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +

Class TyrusRemoteEndpoint

+
+
+
    +
  • java.lang.Object
  • +
  • +
      +
    • org.glassfish.tyrus.core.TyrusRemoteEndpoint
    • +
    +
  • +
+
+
    +
  • +
    +
    All Implemented Interfaces:
    +
    RemoteEndpoint
    +
    +
    +
    public abstract class TyrusRemoteEndpoint
    +extends java.lang.Object
    +implements RemoteEndpoint
    +
    Wraps the RemoteEndpoint and represents the other side of the websocket connection.
    +
    +
    Author:
    +
    Danny Coward (danny.coward at oracle.com), Martin Matula (martin.matula at oracle.com), Stepan Kopriva (stepan.kopriva at oracle.com), Pavel Bucek (pavel.bucek at oracle.com)
    +
    +
  • +
+
+
+
    +
  • + +
    +
      +
    • + + +

      Method Summary

      + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
      All Methods Instance Methods Concrete Methods 
      Modifier and TypeMethodDescription
      voidclose​(CloseReason cr) 
      voidflushBatch() +
      This method is only used when batching is allowed for this RemoteEndpint.
      +
      booleangetBatchingAllowed() +
      Return whether the implementation is allowed to batch outgoing messages + before sending.
      +
      voidsendPing​(java.nio.ByteBuffer applicationData) +
      Send a Ping message containing the given application data to the remote endpoint.
      +
      voidsendPong​(java.nio.ByteBuffer applicationData) +
      Allows the developer to send an unsolicited Pong message containing the given application + data in order to serve as a unidirectional + heartbeat for the session.
      +
      voidsetBatchingAllowed​(boolean allowed) +
      Indicate to the implementation that it is allowed to batch outgoing messages + before sending.
      +
      java.lang.StringtoString() 
      +
        +
      • + + +

        Methods inherited from class java.lang.Object

        +clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
      • +
      +
    • +
    +
    +
  • +
+
+
+
    +
  • + +
    +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        sendPing

        +
        public void sendPing​(java.nio.ByteBuffer applicationData)
        +              throws java.io.IOException
        +
        Description copied from interface: RemoteEndpoint
        +
        Send a Ping message containing the given application data to the remote endpoint. The corresponding Pong message may be picked + up using the MessageHandler.Pong handler.
        +
        +
        Specified by:
        +
        sendPing in interface RemoteEndpoint
        +
        Parameters:
        +
        applicationData - the data to be carried in the ping request.
        +
        Throws:
        +
        java.io.IOException - if the ping failed to be sent
        +
        +
      • +
      + + + +
        +
      • +

        sendPong

        +
        public void sendPong​(java.nio.ByteBuffer applicationData)
        +              throws java.io.IOException
        +
        Description copied from interface: RemoteEndpoint
        +
        Allows the developer to send an unsolicited Pong message containing the given application + data in order to serve as a unidirectional + heartbeat for the session.
        +
        +
        Specified by:
        +
        sendPong in interface RemoteEndpoint
        +
        Parameters:
        +
        applicationData - the application data to be carried in the pong response.
        +
        Throws:
        +
        java.io.IOException - if the pong failed to be sent
        +
        +
      • +
      + + + +
        +
      • +

        toString

        +
        public java.lang.String toString()
        +
        +
        Overrides:
        +
        toString in class java.lang.Object
        +
        +
      • +
      + + + +
        +
      • +

        setBatchingAllowed

        +
        public void setBatchingAllowed​(boolean allowed)
        +
        Description copied from interface: RemoteEndpoint
        +
        Indicate to the implementation that it is allowed to batch outgoing messages + before sending. Not all implementations support batching of outgoing messages. + The default mode for RemoteEndpoints is false. If the developer + has indicated that batching of outgoing + messages is permitted, then the developer must call flushBatch() in order to be + sure that all the messages passed into the send methods of this RemoteEndpoint + are sent. + When batching is allowed, the implementations send operations are considered + to have completed if the message has been written to the local batch, in + the case when there is still room in the batch for the message, and are considered + to have completed if the batch has been send to the peer and the remainder + written to the new batch, in the case when + writing the message causes the batch to need to be sent. The blocking + and asynchronous send methods use this notion of completion in order + to complete blocking calls, notify SendHandlers and complete Futures respectively. + When batching is allowed, if the developer has called send methods + on this RemoteEndpoint without calling flushBatch(), then the implementation + may not have sent all the messages the developer has asked to be sent. If + the parameter value is false and the implementation has a batch of unsent messages, + then the implementation must immediately send the batch of unsent messages.
        +
        +
        Specified by:
        +
        setBatchingAllowed in interface RemoteEndpoint
        +
        Parameters:
        +
        allowed - whether the implementation is allowed to batch messages.
        +
        +
      • +
      + + + +
        +
      • +

        getBatchingAllowed

        +
        public boolean getBatchingAllowed()
        +
        Description copied from interface: RemoteEndpoint
        +
        Return whether the implementation is allowed to batch outgoing messages + before sending. The default mode for RemoteEndpoints is false. The value + may be changed by calling setBatchingAllowed.
        +
        +
        Specified by:
        +
        getBatchingAllowed in interface RemoteEndpoint
        +
        +
      • +
      + + + +
        +
      • +

        flushBatch

        +
        public void flushBatch()
        +
        Description copied from interface: RemoteEndpoint
        +
        This method is only used when batching is allowed for this RemoteEndpint. Calling + this method forces the implementation to send any unsent messages it has been batching.
        +
        +
        Specified by:
        +
        flushBatch in interface RemoteEndpoint
        +
        +
      • +
      + + + + +
    • +
    +
    +
  • +
+
+
+
+ + + + diff --git a/apidocs/1.19/org/glassfish/tyrus/core/TyrusServerEndpointConfig.Builder.html b/apidocs/1.19/org/glassfish/tyrus/core/TyrusServerEndpointConfig.Builder.html new file mode 100644 index 00000000..01745cb6 --- /dev/null +++ b/apidocs/1.19/org/glassfish/tyrus/core/TyrusServerEndpointConfig.Builder.html @@ -0,0 +1,477 @@ + + + + + +TyrusServerEndpointConfig.Builder (Tyrus 1.19 API) + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +

Class TyrusServerEndpointConfig.Builder

+
+
+
    +
  • java.lang.Object
  • +
  • +
      +
    • org.glassfish.tyrus.core.TyrusServerEndpointConfig.Builder
    • +
    +
  • +
+
+
    +
  • +
    +
    Enclosing interface:
    +
    TyrusServerEndpointConfig
    +
    +
    +
    public static final class TyrusServerEndpointConfig.Builder
    +extends java.lang.Object
    +
    The TyrusServerEndpointConfig.Builder is a class used for creating + TyrusServerEndpointConfig.Builder objects for the purposes of + deploying a server endpoint. +

    + Here are some examples: +

    + Building a plain configuration for an endpoint with just a path. +

    + ServerEndpointConfig config = TyrusServerEndpointConfig.Builder.create(ProgrammaticEndpoint.class, + "/foo").build(); +

    + Building a configuration with no subprotocols, limited number of sessions (100) and a custom configurator. +

    
    + ServerEndpointConfig config = TyrusServerEndpointConfig.Builder.create(ProgrammaticEndpoint.class, "/bar")
    +         .subprotocols(subprotocols)
    +         .maxSessions(100)
    +         .configurator(new MyServerConfigurator())
    +         .build();
    + 
    +
    +
    Author:
    +
    dannycoward
    +
    +
  • +
+
+
+ +
+
+
    +
  • + +
    +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        create

        +
        public static TyrusServerEndpointConfig.Builder create​(java.lang.Class<?> endpointClass,
        +                                                       java.lang.String path)
        +
        Creates the builder with the mandatory information of the endpoint class + (programmatic or annotated), the relative URI or URI-template to use, + and with no subprotocols, extensions, encoders, decoders or custom + configurator.
        +
        +
        Parameters:
        +
        endpointClass - the class of the endpoint to configure
        +
        path - The URI or URI template where the endpoint will be deployed. + A trailing "/" will be ignored and the path must begin with /.
        +
        Returns:
        +
        a new instance of TyrusServerEndpointConfig.Builder .
        +
        +
      • +
      + + + +
        +
      • +

        build

        +
        public TyrusServerEndpointConfig build()
        +
        Builds the configuration object using the current attributes + that have been set on this builder object.
        +
        +
        Returns:
        +
        a new TyrusServerEndpointConfig object.
        +
        +
      • +
      + + + +
        +
      • +

        encoders

        +
        public TyrusServerEndpointConfig.Builder encoders​(java.util.List<java.lang.Class<? extends Encoder>> encoders)
        +
        Sets the list of encoder implementation classes for this builder.
        +
        +
        Parameters:
        +
        encoders - the encoders.
        +
        Returns:
        +
        this builder instance.
        +
        +
      • +
      + + + +
        +
      • +

        decoders

        +
        public TyrusServerEndpointConfig.Builder decoders​(java.util.List<java.lang.Class<? extends Decoder>> decoders)
        +
        Sets the decoder implementation classes to use in the configuration.
        +
        +
        Parameters:
        +
        decoders - the decoders.
        +
        Returns:
        +
        this builder instance.
        +
        +
      • +
      + + + +
        +
      • +

        subprotocols

        +
        public TyrusServerEndpointConfig.Builder subprotocols​(java.util.List<java.lang.String> subprotocols)
        +
        Sets the subprotocols to use in the configuration.
        +
        +
        Parameters:
        +
        subprotocols - the subprotocols.
        +
        Returns:
        +
        this builder instance.
        +
        +
      • +
      + + + +
        +
      • +

        extensions

        +
        public TyrusServerEndpointConfig.Builder extensions​(java.util.List<Extension> extensions)
        +
        Sets the extensions to use in the configuration.
        +
        +
        Parameters:
        +
        extensions - the extensions to use.
        +
        Returns:
        +
        this builder instance.
        +
        +
      • +
      + + + +
        +
      • +

        configurator

        +
        public TyrusServerEndpointConfig.Builder configurator​(ServerEndpointConfig.Configurator serverEndpointConfigurator)
        +
        Sets the custom configurator to use on the configuration + object built by this builder.
        +
        +
        Parameters:
        +
        serverEndpointConfigurator - the configurator.
        +
        Returns:
        +
        this builder instance
        +
        +
      • +
      + + + +
        +
      • +

        maxSessions

        +
        public TyrusServerEndpointConfig.Builder maxSessions​(int maxSessions)
        +
        Sets maximal number of open sessions.
        +
        +
        Parameters:
        +
        maxSessions - maximal number of open session.
        +
        Returns:
        +
        this builder instance.
        +
        +
      • +
      +
    • +
    +
    +
  • +
+
+
+
+ + + + diff --git a/apidocs/1.19/org/glassfish/tyrus/core/TyrusServerEndpointConfig.html b/apidocs/1.19/org/glassfish/tyrus/core/TyrusServerEndpointConfig.html new file mode 100644 index 00000000..a4c0409a --- /dev/null +++ b/apidocs/1.19/org/glassfish/tyrus/core/TyrusServerEndpointConfig.html @@ -0,0 +1,322 @@ + + + + + +TyrusServerEndpointConfig (Tyrus 1.19 API) + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +

Interface TyrusServerEndpointConfig

+
+
+
+ +
+
+ +
+
+
    +
  • + +
    +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        getMaxSessions

        +
        int getMaxSessions()
        +
        Returns configured maximal number of open sessions.
        +
        +
        Returns:
        +
        tne maximal number of open sessions.
        +
        +
      • +
      +
    • +
    +
    +
  • +
+
+
+
+ + + + diff --git a/apidocs/1.19/org/glassfish/tyrus/core/TyrusServerEndpointConfigurator.html b/apidocs/1.19/org/glassfish/tyrus/core/TyrusServerEndpointConfigurator.html new file mode 100644 index 00000000..b9eacbf5 --- /dev/null +++ b/apidocs/1.19/org/glassfish/tyrus/core/TyrusServerEndpointConfigurator.html @@ -0,0 +1,503 @@ + + + + + +TyrusServerEndpointConfigurator (Tyrus 1.19 API) + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +

Class TyrusServerEndpointConfigurator

+
+
+ +
+ +
+
+
    +
  • + +
    + +
    + +
    +
      +
    • + + +

      Method Summary

      + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
      All Methods Instance Methods Concrete Methods 
      Modifier and TypeMethodDescription
      booleancheckOrigin​(java.lang.String originHeaderValue) +
      Check the value of the Origin header (See Origin Header) the client passed during the opening + handshake.
      +
      <T> TgetEndpointInstance​(java.lang.Class<T> endpointClass) +
      This method is called by the container each time a new client + connects to the logical endpoint this configurator configures.
      +
      java.util.List<Extension>getNegotiatedExtensions​(java.util.List<Extension> installed, + java.util.List<Extension> requested) +
      Return the ordered list of extensions that t server endpoint will support + given the requested extension list passed in, the empty list if none.
      +
      java.lang.StringgetNegotiatedSubprotocol​(java.util.List<java.lang.String> supported, + java.util.List<java.lang.String> requested) +
      Return the subprotocol the server endpoint has chosen from the requested + list supplied by a client who wishes to connect, or none if there wasn't one + this server endpoint liked.
      +
      voidmodifyHandshake​(ServerEndpointConfig sec, + HandshakeRequest request, + HandshakeResponse response) +
      Called by the container after it has formulated a handshake response resulting from + a well-formed handshake request.
      +
      +
        +
      • + + +

        Methods inherited from class java.lang.Object

        +clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • +
      +
    • +
    +
    +
  • +
+
+
+
    +
  • + +
    +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        TyrusServerEndpointConfigurator

        +
        public TyrusServerEndpointConfigurator()
        +
      • +
      +
    • +
    +
    + +
    +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        getNegotiatedSubprotocol

        +
        public java.lang.String getNegotiatedSubprotocol​(java.util.List<java.lang.String> supported,
        +                                                 java.util.List<java.lang.String> requested)
        +
        Description copied from class: ServerEndpointConfig.Configurator
        +
        Return the subprotocol the server endpoint has chosen from the requested + list supplied by a client who wishes to connect, or none if there wasn't one + this server endpoint liked. See + Sending the + Server's Opening Handshake. Subclasses may provide custom algorithms + based on other factors. + +

        The default platform implementation of this method returns the first + subprotocol in the list sent by the client that the server supports, + or the empty string if there isn't one.

        +
        +
        Overrides:
        +
        getNegotiatedSubprotocol in class ServerEndpointConfig.Configurator
        +
        Parameters:
        +
        supported - the subprotocols supported by the server endpoint
        +
        requested - the requested subprotocols from the client endpoint
        +
        Returns:
        +
        the negotiated subprotocol or the empty string if there isn't one.
        +
        +
      • +
      + + + +
        +
      • +

        getNegotiatedExtensions

        +
        public java.util.List<Extension> getNegotiatedExtensions​(java.util.List<Extension> installed,
        +                                                         java.util.List<Extension> requested)
        +
        Description copied from class: ServerEndpointConfig.Configurator
        +
        Return the ordered list of extensions that t server endpoint will support + given the requested extension list passed in, the empty list if none. See + Negotiating Extensions + +

        The default platform implementation of this method returns a list + containing all of the requested extensions passed to this method that + it supports, using the order in the requested extensions, the empty + list if none.

        +
        +
        Overrides:
        +
        getNegotiatedExtensions in class ServerEndpointConfig.Configurator
        +
        Parameters:
        +
        installed - the installed extensions on the implementation.
        +
        requested - the requested extensions, in the order they were + requested by the client
        +
        Returns:
        +
        the list of extensions negotiated, the empty list if none.
        +
        +
      • +
      + + + +
        +
      • +

        checkOrigin

        +
        public boolean checkOrigin​(java.lang.String originHeaderValue)
        +
        Description copied from class: ServerEndpointConfig.Configurator
        +
        Check the value of the Origin header (See Origin Header) the client passed during the opening + handshake. + +

        The platform default implementation of this method makes a check of the + validity of the Origin header sent along with + the opening handshake following the recommendation at: + Sending + the Server's Opening Handshake.

        +
        +
        Overrides:
        +
        checkOrigin in class ServerEndpointConfig.Configurator
        +
        Parameters:
        +
        originHeaderValue - the value of the origin header passed + by the client.
        +
        Returns:
        +
        whether the check passed or not
        +
        +
      • +
      + + + +
        +
      • +

        modifyHandshake

        +
        public void modifyHandshake​(ServerEndpointConfig sec,
        +                            HandshakeRequest request,
        +                            HandshakeResponse response)
        +
        Description copied from class: ServerEndpointConfig.Configurator
        +
        Called by the container after it has formulated a handshake response resulting from + a well-formed handshake request. The container has already + checked that this configuration has a matching URI, determined the + validity of the origin using the checkOrigin method, and filled + out the negotiated subprotocols and extensions based on this configuration. + Custom configurations may override this method in order to inspect + the request parameters and modify the handshake response that the server has formulated. + and the URI checking also. + +

        If the developer does not override this method, no further + modification of the request and response are made by the implementation.

        +
        +
        Overrides:
        +
        modifyHandshake in class ServerEndpointConfig.Configurator
        +
        Parameters:
        +
        sec - the configuration object involved in the handshake
        +
        request - the opening handshake request.
        +
        response - the proposed opening handshake response
        +
        +
      • +
      + + + +
        +
      • +

        getEndpointInstance

        +
        public <T> T getEndpointInstance​(java.lang.Class<T> endpointClass)
        +                          throws java.lang.InstantiationException
        +
        Description copied from class: ServerEndpointConfig.Configurator
        +
        This method is called by the container each time a new client + connects to the logical endpoint this configurator configures. + Developers may override this method to control instantiation of + endpoint instances in order to customize the initialization + of the endpoint instance, or manage them in some other way. + If the developer overrides this method, services like + dependency injection that are otherwise supported, for example, when + the implementation is part of the Java EE platform + may not be available. + The platform default implementation of this method returns a new + endpoint instance per call, thereby ensuring that there is one + endpoint instance per client, the default deployment cardinality.
        +
        +
        Overrides:
        +
        getEndpointInstance in class ServerEndpointConfig.Configurator
        +
        Type Parameters:
        +
        T - the type of the endpoint
        +
        Parameters:
        +
        endpointClass - the class of the endpoint
        +
        Returns:
        +
        an instance of the endpoint that will handle all + interactions from a new client.
        +
        Throws:
        +
        java.lang.InstantiationException - if there was an error producing the + endpoint instance.
        +
        +
      • +
      +
    • +
    +
    +
  • +
+
+
+
+ + + + diff --git a/apidocs/1.19/org/glassfish/tyrus/core/TyrusSession.html b/apidocs/1.19/org/glassfish/tyrus/core/TyrusSession.html new file mode 100644 index 00000000..2c64023b --- /dev/null +++ b/apidocs/1.19/org/glassfish/tyrus/core/TyrusSession.html @@ -0,0 +1,1281 @@ + + + + + +TyrusSession (Tyrus 1.19 API) + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +

Class TyrusSession

+
+
+
    +
  • java.lang.Object
  • +
  • +
      +
    • org.glassfish.tyrus.core.TyrusSession
    • +
    +
  • +
+
+
    +
  • +
    +
    All Implemented Interfaces:
    +
    java.io.Closeable, java.lang.AutoCloseable, Session, DistributedSession
    +
    +
    +
    public class TyrusSession
    +extends java.lang.Object
    +implements DistributedSession
    +
    Implementation of the Session.
    +
    +
    Author:
    +
    Danny Coward (danny.coward at oracle.com), Stepan Kopriva (stepan.kopriva at oracle.com), Martin Matula (martin.matula at oracle.com), Pavel Bucek (pavel.bucek at oracle.com)
    +
    +
  • +
+
+
+
    +
  • + +
    +
      +
    • + + +

      Method Summary

      + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
      All Methods Instance Methods Concrete Methods Deprecated Methods 
      Modifier and TypeMethodDescription
      <T> voidaddMessageHandler​(java.lang.Class<T> clazz, + MessageHandler.Partial<T> handler) +
      Register to handle to incoming messages in this conversation.
      +
      <T> voidaddMessageHandler​(java.lang.Class<T> clazz, + MessageHandler.Whole<T> handler) +
      Register to handle to incoming messages in this conversation.
      +
      voidaddMessageHandler​(MessageHandler handler) + +
      java.util.Map<Session,​java.util.concurrent.Future<?>>broadcast​(java.lang.String message) +
      Broadcasts text message to all connected clients.
      +
      java.util.Map<Session,​java.util.concurrent.Future<?>>broadcast​(java.nio.ByteBuffer message) +
      Broadcasts binary message to all connected clients, including remote sessions (if any).
      +
      voidclose() +
      Close the current conversation with a normal status code and no reason phrase.
      +
      voidclose​(CloseReason closeReason) +
      Close the current conversation, giving a reason for the closure.
      +
      java.util.Set<DistributedSession>getAllSessions() +
      Get set of all sessions opened to the same endpoint.
      +
      RemoteEndpoint.AsyncgetAsyncRemote() +
      Return a reference a RemoteEndpoint object representing the peer of this conversation + that is able to send messages asynchronously to the peer.
      +
      RemoteEndpoint.BasicgetBasicRemote() +
      Return a reference a RemoteEndpoint object representing the peer of this conversation + that is able to send messages synchronously to the peer.
      +
      WebSocketContainergetContainer() +
      Return the container that this session is part of.
      +
      java.util.Map<java.lang.String,​java.lang.Object>getDistributedProperties() +
      Get distributed properties.
      +
      longgetHeartbeatInterval() +
      Return an interval in milliseconds between scheduled periodic Pong messages.
      +
      java.lang.StringgetId() +
      Returns a string containing the unique identifier assigned to this session.
      +
      intgetMaxBinaryMessageBufferSize() +
      The maximum length of incoming binary messages that this Session can buffer.
      +
      longgetMaxIdleTimeout() +
      Return the number of milliseconds before this conversation may be closed by the + container if it is inactive, i.e.
      +
      intgetMaxTextMessageBufferSize() +
      The maximum length of incoming text messages that this Session can buffer.
      +
      java.util.Set<MessageHandler>getMessageHandlers() +
      Return an unmodifiable copy of the set of MessageHandlers for this Session.
      +
      java.util.List<Extension>getNegotiatedExtensions() +
      Return the list of extensions currently in use for this conversation.
      +
      java.lang.StringgetNegotiatedSubprotocol() +
      Return the sub protocol agreed during the websocket handshake for this conversation.
      +
      java.util.Set<Session>getOpenSessions() +
      Return a copy of the Set of all the open web socket sessions that represent + connections to the same endpoint to which this session represents a connection.
      +
      java.util.Map<java.lang.String,​java.lang.String>getPathParameters() +
      Return a map of the path parameter names and values used associated with the + request this session was opened under.
      +
      java.lang.StringgetProtocolVersion() +
      Returns the version of the websocket protocol currently being used.
      +
      java.lang.StringgetQueryString() +
      Return the query string associated with the request this session + was opened under.
      +
      java.lang.StringgetRemoteAddr() +
      Get the Internet Protocol (IP) address of the client or last proxy that sent the request.
      +
      java.util.Set<RemoteSession>getRemoteSessions() +
      Get set of remote sessions.
      +
      java.util.Map<java.lang.String,​java.util.List<java.lang.String>>getRequestParameterMap() +
      Return the request parameters associated with the request this session + was opened under.
      +
      java.net.URIgetRequestURI() +
      Return the URI under which this session was opened, including + the query string if there is one.
      +
      java.security.PrincipalgetUserPrincipal() +
      Return the authenticated user for this Session or null if no user is authenticated for this session.
      +
      java.util.Map<java.lang.String,​java.lang.Object>getUserProperties() +
      While the session is open, this method returns a Map that the developer may + use to store application specific information relating to this session + instance.
      +
      booleanisOpen() +
      Return true if and only if the underlying socket is open.
      +
      booleanisSecure() +
      Return true if and only if the underlying socket is using a secure transport.
      +
      voidremoveMessageHandler​(MessageHandler handler) +
      Remove the given MessageHandler from the set belonging to this session.
      +
      voidsetHeartbeatInterval​(long heartbeatInterval) +
      Set an interval in milliseconds between scheduled periodic Pong messages.
      +
      voidsetMaxBinaryMessageBufferSize​(int maxBinaryMessageBufferSize) +
      Sets the maximum length of incoming binary messages that this Session can buffer.
      +
      voidsetMaxIdleTimeout​(long maxIdleTimeout) +
      Set the non-zero number of milliseconds before this session will be closed by the + container if it is inactive, ie no messages are either sent or received.
      +
      voidsetMaxTextMessageBufferSize​(int maxTextMessageBufferSize) +
      Sets the maximum length of incoming text messages that this Session can buffer.
      +
      java.lang.StringtoString() 
      +
        +
      • + + +

        Methods inherited from class java.lang.Object

        +clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
      • +
      +
    • +
    +
    +
  • +
+
+
+
    +
  • + +
    +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        getProtocolVersion

        +
        public java.lang.String getProtocolVersion()
        +
        Description copied from interface: Session
        +
        Returns the version of the websocket protocol currently being used. This is taken + as the value of the Sec-WebSocket-Version header used in the opening handshake. i.e. "13".
        +
        +
        Specified by:
        +
        getProtocolVersion in interface Session
        +
        Returns:
        +
        the protocol version.
        +
        +
      • +
      + + + +
        +
      • +

        getNegotiatedSubprotocol

        +
        public java.lang.String getNegotiatedSubprotocol()
        +
        Description copied from interface: Session
        +
        Return the sub protocol agreed during the websocket handshake for this conversation.
        +
        +
        Specified by:
        +
        getNegotiatedSubprotocol in interface Session
        +
        Returns:
        +
        the negotiated subprotocol, or the empty string if there isn't one.
        +
        +
      • +
      + + + +
        +
      • +

        getAsyncRemote

        +
        public RemoteEndpoint.Async getAsyncRemote()
        +
        Description copied from interface: Session
        +
        Return a reference a RemoteEndpoint object representing the peer of this conversation + that is able to send messages asynchronously to the peer.
        +
        +
        Specified by:
        +
        getAsyncRemote in interface Session
        +
        Returns:
        +
        the remote endpoint.
        +
        +
      • +
      + + + +
        +
      • +

        getBasicRemote

        +
        public RemoteEndpoint.Basic getBasicRemote()
        +
        Description copied from interface: Session
        +
        Return a reference a RemoteEndpoint object representing the peer of this conversation + that is able to send messages synchronously to the peer.
        +
        +
        Specified by:
        +
        getBasicRemote in interface Session
        +
        Returns:
        +
        the remote endpoint.
        +
        +
      • +
      + + + +
        +
      • +

        isOpen

        +
        public boolean isOpen()
        +
        Description copied from interface: Session
        +
        Return true if and only if the underlying socket is open.
        +
        +
        Specified by:
        +
        isOpen in interface Session
        +
        Returns:
        +
        whether the session is active.
        +
        +
      • +
      + + + +
        +
      • +

        close

        +
        public void close()
        +           throws java.io.IOException
        +
        Description copied from interface: Session
        +
        Close the current conversation with a normal status code and no reason phrase.
        +
        +
        Specified by:
        +
        close in interface java.lang.AutoCloseable
        +
        Specified by:
        +
        close in interface java.io.Closeable
        +
        Specified by:
        +
        close in interface Session
        +
        Throws:
        +
        java.io.IOException - if there was a connection error closing the connection.
        +
        +
      • +
      + + + +
        +
      • +

        close

        +
        public void close​(CloseReason closeReason)
        +           throws java.io.IOException
        +
        Description copied from interface: Session
        +
        Close the current conversation, giving a reason for the closure. The close + call causes the implementation to attempt notify the client of the close as + soon as it can. This may cause the sending of unsent messages immediately + prior to the close notification. After the close notification has been sent + the implementation notifies the endpoint's onClose method. Note the websocket + specification defines the + acceptable uses of status codes and reason phrases. If the application cannot + determine a suitable close code to use for the closeReason, it is recommended + to use CloseReason.CloseCodes.NO_STATUS_CODE.
        +
        +
        Specified by:
        +
        close in interface Session
        +
        Parameters:
        +
        closeReason - the reason for the closure.
        +
        Throws:
        +
        java.io.IOException - if there was a connection error closing the connection
        +
        +
      • +
      + + + +
        +
      • +

        getMaxBinaryMessageBufferSize

        +
        public int getMaxBinaryMessageBufferSize()
        +
        Description copied from interface: Session
        +
        The maximum length of incoming binary messages that this Session can buffer. If + the implementation receives a binary message that it cannot buffer because it + is too large, it must close the session with a close code of CloseReason.CloseCodes.TOO_BIG.
        +
        +
        Specified by:
        +
        getMaxBinaryMessageBufferSize in interface Session
        +
        Returns:
        +
        the maximum binary message size that can be buffered.
        +
        +
      • +
      + + + +
        +
      • +

        setMaxBinaryMessageBufferSize

        +
        public void setMaxBinaryMessageBufferSize​(int maxBinaryMessageBufferSize)
        +
        Description copied from interface: Session
        +
        Sets the maximum length of incoming binary messages that this Session can buffer.
        +
        +
        Specified by:
        +
        setMaxBinaryMessageBufferSize in interface Session
        +
        Parameters:
        +
        maxBinaryMessageBufferSize - the maximum length.
        +
        +
      • +
      + + + +
        +
      • +

        getMaxTextMessageBufferSize

        +
        public int getMaxTextMessageBufferSize()
        +
        Description copied from interface: Session
        +
        The maximum length of incoming text messages that this Session can buffer. If + the implementation receives a text message that it cannot buffer because it + is too large, it must close the session with a close code of CloseReason.CloseCodes.TOO_BIG.
        +
        +
        Specified by:
        +
        getMaxTextMessageBufferSize in interface Session
        +
        Returns:
        +
        the maximum text message size that can be buffered.
        +
        +
      • +
      + + + +
        +
      • +

        setMaxTextMessageBufferSize

        +
        public void setMaxTextMessageBufferSize​(int maxTextMessageBufferSize)
        +
        Description copied from interface: Session
        +
        Sets the maximum length of incoming text messages that this Session can buffer.
        +
        +
        Specified by:
        +
        setMaxTextMessageBufferSize in interface Session
        +
        Parameters:
        +
        maxTextMessageBufferSize - the maximum length.
        +
        +
      • +
      + + + +
        +
      • +

        getOpenSessions

        +
        public java.util.Set<Session> getOpenSessions()
        +
        Description copied from interface: Session
        +
        Return a copy of the Set of all the open web socket sessions that represent + connections to the same endpoint to which this session represents a connection. + The Set includes the session this method is called on. These + sessions may not still be open at any point after the return of this method. For + example, iterating over the set at a later time may yield one or more closed sessions. Developers + should use session.isOpen() to check.
        +
        +
        Specified by:
        +
        getOpenSessions in interface Session
        +
        Returns:
        +
        the set of sessions, open at the time of return.
        +
        +
      • +
      + + + +
        +
      • +

        getRemoteSessions

        +
        public java.util.Set<RemoteSession> getRemoteSessions()
        +
        Get set of remote sessions. +

        + Remote sessions are websocket sessions which are bound to another node in the cluster.

        +
        +
        Returns:
        +
        set of remote sessions or empty set, when not running in cluster environment.
        +
        +
      • +
      + + + +
        +
      • +

        getAllSessions

        +
        public java.util.Set<DistributedSession> getAllSessions()
        +
        Get set of all sessions opened to the same endpoint. +

        + Set returned from this method contains all "local" and remote sessions (if any).

        +
        +
        Returns:
        +
        set of distributed sessions.
        +
        See Also:
        +
        RemoteSession
        +
        +
      • +
      + + + +
        +
      • +

        getNegotiatedExtensions

        +
        public java.util.List<Extension> getNegotiatedExtensions()
        +
        Description copied from interface: Session
        +
        Return the list of extensions currently in use for this conversation.
        +
        +
        Specified by:
        +
        getNegotiatedExtensions in interface Session
        +
        Returns:
        +
        the negotiated extensions.
        +
        +
      • +
      + + + +
        +
      • +

        getMaxIdleTimeout

        +
        public long getMaxIdleTimeout()
        +
        Description copied from interface: Session
        +
        Return the number of milliseconds before this conversation may be closed by the + container if it is inactive, i.e. no messages are either sent or received in that time.
        +
        +
        Specified by:
        +
        getMaxIdleTimeout in interface Session
        +
        Returns:
        +
        the timeout in milliseconds.
        +
        +
      • +
      + + + +
        +
      • +

        setMaxIdleTimeout

        +
        public void setMaxIdleTimeout​(long maxIdleTimeout)
        +
        Description copied from interface: Session
        +
        Set the non-zero number of milliseconds before this session will be closed by the + container if it is inactive, ie no messages are either sent or received. A value that is + 0 or negative indicates the session will never timeout due to inactivity.
        +
        +
        Specified by:
        +
        setMaxIdleTimeout in interface Session
        +
        Parameters:
        +
        maxIdleTimeout - the number of milliseconds.
        +
        +
      • +
      + + + +
        +
      • +

        isSecure

        +
        public boolean isSecure()
        +
        Description copied from interface: Session
        +
        Return true if and only if the underlying socket is using a secure transport.
        +
        +
        Specified by:
        +
        isSecure in interface Session
        +
        Returns:
        +
        whether its using a secure transport.
        +
        +
      • +
      + + + +
        +
      • +

        getContainer

        +
        public WebSocketContainer getContainer()
        +
        Description copied from interface: Session
        +
        Return the container that this session is part of.
        +
        +
        Specified by:
        +
        getContainer in interface Session
        +
        Returns:
        +
        the container.
        +
        +
      • +
      + + + + + + + +
        +
      • +

        addMessageHandler

        +
        public <T> void addMessageHandler​(java.lang.Class<T> clazz,
        +                                  MessageHandler.Whole<T> handler)
        +
        Register to handle to incoming messages in this conversation. A maximum of one message handler per + native websocket message type (text, binary, pong) may be added to each Session. I.e. a maximum + of one message handler to handle incoming text messages a maximum of one message handler for + handling incoming binary messages, and a maximum of one for handling incoming pong + messages. For further details of which message handlers handle which of the native websocket + message types please see MessageHandler.Whole and MessageHandler.Partial. + Adding more than one of any one type will result in a runtime exception. +

        + See Endpoint for a usage example.

        +
        +
        Specified by:
        +
        addMessageHandler in interface Session
        +
        Parameters:
        +
        clazz - type of the message processed by message handler to be registered.
        +
        handler - the MessageHandler to be added.
        +
        Throws:
        +
        java.lang.IllegalStateException - if there is already a MessageHandler registered for the same native + websocket message type as this handler.
        +
        +
      • +
      + + + +
        +
      • +

        addMessageHandler

        +
        public <T> void addMessageHandler​(java.lang.Class<T> clazz,
        +                                  MessageHandler.Partial<T> handler)
        +
        Register to handle to incoming messages in this conversation. A maximum of one message handler per + native websocket message type (text, binary, pong) may be added to each Session. I.e. a maximum + of one message handler to handle incoming text messages a maximum of one message handler for + handling incoming binary messages, and a maximum of one for handling incoming pong + messages. For further details of which message handlers handle which of the native websocket + message types please see MessageHandler.Whole and MessageHandler.Partial. + Adding more than one of any one type will result in a runtime exception. +

        + See Endpoint for a usage example.

        +
        +
        Specified by:
        +
        addMessageHandler in interface Session
        +
        Parameters:
        +
        clazz - type of the message processed by message handler to be registered.
        +
        handler - the MessageHandler to be added.
        +
        Throws:
        +
        java.lang.IllegalStateException - if there is already a MessageHandler registered for the same native + websocket message type as this handler.
        +
        +
      • +
      + + + +
        +
      • +

        getMessageHandlers

        +
        public java.util.Set<MessageHandler> getMessageHandlers()
        +
        Description copied from interface: Session
        +
        Return an unmodifiable copy of the set of MessageHandlers for this Session.
        +
        +
        Specified by:
        +
        getMessageHandlers in interface Session
        +
        Returns:
        +
        the set of message handlers.
        +
        +
      • +
      + + + +
        +
      • +

        removeMessageHandler

        +
        public void removeMessageHandler​(MessageHandler handler)
        +
        Description copied from interface: Session
        +
        Remove the given MessageHandler from the set belonging to this session. This method may block + if the given handler is processing a message until it is no longer in use.
        +
        +
        Specified by:
        +
        removeMessageHandler in interface Session
        +
        Parameters:
        +
        handler - the handler to be removed.
        +
        +
      • +
      + + + +
        +
      • +

        getRequestURI

        +
        public java.net.URI getRequestURI()
        +
        Description copied from interface: Session
        +
        Return the URI under which this session was opened, including + the query string if there is one.
        +
        +
        Specified by:
        +
        getRequestURI in interface Session
        +
        Returns:
        +
        the request URI.
        +
        +
      • +
      + + + +
        +
      • +

        getRequestParameterMap

        +
        public java.util.Map<java.lang.String,​java.util.List<java.lang.String>> getRequestParameterMap()
        +
        Description copied from interface: Session
        +
        Return the request parameters associated with the request this session + was opened under.
        +
        +
        Specified by:
        +
        getRequestParameterMap in interface Session
        +
        Returns:
        +
        the unmodifiable map of the request parameters.
        +
        +
      • +
      + + + +
        +
      • +

        getPathParameters

        +
        public java.util.Map<java.lang.String,​java.lang.String> getPathParameters()
        +
        Description copied from interface: Session
        +
        Return a map of the path parameter names and values used associated with the + request this session was opened under.
        +
        +
        Specified by:
        +
        getPathParameters in interface Session
        +
        Returns:
        +
        the unmodifiable map of path parameters. The key of the map is the parameter name, + the values in the map are the parameter values.
        +
        +
      • +
      + + + +
        +
      • +

        getUserProperties

        +
        public java.util.Map<java.lang.String,​java.lang.Object> getUserProperties()
        +
        Description copied from interface: Session
        +
        While the session is open, this method returns a Map that the developer may + use to store application specific information relating to this session + instance. The developer may retrieve information from this Map at any time + between the opening of the session and during the onClose() method. But outside + that time, any information stored using this Map may no longer be kept by the + container. Web socket applications running on distributed implementations of + the web container should make any application specific objects stored here + java.io.Serializable, or the object may not be recreated after a failover.
        +
        +
        Specified by:
        +
        getUserProperties in interface Session
        +
        Returns:
        +
        an editable Map of application data.
        +
        +
      • +
      + + + +
        +
      • +

        getDistributedProperties

        +
        public java.util.Map<java.lang.String,​java.lang.Object> getDistributedProperties()
        +
        Description copied from interface: DistributedSession
        +
        Get distributed properties. +

        + Values put into this map must be Serializable or serializable by other, implementation-dependent + alternative. +

        + Content of this map is synchronized among all cluster nodes, so putting an entry on any of the nodes will be + visible on all other nodes which have reference to current session (in form of TyrusSession or RemoteSession). +

        + Please note that when not running in the distributed environment, this map behaves similarly to Session.getUserProperties(), so no serialization or deserialization is performed when values are read from or stored to + the returned map.

        +
        +
        Specified by:
        +
        getDistributedProperties in interface DistributedSession
        +
        Returns:
        +
        map of distributed properties.
        +
        See Also:
        +
        TyrusSession, +RemoteSession
        +
        +
      • +
      + + + +
        +
      • +

        getQueryString

        +
        public java.lang.String getQueryString()
        +
        Description copied from interface: Session
        +
        Return the query string associated with the request this session + was opened under.
        +
        +
        Specified by:
        +
        getQueryString in interface Session
        +
        Returns:
        +
        the query string
        +
        +
      • +
      + + + +
        +
      • +

        getId

        +
        public java.lang.String getId()
        +
        Description copied from interface: Session
        +
        Returns a string containing the unique identifier assigned to this session. + The identifier is assigned by the web socket implementation and is implementation dependent.
        +
        +
        Specified by:
        +
        getId in interface Session
        +
        Returns:
        +
        the unique identifier for this session instance.
        +
        +
      • +
      + + + +
        +
      • +

        getUserPrincipal

        +
        public java.security.Principal getUserPrincipal()
        +
        Description copied from interface: Session
        +
        Return the authenticated user for this Session or null if no user is authenticated for this session.
        +
        +
        Specified by:
        +
        getUserPrincipal in interface Session
        +
        Returns:
        +
        the user principal.
        +
        +
      • +
      + + + +
        +
      • +

        broadcast

        +
        public java.util.Map<Session,​java.util.concurrent.Future<?>> broadcast​(java.lang.String message)
        +
        Broadcasts text message to all connected clients. +

        + The broadcast can be executed in parallel, which can be enabled by setting + TyrusWebSocketEngine.PARALLEL_BROADCAST_ENABLED + to true in server properties.

        +
        +
        Parameters:
        +
        message - message to be broadcasted.
        +
        Returns:
        +
        map of local sessions and futures for user to get the information about status of the message.
        +
        +
      • +
      + + + +
        +
      • +

        broadcast

        +
        public java.util.Map<Session,​java.util.concurrent.Future<?>> broadcast​(java.nio.ByteBuffer message)
        +
        Broadcasts binary message to all connected clients, including remote sessions (if any). +

        + The broadcast can be executed in parallel, which can be enabled by setting + TyrusWebSocketEngine.PARALLEL_BROADCAST_ENABLED + to true in server properties.

        +
        +
        Parameters:
        +
        message - message to be broadcasted.
        +
        Returns:
        +
        map of local sessions and futures for user to get the information about status of the message.
        +
        +
      • +
      + + + +
        +
      • +

        getHeartbeatInterval

        +
        public long getHeartbeatInterval()
        +
        Return an interval in milliseconds between scheduled periodic Pong messages. + A negative value or 0 means that sending of periodic Pong messages is not turned on.
        +
        +
        Returns:
        +
        heartbeatInterval interval between periodic pong messages in milliseconds.
        +
        +
      • +
      + + + +
        +
      • +

        setHeartbeatInterval

        +
        public void setHeartbeatInterval​(long heartbeatInterval)
        +
        Set an interval in milliseconds between scheduled periodic Pong messages. + Setting the interval to a negative value or 0 will cancel sending of periodic Pong messages.
        +
        +
        Parameters:
        +
        heartbeatInterval - interval between periodic Pong messages in milliseconds.
        +
        +
      • +
      + + + +
        +
      • +

        toString

        +
        public java.lang.String toString()
        +
        +
        Overrides:
        +
        toString in class java.lang.Object
        +
        +
      • +
      + + + +
        +
      • +

        getRemoteAddr

        +
        public java.lang.String getRemoteAddr()
        +
        Get the Internet Protocol (IP) address of the client or last proxy that sent the request.
        +
        +
        Returns:
        +
        a String containing the IP address of the client that sent the request or null when + method is called on client-side.
        +
        +
      • +
      +
    • +
    +
    +
  • +
+
+
+
+ + + + diff --git a/apidocs/1.19/org/glassfish/tyrus/core/TyrusUpgradeResponse.html b/apidocs/1.19/org/glassfish/tyrus/core/TyrusUpgradeResponse.html new file mode 100644 index 00000000..5522122d --- /dev/null +++ b/apidocs/1.19/org/glassfish/tyrus/core/TyrusUpgradeResponse.html @@ -0,0 +1,450 @@ + + + + + +TyrusUpgradeResponse (Tyrus 1.19 API) + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +

Class TyrusUpgradeResponse

+
+
+ +
+
    +
  • +
    +
    All Implemented Interfaces:
    +
    HandshakeResponse
    +
    +
    +
    public class TyrusUpgradeResponse
    +extends UpgradeResponse
    +
    HTTP response representation.
    +
    +
    Author:
    +
    Pavel Bucek (pavel.bucek at oracle.com)
    +
    +
  • +
+
+
+ +
+
+
    +
  • + +
    +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        TyrusUpgradeResponse

        +
        public TyrusUpgradeResponse()
        +
      • +
      +
    • +
    +
    + +
    +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        getStatus

        +
        public int getStatus()
        +
        Get HTTP status.
        +
        +
        Specified by:
        +
        getStatus in class UpgradeResponse
        +
        Returns:
        +
        HTTP status.
        +
        +
      • +
      + + + +
        +
      • +

        getReasonPhrase

        +
        public java.lang.String getReasonPhrase()
        +
        Get HTTP reason phrase.
        +
        +
        Returns:
        +
        reason phrase.
        +
        +
      • +
      + + + +
        +
      • +

        getHeaders

        +
        public java.util.Map<java.lang.String,​java.util.List<java.lang.String>> getHeaders()
        +
        Get HTTP headers.
        +
        +
        Returns:
        +
        HTTP headers.
        +
        +
      • +
      + + + +
        +
      • +

        setStatus

        +
        public void setStatus​(int statusCode)
        +
        Set HTTP status.
        +
        +
        Specified by:
        +
        setStatus in class UpgradeResponse
        +
        Parameters:
        +
        statusCode - status code to be set.
        +
        +
      • +
      + + + +
        +
      • +

        setReasonPhrase

        +
        public void setReasonPhrase​(java.lang.String reasonPhrase)
        +
        Set HTTP reason phrase.
        +
        +
        Specified by:
        +
        setReasonPhrase in class UpgradeResponse
        +
        Parameters:
        +
        reasonPhrase - reason phrase to be set.
        +
        +
      • +
      +
    • +
    +
    +
  • +
+
+
+
+ + + + diff --git a/apidocs/1.19/org/glassfish/tyrus/core/TyrusWebSocket.html b/apidocs/1.19/org/glassfish/tyrus/core/TyrusWebSocket.html new file mode 100644 index 00000000..529c08c9 --- /dev/null +++ b/apidocs/1.19/org/glassfish/tyrus/core/TyrusWebSocket.html @@ -0,0 +1,1076 @@ + + + + + +TyrusWebSocket (Tyrus 1.19 API) + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +

Class TyrusWebSocket

+
+
+
    +
  • java.lang.Object
  • +
  • +
      +
    • org.glassfish.tyrus.core.TyrusWebSocket
    • +
    +
  • +
+
+
    +
  • +
    +
    public class TyrusWebSocket
    +extends java.lang.Object
    +
    Tyrus representation of web socket connection. +

    + Instance of this class represents one bi-directional websocket connection.

    +
  • +
+
+
+
    +
  • + +
    + +
    + +
    +
      +
    • + + +

      Method Summary

      + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
      All Methods Instance Methods Concrete Methods Deprecated Methods 
      Modifier and TypeMethodDescription
      voidclose() +
      Closes this TyrusWebSocket.
      +
      voidclose​(int code, + java.lang.String reason) +
      Closes this TyrusWebSocket using the specified status code and + reason.
      +
      voidclose​(CloseReason closeReason) +
      Closes this TyrusWebSocket using the CloseReason.
      +
      booleanisConnected() +
      Convenience method to determine if this TyrusWebSocket instance is connected.
      +
      voidonClose​(CloseFrame frame) +
      This callback will be invoked when the remote endpoint sent a closing frame.
      +
      voidonConnect​(UpgradeRequest upgradeRequest, + java.lang.String subProtocol, + java.util.List<Extension> extensions, + java.lang.String connectionId, + DebugContext debugContext) +
      This callback will be invoked when the opening handshake between both + endpoints has been completed.
      +
      voidonFragment​(BinaryFrame frame, + boolean last) +
      This callback will be invoked when a fragmented binary message has + been received.
      +
      voidonFragment​(TextFrame frame, + boolean last) +
      This callback will be invoked when a fragmented textual message has + been received.
      +
      voidonMessage​(BinaryFrame frame) +
      This callback will be invoked when a binary message has been received.
      +
      voidonMessage​(TextFrame frame) +
      This callback will be invoked when a text message has been received.
      +
      voidonPing​(PingFrame frame) +
      This callback will be invoked when the remote endpoint has sent a ping frame.
      +
      voidonPong​(PongFrame frame) +
      This callback will be invoked when the remote endpoint has sent a pong + frame.
      +
      java.util.concurrent.Future<Frame>sendBinary​(byte[] data) +
      Deprecated.
      +
      java.util.concurrent.Future<Frame>sendBinary​(byte[] bytes, + boolean last) +
      Deprecated.
      +
      java.util.concurrent.Future<Frame>sendBinary​(byte[] bytes, + boolean last, + WriterInfo writerInfo) +
      Sends a fragment of a complete message.
      +
      java.util.concurrent.Future<Frame>sendBinary​(byte[] bytes, + int off, + int len, + boolean last) +
      Deprecated.
      +
      java.util.concurrent.Future<Frame>sendBinary​(byte[] bytes, + int off, + int len, + boolean last, + WriterInfo writerInfo) +
      Sends a fragment of a complete message.
      +
      voidsendBinary​(byte[] data, + SendHandler handler) +
      Deprecated.
      +
      voidsendBinary​(byte[] data, + SendHandler handler, + WriterInfo writerInfo) +
      Send a binary frame to the remote endpoint.
      +
      java.util.concurrent.Future<Frame>sendBinary​(byte[] data, + WriterInfo writerInfo) +
      Send a binary frame to the remote endpoint.
      +
      java.util.concurrent.Future<Frame>sendPing​(byte[] data) +
      Sends a ping frame with the specified payload (if any).
      +
      java.util.concurrent.Future<Frame>sendPong​(byte[] data) +
      Sends a ping frame with the specified payload (if any).
      +
      java.util.concurrent.Future<Frame>sendRawFrame​(java.nio.ByteBuffer data) +
      Send a frame to the remote endpoint.
      +
      java.util.concurrent.Future<Frame>sendText​(java.lang.String data) +
      Deprecated.
      +
      java.util.concurrent.Future<Frame>sendText​(java.lang.String fragment, + boolean last) +
      Deprecated.
      +
      java.util.concurrent.Future<Frame>sendText​(java.lang.String fragment, + boolean last, + WriterInfo writerInfo) +
      Sends a fragment of a complete message.
      +
      voidsendText​(java.lang.String data, + SendHandler handler) +
      Deprecated.
      +
      voidsendText​(java.lang.String data, + SendHandler handler, + WriterInfo writerInfo) +
      Send a text frame to the remote endpoint.
      +
      java.util.concurrent.Future<Frame>sendText​(java.lang.String data, + WriterInfo writerInfo) +
      Send a text frame to the remote endpoint.
      +
      voidsetWriteTimeout​(long timeoutMs) +
      Sets the timeout for the writing operation.
      +
      +
        +
      • + + +

        Methods inherited from class java.lang.Object

        +clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • +
      +
    • +
    +
    +
  • +
+
+
+
    +
  • + +
    + +
    + +
    +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        setWriteTimeout

        +
        public void setWriteTimeout​(long timeoutMs)
        +
        Sets the timeout for the writing operation.
        +
        +
        Parameters:
        +
        timeoutMs - timeout in milliseconds.
        +
        +
      • +
      + + + +
        +
      • +

        isConnected

        +
        public boolean isConnected()
        +
        Convenience method to determine if this TyrusWebSocket instance is connected.
        +
        +
        Returns:
        +
        true if the TyrusWebSocket is connected, false otherwise.
        +
        +
      • +
      + + + +
        +
      • +

        onClose

        +
        public void onClose​(CloseFrame frame)
        +
        This callback will be invoked when the remote endpoint sent a closing frame. +

        + The execution of this method is synchronized using ProtocolHandler instance; see TYRUS-385. Prevents + multiple invocations, especially from container/user code.

        +
        +
        Parameters:
        +
        frame - the close frame from the remote endpoint.
        +
        +
      • +
      + + + +
        +
      • +

        onConnect

        +
        public void onConnect​(UpgradeRequest upgradeRequest,
        +                      java.lang.String subProtocol,
        +                      java.util.List<Extension> extensions,
        +                      java.lang.String connectionId,
        +                      DebugContext debugContext)
        +
        This callback will be invoked when the opening handshake between both + endpoints has been completed.
        +
        +
        Parameters:
        +
        upgradeRequest - request associated with this socket.
        +
        subProtocol - negotiated subprotocol.
        +
        extensions - negotiated extensions.
        +
        connectionId - connection id.
        +
        debugContext - debug context.
        +
        +
      • +
      + + + +
        +
      • +

        onFragment

        +
        public void onFragment​(BinaryFrame frame,
        +                       boolean last)
        +
        This callback will be invoked when a fragmented binary message has + been received.
        +
        +
        Parameters:
        +
        frame - the binary data received from the remote endpoint.
        +
        last - flag indicating whether or not the payload received is the final fragment of a message.
        +
        +
      • +
      + + + +
        +
      • +

        onFragment

        +
        public void onFragment​(TextFrame frame,
        +                       boolean last)
        +
        This callback will be invoked when a fragmented textual message has + been received.
        +
        +
        Parameters:
        +
        frame - the text received from the remote endpoint.
        +
        last - flag indicating whether or not the payload received is the final fragment of a message.
        +
        +
      • +
      + + + +
        +
      • +

        onMessage

        +
        public void onMessage​(BinaryFrame frame)
        +
        This callback will be invoked when a binary message has been received.
        +
        +
        Parameters:
        +
        frame - the binary data received from the remote endpoint.
        +
        +
      • +
      + + + +
        +
      • +

        onMessage

        +
        public void onMessage​(TextFrame frame)
        +
        This callback will be invoked when a text message has been received.
        +
        +
        Parameters:
        +
        frame - the text received from the remote endpoint.
        +
        +
      • +
      + + + +
        +
      • +

        onPing

        +
        public void onPing​(PingFrame frame)
        +
        This callback will be invoked when the remote endpoint has sent a ping frame.
        +
        +
        Parameters:
        +
        frame - the ping frame from the remote endpoint.
        +
        +
      • +
      + + + +
        +
      • +

        onPong

        +
        public void onPong​(PongFrame frame)
        +
        This callback will be invoked when the remote endpoint has sent a pong + frame.
        +
        +
        Parameters:
        +
        frame - the pong frame from the remote endpoint.
        +
        +
      • +
      + + + + + + + +
        +
      • +

        close

        +
        public void close​(int code,
        +                  java.lang.String reason)
        +
        Closes this TyrusWebSocket using the specified status code and + reason.
        +
        +
        Parameters:
        +
        code - the closing status code.
        +
        reason - the reason, if any.
        +
        +
      • +
      + + + + + + + +
        +
      • +

        sendBinary

        +
        @Deprecated
        +public java.util.concurrent.Future<Frame> sendBinary​(byte[] data)
        +
        Deprecated.
        +
        Send a binary frame to the remote endpoint.
        +
        +
        Parameters:
        +
        data - data to be sent.
        +
        Returns:
        +
        Future which could be used to control/check the sending completion state.
        +
        +
      • +
      + + + +
        +
      • +

        sendBinary

        +
        public java.util.concurrent.Future<Frame> sendBinary​(byte[] data,
        +                                                     WriterInfo writerInfo)
        +
        Send a binary frame to the remote endpoint.
        +
        +
        Parameters:
        +
        data - data to be sent.
        +
        writerInfo - information about the outbound message.
        +
        Returns:
        +
        Future which could be used to control/check the sending completion state.
        +
        +
      • +
      + + + +
        +
      • +

        sendBinary

        +
        @Deprecated
        +public void sendBinary​(byte[] data,
        +                       SendHandler handler)
        +
        Deprecated.
        +
        Send a binary frame to the remote endpoint.
        +
        +
        Parameters:
        +
        data - data to be sent.
        +
        handler - SendHandler.onResult(javax.websocket.SendResult) will be called when sending is complete.
        +
        +
      • +
      + + + +
        +
      • +

        sendBinary

        +
        public void sendBinary​(byte[] data,
        +                       SendHandler handler,
        +                       WriterInfo writerInfo)
        +
        Send a binary frame to the remote endpoint.
        +
        +
        Parameters:
        +
        data - data to be sent.
        +
        writerInfo - information about the outbound message.
        +
        handler - SendHandler.onResult(javax.websocket.SendResult) will be called when sending is complete.
        +
        +
      • +
      + + + +
        +
      • +

        sendText

        +
        @Deprecated
        +public java.util.concurrent.Future<Frame> sendText​(java.lang.String data)
        +
        Deprecated.
        +
        Send a text frame to the remote endpoint.
        +
        +
        Parameters:
        +
        data - data to be sent.
        +
        Returns:
        +
        Future which could be used to control/check the sending completion state.
        +
        +
      • +
      + + + +
        +
      • +

        sendText

        +
        public java.util.concurrent.Future<Frame> sendText​(java.lang.String data,
        +                                                   WriterInfo writerInfo)
        +
        Send a text frame to the remote endpoint.
        +
        +
        Parameters:
        +
        data - data to be sent.
        +
        writerInfo - information about the outbound message.
        +
        Returns:
        +
        Future which could be used to control/check the sending completion state.
        +
        +
      • +
      + + + +
        +
      • +

        sendText

        +
        @Deprecated
        +public void sendText​(java.lang.String data,
        +                     SendHandler handler)
        +
        Deprecated.
        +
        Send a text frame to the remote endpoint.
        +
        +
        Parameters:
        +
        data - data to be sent.
        +
        handler - SendHandler.onResult(javax.websocket.SendResult) will be called when sending is complete.
        +
        +
      • +
      + + + +
        +
      • +

        sendText

        +
        public void sendText​(java.lang.String data,
        +                     SendHandler handler,
        +                     WriterInfo writerInfo)
        +
        Send a text frame to the remote endpoint.
        +
        +
        Parameters:
        +
        data - data to be sent.
        +
        writerInfo - information about the outbound message.
        +
        handler - SendHandler.onResult(javax.websocket.SendResult) will be called when sending is complete.
        +
        +
      • +
      + + + +
        +
      • +

        sendRawFrame

        +
        public java.util.concurrent.Future<Frame> sendRawFrame​(java.nio.ByteBuffer data)
        +
        Send a frame to the remote endpoint.
        +
        +
        Parameters:
        +
        data - complete data frame.
        +
        Returns:
        +
        Future which could be used to control/check the sending completion state.
        +
        +
      • +
      + + + +
        +
      • +

        sendPing

        +
        public java.util.concurrent.Future<Frame> sendPing​(byte[] data)
        +
        Sends a ping frame with the specified payload (if any).
        +
        +
        Parameters:
        +
        data - optional payload. Note that payload length is restricted to 125 bytes or less.
        +
        Returns:
        +
        Future which could be used to control/check the sending completion state.
        +
        +
      • +
      + + + +
        +
      • +

        sendPong

        +
        public java.util.concurrent.Future<Frame> sendPong​(byte[] data)
        +
        Sends a ping frame with the specified payload (if any). +

        + It may seem odd to send a pong frame, however, RFC-6455 states: + "A Pong frame MAY be sent unsolicited. This serves as a + unidirectional heartbeat. A response to an unsolicited Pong frame is + not expected."

        +
        +
        Parameters:
        +
        data - optional payload. Note that payload length is restricted + to 125 bytes or less.
        +
        Returns:
        +
        Future which could be used to control/check the sending completion state.
        +
        +
      • +
      + + + +
        +
      • +

        sendText

        +
        @Deprecated
        +public java.util.concurrent.Future<Frame> sendText​(java.lang.String fragment,
        +                                                   boolean last)
        +
        Deprecated.
        +
        Sends a fragment of a complete message.
        +
        +
        Parameters:
        +
        fragment - the textual fragment to send.
        +
        last - boolean indicating if this message fragment is the last.
        +
        Returns:
        +
        Future which could be used to control/check the sending completion state.
        +
        +
      • +
      + + + +
        +
      • +

        sendText

        +
        public java.util.concurrent.Future<Frame> sendText​(java.lang.String fragment,
        +                                                   boolean last,
        +                                                   WriterInfo writerInfo)
        +
        Sends a fragment of a complete message.
        +
        +
        Parameters:
        +
        fragment - the textual fragment to send.
        +
        last - boolean indicating if this message fragment is the last.
        +
        writerInfo - information about the outbound message.
        +
        Returns:
        +
        Future which could be used to control/check the sending completion state.
        +
        +
      • +
      + + + +
        +
      • +

        sendBinary

        +
        @Deprecated
        +public java.util.concurrent.Future<Frame> sendBinary​(byte[] bytes,
        +                                                     boolean last)
        +
        Deprecated.
        +
        Sends a fragment of a complete message.
        +
        +
        Parameters:
        +
        bytes - the binary fragment to send.
        +
        last - boolean indicating if this message fragment is the last.
        +
        Returns:
        +
        Future which could be used to control/check the sending completion state.
        +
        +
      • +
      + + + +
        +
      • +

        sendBinary

        +
        public java.util.concurrent.Future<Frame> sendBinary​(byte[] bytes,
        +                                                     boolean last,
        +                                                     WriterInfo writerInfo)
        +
        Sends a fragment of a complete message.
        +
        +
        Parameters:
        +
        bytes - the binary fragment to send.
        +
        last - boolean indicating if this message fragment is the last.
        +
        writerInfo - information about the outbound message.
        +
        Returns:
        +
        Future which could be used to control/check the sending completion state.
        +
        +
      • +
      + + + +
        +
      • +

        sendBinary

        +
        @Deprecated
        +public java.util.concurrent.Future<Frame> sendBinary​(byte[] bytes,
        +                                                     int off,
        +                                                     int len,
        +                                                     boolean last)
        +
        Deprecated.
        +
        Sends a fragment of a complete message.
        +
        +
        Parameters:
        +
        bytes - the binary fragment to send.
        +
        off - the offset within the fragment to send.
        +
        len - the number of bytes of the fragment to send.
        +
        last - boolean indicating if this message fragment is the last.
        +
        Returns:
        +
        Future which could be used to control/check the sending completion state.
        +
        +
      • +
      + + + +
        +
      • +

        sendBinary

        +
        public java.util.concurrent.Future<Frame> sendBinary​(byte[] bytes,
        +                                                     int off,
        +                                                     int len,
        +                                                     boolean last,
        +                                                     WriterInfo writerInfo)
        +
        Sends a fragment of a complete message.
        +
        +
        Parameters:
        +
        bytes - the binary fragment to send.
        +
        off - the offset within the fragment to send.
        +
        len - the number of bytes of the fragment to send.
        +
        last - boolean indicating if this message fragment is the last.
        +
        writerInfo - information about the outbound message.
        +
        Returns:
        +
        Future which could be used to control/check the sending completion state.
        +
        +
      • +
      +
    • +
    +
    +
  • +
+
+
+
+ + + + diff --git a/apidocs/1.19/org/glassfish/tyrus/core/TyrusWebSocketEngine.TyrusWebSocketEngineBuilder.html b/apidocs/1.19/org/glassfish/tyrus/core/TyrusWebSocketEngine.TyrusWebSocketEngineBuilder.html new file mode 100644 index 00000000..75b3f150 --- /dev/null +++ b/apidocs/1.19/org/glassfish/tyrus/core/TyrusWebSocketEngine.TyrusWebSocketEngineBuilder.html @@ -0,0 +1,462 @@ + + + + + +TyrusWebSocketEngine.TyrusWebSocketEngineBuilder (Tyrus 1.19 API) + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +

Class TyrusWebSocketEngine.TyrusWebSocketEngineBuilder

+
+
+
    +
  • java.lang.Object
  • +
  • +
      +
    • org.glassfish.tyrus.core.TyrusWebSocketEngine.TyrusWebSocketEngineBuilder
    • +
    +
  • +
+
+ +
+
+ +
+
+ +
+
+
+ + + + diff --git a/apidocs/1.19/org/glassfish/tyrus/core/TyrusWebSocketEngine.html b/apidocs/1.19/org/glassfish/tyrus/core/TyrusWebSocketEngine.html new file mode 100644 index 00000000..cbea5505 --- /dev/null +++ b/apidocs/1.19/org/glassfish/tyrus/core/TyrusWebSocketEngine.html @@ -0,0 +1,720 @@ + + + + + +TyrusWebSocketEngine (Tyrus 1.19 API) + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +

Class TyrusWebSocketEngine

+
+
+
    +
  • java.lang.Object
  • +
  • +
      +
    • org.glassfish.tyrus.core.TyrusWebSocketEngine
    • +
    +
  • +
+
+ +
+
+ +
+
+
    +
  • + +
    +
      +
    • + + +

      Field Detail

      + + + +
        +
      • +

        INCOMING_BUFFER_SIZE

        +
        public static final java.lang.String INCOMING_BUFFER_SIZE
        +
        Maximum size of incoming buffer in bytes. +

        + The value must be Integer or its primitive alternative. +

        + Default value is 4194315, which means that TyrusWebSocketEngine is by default + capable of processing messages up to 4 MB.

        +
        +
        See Also:
        +
        Constant Field Values
        +
        +
      • +
      + + + +
        +
      • +

        MAX_SESSIONS_PER_APP

        +
        public static final java.lang.String MAX_SESSIONS_PER_APP
        +
        Maximum number of open sessions per server application. +

        + The value must be positive Integer or its primitive alternative. Negative values + and zero are ignored. +

        + The number of open sessions per application is not limited by default.

        +
        +
        See Also:
        +
        Constant Field Values
        +
        +
      • +
      + + + +
        +
      • +

        MAX_SESSIONS_PER_REMOTE_ADDR

        +
        public static final java.lang.String MAX_SESSIONS_PER_REMOTE_ADDR
        +
        Maximum number of open sessions per unique remote address. +

        + The value must be positive Integer or its primitive alternative. Negative values + and zero are ignored. +

        + The number of open sessions per remote address is not limited by default.

        +
        +
        See Also:
        +
        Constant Field Values
        +
        +
      • +
      + + + + + + + + + + + +
        +
      • +

        WSADL_SUPPORT

        +
        @Beta
        +public static final java.lang.String WSADL_SUPPORT
        +
        Wsadl support. +

        + Wsadl is experimental feature which exposes endpoint configuration in form of XML file, + similarly as Wadl for REST services. Currently generated Wsadl contains only set of + endpoints and their endpoint paths. Wsadl is exposed on URI ending by "application.wsadl". +

        + The value must be string, "true" means that the feature is enable, "false" that the feature + is disabled. +

        + Default value is "false";

        +
        +
        See Also:
        +
        Constant Field Values
        +
        +
      • +
      + + + + +
    • +
    +
    + +
    + +
    +
  • +
+
+
+
+ + + + diff --git a/apidocs/1.19/org/glassfish/tyrus/core/Utf8DecodingException.html b/apidocs/1.19/org/glassfish/tyrus/core/Utf8DecodingException.html new file mode 100644 index 00000000..8a65aa61 --- /dev/null +++ b/apidocs/1.19/org/glassfish/tyrus/core/Utf8DecodingException.html @@ -0,0 +1,357 @@ + + + + + +Utf8DecodingException (Tyrus 1.19 API) + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +

Class Utf8DecodingException

+
+
+
    +
  • java.lang.Object
  • +
  • + +
  • +
+
+
    +
  • +
    +
    All Implemented Interfaces:
    +
    java.io.Serializable
    +
    +
    +
    public class Utf8DecodingException
    +extends WebSocketException
    +
    TODO
    +
    +
    See Also:
    +
    Serialized Form
    +
    +
  • +
+
+
+
    +
  • + +
    + +
    + +
    +
      +
    • + + +

      Method Summary

      + + + + + + + + + + + + +
      All Methods Instance Methods Concrete Methods 
      Modifier and TypeMethodDescription
      CloseReasongetCloseReason() +
      Get close reason.
      +
      +
        +
      • + + +

        Methods inherited from class java.lang.Throwable

        +addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
      • +
      +
        +
      • + + +

        Methods inherited from class java.lang.Object

        +clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
      • +
      +
    • +
    +
    +
  • +
+
+
+
    +
  • + +
    +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        Utf8DecodingException

        +
        public Utf8DecodingException()
        +
        TODO
        +
      • +
      +
    • +
    +
    + +
    + +
    +
  • +
+
+
+
+ + + + diff --git a/apidocs/1.19/org/glassfish/tyrus/core/Utils.Stringifier.html b/apidocs/1.19/org/glassfish/tyrus/core/Utils.Stringifier.html new file mode 100644 index 00000000..72773793 --- /dev/null +++ b/apidocs/1.19/org/glassfish/tyrus/core/Utils.Stringifier.html @@ -0,0 +1,279 @@ + + + + + +Utils.Stringifier (Tyrus 1.19 API) + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +

Class Utils.Stringifier<T>

+
+
+
    +
  • java.lang.Object
  • +
  • +
      +
    • org.glassfish.tyrus.core.Utils.Stringifier<T>
    • +
    +
  • +
+
+
    +
  • +
    +
    Type Parameters:
    +
    T - type for which is conversion defined.
    +
    +
    +
    Enclosing class:
    +
    Utils
    +
    +
    +
    public abstract static class Utils.Stringifier<T>
    +extends java.lang.Object
    +
    Define to String conversion for various types.
    +
  • +
+
+
+
    +
  • + +
    +
      +
    • + + +

      Constructor Summary

      + + + + + + + + + + +
      Constructors 
      ConstructorDescription
      Stringifier() 
      +
    • +
    +
    + +
    +
      +
    • + + +

      Method Summary

      +
        +
      • + + +

        Methods inherited from class java.lang.Object

        +clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • +
      +
    • +
    +
    +
  • +
+
+
+
    +
  • + +
    +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        Stringifier

        +
        public Stringifier()
        +
      • +
      +
    • +
    +
    +
  • +
+
+
+
+ + + + diff --git a/apidocs/1.19/org/glassfish/tyrus/core/Utils.html b/apidocs/1.19/org/glassfish/tyrus/core/Utils.html new file mode 100644 index 00000000..a5ee909b --- /dev/null +++ b/apidocs/1.19/org/glassfish/tyrus/core/Utils.html @@ -0,0 +1,806 @@ + + + + + +Utils (Tyrus 1.19 API) + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +

Class Utils

+
+
+
    +
  • java.lang.Object
  • +
  • +
      +
    • org.glassfish.tyrus.core.Utils
    • +
    +
  • +
+
+
    +
  • +
    +
    public class Utils
    +extends java.lang.Object
    +
    Utility methods shared among Tyrus modules.
    +
    +
    Author:
    +
    Pavel Bucek (pavel.bucek at oracle.com)
    +
    +
  • +
+
+
+
    +
  • + +
    +
      +
    • + + +

      Nested Class Summary

      + + + + + + + + + + + + +
      Nested Classes 
      Modifier and TypeClassDescription
      static class Utils.Stringifier<T> +
      Define to String conversion for various types.
      +
      +
    • +
    +
    + +
    +
      +
    • + + +

      Constructor Summary

      + + + + + + + + + + +
      Constructors 
      ConstructorDescription
      Utils() 
      +
    • +
    +
    + +
    +
      +
    • + + +

      Method Summary

      + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
      All Methods Static Methods Concrete Methods 
      Modifier and TypeMethodDescription
      static java.nio.ByteBufferappendBuffers​(java.nio.ByteBuffer buffer, + java.nio.ByteBuffer buffer1, + int incomingBufferSize, + int BUFFER_STEP_SIZE) +
      Concatenates two buffers into one.
      +
      static <T> voidcheckNotNull​(T reference, + java.lang.String parameterName) +
      Check for null.
      +
      static <T> java.lang.StringgetHeaderFromList​(java.util.List<T> list) +
      Creates single String value from provided List by calling Object.toString() on each item + and separating existing ones with ", ".
      +
      static <T> java.lang.StringgetHeaderFromList​(java.util.List<T> list, + Utils.Stringifier<T> stringifier) +
      Convert list of values to singe String usable as HTTP header value.
      +
      static <T> TgetProperty​(java.util.Map<java.lang.String,​java.lang.Object> properties, + java.lang.String key, + java.lang.Class<T> type) +
      Get typed property from generic property map.
      +
      static <T> TgetProperty​(java.util.Map<java.lang.String,​java.lang.Object> properties, + java.lang.String key, + java.lang.Class<T> type, + T defaultValue) +
      Get typed property from generic property map.
      +
      static byte[]getRemainingArray​(java.nio.ByteBuffer buffer) +
      Creates the array of bytes containing the bytes from the position to the limit of the ByteBuffer.
      +
      static <T> java.util.List<java.lang.String>getStringList​(java.util.List<T> list, + Utils.Stringifier<T> stringifier) +
      Get list of strings from List<T>.
      +
      static intgetWsPort​(java.net.URI uri) +
      Get port from provided URI.
      +
      static intgetWsPort​(java.net.URI uri, + java.lang.String scheme) +
      Get port from provided URI.
      +
      static java.util.List<java.lang.String>parseHeaderValue​(java.lang.String headerValue) +
      Parse header value - splits multiple values (quoted, unquoted) separated by + comma.
      +
      static java.util.DateparseHttpDate​(java.lang.String stringValue) +
      Parse HTTP date.
      +
      static java.lang.StringstringifyUpgradeRequest​(UpgradeRequest upgradeRequest) +
      Converts upgrade request to a HTTP-formatted string.
      +
      static java.lang.StringstringifyUpgradeResponse​(UpgradeResponse upgradeResponse) +
      Converts upgrade response to a HTTP-formatted string.
      +
      static byte[]toArray​(long value) +
      Convert long to byte[].
      +
      static longtoLong​(byte[] bytes, + int start, + int end) +
      Convert byte[] to long.
      +
      static java.util.List<java.lang.String>toString​(byte[] bytes) 
      static java.util.List<java.lang.String>toString​(byte[] bytes, + int start, + int end) 
      +
        +
      • + + +

        Methods inherited from class java.lang.Object

        +clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • +
      +
    • +
    +
    +
  • +
+
+
+
    +
  • + +
    +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        Utils

        +
        public Utils()
        +
      • +
      +
    • +
    +
    + +
    +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        parseHeaderValue

        +
        public static java.util.List<java.lang.String> parseHeaderValue​(java.lang.String headerValue)
        +
        Parse header value - splits multiple values (quoted, unquoted) separated by + comma.
        +
        +
        Parameters:
        +
        headerValue - string containing header values.
        +
        Returns:
        +
        split list of values.
        +
        +
      • +
      + + + +
        +
      • +

        getRemainingArray

        +
        public static byte[] getRemainingArray​(java.nio.ByteBuffer buffer)
        +
        Creates the array of bytes containing the bytes from the position to the limit of the ByteBuffer.
        +
        +
        Parameters:
        +
        buffer - where the bytes are taken from.
        +
        Returns:
        +
        array of bytes containing the bytes from the position to the limit of the ByteBuffer.
        +
        +
      • +
      + + + +
        +
      • +

        getHeaderFromList

        +
        public static <T> java.lang.String getHeaderFromList​(java.util.List<T> list)
        +
        Creates single String value from provided List by calling Object.toString() on each item + and separating existing ones with ", ".
        +
        +
        Type Parameters:
        +
        T - item type.
        +
        Parameters:
        +
        list - to be serialized.
        +
        Returns:
        +
        single String containing all items from provided list.
        +
        +
      • +
      + + + +
        +
      • +

        getStringList

        +
        public static <T> java.util.List<java.lang.String> getStringList​(java.util.List<T> list,
        +                                                                 Utils.Stringifier<T> stringifier)
        +
        Get list of strings from List<T>.
        +
        +
        Type Parameters:
        +
        T - type to be converted.
        +
        Parameters:
        +
        list - list to be converted.
        +
        stringifier - strignifier used for conversion. When null, Object.toString() method will be + used.
        +
        Returns:
        +
        converted list.
        +
        +
      • +
      + + + +
        +
      • +

        getHeaderFromList

        +
        public static <T> java.lang.String getHeaderFromList​(java.util.List<T> list,
        +                                                     Utils.Stringifier<T> stringifier)
        +
        Convert list of values to singe String usable as HTTP header value.
        +
        +
        Type Parameters:
        +
        T - type to be converted.
        +
        Parameters:
        +
        list - list of values.
        +
        stringifier - strignifier used for conversion. When null, Object.toString() method will be + used.
        +
        Returns:
        +
        serialized list.
        +
        +
      • +
      + + + + + +
        +
      • +

        checkNotNull

        +
        public static <T> void checkNotNull​(T reference,
        +                                    java.lang.String parameterName)
        +
        Check for null. Throws IllegalArgumentException if provided value is null.
        +
        +
        Type Parameters:
        +
        T - object type.
        +
        Parameters:
        +
        reference - object to check.
        +
        parameterName - name of parameter to be formatted into localized message of thrown IllegalArgumentException.
        +
        +
      • +
      + + + +
        +
      • +

        toArray

        +
        public static byte[] toArray​(long value)
        +
        Convert long to byte[].
        +
        +
        Parameters:
        +
        value - to be converted.
        +
        Returns:
        +
        converted value.
        +
        +
      • +
      + + + +
        +
      • +

        toLong

        +
        public static long toLong​(byte[] bytes,
        +                          int start,
        +                          int end)
        +
        Convert byte[] to long.
        +
        +
        Parameters:
        +
        bytes - to be converted.
        +
        start - start index.
        +
        end - end index.
        +
        Returns:
        +
        converted value.
        +
        +
      • +
      + + + +
        +
      • +

        toString

        +
        public static java.util.List<java.lang.String> toString​(byte[] bytes)
        +
      • +
      + + + +
        +
      • +

        toString

        +
        public static java.util.List<java.lang.String> toString​(byte[] bytes,
        +                                                        int start,
        +                                                        int end)
        +
      • +
      + + + +
        +
      • +

        appendBuffers

        +
        public static java.nio.ByteBuffer appendBuffers​(java.nio.ByteBuffer buffer,
        +                                                java.nio.ByteBuffer buffer1,
        +                                                int incomingBufferSize,
        +                                                int BUFFER_STEP_SIZE)
        +
        Concatenates two buffers into one. If buffer given as first argument has enough space for putting + the other one, it will be done and the original buffer will be returned. Otherwise new buffer will + be created.
        +
        +
        Parameters:
        +
        buffer - first buffer.
        +
        buffer1 - second buffer.
        +
        incomingBufferSize - incoming buffer size. Concatenation length cannot be bigger than this value.
        +
        BUFFER_STEP_SIZE - buffer step size.
        +
        Returns:
        +
        concatenation.
        +
        Throws:
        +
        java.lang.IllegalArgumentException - when the concatenation length is bigger than provided incoming buffer size.
        +
        +
      • +
      + + + +
        +
      • +

        getProperty

        +
        public static <T> T getProperty​(java.util.Map<java.lang.String,​java.lang.Object> properties,
        +                                java.lang.String key,
        +                                java.lang.Class<T> type)
        +
        Get typed property from generic property map.
        +
        +
        Type Parameters:
        +
        T - type of value to be retrieved.
        +
        Parameters:
        +
        properties - property map.
        +
        key - key of value to be retrieved.
        +
        type - type of value to be retrieved.
        +
        Returns:
        +
        typed value or null if property is not set or value is not assignable.
        +
        +
      • +
      + + + + + +
        +
      • +

        getProperty

        +
        public static <T> T getProperty​(java.util.Map<java.lang.String,​java.lang.Object> properties,
        +                                java.lang.String key,
        +                                java.lang.Class<T> type,
        +                                T defaultValue)
        +
        Get typed property from generic property map.
        +
        +
        Type Parameters:
        +
        T - type of value to be retrieved.
        +
        Parameters:
        +
        properties - property map.
        +
        key - key of value to be retrieved.
        +
        type - type of value to be retrieved.
        +
        defaultValue - value returned when record does not exist in supplied map.
        +
        Returns:
        +
        typed value or null if property is not set or value is not assignable.
        +
        +
      • +
      + + + +
        +
      • +

        getWsPort

        +
        public static int getWsPort​(java.net.URI uri)
        +
        Get port from provided URI. +

        + Expected schemes are "ws" and "wss" and this method will return 80 or + 443 when the port is not explicitly set in the provided URI.

        +
        +
        Parameters:
        +
        uri - provided uri.
        +
        Returns:
        +
        port number which should be used for creating connections/etc.
        +
        +
      • +
      + + + +
        +
      • +

        getWsPort

        +
        public static int getWsPort​(java.net.URI uri,
        +                            java.lang.String scheme)
        +
        Get port from provided URI. +

        + Expected schemes are "ws" and "wss" and this method will return 80 or + 443 when the port is not explicitly set in the provided URI.

        +
        +
        Parameters:
        +
        uri - provided uri.
        +
        scheme - scheme to be used when checking for "ws" and "wss".
        +
        Returns:
        +
        port number which should be used for creating connections/etc.
        +
        +
      • +
      + + + +
        +
      • +

        parseHttpDate

        +
        public static java.util.Date parseHttpDate​(java.lang.String stringValue)
        +                                    throws java.text.ParseException
        +
        Parse HTTP date. +

        + HTTP applications have historically allowed three different formats for the representation of date/time stamps: +

          +
        • Sun, 06 Nov 1994 08:49:37 GMT (RFC 822, updated by RFC 1123)
        • +
        • Sunday, 06-Nov-94 08:49:37 GMT (RFC 850, obsoleted by RFC 1036)
        • +
        • Sun Nov 6 08:49:37 1994 (ANSI C's asctime() format)
        • +
        +
        +
        Parameters:
        +
        stringValue - String value to be parsed.
        +
        Returns:
        +
        A Date parsed from the string.
        +
        Throws:
        +
        java.text.ParseException - if the specified string cannot be parsed in neither of all three HTTP date formats.
        +
        +
      • +
      + + + +
        +
      • +

        stringifyUpgradeRequest

        +
        public static java.lang.String stringifyUpgradeRequest​(UpgradeRequest upgradeRequest)
        +
        Converts upgrade request to a HTTP-formatted string.
        +
        +
        Parameters:
        +
        upgradeRequest - upgrade request to be formatted.
        +
        Returns:
        +
        stringified upgrade request.
        +
        +
      • +
      + + + +
        +
      • +

        stringifyUpgradeResponse

        +
        public static java.lang.String stringifyUpgradeResponse​(UpgradeResponse upgradeResponse)
        +
        Converts upgrade response to a HTTP-formatted string.
        +
        +
        Parameters:
        +
        upgradeResponse - upgrade request to be formatted.
        +
        Returns:
        +
        stringified upgrade request.
        +
        +
      • +
      +
    • +
    +
    +
  • +
+
+
+
+ + + + diff --git a/apidocs/1.19/org/glassfish/tyrus/core/Version.html b/apidocs/1.19/org/glassfish/tyrus/core/Version.html new file mode 100644 index 00000000..0f0138e7 --- /dev/null +++ b/apidocs/1.19/org/glassfish/tyrus/core/Version.html @@ -0,0 +1,430 @@ + + + + + +Version (Tyrus 1.19 API) + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +

Enum Version

+
+
+
    +
  • java.lang.Object
  • +
  • +
      +
    • java.lang.Enum<Version>
    • +
    • +
        +
      • org.glassfish.tyrus.core.Version
      • +
      +
    • +
    +
  • +
+
+
    +
  • +
    +
    All Implemented Interfaces:
    +
    java.io.Serializable, java.lang.Comparable<Version>
    +
    +
    +
    public enum Version
    +extends java.lang.Enum<Version>
    +
    TODO
    +
  • +
+
+
+ +
+
+
    +
  • + +
    +
      +
    • + + +

      Enum Constant Detail

      + + + +
        +
      • +

        DRAFT17

        +
        public static final Version DRAFT17
        +
      • +
      +
    • +
    +
    + +
    +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        values

        +
        public static Version[] values()
        +
        Returns an array containing the constants of this enum type, in +the order they are declared. This method may be used to iterate +over the constants as follows: +
        +for (Version c : Version.values())
        +    System.out.println(c);
        +
        +
        +
        Returns:
        +
        an array containing the constants of this enum type, in the order they are declared
        +
        +
      • +
      + + + +
        +
      • +

        valueOf

        +
        public static Version valueOf​(java.lang.String name)
        +
        Returns the enum constant of this type with the specified name. +The string must match exactly an identifier used to declare an +enum constant in this type. (Extraneous whitespace characters are +not permitted.)
        +
        +
        Parameters:
        +
        name - the name of the enum constant to be returned.
        +
        Returns:
        +
        the enum constant with the specified name
        +
        Throws:
        +
        java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
        +
        java.lang.NullPointerException - if the argument is null
        +
        +
      • +
      + + + + + + + +
        +
      • +

        validate

        +
        public abstract boolean validate​(UpgradeRequest request)
        +
      • +
      + + + +
        +
      • +

        toString

        +
        public java.lang.String toString()
        +
        +
        Overrides:
        +
        toString in class java.lang.Enum<Version>
        +
        +
      • +
      + + + +
        +
      • +

        getSupportedWireProtocolVersions

        +
        public static java.lang.String getSupportedWireProtocolVersions()
        +
      • +
      +
    • +
    +
    +
  • +
+
+
+
+ + + + diff --git a/apidocs/1.19/org/glassfish/tyrus/core/WebSocketException.html b/apidocs/1.19/org/glassfish/tyrus/core/WebSocketException.html new file mode 100644 index 00000000..e175fb31 --- /dev/null +++ b/apidocs/1.19/org/glassfish/tyrus/core/WebSocketException.html @@ -0,0 +1,357 @@ + + + + + +WebSocketException (Tyrus 1.19 API) + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +

Class WebSocketException

+
+
+
    +
  • java.lang.Object
  • +
  • +
      +
    • java.lang.Throwable
    • +
    • +
        +
      • java.lang.Exception
      • +
      • +
          +
        • java.lang.RuntimeException
        • +
        • +
            +
          • org.glassfish.tyrus.core.WebSocketException
          • +
          +
        • +
        +
      • +
      +
    • +
    +
  • +
+
+
    +
  • +
    +
    All Implemented Interfaces:
    +
    java.io.Serializable
    +
    +
    +
    Direct Known Subclasses:
    +
    ProtocolException, Utf8DecodingException
    +
    +
    +
    public abstract class WebSocketException
    +extends java.lang.RuntimeException
    +
    WebSocketException can be thrown during runtime (after handshake).
    +
    +
    See Also:
    +
    Serialized Form
    +
    +
  • +
+
+
+
    +
  • + +
    + +
    + +
    +
      +
    • + + +

      Method Summary

      + + + + + + + + + + + + +
      All Methods Instance Methods Abstract Methods 
      Modifier and TypeMethodDescription
      abstract CloseReasongetCloseReason() +
      Get close reason.
      +
      +
        +
      • + + +

        Methods inherited from class java.lang.Throwable

        +addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
      • +
      +
        +
      • + + +

        Methods inherited from class java.lang.Object

        +clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
      • +
      +
    • +
    +
    +
  • +
+
+
+
    +
  • + +
    +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        WebSocketException

        +
        public WebSocketException​(java.lang.String message)
        +
        Create new WebSocketException.
        +
        +
        Parameters:
        +
        message - excetion message.
        +
        +
      • +
      +
    • +
    +
    + +
    +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        getCloseReason

        +
        public abstract CloseReason getCloseReason()
        +
        Get close reason.
        +
        +
        Returns:
        +
        close reason used when processing this exception.
        +
        +
      • +
      +
    • +
    +
    +
  • +
+
+
+
+ + + + diff --git a/apidocs/1.19/org/glassfish/tyrus/core/class-use/AnnotatedEndpoint.html b/apidocs/1.19/org/glassfish/tyrus/core/class-use/AnnotatedEndpoint.html new file mode 100644 index 00000000..bc833739 --- /dev/null +++ b/apidocs/1.19/org/glassfish/tyrus/core/class-use/AnnotatedEndpoint.html @@ -0,0 +1,239 @@ + + + + + +Uses of Class org.glassfish.tyrus.core.AnnotatedEndpoint (Tyrus 1.19 API) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Class
org.glassfish.tyrus.core.AnnotatedEndpoint

+
+
+ +
+
+ + + diff --git a/apidocs/1.19/org/glassfish/tyrus/core/class-use/BaseContainer.ShutDownCondition.html b/apidocs/1.19/org/glassfish/tyrus/core/class-use/BaseContainer.ShutDownCondition.html new file mode 100644 index 00000000..62522816 --- /dev/null +++ b/apidocs/1.19/org/glassfish/tyrus/core/class-use/BaseContainer.ShutDownCondition.html @@ -0,0 +1,198 @@ + + + + + +Uses of Interface org.glassfish.tyrus.core.BaseContainer.ShutDownCondition (Tyrus 1.19 API) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Interface
org.glassfish.tyrus.core.BaseContainer.ShutDownCondition

+
+
+ +
+
+ + + diff --git a/apidocs/1.19/org/glassfish/tyrus/core/class-use/BaseContainer.html b/apidocs/1.19/org/glassfish/tyrus/core/class-use/BaseContainer.html new file mode 100644 index 00000000..5f2a7a72 --- /dev/null +++ b/apidocs/1.19/org/glassfish/tyrus/core/class-use/BaseContainer.html @@ -0,0 +1,228 @@ + + + + + +Uses of Class org.glassfish.tyrus.core.BaseContainer (Tyrus 1.19 API) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Class
org.glassfish.tyrus.core.BaseContainer

+
+
+ +
+
+ + + diff --git a/apidocs/1.19/org/glassfish/tyrus/core/class-use/Beta.html b/apidocs/1.19/org/glassfish/tyrus/core/class-use/Beta.html new file mode 100644 index 00000000..e6614cb0 --- /dev/null +++ b/apidocs/1.19/org/glassfish/tyrus/core/class-use/Beta.html @@ -0,0 +1,330 @@ + + + + + +Uses of Class org.glassfish.tyrus.core.Beta (Tyrus 1.19 API) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Class
org.glassfish.tyrus.core.Beta

+
+
+ +
+
+ + + diff --git a/apidocs/1.19/org/glassfish/tyrus/core/class-use/CloseReasons.html b/apidocs/1.19/org/glassfish/tyrus/core/class-use/CloseReasons.html new file mode 100644 index 00000000..498d24ff --- /dev/null +++ b/apidocs/1.19/org/glassfish/tyrus/core/class-use/CloseReasons.html @@ -0,0 +1,206 @@ + + + + + +Uses of Class org.glassfish.tyrus.core.CloseReasons (Tyrus 1.19 API) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Class
org.glassfish.tyrus.core.CloseReasons

+
+
+ +
+
+ + + diff --git a/apidocs/1.19/org/glassfish/tyrus/core/class-use/ComponentProvider.html b/apidocs/1.19/org/glassfish/tyrus/core/class-use/ComponentProvider.html new file mode 100644 index 00000000..9d3a708f --- /dev/null +++ b/apidocs/1.19/org/glassfish/tyrus/core/class-use/ComponentProvider.html @@ -0,0 +1,258 @@ + + + + + +Uses of Class org.glassfish.tyrus.core.ComponentProvider (Tyrus 1.19 API) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Class
org.glassfish.tyrus.core.ComponentProvider

+
+
+ +
+
+ + + diff --git a/apidocs/1.19/org/glassfish/tyrus/core/class-use/ComponentProviderService.html b/apidocs/1.19/org/glassfish/tyrus/core/class-use/ComponentProviderService.html new file mode 100644 index 00000000..5de6cb69 --- /dev/null +++ b/apidocs/1.19/org/glassfish/tyrus/core/class-use/ComponentProviderService.html @@ -0,0 +1,308 @@ + + + + + +Uses of Class org.glassfish.tyrus.core.ComponentProviderService (Tyrus 1.19 API) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Class
org.glassfish.tyrus.core.ComponentProviderService

+
+
+ +
+
+ + + diff --git a/apidocs/1.19/org/glassfish/tyrus/core/class-use/DebugContext.TracingThreshold.html b/apidocs/1.19/org/glassfish/tyrus/core/class-use/DebugContext.TracingThreshold.html new file mode 100644 index 00000000..bafe8008 --- /dev/null +++ b/apidocs/1.19/org/glassfish/tyrus/core/class-use/DebugContext.TracingThreshold.html @@ -0,0 +1,238 @@ + + + + + +Uses of Class org.glassfish.tyrus.core.DebugContext.TracingThreshold (Tyrus 1.19 API) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Class
org.glassfish.tyrus.core.DebugContext.TracingThreshold

+
+
+ +
+
+ + + diff --git a/apidocs/1.19/org/glassfish/tyrus/core/class-use/DebugContext.TracingType.html b/apidocs/1.19/org/glassfish/tyrus/core/class-use/DebugContext.TracingType.html new file mode 100644 index 00000000..6a4f94f0 --- /dev/null +++ b/apidocs/1.19/org/glassfish/tyrus/core/class-use/DebugContext.TracingType.html @@ -0,0 +1,223 @@ + + + + + +Uses of Class org.glassfish.tyrus.core.DebugContext.TracingType (Tyrus 1.19 API) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Class
org.glassfish.tyrus.core.DebugContext.TracingType

+
+
+ +
+
+ + + diff --git a/apidocs/1.19/org/glassfish/tyrus/core/class-use/DebugContext.Type.html b/apidocs/1.19/org/glassfish/tyrus/core/class-use/DebugContext.Type.html new file mode 100644 index 00000000..c9f09e12 --- /dev/null +++ b/apidocs/1.19/org/glassfish/tyrus/core/class-use/DebugContext.Type.html @@ -0,0 +1,267 @@ + + + + + +Uses of Class org.glassfish.tyrus.core.DebugContext.Type (Tyrus 1.19 API) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Class
org.glassfish.tyrus.core.DebugContext.Type

+
+
+
    +
  • + + + + + + + + + + + + +
    Packages that use DebugContext.Type 
    PackageDescription
    org.glassfish.tyrus.core +
    Core classes.
    +
    +
  • +
  • +
      +
    • +
      + + +

      Uses of DebugContext.Type in org.glassfish.tyrus.core

      + + + + + + + + + + + + + + + + + + + +
      Methods in org.glassfish.tyrus.core that return DebugContext.Type 
      Modifier and TypeMethodDescription
      static DebugContext.TypeDebugContext.Type.valueOf​(java.lang.String name) +
      Returns the enum constant of this type with the specified name.
      +
      static DebugContext.Type[]DebugContext.Type.values() +
      Returns an array containing the constants of this enum type, in +the order they are declared.
      +
      + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
      Methods in org.glassfish.tyrus.core with parameters of type DebugContext.Type 
      Modifier and TypeMethodDescription
      voidDebugContext.appendLogMessage​(java.util.logging.Logger logger, + java.util.logging.Level loggingLevel, + DebugContext.Type type, + java.lang.Object... messageParts) +
      Append a message to the log, the logging will be postponed until the message can be provided with a session ID.
      +
      voidDebugContext.appendLogMessageWithThrowable​(java.util.logging.Logger logger, + java.util.logging.Level loggingLevel, + DebugContext.Type type, + java.lang.Throwable t, + java.lang.Object... messageParts) +
      Append a message to the log, the logging will be postponed until the message can be provided with a session ID.
      +
      voidDebugContext.appendStandardOutputMessage​(DebugContext.Type type, + java.lang.String message) +
      Write a message to the standard output, the logging will be postponed until the message can be provided with + a session ID.
      +
      voidDebugContext.appendTraceMessage​(java.util.logging.Logger logger, + java.util.logging.Level loggingLevel, + DebugContext.Type type, + java.lang.Object... messageParts) +
      Append a message to the log and to the list of trace messages that are sent in handshake response.
      +
      voidDebugContext.appendTraceMessageWithThrowable​(java.util.logging.Logger logger, + java.util.logging.Level loggingLevel, + DebugContext.Type type, + java.lang.Throwable t, + java.lang.Object... messageParts) +
      Append a message to the log and to the list of trace messages that are sent in handshake response.
      +
      +
      +
    • +
    +
  • +
+
+
+ + + diff --git a/apidocs/1.19/org/glassfish/tyrus/core/class-use/DebugContext.html b/apidocs/1.19/org/glassfish/tyrus/core/class-use/DebugContext.html new file mode 100644 index 00000000..cb9942ac --- /dev/null +++ b/apidocs/1.19/org/glassfish/tyrus/core/class-use/DebugContext.html @@ -0,0 +1,245 @@ + + + + + +Uses of Class org.glassfish.tyrus.core.DebugContext (Tyrus 1.19 API) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Class
org.glassfish.tyrus.core.DebugContext

+
+
+ +
+
+ + + diff --git a/apidocs/1.19/org/glassfish/tyrus/core/class-use/DefaultComponentProvider.html b/apidocs/1.19/org/glassfish/tyrus/core/class-use/DefaultComponentProvider.html new file mode 100644 index 00000000..6bdace78 --- /dev/null +++ b/apidocs/1.19/org/glassfish/tyrus/core/class-use/DefaultComponentProvider.html @@ -0,0 +1,150 @@ + + + + + +Uses of Class org.glassfish.tyrus.core.DefaultComponentProvider (Tyrus 1.19 API) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Class
org.glassfish.tyrus.core.DefaultComponentProvider

+
+
No usage of org.glassfish.tyrus.core.DefaultComponentProvider
+
+ + + diff --git a/apidocs/1.19/org/glassfish/tyrus/core/class-use/ErrorCollector.html b/apidocs/1.19/org/glassfish/tyrus/core/class-use/ErrorCollector.html new file mode 100644 index 00000000..89647415 --- /dev/null +++ b/apidocs/1.19/org/glassfish/tyrus/core/class-use/ErrorCollector.html @@ -0,0 +1,298 @@ + + + + + +Uses of Class org.glassfish.tyrus.core.ErrorCollector (Tyrus 1.19 API) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Class
org.glassfish.tyrus.core.ErrorCollector

+
+
+ +
+
+ + + diff --git a/apidocs/1.19/org/glassfish/tyrus/core/class-use/ExecutorServiceProvider.html b/apidocs/1.19/org/glassfish/tyrus/core/class-use/ExecutorServiceProvider.html new file mode 100644 index 00000000..63b719fa --- /dev/null +++ b/apidocs/1.19/org/glassfish/tyrus/core/class-use/ExecutorServiceProvider.html @@ -0,0 +1,258 @@ + + + + + +Uses of Class org.glassfish.tyrus.core.ExecutorServiceProvider (Tyrus 1.19 API) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Class
org.glassfish.tyrus.core.ExecutorServiceProvider

+
+
+ +
+
+ + + diff --git a/apidocs/1.19/org/glassfish/tyrus/core/class-use/Handshake.html b/apidocs/1.19/org/glassfish/tyrus/core/class-use/Handshake.html new file mode 100644 index 00000000..115002fe --- /dev/null +++ b/apidocs/1.19/org/glassfish/tyrus/core/class-use/Handshake.html @@ -0,0 +1,208 @@ + + + + + +Uses of Class org.glassfish.tyrus.core.Handshake (Tyrus 1.19 API) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Class
org.glassfish.tyrus.core.Handshake

+
+
+ +
+
+ + + diff --git a/apidocs/1.19/org/glassfish/tyrus/core/class-use/HandshakeException.html b/apidocs/1.19/org/glassfish/tyrus/core/class-use/HandshakeException.html new file mode 100644 index 00000000..8318d58b --- /dev/null +++ b/apidocs/1.19/org/glassfish/tyrus/core/class-use/HandshakeException.html @@ -0,0 +1,293 @@ + + + + + +Uses of Class org.glassfish.tyrus.core.HandshakeException (Tyrus 1.19 API) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Class
org.glassfish.tyrus.core.HandshakeException

+
+
+ +
+
+ + + diff --git a/apidocs/1.19/org/glassfish/tyrus/core/class-use/MaskingKeyGenerator.html b/apidocs/1.19/org/glassfish/tyrus/core/class-use/MaskingKeyGenerator.html new file mode 100644 index 00000000..7962add3 --- /dev/null +++ b/apidocs/1.19/org/glassfish/tyrus/core/class-use/MaskingKeyGenerator.html @@ -0,0 +1,197 @@ + + + + + +Uses of Interface org.glassfish.tyrus.core.MaskingKeyGenerator (Tyrus 1.19 API) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Interface
org.glassfish.tyrus.core.MaskingKeyGenerator

+
+
+ +
+
+ + + diff --git a/apidocs/1.19/org/glassfish/tyrus/core/class-use/MaxSessions.html b/apidocs/1.19/org/glassfish/tyrus/core/class-use/MaxSessions.html new file mode 100644 index 00000000..8ec39fc4 --- /dev/null +++ b/apidocs/1.19/org/glassfish/tyrus/core/class-use/MaxSessions.html @@ -0,0 +1,150 @@ + + + + + +Uses of Class org.glassfish.tyrus.core.MaxSessions (Tyrus 1.19 API) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Class
org.glassfish.tyrus.core.MaxSessions

+
+
No usage of org.glassfish.tyrus.core.MaxSessions
+
+ + + diff --git a/apidocs/1.19/org/glassfish/tyrus/core/class-use/MessageHandlerManager.html b/apidocs/1.19/org/glassfish/tyrus/core/class-use/MessageHandlerManager.html new file mode 100644 index 00000000..dcbd4df6 --- /dev/null +++ b/apidocs/1.19/org/glassfish/tyrus/core/class-use/MessageHandlerManager.html @@ -0,0 +1,198 @@ + + + + + +Uses of Class org.glassfish.tyrus.core.MessageHandlerManager (Tyrus 1.19 API) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Class
org.glassfish.tyrus.core.MessageHandlerManager

+
+
+ +
+
+ + + diff --git a/apidocs/1.19/org/glassfish/tyrus/core/class-use/OsgiRegistry.html b/apidocs/1.19/org/glassfish/tyrus/core/class-use/OsgiRegistry.html new file mode 100644 index 00000000..a93b04db --- /dev/null +++ b/apidocs/1.19/org/glassfish/tyrus/core/class-use/OsgiRegistry.html @@ -0,0 +1,205 @@ + + + + + +Uses of Class org.glassfish.tyrus.core.OsgiRegistry (Tyrus 1.19 API) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Class
org.glassfish.tyrus.core.OsgiRegistry

+
+
+ +
+
+ + + diff --git a/apidocs/1.19/org/glassfish/tyrus/core/class-use/ProtocolException.html b/apidocs/1.19/org/glassfish/tyrus/core/class-use/ProtocolException.html new file mode 100644 index 00000000..481942fd --- /dev/null +++ b/apidocs/1.19/org/glassfish/tyrus/core/class-use/ProtocolException.html @@ -0,0 +1,150 @@ + + + + + +Uses of Class org.glassfish.tyrus.core.ProtocolException (Tyrus 1.19 API) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Class
org.glassfish.tyrus.core.ProtocolException

+
+
No usage of org.glassfish.tyrus.core.ProtocolException
+
+ + + diff --git a/apidocs/1.19/org/glassfish/tyrus/core/class-use/ProtocolHandler.html b/apidocs/1.19/org/glassfish/tyrus/core/class-use/ProtocolHandler.html new file mode 100644 index 00000000..37206eb0 --- /dev/null +++ b/apidocs/1.19/org/glassfish/tyrus/core/class-use/ProtocolHandler.html @@ -0,0 +1,213 @@ + + + + + +Uses of Class org.glassfish.tyrus.core.ProtocolHandler (Tyrus 1.19 API) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Class
org.glassfish.tyrus.core.ProtocolHandler

+
+
+ +
+
+ + + diff --git a/apidocs/1.19/org/glassfish/tyrus/core/class-use/ReflectionHelper.ClassTypePair.html b/apidocs/1.19/org/glassfish/tyrus/core/class-use/ReflectionHelper.ClassTypePair.html new file mode 100644 index 00000000..6ff45237 --- /dev/null +++ b/apidocs/1.19/org/glassfish/tyrus/core/class-use/ReflectionHelper.ClassTypePair.html @@ -0,0 +1,200 @@ + + + + + +Uses of Class org.glassfish.tyrus.core.ReflectionHelper.ClassTypePair (Tyrus 1.19 API) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Class
org.glassfish.tyrus.core.ReflectionHelper.ClassTypePair

+
+
+ +
+
+ + + diff --git a/apidocs/1.19/org/glassfish/tyrus/core/class-use/ReflectionHelper.DeclaringClassInterfacePair.html b/apidocs/1.19/org/glassfish/tyrus/core/class-use/ReflectionHelper.DeclaringClassInterfacePair.html new file mode 100644 index 00000000..98cfee78 --- /dev/null +++ b/apidocs/1.19/org/glassfish/tyrus/core/class-use/ReflectionHelper.DeclaringClassInterfacePair.html @@ -0,0 +1,223 @@ + + + + + +Uses of Class org.glassfish.tyrus.core.ReflectionHelper.DeclaringClassInterfacePair (Tyrus 1.19 API) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Class
org.glassfish.tyrus.core.ReflectionHelper.DeclaringClassInterfacePair

+
+
+ +
+
+ + + diff --git a/apidocs/1.19/org/glassfish/tyrus/core/class-use/ReflectionHelper.TypeClassPair.html b/apidocs/1.19/org/glassfish/tyrus/core/class-use/ReflectionHelper.TypeClassPair.html new file mode 100644 index 00000000..65690c07 --- /dev/null +++ b/apidocs/1.19/org/glassfish/tyrus/core/class-use/ReflectionHelper.TypeClassPair.html @@ -0,0 +1,196 @@ + + + + + +Uses of Class org.glassfish.tyrus.core.ReflectionHelper.TypeClassPair (Tyrus 1.19 API) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Class
org.glassfish.tyrus.core.ReflectionHelper.TypeClassPair

+
+
+ +
+
+ + + diff --git a/apidocs/1.19/org/glassfish/tyrus/core/class-use/ReflectionHelper.html b/apidocs/1.19/org/glassfish/tyrus/core/class-use/ReflectionHelper.html new file mode 100644 index 00000000..1c18e0b4 --- /dev/null +++ b/apidocs/1.19/org/glassfish/tyrus/core/class-use/ReflectionHelper.html @@ -0,0 +1,150 @@ + + + + + +Uses of Class org.glassfish.tyrus.core.ReflectionHelper (Tyrus 1.19 API) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Class
org.glassfish.tyrus.core.ReflectionHelper

+
+
No usage of org.glassfish.tyrus.core.ReflectionHelper
+
+ + + diff --git a/apidocs/1.19/org/glassfish/tyrus/core/class-use/RequestContext.Builder.IsUserInRoleDelegate.html b/apidocs/1.19/org/glassfish/tyrus/core/class-use/RequestContext.Builder.IsUserInRoleDelegate.html new file mode 100644 index 00000000..25267b46 --- /dev/null +++ b/apidocs/1.19/org/glassfish/tyrus/core/class-use/RequestContext.Builder.IsUserInRoleDelegate.html @@ -0,0 +1,198 @@ + + + + + +Uses of Interface org.glassfish.tyrus.core.RequestContext.Builder.IsUserInRoleDelegate (Tyrus 1.19 API) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Interface
org.glassfish.tyrus.core.RequestContext.Builder.IsUserInRoleDelegate

+
+
+ +
+
+ + + diff --git a/apidocs/1.19/org/glassfish/tyrus/core/class-use/RequestContext.Builder.html b/apidocs/1.19/org/glassfish/tyrus/core/class-use/RequestContext.Builder.html new file mode 100644 index 00000000..8eb9d530 --- /dev/null +++ b/apidocs/1.19/org/glassfish/tyrus/core/class-use/RequestContext.Builder.html @@ -0,0 +1,261 @@ + + + + + +Uses of Class org.glassfish.tyrus.core.RequestContext.Builder (Tyrus 1.19 API) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Class
org.glassfish.tyrus.core.RequestContext.Builder

+
+
+ +
+
+ + + diff --git a/apidocs/1.19/org/glassfish/tyrus/core/class-use/RequestContext.html b/apidocs/1.19/org/glassfish/tyrus/core/class-use/RequestContext.html new file mode 100644 index 00000000..7ec9db1e --- /dev/null +++ b/apidocs/1.19/org/glassfish/tyrus/core/class-use/RequestContext.html @@ -0,0 +1,229 @@ + + + + + +Uses of Class org.glassfish.tyrus.core.RequestContext (Tyrus 1.19 API) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Class
org.glassfish.tyrus.core.RequestContext

+
+
+ +
+
+ + + diff --git a/apidocs/1.19/org/glassfish/tyrus/core/class-use/ServiceConfigurationError.html b/apidocs/1.19/org/glassfish/tyrus/core/class-use/ServiceConfigurationError.html new file mode 100644 index 00000000..d0b593e6 --- /dev/null +++ b/apidocs/1.19/org/glassfish/tyrus/core/class-use/ServiceConfigurationError.html @@ -0,0 +1,249 @@ + + + + + +Uses of Class org.glassfish.tyrus.core.ServiceConfigurationError (Tyrus 1.19 API) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Class
org.glassfish.tyrus.core.ServiceConfigurationError

+
+
+
    +
  • + + + + + + + + + + + + +
    Packages that use ServiceConfigurationError 
    PackageDescription
    org.glassfish.tyrus.core +
    Core classes.
    +
    +
  • +
  • +
      +
    • +
      + + +

      Uses of ServiceConfigurationError in org.glassfish.tyrus.core

      + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
      Methods in org.glassfish.tyrus.core that throw ServiceConfigurationError 
      Modifier and TypeMethodDescription
      static <T> ServiceFinder<T>ServiceFinder.find​(java.lang.Class<T> service) +
      Locates and incrementally instantiates the available providers of a + given service using the context class loader.
      +
      static <T> ServiceFinder<T>ServiceFinder.find​(java.lang.Class<T> service, + boolean ignoreOnClassNotFound) +
      Locates and incrementally instantiates the available providers of a + given service using the context class loader.
      +
      static <T> ServiceFinder<T>ServiceFinder.find​(java.lang.Class<T> service, + java.lang.ClassLoader loader) +
      Locates and incrementally instantiates the available providers of a + given service using the given class loader.
      +
      static <T> ServiceFinder<T>ServiceFinder.find​(java.lang.Class<T> service, + java.lang.ClassLoader loader, + boolean ignoreOnClassNotFound) +
      Locates and incrementally instantiates the available providers of a + given service using the given class loader.
      +
      static ServiceFinder<?>ServiceFinder.find​(java.lang.String serviceName) +
      Locates and incrementally instantiates the available classes of a given + service file using the context class loader.
      +
      T[]ServiceFinder.toArray() +
      Returns discovered objects all at once.
      +
      java.lang.Class<T>[]ServiceFinder.toClassArray() +
      Returns discovered classes all at once.
      +
      +
      +
    • +
    +
  • +
+
+
+ + + diff --git a/apidocs/1.19/org/glassfish/tyrus/core/class-use/ServiceFinder.DefaultServiceIteratorProvider.html b/apidocs/1.19/org/glassfish/tyrus/core/class-use/ServiceFinder.DefaultServiceIteratorProvider.html new file mode 100644 index 00000000..91e1756f --- /dev/null +++ b/apidocs/1.19/org/glassfish/tyrus/core/class-use/ServiceFinder.DefaultServiceIteratorProvider.html @@ -0,0 +1,150 @@ + + + + + +Uses of Class org.glassfish.tyrus.core.ServiceFinder.DefaultServiceIteratorProvider (Tyrus 1.19 API) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Class
org.glassfish.tyrus.core.ServiceFinder.DefaultServiceIteratorProvider

+
+
No usage of org.glassfish.tyrus.core.ServiceFinder.DefaultServiceIteratorProvider
+
+ + + diff --git a/apidocs/1.19/org/glassfish/tyrus/core/class-use/ServiceFinder.ServiceIteratorProvider.html b/apidocs/1.19/org/glassfish/tyrus/core/class-use/ServiceFinder.ServiceIteratorProvider.html new file mode 100644 index 00000000..fd445478 --- /dev/null +++ b/apidocs/1.19/org/glassfish/tyrus/core/class-use/ServiceFinder.ServiceIteratorProvider.html @@ -0,0 +1,217 @@ + + + + + +Uses of Class org.glassfish.tyrus.core.ServiceFinder.ServiceIteratorProvider (Tyrus 1.19 API) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Class
org.glassfish.tyrus.core.ServiceFinder.ServiceIteratorProvider

+
+
+ +
+
+ + + diff --git a/apidocs/1.19/org/glassfish/tyrus/core/class-use/ServiceFinder.html b/apidocs/1.19/org/glassfish/tyrus/core/class-use/ServiceFinder.html new file mode 100644 index 00000000..f7dbe533 --- /dev/null +++ b/apidocs/1.19/org/glassfish/tyrus/core/class-use/ServiceFinder.html @@ -0,0 +1,235 @@ + + + + + +Uses of Class org.glassfish.tyrus.core.ServiceFinder (Tyrus 1.19 API) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Class
org.glassfish.tyrus.core.ServiceFinder

+
+
+
    +
  • + + + + + + + + + + + + +
    Packages that use ServiceFinder 
    PackageDescription
    org.glassfish.tyrus.core +
    Core classes.
    +
    +
  • +
  • +
      +
    • +
      + + +

      Uses of ServiceFinder in org.glassfish.tyrus.core

      + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
      Methods in org.glassfish.tyrus.core that return ServiceFinder 
      Modifier and TypeMethodDescription
      static <T> ServiceFinder<T>ServiceFinder.find​(java.lang.Class<T> service) +
      Locates and incrementally instantiates the available providers of a + given service using the context class loader.
      +
      static <T> ServiceFinder<T>ServiceFinder.find​(java.lang.Class<T> service, + boolean ignoreOnClassNotFound) +
      Locates and incrementally instantiates the available providers of a + given service using the context class loader.
      +
      static <T> ServiceFinder<T>ServiceFinder.find​(java.lang.Class<T> service, + java.lang.ClassLoader loader) +
      Locates and incrementally instantiates the available providers of a + given service using the given class loader.
      +
      static <T> ServiceFinder<T>ServiceFinder.find​(java.lang.Class<T> service, + java.lang.ClassLoader loader, + boolean ignoreOnClassNotFound) +
      Locates and incrementally instantiates the available providers of a + given service using the given class loader.
      +
      static ServiceFinder<?>ServiceFinder.find​(java.lang.String serviceName) +
      Locates and incrementally instantiates the available classes of a given + service file using the context class loader.
      +
      +
      +
    • +
    +
  • +
+
+
+ + + diff --git a/apidocs/1.19/org/glassfish/tyrus/core/class-use/StrictUtf8.Parser.html b/apidocs/1.19/org/glassfish/tyrus/core/class-use/StrictUtf8.Parser.html new file mode 100644 index 00000000..72e6b676 --- /dev/null +++ b/apidocs/1.19/org/glassfish/tyrus/core/class-use/StrictUtf8.Parser.html @@ -0,0 +1,150 @@ + + + + + +Uses of Class org.glassfish.tyrus.core.StrictUtf8.Parser (Tyrus 1.19 API) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Class
org.glassfish.tyrus.core.StrictUtf8.Parser

+
+
No usage of org.glassfish.tyrus.core.StrictUtf8.Parser
+
+ + + diff --git a/apidocs/1.19/org/glassfish/tyrus/core/class-use/StrictUtf8.html b/apidocs/1.19/org/glassfish/tyrus/core/class-use/StrictUtf8.html new file mode 100644 index 00000000..68c0b5b7 --- /dev/null +++ b/apidocs/1.19/org/glassfish/tyrus/core/class-use/StrictUtf8.html @@ -0,0 +1,150 @@ + + + + + +Uses of Class org.glassfish.tyrus.core.StrictUtf8 (Tyrus 1.19 API) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Class
org.glassfish.tyrus.core.StrictUtf8

+
+
No usage of org.glassfish.tyrus.core.StrictUtf8
+
+ + + diff --git a/apidocs/1.19/org/glassfish/tyrus/core/class-use/TyrusEndpointWrapper.SessionListener.OnOpenResult.html b/apidocs/1.19/org/glassfish/tyrus/core/class-use/TyrusEndpointWrapper.SessionListener.OnOpenResult.html new file mode 100644 index 00000000..06f492ed --- /dev/null +++ b/apidocs/1.19/org/glassfish/tyrus/core/class-use/TyrusEndpointWrapper.SessionListener.OnOpenResult.html @@ -0,0 +1,214 @@ + + + + + +Uses of Class org.glassfish.tyrus.core.TyrusEndpointWrapper.SessionListener.OnOpenResult (Tyrus 1.19 API) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Class
org.glassfish.tyrus.core.TyrusEndpointWrapper.SessionListener.OnOpenResult

+
+
+ +
+
+ + + diff --git a/apidocs/1.19/org/glassfish/tyrus/core/class-use/TyrusEndpointWrapper.SessionListener.html b/apidocs/1.19/org/glassfish/tyrus/core/class-use/TyrusEndpointWrapper.SessionListener.html new file mode 100644 index 00000000..3f6fcbc7 --- /dev/null +++ b/apidocs/1.19/org/glassfish/tyrus/core/class-use/TyrusEndpointWrapper.SessionListener.html @@ -0,0 +1,220 @@ + + + + + +Uses of Class org.glassfish.tyrus.core.TyrusEndpointWrapper.SessionListener (Tyrus 1.19 API) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Class
org.glassfish.tyrus.core.TyrusEndpointWrapper.SessionListener

+
+
+ +
+
+ + + diff --git a/apidocs/1.19/org/glassfish/tyrus/core/class-use/TyrusEndpointWrapper.html b/apidocs/1.19/org/glassfish/tyrus/core/class-use/TyrusEndpointWrapper.html new file mode 100644 index 00000000..eb30dcbb --- /dev/null +++ b/apidocs/1.19/org/glassfish/tyrus/core/class-use/TyrusEndpointWrapper.html @@ -0,0 +1,305 @@ + + + + + +Uses of Class org.glassfish.tyrus.core.TyrusEndpointWrapper (Tyrus 1.19 API) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Class
org.glassfish.tyrus.core.TyrusEndpointWrapper

+
+
+ +
+
+ + + diff --git a/apidocs/1.19/org/glassfish/tyrus/core/class-use/TyrusExtension.TyrusParameter.html b/apidocs/1.19/org/glassfish/tyrus/core/class-use/TyrusExtension.TyrusParameter.html new file mode 100644 index 00000000..97d6edd1 --- /dev/null +++ b/apidocs/1.19/org/glassfish/tyrus/core/class-use/TyrusExtension.TyrusParameter.html @@ -0,0 +1,150 @@ + + + + + +Uses of Class org.glassfish.tyrus.core.TyrusExtension.TyrusParameter (Tyrus 1.19 API) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Class
org.glassfish.tyrus.core.TyrusExtension.TyrusParameter

+
+
No usage of org.glassfish.tyrus.core.TyrusExtension.TyrusParameter
+
+ + + diff --git a/apidocs/1.19/org/glassfish/tyrus/core/class-use/TyrusExtension.html b/apidocs/1.19/org/glassfish/tyrus/core/class-use/TyrusExtension.html new file mode 100644 index 00000000..b3834732 --- /dev/null +++ b/apidocs/1.19/org/glassfish/tyrus/core/class-use/TyrusExtension.html @@ -0,0 +1,150 @@ + + + + + +Uses of Class org.glassfish.tyrus.core.TyrusExtension (Tyrus 1.19 API) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Class
org.glassfish.tyrus.core.TyrusExtension

+
+
No usage of org.glassfish.tyrus.core.TyrusExtension
+
+ + + diff --git a/apidocs/1.19/org/glassfish/tyrus/core/class-use/TyrusFuture.html b/apidocs/1.19/org/glassfish/tyrus/core/class-use/TyrusFuture.html new file mode 100644 index 00000000..6e98d8ae --- /dev/null +++ b/apidocs/1.19/org/glassfish/tyrus/core/class-use/TyrusFuture.html @@ -0,0 +1,150 @@ + + + + + +Uses of Class org.glassfish.tyrus.core.TyrusFuture (Tyrus 1.19 API) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Class
org.glassfish.tyrus.core.TyrusFuture

+
+
No usage of org.glassfish.tyrus.core.TyrusFuture
+
+ + + diff --git a/apidocs/1.19/org/glassfish/tyrus/core/class-use/TyrusRemoteEndpoint.html b/apidocs/1.19/org/glassfish/tyrus/core/class-use/TyrusRemoteEndpoint.html new file mode 100644 index 00000000..023c043a --- /dev/null +++ b/apidocs/1.19/org/glassfish/tyrus/core/class-use/TyrusRemoteEndpoint.html @@ -0,0 +1,150 @@ + + + + + +Uses of Class org.glassfish.tyrus.core.TyrusRemoteEndpoint (Tyrus 1.19 API) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Class
org.glassfish.tyrus.core.TyrusRemoteEndpoint

+
+
No usage of org.glassfish.tyrus.core.TyrusRemoteEndpoint
+
+ + + diff --git a/apidocs/1.19/org/glassfish/tyrus/core/class-use/TyrusServerEndpointConfig.Builder.html b/apidocs/1.19/org/glassfish/tyrus/core/class-use/TyrusServerEndpointConfig.Builder.html new file mode 100644 index 00000000..4aa23ed9 --- /dev/null +++ b/apidocs/1.19/org/glassfish/tyrus/core/class-use/TyrusServerEndpointConfig.Builder.html @@ -0,0 +1,245 @@ + + + + + +Uses of Class org.glassfish.tyrus.core.TyrusServerEndpointConfig.Builder (Tyrus 1.19 API) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Class
org.glassfish.tyrus.core.TyrusServerEndpointConfig.Builder

+
+
+ +
+
+ + + diff --git a/apidocs/1.19/org/glassfish/tyrus/core/class-use/TyrusServerEndpointConfig.html b/apidocs/1.19/org/glassfish/tyrus/core/class-use/TyrusServerEndpointConfig.html new file mode 100644 index 00000000..bce32df1 --- /dev/null +++ b/apidocs/1.19/org/glassfish/tyrus/core/class-use/TyrusServerEndpointConfig.html @@ -0,0 +1,199 @@ + + + + + +Uses of Interface org.glassfish.tyrus.core.TyrusServerEndpointConfig (Tyrus 1.19 API) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Interface
org.glassfish.tyrus.core.TyrusServerEndpointConfig

+
+
+ +
+
+ + + diff --git a/apidocs/1.19/org/glassfish/tyrus/core/class-use/TyrusServerEndpointConfigurator.html b/apidocs/1.19/org/glassfish/tyrus/core/class-use/TyrusServerEndpointConfigurator.html new file mode 100644 index 00000000..a66823c3 --- /dev/null +++ b/apidocs/1.19/org/glassfish/tyrus/core/class-use/TyrusServerEndpointConfigurator.html @@ -0,0 +1,150 @@ + + + + + +Uses of Class org.glassfish.tyrus.core.TyrusServerEndpointConfigurator (Tyrus 1.19 API) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Class
org.glassfish.tyrus.core.TyrusServerEndpointConfigurator

+
+
No usage of org.glassfish.tyrus.core.TyrusServerEndpointConfigurator
+
+ + + diff --git a/apidocs/1.19/org/glassfish/tyrus/core/class-use/TyrusSession.html b/apidocs/1.19/org/glassfish/tyrus/core/class-use/TyrusSession.html new file mode 100644 index 00000000..fdb1f1be --- /dev/null +++ b/apidocs/1.19/org/glassfish/tyrus/core/class-use/TyrusSession.html @@ -0,0 +1,208 @@ + + + + + +Uses of Class org.glassfish.tyrus.core.TyrusSession (Tyrus 1.19 API) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Class
org.glassfish.tyrus.core.TyrusSession

+
+
+ +
+
+ + + diff --git a/apidocs/1.19/org/glassfish/tyrus/core/class-use/TyrusUpgradeResponse.html b/apidocs/1.19/org/glassfish/tyrus/core/class-use/TyrusUpgradeResponse.html new file mode 100644 index 00000000..4e413ce3 --- /dev/null +++ b/apidocs/1.19/org/glassfish/tyrus/core/class-use/TyrusUpgradeResponse.html @@ -0,0 +1,150 @@ + + + + + +Uses of Class org.glassfish.tyrus.core.TyrusUpgradeResponse (Tyrus 1.19 API) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Class
org.glassfish.tyrus.core.TyrusUpgradeResponse

+
+
No usage of org.glassfish.tyrus.core.TyrusUpgradeResponse
+
+ + + diff --git a/apidocs/1.19/org/glassfish/tyrus/core/class-use/TyrusWebSocket.html b/apidocs/1.19/org/glassfish/tyrus/core/class-use/TyrusWebSocket.html new file mode 100644 index 00000000..4de117ba --- /dev/null +++ b/apidocs/1.19/org/glassfish/tyrus/core/class-use/TyrusWebSocket.html @@ -0,0 +1,271 @@ + + + + + +Uses of Class org.glassfish.tyrus.core.TyrusWebSocket (Tyrus 1.19 API) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Class
org.glassfish.tyrus.core.TyrusWebSocket

+
+
+ +
+
+ + + diff --git a/apidocs/1.19/org/glassfish/tyrus/core/class-use/TyrusWebSocketEngine.TyrusWebSocketEngineBuilder.html b/apidocs/1.19/org/glassfish/tyrus/core/class-use/TyrusWebSocketEngine.TyrusWebSocketEngineBuilder.html new file mode 100644 index 00000000..bda250b0 --- /dev/null +++ b/apidocs/1.19/org/glassfish/tyrus/core/class-use/TyrusWebSocketEngine.TyrusWebSocketEngineBuilder.html @@ -0,0 +1,253 @@ + + + + + +Uses of Class org.glassfish.tyrus.core.TyrusWebSocketEngine.TyrusWebSocketEngineBuilder (Tyrus 1.19 API) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Class
org.glassfish.tyrus.core.TyrusWebSocketEngine.TyrusWebSocketEngineBuilder

+
+
+ +
+
+ + + diff --git a/apidocs/1.19/org/glassfish/tyrus/core/class-use/TyrusWebSocketEngine.html b/apidocs/1.19/org/glassfish/tyrus/core/class-use/TyrusWebSocketEngine.html new file mode 100644 index 00000000..da318adb --- /dev/null +++ b/apidocs/1.19/org/glassfish/tyrus/core/class-use/TyrusWebSocketEngine.html @@ -0,0 +1,198 @@ + + + + + +Uses of Class org.glassfish.tyrus.core.TyrusWebSocketEngine (Tyrus 1.19 API) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Class
org.glassfish.tyrus.core.TyrusWebSocketEngine

+
+
+ +
+
+ + + diff --git a/apidocs/1.19/org/glassfish/tyrus/core/class-use/Utf8DecodingException.html b/apidocs/1.19/org/glassfish/tyrus/core/class-use/Utf8DecodingException.html new file mode 100644 index 00000000..ea3c6b88 --- /dev/null +++ b/apidocs/1.19/org/glassfish/tyrus/core/class-use/Utf8DecodingException.html @@ -0,0 +1,150 @@ + + + + + +Uses of Class org.glassfish.tyrus.core.Utf8DecodingException (Tyrus 1.19 API) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Class
org.glassfish.tyrus.core.Utf8DecodingException

+
+
No usage of org.glassfish.tyrus.core.Utf8DecodingException
+
+ + + diff --git a/apidocs/1.19/org/glassfish/tyrus/core/class-use/Utils.Stringifier.html b/apidocs/1.19/org/glassfish/tyrus/core/class-use/Utils.Stringifier.html new file mode 100644 index 00000000..a19fdc72 --- /dev/null +++ b/apidocs/1.19/org/glassfish/tyrus/core/class-use/Utils.Stringifier.html @@ -0,0 +1,207 @@ + + + + + +Uses of Class org.glassfish.tyrus.core.Utils.Stringifier (Tyrus 1.19 API) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Class
org.glassfish.tyrus.core.Utils.Stringifier

+
+
+ +
+
+ + + diff --git a/apidocs/1.19/org/glassfish/tyrus/core/class-use/Utils.html b/apidocs/1.19/org/glassfish/tyrus/core/class-use/Utils.html new file mode 100644 index 00000000..e30b6931 --- /dev/null +++ b/apidocs/1.19/org/glassfish/tyrus/core/class-use/Utils.html @@ -0,0 +1,150 @@ + + + + + +Uses of Class org.glassfish.tyrus.core.Utils (Tyrus 1.19 API) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Class
org.glassfish.tyrus.core.Utils

+
+
No usage of org.glassfish.tyrus.core.Utils
+
+ + + diff --git a/apidocs/1.19/org/glassfish/tyrus/core/class-use/Version.html b/apidocs/1.19/org/glassfish/tyrus/core/class-use/Version.html new file mode 100644 index 00000000..be1474b3 --- /dev/null +++ b/apidocs/1.19/org/glassfish/tyrus/core/class-use/Version.html @@ -0,0 +1,206 @@ + + + + + +Uses of Class org.glassfish.tyrus.core.Version (Tyrus 1.19 API) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Class
org.glassfish.tyrus.core.Version

+
+
+ +
+
+ + + diff --git a/apidocs/1.19/org/glassfish/tyrus/core/class-use/WebSocketException.html b/apidocs/1.19/org/glassfish/tyrus/core/class-use/WebSocketException.html new file mode 100644 index 00000000..69180cfd --- /dev/null +++ b/apidocs/1.19/org/glassfish/tyrus/core/class-use/WebSocketException.html @@ -0,0 +1,205 @@ + + + + + +Uses of Class org.glassfish.tyrus.core.WebSocketException (Tyrus 1.19 API) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Class
org.glassfish.tyrus.core.WebSocketException

+
+
+ +
+
+ + + diff --git a/apidocs/1.19/org/glassfish/tyrus/core/cluster/BroadcastListener.html b/apidocs/1.19/org/glassfish/tyrus/core/cluster/BroadcastListener.html new file mode 100644 index 00000000..0a109fb9 --- /dev/null +++ b/apidocs/1.19/org/glassfish/tyrus/core/cluster/BroadcastListener.html @@ -0,0 +1,285 @@ + + + + + +BroadcastListener (Tyrus 1.19 API) + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +

Interface BroadcastListener

+
+
+
+
    +
  • +
    +
    public interface BroadcastListener
    +
    Broadcast listener.
    +
    +
    Author:
    +
    Pavel Bucek (pavel.bucek at oracle.com)
    +
    +
  • +
+
+
+
    +
  • + +
    +
      +
    • + + +

      Method Summary

      + + + + + + + + + + + + + + + + + +
      All Methods Instance Methods Abstract Methods 
      Modifier and TypeMethodDescription
      voidonBroadcast​(byte[] data) +
      Invoked when received request to broadcast binary data.
      +
      voidonBroadcast​(java.lang.String text) +
      Invoked when received request to broadcast text message.
      +
      +
    • +
    +
    +
  • +
+
+
+
    +
  • + +
    +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        onBroadcast

        +
        void onBroadcast​(java.lang.String text)
        +
        Invoked when received request to broadcast text message.
        +
        +
        Parameters:
        +
        text - message to broadcast.
        +
        +
      • +
      + + + +
        +
      • +

        onBroadcast

        +
        void onBroadcast​(byte[] data)
        +
        Invoked when received request to broadcast binary data.
        +
        +
        Parameters:
        +
        data - data to broadcast.
        +
        +
      • +
      +
    • +
    +
    +
  • +
+
+
+
+ + + + diff --git a/apidocs/1.19/org/glassfish/tyrus/core/cluster/ClusterContext.html b/apidocs/1.19/org/glassfish/tyrus/core/cluster/ClusterContext.html new file mode 100644 index 00000000..0171992d --- /dev/null +++ b/apidocs/1.19/org/glassfish/tyrus/core/cluster/ClusterContext.html @@ -0,0 +1,993 @@ + + + + + +ClusterContext (Tyrus 1.19 API) + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +

Class ClusterContext

+
+
+
    +
  • java.lang.Object
  • +
  • +
      +
    • org.glassfish.tyrus.core.cluster.ClusterContext
    • +
    +
  • +
+
+
    +
  • +
    +
    public abstract class ClusterContext
    +extends java.lang.Object
    +
    Cluster related context. +

    + There is exactly one instance per cluster node and all communication is realized using this instance.

    +
    +
    Author:
    +
    Pavel Bucek (pavel.bucek at oracle.com)
    +
    +
  • +
+
+
+
    +
  • + +
    +
      +
    • + + +

      Field Summary

      + + + + + + + + + + + + +
      Fields 
      Modifier and TypeFieldDescription
      static java.lang.StringCLUSTER_CONTEXT +
      ClusterContext registration property.
      +
      +
    • +
    +
    + +
    +
      +
    • + + +

      Constructor Summary

      + + + + + + + + + + +
      Constructors 
      ConstructorDescription
      ClusterContext() 
      +
    • +
    +
    + +
    +
      +
    • + + +

      Method Summary

      + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
      All Methods Instance Methods Abstract Methods 
      Modifier and TypeMethodDescription
      abstract voidbroadcastBinary​(java.lang.String endpointPath, + byte[] data) +
      Broadcast binary message.
      +
      abstract voidbroadcastText​(java.lang.String endpointPath, + java.lang.String text) +
      Broadcast text message.
      +
      abstract java.util.concurrent.Future<java.lang.Void>close​(java.lang.String sessionId) +
      Close remote session.
      +
      abstract java.util.concurrent.Future<java.lang.Void>close​(java.lang.String sessionId, + CloseReason closeReason) +
      Close remote session with custom CloseReason.
      +
      abstract java.lang.StringcreateConnectionId() +
      Create connection id.
      +
      abstract java.lang.StringcreateSessionId() +
      Create session id.
      +
      abstract voiddestroyDistributedUserProperties​(java.lang.String connectionId) +
      Destroy map which holds distributed user properties.
      +
      abstract java.util.Map<RemoteSession.DistributedMapKey,​java.lang.Object>getDistributedSessionProperties​(java.lang.String sessionId) +
      Get the map containing session properties to be shared among nodes.
      +
      abstract java.util.Map<java.lang.String,​java.lang.Object>getDistributedUserProperties​(java.lang.String connectionId) +
      Get the map containing session user properties to be shared among nodes.
      +
      abstract java.util.Set<java.lang.String>getRemoteSessionIds​(java.lang.String endpointPath) +
      Get set containing session ids of all remote sessions registered to given endpoint path.
      +
      abstract booleanisSessionOpen​(java.lang.String sessionId, + java.lang.String endpointPath) +
      Get information about session state.
      +
      abstract voidregisterBroadcastListener​(java.lang.String endpointPath, + BroadcastListener listener) +
      Register broadcast listener.
      +
      abstract voidregisterSession​(java.lang.String sessionId, + java.lang.String endpointPath, + SessionEventListener listener) +
      Register local session.
      +
      abstract voidregisterSessionListener​(java.lang.String endpointPath, + SessionListener listener) +
      Register session listener.
      +
      abstract voidremoveSession​(java.lang.String sessionId, + java.lang.String endpointPath) +
      Remove session from this Cluster context.
      +
      abstract java.util.concurrent.Future<java.lang.Void>sendBinary​(java.lang.String sessionId, + byte[] data) +
      Send binary message.
      +
      abstract java.util.concurrent.Future<java.lang.Void>sendBinary​(java.lang.String sessionId, + byte[] data, + boolean isLast) +
      Send partial binary message.
      +
      abstract voidsendBinary​(java.lang.String sessionId, + byte[] data, + SendHandler sendHandler) +
      Send binary message with SendHandler.
      +
      abstract java.util.concurrent.Future<java.lang.Void>sendPing​(java.lang.String sessionId, + byte[] data) +
      Send ping message.
      +
      abstract java.util.concurrent.Future<java.lang.Void>sendPong​(java.lang.String sessionId, + byte[] data) +
      Send pong message.
      +
      abstract java.util.concurrent.Future<java.lang.Void>sendText​(java.lang.String sessionId, + java.lang.String text) +
      Send text message.
      +
      abstract java.util.concurrent.Future<java.lang.Void>sendText​(java.lang.String sessionId, + java.lang.String text, + boolean isLast) +
      Send partial text message.
      +
      abstract voidsendText​(java.lang.String sessionId, + java.lang.String text, + SendHandler sendHandler) +
      Send text message with SendHandler.
      +
      abstract voidshutdown() +
      Shutdown this ClusterContext.
      +
      +
        +
      • + + +

        Methods inherited from class java.lang.Object

        +clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • +
      +
    • +
    +
    +
  • +
+
+
+
    +
  • + +
    + +
    + +
    +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        ClusterContext

        +
        public ClusterContext()
        +
      • +
      +
    • +
    +
    + +
    +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        sendText

        +
        public abstract java.util.concurrent.Future<java.lang.Void> sendText​(java.lang.String sessionId,
        +                                                                     java.lang.String text)
        +
        Send text message.
        +
        +
        Parameters:
        +
        sessionId - remote session id.
        +
        text - text to be sent.
        +
        Returns:
        +
        future representing the send event. Future.get() returns when there is an + acknowledge from the other node that the message has been successfully sent. If there is any exception, it will + be wrapped into ExecutionException and thrown.
        +
        +
      • +
      + + + +
        +
      • +

        sendText

        +
        public abstract java.util.concurrent.Future<java.lang.Void> sendText​(java.lang.String sessionId,
        +                                                                     java.lang.String text,
        +                                                                     boolean isLast)
        +
        Send partial text message.
        +
        +
        Parameters:
        +
        sessionId - remote session id.
        +
        text - text to be sent.
        +
        isLast - true when the partial message being sent is the last part of the message.
        +
        Returns:
        +
        future representing the send event. Future.get() returns when there is an + acknowledge from the other node that the message has been successfully sent. If there is any exception, it will + be wrapped into ExecutionException and thrown.
        +
        +
      • +
      + + + +
        +
      • +

        sendBinary

        +
        public abstract java.util.concurrent.Future<java.lang.Void> sendBinary​(java.lang.String sessionId,
        +                                                                       byte[] data)
        +
        Send binary message.
        +
        +
        Parameters:
        +
        sessionId - remote session id.
        +
        data - data to be sent.
        +
        Returns:
        +
        future representing the send event. Future.get() returns when there is an + acknowledge from the other node that the message has been successfully sent. If there is any exception, it will + be wrapped into ExecutionException and thrown.
        +
        +
      • +
      + + + +
        +
      • +

        sendBinary

        +
        public abstract java.util.concurrent.Future<java.lang.Void> sendBinary​(java.lang.String sessionId,
        +                                                                       byte[] data,
        +                                                                       boolean isLast)
        +
        Send partial binary message.
        +
        +
        Parameters:
        +
        sessionId - remote session id.
        +
        data - data to be sent.
        +
        isLast - true when the partial message being sent is the last part of the message.
        +
        Returns:
        +
        future representing the send event. Future.get() returns when there is an + acknowledge from the other node that the message has been successfully sent. If there is any exception, it will + be wrapped into ExecutionException and thrown.
        +
        +
      • +
      + + + +
        +
      • +

        sendPing

        +
        public abstract java.util.concurrent.Future<java.lang.Void> sendPing​(java.lang.String sessionId,
        +                                                                     byte[] data)
        +
        Send ping message.
        +
        +
        Parameters:
        +
        sessionId - remote session id.
        +
        data - data to be sent as ping message payload.
        +
        Returns:
        +
        future representing the send event. Future.get() returns when there is an + acknowledge from the other node that the message has been successfully sent. If there is any exception, it will + be wrapped into ExecutionException and thrown.
        +
        +
      • +
      + + + +
        +
      • +

        sendPong

        +
        public abstract java.util.concurrent.Future<java.lang.Void> sendPong​(java.lang.String sessionId,
        +                                                                     byte[] data)
        +
        Send pong message.
        +
        +
        Parameters:
        +
        sessionId - remote session id.
        +
        data - data to be sent as pong message payload.
        +
        Returns:
        +
        future representing the send event. Future.get() returns when there is an + acknowledge from the other node that the message has been successfully sent. If there is any exception, it will + be wrapped into ExecutionException and thrown.
        +
        +
      • +
      + + + + + + + + + + + +
        +
      • +

        broadcastText

        +
        public abstract void broadcastText​(java.lang.String endpointPath,
        +                                   java.lang.String text)
        +
        Broadcast text message.
        +
        +
        Parameters:
        +
        endpointPath - endpoint path identifying sessions alignment to the endpoint.
        +
        text - message to be broadcasted.
        +
        +
      • +
      + + + +
        +
      • +

        broadcastBinary

        +
        public abstract void broadcastBinary​(java.lang.String endpointPath,
        +                                     byte[] data)
        +
        Broadcast binary message.
        +
        +
        Parameters:
        +
        endpointPath - endpoint path identifying sessions alignment to the endpoint.
        +
        data - data to be broadcasted.
        +
        +
      • +
      + + + +
        +
      • +

        isSessionOpen

        +
        public abstract boolean isSessionOpen​(java.lang.String sessionId,
        +                                      java.lang.String endpointPath)
        +
        Get information about session state.
        +
        +
        Parameters:
        +
        sessionId - remote session id.
        +
        endpointPath - endpoint path identifying sessions alignment to the endpoint.
        +
        Returns:
        +
        true when session is opened, false otherwise.
        +
        See Also:
        +
        Session.isOpen()
        +
        +
      • +
      + + + +
        +
      • +

        close

        +
        public abstract java.util.concurrent.Future<java.lang.Void> close​(java.lang.String sessionId)
        +
        Close remote session.
        +
        +
        Parameters:
        +
        sessionId - remote session id.
        +
        Returns:
        +
        future representing the event. Future.get() returns when there is an + acknowledge from the other node that the command was successfully executed. If there is any exception, it will + be + wrapped into ExecutionException and thrown.
        +
        +
      • +
      + + + +
        +
      • +

        close

        +
        public abstract java.util.concurrent.Future<java.lang.Void> close​(java.lang.String sessionId,
        +                                                                  CloseReason closeReason)
        +
        Close remote session with custom CloseReason.
        +
        +
        Parameters:
        +
        sessionId - remote session id.
        +
        closeReason - custom close reason.
        +
        Returns:
        +
        future representing the event. Future.get() returns when there is an + acknowledge from the other node that the command was successfully executed. If there is any exception, it will + be + wrapped into ExecutionException and thrown.
        +
        +
      • +
      + + + +
        +
      • +

        getRemoteSessionIds

        +
        public abstract java.util.Set<java.lang.String> getRemoteSessionIds​(java.lang.String endpointPath)
        +
        Get set containing session ids of all remote sessions registered to given endpoint path.
        +
        +
        Parameters:
        +
        endpointPath - endpoint path identifying endpoint within the cluster.
        +
        Returns:
        +
        set of sessions ids.
        +
        +
      • +
      + + + +
        +
      • +

        createSessionId

        +
        public abstract java.lang.String createSessionId()
        +
        Create session id. It has to be unique among all cluster nodes.
        +
        +
        Returns:
        +
        session id.
        +
        +
      • +
      + + + +
        +
      • +

        createConnectionId

        +
        public abstract java.lang.String createConnectionId()
        +
        Create connection id. It has to be unique among all cluster nodes.
        +
        +
        Returns:
        +
        connection id.
        +
        +
      • +
      + + + +
        +
      • +

        registerSession

        +
        public abstract void registerSession​(java.lang.String sessionId,
        +                                     java.lang.String endpointPath,
        +                                     SessionEventListener listener)
        +
        Register local session. +

        + Session id will be broadcasted to other nodes which will call getDistributedSessionProperties(String) + and process its values. The map must be ready before this method is invoked.

        +
        +
        Parameters:
        +
        sessionId - session id to be registered.
        +
        endpointPath - endpoint path identifying sessions alignment to the endpoint.
        +
        listener - session event listener. When remote node sends a message to this session, it will be + invoked.
        +
        See Also:
        +
        SessionEventListener
        +
        +
      • +
      + + + + + + + +
        +
      • +

        registerBroadcastListener

        +
        public abstract void registerBroadcastListener​(java.lang.String endpointPath,
        +                                               BroadcastListener listener)
        +
        Register broadcast listener. +

        + Gets notification about broadcasted messages. Used as an optimized variant of standard websocket broadcast + pattern. In this case, only one message is sent to all cluster nodes (instead n when n represent + number of clients connected to remote nodes).

        +
        +
        Parameters:
        +
        endpointPath - endpoint path identifying sessions alignment to the endpoint.
        +
        listener - listener instance.
        +
        See Also:
        +
        BroadcastListener
        +
        +
      • +
      + + + +
        +
      • +

        getDistributedSessionProperties

        +
        public abstract java.util.Map<RemoteSession.DistributedMapKey,​java.lang.Object> getDistributedSessionProperties​(java.lang.String sessionId)
        +
        Get the map containing session properties to be shared among nodes. +

        + Changes must be propagated to remote instances.

        +
        +
        Parameters:
        +
        sessionId - remote session id.
        +
        Returns:
        +
        distributed map containing session properties.
        +
        +
      • +
      + + + +
        +
      • +

        getDistributedUserProperties

        +
        public abstract java.util.Map<java.lang.String,​java.lang.Object> getDistributedUserProperties​(java.lang.String connectionId)
        +
        Get the map containing session user properties to be shared among nodes. +

        + Changes must be propagated to remote instances.

        +
        +
        Parameters:
        +
        connectionId - connection id. Connection id may be shared among subsequent TCP connection - represents + logical connection.
        +
        Returns:
        +
        distributed map containing session properties.
        +
        +
      • +
      + + + +
        +
      • +

        destroyDistributedUserProperties

        +
        public abstract void destroyDistributedUserProperties​(java.lang.String connectionId)
        +
        Destroy map which holds distributed user properties. +

        + This method should be invoked only when session is properly closed.

        +
        +
        Parameters:
        +
        connectionId - connection id. Connection id may be shared among subsequent TCP connection - represents + logical connection.
        +
        +
      • +
      + + + +
        +
      • +

        removeSession

        +
        public abstract void removeSession​(java.lang.String sessionId,
        +                                   java.lang.String endpointPath)
        +
        Remove session from this Cluster context.
        +
        +
        Parameters:
        +
        sessionId - session id.
        +
        endpointPath - endpoint path identifying sessions alignment to the endpoint.
        +
        +
      • +
      + + + +
        +
      • +

        shutdown

        +
        public abstract void shutdown()
        +
        Shutdown this ClusterContext. +

        + This will stop whole clustered node, any operation related to this cluster context will fail after this method + is invoked.

        +
      • +
      +
    • +
    +
    +
  • +
+
+
+
+ + + + diff --git a/apidocs/1.19/org/glassfish/tyrus/core/cluster/DistributedSession.html b/apidocs/1.19/org/glassfish/tyrus/core/cluster/DistributedSession.html new file mode 100644 index 00000000..c0e8606f --- /dev/null +++ b/apidocs/1.19/org/glassfish/tyrus/core/cluster/DistributedSession.html @@ -0,0 +1,292 @@ + + + + + +DistributedSession (Tyrus 1.19 API) + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +

Interface DistributedSession

+
+
+
+
    +
  • +
    +
    All Superinterfaces:
    +
    java.lang.AutoCloseable, java.io.Closeable, Session
    +
    +
    +
    All Known Implementing Classes:
    +
    RemoteSession, TyrusSession
    +
    +
    +
    public interface DistributedSession
    +extends Session
    +
    Extended Session which adds distributed properties.
    +
    +
    Author:
    +
    Pavel Bucek (pavel.bucek at oracle.com)
    +
    +
  • +
+
+ +
+
    +
  • + +
    +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        getDistributedProperties

        +
        java.util.Map<java.lang.String,​java.lang.Object> getDistributedProperties()
        +
        Get distributed properties. +

        + Values put into this map must be Serializable or serializable by other, implementation-dependent + alternative. +

        + Content of this map is synchronized among all cluster nodes, so putting an entry on any of the nodes will be + visible on all other nodes which have reference to current session (in form of TyrusSession or RemoteSession). +

        + Please note that when not running in the distributed environment, this map behaves similarly to Session.getUserProperties(), so no serialization or deserialization is performed when values are read from or stored to + the returned map.

        +
        +
        Returns:
        +
        map of distributed properties.
        +
        See Also:
        +
        TyrusSession, +RemoteSession
        +
        +
      • +
      +
    • +
    +
    +
  • +
+
+
+
+ + + + diff --git a/apidocs/1.19/org/glassfish/tyrus/core/cluster/RemoteSession.DistributedMapKey.html b/apidocs/1.19/org/glassfish/tyrus/core/cluster/RemoteSession.DistributedMapKey.html new file mode 100644 index 00000000..0350251a --- /dev/null +++ b/apidocs/1.19/org/glassfish/tyrus/core/cluster/RemoteSession.DistributedMapKey.html @@ -0,0 +1,637 @@ + + + + + +RemoteSession.DistributedMapKey (Tyrus 1.19 API) + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +

Enum RemoteSession.DistributedMapKey

+
+
+ +
+ +
+
+ +
+
+ +
+
+
+ + + + diff --git a/apidocs/1.19/org/glassfish/tyrus/core/cluster/RemoteSession.html b/apidocs/1.19/org/glassfish/tyrus/core/cluster/RemoteSession.html new file mode 100644 index 00000000..aec9855f --- /dev/null +++ b/apidocs/1.19/org/glassfish/tyrus/core/cluster/RemoteSession.html @@ -0,0 +1,1115 @@ + + + + + +RemoteSession (Tyrus 1.19 API) + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +

Class RemoteSession

+
+
+
    +
  • java.lang.Object
  • +
  • +
      +
    • org.glassfish.tyrus.core.cluster.RemoteSession
    • +
    +
  • +
+
+
    +
  • +
    +
    All Implemented Interfaces:
    +
    java.io.Closeable, java.lang.AutoCloseable, Session, DistributedSession
    +
    +
    +
    public class RemoteSession
    +extends java.lang.Object
    +implements Session, DistributedSession
    +
    Remote session represents session originating from another node.
    +
    +
    Author:
    +
    Pavel Bucek (pavel.bucek at oracle.com)
    +
    +
  • +
+
+
+ +
+
+
    +
  • + +
    +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        RemoteSession

        +
        public RemoteSession​(java.lang.String sessionId,
        +                     ClusterContext clusterContext,
        +                     java.util.Map<RemoteSession.DistributedMapKey,​java.lang.Object> distributedPropertyMap,
        +                     TyrusEndpointWrapper endpointWrapper,
        +                     Session session)
        +
        Constructor.
        +
        +
        Parameters:
        +
        sessionId - session id.
        +
        clusterContext - cluster context.
        +
        distributedPropertyMap - distributed property map.
        +
        endpointWrapper - used just to get encoders/decoders.
        +
        session - used just to get encoders/decoders.
        +
        +
      • +
      +
    • +
    +
    + +
    +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        getProtocolVersion

        +
        public java.lang.String getProtocolVersion()
        +
        Get the version of the websocket protocol currently being used. This is taken as the value of the + Sec-WebSocket-Version header used in the opening handshake. i.e. "13".
        +
        +
        Specified by:
        +
        getProtocolVersion in interface Session
        +
        Returns:
        +
        the protocol version.
        +
        +
      • +
      + + + +
        +
      • +

        getNegotiatedSubprotocol

        +
        public java.lang.String getNegotiatedSubprotocol()
        +
        Get the sub protocol agreed during the websocket handshake for this conversation.
        +
        +
        Specified by:
        +
        getNegotiatedSubprotocol in interface Session
        +
        Returns:
        +
        the negotiated subprotocol, or the empty string if there isn't one.
        +
        +
      • +
      + + + +
        +
      • +

        getNegotiatedExtensions

        +
        public java.util.List<Extension> getNegotiatedExtensions()
        +
        Get the list of extensions currently in use for this conversation.
        +
        +
        Specified by:
        +
        getNegotiatedExtensions in interface Session
        +
        Returns:
        +
        the negotiated extensions.
        +
        +
      • +
      + + + +
        +
      • +

        isSecure

        +
        public boolean isSecure()
        +
        Get the information about secure transport.
        +
        +
        Specified by:
        +
        isSecure in interface Session
        +
        Returns:
        +
        true when the underlying socket is using a secure transport, false otherwise.
        +
        +
      • +
      + + + +
        +
      • +

        isOpen

        +
        public boolean isOpen()
        +
        Get the information about session state.
        +
        +
        Specified by:
        +
        isOpen in interface Session
        +
        Returns:
        +
        true when the underlying socket is open, false otherwise.
        +
        +
      • +
      + + + +
        +
      • +

        getMaxIdleTimeout

        +
        public long getMaxIdleTimeout()
        +
        Get the number of milliseconds before this conversation may be closed by the + container if it is inactive, i.e. no messages are either sent or received in that time.
        +
        +
        Specified by:
        +
        getMaxIdleTimeout in interface Session
        +
        Returns:
        +
        the timeout in milliseconds.
        +
        +
      • +
      + + + +
        +
      • +

        getMaxBinaryMessageBufferSize

        +
        public int getMaxBinaryMessageBufferSize()
        +
        Get the maximum length of incoming binary messages that this Session can buffer. If + the implementation receives a binary message that it cannot buffer because it + is too large, it must close the session with a close code of CloseReason.CloseCodes.TOO_BIG.
        +
        +
        Specified by:
        +
        getMaxBinaryMessageBufferSize in interface Session
        +
        Returns:
        +
        the maximum binary message size that can be buffered.
        +
        +
      • +
      + + + +
        +
      • +

        getMaxTextMessageBufferSize

        +
        public int getMaxTextMessageBufferSize()
        +
        Get the maximum length of incoming text messages that this Session can buffer. If + the implementation receives a text message that it cannot buffer because it + is too large, it must close the session with a close code of CloseReason.CloseCodes.TOO_BIG.
        +
        +
        Specified by:
        +
        getMaxTextMessageBufferSize in interface Session
        +
        Returns:
        +
        the maximum text message size that can be buffered.
        +
        +
      • +
      + + + +
        +
      • +

        getAsyncRemote

        +
        public RemoteEndpoint.Async getAsyncRemote()
        +
        Get a reference a RemoteEndpoint.Async object representing the peer of this conversation + that is able to send messages asynchronously to the peer.
        +
        +
        Specified by:
        +
        getAsyncRemote in interface Session
        +
        Returns:
        +
        the remote endpoint representation.
        +
        +
      • +
      + + + +
        +
      • +

        getBasicRemote

        +
        public RemoteEndpoint.Basic getBasicRemote()
        +
        Get a reference a RemoteEndpoint.Basic object representing the peer of this conversation + that is able to send messages synchronously to the peer.
        +
        +
        Specified by:
        +
        getBasicRemote in interface Session
        +
        Returns:
        +
        the remote endpoint representation.
        +
        +
      • +
      + + + +
        +
      • +

        getId

        +
        public java.lang.String getId()
        +
        Get a string containing the unique identifier assigned to this session. + The identifier is assigned by the web socket implementation and is implementation dependent.
        +
        +
        Specified by:
        +
        getId in interface Session
        +
        Returns:
        +
        the unique identifier for this session instance.
        +
        +
      • +
      + + + +
        +
      • +

        close

        +
        public void close()
        +           throws java.io.IOException
        +
        Close the current conversation with a normal status code and no reason phrase.
        +
        +
        Specified by:
        +
        close in interface java.lang.AutoCloseable
        +
        Specified by:
        +
        close in interface java.io.Closeable
        +
        Specified by:
        +
        close in interface Session
        +
        Throws:
        +
        java.io.IOException - if there was a connection error closing the connection.
        +
        +
      • +
      + + + +
        +
      • +

        close

        +
        public void close​(CloseReason closeReason)
        +           throws java.io.IOException
        +
        Close the current conversation, giving a reason for the closure. The close + call causes the implementation to attempt notify the client of the close as + soon as it can. This may cause the sending of unsent messages immediately + prior to the close notification. After the close notification has been sent + the implementation notifies the endpoint's onClose method. Note the websocket + specification defines the acceptable uses of status codes and reason phrases. + If the application cannot determine a suitable close code to use for the closeReason, + it is recommended to use CloseReason.CloseCodes.NO_STATUS_CODE.
        +
        +
        Specified by:
        +
        close in interface Session
        +
        Parameters:
        +
        closeReason - the reason for the closure.
        +
        Throws:
        +
        java.io.IOException - if there was a connection error closing the connection.
        +
        +
      • +
      + + + +
        +
      • +

        getRequestURI

        +
        public java.net.URI getRequestURI()
        +
        Get the URI under which this session was opened, including + the query string if there is one.
        +
        +
        Specified by:
        +
        getRequestURI in interface Session
        +
        Returns:
        +
        the request URI.
        +
        +
      • +
      + + + +
        +
      • +

        getRequestParameterMap

        +
        public java.util.Map<java.lang.String,​java.util.List<java.lang.String>> getRequestParameterMap()
        +
        Get the request parameters associated with the request this session + was opened under.
        +
        +
        Specified by:
        +
        getRequestParameterMap in interface Session
        +
        Returns:
        +
        the unmodifiable map of the request parameters.
        +
        +
      • +
      + + + +
        +
      • +

        getQueryString

        +
        public java.lang.String getQueryString()
        +
        Get the query string associated with the request this session + was opened under.
        +
        +
        Specified by:
        +
        getQueryString in interface Session
        +
        Returns:
        +
        the query string.
        +
        +
      • +
      + + + +
        +
      • +

        getPathParameters

        +
        public java.util.Map<java.lang.String,​java.lang.String> getPathParameters()
        +
        Get a map of the path parameter names and values used associated with the + request this session was opened under.
        +
        +
        Specified by:
        +
        getPathParameters in interface Session
        +
        Returns:
        +
        the unmodifiable map of path parameters. The key of the map is the parameter name, + the values in the map are the parameter values.
        +
        +
      • +
      + + + +
        +
      • +

        getUserProperties

        +
        public java.util.Map<java.lang.String,​java.lang.Object> getUserProperties()
        +
        This method is not supported on RemoteSession. Each invocation will throw an UnsupportedOperationException.
        +
        +
        Specified by:
        +
        getUserProperties in interface Session
        +
        Returns:
        +
        nothing.
        +
        See Also:
        +
        getDistributedProperties()
        +
        +
      • +
      + + + +
        +
      • +

        getDistributedProperties

        +
        public java.util.Map<java.lang.String,​java.lang.Object> getDistributedProperties()
        +
        Description copied from interface: DistributedSession
        +
        Get distributed properties. +

        + Values put into this map must be Serializable or serializable by other, implementation-dependent + alternative. +

        + Content of this map is synchronized among all cluster nodes, so putting an entry on any of the nodes will be + visible on all other nodes which have reference to current session (in form of TyrusSession or RemoteSession). +

        + Please note that when not running in the distributed environment, this map behaves similarly to Session.getUserProperties(), so no serialization or deserialization is performed when values are read from or stored to + the returned map.

        +
        +
        Specified by:
        +
        getDistributedProperties in interface DistributedSession
        +
        Returns:
        +
        map of distributed properties.
        +
        See Also:
        +
        TyrusSession, +RemoteSession
        +
        +
      • +
      + + + +
        +
      • +

        getUserPrincipal

        +
        public java.security.Principal getUserPrincipal()
        +
        Get the authenticated user for this session or null if no user is authenticated for this session.
        +
        +
        Specified by:
        +
        getUserPrincipal in interface Session
        +
        Returns:
        +
        the user principal.
        +
        +
      • +
      + + + +
        +
      • +

        toString

        +
        public java.lang.String toString()
        +
        +
        Overrides:
        +
        toString in class java.lang.Object
        +
        +
      • +
      + + + + + + + +
        +
      • +

        addMessageHandler

        +
        public void addMessageHandler​(MessageHandler handler)
        +                       throws java.lang.IllegalStateException
        +
        This method is not supported on RemoteSession. Each invocation will throw an UnsupportedOperationException.
        +
        +
        Specified by:
        +
        addMessageHandler in interface Session
        +
        Parameters:
        +
        handler - nothing.
        +
        Throws:
        +
        java.lang.IllegalStateException - if there is already a MessageHandler registered for the same native + websocket message type as this handler.
        +
        +
      • +
      + + + +
        +
      • +

        addMessageHandler

        +
        public <T> void addMessageHandler​(java.lang.Class<T> clazz,
        +                                  MessageHandler.Whole<T> handler)
        +
        This method is not supported on RemoteSession. Each invocation will throw an UnsupportedOperationException.
        +
        +
        Specified by:
        +
        addMessageHandler in interface Session
        +
        Parameters:
        +
        clazz - nothing.
        +
        handler - nothing.
        +
        +
      • +
      + + + +
        +
      • +

        addMessageHandler

        +
        public <T> void addMessageHandler​(java.lang.Class<T> clazz,
        +                                  MessageHandler.Partial<T> handler)
        +
        This method is not supported on RemoteSession. Each invocation will throw an UnsupportedOperationException.
        +
        +
        Specified by:
        +
        addMessageHandler in interface Session
        +
        Parameters:
        +
        clazz - nothing.
        +
        handler - nothing.
        +
        +
      • +
      + + + +
        +
      • +

        getMessageHandlers

        +
        public java.util.Set<MessageHandler> getMessageHandlers()
        +
        This method is not supported on RemoteSession. Each invocation will throw an UnsupportedOperationException.
        +
        +
        Specified by:
        +
        getMessageHandlers in interface Session
        +
        Returns:
        +
        nothing.
        +
        +
      • +
      + + + +
        +
      • +

        removeMessageHandler

        +
        public void removeMessageHandler​(MessageHandler handler)
        +
        This method is not supported on RemoteSession. Each invocation will throw an UnsupportedOperationException.
        +
        +
        Specified by:
        +
        removeMessageHandler in interface Session
        +
        Parameters:
        +
        handler - nothing.
        +
        +
      • +
      + + + +
        +
      • +

        setMaxIdleTimeout

        +
        public void setMaxIdleTimeout​(long milliseconds)
        +
        This method is not supported on RemoteSession. Each invocation will throw an UnsupportedOperationException.
        +
        +
        Specified by:
        +
        setMaxIdleTimeout in interface Session
        +
        Parameters:
        +
        milliseconds - nothing.
        +
        +
      • +
      + + + +
        +
      • +

        setMaxBinaryMessageBufferSize

        +
        public void setMaxBinaryMessageBufferSize​(int length)
        +
        This method is not supported on RemoteSession. Each invocation will throw an UnsupportedOperationException.
        +
        +
        Specified by:
        +
        setMaxBinaryMessageBufferSize in interface Session
        +
        Parameters:
        +
        length - nothing.
        +
        +
      • +
      + + + +
        +
      • +

        setMaxTextMessageBufferSize

        +
        public void setMaxTextMessageBufferSize​(int length)
        +
        This method is not supported on RemoteSession. Each invocation will throw an UnsupportedOperationException.
        +
        +
        Specified by:
        +
        setMaxTextMessageBufferSize in interface Session
        +
        Parameters:
        +
        length - nothing.
        +
        +
      • +
      + + + +
        +
      • +

        getOpenSessions

        +
        public java.util.Set<Session> getOpenSessions()
        +
        This method is not supported on RemoteSession. Each invocation will throw an UnsupportedOperationException.
        +
        +
        Specified by:
        +
        getOpenSessions in interface Session
        +
        Returns:
        +
        nothing.
        +
        +
      • +
      +
    • +
    +
    +
  • +
+
+
+
+ + + + diff --git a/apidocs/1.19/org/glassfish/tyrus/core/cluster/SessionEventListener.html b/apidocs/1.19/org/glassfish/tyrus/core/cluster/SessionEventListener.html new file mode 100644 index 00000000..a9aab311 --- /dev/null +++ b/apidocs/1.19/org/glassfish/tyrus/core/cluster/SessionEventListener.html @@ -0,0 +1,502 @@ + + + + + +SessionEventListener (Tyrus 1.19 API) + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +

Class SessionEventListener

+
+
+
    +
  • java.lang.Object
  • +
  • +
      +
    • org.glassfish.tyrus.core.cluster.SessionEventListener
    • +
    +
  • +
+
+
    +
  • +
    +
    public class SessionEventListener
    +extends java.lang.Object
    +
    Session event listener.
    +
    +
    Author:
    +
    Pavel Bucek (pavel.bucek at oracle.com)
    +
    +
  • +
+
+
+
    +
  • + +
    + +
    + +
    +
      +
    • + + +

      Method Summary

      + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
      All Methods Instance Methods Concrete Methods 
      Modifier and TypeMethodDescription
      voidonClose() +
      Invoked on session close event.
      +
      voidonClose​(CloseReason closeReason) +
      Invoked on session close event.
      +
      voidonSendBinary​(byte[] message) +
      Invoked on send binary message event.
      +
      voidonSendBinary​(byte[] message, + boolean isLast) +
      Invoked on send partial binary message event.
      +
      voidonSendPing​(byte[] payload) +
      Invoked on send ping frame event.
      +
      voidonSendPong​(byte[] payload) +
      Invoked on send pong frame event.
      +
      voidonSendText​(java.lang.String message) +
      Invoked on send text message event.
      +
      voidonSendText​(java.lang.String message, + boolean isLast) +
      Invoked on send partial text message event.
      +
      +
        +
      • + + +

        Methods inherited from class java.lang.Object

        +clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • +
      +
    • +
    +
    +
  • +
+
+
+
    +
  • + +
    +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        SessionEventListener

        +
        public SessionEventListener​(Session session)
        +
        Constructor.
        +
        +
        Parameters:
        +
        session - session to be used for sending messages passed from other nodes.
        +
        +
      • +
      +
    • +
    +
    + +
    +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        onSendText

        +
        public void onSendText​(java.lang.String message)
        +                throws java.io.IOException
        +
        Invoked on send text message event.
        +
        +
        Parameters:
        +
        message - message to be sent.
        +
        Throws:
        +
        java.io.IOException - if there is a problem delivering the message.
        +
        +
      • +
      + + + +
        +
      • +

        onSendText

        +
        public void onSendText​(java.lang.String message,
        +                       boolean isLast)
        +                throws java.io.IOException
        +
        Invoked on send partial text message event.
        +
        +
        Parameters:
        +
        message - partial message to be sent.
        +
        isLast - true when the partial message being sent is the last part of the message.
        +
        Throws:
        +
        java.io.IOException - if there is a problem delivering the message.
        +
        +
      • +
      + + + +
        +
      • +

        onSendBinary

        +
        public void onSendBinary​(byte[] message)
        +                  throws java.io.IOException
        +
        Invoked on send binary message event.
        +
        +
        Parameters:
        +
        message - data to be sent.
        +
        Throws:
        +
        java.io.IOException - if there is a problem delivering the message.
        +
        +
      • +
      + + + +
        +
      • +

        onSendBinary

        +
        public void onSendBinary​(byte[] message,
        +                         boolean isLast)
        +                  throws java.io.IOException
        +
        Invoked on send partial binary message event.
        +
        +
        Parameters:
        +
        message - data to be sent.
        +
        isLast - true when the partial message being sent is the last part of the message.
        +
        Throws:
        +
        java.io.IOException - if there is a problem delivering the message.
        +
        +
      • +
      + + + +
        +
      • +

        onSendPing

        +
        public void onSendPing​(byte[] payload)
        +                throws java.io.IOException
        +
        Invoked on send ping frame event.
        +
        +
        Parameters:
        +
        payload - ping frame payload.
        +
        Throws:
        +
        java.io.IOException - if there is a problem delivering the message.
        +
        +
      • +
      + + + +
        +
      • +

        onSendPong

        +
        public void onSendPong​(byte[] payload)
        +                throws java.io.IOException
        +
        Invoked on send pong frame event.
        +
        +
        Parameters:
        +
        payload - pong frame payload.
        +
        Throws:
        +
        java.io.IOException - if there is a problem delivering the message.
        +
        +
      • +
      + + + +
        +
      • +

        onClose

        +
        public void onClose()
        +             throws java.io.IOException
        +
        Invoked on session close event.
        +
        +
        Throws:
        +
        java.io.IOException - if there is a problem closing the session.
        +
        +
      • +
      + + + +
        +
      • +

        onClose

        +
        public void onClose​(CloseReason closeReason)
        +             throws java.io.IOException
        +
        Invoked on session close event.
        +
        +
        Parameters:
        +
        closeReason - close reason of the session close event.
        +
        Throws:
        +
        java.io.IOException - if there is a problem closing the session.
        +
        +
      • +
      +
    • +
    +
    +
  • +
+
+
+
+ + + + diff --git a/apidocs/1.19/org/glassfish/tyrus/core/cluster/SessionListener.html b/apidocs/1.19/org/glassfish/tyrus/core/cluster/SessionListener.html new file mode 100644 index 00000000..5092ae82 --- /dev/null +++ b/apidocs/1.19/org/glassfish/tyrus/core/cluster/SessionListener.html @@ -0,0 +1,287 @@ + + + + + +SessionListener (Tyrus 1.19 API) + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +

Interface SessionListener

+
+
+
+
    +
  • +
    +
    public interface SessionListener
    +
    Session listener. +

    + Allows to keep track of opened/closed sessions.

    +
    +
    Author:
    +
    Pavel Bucek (pavel.bucek at oracle.com)
    +
    +
  • +
+
+
+
    +
  • + +
    + +
    +
  • +
+
+
+
    +
  • + +
    +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        onSessionOpened

        +
        void onSessionOpened​(java.lang.String sessionId)
        +
        Invoked when session is opened.
        +
        +
        Parameters:
        +
        sessionId - session id of opened session.
        +
        +
      • +
      + + + +
        +
      • +

        onSessionClosed

        +
        void onSessionClosed​(java.lang.String sessionId)
        +
        Invoked when session is closed.
        +
        +
        Parameters:
        +
        sessionId - session id of closed session.
        +
        +
      • +
      +
    • +
    +
    +
  • +
+
+
+
+ + + + diff --git a/apidocs/1.19/org/glassfish/tyrus/core/cluster/class-use/BroadcastListener.html b/apidocs/1.19/org/glassfish/tyrus/core/cluster/class-use/BroadcastListener.html new file mode 100644 index 00000000..aac73629 --- /dev/null +++ b/apidocs/1.19/org/glassfish/tyrus/core/cluster/class-use/BroadcastListener.html @@ -0,0 +1,199 @@ + + + + + +Uses of Interface org.glassfish.tyrus.core.cluster.BroadcastListener (Tyrus 1.19 API) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Interface
org.glassfish.tyrus.core.cluster.BroadcastListener

+
+
+ +
+
+ + + diff --git a/apidocs/1.19/org/glassfish/tyrus/core/cluster/class-use/ClusterContext.html b/apidocs/1.19/org/glassfish/tyrus/core/cluster/class-use/ClusterContext.html new file mode 100644 index 00000000..9b9406c9 --- /dev/null +++ b/apidocs/1.19/org/glassfish/tyrus/core/cluster/class-use/ClusterContext.html @@ -0,0 +1,269 @@ + + + + + +Uses of Class org.glassfish.tyrus.core.cluster.ClusterContext (Tyrus 1.19 API) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Class
org.glassfish.tyrus.core.cluster.ClusterContext

+
+
+ +
+
+ + + diff --git a/apidocs/1.19/org/glassfish/tyrus/core/cluster/class-use/DistributedSession.html b/apidocs/1.19/org/glassfish/tyrus/core/cluster/class-use/DistributedSession.html new file mode 100644 index 00000000..0909dde4 --- /dev/null +++ b/apidocs/1.19/org/glassfish/tyrus/core/cluster/class-use/DistributedSession.html @@ -0,0 +1,245 @@ + + + + + +Uses of Interface org.glassfish.tyrus.core.cluster.DistributedSession (Tyrus 1.19 API) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Interface
org.glassfish.tyrus.core.cluster.DistributedSession

+
+
+ +
+
+ + + diff --git a/apidocs/1.19/org/glassfish/tyrus/core/cluster/class-use/RemoteSession.DistributedMapKey.html b/apidocs/1.19/org/glassfish/tyrus/core/cluster/class-use/RemoteSession.DistributedMapKey.html new file mode 100644 index 00000000..367ba693 --- /dev/null +++ b/apidocs/1.19/org/glassfish/tyrus/core/cluster/class-use/RemoteSession.DistributedMapKey.html @@ -0,0 +1,242 @@ + + + + + +Uses of Class org.glassfish.tyrus.core.cluster.RemoteSession.DistributedMapKey (Tyrus 1.19 API) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Class
org.glassfish.tyrus.core.cluster.RemoteSession.DistributedMapKey

+
+
+ +
+
+ + + diff --git a/apidocs/1.19/org/glassfish/tyrus/core/cluster/class-use/RemoteSession.html b/apidocs/1.19/org/glassfish/tyrus/core/cluster/class-use/RemoteSession.html new file mode 100644 index 00000000..b9cba79a --- /dev/null +++ b/apidocs/1.19/org/glassfish/tyrus/core/cluster/class-use/RemoteSession.html @@ -0,0 +1,198 @@ + + + + + +Uses of Class org.glassfish.tyrus.core.cluster.RemoteSession (Tyrus 1.19 API) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Class
org.glassfish.tyrus.core.cluster.RemoteSession

+
+
+ +
+
+ + + diff --git a/apidocs/1.19/org/glassfish/tyrus/core/cluster/class-use/SessionEventListener.html b/apidocs/1.19/org/glassfish/tyrus/core/cluster/class-use/SessionEventListener.html new file mode 100644 index 00000000..d0c8def6 --- /dev/null +++ b/apidocs/1.19/org/glassfish/tyrus/core/cluster/class-use/SessionEventListener.html @@ -0,0 +1,200 @@ + + + + + +Uses of Class org.glassfish.tyrus.core.cluster.SessionEventListener (Tyrus 1.19 API) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Class
org.glassfish.tyrus.core.cluster.SessionEventListener

+
+
+ +
+
+ + + diff --git a/apidocs/1.19/org/glassfish/tyrus/core/cluster/class-use/SessionListener.html b/apidocs/1.19/org/glassfish/tyrus/core/cluster/class-use/SessionListener.html new file mode 100644 index 00000000..903b95a0 --- /dev/null +++ b/apidocs/1.19/org/glassfish/tyrus/core/cluster/class-use/SessionListener.html @@ -0,0 +1,199 @@ + + + + + +Uses of Interface org.glassfish.tyrus.core.cluster.SessionListener (Tyrus 1.19 API) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Interface
org.glassfish.tyrus.core.cluster.SessionListener

+
+
+ +
+
+ + + diff --git a/apidocs/1.19/org/glassfish/tyrus/core/cluster/package-summary.html b/apidocs/1.19/org/glassfish/tyrus/core/cluster/package-summary.html new file mode 100644 index 00000000..679735fa --- /dev/null +++ b/apidocs/1.19/org/glassfish/tyrus/core/cluster/package-summary.html @@ -0,0 +1,231 @@ + + + + + +org.glassfish.tyrus.core.cluster (Tyrus 1.19 API) + + + + + + + + + + + + + + + +
+ +
+
+
+

Package org.glassfish.tyrus.core.cluster

+
+
+
+ + +
Cluster relates classes and interfaces.
+
+ +
+
+ + + diff --git a/apidocs/1.19/org/glassfish/tyrus/core/cluster/package-tree.html b/apidocs/1.19/org/glassfish/tyrus/core/cluster/package-tree.html new file mode 100644 index 00000000..f36e87cb --- /dev/null +++ b/apidocs/1.19/org/glassfish/tyrus/core/cluster/package-tree.html @@ -0,0 +1,201 @@ + + + + + +org.glassfish.tyrus.core.cluster Class Hierarchy (Tyrus 1.19 API) + + + + + + + + + + + + + + + +
+ +
+
+
+

Hierarchy For Package org.glassfish.tyrus.core.cluster

+Package Hierarchies: + +
+
+
+

Class Hierarchy

+ +
+
+

Interface Hierarchy

+ +
+
+

Enum Hierarchy

+
    +
  • java.lang.Object +
      +
    • java.lang.Enum<E> (implements java.lang.Comparable<T>, java.io.Serializable) + +
    • +
    +
  • +
+
+
+
+ + + diff --git a/apidocs/1.19/org/glassfish/tyrus/core/cluster/package-use.html b/apidocs/1.19/org/glassfish/tyrus/core/cluster/package-use.html new file mode 100644 index 00000000..056ec328 --- /dev/null +++ b/apidocs/1.19/org/glassfish/tyrus/core/cluster/package-use.html @@ -0,0 +1,254 @@ + + + + + +Uses of Package org.glassfish.tyrus.core.cluster (Tyrus 1.19 API) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Package
org.glassfish.tyrus.core.cluster

+
+
+ +
+
+ + + diff --git a/apidocs/1.19/org/glassfish/tyrus/core/coder/CoderAdapter.html b/apidocs/1.19/org/glassfish/tyrus/core/coder/CoderAdapter.html new file mode 100644 index 00000000..7023bdb6 --- /dev/null +++ b/apidocs/1.19/org/glassfish/tyrus/core/coder/CoderAdapter.html @@ -0,0 +1,342 @@ + + + + + +CoderAdapter (Tyrus 1.19 API) + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +

Class CoderAdapter

+
+
+
    +
  • java.lang.Object
  • +
  • +
      +
    • org.glassfish.tyrus.core.coder.CoderAdapter
    • +
    +
  • +
+
+ +
+
+
    +
  • + +
    +
      +
    • + + +

      Constructor Summary

      + + + + + + + + + + +
      Constructors 
      ConstructorDescription
      CoderAdapter() 
      +
    • +
    +
    + +
    +
      +
    • + + +

      Method Summary

      + + + + + + + + + + + + + + + + + +
      All Methods Instance Methods Concrete Methods 
      Modifier and TypeMethodDescription
      voiddestroy() +
      This method does nothing.
      +
      voidinit​(EndpointConfig config) +
      This method does nothing.
      +
      +
        +
      • + + +

        Methods inherited from class java.lang.Object

        +clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • +
      +
    • +
    +
    +
  • +
+
+
+
    +
  • + +
    +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        CoderAdapter

        +
        public CoderAdapter()
        +
      • +
      +
    • +
    +
    + +
    +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        init

        +
        public void init​(EndpointConfig config)
        +
        This method does nothing.
        +
        +
        Parameters:
        +
        config - the endpoint configuration object when being brought into service.
        +
        +
      • +
      + + + +
        +
      • +

        destroy

        +
        public void destroy()
        +
        This method does nothing.
        +
      • +
      +
    • +
    +
    +
  • +
+
+
+
+ + + + diff --git a/apidocs/1.19/org/glassfish/tyrus/core/coder/CoderWrapper.html b/apidocs/1.19/org/glassfish/tyrus/core/coder/CoderWrapper.html new file mode 100644 index 00000000..ea044ec5 --- /dev/null +++ b/apidocs/1.19/org/glassfish/tyrus/core/coder/CoderWrapper.html @@ -0,0 +1,471 @@ + + + + + +CoderWrapper (Tyrus 1.19 API) + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +

Class CoderWrapper<T>

+
+
+ +
+
    +
  • +
    +
    All Implemented Interfaces:
    +
    Decoder, Encoder
    +
    +
    +
    public class CoderWrapper<T>
    +extends CoderAdapter
    +implements Decoder, Encoder
    +
    Wrapper of coders storing the coder coder class (and optionally coder instance), return type of the encode / decode + method and coder class.
    +
    +
    Author:
    +
    Stepan Kopriva (stepan.kopriva at oracle.com), Pavel Bucek (pavel.bucek at oracle.com)
    +
    +
  • +
+
+
+ +
+
+
    +
  • + +
    +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        CoderWrapper

        +
        public CoderWrapper​(java.lang.Class<? extends T> coderClass,
        +                    java.lang.Class<?> type)
        +
        Construct new coder wrapper.
        +
        +
        Parameters:
        +
        coderClass - coder class.
        +
        type - return type provided by the encode / decode method. Cannot be null.
        +
        +
      • +
      + + + + + +
        +
      • +

        CoderWrapper

        +
        public CoderWrapper​(T coder,
        +                    java.lang.Class<?> type)
        +
        Construct new coder wrapper.
        +
        +
        Parameters:
        +
        coder - cannot be null.
        +
        type - return type provided by the encode / decode method. Cannot be null.
        +
        +
      • +
      +
    • +
    +
    + +
    +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        getType

        +
        public java.lang.Class<?> getType()
        +
        Get the return type of the encode / decode method.
        +
        +
        Returns:
        +
        return type of the encode / decode method.
        +
        +
      • +
      + + + +
        +
      • +

        getCoderClass

        +
        public java.lang.Class<? extends T> getCoderClass()
        +
        Get coder class.
        +
        +
        Returns:
        +
        coder class.
        +
        +
      • +
      + + + +
        +
      • +

        getCoder

        +
        public T getCoder()
        +
        Get coder instance.
        +
        +
        Returns:
        +
        coder instance. null if registered using coder class.
        +
        +
      • +
      + + + +
        +
      • +

        toString

        +
        public java.lang.String toString()
        +
        +
        Overrides:
        +
        toString in class java.lang.Object
        +
        +
      • +
      +
    • +
    +
    +
  • +
+
+
+
+ + + + diff --git a/apidocs/1.19/org/glassfish/tyrus/core/coder/InputStreamDecoder.html b/apidocs/1.19/org/glassfish/tyrus/core/coder/InputStreamDecoder.html new file mode 100644 index 00000000..e8e68bcf --- /dev/null +++ b/apidocs/1.19/org/glassfish/tyrus/core/coder/InputStreamDecoder.html @@ -0,0 +1,395 @@ + + + + + +InputStreamDecoder (Tyrus 1.19 API) + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +

Class InputStreamDecoder

+
+
+ +
+
    +
  • +
    +
    All Implemented Interfaces:
    +
    Decoder, Decoder.Binary<java.io.InputStream>
    +
    +
    +
    public class InputStreamDecoder
    +extends CoderAdapter
    +implements Decoder.Binary<java.io.InputStream>
    +
    Built in Decoder for InputStream.
    +
    +
    Author:
    +
    Pavel Bucek (pavel.bucek at oracle.com)
    +
    +
  • +
+
+
+
    +
  • + +
    + +
    + +
    +
      +
    • + + +

      Constructor Summary

      + + + + + + + + + + +
      Constructors 
      ConstructorDescription
      InputStreamDecoder() 
      +
    • +
    +
    + +
    +
      +
    • + + +

      Method Summary

      + + + + + + + + + + + + + + + + + +
      All Methods Instance Methods Concrete Methods 
      Modifier and TypeMethodDescription
      java.io.InputStreamdecode​(java.nio.ByteBuffer bytes) +
      Decode the given bytes into an object of type T.
      +
      booleanwillDecode​(java.nio.ByteBuffer bytes) +
      Answer whether the given bytes can be decoded into an object of type T.
      +
      + +
        +
      • + + +

        Methods inherited from class java.lang.Object

        +clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • +
      + +
    • +
    +
    +
  • +
+
+
+
    +
  • + +
    +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        InputStreamDecoder

        +
        public InputStreamDecoder()
        +
      • +
      +
    • +
    +
    + +
    +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        willDecode

        +
        public boolean willDecode​(java.nio.ByteBuffer bytes)
        +
        Description copied from interface: Decoder.Binary
        +
        Answer whether the given bytes can be decoded into an object of type T.
        +
        +
        Specified by:
        +
        willDecode in interface Decoder.Binary<java.io.InputStream>
        +
        Parameters:
        +
        bytes - the bytes to be decoded.
        +
        Returns:
        +
        whether or not the bytes can be decoded by this decoder.
        +
        +
      • +
      + + + +
        +
      • +

        decode

        +
        public java.io.InputStream decode​(java.nio.ByteBuffer bytes)
        +                           throws DecodeException
        +
        Description copied from interface: Decoder.Binary
        +
        Decode the given bytes into an object of type T.
        +
        +
        Specified by:
        +
        decode in interface Decoder.Binary<java.io.InputStream>
        +
        Parameters:
        +
        bytes - the bytes to be decoded.
        +
        Returns:
        +
        the decoded object.
        +
        Throws:
        +
        DecodeException
        +
        +
      • +
      +
    • +
    +
    +
  • +
+
+
+
+ + + + diff --git a/apidocs/1.19/org/glassfish/tyrus/core/coder/NoOpByteArrayCoder.html b/apidocs/1.19/org/glassfish/tyrus/core/coder/NoOpByteArrayCoder.html new file mode 100644 index 00000000..71340c84 --- /dev/null +++ b/apidocs/1.19/org/glassfish/tyrus/core/coder/NoOpByteArrayCoder.html @@ -0,0 +1,438 @@ + + + + + +NoOpByteArrayCoder (Tyrus 1.19 API) + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +

Class NoOpByteArrayCoder

+
+
+ +
+ +
+
+ +
+
+
    +
  • + +
    +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        NoOpByteArrayCoder

        +
        public NoOpByteArrayCoder()
        +
      • +
      +
    • +
    +
    + +
    +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        encode

        +
        public java.nio.ByteBuffer encode​(byte[] object)
        +                           throws EncodeException
        +
        Description copied from interface: Encoder.Binary
        +
        Encode the given object into a byte array.
        +
        +
        Specified by:
        +
        encode in interface Encoder.Binary<byte[]>
        +
        Parameters:
        +
        object - the object being encoded.
        +
        Returns:
        +
        the binary data.
        +
        Throws:
        +
        EncodeException
        +
        +
      • +
      + + + +
        +
      • +

        willDecode

        +
        public boolean willDecode​(java.nio.ByteBuffer bytes)
        +
        Description copied from interface: Decoder.Binary
        +
        Answer whether the given bytes can be decoded into an object of type T.
        +
        +
        Specified by:
        +
        willDecode in interface Decoder.Binary<byte[]>
        +
        Parameters:
        +
        bytes - the bytes to be decoded.
        +
        Returns:
        +
        whether or not the bytes can be decoded by this decoder.
        +
        +
      • +
      + + + +
        +
      • +

        decode

        +
        public byte[] decode​(java.nio.ByteBuffer bytes)
        +              throws DecodeException
        +
        Description copied from interface: Decoder.Binary
        +
        Decode the given bytes into an object of type T.
        +
        +
        Specified by:
        +
        decode in interface Decoder.Binary<byte[]>
        +
        Parameters:
        +
        bytes - the bytes to be decoded.
        +
        Returns:
        +
        the decoded object.
        +
        Throws:
        +
        DecodeException
        +
        +
      • +
      +
    • +
    +
    +
  • +
+
+
+
+ + + + diff --git a/apidocs/1.19/org/glassfish/tyrus/core/coder/NoOpByteBufferCoder.html b/apidocs/1.19/org/glassfish/tyrus/core/coder/NoOpByteBufferCoder.html new file mode 100644 index 00000000..03f48205 --- /dev/null +++ b/apidocs/1.19/org/glassfish/tyrus/core/coder/NoOpByteBufferCoder.html @@ -0,0 +1,438 @@ + + + + + +NoOpByteBufferCoder (Tyrus 1.19 API) + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +

Class NoOpByteBufferCoder

+
+
+ +
+ +
+
+ +
+
+
    +
  • + +
    +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        NoOpByteBufferCoder

        +
        public NoOpByteBufferCoder()
        +
      • +
      +
    • +
    +
    + +
    +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        willDecode

        +
        public boolean willDecode​(java.nio.ByteBuffer bytes)
        +
        Description copied from interface: Decoder.Binary
        +
        Answer whether the given bytes can be decoded into an object of type T.
        +
        +
        Specified by:
        +
        willDecode in interface Decoder.Binary<java.nio.ByteBuffer>
        +
        Parameters:
        +
        bytes - the bytes to be decoded.
        +
        Returns:
        +
        whether or not the bytes can be decoded by this decoder.
        +
        +
      • +
      + + + +
        +
      • +

        decode

        +
        public java.nio.ByteBuffer decode​(java.nio.ByteBuffer bytes)
        +                           throws DecodeException
        +
        Description copied from interface: Decoder.Binary
        +
        Decode the given bytes into an object of type T.
        +
        +
        Specified by:
        +
        decode in interface Decoder.Binary<java.nio.ByteBuffer>
        +
        Parameters:
        +
        bytes - the bytes to be decoded.
        +
        Returns:
        +
        the decoded object.
        +
        Throws:
        +
        DecodeException
        +
        +
      • +
      + + + +
        +
      • +

        encode

        +
        public java.nio.ByteBuffer encode​(java.nio.ByteBuffer object)
        +                           throws EncodeException
        +
        Description copied from interface: Encoder.Binary
        +
        Encode the given object into a byte array.
        +
        +
        Specified by:
        +
        encode in interface Encoder.Binary<java.nio.ByteBuffer>
        +
        Parameters:
        +
        object - the object being encoded.
        +
        Returns:
        +
        the binary data.
        +
        Throws:
        +
        EncodeException
        +
        +
      • +
      +
    • +
    +
    +
  • +
+
+
+
+ + + + diff --git a/apidocs/1.19/org/glassfish/tyrus/core/coder/NoOpTextCoder.html b/apidocs/1.19/org/glassfish/tyrus/core/coder/NoOpTextCoder.html new file mode 100644 index 00000000..ce730ed8 --- /dev/null +++ b/apidocs/1.19/org/glassfish/tyrus/core/coder/NoOpTextCoder.html @@ -0,0 +1,437 @@ + + + + + +NoOpTextCoder (Tyrus 1.19 API) + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +

Class NoOpTextCoder

+
+
+ +
+ +
+
+ +
+
+
    +
  • + +
    +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        NoOpTextCoder

        +
        public NoOpTextCoder()
        +
      • +
      +
    • +
    +
    + +
    +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        willDecode

        +
        public boolean willDecode​(java.lang.String s)
        +
        Description copied from interface: Decoder.Text
        +
        Answer whether the given String can be decoded into an object of type T.
        +
        +
        Specified by:
        +
        willDecode in interface Decoder.Text<java.lang.String>
        +
        Parameters:
        +
        s - the string being tested for decodability.
        +
        Returns:
        +
        whether this decoder can decoded the supplied string.
        +
        +
      • +
      + + + +
        +
      • +

        decode

        +
        public java.lang.String decode​(java.lang.String s)
        +                        throws DecodeException
        +
        Description copied from interface: Decoder.Text
        +
        Decode the given String into an object of type T.
        +
        +
        Specified by:
        +
        decode in interface Decoder.Text<java.lang.String>
        +
        Parameters:
        +
        s - string to be decoded.
        +
        Returns:
        +
        the decoded message as an object of type T
        +
        Throws:
        +
        DecodeException
        +
        +
      • +
      + + + +
        +
      • +

        encode

        +
        public java.lang.String encode​(java.lang.String object)
        +                        throws EncodeException
        +
        Description copied from interface: Encoder.Text
        +
        Encode the given object into a String.
        +
        +
        Specified by:
        +
        encode in interface Encoder.Text<java.lang.String>
        +
        Parameters:
        +
        object - the object being encoded.
        +
        Returns:
        +
        the encoded object as a string.
        +
        Throws:
        +
        EncodeException
        +
        +
      • +
      +
    • +
    +
    +
  • +
+
+
+
+ + + + diff --git a/apidocs/1.19/org/glassfish/tyrus/core/coder/PrimitiveDecoders.BooleanDecoder.html b/apidocs/1.19/org/glassfish/tyrus/core/coder/PrimitiveDecoders.BooleanDecoder.html new file mode 100644 index 00000000..78402656 --- /dev/null +++ b/apidocs/1.19/org/glassfish/tyrus/core/coder/PrimitiveDecoders.BooleanDecoder.html @@ -0,0 +1,401 @@ + + + + + +PrimitiveDecoders.BooleanDecoder (Tyrus 1.19 API) + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +

Class PrimitiveDecoders.BooleanDecoder

+
+
+ +
+ +
+
+ +
+
+
    +
  • + +
    +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        BooleanDecoder

        +
        public BooleanDecoder()
        +
      • +
      +
    • +
    +
    + +
    +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        decode

        +
        public java.lang.Boolean decode​(java.lang.String s)
        +                         throws DecodeException
        +
        Description copied from interface: Decoder.Text
        +
        Decode the given String into an object of type T.
        +
        +
        Parameters:
        +
        s - string to be decoded.
        +
        Returns:
        +
        the decoded message as an object of type T
        +
        Throws:
        +
        DecodeException
        +
        +
      • +
      +
    • +
    +
    +
  • +
+
+
+
+ + + + diff --git a/apidocs/1.19/org/glassfish/tyrus/core/coder/PrimitiveDecoders.ByteDecoder.html b/apidocs/1.19/org/glassfish/tyrus/core/coder/PrimitiveDecoders.ByteDecoder.html new file mode 100644 index 00000000..bf37e20f --- /dev/null +++ b/apidocs/1.19/org/glassfish/tyrus/core/coder/PrimitiveDecoders.ByteDecoder.html @@ -0,0 +1,401 @@ + + + + + +PrimitiveDecoders.ByteDecoder (Tyrus 1.19 API) + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +

Class PrimitiveDecoders.ByteDecoder

+
+
+ +
+ +
+
+ +
+
+
    +
  • + +
    +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        ByteDecoder

        +
        public ByteDecoder()
        +
      • +
      +
    • +
    +
    + +
    +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        decode

        +
        public java.lang.Byte decode​(java.lang.String s)
        +                      throws DecodeException
        +
        Description copied from interface: Decoder.Text
        +
        Decode the given String into an object of type T.
        +
        +
        Parameters:
        +
        s - string to be decoded.
        +
        Returns:
        +
        the decoded message as an object of type T
        +
        Throws:
        +
        DecodeException
        +
        +
      • +
      +
    • +
    +
    +
  • +
+
+
+
+ + + + diff --git a/apidocs/1.19/org/glassfish/tyrus/core/coder/PrimitiveDecoders.CharacterDecoder.html b/apidocs/1.19/org/glassfish/tyrus/core/coder/PrimitiveDecoders.CharacterDecoder.html new file mode 100644 index 00000000..84360811 --- /dev/null +++ b/apidocs/1.19/org/glassfish/tyrus/core/coder/PrimitiveDecoders.CharacterDecoder.html @@ -0,0 +1,401 @@ + + + + + +PrimitiveDecoders.CharacterDecoder (Tyrus 1.19 API) + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +

Class PrimitiveDecoders.CharacterDecoder

+
+
+ +
+ +
+
+ +
+
+
    +
  • + +
    +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        CharacterDecoder

        +
        public CharacterDecoder()
        +
      • +
      +
    • +
    +
    + +
    +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        decode

        +
        public java.lang.Character decode​(java.lang.String s)
        +                           throws DecodeException
        +
        Description copied from interface: Decoder.Text
        +
        Decode the given String into an object of type T.
        +
        +
        Parameters:
        +
        s - string to be decoded.
        +
        Returns:
        +
        the decoded message as an object of type T
        +
        Throws:
        +
        DecodeException
        +
        +
      • +
      +
    • +
    +
    +
  • +
+
+
+
+ + + + diff --git a/apidocs/1.19/org/glassfish/tyrus/core/coder/PrimitiveDecoders.DoubleDecoder.html b/apidocs/1.19/org/glassfish/tyrus/core/coder/PrimitiveDecoders.DoubleDecoder.html new file mode 100644 index 00000000..f4cf8b4b --- /dev/null +++ b/apidocs/1.19/org/glassfish/tyrus/core/coder/PrimitiveDecoders.DoubleDecoder.html @@ -0,0 +1,401 @@ + + + + + +PrimitiveDecoders.DoubleDecoder (Tyrus 1.19 API) + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +

Class PrimitiveDecoders.DoubleDecoder

+
+
+ +
+ +
+
+ +
+
+
    +
  • + +
    +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        DoubleDecoder

        +
        public DoubleDecoder()
        +
      • +
      +
    • +
    +
    + +
    +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        decode

        +
        public java.lang.Double decode​(java.lang.String s)
        +                        throws DecodeException
        +
        Description copied from interface: Decoder.Text
        +
        Decode the given String into an object of type T.
        +
        +
        Parameters:
        +
        s - string to be decoded.
        +
        Returns:
        +
        the decoded message as an object of type T
        +
        Throws:
        +
        DecodeException
        +
        +
      • +
      +
    • +
    +
    +
  • +
+
+
+
+ + + + diff --git a/apidocs/1.19/org/glassfish/tyrus/core/coder/PrimitiveDecoders.FloatDecoder.html b/apidocs/1.19/org/glassfish/tyrus/core/coder/PrimitiveDecoders.FloatDecoder.html new file mode 100644 index 00000000..4026975d --- /dev/null +++ b/apidocs/1.19/org/glassfish/tyrus/core/coder/PrimitiveDecoders.FloatDecoder.html @@ -0,0 +1,401 @@ + + + + + +PrimitiveDecoders.FloatDecoder (Tyrus 1.19 API) + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +

Class PrimitiveDecoders.FloatDecoder

+
+
+ +
+ +
+
+ +
+
+
    +
  • + +
    +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        FloatDecoder

        +
        public FloatDecoder()
        +
      • +
      +
    • +
    +
    + +
    +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        decode

        +
        public java.lang.Float decode​(java.lang.String s)
        +                       throws DecodeException
        +
        Description copied from interface: Decoder.Text
        +
        Decode the given String into an object of type T.
        +
        +
        Parameters:
        +
        s - string to be decoded.
        +
        Returns:
        +
        the decoded message as an object of type T
        +
        Throws:
        +
        DecodeException
        +
        +
      • +
      +
    • +
    +
    +
  • +
+
+
+
+ + + + diff --git a/apidocs/1.19/org/glassfish/tyrus/core/coder/PrimitiveDecoders.IntegerDecoder.html b/apidocs/1.19/org/glassfish/tyrus/core/coder/PrimitiveDecoders.IntegerDecoder.html new file mode 100644 index 00000000..a9665809 --- /dev/null +++ b/apidocs/1.19/org/glassfish/tyrus/core/coder/PrimitiveDecoders.IntegerDecoder.html @@ -0,0 +1,401 @@ + + + + + +PrimitiveDecoders.IntegerDecoder (Tyrus 1.19 API) + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +

Class PrimitiveDecoders.IntegerDecoder

+
+
+ +
+ +
+
+ +
+
+
    +
  • + +
    +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        IntegerDecoder

        +
        public IntegerDecoder()
        +
      • +
      +
    • +
    +
    + +
    +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        decode

        +
        public java.lang.Integer decode​(java.lang.String s)
        +                         throws DecodeException
        +
        Description copied from interface: Decoder.Text
        +
        Decode the given String into an object of type T.
        +
        +
        Parameters:
        +
        s - string to be decoded.
        +
        Returns:
        +
        the decoded message as an object of type T
        +
        Throws:
        +
        DecodeException
        +
        +
      • +
      +
    • +
    +
    +
  • +
+
+
+
+ + + + diff --git a/apidocs/1.19/org/glassfish/tyrus/core/coder/PrimitiveDecoders.LongDecoder.html b/apidocs/1.19/org/glassfish/tyrus/core/coder/PrimitiveDecoders.LongDecoder.html new file mode 100644 index 00000000..f13a4ee7 --- /dev/null +++ b/apidocs/1.19/org/glassfish/tyrus/core/coder/PrimitiveDecoders.LongDecoder.html @@ -0,0 +1,401 @@ + + + + + +PrimitiveDecoders.LongDecoder (Tyrus 1.19 API) + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +

Class PrimitiveDecoders.LongDecoder

+
+
+ +
+ +
+
+ +
+
+
    +
  • + +
    +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        LongDecoder

        +
        public LongDecoder()
        +
      • +
      +
    • +
    +
    + +
    +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        decode

        +
        public java.lang.Long decode​(java.lang.String s)
        +                      throws DecodeException
        +
        Description copied from interface: Decoder.Text
        +
        Decode the given String into an object of type T.
        +
        +
        Parameters:
        +
        s - string to be decoded.
        +
        Returns:
        +
        the decoded message as an object of type T
        +
        Throws:
        +
        DecodeException
        +
        +
      • +
      +
    • +
    +
    +
  • +
+
+
+
+ + + + diff --git a/apidocs/1.19/org/glassfish/tyrus/core/coder/PrimitiveDecoders.ShortDecoder.html b/apidocs/1.19/org/glassfish/tyrus/core/coder/PrimitiveDecoders.ShortDecoder.html new file mode 100644 index 00000000..6bf8ba1f --- /dev/null +++ b/apidocs/1.19/org/glassfish/tyrus/core/coder/PrimitiveDecoders.ShortDecoder.html @@ -0,0 +1,401 @@ + + + + + +PrimitiveDecoders.ShortDecoder (Tyrus 1.19 API) + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +

Class PrimitiveDecoders.ShortDecoder

+
+
+ +
+ +
+
+ +
+
+
    +
  • + +
    +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        ShortDecoder

        +
        public ShortDecoder()
        +
      • +
      +
    • +
    +
    + +
    +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        decode

        +
        public java.lang.Short decode​(java.lang.String s)
        +                       throws DecodeException
        +
        Description copied from interface: Decoder.Text
        +
        Decode the given String into an object of type T.
        +
        +
        Parameters:
        +
        s - string to be decoded.
        +
        Returns:
        +
        the decoded message as an object of type T
        +
        Throws:
        +
        DecodeException
        +
        +
      • +
      +
    • +
    +
    +
  • +
+
+
+
+ + + + diff --git a/apidocs/1.19/org/glassfish/tyrus/core/coder/PrimitiveDecoders.html b/apidocs/1.19/org/glassfish/tyrus/core/coder/PrimitiveDecoders.html new file mode 100644 index 00000000..4d34c63c --- /dev/null +++ b/apidocs/1.19/org/glassfish/tyrus/core/coder/PrimitiveDecoders.html @@ -0,0 +1,481 @@ + + + + + +PrimitiveDecoders (Tyrus 1.19 API) + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +

Class PrimitiveDecoders<T>

+
+
+ +
+ +
+
+ +
+
+
    +
  • + +
    +
      +
    • + + +

      Field Detail

      + + + +
        +
      • +

        ALL

        +
        public static final java.util.List<java.lang.Class<? extends Decoder>> ALL
        +
      • +
      + + + +
        +
      • +

        ALL_INSTANCES

        +
        public static final java.util.Map<java.lang.Class<?>,​Decoder.Text<?>> ALL_INSTANCES
        +
      • +
      +
    • +
    +
    + +
    +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        PrimitiveDecoders

        +
        public PrimitiveDecoders()
        +
      • +
      +
    • +
    +
    + +
    +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        willDecode

        +
        public boolean willDecode​(java.lang.String s)
        +
        Description copied from interface: Decoder.Text
        +
        Answer whether the given String can be decoded into an object of type T.
        +
        +
        Specified by:
        +
        willDecode in interface Decoder.Text<T>
        +
        Parameters:
        +
        s - the string being tested for decodability.
        +
        Returns:
        +
        whether this decoder can decoded the supplied string.
        +
        +
      • +
      +
    • +
    +
    +
  • +
+
+
+
+ + + + diff --git a/apidocs/1.19/org/glassfish/tyrus/core/coder/ReaderDecoder.html b/apidocs/1.19/org/glassfish/tyrus/core/coder/ReaderDecoder.html new file mode 100644 index 00000000..c728b79d --- /dev/null +++ b/apidocs/1.19/org/glassfish/tyrus/core/coder/ReaderDecoder.html @@ -0,0 +1,395 @@ + + + + + +ReaderDecoder (Tyrus 1.19 API) + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +

Class ReaderDecoder

+
+
+ +
+
    +
  • +
    +
    All Implemented Interfaces:
    +
    Decoder, Decoder.Text<java.io.Reader>
    +
    +
    +
    public class ReaderDecoder
    +extends CoderAdapter
    +implements Decoder.Text<java.io.Reader>
    +
    Built in Decoder for Reader.
    +
    +
    Author:
    +
    Pavel Bucek (pavel.bucek at oracle.com)
    +
    +
  • +
+
+
+
    +
  • + +
    + +
    + +
    +
      +
    • + + +

      Constructor Summary

      + + + + + + + + + + +
      Constructors 
      ConstructorDescription
      ReaderDecoder() 
      +
    • +
    +
    + +
    +
      +
    • + + +

      Method Summary

      + + + + + + + + + + + + + + + + + +
      All Methods Instance Methods Concrete Methods 
      Modifier and TypeMethodDescription
      java.io.Readerdecode​(java.lang.String s) +
      Decode the given String into an object of type T.
      +
      booleanwillDecode​(java.lang.String s) +
      Answer whether the given String can be decoded into an object of type T.
      +
      + +
        +
      • + + +

        Methods inherited from class java.lang.Object

        +clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • +
      + +
    • +
    +
    +
  • +
+
+
+
    +
  • + +
    +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        ReaderDecoder

        +
        public ReaderDecoder()
        +
      • +
      +
    • +
    +
    + +
    +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        willDecode

        +
        public boolean willDecode​(java.lang.String s)
        +
        Description copied from interface: Decoder.Text
        +
        Answer whether the given String can be decoded into an object of type T.
        +
        +
        Specified by:
        +
        willDecode in interface Decoder.Text<java.io.Reader>
        +
        Parameters:
        +
        s - the string being tested for decodability.
        +
        Returns:
        +
        whether this decoder can decoded the supplied string.
        +
        +
      • +
      + + + +
        +
      • +

        decode

        +
        public java.io.Reader decode​(java.lang.String s)
        +                      throws DecodeException
        +
        Description copied from interface: Decoder.Text
        +
        Decode the given String into an object of type T.
        +
        +
        Specified by:
        +
        decode in interface Decoder.Text<java.io.Reader>
        +
        Parameters:
        +
        s - string to be decoded.
        +
        Returns:
        +
        the decoded message as an object of type T
        +
        Throws:
        +
        DecodeException
        +
        +
      • +
      +
    • +
    +
    +
  • +
+
+
+
+ + + + diff --git a/apidocs/1.19/org/glassfish/tyrus/core/coder/ToStringEncoder.html b/apidocs/1.19/org/glassfish/tyrus/core/coder/ToStringEncoder.html new file mode 100644 index 00000000..701035dd --- /dev/null +++ b/apidocs/1.19/org/glassfish/tyrus/core/coder/ToStringEncoder.html @@ -0,0 +1,369 @@ + + + + + +ToStringEncoder (Tyrus 1.19 API) + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +

Class ToStringEncoder

+
+
+ +
+
    +
  • +
    +
    All Implemented Interfaces:
    +
    Encoder, Encoder.Text<java.lang.Object>
    +
    +
    +
    public class ToStringEncoder
    +extends CoderAdapter
    +implements Encoder.Text<java.lang.Object>
    +
    Fall-back encoder - encoders any object to string using Object.toString() method.
    +
    +
    Author:
    +
    Martin Matula (martin.matula at oracle.com)
    +
    +
  • +
+
+
+ +
+
+
    +
  • + +
    +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        ToStringEncoder

        +
        public ToStringEncoder()
        +
      • +
      +
    • +
    +
    + +
    +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        encode

        +
        public java.lang.String encode​(java.lang.Object object)
        +                        throws EncodeException
        +
        Description copied from interface: Encoder.Text
        +
        Encode the given object into a String.
        +
        +
        Specified by:
        +
        encode in interface Encoder.Text<java.lang.Object>
        +
        Parameters:
        +
        object - the object being encoded.
        +
        Returns:
        +
        the encoded object as a string.
        +
        Throws:
        +
        EncodeException
        +
        +
      • +
      +
    • +
    +
    +
  • +
+
+
+
+ + + + diff --git a/apidocs/1.19/org/glassfish/tyrus/core/coder/class-use/CoderAdapter.html b/apidocs/1.19/org/glassfish/tyrus/core/coder/class-use/CoderAdapter.html new file mode 100644 index 00000000..1f13a971 --- /dev/null +++ b/apidocs/1.19/org/glassfish/tyrus/core/coder/class-use/CoderAdapter.html @@ -0,0 +1,286 @@ + + + + + +Uses of Class org.glassfish.tyrus.core.coder.CoderAdapter (Tyrus 1.19 API) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Class
org.glassfish.tyrus.core.coder.CoderAdapter

+
+
+ +
+
+ + + diff --git a/apidocs/1.19/org/glassfish/tyrus/core/coder/class-use/CoderWrapper.html b/apidocs/1.19/org/glassfish/tyrus/core/coder/class-use/CoderWrapper.html new file mode 100644 index 00000000..112f393e --- /dev/null +++ b/apidocs/1.19/org/glassfish/tyrus/core/coder/class-use/CoderWrapper.html @@ -0,0 +1,150 @@ + + + + + +Uses of Class org.glassfish.tyrus.core.coder.CoderWrapper (Tyrus 1.19 API) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Class
org.glassfish.tyrus.core.coder.CoderWrapper

+
+
No usage of org.glassfish.tyrus.core.coder.CoderWrapper
+
+ + + diff --git a/apidocs/1.19/org/glassfish/tyrus/core/coder/class-use/InputStreamDecoder.html b/apidocs/1.19/org/glassfish/tyrus/core/coder/class-use/InputStreamDecoder.html new file mode 100644 index 00000000..6adc6f9d --- /dev/null +++ b/apidocs/1.19/org/glassfish/tyrus/core/coder/class-use/InputStreamDecoder.html @@ -0,0 +1,150 @@ + + + + + +Uses of Class org.glassfish.tyrus.core.coder.InputStreamDecoder (Tyrus 1.19 API) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Class
org.glassfish.tyrus.core.coder.InputStreamDecoder

+
+
No usage of org.glassfish.tyrus.core.coder.InputStreamDecoder
+
+ + + diff --git a/apidocs/1.19/org/glassfish/tyrus/core/coder/class-use/NoOpByteArrayCoder.html b/apidocs/1.19/org/glassfish/tyrus/core/coder/class-use/NoOpByteArrayCoder.html new file mode 100644 index 00000000..24349d9b --- /dev/null +++ b/apidocs/1.19/org/glassfish/tyrus/core/coder/class-use/NoOpByteArrayCoder.html @@ -0,0 +1,150 @@ + + + + + +Uses of Class org.glassfish.tyrus.core.coder.NoOpByteArrayCoder (Tyrus 1.19 API) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Class
org.glassfish.tyrus.core.coder.NoOpByteArrayCoder

+
+
No usage of org.glassfish.tyrus.core.coder.NoOpByteArrayCoder
+
+ + + diff --git a/apidocs/1.19/org/glassfish/tyrus/core/coder/class-use/NoOpByteBufferCoder.html b/apidocs/1.19/org/glassfish/tyrus/core/coder/class-use/NoOpByteBufferCoder.html new file mode 100644 index 00000000..24838085 --- /dev/null +++ b/apidocs/1.19/org/glassfish/tyrus/core/coder/class-use/NoOpByteBufferCoder.html @@ -0,0 +1,150 @@ + + + + + +Uses of Class org.glassfish.tyrus.core.coder.NoOpByteBufferCoder (Tyrus 1.19 API) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Class
org.glassfish.tyrus.core.coder.NoOpByteBufferCoder

+
+
No usage of org.glassfish.tyrus.core.coder.NoOpByteBufferCoder
+
+ + + diff --git a/apidocs/1.19/org/glassfish/tyrus/core/coder/class-use/NoOpTextCoder.html b/apidocs/1.19/org/glassfish/tyrus/core/coder/class-use/NoOpTextCoder.html new file mode 100644 index 00000000..9afcc2fd --- /dev/null +++ b/apidocs/1.19/org/glassfish/tyrus/core/coder/class-use/NoOpTextCoder.html @@ -0,0 +1,150 @@ + + + + + +Uses of Class org.glassfish.tyrus.core.coder.NoOpTextCoder (Tyrus 1.19 API) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Class
org.glassfish.tyrus.core.coder.NoOpTextCoder

+
+
No usage of org.glassfish.tyrus.core.coder.NoOpTextCoder
+
+ + + diff --git a/apidocs/1.19/org/glassfish/tyrus/core/coder/class-use/PrimitiveDecoders.BooleanDecoder.html b/apidocs/1.19/org/glassfish/tyrus/core/coder/class-use/PrimitiveDecoders.BooleanDecoder.html new file mode 100644 index 00000000..ca3a6a8e --- /dev/null +++ b/apidocs/1.19/org/glassfish/tyrus/core/coder/class-use/PrimitiveDecoders.BooleanDecoder.html @@ -0,0 +1,150 @@ + + + + + +Uses of Class org.glassfish.tyrus.core.coder.PrimitiveDecoders.BooleanDecoder (Tyrus 1.19 API) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Class
org.glassfish.tyrus.core.coder.PrimitiveDecoders.BooleanDecoder

+
+
No usage of org.glassfish.tyrus.core.coder.PrimitiveDecoders.BooleanDecoder
+
+ + + diff --git a/apidocs/1.19/org/glassfish/tyrus/core/coder/class-use/PrimitiveDecoders.ByteDecoder.html b/apidocs/1.19/org/glassfish/tyrus/core/coder/class-use/PrimitiveDecoders.ByteDecoder.html new file mode 100644 index 00000000..aaa9c5b2 --- /dev/null +++ b/apidocs/1.19/org/glassfish/tyrus/core/coder/class-use/PrimitiveDecoders.ByteDecoder.html @@ -0,0 +1,150 @@ + + + + + +Uses of Class org.glassfish.tyrus.core.coder.PrimitiveDecoders.ByteDecoder (Tyrus 1.19 API) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Class
org.glassfish.tyrus.core.coder.PrimitiveDecoders.ByteDecoder

+
+
No usage of org.glassfish.tyrus.core.coder.PrimitiveDecoders.ByteDecoder
+
+ + + diff --git a/apidocs/1.19/org/glassfish/tyrus/core/coder/class-use/PrimitiveDecoders.CharacterDecoder.html b/apidocs/1.19/org/glassfish/tyrus/core/coder/class-use/PrimitiveDecoders.CharacterDecoder.html new file mode 100644 index 00000000..bb20d7d2 --- /dev/null +++ b/apidocs/1.19/org/glassfish/tyrus/core/coder/class-use/PrimitiveDecoders.CharacterDecoder.html @@ -0,0 +1,150 @@ + + + + + +Uses of Class org.glassfish.tyrus.core.coder.PrimitiveDecoders.CharacterDecoder (Tyrus 1.19 API) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Class
org.glassfish.tyrus.core.coder.PrimitiveDecoders.CharacterDecoder

+
+
No usage of org.glassfish.tyrus.core.coder.PrimitiveDecoders.CharacterDecoder
+
+ + + diff --git a/apidocs/1.19/org/glassfish/tyrus/core/coder/class-use/PrimitiveDecoders.DoubleDecoder.html b/apidocs/1.19/org/glassfish/tyrus/core/coder/class-use/PrimitiveDecoders.DoubleDecoder.html new file mode 100644 index 00000000..636f0e23 --- /dev/null +++ b/apidocs/1.19/org/glassfish/tyrus/core/coder/class-use/PrimitiveDecoders.DoubleDecoder.html @@ -0,0 +1,150 @@ + + + + + +Uses of Class org.glassfish.tyrus.core.coder.PrimitiveDecoders.DoubleDecoder (Tyrus 1.19 API) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Class
org.glassfish.tyrus.core.coder.PrimitiveDecoders.DoubleDecoder

+
+
No usage of org.glassfish.tyrus.core.coder.PrimitiveDecoders.DoubleDecoder
+
+ + + diff --git a/apidocs/1.19/org/glassfish/tyrus/core/coder/class-use/PrimitiveDecoders.FloatDecoder.html b/apidocs/1.19/org/glassfish/tyrus/core/coder/class-use/PrimitiveDecoders.FloatDecoder.html new file mode 100644 index 00000000..c687ed23 --- /dev/null +++ b/apidocs/1.19/org/glassfish/tyrus/core/coder/class-use/PrimitiveDecoders.FloatDecoder.html @@ -0,0 +1,150 @@ + + + + + +Uses of Class org.glassfish.tyrus.core.coder.PrimitiveDecoders.FloatDecoder (Tyrus 1.19 API) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Class
org.glassfish.tyrus.core.coder.PrimitiveDecoders.FloatDecoder

+
+
No usage of org.glassfish.tyrus.core.coder.PrimitiveDecoders.FloatDecoder
+
+ + + diff --git a/apidocs/1.19/org/glassfish/tyrus/core/coder/class-use/PrimitiveDecoders.IntegerDecoder.html b/apidocs/1.19/org/glassfish/tyrus/core/coder/class-use/PrimitiveDecoders.IntegerDecoder.html new file mode 100644 index 00000000..8b7eb9ae --- /dev/null +++ b/apidocs/1.19/org/glassfish/tyrus/core/coder/class-use/PrimitiveDecoders.IntegerDecoder.html @@ -0,0 +1,150 @@ + + + + + +Uses of Class org.glassfish.tyrus.core.coder.PrimitiveDecoders.IntegerDecoder (Tyrus 1.19 API) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Class
org.glassfish.tyrus.core.coder.PrimitiveDecoders.IntegerDecoder

+
+
No usage of org.glassfish.tyrus.core.coder.PrimitiveDecoders.IntegerDecoder
+
+ + + diff --git a/apidocs/1.19/org/glassfish/tyrus/core/coder/class-use/PrimitiveDecoders.LongDecoder.html b/apidocs/1.19/org/glassfish/tyrus/core/coder/class-use/PrimitiveDecoders.LongDecoder.html new file mode 100644 index 00000000..5c42a5c1 --- /dev/null +++ b/apidocs/1.19/org/glassfish/tyrus/core/coder/class-use/PrimitiveDecoders.LongDecoder.html @@ -0,0 +1,150 @@ + + + + + +Uses of Class org.glassfish.tyrus.core.coder.PrimitiveDecoders.LongDecoder (Tyrus 1.19 API) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Class
org.glassfish.tyrus.core.coder.PrimitiveDecoders.LongDecoder

+
+
No usage of org.glassfish.tyrus.core.coder.PrimitiveDecoders.LongDecoder
+
+ + + diff --git a/apidocs/1.19/org/glassfish/tyrus/core/coder/class-use/PrimitiveDecoders.ShortDecoder.html b/apidocs/1.19/org/glassfish/tyrus/core/coder/class-use/PrimitiveDecoders.ShortDecoder.html new file mode 100644 index 00000000..1699ac6c --- /dev/null +++ b/apidocs/1.19/org/glassfish/tyrus/core/coder/class-use/PrimitiveDecoders.ShortDecoder.html @@ -0,0 +1,150 @@ + + + + + +Uses of Class org.glassfish.tyrus.core.coder.PrimitiveDecoders.ShortDecoder (Tyrus 1.19 API) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Class
org.glassfish.tyrus.core.coder.PrimitiveDecoders.ShortDecoder

+
+
No usage of org.glassfish.tyrus.core.coder.PrimitiveDecoders.ShortDecoder
+
+ + + diff --git a/apidocs/1.19/org/glassfish/tyrus/core/coder/class-use/PrimitiveDecoders.html b/apidocs/1.19/org/glassfish/tyrus/core/coder/class-use/PrimitiveDecoders.html new file mode 100644 index 00000000..c4413f4b --- /dev/null +++ b/apidocs/1.19/org/glassfish/tyrus/core/coder/class-use/PrimitiveDecoders.html @@ -0,0 +1,231 @@ + + + + + +Uses of Class org.glassfish.tyrus.core.coder.PrimitiveDecoders (Tyrus 1.19 API) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Class
org.glassfish.tyrus.core.coder.PrimitiveDecoders

+
+
+ +
+
+ + + diff --git a/apidocs/1.19/org/glassfish/tyrus/core/coder/class-use/ReaderDecoder.html b/apidocs/1.19/org/glassfish/tyrus/core/coder/class-use/ReaderDecoder.html new file mode 100644 index 00000000..86b3c29f --- /dev/null +++ b/apidocs/1.19/org/glassfish/tyrus/core/coder/class-use/ReaderDecoder.html @@ -0,0 +1,150 @@ + + + + + +Uses of Class org.glassfish.tyrus.core.coder.ReaderDecoder (Tyrus 1.19 API) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Class
org.glassfish.tyrus.core.coder.ReaderDecoder

+
+
No usage of org.glassfish.tyrus.core.coder.ReaderDecoder
+
+ + + diff --git a/apidocs/1.19/org/glassfish/tyrus/core/coder/class-use/ToStringEncoder.html b/apidocs/1.19/org/glassfish/tyrus/core/coder/class-use/ToStringEncoder.html new file mode 100644 index 00000000..03f3b749 --- /dev/null +++ b/apidocs/1.19/org/glassfish/tyrus/core/coder/class-use/ToStringEncoder.html @@ -0,0 +1,150 @@ + + + + + +Uses of Class org.glassfish.tyrus.core.coder.ToStringEncoder (Tyrus 1.19 API) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Class
org.glassfish.tyrus.core.coder.ToStringEncoder

+
+
No usage of org.glassfish.tyrus.core.coder.ToStringEncoder
+
+ + + diff --git a/apidocs/1.19/org/glassfish/tyrus/core/coder/package-summary.html b/apidocs/1.19/org/glassfish/tyrus/core/coder/package-summary.html new file mode 100644 index 00000000..203d9bce --- /dev/null +++ b/apidocs/1.19/org/glassfish/tyrus/core/coder/package-summary.html @@ -0,0 +1,255 @@ + + + + + +org.glassfish.tyrus.core.coder (Tyrus 1.19 API) + + + + + + + + + + + + + + + +
+ +
+
+
+

Package org.glassfish.tyrus.core.coder

+
+
+
+ + +
Encoder and decoder adapters and built-in implementations.
+
+ +
+
+ + + diff --git a/apidocs/1.19/org/glassfish/tyrus/core/coder/package-tree.html b/apidocs/1.19/org/glassfish/tyrus/core/coder/package-tree.html new file mode 100644 index 00000000..49c88d83 --- /dev/null +++ b/apidocs/1.19/org/glassfish/tyrus/core/coder/package-tree.html @@ -0,0 +1,187 @@ + + + + + +org.glassfish.tyrus.core.coder Class Hierarchy (Tyrus 1.19 API) + + + + + + + + + + + + + + + +
+ +
+
+
+

Hierarchy For Package org.glassfish.tyrus.core.coder

+Package Hierarchies: + +
+
+
+

Class Hierarchy

+ +
+
+
+ + + diff --git a/apidocs/1.19/org/glassfish/tyrus/core/coder/package-use.html b/apidocs/1.19/org/glassfish/tyrus/core/coder/package-use.html new file mode 100644 index 00000000..936db888 --- /dev/null +++ b/apidocs/1.19/org/glassfish/tyrus/core/coder/package-use.html @@ -0,0 +1,196 @@ + + + + + +Uses of Package org.glassfish.tyrus.core.coder (Tyrus 1.19 API) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Package
org.glassfish.tyrus.core.coder

+
+
+ +
+
+ + + diff --git a/apidocs/1.19/org/glassfish/tyrus/core/collection/LazyValue.html b/apidocs/1.19/org/glassfish/tyrus/core/collection/LazyValue.html new file mode 100644 index 00000000..e8da522d --- /dev/null +++ b/apidocs/1.19/org/glassfish/tyrus/core/collection/LazyValue.html @@ -0,0 +1,282 @@ + + + + + +LazyValue (Tyrus 1.19 API) + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +

Interface LazyValue<T>

+
+
+
+
    +
  • +
    +
    All Superinterfaces:
    +
    Value<T>
    +
    +
    +
    public interface LazyValue<T>
    +extends Value<T>
    +
    Lazily initialized value. +

    + Instances of this interface are initialized lazily during the first call to their + value retrieval method. Information about the initialization state + of a LazyValue instance is available via isInitialized() method. +

    +
    +
    Author:
    +
    Marek Potociar
    +
    +
  • +
+
+
+
    +
  • + +
    +
      +
    • + + +

      Method Summary

      + + + + + + + + + + + + +
      All Methods Instance Methods Abstract Methods 
      Modifier and TypeMethodDescription
      booleanisInitialized() +
      Check if the lazy value has been initialized already (i.e.
      +
      +
        +
      • + + +

        Methods inherited from interface org.glassfish.tyrus.core.collection.Value

        +get
      • +
      +
    • +
    +
    +
  • +
+
+
+
    +
  • + +
    +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        isInitialized

        +
        boolean isInitialized()
        +
        Check if the lazy value has been initialized already (i.e. its Value.get() method + has already been called previously) or not.
        +
        +
        Returns:
        +
        true if the lazy value has already been initialized, false otherwise.
        +
        +
      • +
      +
    • +
    +
    +
  • +
+
+
+
+ + + + diff --git a/apidocs/1.19/org/glassfish/tyrus/core/collection/Value.html b/apidocs/1.19/org/glassfish/tyrus/core/collection/Value.html new file mode 100644 index 00000000..d59c135c --- /dev/null +++ b/apidocs/1.19/org/glassfish/tyrus/core/collection/Value.html @@ -0,0 +1,272 @@ + + + + + +Value (Tyrus 1.19 API) + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +

Interface Value<T>

+
+
+
+
    +
  • +
    +
    Type Parameters:
    +
    T - value type.
    +
    +
    +
    All Known Subinterfaces:
    +
    LazyValue<T>
    +
    +
    +
    public interface Value<T>
    +
    A generic value provider.
    +
    +
    Author:
    +
    Marek Potociar
    +
    +
  • +
+
+
+ +
+
+
    +
  • + +
    +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        get

        +
        T get()
        +
        Get the stored value.
        +
        +
        Returns:
        +
        stored value.
        +
        +
      • +
      +
    • +
    +
    +
  • +
+
+
+
+ + + + diff --git a/apidocs/1.19/org/glassfish/tyrus/core/collection/Values.html b/apidocs/1.19/org/glassfish/tyrus/core/collection/Values.html new file mode 100644 index 00000000..a184fb7a --- /dev/null +++ b/apidocs/1.19/org/glassfish/tyrus/core/collection/Values.html @@ -0,0 +1,397 @@ + + + + + +Values (Tyrus 1.19 API) + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +

Class Values

+
+
+
    +
  • java.lang.Object
  • +
  • +
      +
    • org.glassfish.tyrus.core.collection.Values
    • +
    +
  • +
+
+
    +
  • +
    +
    public final class Values
    +extends java.lang.Object
    +
    A collection of Value provider factory & utility methods.
    +
    +
    Author:
    +
    Marek Potociar
    +
    +
  • +
+
+
+
    +
  • + +
    + +
    +
  • +
+
+
+
    +
  • + +
    +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        empty

        +
        public static <T> Value<T> empty()
        +
        Get an empty value provider whose get() + method always returns null.
        +
        +
        Type Parameters:
        +
        T - value type.
        +
        Returns:
        +
        empty value provider.
        +
        +
      • +
      + + + + + +
        +
      • +

        of

        +
        public static <T> Value<T> of​(T value)
        +

        + Get a new constant value provider whose get() + method always returns the instance supplied to the value parameter. +

        +

        + In case the supplied value constant is null, an empty value + provider is returned. +

        +
        +
        Type Parameters:
        +
        T - value type.
        +
        Parameters:
        +
        value - value instance to be provided.
        +
        Returns:
        +
        constant value provider.
        +
        +
      • +
      + + + +
        +
      • +

        lazy

        +
        public static <T> LazyValue<T> lazy​(Value<T> delegate)
        +
        Get a new lazily initialized value provider. +

        + The value returned by its get() method is lazily retrieved during a first + call to the method from the supplied delegate value provider and is then cached for + a subsequent retrieval. +

        +

        + The implementation of the returned lazy value provider is thread-safe and is guaranteed to + invoke the get() method on the supplied delegate value provider instance at + most once. +

        +

        + If the supplied value provider is null, an empty value + provider is returned. +

        +
        +
        Type Parameters:
        +
        T - value type.
        +
        Parameters:
        +
        delegate - value provider delegate that will be used to lazily initialize the value provider.
        +
        Returns:
        +
        lazily initialized value provider.
        +
        +
      • +
      + + + +
        +
      • +

        eager

        +
        public static <T> Value<T> eager​(Value<T> delegate)
        +
        Get a new eagerly initialized value provider. +

        + The value returned by its get() method is eagerly computed from the supplied + delegate value provider and is then stored in a final field for a subsequent retrieval. +

        +

        + The implementation of the returned eager value provider is thread-safe and is guaranteed to + invoke the get() method on the supplied delegate value provider instance once + and only once. +

        +

        + If the supplied value provider is null, an empty value + provider is returned. +

        +
        +
        Type Parameters:
        +
        T - value type.
        +
        Parameters:
        +
        delegate - value provider delegate that will be used to eagerly initialize the value provider.
        +
        Returns:
        +
        eagerly initialized, constant value provider.
        +
        +
      • +
      +
    • +
    +
    +
  • +
+
+
+
+ + + + diff --git a/apidocs/1.19/org/glassfish/tyrus/core/collection/class-use/LazyValue.html b/apidocs/1.19/org/glassfish/tyrus/core/collection/class-use/LazyValue.html new file mode 100644 index 00000000..b66dd3a3 --- /dev/null +++ b/apidocs/1.19/org/glassfish/tyrus/core/collection/class-use/LazyValue.html @@ -0,0 +1,196 @@ + + + + + +Uses of Interface org.glassfish.tyrus.core.collection.LazyValue (Tyrus 1.19 API) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Interface
org.glassfish.tyrus.core.collection.LazyValue

+
+
+ +
+
+ + + diff --git a/apidocs/1.19/org/glassfish/tyrus/core/collection/class-use/Value.html b/apidocs/1.19/org/glassfish/tyrus/core/collection/class-use/Value.html new file mode 100644 index 00000000..0f33bcbe --- /dev/null +++ b/apidocs/1.19/org/glassfish/tyrus/core/collection/class-use/Value.html @@ -0,0 +1,254 @@ + + + + + +Uses of Interface org.glassfish.tyrus.core.collection.Value (Tyrus 1.19 API) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Interface
org.glassfish.tyrus.core.collection.Value

+
+
+ +
+
+ + + diff --git a/apidocs/1.19/org/glassfish/tyrus/core/collection/class-use/Values.html b/apidocs/1.19/org/glassfish/tyrus/core/collection/class-use/Values.html new file mode 100644 index 00000000..af9ca954 --- /dev/null +++ b/apidocs/1.19/org/glassfish/tyrus/core/collection/class-use/Values.html @@ -0,0 +1,150 @@ + + + + + +Uses of Class org.glassfish.tyrus.core.collection.Values (Tyrus 1.19 API) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Class
org.glassfish.tyrus.core.collection.Values

+
+
No usage of org.glassfish.tyrus.core.collection.Values
+
+ + + diff --git a/apidocs/1.19/org/glassfish/tyrus/core/collection/package-summary.html b/apidocs/1.19/org/glassfish/tyrus/core/collection/package-summary.html new file mode 100644 index 00000000..caa38ecb --- /dev/null +++ b/apidocs/1.19/org/glassfish/tyrus/core/collection/package-summary.html @@ -0,0 +1,193 @@ + + + + + +org.glassfish.tyrus.core.collection (Tyrus 1.19 API) + + + + + + + + + + + + + + + +
+ +
+
+
+

Package org.glassfish.tyrus.core.collection

+
+
+
    +
  • + + + + + + + + + + + + + + + + +
    Interface Summary 
    InterfaceDescription
    LazyValue<T> +
    Lazily initialized value.
    +
    Value<T> +
    A generic value provider.
    +
    +
  • +
  • + + + + + + + + + + + + +
    Class Summary 
    ClassDescription
    Values +
    A collection of Value provider factory & utility methods.
    +
    +
  • +
+
+
+ + + diff --git a/apidocs/1.19/org/glassfish/tyrus/core/collection/package-tree.html b/apidocs/1.19/org/glassfish/tyrus/core/collection/package-tree.html new file mode 100644 index 00000000..0ee4be89 --- /dev/null +++ b/apidocs/1.19/org/glassfish/tyrus/core/collection/package-tree.html @@ -0,0 +1,175 @@ + + + + + +org.glassfish.tyrus.core.collection Class Hierarchy (Tyrus 1.19 API) + + + + + + + + + + + + + + + +
+ +
+
+
+

Hierarchy For Package org.glassfish.tyrus.core.collection

+Package Hierarchies: + +
+
+
+

Class Hierarchy

+
    +
  • java.lang.Object +
      +
    • org.glassfish.tyrus.core.collection.Values
    • +
    +
  • +
+
+
+

Interface Hierarchy

+
    +
  • org.glassfish.tyrus.core.collection.Value<T> +
      +
    • org.glassfish.tyrus.core.collection.LazyValue<T>
    • +
    +
  • +
+
+
+
+ + + diff --git a/apidocs/1.19/org/glassfish/tyrus/core/collection/package-use.html b/apidocs/1.19/org/glassfish/tyrus/core/collection/package-use.html new file mode 100644 index 00000000..352924dc --- /dev/null +++ b/apidocs/1.19/org/glassfish/tyrus/core/collection/package-use.html @@ -0,0 +1,193 @@ + + + + + +Uses of Package org.glassfish.tyrus.core.collection (Tyrus 1.19 API) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Package
org.glassfish.tyrus.core.collection

+
+
+ +
+
+ + + diff --git a/apidocs/1.19/org/glassfish/tyrus/core/extension/ExtendedExtension.ExtensionContext.html b/apidocs/1.19/org/glassfish/tyrus/core/extension/ExtendedExtension.ExtensionContext.html new file mode 100644 index 00000000..03bebb97 --- /dev/null +++ b/apidocs/1.19/org/glassfish/tyrus/core/extension/ExtendedExtension.ExtensionContext.html @@ -0,0 +1,272 @@ + + + + + +ExtendedExtension.ExtensionContext (Tyrus 1.19 API) + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +

Interface ExtendedExtension.ExtensionContext

+
+
+
+ +
+
+
    +
  • + +
    + +
    +
  • +
+
+
+
    +
  • + +
    +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        getProperties

        +
        java.util.Map<java.lang.String,​java.lang.Object> getProperties()
        +
        Mutable, not synchronised property map. +

        + Synchronisation is not necessary if you are accessing this map only during ExtendedExtension methods + invocation.

        +
        +
        Returns:
        +
        property map.
        +
        +
      • +
      +
    • +
    +
    +
  • +
+
+
+
+ + + + diff --git a/apidocs/1.19/org/glassfish/tyrus/core/extension/ExtendedExtension.html b/apidocs/1.19/org/glassfish/tyrus/core/extension/ExtendedExtension.html new file mode 100644 index 00000000..096f292c --- /dev/null +++ b/apidocs/1.19/org/glassfish/tyrus/core/extension/ExtendedExtension.html @@ -0,0 +1,461 @@ + + + + + +ExtendedExtension (Tyrus 1.19 API) + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +

Interface ExtendedExtension

+
+
+
+
    +
  • +
    +
    All Superinterfaces:
    +
    Extension
    +
    +
    +
    public interface ExtendedExtension
    +extends Extension
    +
    WebSocket Extension. +

    + Capable of parameters negotiation, incoming and outgoing frames processing. +

    + Extensions are ordered as they appear in handshake response headers, as per RFC 6455, chapter 9.1. It does not state + any ordering in regards of sender/receiver side and current implementation reflects that. See TODO below for + possible + issue related to ordering. +

    + Let's say we have negotiated two extensions, ext1 and ext2 in this order without parameters, so handshake response + headers will be: "sec-websocket-extensions: ext1, ext2". Prefix "c_" means client side, prefix "s_" server side. +

    +   client -> server
    +
    +                +--------+   +--------+                  +--------+   +--------+
    +   client  >----| c_ext1 |-->| c_ext2 |--> [network] --> | s_ext1 |-->| s_ext2 |--> server
    +                +--------+   +--------+                  +--------+   +--------+
    +
    +   client <- server
    +
    +                +--------+   +--------+                  +--------+   +--------+
    +   client  <----| c_ext2 |<--| c_ext1 |<-- [network] <-- | s_ext2 |<--| s_ext1 |<-- server
    +                +--------+   +--------+                  +--------+   +--------+
    + 
    +

    + Any exception thrown from processIncoming or processOutgoing will be logged. Rest of extension chain will be invoked + without any modifications done in "faulty" extension. OnError won't be triggered. (this + might + change). +

    TODO:\
    + - naming.
    + - ordering - we might need to ensure that compression/decompression is invoked first when receiving and last when
    + sending message (to enable access to uncompressed data for other extensions).
    + - param negotiation.
    + - param validation.
    + - general validation - two extensions using same rsv bit cannot be "negotiated" for same session/connection.
    + - negotiation exception handling (onExtensionNegotiation)
    + 
    +
    +
    Author:
    +
    Pavel Bucek (pavel.bucek at oracle.com)
    +
    +
  • +
+
+
+ +
+
+
    +
  • + +
    +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        processIncoming

        +
        Frame processIncoming​(ExtendedExtension.ExtensionContext context,
        +                      Frame frame)
        +
        Process incoming frame. +

        + Passed frame is unmasked in case it was masked when received (server to client communication).

        +
        +
        Parameters:
        +
        context - per-connection/session context.
        +
        frame - websocket frame representation.
        +
        Returns:
        +
        processed frame. Can be new instance.
        +
        +
      • +
      + + + +
        +
      • +

        processOutgoing

        +
        Frame processOutgoing​(ExtendedExtension.ExtensionContext context,
        +                      Frame frame)
        +
        Process outgoing frame. +

        + Passed frame is unmasked. Frame payload will be masked when required (server to client communication).

        +
        +
        Parameters:
        +
        context - per-connection/session context.
        +
        frame - websocket frame representation.
        +
        Returns:
        +
        processed frame. Can be new instance.
        +
        +
      • +
      + + + +
        +
      • +

        onExtensionNegotiation

        +
        java.util.List<Extension.Parameter> onExtensionNegotiation​(ExtendedExtension.ExtensionContext context,
        +                                                           java.util.List<Extension.Parameter> requestedParameters)
        +
        Parameter negotiation. Executed before handshake response is sent to the client (server only). Returned + list of parameters will be present in handshake response headers. +

        + TODO: Seems like list of all "requested" extensions should be passed (at least all with the same name) - the + TODO: extension implementation should be able to choose which version (parameter set) will be used for the + TODO: established WebSocket session. (We should also properly describe that this method will be called only once + TODO: per extension per websocket session and have the possibility to NOT add this extension to negotiated + TODO: extensions).

        +
        +
        Parameters:
        +
        context - extension context.
        +
        requestedParameters - requested parameters (from handshake request).
        +
        Returns:
        +
        parameters to be present in handshake response.
        +
        +
      • +
      + + + +
        +
      • +

        onHandshakeResponse

        +
        void onHandshakeResponse​(ExtendedExtension.ExtensionContext context,
        +                         java.util.List<Extension.Parameter> responseParameters)
        +
        Called only on the client side when handshake response arrives. +

        + Can be used to process extension parameters returned from server side.

        +
        +
        Parameters:
        +
        context - extension context.
        +
        responseParameters - extension parameters returned from the server.
        +
        +
      • +
      + + + + +
    • +
    +
    +
  • +
+
+
+
+ + + + diff --git a/apidocs/1.19/org/glassfish/tyrus/core/extension/class-use/ExtendedExtension.ExtensionContext.html b/apidocs/1.19/org/glassfish/tyrus/core/extension/class-use/ExtendedExtension.ExtensionContext.html new file mode 100644 index 00000000..17ffd5eb --- /dev/null +++ b/apidocs/1.19/org/glassfish/tyrus/core/extension/class-use/ExtendedExtension.ExtensionContext.html @@ -0,0 +1,270 @@ + + + + + +Uses of Interface org.glassfish.tyrus.core.extension.ExtendedExtension.ExtensionContext (Tyrus 1.19 API) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Interface
org.glassfish.tyrus.core.extension.ExtendedExtension.ExtensionContext

+
+
+ +
+
+ + + diff --git a/apidocs/1.19/org/glassfish/tyrus/core/extension/class-use/ExtendedExtension.html b/apidocs/1.19/org/glassfish/tyrus/core/extension/class-use/ExtendedExtension.html new file mode 100644 index 00000000..5fa4b51d --- /dev/null +++ b/apidocs/1.19/org/glassfish/tyrus/core/extension/class-use/ExtendedExtension.html @@ -0,0 +1,150 @@ + + + + + +Uses of Interface org.glassfish.tyrus.core.extension.ExtendedExtension (Tyrus 1.19 API) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Interface
org.glassfish.tyrus.core.extension.ExtendedExtension

+
+
No usage of org.glassfish.tyrus.core.extension.ExtendedExtension
+
+ + + diff --git a/apidocs/1.19/org/glassfish/tyrus/core/extension/package-summary.html b/apidocs/1.19/org/glassfish/tyrus/core/extension/package-summary.html new file mode 100644 index 00000000..87250f8b --- /dev/null +++ b/apidocs/1.19/org/glassfish/tyrus/core/extension/package-summary.html @@ -0,0 +1,181 @@ + + + + + +org.glassfish.tyrus.core.extension (Tyrus 1.19 API) + + + + + + + + + + + + + + + +
+ +
+
+
+

Package org.glassfish.tyrus.core.extension

+
+
+
+ + +
WebSocket Extension support.
+
+ +
+
+ + + diff --git a/apidocs/1.19/org/glassfish/tyrus/core/extension/package-tree.html b/apidocs/1.19/org/glassfish/tyrus/core/extension/package-tree.html new file mode 100644 index 00000000..96eecc13 --- /dev/null +++ b/apidocs/1.19/org/glassfish/tyrus/core/extension/package-tree.html @@ -0,0 +1,166 @@ + + + + + +org.glassfish.tyrus.core.extension Class Hierarchy (Tyrus 1.19 API) + + + + + + + + + + + + + + + +
+ +
+
+
+

Hierarchy For Package org.glassfish.tyrus.core.extension

+Package Hierarchies: + +
+
+
+

Interface Hierarchy

+ +
+
+
+ + + diff --git a/apidocs/1.19/org/glassfish/tyrus/core/extension/package-use.html b/apidocs/1.19/org/glassfish/tyrus/core/extension/package-use.html new file mode 100644 index 00000000..cdc902dc --- /dev/null +++ b/apidocs/1.19/org/glassfish/tyrus/core/extension/package-use.html @@ -0,0 +1,214 @@ + + + + + +Uses of Package org.glassfish.tyrus.core.extension (Tyrus 1.19 API) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Package
org.glassfish.tyrus.core.extension

+
+
+ +
+
+ + + diff --git a/apidocs/1.19/org/glassfish/tyrus/core/frame/BinaryFrame.html b/apidocs/1.19/org/glassfish/tyrus/core/frame/BinaryFrame.html new file mode 100644 index 00000000..52b0c553 --- /dev/null +++ b/apidocs/1.19/org/glassfish/tyrus/core/frame/BinaryFrame.html @@ -0,0 +1,424 @@ + + + + + +BinaryFrame (Tyrus 1.19 API) + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +

Class BinaryFrame

+
+
+ +
+
    +
  • +
    +
    public class BinaryFrame
    +extends TyrusFrame
    +
    Binary frame representation.
    +
  • +
+
+
+ +
+
+
    +
  • + +
    +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        BinaryFrame

        +
        public BinaryFrame​(Frame frame)
        +
        Constructor.
        +
        +
        Parameters:
        +
        frame - original (binary) frame.
        +
        +
      • +
      + + + +
        +
      • +

        BinaryFrame

        +
        public BinaryFrame​(Frame frame,
        +                   boolean continuation)
        +
        Constructor.
        +
        +
        Parameters:
        +
        frame - original (binary) frame.
        +
        continuation - true when this frame is continuation frame, false otherwise.
        +
        +
      • +
      + + + +
        +
      • +

        BinaryFrame

        +
        public BinaryFrame​(byte[] payload,
        +                   boolean continuation,
        +                   boolean fin)
        +
        Constructor.
        +
        +
        Parameters:
        +
        payload - frame payload.
        +
        continuation - true true when this frame is continuation frame, false otherwise.
        +
        fin - true when this frame is last in current partial message batch. Standard + (non-continuous) frames have this bit set to true.
        +
        +
      • +
      +
    • +
    +
    + +
    +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        respond

        +
        public void respond​(TyrusWebSocket socket)
        +
        Description copied from class: TyrusFrame
        +
        Execution part of frame processing.
        +
        +
        Specified by:
        +
        respond in class TyrusFrame
        +
        Parameters:
        +
        socket - socket on which the appropriate action will be performed.
        +
        +
      • +
      +
    • +
    +
    +
  • +
+
+
+
+ + + + diff --git a/apidocs/1.19/org/glassfish/tyrus/core/frame/CloseFrame.html b/apidocs/1.19/org/glassfish/tyrus/core/frame/CloseFrame.html new file mode 100644 index 00000000..cf52df68 --- /dev/null +++ b/apidocs/1.19/org/glassfish/tyrus/core/frame/CloseFrame.html @@ -0,0 +1,419 @@ + + + + + +CloseFrame (Tyrus 1.19 API) + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +

Class CloseFrame

+
+
+ +
+
    +
  • +
    +
    public class CloseFrame
    +extends TyrusFrame
    +
    Close frame representation.
    +
    +
    Author:
    +
    Pavel Bucek (pavel.bucek at oracle.com)
    +
    +
  • +
+
+
+ +
+
+
    +
  • + +
    +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        CloseFrame

        +
        public CloseFrame​(Frame frame)
        +
        Constructor.
        +
        +
        Parameters:
        +
        frame - original (close) frame.
        +
        +
      • +
      + + + +
        +
      • +

        CloseFrame

        +
        public CloseFrame​(CloseReason closeReason)
        +
        Constructor.
        +
        +
        Parameters:
        +
        closeReason - close reason used to construct close frame.
        +
        +
      • +
      +
    • +
    +
    + +
    +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        getCloseReason

        +
        public CloseReason getCloseReason()
        +
        Get close reason.
        +
        +
        Returns:
        +
        close reason.
        +
        +
      • +
      + + + +
        +
      • +

        respond

        +
        public void respond​(TyrusWebSocket socket)
        +
        Description copied from class: TyrusFrame
        +
        Execution part of frame processing.
        +
        +
        Specified by:
        +
        respond in class TyrusFrame
        +
        Parameters:
        +
        socket - socket on which the appropriate action will be performed.
        +
        +
      • +
      +
    • +
    +
    +
  • +
+
+
+
+ + + + diff --git a/apidocs/1.19/org/glassfish/tyrus/core/frame/Frame.Builder.html b/apidocs/1.19/org/glassfish/tyrus/core/frame/Frame.Builder.html new file mode 100644 index 00000000..5a823e2d --- /dev/null +++ b/apidocs/1.19/org/glassfish/tyrus/core/frame/Frame.Builder.html @@ -0,0 +1,557 @@ + + + + + +Frame.Builder (Tyrus 1.19 API) + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +

Class Frame.Builder

+
+
+
    +
  • java.lang.Object
  • +
  • +
      +
    • org.glassfish.tyrus.core.frame.Frame.Builder
    • +
    +
  • +
+
+
    +
  • +
    +
    Enclosing class:
    +
    Frame
    +
    +
    +
    public static final class Frame.Builder
    +extends java.lang.Object
    +
    Frame builder.
    +
  • +
+
+
+ +
+
+
    +
  • + +
    +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        Builder

        +
        public Builder()
        +
        Constructor.
        +
      • +
      + + + +
        +
      • +

        Builder

        +
        public Builder​(Frame frame)
        +
        Constructor.
        +
        +
        Parameters:
        +
        frame - frame used as a base for building new frame.
        +
        +
      • +
      +
    • +
    +
    + +
    +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        build

        +
        public Frame build()
        +
        Build new frame.
        +
        +
        Returns:
        +
        built frame.
        +
        +
      • +
      + + + +
        +
      • +

        fin

        +
        public Frame.Builder fin​(boolean fin)
        +
        Set FIN flag.
        +
        +
        Parameters:
        +
        fin - value to be set as FIN.
        +
        Returns:
        +
        updated Frame.Builder instance.
        +
        +
      • +
      + + + +
        +
      • +

        rsv1

        +
        public Frame.Builder rsv1​(boolean rsv1)
        +
        Set RSV1 flag.
        +
        +
        Parameters:
        +
        rsv1 - value to be set as RSV1.
        +
        Returns:
        +
        updated Frame.Builder instance.
        +
        +
      • +
      + + + +
        +
      • +

        rsv2

        +
        public Frame.Builder rsv2​(boolean rsv2)
        +
        Set RSV2 flag.
        +
        +
        Parameters:
        +
        rsv2 - value to be set as RSV2.
        +
        Returns:
        +
        updated Frame.Builder instance.
        +
        +
      • +
      + + + +
        +
      • +

        rsv3

        +
        public Frame.Builder rsv3​(boolean rsv3)
        +
        Set RSV3 flag.
        +
        +
        Parameters:
        +
        rsv3 - value to be set as RSV3.
        +
        Returns:
        +
        updated Frame.Builder instance.
        +
        +
      • +
      + + + +
        +
      • +

        mask

        +
        public Frame.Builder mask​(boolean mask)
        +
        Currently not used.
        +
        +
        Parameters:
        +
        mask - not used.
        +
        Returns:
        +
        updated Frame.Builder instance.
        +
        +
      • +
      + + + +
        +
      • +

        opcode

        +
        public Frame.Builder opcode​(byte opcode)
        +
        Set opcode.
        +
        +
        Parameters:
        +
        opcode - opcode to be set. (4 bits).
        +
        Returns:
        +
        updated Frame.Builder instance.
        +
        +
      • +
      + + + +
        +
      • +

        payloadLength

        +
        public Frame.Builder payloadLength​(long payloadLength)
        +
        Set payload length. +

        + Payload length is automatically set to payloadData length when payloadData(byte[]) is called. This + method can limit the data used for this frame by setting smaller value than payloadData.length.

        +
        +
        Parameters:
        +
        payloadLength - payload length. Must not be greater than payloadData.length.
        +
        Returns:
        +
        updated Frame.Builder instance.
        +
        See Also:
        +
        payloadData(byte[])
        +
        +
      • +
      + + + +
        +
      • +

        maskingKey

        +
        public Frame.Builder maskingKey​(java.lang.Integer maskingKey)
        +
        Set masking key. Default value is null.
        +
        +
        Parameters:
        +
        maskingKey - masking key.
        +
        Returns:
        +
        updated Frame.Builder instance.
        +
        +
      • +
      + + + + +
    • +
    +
    +
  • +
+
+
+
+ + + + diff --git a/apidocs/1.19/org/glassfish/tyrus/core/frame/Frame.html b/apidocs/1.19/org/glassfish/tyrus/core/frame/Frame.html new file mode 100644 index 00000000..b42c32c9 --- /dev/null +++ b/apidocs/1.19/org/glassfish/tyrus/core/frame/Frame.html @@ -0,0 +1,619 @@ + + + + + +Frame (Tyrus 1.19 API) + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +

Class Frame

+
+
+
    +
  • java.lang.Object
  • +
  • +
      +
    • org.glassfish.tyrus.core.frame.Frame
    • +
    +
  • +
+
+
    +
  • +
    +
    Direct Known Subclasses:
    +
    TyrusFrame
    +
    +
    +
    public class Frame
    +extends java.lang.Object
    +
    WebSocket frame representation. +
    TODO:
    + - masking (isMask is currently ignored)
    + - validation
    + - payloadLength is limited to int
    +
    +
    Author:
    +
    Pavel Bucek (pavel.bucek at oracle.com)
    +
    +
  • +
+
+
+
    +
  • + +
    +
      +
    • + + +

      Nested Class Summary

      + + + + + + + + + + + + +
      Nested Classes 
      Modifier and TypeClassDescription
      static class Frame.Builder +
      Frame builder.
      +
      +
    • +
    +
    + +
    +
      +
    • + + +

      Constructor Summary

      + + + + + + + + + + + + +
      Constructors 
      ModifierConstructorDescription
      protected Frame​(Frame frame) +
      Copy constructor.
      +
      +
    • +
    +
    + +
    + +
    +
  • +
+
+
+
    +
  • + +
    +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        Frame

        +
        protected Frame​(Frame frame)
        +
        Copy constructor. +

        + Note: this is shallow copy. Payload is *not* copied to new array.

        +
        +
        Parameters:
        +
        frame - copied frame.
        +
        +
      • +
      +
    • +
    +
    + +
    +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        isFin

        +
        public boolean isFin()
        +
        Get FIN value.
        +
        +
        Returns:
        +
        true when FIN flag is set, false otherwise.
        +
        +
      • +
      + + + +
        +
      • +

        isRsv1

        +
        public boolean isRsv1()
        +
        GET RSV1 value.
        +
        +
        Returns:
        +
        true when RSV1 flag is set, false otherwise.
        +
        +
      • +
      + + + +
        +
      • +

        isRsv2

        +
        public boolean isRsv2()
        +
        GET RSV2 value.
        +
        +
        Returns:
        +
        true when RSV2 flag is set, false otherwise.
        +
        +
      • +
      + + + +
        +
      • +

        isRsv3

        +
        public boolean isRsv3()
        +
        GET RSV3 value.
        +
        +
        Returns:
        +
        true when RSV3 flag is set, false otherwise.
        +
        +
      • +
      + + + +
        +
      • +

        isMask

        +
        public boolean isMask()
        +
        Currently not used.
        +
        +
        Returns:
        +
        not used.
        +
        +
      • +
      + + + +
        +
      • +

        getOpcode

        +
        public byte getOpcode()
        +
        Get opcode.
        +
        +
        Returns:
        +
        opcode (4 bit value).
        +
        +
      • +
      + + + +
        +
      • +

        getPayloadLength

        +
        public long getPayloadLength()
        +
        Get payload length.
        +
        +
        Returns:
        +
        payload length.
        +
        +
      • +
      + + + +
        +
      • +

        getMaskingKey

        +
        public java.lang.Integer getMaskingKey()
        +
        Get masking key.
        +
        +
        Returns:
        +
        masking key (32 bit value) or null when the frame should not be masked.
        +
        +
      • +
      + + + +
        +
      • +

        getPayloadData

        +
        public byte[] getPayloadData()
        +
        Get payload data. +

        + Changes done to returned array won't be propagated to current Frame instance. If you need to modify + payload, you have to create new instance, see Builder#Frame(Frame). Length of returned array will + be always same as getPayloadLength().

        +
        +
        Returns:
        +
        payload data.
        +
        +
      • +
      + + + +
        +
      • +

        isControlFrame

        +
        public boolean isControlFrame()
        +
        Get information about frame type.
        +
        +
        Returns:
        +
        true when this frame is control (close, ping, pong) frame, false otherwise.
        +
        +
      • +
      + + + +
        +
      • +

        toString

        +
        public java.lang.String toString()
        +
        +
        Overrides:
        +
        toString in class java.lang.Object
        +
        +
      • +
      + + + + + + + +
        +
      • +

        builder

        +
        public static Frame.Builder builder​(Frame frame)
        +
        Create new Frame.Builder based on provided frame.
        +
        +
        Parameters:
        +
        frame - frame used as a base for building new frame.
        +
        Returns:
        +
        new builder instance.
        +
        +
      • +
      +
    • +
    +
    +
  • +
+
+
+
+ + + + diff --git a/apidocs/1.19/org/glassfish/tyrus/core/frame/PingFrame.html b/apidocs/1.19/org/glassfish/tyrus/core/frame/PingFrame.html new file mode 100644 index 00000000..c2b5800d --- /dev/null +++ b/apidocs/1.19/org/glassfish/tyrus/core/frame/PingFrame.html @@ -0,0 +1,394 @@ + + + + + +PingFrame (Tyrus 1.19 API) + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +

Class PingFrame

+
+
+ +
+
    +
  • +
    +
    public class PingFrame
    +extends TyrusFrame
    +
    Ping frame representation.
    +
  • +
+
+
+ +
+
+
    +
  • + +
    +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        PingFrame

        +
        public PingFrame​(Frame frame)
        +
        Constructor.
        +
        +
        Parameters:
        +
        frame - original (ping) frame.
        +
        +
      • +
      + + + +
        +
      • +

        PingFrame

        +
        public PingFrame​(byte[] payload)
        +
        Constructor.
        +
        +
        Parameters:
        +
        payload - ping frame payload.
        +
        +
      • +
      +
    • +
    +
    + +
    +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        respond

        +
        public void respond​(TyrusWebSocket socket)
        +
        Description copied from class: TyrusFrame
        +
        Execution part of frame processing.
        +
        +
        Specified by:
        +
        respond in class TyrusFrame
        +
        Parameters:
        +
        socket - socket on which the appropriate action will be performed.
        +
        +
      • +
      +
    • +
    +
    +
  • +
+
+
+
+ + + + diff --git a/apidocs/1.19/org/glassfish/tyrus/core/frame/PongFrame.html b/apidocs/1.19/org/glassfish/tyrus/core/frame/PongFrame.html new file mode 100644 index 00000000..51215485 --- /dev/null +++ b/apidocs/1.19/org/glassfish/tyrus/core/frame/PongFrame.html @@ -0,0 +1,394 @@ + + + + + +PongFrame (Tyrus 1.19 API) + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +

Class PongFrame

+
+
+ +
+
    +
  • +
    +
    public class PongFrame
    +extends TyrusFrame
    +
    Pong frame representation.
    +
  • +
+
+
+ +
+
+
    +
  • + +
    +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        PongFrame

        +
        public PongFrame​(Frame frame)
        +
        Constructor.
        +
        +
        Parameters:
        +
        frame - original (pong) frame.
        +
        +
      • +
      + + + +
        +
      • +

        PongFrame

        +
        public PongFrame​(byte[] payload)
        +
        Constructor.
        +
        +
        Parameters:
        +
        payload - pong frame payload.
        +
        +
      • +
      +
    • +
    +
    + +
    +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        respond

        +
        public void respond​(TyrusWebSocket socket)
        +
        Description copied from class: TyrusFrame
        +
        Execution part of frame processing.
        +
        +
        Specified by:
        +
        respond in class TyrusFrame
        +
        Parameters:
        +
        socket - socket on which the appropriate action will be performed.
        +
        +
      • +
      +
    • +
    +
    +
  • +
+
+
+
+ + + + diff --git a/apidocs/1.19/org/glassfish/tyrus/core/frame/TextFrame.html b/apidocs/1.19/org/glassfish/tyrus/core/frame/TextFrame.html new file mode 100644 index 00000000..db5ea4c2 --- /dev/null +++ b/apidocs/1.19/org/glassfish/tyrus/core/frame/TextFrame.html @@ -0,0 +1,496 @@ + + + + + +TextFrame (Tyrus 1.19 API) + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +

Class TextFrame

+
+
+ +
+
    +
  • +
    +
    public class TextFrame
    +extends TyrusFrame
    +
    Text frame representation.
    +
    +
    Author:
    +
    Pavel Bucek (pavel.bucek at oracle.com)
    +
    +
  • +
+
+
+ +
+
+
    +
  • + +
    +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        TextFrame

        +
        public TextFrame​(Frame frame,
        +                 java.nio.ByteBuffer remainder)
        +
        Constructor.
        +
        +
        Parameters:
        +
        frame - original (text) frame.
        +
        remainder - UTF-8 decoding remainder from previously processed frame.
        +
        +
      • +
      + + + +
        +
      • +

        TextFrame

        +
        public TextFrame​(Frame frame,
        +                 java.nio.ByteBuffer remainder,
        +                 boolean continuation)
        +
        Constructor.
        +
        +
        Parameters:
        +
        frame - original (text) frame.
        +
        remainder - UTF-8 decoding remainder from previously processed frame.
        +
        continuation - true when this frame is continuation frame, false otherwise.
        +
        +
      • +
      + + + +
        +
      • +

        TextFrame

        +
        public TextFrame​(java.lang.String message,
        +                 boolean continuation,
        +                 boolean fin)
        +
        Constructor.
        +
        +
        Parameters:
        +
        message - text message (will be encoded using strict UTF-8 encoding).
        +
        continuation - true when this frame is continuation frame, false otherwise.
        +
        fin - true when this frame is last in current partial message batch. Standard + (non-continuous) frames have this bit set to true.
        +
        +
      • +
      +
    • +
    +
    + +
    +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        getTextPayload

        +
        public java.lang.String getTextPayload()
        +
        Get text payload.
        +
        +
        Returns:
        +
        text payload.
        +
        +
      • +
      + + + +
        +
      • +

        getRemainder

        +
        public java.nio.ByteBuffer getRemainder()
        +
        Remainder after UTF-8 decoding. +

        + This might be removed in the future, if encoding part will be separated from text frame impl.

        +
        +
        Returns:
        +
        UTF-8 decoding remainder. Used internally to decoding next incoming frame.
        +
        +
      • +
      + + + +
        +
      • +

        respond

        +
        public void respond​(TyrusWebSocket socket)
        +
        Description copied from class: TyrusFrame
        +
        Execution part of frame processing.
        +
        +
        Specified by:
        +
        respond in class TyrusFrame
        +
        Parameters:
        +
        socket - socket on which the appropriate action will be performed.
        +
        +
      • +
      + + + +
        +
      • +

        toString

        +
        public java.lang.String toString()
        +
        +
        Overrides:
        +
        toString in class Frame
        +
        +
      • +
      +
    • +
    +
    +
  • +
+
+
+
+ + + + diff --git a/apidocs/1.19/org/glassfish/tyrus/core/frame/TyrusFrame.FrameType.html b/apidocs/1.19/org/glassfish/tyrus/core/frame/TyrusFrame.FrameType.html new file mode 100644 index 00000000..57be14c9 --- /dev/null +++ b/apidocs/1.19/org/glassfish/tyrus/core/frame/TyrusFrame.FrameType.html @@ -0,0 +1,499 @@ + + + + + +TyrusFrame.FrameType (Tyrus 1.19 API) + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +

Enum TyrusFrame.FrameType

+
+
+
    +
  • java.lang.Object
  • +
  • +
      +
    • java.lang.Enum<TyrusFrame.FrameType>
    • +
    • +
        +
      • org.glassfish.tyrus.core.frame.TyrusFrame.FrameType
      • +
      +
    • +
    +
  • +
+
+
    +
  • +
    +
    All Implemented Interfaces:
    +
    java.io.Serializable, java.lang.Comparable<TyrusFrame.FrameType>
    +
    +
    +
    Enclosing class:
    +
    TyrusFrame
    +
    +
    +
    public static enum TyrusFrame.FrameType
    +extends java.lang.Enum<TyrusFrame.FrameType>
    +
    An Enumeration of frame types.
    +
  • +
+
+
+
    +
  • + +
    +
      +
    • + + +

      Enum Constant Summary

      + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
      Enum Constants 
      Enum ConstantDescription
      BINARY +
      Binary frame.
      +
      BINARY_CONTINUATION +
      Continuation binary frame.
      +
      CLOSE +
      Close frame.
      +
      PING +
      Ping frame.
      +
      PONG +
      Pong frame.
      +
      TEXT +
      Text frame.
      +
      TEXT_CONTINUATION +
      Continuation text frame.
      +
      +
    • +
    +
    + +
    +
      +
    • + + +

      Method Summary

      + + + + + + + + + + + + + + + + + +
      All Methods Static Methods Concrete Methods 
      Modifier and TypeMethodDescription
      static TyrusFrame.FrameTypevalueOf​(java.lang.String name) +
      Returns the enum constant of this type with the specified name.
      +
      static TyrusFrame.FrameType[]values() +
      Returns an array containing the constants of this enum type, in +the order they are declared.
      +
      +
        +
      • + + +

        Methods inherited from class java.lang.Enum

        +clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
      • +
      +
        +
      • + + +

        Methods inherited from class java.lang.Object

        +getClass, notify, notifyAll, wait, wait, wait
      • +
      +
    • +
    +
    +
  • +
+
+
+
    +
  • + +
    + +
    + +
    +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        values

        +
        public static TyrusFrame.FrameType[] values()
        +
        Returns an array containing the constants of this enum type, in +the order they are declared. This method may be used to iterate +over the constants as follows: +
        +for (TyrusFrame.FrameType c : TyrusFrame.FrameType.values())
        +    System.out.println(c);
        +
        +
        +
        Returns:
        +
        an array containing the constants of this enum type, in the order they are declared
        +
        +
      • +
      + + + +
        +
      • +

        valueOf

        +
        public static TyrusFrame.FrameType valueOf​(java.lang.String name)
        +
        Returns the enum constant of this type with the specified name. +The string must match exactly an identifier used to declare an +enum constant in this type. (Extraneous whitespace characters are +not permitted.)
        +
        +
        Parameters:
        +
        name - the name of the enum constant to be returned.
        +
        Returns:
        +
        the enum constant with the specified name
        +
        Throws:
        +
        java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
        +
        java.lang.NullPointerException - if the argument is null
        +
        +
      • +
      +
    • +
    +
    +
  • +
+
+
+
+ + + + diff --git a/apidocs/1.19/org/glassfish/tyrus/core/frame/TyrusFrame.html b/apidocs/1.19/org/glassfish/tyrus/core/frame/TyrusFrame.html new file mode 100644 index 00000000..9090e347 --- /dev/null +++ b/apidocs/1.19/org/glassfish/tyrus/core/frame/TyrusFrame.html @@ -0,0 +1,434 @@ + + + + + +TyrusFrame (Tyrus 1.19 API) + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +

Class TyrusFrame

+
+
+ +
+ +
+
+ +
+
+
    +
  • + +
    +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        TyrusFrame

        +
        protected TyrusFrame​(Frame frame,
        +                     TyrusFrame.FrameType frameType)
        +
        Constructor.
        +
        +
        Parameters:
        +
        frame - enriched frame.
        +
        frameType - type of the frame.
        +
        +
      • +
      +
    • +
    +
    + +
    +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        respond

        +
        public abstract void respond​(TyrusWebSocket socket)
        +
        Execution part of frame processing.
        +
        +
        Parameters:
        +
        socket - socket on which the appropriate action will be performed.
        +
        +
      • +
      + + + +
        +
      • +

        getFrameType

        +
        public TyrusFrame.FrameType getFrameType()
        +
        Returns the type of the frame. It is used for distinguishing frame types in monitoring. +

        + TODO: consider moving this to "MonitoredFrame" or something like this;

        +
        +
        Returns:
        +
        type of the frame.
        +
        +
      • +
      + + + +
        +
      • +

        wrap

        +
        public static TyrusFrame wrap​(Frame frame,
        +                              byte inFragmentedType,
        +                              java.nio.ByteBuffer remainder)
        +
        TyrusFrame factory method.
        +
        +
        Parameters:
        +
        frame - original plain frame.
        +
        inFragmentedType - type of fragment (text or binary).
        +
        remainder - decoding remainder. Used only for partial text frames.
        +
        Returns:
        +
        new TyrusFrame.
        +
        +
      • +
      +
    • +
    +
    +
  • +
+
+
+
+ + + + diff --git a/apidocs/1.19/org/glassfish/tyrus/core/frame/class-use/BinaryFrame.html b/apidocs/1.19/org/glassfish/tyrus/core/frame/class-use/BinaryFrame.html new file mode 100644 index 00000000..2f3d0ae1 --- /dev/null +++ b/apidocs/1.19/org/glassfish/tyrus/core/frame/class-use/BinaryFrame.html @@ -0,0 +1,207 @@ + + + + + +Uses of Class org.glassfish.tyrus.core.frame.BinaryFrame (Tyrus 1.19 API) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Class
org.glassfish.tyrus.core.frame.BinaryFrame

+
+
+ +
+
+ + + diff --git a/apidocs/1.19/org/glassfish/tyrus/core/frame/class-use/CloseFrame.html b/apidocs/1.19/org/glassfish/tyrus/core/frame/class-use/CloseFrame.html new file mode 100644 index 00000000..2035c205 --- /dev/null +++ b/apidocs/1.19/org/glassfish/tyrus/core/frame/class-use/CloseFrame.html @@ -0,0 +1,198 @@ + + + + + +Uses of Class org.glassfish.tyrus.core.frame.CloseFrame (Tyrus 1.19 API) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Class
org.glassfish.tyrus.core.frame.CloseFrame

+
+
+ +
+
+ + + diff --git a/apidocs/1.19/org/glassfish/tyrus/core/frame/class-use/Frame.Builder.html b/apidocs/1.19/org/glassfish/tyrus/core/frame/class-use/Frame.Builder.html new file mode 100644 index 00000000..1a92125f --- /dev/null +++ b/apidocs/1.19/org/glassfish/tyrus/core/frame/class-use/Frame.Builder.html @@ -0,0 +1,268 @@ + + + + + +Uses of Class org.glassfish.tyrus.core.frame.Frame.Builder (Tyrus 1.19 API) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Class
org.glassfish.tyrus.core.frame.Frame.Builder

+
+
+ +
+
+ + + diff --git a/apidocs/1.19/org/glassfish/tyrus/core/frame/class-use/Frame.html b/apidocs/1.19/org/glassfish/tyrus/core/frame/class-use/Frame.html new file mode 100644 index 00000000..a16b2609 --- /dev/null +++ b/apidocs/1.19/org/glassfish/tyrus/core/frame/class-use/Frame.html @@ -0,0 +1,652 @@ + + + + + +Uses of Class org.glassfish.tyrus.core.frame.Frame (Tyrus 1.19 API) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Class
org.glassfish.tyrus.core.frame.Frame

+
+
+ +
+
+ + + diff --git a/apidocs/1.19/org/glassfish/tyrus/core/frame/class-use/PingFrame.html b/apidocs/1.19/org/glassfish/tyrus/core/frame/class-use/PingFrame.html new file mode 100644 index 00000000..81aa0aa2 --- /dev/null +++ b/apidocs/1.19/org/glassfish/tyrus/core/frame/class-use/PingFrame.html @@ -0,0 +1,198 @@ + + + + + +Uses of Class org.glassfish.tyrus.core.frame.PingFrame (Tyrus 1.19 API) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Class
org.glassfish.tyrus.core.frame.PingFrame

+
+
+ +
+
+ + + diff --git a/apidocs/1.19/org/glassfish/tyrus/core/frame/class-use/PongFrame.html b/apidocs/1.19/org/glassfish/tyrus/core/frame/class-use/PongFrame.html new file mode 100644 index 00000000..b0c775b5 --- /dev/null +++ b/apidocs/1.19/org/glassfish/tyrus/core/frame/class-use/PongFrame.html @@ -0,0 +1,199 @@ + + + + + +Uses of Class org.glassfish.tyrus.core.frame.PongFrame (Tyrus 1.19 API) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Class
org.glassfish.tyrus.core.frame.PongFrame

+
+
+ +
+
+ + + diff --git a/apidocs/1.19/org/glassfish/tyrus/core/frame/class-use/TextFrame.html b/apidocs/1.19/org/glassfish/tyrus/core/frame/class-use/TextFrame.html new file mode 100644 index 00000000..2ba2d439 --- /dev/null +++ b/apidocs/1.19/org/glassfish/tyrus/core/frame/class-use/TextFrame.html @@ -0,0 +1,207 @@ + + + + + +Uses of Class org.glassfish.tyrus.core.frame.TextFrame (Tyrus 1.19 API) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Class
org.glassfish.tyrus.core.frame.TextFrame

+
+
+ +
+
+ + + diff --git a/apidocs/1.19/org/glassfish/tyrus/core/frame/class-use/TyrusFrame.FrameType.html b/apidocs/1.19/org/glassfish/tyrus/core/frame/class-use/TyrusFrame.FrameType.html new file mode 100644 index 00000000..ad742d08 --- /dev/null +++ b/apidocs/1.19/org/glassfish/tyrus/core/frame/class-use/TyrusFrame.FrameType.html @@ -0,0 +1,268 @@ + + + + + +Uses of Class org.glassfish.tyrus.core.frame.TyrusFrame.FrameType (Tyrus 1.19 API) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Class
org.glassfish.tyrus.core.frame.TyrusFrame.FrameType

+
+
+ +
+
+ + + diff --git a/apidocs/1.19/org/glassfish/tyrus/core/frame/class-use/TyrusFrame.html b/apidocs/1.19/org/glassfish/tyrus/core/frame/class-use/TyrusFrame.html new file mode 100644 index 00000000..89240289 --- /dev/null +++ b/apidocs/1.19/org/glassfish/tyrus/core/frame/class-use/TyrusFrame.html @@ -0,0 +1,245 @@ + + + + + +Uses of Class org.glassfish.tyrus.core.frame.TyrusFrame (Tyrus 1.19 API) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Class
org.glassfish.tyrus.core.frame.TyrusFrame

+
+
+ +
+
+ + + diff --git a/apidocs/1.19/org/glassfish/tyrus/core/frame/package-summary.html b/apidocs/1.19/org/glassfish/tyrus/core/frame/package-summary.html new file mode 100644 index 00000000..b2d3e6d3 --- /dev/null +++ b/apidocs/1.19/org/glassfish/tyrus/core/frame/package-summary.html @@ -0,0 +1,234 @@ + + + + + +org.glassfish.tyrus.core.frame (Tyrus 1.19 API) + + + + + + + + + + + + + + + +
+ +
+
+
+

Package org.glassfish.tyrus.core.frame

+
+
+
+ + +
WebSocket frame representations.
+
+
    +
  • + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    Class Summary 
    ClassDescription
    BinaryFrame +
    Binary frame representation.
    +
    CloseFrame +
    Close frame representation.
    +
    Frame +
    WebSocket frame representation.
    +
    Frame.Builder +
    Frame builder.
    +
    PingFrame +
    Ping frame representation.
    +
    PongFrame +
    Pong frame representation.
    +
    TextFrame +
    Text frame representation.
    +
    TyrusFrame +
    Frame representation used in Tyrus runtime.
    +
    +
  • +
  • + + + + + + + + + + + + +
    Enum Summary 
    EnumDescription
    TyrusFrame.FrameType +
    An Enumeration of frame types.
    +
    +
  • +
+
+
+ + + diff --git a/apidocs/1.19/org/glassfish/tyrus/core/frame/package-tree.html b/apidocs/1.19/org/glassfish/tyrus/core/frame/package-tree.html new file mode 100644 index 00000000..d3270345 --- /dev/null +++ b/apidocs/1.19/org/glassfish/tyrus/core/frame/package-tree.html @@ -0,0 +1,192 @@ + + + + + +org.glassfish.tyrus.core.frame Class Hierarchy (Tyrus 1.19 API) + + + + + + + + + + + + + + + +
+ +
+
+
+

Hierarchy For Package org.glassfish.tyrus.core.frame

+Package Hierarchies: + +
+
+
+

Class Hierarchy

+ +
+
+

Enum Hierarchy

+
    +
  • java.lang.Object +
      +
    • java.lang.Enum<E> (implements java.lang.Comparable<T>, java.io.Serializable) + +
    • +
    +
  • +
+
+
+
+ + + diff --git a/apidocs/1.19/org/glassfish/tyrus/core/frame/package-use.html b/apidocs/1.19/org/glassfish/tyrus/core/frame/package-use.html new file mode 100644 index 00000000..f4826f60 --- /dev/null +++ b/apidocs/1.19/org/glassfish/tyrus/core/frame/package-use.html @@ -0,0 +1,312 @@ + + + + + +Uses of Package org.glassfish.tyrus.core.frame (Tyrus 1.19 API) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Package
org.glassfish.tyrus.core.frame

+
+
+ +
+
+ + + diff --git a/apidocs/1.19/org/glassfish/tyrus/core/l10n/Localizable.html b/apidocs/1.19/org/glassfish/tyrus/core/l10n/Localizable.html new file mode 100644 index 00000000..8688f5a0 --- /dev/null +++ b/apidocs/1.19/org/glassfish/tyrus/core/l10n/Localizable.html @@ -0,0 +1,362 @@ + + + + + +Localizable (Tyrus 1.19 API) + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +

Interface Localizable

+
+
+
+
    +
  • +
    +
    All Known Implementing Classes:
    +
    LocalizableMessage
    +
    +
    +
    public interface Localizable
    +
    Localizable message.
    +
    +
    Author:
    +
    WS Development Team
    +
    +
  • +
+
+
+
    +
  • + +
    +
      +
    • + + +

      Field Summary

      + + + + + + + + + + + + +
      Fields 
      Modifier and TypeFieldDescription
      static java.lang.StringNOT_LOCALIZABLE +
      Special constant that represents a message that is not localizable.
      +
      +
    • +
    +
    + +
    +
      +
    • + + +

      Method Summary

      + + + + + + + + + + + + + + + + + + + + + + +
      All Methods Instance Methods Abstract Methods 
      Modifier and TypeMethodDescription
      java.lang.Object[]getArguments() +
      Returns the arguments for message formatting.
      +
      java.lang.StringgetKey() +
      Gets the key in the resource bundle.
      +
      java.lang.StringgetResourceBundleName() +
      Get the name of the localization messages resource bundle.
      +
      +
    • +
    +
    +
  • +
+
+
+
    +
  • + +
    +
      +
    • + + +

      Field Detail

      + + + +
        +
      • +

        NOT_LOCALIZABLE

        +
        static final java.lang.String NOT_LOCALIZABLE
        +
        Special constant that represents a message that is not localizable. +

        + Use of "new" is to create an unique instance.

        +
        +
        See Also:
        +
        Constant Field Values
        +
        +
      • +
      +
    • +
    +
    + +
    +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        getKey

        +
        java.lang.String getKey()
        +
        Gets the key in the resource bundle.
        +
        +
        Returns:
        +
        if this method returns NOT_LOCALIZABLE, that means the message is not localizable, and the first + item of getArguments() array holds a String.
        +
        +
      • +
      + + + +
        +
      • +

        getArguments

        +
        java.lang.Object[] getArguments()
        +
        Returns the arguments for message formatting.
        +
        +
        Returns:
        +
        can be an array of length 0 but never be null.
        +
        +
      • +
      + + + +
        +
      • +

        getResourceBundleName

        +
        java.lang.String getResourceBundleName()
        +
        Get the name of the localization messages resource bundle.
        +
        +
        Returns:
        +
        the localization messages resource bundle name.
        +
        +
      • +
      +
    • +
    +
    +
  • +
+
+
+
+ + + + diff --git a/apidocs/1.19/org/glassfish/tyrus/core/l10n/LocalizableMessage.html b/apidocs/1.19/org/glassfish/tyrus/core/l10n/LocalizableMessage.html new file mode 100644 index 00000000..e9d441a6 --- /dev/null +++ b/apidocs/1.19/org/glassfish/tyrus/core/l10n/LocalizableMessage.html @@ -0,0 +1,397 @@ + + + + + +LocalizableMessage (Tyrus 1.19 API) + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +

Class LocalizableMessage

+
+
+
    +
  • java.lang.Object
  • +
  • +
      +
    • org.glassfish.tyrus.core.l10n.LocalizableMessage
    • +
    +
  • +
+
+
    +
  • +
    +
    All Implemented Interfaces:
    +
    Localizable
    +
    +
    +
    public final class LocalizableMessage
    +extends java.lang.Object
    +implements Localizable
    +
    +
    Author:
    +
    WS Development Team
    +
    +
  • +
+
+
+
    +
  • + +
    + +
    + +
    +
      +
    • + + +

      Constructor Summary

      + + + + + + + + + + +
      Constructors 
      ConstructorDescription
      LocalizableMessage​(java.lang.String bundlename, + java.lang.String key, + java.lang.Object... args) 
      +
    • +
    +
    + +
    +
      +
    • + + +

      Method Summary

      + + + + + + + + + + + + + + + + + + + + + + +
      All Methods Instance Methods Concrete Methods 
      Modifier and TypeMethodDescription
      java.lang.Object[]getArguments() +
      Returns the arguments for message formatting.
      +
      java.lang.StringgetKey() +
      Gets the key in the resource bundle.
      +
      java.lang.StringgetResourceBundleName() +
      Get the name of the localization messages resource bundle.
      +
      +
        +
      • + + +

        Methods inherited from class java.lang.Object

        +clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • +
      +
    • +
    +
    +
  • +
+
+
+
    +
  • + +
    +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        LocalizableMessage

        +
        public LocalizableMessage​(java.lang.String bundlename,
        +                          java.lang.String key,
        +                          java.lang.Object... args)
        +
      • +
      +
    • +
    +
    + +
    +
      +
    • + + +

      Method Detail

      + + + + + + + +
        +
      • +

        getArguments

        +
        public java.lang.Object[] getArguments()
        +
        Description copied from interface: Localizable
        +
        Returns the arguments for message formatting.
        +
        +
        Specified by:
        +
        getArguments in interface Localizable
        +
        Returns:
        +
        can be an array of length 0 but never be null.
        +
        +
      • +
      + + + +
        +
      • +

        getResourceBundleName

        +
        public java.lang.String getResourceBundleName()
        +
        Description copied from interface: Localizable
        +
        Get the name of the localization messages resource bundle.
        +
        +
        Specified by:
        +
        getResourceBundleName in interface Localizable
        +
        Returns:
        +
        the localization messages resource bundle name.
        +
        +
      • +
      +
    • +
    +
    +
  • +
+
+
+
+ + + + diff --git a/apidocs/1.19/org/glassfish/tyrus/core/l10n/LocalizableMessageFactory.html b/apidocs/1.19/org/glassfish/tyrus/core/l10n/LocalizableMessageFactory.html new file mode 100644 index 00000000..3d85e626 --- /dev/null +++ b/apidocs/1.19/org/glassfish/tyrus/core/l10n/LocalizableMessageFactory.html @@ -0,0 +1,314 @@ + + + + + +LocalizableMessageFactory (Tyrus 1.19 API) + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +

Class LocalizableMessageFactory

+
+
+
    +
  • java.lang.Object
  • +
  • +
      +
    • org.glassfish.tyrus.core.l10n.LocalizableMessageFactory
    • +
    +
  • +
+
+
    +
  • +
    +
    public class LocalizableMessageFactory
    +extends java.lang.Object
    +
    +
    Author:
    +
    WS Development Team
    +
    +
  • +
+
+
+
    +
  • + +
    +
      +
    • + + +

      Constructor Summary

      + + + + + + + + + + +
      Constructors 
      ConstructorDescription
      LocalizableMessageFactory​(java.lang.String bundlename) 
      +
    • +
    +
    + +
    +
      +
    • + + +

      Method Summary

      + + + + + + + + + + + + +
      All Methods Instance Methods Concrete Methods 
      Modifier and TypeMethodDescription
      LocalizablegetMessage​(java.lang.String key, + java.lang.Object... args) 
      +
        +
      • + + +

        Methods inherited from class java.lang.Object

        +clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • +
      +
    • +
    +
    +
  • +
+
+
+
    +
  • + +
    +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        LocalizableMessageFactory

        +
        public LocalizableMessageFactory​(java.lang.String bundlename)
        +
      • +
      +
    • +
    +
    + +
    +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        getMessage

        +
        public Localizable getMessage​(java.lang.String key,
        +                              java.lang.Object... args)
        +
      • +
      +
    • +
    +
    +
  • +
+
+
+
+ + + + diff --git a/apidocs/1.19/org/glassfish/tyrus/core/l10n/LocalizationMessages.html b/apidocs/1.19/org/glassfish/tyrus/core/l10n/LocalizationMessages.html new file mode 100644 index 00000000..4de82a1c --- /dev/null +++ b/apidocs/1.19/org/glassfish/tyrus/core/l10n/LocalizationMessages.html @@ -0,0 +1,3334 @@ + + + + + +LocalizationMessages (Tyrus 1.19 API) + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +

Class LocalizationMessages

+
+
+
    +
  • java.lang.Object
  • +
  • +
      +
    • org.glassfish.tyrus.core.l10n.LocalizationMessages
    • +
    +
  • +
+
+
    +
  • +
    +
    public final class LocalizationMessages
    +extends java.lang.Object
    +
    Defines string formatting method for each constant in the resource file
    +
  • +
+
+
+ +
+
+
    +
  • + +
    +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        LocalizationMessages

        +
        public LocalizationMessages()
        +
      • +
      +
    • +
    +
    + +
    +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        localizableINVALID_HEADER

        +
        public static Localizable localizableINVALID_HEADER​(java.lang.Object arg0,
        +                                                    java.lang.Object arg1)
        +
      • +
      + + + +
        +
      • +

        INVALID_HEADER

        +
        public static java.lang.String INVALID_HEADER​(java.lang.Object arg0,
        +                                              java.lang.Object arg1)
        +
        Invalid {0} header value: "{1}".
        +
      • +
      + + + +
        +
      • +

        localizableBINARY_MESSAGE_HANDLER_NOT_FOUND

        +
        public static Localizable localizableBINARY_MESSAGE_HANDLER_NOT_FOUND​(java.lang.Object arg0)
        +
      • +
      + + + +
        +
      • +

        BINARY_MESSAGE_HANDLER_NOT_FOUND

        +
        public static java.lang.String BINARY_MESSAGE_HANDLER_NOT_FOUND​(java.lang.Object arg0)
        +
        Binary message handler not found. Session: ''{0}''.
        +
      • +
      + + + +
        +
      • +

        localizableSOCKET_NOT_CONNECTED

        +
        public static Localizable localizableSOCKET_NOT_CONNECTED()
        +
      • +
      + + + +
        +
      • +

        SOCKET_NOT_CONNECTED

        +
        public static java.lang.String SOCKET_NOT_CONNECTED()
        +
        Socket is not connected.
        +
      • +
      + + + +
        +
      • +

        localizableCLASS_CHECKER_ADD_MESSAGE_HANDLER_ERROR

        +
        public static Localizable localizableCLASS_CHECKER_ADD_MESSAGE_HANDLER_ERROR​(java.lang.Object arg0,
        +                                                                             java.lang.Object arg1)
        +
      • +
      + + + +
        +
      • +

        CLASS_CHECKER_ADD_MESSAGE_HANDLER_ERROR

        +
        public static java.lang.String CLASS_CHECKER_ADD_MESSAGE_HANDLER_ERROR​(java.lang.Object arg0,
        +                                                                       java.lang.Object arg1)
        +
        Class {0}. {1}.
        +
      • +
      + + + +
        +
      • +

        localizableAUTHENTICATION_DIGEST_QOP_UNSUPPORTED

        +
        public static Localizable localizableAUTHENTICATION_DIGEST_QOP_UNSUPPORTED​(java.lang.Object arg0)
        +
      • +
      + + + +
        +
      • +

        AUTHENTICATION_DIGEST_QOP_UNSUPPORTED

        +
        public static java.lang.String AUTHENTICATION_DIGEST_QOP_UNSUPPORTED​(java.lang.Object arg0)
        +
        The 'qop' (quality of protection) = {0} extension requested by the server is not supported by Tyrus. Cannot authenticate against the server using Http Digest Authentication.
        +
      • +
      + + + +
        +
      • +

        localizableMESSAGE_HANDLER_ALREADY_REGISTERED_BINARY

        +
        public static Localizable localizableMESSAGE_HANDLER_ALREADY_REGISTERED_BINARY()
        +
      • +
      + + + +
        +
      • +

        MESSAGE_HANDLER_ALREADY_REGISTERED_BINARY

        +
        public static java.lang.String MESSAGE_HANDLER_ALREADY_REGISTERED_BINARY()
        +
        Binary MessageHandler already registered.
        +
      • +
      + + + +
        +
      • +

        localizableSEND_MESSAGE_INFRAGMENT

        +
        public static Localizable localizableSEND_MESSAGE_INFRAGMENT()
        +
      • +
      + + + +
        +
      • +

        SEND_MESSAGE_INFRAGMENT

        +
        public static java.lang.String SEND_MESSAGE_INFRAGMENT()
        +
        Attempting to send a message while sending fragments of another.
        +
      • +
      + + + +
        +
      • +

        localizableCLASS_CHECKER_FORBIDDEN_WEB_SOCKET_OPEN_PARAM

        +
        public static Localizable localizableCLASS_CHECKER_FORBIDDEN_WEB_SOCKET_OPEN_PARAM​(java.lang.Object arg0,
        +                                                                                   java.lang.Object arg1,
        +                                                                                   java.lang.Object arg2)
        +
      • +
      + + + +
        +
      • +

        CLASS_CHECKER_FORBIDDEN_WEB_SOCKET_OPEN_PARAM

        +
        public static java.lang.String CLASS_CHECKER_FORBIDDEN_WEB_SOCKET_OPEN_PARAM​(java.lang.Object arg0,
        +                                                                             java.lang.Object arg1,
        +                                                                             java.lang.Object arg2)
        +
        Method: {0}.{1}: {2} has got multiple parameters of identical type.
        +
      • +
      + + + +
        +
      • +

        localizableURI_COMPONENT_ENCODED_OCTET_INVALID_DIGIT

        +
        public static Localizable localizableURI_COMPONENT_ENCODED_OCTET_INVALID_DIGIT​(java.lang.Object arg0,
        +                                                                               java.lang.Object arg1)
        +
      • +
      + + + +
        +
      • +

        URI_COMPONENT_ENCODED_OCTET_INVALID_DIGIT

        +
        public static java.lang.String URI_COMPONENT_ENCODED_OCTET_INVALID_DIGIT​(java.lang.Object arg0,
        +                                                                         java.lang.Object arg1)
        +
        Malformed percent-encoded octet at index {0}, invalid hexadecimal digit ''{1}''.
        +
      • +
      + + + +
        +
      • +

        localizableTEXT_MESSAGE_HANDLER_NOT_FOUND

        +
        public static Localizable localizableTEXT_MESSAGE_HANDLER_NOT_FOUND​(java.lang.Object arg0)
        +
      • +
      + + + +
        +
      • +

        TEXT_MESSAGE_HANDLER_NOT_FOUND

        +
        public static java.lang.String TEXT_MESSAGE_HANDLER_NOT_FOUND​(java.lang.Object arg0)
        +
        Text message handler not found. Session: ''{0}''.
        +
      • +
      + + + +
        +
      • +

        localizableTEXT_MESSAGE_OUT_OF_ORDER

        +
        public static Localizable localizableTEXT_MESSAGE_OUT_OF_ORDER​(java.lang.Object arg0)
        +
      • +
      + + + +
        +
      • +

        TEXT_MESSAGE_OUT_OF_ORDER

        +
        public static java.lang.String TEXT_MESSAGE_OUT_OF_ORDER​(java.lang.Object arg0)
        +
        Text message received out of order. Session: ''{0}''.
        +
      • +
      + + + +
        +
      • +

        localizableMESSAGE_HANDLER_PARTIAL_INVALID_TYPE

        +
        public static Localizable localizableMESSAGE_HANDLER_PARTIAL_INVALID_TYPE​(java.lang.Object arg0)
        +
      • +
      + + + +
        +
      • +

        MESSAGE_HANDLER_PARTIAL_INVALID_TYPE

        +
        public static java.lang.String MESSAGE_HANDLER_PARTIAL_INVALID_TYPE​(java.lang.Object arg0)
        +
        Partial MessageHandler can''t be of type: {0}.
        +
      • +
      + + + +
        +
      • +

        localizableMESSAGE_HANDLER_DECODER_NOT_REGISTERED

        +
        public static Localizable localizableMESSAGE_HANDLER_DECODER_NOT_REGISTERED​(java.lang.Object arg0)
        +
      • +
      + + + +
        +
      • +

        MESSAGE_HANDLER_DECODER_NOT_REGISTERED

        +
        public static java.lang.String MESSAGE_HANDLER_DECODER_NOT_REGISTERED​(java.lang.Object arg0)
        +
        Decoder for type: {0} has not been registered.
        +
      • +
      + + + +
        +
      • +

        localizableINVALID_RESPONSE_CODE

        +
        public static Localizable localizableINVALID_RESPONSE_CODE​(java.lang.Object arg0,
        +                                                           java.lang.Object arg1)
        +
      • +
      + + + +
        +
      • +

        INVALID_RESPONSE_CODE

        +
        public static java.lang.String INVALID_RESPONSE_CODE​(java.lang.Object arg0,
        +                                                     java.lang.Object arg1)
        +
        Response code was not {0}: {1}.
        +
      • +
      + + + +
        +
      • +

        localizableSEC_KEY_NULL_NOT_ALLOWED

        +
        public static Localizable localizableSEC_KEY_NULL_NOT_ALLOWED()
        +
      • +
      + + + +
        +
      • +

        SEC_KEY_NULL_NOT_ALLOWED

        +
        public static java.lang.String SEC_KEY_NULL_NOT_ALLOWED()
        +
        Null Sec-WebSocket-Key is not allowed.
        +
      • +
      + + + +
        +
      • +

        localizableCLASS_CHECKER_FORBIDDEN_WEB_SOCKET_CLOSE_PARAM

        +
        public static Localizable localizableCLASS_CHECKER_FORBIDDEN_WEB_SOCKET_CLOSE_PARAM​(java.lang.Object arg0,
        +                                                                                    java.lang.Object arg1)
        +
      • +
      + + + +
        +
      • +

        CLASS_CHECKER_FORBIDDEN_WEB_SOCKET_CLOSE_PARAM

        +
        public static java.lang.String CLASS_CHECKER_FORBIDDEN_WEB_SOCKET_CLOSE_PARAM​(java.lang.Object arg0,
        +                                                                              java.lang.Object arg1)
        +
        Method: {0}.{1}: @OnClose has got different params than Session or CloseReason.
        +
      • +
      + + + +
        +
      • +

        localizableEQUIVALENT_PATHS

        +
        public static Localizable localizableEQUIVALENT_PATHS​(java.lang.Object arg0,
        +                                                      java.lang.Object arg1)
        +
      • +
      + + + +
        +
      • +

        EQUIVALENT_PATHS

        +
        public static java.lang.String EQUIVALENT_PATHS​(java.lang.Object arg0,
        +                                                java.lang.Object arg1)
        +
        Found equivalent paths. Added path: ''{0}'' is equivalent with ''{1}''.
        +
      • +
      + + + +
        +
      • +

        localizableURI_COMPONENT_INVALID_CHARACTER

        +
        public static Localizable localizableURI_COMPONENT_INVALID_CHARACTER​(java.lang.Object arg0,
        +                                                                     java.lang.Object arg1,
        +                                                                     java.lang.Object arg2,
        +                                                                     java.lang.Object arg3)
        +
      • +
      + + + +
        +
      • +

        URI_COMPONENT_INVALID_CHARACTER

        +
        public static java.lang.String URI_COMPONENT_INVALID_CHARACTER​(java.lang.Object arg0,
        +                                                               java.lang.Object arg1,
        +                                                               java.lang.Object arg2,
        +                                                               java.lang.Object arg3)
        +
        The string "{0}" for the URI component {1} contains an invalid character, ''{2}'', at index {3}.
        +
      • +
      + + + +
        +
      • +

        localizableMAX_SESSIONS_PER_REMOTEADDR_EXCEEDED

        +
        public static Localizable localizableMAX_SESSIONS_PER_REMOTEADDR_EXCEEDED()
        +
      • +
      + + + +
        +
      • +

        MAX_SESSIONS_PER_REMOTEADDR_EXCEEDED

        +
        public static java.lang.String MAX_SESSIONS_PER_REMOTEADDR_EXCEEDED()
        +
        Maximal number of open sessions per remote address exceeded.
        +
      • +
      + + + +
        +
      • +

        localizableAPPLICATION_DATA_TOO_LONG

        +
        public static Localizable localizableAPPLICATION_DATA_TOO_LONG​(java.lang.Object arg0)
        +
      • +
      + + + +
        +
      • +

        APPLICATION_DATA_TOO_LONG

        +
        public static java.lang.String APPLICATION_DATA_TOO_LONG​(java.lang.Object arg0)
        +
        {0} applicationData exceeded the maximum allowed payload of 125 bytes.
        +
      • +
      + + + +
        +
      • +

        localizableMESSAGE_TOO_LONG

        +
        public static Localizable localizableMESSAGE_TOO_LONG​(java.lang.Object arg0,
        +                                                      java.lang.Object arg1)
        +
      • +
      + + + +
        +
      • +

        MESSAGE_TOO_LONG

        +
        public static java.lang.String MESSAGE_TOO_LONG​(java.lang.Object arg0,
        +                                                java.lang.Object arg1)
        +
        Message too long; allowed message size is {0} bytes. (Current message length is {1} bytes).
        +
      • +
      + + + +
        +
      • +

        localizableAUTHENTICATION_DIGEST_NO_SUCH_ALG

        +
        public static Localizable localizableAUTHENTICATION_DIGEST_NO_SUCH_ALG()
        +
      • +
      + + + +
        +
      • +

        AUTHENTICATION_DIGEST_NO_SUCH_ALG

        +
        public static java.lang.String AUTHENTICATION_DIGEST_NO_SUCH_ALG()
        +
        No such algorithm to generate authorization digest http header.
        +
      • +
      + + + +
        +
      • +

        localizableHANDSHAKE_HTTP_REDIRECTION_NOT_ENABLED

        +
        public static Localizable localizableHANDSHAKE_HTTP_REDIRECTION_NOT_ENABLED​(java.lang.Object arg0)
        +
      • +
      + + + +
        +
      • +

        HANDSHAKE_HTTP_REDIRECTION_NOT_ENABLED

        +
        public static java.lang.String HANDSHAKE_HTTP_REDIRECTION_NOT_ENABLED​(java.lang.Object arg0)
        +
        Received HTTP response status code: {0} and redirect processing is not enabled.
        +
      • +
      + + + +
        +
      • +

        localizableHANDSHAKE_HTTP_REDIRECTION_NEW_LOCATION_MISSING

        +
        public static Localizable localizableHANDSHAKE_HTTP_REDIRECTION_NEW_LOCATION_MISSING()
        +
      • +
      + + + +
        +
      • +

        HANDSHAKE_HTTP_REDIRECTION_NEW_LOCATION_MISSING

        +
        public static java.lang.String HANDSHAKE_HTTP_REDIRECTION_NEW_LOCATION_MISSING()
        +
        Missing or empty Location header in 3xx HTTP Redirect response.
        +
      • +
      + + + +
        +
      • +

        localizableARGUMENT_NOT_NULL

        +
        public static Localizable localizableARGUMENT_NOT_NULL​(java.lang.Object arg0)
        +
      • +
      + + + +
        +
      • +

        ARGUMENT_NOT_NULL

        +
        public static java.lang.String ARGUMENT_NOT_NULL​(java.lang.Object arg0)
        +
        Argument ''{0}'' cannot be null.
        +
      • +
      + + + +
        +
      • +

        localizableCOMPONENT_PROVIDER_NOT_FOUND

        +
        public static Localizable localizableCOMPONENT_PROVIDER_NOT_FOUND​(java.lang.Object arg0)
        +
      • +
      + + + +
        +
      • +

        COMPONENT_PROVIDER_NOT_FOUND

        +
        public static java.lang.String COMPONENT_PROVIDER_NOT_FOUND​(java.lang.Object arg0)
        +
        Component provider for class {0} not found.
        +
      • +
      + + + +
        +
      • +

        localizablePROVIDER_NOT_FOUND

        +
        public static Localizable localizablePROVIDER_NOT_FOUND​(java.lang.Object arg0,
        +                                                        java.lang.Object arg1)
        +
      • +
      + + + +
        +
      • +

        PROVIDER_NOT_FOUND

        +
        public static java.lang.String PROVIDER_NOT_FOUND​(java.lang.Object arg0,
        +                                                  java.lang.Object arg1)
        +
        The class {0} implementing the provider {1} is not found. The provider implementation is ignored.
        +
      • +
      + + + +
        +
      • +

        localizablePARTIAL_MESSAGE_BUFFER_OVERFLOW

        +
        public static Localizable localizablePARTIAL_MESSAGE_BUFFER_OVERFLOW()
        +
      • +
      + + + +
        +
      • +

        PARTIAL_MESSAGE_BUFFER_OVERFLOW

        +
        public static java.lang.String PARTIAL_MESSAGE_BUFFER_OVERFLOW()
        +
        Partial message could not be delivered due to buffer overflow.
        +
      • +
      + + + +
        +
      • +

        localizableRSV_INCORRECTLY_SET

        +
        public static Localizable localizableRSV_INCORRECTLY_SET()
        +
      • +
      + + + +
        +
      • +

        RSV_INCORRECTLY_SET

        +
        public static java.lang.String RSV_INCORRECTLY_SET()
        +
        RSV bit(s) incorrectly set.
        +
      • +
      + + + +
        +
      • +

        localizableURI_COMPONENT_ENCODED_OCTET_MALFORMED

        +
        public static Localizable localizableURI_COMPONENT_ENCODED_OCTET_MALFORMED​(java.lang.Object arg0)
        +
      • +
      + + + +
        +
      • +

        URI_COMPONENT_ENCODED_OCTET_MALFORMED

        +
        public static java.lang.String URI_COMPONENT_ENCODED_OCTET_MALFORMED​(java.lang.Object arg0)
        +
        Malformed percent-encoded octet at index {0}.
        +
      • +
      + + + +
        +
      • +

        localizableCONTROL_FRAME_FRAGMENTED

        +
        public static Localizable localizableCONTROL_FRAME_FRAGMENTED()
        +
      • +
      + + + +
        +
      • +

        CONTROL_FRAME_FRAGMENTED

        +
        public static java.lang.String CONTROL_FRAME_FRAGMENTED()
        +
        Fragmented control frame.
        +
      • +
      + + + +
        +
      • +

        localizableCLASS_CHECKER_MULTIPLE_IDENTICAL_PARAMS

        +
        public static Localizable localizableCLASS_CHECKER_MULTIPLE_IDENTICAL_PARAMS​(java.lang.Object arg0,
        +                                                                             java.lang.Object arg1)
        +
      • +
      + + + +
        +
      • +

        CLASS_CHECKER_MULTIPLE_IDENTICAL_PARAMS

        +
        public static java.lang.String CLASS_CHECKER_MULTIPLE_IDENTICAL_PARAMS​(java.lang.Object arg0,
        +                                                                       java.lang.Object arg1)
        +
        Method: {0}.{1}: has got multiple parameters of identical type.
        +
      • +
      + + + +
        +
      • +

        localizableAUTHENTICATION_CREATE_AUTH_HEADER_FAILED

        +
        public static Localizable localizableAUTHENTICATION_CREATE_AUTH_HEADER_FAILED()
        +
      • +
      + + + +
        +
      • +

        AUTHENTICATION_CREATE_AUTH_HEADER_FAILED

        +
        public static java.lang.String AUTHENTICATION_CREATE_AUTH_HEADER_FAILED()
        +
        Could not add authorization header in http request.
        +
      • +
      + + + +
        +
      • +

        localizableMESSAGE_HANDLER_ALREADY_REGISTERED_TYPE

        +
        public static Localizable localizableMESSAGE_HANDLER_ALREADY_REGISTERED_TYPE​(java.lang.Object arg0)
        +
      • +
      + + + +
        +
      • +

        MESSAGE_HANDLER_ALREADY_REGISTERED_TYPE

        +
        public static java.lang.String MESSAGE_HANDLER_ALREADY_REGISTERED_TYPE​(java.lang.Object arg0)
        +
        MessageHandler for type: {0} already registered.
        +
      • +
      + + + +
        +
      • +

        localizableCLASS_CHECKER_MANDATORY_PARAM_MISSING

        +
        public static Localizable localizableCLASS_CHECKER_MANDATORY_PARAM_MISSING​(java.lang.Object arg0,
        +                                                                           java.lang.Object arg1)
        +
      • +
      + + + +
        +
      • +

        CLASS_CHECKER_MANDATORY_PARAM_MISSING

        +
        public static java.lang.String CLASS_CHECKER_MANDATORY_PARAM_MISSING​(java.lang.Object arg0,
        +                                                                     java.lang.Object arg1)
        +
        Method: {0}.{1}: does not have mandatory Throwable param.
        +
      • +
      + + + +
        +
      • +

        localizableENDPOINT_WRONG_PATH_PARAM

        +
        public static Localizable localizableENDPOINT_WRONG_PATH_PARAM​(java.lang.Object arg0,
        +                                                               java.lang.Object arg1)
        +
      • +
      + + + +
        +
      • +

        ENDPOINT_WRONG_PATH_PARAM

        +
        public static java.lang.String ENDPOINT_WRONG_PATH_PARAM​(java.lang.Object arg0,
        +                                                         java.lang.Object arg1)
        +
        Method: {0}: {1} is not allowed type for @PathParameter.
        +
      • +
      + + + +
        +
      • +

        localizableCONNECTION_HAS_BEEN_CLOSED

        +
        public static Localizable localizableCONNECTION_HAS_BEEN_CLOSED()
        +
      • +
      + + + +
        +
      • +

        CONNECTION_HAS_BEEN_CLOSED

        +
        public static java.lang.String CONNECTION_HAS_BEEN_CLOSED()
        +
        The connection has been closed.
        +
      • +
      + + + +
        +
      • +

        localizableHANDSHAKE_HTTP_RETRY_AFTER_MESSAGE

        +
        public static Localizable localizableHANDSHAKE_HTTP_RETRY_AFTER_MESSAGE()
        +
      • +
      + + + +
        +
      • +

        HANDSHAKE_HTTP_RETRY_AFTER_MESSAGE

        +
        public static java.lang.String HANDSHAKE_HTTP_RETRY_AFTER_MESSAGE()
        +
        HTTP Status code 503 - Service Unavailable.
        +
      • +
      + + + +
        +
      • +

        localizableDEPENDENT_CLASS_OF_PROVIDER_NOT_FOUND

        +
        public static Localizable localizableDEPENDENT_CLASS_OF_PROVIDER_NOT_FOUND​(java.lang.Object arg0,
        +                                                                           java.lang.Object arg1,
        +                                                                           java.lang.Object arg2)
        +
      • +
      + + + +
        +
      • +

        DEPENDENT_CLASS_OF_PROVIDER_NOT_FOUND

        +
        public static java.lang.String DEPENDENT_CLASS_OF_PROVIDER_NOT_FOUND​(java.lang.Object arg0,
        +                                                                     java.lang.Object arg1,
        +                                                                     java.lang.Object arg2)
        +
        A dependent class, {0}, of the class {1} implementing the provider {2} is not found. The provider implementation is ignored.
        +
      • +
      + + + +
        +
      • +

        localizableFRAME_WRITE_CANCELLED

        +
        public static Localizable localizableFRAME_WRITE_CANCELLED()
        +
      • +
      + + + +
        +
      • +

        FRAME_WRITE_CANCELLED

        +
        public static java.lang.String FRAME_WRITE_CANCELLED()
        +
        Frame writing was canceled.
        +
      • +
      + + + +
        +
      • +

        localizableUNEXPECTED_ERROR_CONNECTION_CLOSE

        +
        public static Localizable localizableUNEXPECTED_ERROR_CONNECTION_CLOSE()
        +
      • +
      + + + +
        +
      • +

        UNEXPECTED_ERROR_CONNECTION_CLOSE

        +
        public static java.lang.String UNEXPECTED_ERROR_CONNECTION_CLOSE()
        +
        Unexpected error, closing connection.
        +
      • +
      + + + +
        +
      • +

        localizableENDPOINT_MULTIPLE_SESSION_PARAM

        +
        public static Localizable localizableENDPOINT_MULTIPLE_SESSION_PARAM​(java.lang.Object arg0)
        +
      • +
      + + + +
        +
      • +

        ENDPOINT_MULTIPLE_SESSION_PARAM

        +
        public static java.lang.String ENDPOINT_MULTIPLE_SESSION_PARAM​(java.lang.Object arg0)
        +
        Method {0} has got two or more Session parameters.
        +
      • +
      + + + +
        +
      • +

        localizableUNEXPECTED_STATE

        +
        public static Localizable localizableUNEXPECTED_STATE​(java.lang.Object arg0)
        +
      • +
      + + + +
        +
      • +

        UNEXPECTED_STATE

        +
        public static java.lang.String UNEXPECTED_STATE​(java.lang.Object arg0)
        +
        Unexpected state: {0}.
        +
      • +
      + + + +
        +
      • +

        localizableDEPENDENT_CLASS_OF_PROVIDER_FORMAT_ERROR

        +
        public static Localizable localizableDEPENDENT_CLASS_OF_PROVIDER_FORMAT_ERROR​(java.lang.Object arg0,
        +                                                                              java.lang.Object arg1,
        +                                                                              java.lang.Object arg2)
        +
      • +
      + + + +
        +
      • +

        DEPENDENT_CLASS_OF_PROVIDER_FORMAT_ERROR

        +
        public static java.lang.String DEPENDENT_CLASS_OF_PROVIDER_FORMAT_ERROR​(java.lang.Object arg0,
        +                                                                        java.lang.Object arg1,
        +                                                                        java.lang.Object arg2)
        +
        {0}. A dependent class of the class {1} implementing the provider {2} is malformed. The provider implementation is ignored. Check if the malformed class is part of a stubbed jar that used for compiling only.
        +
      • +
      + + + +
        +
      • +

        localizableENDPOINT_MAX_MESSAGE_SIZE_TOO_LONG

        +
        public static Localizable localizableENDPOINT_MAX_MESSAGE_SIZE_TOO_LONG​(java.lang.Object arg0,
        +                                                                        java.lang.Object arg1,
        +                                                                        java.lang.Object arg2,
        +                                                                        java.lang.Object arg3)
        +
      • +
      + + + +
        +
      • +

        ENDPOINT_MAX_MESSAGE_SIZE_TOO_LONG

        +
        public static java.lang.String ENDPOINT_MAX_MESSAGE_SIZE_TOO_LONG​(java.lang.Object arg0,
        +                                                                  java.lang.Object arg1,
        +                                                                  java.lang.Object arg2,
        +                                                                  java.lang.Object arg3)
        +
        MaxMessageSize {0} on method {1} in endpoint {2} is larger than the container incoming buffer size {3}.
        +
      • +
      + + + +
        +
      • +

        localizableBINARY_MESSAGE_OUT_OF_ORDER

        +
        public static Localizable localizableBINARY_MESSAGE_OUT_OF_ORDER​(java.lang.Object arg0)
        +
      • +
      + + + +
        +
      • +

        BINARY_MESSAGE_OUT_OF_ORDER

        +
        public static java.lang.String BINARY_MESSAGE_OUT_OF_ORDER​(java.lang.Object arg0)
        +
        Binary message received out of order. Session: ''{0}''.
        +
      • +
      + + + +
        +
      • +

        localizableENCODING_FAILED

        +
        public static Localizable localizableENCODING_FAILED()
        +
      • +
      + + + +
        +
      • +

        ENCODING_FAILED

        +
        public static java.lang.String ENCODING_FAILED()
        +
        Encoding failed.
        +
      • +
      + + + +
        +
      • +

        localizableENDPOINT_MULTIPLE_METHODS

        +
        public static Localizable localizableENDPOINT_MULTIPLE_METHODS​(java.lang.Object arg0,
        +                                                               java.lang.Object arg1,
        +                                                               java.lang.Object arg2,
        +                                                               java.lang.Object arg3)
        +
      • +
      + + + +
        +
      • +

        ENDPOINT_MULTIPLE_METHODS

        +
        public static java.lang.String ENDPOINT_MULTIPLE_METHODS​(java.lang.Object arg0,
        +                                                         java.lang.Object arg1,
        +                                                         java.lang.Object arg2,
        +                                                         java.lang.Object arg3)
        +
        Multiple methods using {0} annotation in class {1}: {2} and {3}. The latter will be ignored.
        +
      • +
      + + + +
        +
      • +

        localizablePROVIDER_COULD_NOT_BE_CREATED

        +
        public static Localizable localizablePROVIDER_COULD_NOT_BE_CREATED​(java.lang.Object arg0,
        +                                                                   java.lang.Object arg1,
        +                                                                   java.lang.Object arg2)
        +
      • +
      + + + +
        +
      • +

        PROVIDER_COULD_NOT_BE_CREATED

        +
        public static java.lang.String PROVIDER_COULD_NOT_BE_CREATED​(java.lang.Object arg0,
        +                                                             java.lang.Object arg1,
        +                                                             java.lang.Object arg2)
        +
        The class {0} implementing provider {1} could not be instantiated: {2}
        +
      • +
      + + + +
        +
      • +

        localizableNO_DECODER_FOUND

        +
        public static Localizable localizableNO_DECODER_FOUND()
        +
      • +
      + + + +
        +
      • +

        NO_DECODER_FOUND

        +
        public static java.lang.String NO_DECODER_FOUND()
        +
        No decoder found.
        +
      • +
      + + + +
        +
      • +

        localizableENDPOINT_UNKNOWN_PARAMS

        +
        public static Localizable localizableENDPOINT_UNKNOWN_PARAMS​(java.lang.Object arg0,
        +                                                             java.lang.Object arg1,
        +                                                             java.lang.Object arg2)
        +
      • +
      + + + +
        +
      • +

        ENDPOINT_UNKNOWN_PARAMS

        +
        public static java.lang.String ENDPOINT_UNKNOWN_PARAMS​(java.lang.Object arg0,
        +                                                       java.lang.Object arg1,
        +                                                       java.lang.Object arg2)
        +
        Unknown parameter(s) for {0}.{1} method annotated with @OnError annotation: {2}. This method will be ignored.
        +
      • +
      + + + +
        +
      • +

        localizableMESSAGE_HANDLER_ALREADY_REGISTERED_TEXT

        +
        public static Localizable localizableMESSAGE_HANDLER_ALREADY_REGISTERED_TEXT()
        +
      • +
      + + + +
        +
      • +

        MESSAGE_HANDLER_ALREADY_REGISTERED_TEXT

        +
        public static java.lang.String MESSAGE_HANDLER_ALREADY_REGISTERED_TEXT()
        +
        Text MessageHandler already registered.
        +
      • +
      + + + +
        +
      • +

        localizablePROVIDER_CLASS_COULD_NOT_BE_LOADED

        +
        public static Localizable localizablePROVIDER_CLASS_COULD_NOT_BE_LOADED​(java.lang.Object arg0,
        +                                                                        java.lang.Object arg1,
        +                                                                        java.lang.Object arg2)
        +
      • +
      + + + +
        +
      • +

        PROVIDER_CLASS_COULD_NOT_BE_LOADED

        +
        public static java.lang.String PROVIDER_CLASS_COULD_NOT_BE_LOADED​(java.lang.Object arg0,
        +                                                                  java.lang.Object arg1,
        +                                                                  java.lang.Object arg2)
        +
        The class {0} implementing provider {1} could not be loaded: {2}
        +
      • +
      + + + +
        +
      • +

        localizableAUTHENTICATION_CREDENTIALS_MISSING

        +
        public static Localizable localizableAUTHENTICATION_CREDENTIALS_MISSING()
        +
      • +
      + + + +
        +
      • +

        AUTHENTICATION_CREDENTIALS_MISSING

        +
        public static java.lang.String AUTHENTICATION_CREDENTIALS_MISSING()
        +
        Credentials are missing.
        +
      • +
      + + + +
        +
      • +

        localizableILLEGAL_CONFIG_SYNTAX

        +
        public static Localizable localizableILLEGAL_CONFIG_SYNTAX()
        +
      • +
      + + + +
        +
      • +

        ILLEGAL_CONFIG_SYNTAX

        +
        public static java.lang.String ILLEGAL_CONFIG_SYNTAX()
        +
        Illegal configuration-file syntax.
        +
      • +
      + + + +
        +
      • +

        localizableCLASS_CHECKER_FORBIDDEN_WEB_SOCKET_ERROR_PARAM

        +
        public static Localizable localizableCLASS_CHECKER_FORBIDDEN_WEB_SOCKET_ERROR_PARAM​(java.lang.Object arg0,
        +                                                                                    java.lang.Object arg1,
        +                                                                                    java.lang.Object arg2)
        +
      • +
      + + + +
        +
      • +

        CLASS_CHECKER_FORBIDDEN_WEB_SOCKET_ERROR_PARAM

        +
        public static java.lang.String CLASS_CHECKER_FORBIDDEN_WEB_SOCKET_ERROR_PARAM​(java.lang.Object arg0,
        +                                                                              java.lang.Object arg1,
        +                                                                              java.lang.Object arg2)
        +
        Method: {0}.{1}: {2} is not allowed as parameter type for method annotated with @OnError.
        +
      • +
      + + + +
        +
      • +

        localizableMAX_SESSIONS_PER_APP_EXCEEDED

        +
        public static Localizable localizableMAX_SESSIONS_PER_APP_EXCEEDED()
        +
      • +
      + + + +
        +
      • +

        MAX_SESSIONS_PER_APP_EXCEEDED

        +
        public static java.lang.String MAX_SESSIONS_PER_APP_EXCEEDED()
        +
        Maximal number of open sessions per application exceeded.
        +
      • +
      + + + +
        +
      • +

        localizableEXCEPTION_CAUGHT_WHILE_LOADING_SPI_PROVIDERS

        +
        public static Localizable localizableEXCEPTION_CAUGHT_WHILE_LOADING_SPI_PROVIDERS()
        +
      • +
      + + + +
        +
      • +

        EXCEPTION_CAUGHT_WHILE_LOADING_SPI_PROVIDERS

        +
        public static java.lang.String EXCEPTION_CAUGHT_WHILE_LOADING_SPI_PROVIDERS()
        +
        Exception caught while loading SPI providers.
        +
      • +
      + + + +
        +
      • +

        localizableSEC_KEY_INVALID_LENGTH

        +
        public static Localizable localizableSEC_KEY_INVALID_LENGTH​(java.lang.Object arg0)
        +
      • +
      + + + +
        +
      • +

        SEC_KEY_INVALID_LENGTH

        +
        public static java.lang.String SEC_KEY_INVALID_LENGTH​(java.lang.Object arg0)
        +
        Invalid Sec-WebSocket-Key length. Should be 20 and is: {0}.
        +
      • +
      + + + +
        +
      • +

        localizableUNHANDLED_TEXT_MESSAGE

        +
        public static Localizable localizableUNHANDLED_TEXT_MESSAGE​(java.lang.Object arg0)
        +
      • +
      + + + +
        +
      • +

        UNHANDLED_TEXT_MESSAGE

        +
        public static java.lang.String UNHANDLED_TEXT_MESSAGE​(java.lang.Object arg0)
        +
        Unhandled text message. Session: {0}.
        +
      • +
      + + + +
        +
      • +

        localizableBUFFER_OVERFLOW

        +
        public static Localizable localizableBUFFER_OVERFLOW()
        +
      • +
      + + + +
        +
      • +

        BUFFER_OVERFLOW

        +
        public static java.lang.String BUFFER_OVERFLOW()
        +
        Buffer overflow.
        +
      • +
      + + + +
        +
      • +

        localizableCONTROL_FRAME_LENGTH

        +
        public static Localizable localizableCONTROL_FRAME_LENGTH()
        +
      • +
      + + + +
        +
      • +

        CONTROL_FRAME_LENGTH

        +
        public static java.lang.String CONTROL_FRAME_LENGTH()
        +
        Control frame payloads must be no greater than 125 bytes.
        +
      • +
      + + + +
        +
      • +

        localizableHANDSHAKE_HTTP_REDIRECTION_MAX_REDIRECTION

        +
        public static Localizable localizableHANDSHAKE_HTTP_REDIRECTION_MAX_REDIRECTION​(java.lang.Object arg0)
        +
      • +
      + + + +
        +
      • +

        HANDSHAKE_HTTP_REDIRECTION_MAX_REDIRECTION

        +
        public static java.lang.String HANDSHAKE_HTTP_REDIRECTION_MAX_REDIRECTION​(java.lang.Object arg0)
        +
        Redirect attempts exceeded maximum allowed limit of ({0}) redirects.
        +
      • +
      + + + +
        +
      • +

        localizableCOMPONENT_PROVIDER_THREW_EXCEPTION

        +
        public static Localizable localizableCOMPONENT_PROVIDER_THREW_EXCEPTION​(java.lang.Object arg0)
        +
      • +
      + + + +
        +
      • +

        COMPONENT_PROVIDER_THREW_EXCEPTION

        +
        public static java.lang.String COMPONENT_PROVIDER_THREW_EXCEPTION​(java.lang.Object arg0)
        +
        Component provider threw exception when providing instance of class {0}.
        +
      • +
      + + + +
        +
      • +

        localizableMAX_SESSIONS_PER_ENDPOINT_EXCEEDED

        +
        public static Localizable localizableMAX_SESSIONS_PER_ENDPOINT_EXCEEDED()
        +
      • +
      + + + +
        +
      • +

        MAX_SESSIONS_PER_ENDPOINT_EXCEEDED

        +
        public static java.lang.String MAX_SESSIONS_PER_ENDPOINT_EXCEEDED()
        +
        Maximal number of open sessions per endpoint exceeded.
        +
      • +
      + + + +
        +
      • +

        localizableERROR_CAUGHT_WHILE_LOADING_SPI_PROVIDERS

        +
        public static Localizable localizableERROR_CAUGHT_WHILE_LOADING_SPI_PROVIDERS()
        +
      • +
      + + + +
        +
      • +

        ERROR_CAUGHT_WHILE_LOADING_SPI_PROVIDERS

        +
        public static java.lang.String ERROR_CAUGHT_WHILE_LOADING_SPI_PROVIDERS()
        +
        Error caught while loading SPI providers.
        +
      • +
      + + + +
        +
      • +

        localizablePARTIAL_BINARY_MESSAGE_OUT_OF_ORDER

        +
        public static Localizable localizablePARTIAL_BINARY_MESSAGE_OUT_OF_ORDER​(java.lang.Object arg0)
        +
      • +
      + + + +
        +
      • +

        PARTIAL_BINARY_MESSAGE_OUT_OF_ORDER

        +
        public static java.lang.String PARTIAL_BINARY_MESSAGE_OUT_OF_ORDER​(java.lang.Object arg0)
        +
        Partial binary message received out of order. Session: ''{0}''.
        +
      • +
      + + + +
        +
      • +

        localizableMESSAGE_HANDLER_ILLEGAL_ARGUMENT

        +
        public static Localizable localizableMESSAGE_HANDLER_ILLEGAL_ARGUMENT​(java.lang.Object arg0)
        +
      • +
      + + + +
        +
      • +

        MESSAGE_HANDLER_ILLEGAL_ARGUMENT

        +
        public static java.lang.String MESSAGE_HANDLER_ILLEGAL_ARGUMENT​(java.lang.Object arg0)
        +
        Illegal MessageHandler argument value: {0}.
        +
      • +
      + + + +
        +
      • +

        localizableIOEXCEPTION_CLOSE

        +
        public static Localizable localizableIOEXCEPTION_CLOSE()
        +
      • +
      + + + +
        +
      • +

        IOEXCEPTION_CLOSE

        +
        public static java.lang.String IOEXCEPTION_CLOSE()
        +
        IOException thrown when closing connection.
        +
      • +
      + + + +
        +
      • +

        localizableCLASS_NOT_INSTANTIATED

        +
        public static Localizable localizableCLASS_NOT_INSTANTIATED​(java.lang.Object arg0)
        +
      • +
      + + + +
        +
      • +

        CLASS_NOT_INSTANTIATED

        +
        public static java.lang.String CLASS_NOT_INSTANTIATED​(java.lang.Object arg0)
        +
        Class {0} couldn''t be instantiated.
        +
      • +
      + + + +
        +
      • +

        localizableHANDSHAKE_HTTP_REDIRECTION_NEW_LOCATION_ERROR

        +
        public static Localizable localizableHANDSHAKE_HTTP_REDIRECTION_NEW_LOCATION_ERROR​(java.lang.Object arg0)
        +
      • +
      + + + +
        +
      • +

        HANDSHAKE_HTTP_REDIRECTION_NEW_LOCATION_ERROR

        +
        public static java.lang.String HANDSHAKE_HTTP_REDIRECTION_NEW_LOCATION_ERROR​(java.lang.Object arg0)
        +
        Invalid URI in Location header: "{0}".
        +
      • +
      + + + +
        +
      • +

        localizableSEC_KEY_INVALID_SERVER

        +
        public static Localizable localizableSEC_KEY_INVALID_SERVER()
        +
      • +
      + + + +
        +
      • +

        SEC_KEY_INVALID_SERVER

        +
        public static java.lang.String SEC_KEY_INVALID_SERVER()
        +
        Sec-WebSocket-Key returned from server does not match expected response.
        +
      • +
      + + + +
        +
      • +

        localizableHANDSHAKE_HTTP_REDIRECTION_INFINITE_LOOP

        +
        public static Localizable localizableHANDSHAKE_HTTP_REDIRECTION_INFINITE_LOOP()
        +
      • +
      + + + +
        +
      • +

        HANDSHAKE_HTTP_REDIRECTION_INFINITE_LOOP

        +
        public static java.lang.String HANDSHAKE_HTTP_REDIRECTION_INFINITE_LOOP()
        +
        Infinite HTTP Redirection loop detected.
        +
      • +
      + + + +
        +
      • +

        localizableCLIENT_CANNOT_CONNECT

        +
        public static Localizable localizableCLIENT_CANNOT_CONNECT​(java.lang.Object arg0)
        +
      • +
      + + + +
        +
      • +

        CLIENT_CANNOT_CONNECT

        +
        public static java.lang.String CLIENT_CANNOT_CONNECT​(java.lang.Object arg0)
        +
        Client cannot connect to "{0}".
        +
      • +
      + + + +
        +
      • +

        localizableAUTHENTICATION_FAILED

        +
        public static Localizable localizableAUTHENTICATION_FAILED()
        +
      • +
      + + + +
        +
      • +

        AUTHENTICATION_FAILED

        +
        public static java.lang.String AUTHENTICATION_FAILED()
        +
        Authentication failed.
        +
      • +
      + + + +
        +
      • +

        localizableENDPOINT_UNHANDLED_EXCEPTION

        +
        public static Localizable localizableENDPOINT_UNHANDLED_EXCEPTION​(java.lang.Object arg0)
        +
      • +
      + + + +
        +
      • +

        ENDPOINT_UNHANDLED_EXCEPTION

        +
        public static java.lang.String ENDPOINT_UNHANDLED_EXCEPTION​(java.lang.Object arg0)
        +
        Unhandled exception in endpoint {0}.
        +
      • +
      + + + +
        +
      • +

        localizableILLEGAL_UTF_8_SEQUENCE

        +
        public static Localizable localizableILLEGAL_UTF_8_SEQUENCE()
        +
      • +
      + + + +
        +
      • +

        ILLEGAL_UTF_8_SEQUENCE

        +
        public static java.lang.String ILLEGAL_UTF_8_SEQUENCE()
        +
        Illegal UTF-8 Sequence.
        +
      • +
      + + + +
        +
      • +

        localizableSESSION_CLOSED_IDLE_TIMEOUT

        +
        public static Localizable localizableSESSION_CLOSED_IDLE_TIMEOUT()
        +
      • +
      + + + +
        +
      • +

        SESSION_CLOSED_IDLE_TIMEOUT

        +
        public static java.lang.String SESSION_CLOSED_IDLE_TIMEOUT()
        +
        "Session closed by the container because of the idle timeout."
        +
      • +
      + + + +
        +
      • +

        localizablePARTIAL_TEXT_MESSAGE_OUT_OF_ORDER

        +
        public static Localizable localizablePARTIAL_TEXT_MESSAGE_OUT_OF_ORDER​(java.lang.Object arg0)
        +
      • +
      + + + +
        +
      • +

        PARTIAL_TEXT_MESSAGE_OUT_OF_ORDER

        +
        public static java.lang.String PARTIAL_TEXT_MESSAGE_OUT_OF_ORDER​(java.lang.Object arg0)
        +
        Partial text message received out of order. Session: ''{0}''.
        +
      • +
      + + + +
        +
      • +

        localizableENDPOINT_ANNOTATION_NOT_FOUND

        +
        public static Localizable localizableENDPOINT_ANNOTATION_NOT_FOUND​(java.lang.Object arg0,
        +                                                                   java.lang.Object arg1)
        +
      • +
      + + + +
        +
      • +

        ENDPOINT_ANNOTATION_NOT_FOUND

        +
        public static java.lang.String ENDPOINT_ANNOTATION_NOT_FOUND​(java.lang.Object arg0,
        +                                                             java.lang.Object arg1)
        +
        {0} annotation not found on class {1}.
        +
      • +
      + + + +
        +
      • +

        localizableMESSAGE_HANDLER_WHOLE_OR_PARTIAL

        +
        public static Localizable localizableMESSAGE_HANDLER_WHOLE_OR_PARTIAL()
        +
      • +
      + + + +
        +
      • +

        MESSAGE_HANDLER_WHOLE_OR_PARTIAL

        +
        public static java.lang.String MESSAGE_HANDLER_WHOLE_OR_PARTIAL()
        +
        MessageHandler must implement MessageHandler.Whole or MessageHandler.Partial.
        +
      • +
      + + + +
        +
      • +

        localizableMESSAGE_HANDLER_ALREADY_REGISTERED_PONG

        +
        public static Localizable localizableMESSAGE_HANDLER_ALREADY_REGISTERED_PONG()
        +
      • +
      + + + +
        +
      • +

        MESSAGE_HANDLER_ALREADY_REGISTERED_PONG

        +
        public static java.lang.String MESSAGE_HANDLER_ALREADY_REGISTERED_PONG()
        +
        Pong MessageHandler already registered.
        +
      • +
      + + + +
        +
      • +

        localizableORIGIN_NOT_VERIFIED

        +
        public static Localizable localizableORIGIN_NOT_VERIFIED()
        +
      • +
      + + + +
        +
      • +

        ORIGIN_NOT_VERIFIED

        +
        public static java.lang.String ORIGIN_NOT_VERIFIED()
        +
        Origin not verified.
        +
      • +
      + + + +
        +
      • +

        localizableHEADERS_MISSING

        +
        public static Localizable localizableHEADERS_MISSING()
        +
      • +
      + + + +
        +
      • +

        HEADERS_MISSING

        +
        public static java.lang.String HEADERS_MISSING()
        +
        Missing headers required for WebSocket negotiation.
        +
      • +
      + + + +
        +
      • +

        localizableUNEXPECTED_END_FRAGMENT

        +
        public static Localizable localizableUNEXPECTED_END_FRAGMENT()
        +
      • +
      + + + +
        +
      • +

        UNEXPECTED_END_FRAGMENT

        +
        public static java.lang.String UNEXPECTED_END_FRAGMENT()
        +
        End fragment sent, but wasn''t processing any previous fragments.
        +
      • +
      + + + +
        +
      • +

        localizableFRAGMENT_INVALID_OPCODE

        +
        public static Localizable localizableFRAGMENT_INVALID_OPCODE()
        +
      • +
      + + + +
        +
      • +

        FRAGMENT_INVALID_OPCODE

        +
        public static java.lang.String FRAGMENT_INVALID_OPCODE()
        +
        Fragment sent but opcode was not 0.
        +
      • +
      + + + +
        +
      • +

        localizableENDPOINT_EXCEPTION_FROM_ON_ERROR

        +
        public static Localizable localizableENDPOINT_EXCEPTION_FROM_ON_ERROR​(java.lang.Object arg0)
        +
      • +
      + + + +
        +
      • +

        ENDPOINT_EXCEPTION_FROM_ON_ERROR

        +
        public static java.lang.String ENDPOINT_EXCEPTION_FROM_ON_ERROR​(java.lang.Object arg0)
        +
        Exception thrown from onError method {0}.
        +
      • +
      + + + +
        +
      • +

        localizableILLEGAL_PROVIDER_CLASS_NAME

        +
        public static Localizable localizableILLEGAL_PROVIDER_CLASS_NAME​(java.lang.Object arg0)
        +
      • +
      + + + +
        +
      • +

        ILLEGAL_PROVIDER_CLASS_NAME

        +
        public static java.lang.String ILLEGAL_PROVIDER_CLASS_NAME​(java.lang.Object arg0)
        +
        Illegal provider-class name: {0}.
        +
      • +
      + + + +
        +
      • +

        localizableEXTENSION_EXCEPTION

        +
        public static Localizable localizableEXTENSION_EXCEPTION​(java.lang.Object arg0,
        +                                                         java.lang.Object arg1)
        +
      • +
      + + + +
        +
      • +

        EXTENSION_EXCEPTION

        +
        public static java.lang.String EXTENSION_EXCEPTION​(java.lang.Object arg0,
        +                                                   java.lang.Object arg1)
        +
        Extension ''{0}'' threw an exception during processOutgoing method invocation: "{1}".
        +
      • +
      + + + +
        +
      • +

        localizableCLASS_CHECKER_FORBIDDEN_RETURN_TYPE

        +
        public static Localizable localizableCLASS_CHECKER_FORBIDDEN_RETURN_TYPE​(java.lang.Object arg0,
        +                                                                         java.lang.Object arg1)
        +
      • +
      + + + +
        +
      • +

        CLASS_CHECKER_FORBIDDEN_RETURN_TYPE

        +
        public static java.lang.String CLASS_CHECKER_FORBIDDEN_RETURN_TYPE​(java.lang.Object arg0,
        +                                                                   java.lang.Object arg1)
        +
        Method: {0}.{1}: has got unsupported return type.
        +
      • +
      + + + +
        +
      • +

        localizableDATA_UNEXPECTED_LENGTH

        +
        public static Localizable localizableDATA_UNEXPECTED_LENGTH​(java.lang.Object arg0,
        +                                                            java.lang.Object arg1)
        +
      • +
      + + + +
        +
      • +

        DATA_UNEXPECTED_LENGTH

        +
        public static java.lang.String DATA_UNEXPECTED_LENGTH​(java.lang.Object arg0,
        +                                                      java.lang.Object arg1)
        +
        Data read ({0}) is not the expected size ({1}).
        +
      • +
      + + + +
        +
      • +

        localizableCONNECTION_NULL

        +
        public static Localizable localizableCONNECTION_NULL()
        +
      • +
      + + + +
        +
      • +

        CONNECTION_NULL

        +
        public static java.lang.String CONNECTION_NULL()
        +
        Connection is null.
        +
      • +
      + + + +
        +
      • +

        localizableENDPOINT_WRONG_PARAMS

        +
        public static Localizable localizableENDPOINT_WRONG_PARAMS​(java.lang.Object arg0,
        +                                                           java.lang.Object arg1)
        +
      • +
      + + + +
        +
      • +

        ENDPOINT_WRONG_PARAMS

        +
        public static java.lang.String ENDPOINT_WRONG_PARAMS​(java.lang.Object arg0,
        +                                                     java.lang.Object arg1)
        +
        Method: {0}.{1}: has got wrong number of params.
        +
      • +
      +
    • +
    +
    +
  • +
+
+
+
+ + + + diff --git a/apidocs/1.19/org/glassfish/tyrus/core/l10n/Localizer.html b/apidocs/1.19/org/glassfish/tyrus/core/l10n/Localizer.html new file mode 100644 index 00000000..c745e1c1 --- /dev/null +++ b/apidocs/1.19/org/glassfish/tyrus/core/l10n/Localizer.html @@ -0,0 +1,340 @@ + + + + + +Localizer (Tyrus 1.19 API) + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +

Class Localizer

+
+
+
    +
  • java.lang.Object
  • +
  • +
      +
    • org.glassfish.tyrus.core.l10n.Localizer
    • +
    +
  • +
+
+
    +
  • +
    +
    public class Localizer
    +extends java.lang.Object
    +
    Localizes the Localizable into a message by using a configured Locale.
    +
    +
    Author:
    +
    WS Development Team
    +
    +
  • +
+
+
+
    +
  • + +
    +
      +
    • + + +

      Constructor Summary

      + + + + + + + + + + + + + + +
      Constructors 
      ConstructorDescription
      Localizer() 
      Localizer​(java.util.Locale l) 
      +
    • +
    +
    + +
    +
      +
    • + + +

      Method Summary

      + + + + + + + + + + + + + + + + + +
      All Methods Instance Methods Concrete Methods 
      Modifier and TypeMethodDescription
      java.util.LocalegetLocale() 
      java.lang.Stringlocalize​(Localizable l) 
      +
        +
      • + + +

        Methods inherited from class java.lang.Object

        +clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • +
      +
    • +
    +
    +
  • +
+
+
+
    +
  • + +
    +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        Localizer

        +
        public Localizer()
        +
      • +
      + + + +
        +
      • +

        Localizer

        +
        public Localizer​(java.util.Locale l)
        +
      • +
      +
    • +
    +
    + +
    +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        getLocale

        +
        public java.util.Locale getLocale()
        +
      • +
      + + + +
        +
      • +

        localize

        +
        public java.lang.String localize​(Localizable l)
        +
      • +
      +
    • +
    +
    +
  • +
+
+
+
+ + + + diff --git a/apidocs/1.19/org/glassfish/tyrus/core/l10n/class-use/Localizable.html b/apidocs/1.19/org/glassfish/tyrus/core/l10n/class-use/Localizable.html new file mode 100644 index 00000000..0850f21d --- /dev/null +++ b/apidocs/1.19/org/glassfish/tyrus/core/l10n/class-use/Localizable.html @@ -0,0 +1,731 @@ + + + + + +Uses of Interface org.glassfish.tyrus.core.l10n.Localizable (Tyrus 1.19 API) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Interface
org.glassfish.tyrus.core.l10n.Localizable

+
+
+ +
+
+ + + diff --git a/apidocs/1.19/org/glassfish/tyrus/core/l10n/class-use/LocalizableMessage.html b/apidocs/1.19/org/glassfish/tyrus/core/l10n/class-use/LocalizableMessage.html new file mode 100644 index 00000000..07fa6e0a --- /dev/null +++ b/apidocs/1.19/org/glassfish/tyrus/core/l10n/class-use/LocalizableMessage.html @@ -0,0 +1,150 @@ + + + + + +Uses of Class org.glassfish.tyrus.core.l10n.LocalizableMessage (Tyrus 1.19 API) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Class
org.glassfish.tyrus.core.l10n.LocalizableMessage

+
+
No usage of org.glassfish.tyrus.core.l10n.LocalizableMessage
+
+ + + diff --git a/apidocs/1.19/org/glassfish/tyrus/core/l10n/class-use/LocalizableMessageFactory.html b/apidocs/1.19/org/glassfish/tyrus/core/l10n/class-use/LocalizableMessageFactory.html new file mode 100644 index 00000000..cfa1fbf4 --- /dev/null +++ b/apidocs/1.19/org/glassfish/tyrus/core/l10n/class-use/LocalizableMessageFactory.html @@ -0,0 +1,150 @@ + + + + + +Uses of Class org.glassfish.tyrus.core.l10n.LocalizableMessageFactory (Tyrus 1.19 API) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Class
org.glassfish.tyrus.core.l10n.LocalizableMessageFactory

+
+
No usage of org.glassfish.tyrus.core.l10n.LocalizableMessageFactory
+
+ + + diff --git a/apidocs/1.19/org/glassfish/tyrus/core/l10n/class-use/LocalizationMessages.html b/apidocs/1.19/org/glassfish/tyrus/core/l10n/class-use/LocalizationMessages.html new file mode 100644 index 00000000..1e0425a0 --- /dev/null +++ b/apidocs/1.19/org/glassfish/tyrus/core/l10n/class-use/LocalizationMessages.html @@ -0,0 +1,150 @@ + + + + + +Uses of Class org.glassfish.tyrus.core.l10n.LocalizationMessages (Tyrus 1.19 API) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Class
org.glassfish.tyrus.core.l10n.LocalizationMessages

+
+
No usage of org.glassfish.tyrus.core.l10n.LocalizationMessages
+
+ + + diff --git a/apidocs/1.19/org/glassfish/tyrus/core/l10n/class-use/Localizer.html b/apidocs/1.19/org/glassfish/tyrus/core/l10n/class-use/Localizer.html new file mode 100644 index 00000000..2194b463 --- /dev/null +++ b/apidocs/1.19/org/glassfish/tyrus/core/l10n/class-use/Localizer.html @@ -0,0 +1,150 @@ + + + + + +Uses of Class org.glassfish.tyrus.core.l10n.Localizer (Tyrus 1.19 API) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Class
org.glassfish.tyrus.core.l10n.Localizer

+
+
No usage of org.glassfish.tyrus.core.l10n.Localizer
+
+ + + diff --git a/apidocs/1.19/org/glassfish/tyrus/core/l10n/package-summary.html b/apidocs/1.19/org/glassfish/tyrus/core/l10n/package-summary.html new file mode 100644 index 00000000..b15b0d13 --- /dev/null +++ b/apidocs/1.19/org/glassfish/tyrus/core/l10n/package-summary.html @@ -0,0 +1,206 @@ + + + + + +org.glassfish.tyrus.core.l10n (Tyrus 1.19 API) + + + + + + + + + + + + + + + +
+ +
+
+
+

Package org.glassfish.tyrus.core.l10n

+
+
+
+ + +
Common internal localization utility classes.
+
+ +
+
+ + + diff --git a/apidocs/1.19/org/glassfish/tyrus/core/l10n/package-tree.html b/apidocs/1.19/org/glassfish/tyrus/core/l10n/package-tree.html new file mode 100644 index 00000000..da5fd32f --- /dev/null +++ b/apidocs/1.19/org/glassfish/tyrus/core/l10n/package-tree.html @@ -0,0 +1,174 @@ + + + + + +org.glassfish.tyrus.core.l10n Class Hierarchy (Tyrus 1.19 API) + + + + + + + + + + + + + + + +
+ +
+
+
+

Hierarchy For Package org.glassfish.tyrus.core.l10n

+Package Hierarchies: + +
+
+
+

Class Hierarchy

+ +
+
+

Interface Hierarchy

+ +
+
+
+ + + diff --git a/apidocs/1.19/org/glassfish/tyrus/core/l10n/package-use.html b/apidocs/1.19/org/glassfish/tyrus/core/l10n/package-use.html new file mode 100644 index 00000000..0e11d3b8 --- /dev/null +++ b/apidocs/1.19/org/glassfish/tyrus/core/l10n/package-use.html @@ -0,0 +1,189 @@ + + + + + +Uses of Package org.glassfish.tyrus.core.l10n (Tyrus 1.19 API) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Package
org.glassfish.tyrus.core.l10n

+
+
+ +
+
+ + + diff --git a/apidocs/1.19/org/glassfish/tyrus/core/monitoring/ApplicationEventListener.html b/apidocs/1.19/org/glassfish/tyrus/core/monitoring/ApplicationEventListener.html new file mode 100644 index 00000000..b7c4da92 --- /dev/null +++ b/apidocs/1.19/org/glassfish/tyrus/core/monitoring/ApplicationEventListener.html @@ -0,0 +1,407 @@ + + + + + +ApplicationEventListener (Tyrus 1.19 API) + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +

Interface ApplicationEventListener

+
+
+
+
    +
  • +
    +
    @Beta
    +public interface ApplicationEventListener
    +
    Listens to application-level events that are interesting for monitoring. Only one listener per application can be + registered.
    +
    +
    Author:
    +
    Petr Janouch
    +
    +
  • +
+
+
+ +
+
+
    +
  • + +
    +
      +
    • + + +

      Field Detail

      + + + +
        +
      • +

        APPLICATION_EVENT_LISTENER

        +
        static final java.lang.String APPLICATION_EVENT_LISTENER
        +
        A key used for registering a application event listener implementation. +

        + For monitoring in Grizzly server an instance should be passed to the server in server properties: +

        +     serverProperties.put(ApplicationEventListener.APPLICATION_EVENT_LISTENER, new MyApplicationEventListener());
        + 
        + For use in servlet container the class name should be passed as a context parameter in web.xml: +
        
        +     <context-param>
        +         <param-name>org.glassfish.tyrus.core.monitoring.ApplicationEventListener</param-name>
        +         <param-value>com.acme.MyApplicationEventListener</param-value>
        +     </context-param>
        +
        +
        See Also:
        +
        Constant Field Values
        +
        +
      • +
      + + + +
        +
      • +

        NO_OP

        +
        static final ApplicationEventListener NO_OP
        +
        An instance of @ApplicationEventListener that does not do anything.
        +
      • +
      +
    • +
    +
    + +
    +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        onApplicationInitialized

        +
        void onApplicationInitialized​(java.lang.String applicationName)
        +
        Called when the application has been initialized.
        +
        +
        Parameters:
        +
        applicationName - name of the initialized application.
        +
        +
      • +
      + + + +
        +
      • +

        onApplicationDestroyed

        +
        void onApplicationDestroyed()
        +
        Called when the application has been destroyed.
        +
      • +
      + + + +
        +
      • +

        onEndpointRegistered

        +
        EndpointEventListener onEndpointRegistered​(java.lang.String endpointPath,
        +                                           java.lang.Class<?> endpointClass)
        +
        Called when an endpoint has been registered.
        +
        +
        Parameters:
        +
        endpointPath - the path the endpoint has been registered on.
        +
        endpointClass - class of the registered endpoint.
        +
        Returns:
        +
        endpoint event listener for registered endpoint.
        +
        +
      • +
      + + + +
        +
      • +

        onEndpointUnregistered

        +
        void onEndpointUnregistered​(java.lang.String endpointPath)
        +
        Called when an endpoint has been unregistered.
        +
        +
        Parameters:
        +
        endpointPath - the path the endpoint has been registered on.
        +
        +
      • +
      +
    • +
    +
    +
  • +
+
+
+
+ + + + diff --git a/apidocs/1.19/org/glassfish/tyrus/core/monitoring/EndpointEventListener.html b/apidocs/1.19/org/glassfish/tyrus/core/monitoring/EndpointEventListener.html new file mode 100644 index 00000000..8251b394 --- /dev/null +++ b/apidocs/1.19/org/glassfish/tyrus/core/monitoring/EndpointEventListener.html @@ -0,0 +1,362 @@ + + + + + +EndpointEventListener (Tyrus 1.19 API) + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +

Interface EndpointEventListener

+
+
+
+
    +
  • +
    +
    @Beta
    +public interface EndpointEventListener
    +
    Listens to endpoint-level events that are interesting for monitoring.
    +
    +
    Author:
    +
    Petr Janouch
    +
    +
  • +
+
+
+
    +
  • + +
    +
      +
    • + + +

      Field Summary

      + + + + + + + + + + + + +
      Fields 
      Modifier and TypeFieldDescription
      static EndpointEventListenerNO_OP +
      An instance of @EndpointEventListener that does not do anything.
      +
      +
    • +
    +
    + +
    + +
    +
  • +
+
+
+
    +
  • + +
    +
      +
    • + + +

      Field Detail

      + + + +
        +
      • +

        NO_OP

        +
        static final EndpointEventListener NO_OP
        +
        An instance of @EndpointEventListener that does not do anything.
        +
      • +
      +
    • +
    +
    + +
    +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        onSessionOpened

        +
        MessageEventListener onSessionOpened​(java.lang.String sessionId)
        +
        Called when a session has been opened.
        +
        +
        Parameters:
        +
        sessionId - an ID of the newly opened session.
        +
        Returns:
        +
        listener that listens for message-level events.
        +
        +
      • +
      + + + +
        +
      • +

        onSessionClosed

        +
        void onSessionClosed​(java.lang.String sessionId)
        +
        Called when a session has been closed.
        +
        +
        Parameters:
        +
        sessionId - an ID of the closed session.
        +
        +
      • +
      + + + + +
    • +
    +
    +
  • +
+
+
+
+ + + + diff --git a/apidocs/1.19/org/glassfish/tyrus/core/monitoring/MessageEventListener.html b/apidocs/1.19/org/glassfish/tyrus/core/monitoring/MessageEventListener.html new file mode 100644 index 00000000..9914c5ac --- /dev/null +++ b/apidocs/1.19/org/glassfish/tyrus/core/monitoring/MessageEventListener.html @@ -0,0 +1,337 @@ + + + + + +MessageEventListener (Tyrus 1.19 API) + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +

Interface MessageEventListener

+
+
+
+
    +
  • +
    +
    @Beta
    +public interface MessageEventListener
    +
    Listens for message-level events that are interesting for monitoring.
    +
    +
    Author:
    +
    Petr Janouch
    +
    +
  • +
+
+
+ +
+
+
    +
  • + +
    +
      +
    • + + +

      Field Detail

      + + + +
        +
      • +

        NO_OP

        +
        static final MessageEventListener NO_OP
        +
        An instance of @MessageEventListener that does not do anything.
        +
      • +
      +
    • +
    +
    + +
    +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        onFrameSent

        +
        void onFrameSent​(TyrusFrame.FrameType frameType,
        +                 long payloadLength)
        +
        Called when a frame has been sent.
        +
        +
        Parameters:
        +
        frameType - type of the frame.
        +
        payloadLength - length of the frame payload.
        +
        +
      • +
      + + + +
        +
      • +

        onFrameReceived

        +
        void onFrameReceived​(TyrusFrame.FrameType frameType,
        +                     long payloadLength)
        +
        Called when a frame has been received.
        +
        +
        Parameters:
        +
        frameType - type of the frame.
        +
        payloadLength - length of the frame payload.
        +
        +
      • +
      +
    • +
    +
    +
  • +
+
+
+
+ + + + diff --git a/apidocs/1.19/org/glassfish/tyrus/core/monitoring/class-use/ApplicationEventListener.html b/apidocs/1.19/org/glassfish/tyrus/core/monitoring/class-use/ApplicationEventListener.html new file mode 100644 index 00000000..07b5cc89 --- /dev/null +++ b/apidocs/1.19/org/glassfish/tyrus/core/monitoring/class-use/ApplicationEventListener.html @@ -0,0 +1,245 @@ + + + + + +Uses of Interface org.glassfish.tyrus.core.monitoring.ApplicationEventListener (Tyrus 1.19 API) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Interface
org.glassfish.tyrus.core.monitoring.ApplicationEventListener

+
+
+ +
+
+ + + diff --git a/apidocs/1.19/org/glassfish/tyrus/core/monitoring/class-use/EndpointEventListener.html b/apidocs/1.19/org/glassfish/tyrus/core/monitoring/class-use/EndpointEventListener.html new file mode 100644 index 00000000..b5de8f92 --- /dev/null +++ b/apidocs/1.19/org/glassfish/tyrus/core/monitoring/class-use/EndpointEventListener.html @@ -0,0 +1,303 @@ + + + + + +Uses of Interface org.glassfish.tyrus.core.monitoring.EndpointEventListener (Tyrus 1.19 API) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Interface
org.glassfish.tyrus.core.monitoring.EndpointEventListener

+
+
+ +
+
+ + + diff --git a/apidocs/1.19/org/glassfish/tyrus/core/monitoring/class-use/MessageEventListener.html b/apidocs/1.19/org/glassfish/tyrus/core/monitoring/class-use/MessageEventListener.html new file mode 100644 index 00000000..a511a7c4 --- /dev/null +++ b/apidocs/1.19/org/glassfish/tyrus/core/monitoring/class-use/MessageEventListener.html @@ -0,0 +1,245 @@ + + + + + +Uses of Interface org.glassfish.tyrus.core.monitoring.MessageEventListener (Tyrus 1.19 API) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Interface
org.glassfish.tyrus.core.monitoring.MessageEventListener

+
+
+ +
+
+ + + diff --git a/apidocs/1.19/org/glassfish/tyrus/core/monitoring/package-summary.html b/apidocs/1.19/org/glassfish/tyrus/core/monitoring/package-summary.html new file mode 100644 index 00000000..1da9e094 --- /dev/null +++ b/apidocs/1.19/org/glassfish/tyrus/core/monitoring/package-summary.html @@ -0,0 +1,187 @@ + + + + + +org.glassfish.tyrus.core.monitoring (Tyrus 1.19 API) + + + + + + + + + + + + + + + +
+ +
+
+
+

Package org.glassfish.tyrus.core.monitoring

+
+
+
+ + +
Monitoring interfaces.
+
+
    +
  • + + + + + + + + + + + + + + + + + + + + +
    Interface Summary 
    InterfaceDescription
    ApplicationEventListener +
    Listens to application-level events that are interesting for monitoring.
    +
    EndpointEventListener +
    Listens to endpoint-level events that are interesting for monitoring.
    +
    MessageEventListener +
    Listens for message-level events that are interesting for monitoring.
    +
    +
  • +
+
+
+ + + diff --git a/apidocs/1.19/org/glassfish/tyrus/core/monitoring/package-tree.html b/apidocs/1.19/org/glassfish/tyrus/core/monitoring/package-tree.html new file mode 100644 index 00000000..0dfb2593 --- /dev/null +++ b/apidocs/1.19/org/glassfish/tyrus/core/monitoring/package-tree.html @@ -0,0 +1,163 @@ + + + + + +org.glassfish.tyrus.core.monitoring Class Hierarchy (Tyrus 1.19 API) + + + + + + + + + + + + + + + +
+ +
+
+
+

Hierarchy For Package org.glassfish.tyrus.core.monitoring

+Package Hierarchies: + +
+
+
+

Interface Hierarchy

+ +
+
+
+ + + diff --git a/apidocs/1.19/org/glassfish/tyrus/core/monitoring/package-use.html b/apidocs/1.19/org/glassfish/tyrus/core/monitoring/package-use.html new file mode 100644 index 00000000..3b018564 --- /dev/null +++ b/apidocs/1.19/org/glassfish/tyrus/core/monitoring/package-use.html @@ -0,0 +1,238 @@ + + + + + +Uses of Package org.glassfish.tyrus.core.monitoring (Tyrus 1.19 API) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Package
org.glassfish.tyrus.core.monitoring

+
+
+ +
+
+ + + diff --git a/apidocs/1.19/org/glassfish/tyrus/core/package-summary.html b/apidocs/1.19/org/glassfish/tyrus/core/package-summary.html new file mode 100644 index 00000000..1eef8b59 --- /dev/null +++ b/apidocs/1.19/org/glassfish/tyrus/core/package-summary.html @@ -0,0 +1,553 @@ + + + + + +org.glassfish.tyrus.core (Tyrus 1.19 API) + + + + + + + + + + + + + + + +
+ +
+
+
+

Package org.glassfish.tyrus.core

+
+
+
+ + +
Core classes.
+
+ +
+
+ + + diff --git a/apidocs/1.19/org/glassfish/tyrus/core/package-tree.html b/apidocs/1.19/org/glassfish/tyrus/core/package-tree.html new file mode 100644 index 00000000..23d85db1 --- /dev/null +++ b/apidocs/1.19/org/glassfish/tyrus/core/package-tree.html @@ -0,0 +1,298 @@ + + + + + +org.glassfish.tyrus.core Class Hierarchy (Tyrus 1.19 API) + + + + + + + + + + + + + + + +
+ +
+
+
+

Hierarchy For Package org.glassfish.tyrus.core

+Package Hierarchies: + +
+
+
+

Class Hierarchy

+ +
+
+

Interface Hierarchy

+ +
+
+

Annotation Type Hierarchy

+
    +
  • org.glassfish.tyrus.core.Beta (implements java.lang.annotation.Annotation)
  • +
  • org.glassfish.tyrus.core.MaxSessions (implements java.lang.annotation.Annotation)
  • +
+
+
+

Enum Hierarchy

+ +
+
+
+ + + diff --git a/apidocs/1.19/org/glassfish/tyrus/core/package-use.html b/apidocs/1.19/org/glassfish/tyrus/core/package-use.html new file mode 100644 index 00000000..8c80ad80 --- /dev/null +++ b/apidocs/1.19/org/glassfish/tyrus/core/package-use.html @@ -0,0 +1,672 @@ + + + + + +Uses of Package org.glassfish.tyrus.core (Tyrus 1.19 API) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Package
org.glassfish.tyrus.core

+
+
+ +
+
+ + + diff --git a/apidocs/1.19/org/glassfish/tyrus/core/uri/Match.html b/apidocs/1.19/org/glassfish/tyrus/core/uri/Match.html new file mode 100644 index 00000000..c732b653 --- /dev/null +++ b/apidocs/1.19/org/glassfish/tyrus/core/uri/Match.html @@ -0,0 +1,379 @@ + + + + + +Match (Tyrus 1.19 API) + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +

Class Match

+
+
+
    +
  • java.lang.Object
  • +
  • +
      +
    • org.glassfish.tyrus.core.uri.Match
    • +
    +
  • +
+
+
    +
  • +
    +
    public class Match
    +extends java.lang.Object
    +
    Defines a match on an endpoint. The match is either exact, or is not exact. + If the match is not exact, it means that some of the path segments on the endpoint + are variables. In this case, the Match object carries the indices of the variable + segments in the endpoint path, the map of the parameter names and values.
    +
    +
    Author:
    +
    dannycoward
    +
    +
  • +
+
+
+
    +
  • + +
    + +
    +
  • +
+
+
+
    +
  • + +
    +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        getParameters

        +
        public java.util.Map<java.lang.String,​java.lang.String> getParameters()
        +
        Get map of parameter names-value pairs.
        +
        +
        Returns:
        +
        map of parameter names-value pairs.
        +
        +
      • +
      + + + +
        +
      • +

        getEndpointWrapper

        +
        public TyrusEndpointWrapper getEndpointWrapper()
        +
        Get endpoint wrapper.
        +
        +
        Returns:
        +
        endpoint wrapper.
        +
        +
      • +
      + + + +
        +
      • +

        toString

        +
        public java.lang.String toString()
        +
        +
        Overrides:
        +
        toString in class java.lang.Object
        +
        +
      • +
      + + + +
        +
      • +

        getAllMatches

        +
        public static java.util.List<Match> getAllMatches​(java.lang.String requestPath,
        +                                                  java.util.Set<TyrusEndpointWrapper> endpoints,
        +                                                  DebugContext debugContext)
        +
        Return a list of all endpoints with path matching the request path. The endpoints are in order of match + preference, best match first.
        +
        +
        Parameters:
        +
        requestPath - request path.
        +
        endpoints - endpoints.
        +
        debugContext - debug context.
        +
        Returns:
        +
        a list of all endpoints with path matching the request path. The endpoints are in order of match + preference, best match first.
        +
        +
      • +
      + + + +
        +
      • +

        isEquivalent

        +
        public static boolean isEquivalent​(java.lang.String path1,
        +                                   java.lang.String path2)
        +
        Check for equivalent paths.
        +
        +
        Parameters:
        +
        path1 - path to be checked.
        +
        path2 - path to be checked.
        +
        Returns:
        +
        true when provided path are equivalent, false otherwise.
        +
        +
      • +
      +
    • +
    +
    +
  • +
+
+
+
+ + + + diff --git a/apidocs/1.19/org/glassfish/tyrus/core/uri/class-use/Match.html b/apidocs/1.19/org/glassfish/tyrus/core/uri/class-use/Match.html new file mode 100644 index 00000000..06d49e80 --- /dev/null +++ b/apidocs/1.19/org/glassfish/tyrus/core/uri/class-use/Match.html @@ -0,0 +1,200 @@ + + + + + +Uses of Class org.glassfish.tyrus.core.uri.Match (Tyrus 1.19 API) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Class
org.glassfish.tyrus.core.uri.Match

+
+
+ +
+
+ + + diff --git a/apidocs/1.19/org/glassfish/tyrus/core/uri/internal/AbstractMultivaluedMap.html b/apidocs/1.19/org/glassfish/tyrus/core/uri/internal/AbstractMultivaluedMap.html new file mode 100644 index 00000000..3c162fa4 --- /dev/null +++ b/apidocs/1.19/org/glassfish/tyrus/core/uri/internal/AbstractMultivaluedMap.html @@ -0,0 +1,1010 @@ + + + + + +AbstractMultivaluedMap (Tyrus 1.19 API) + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +

Class AbstractMultivaluedMap<K,​V>

+
+
+
    +
  • java.lang.Object
  • +
  • +
      +
    • org.glassfish.tyrus.core.uri.internal.AbstractMultivaluedMap<K,​V>
    • +
    +
  • +
+
+
    +
  • +
    +
    Type Parameters:
    +
    K - the type of keys maintained by this map.
    +
    V - the type of mapped values.
    +
    +
    +
    All Implemented Interfaces:
    +
    java.util.Map<K,​java.util.List<V>>, MultivaluedMap<K,​V>
    +
    +
    +
    Direct Known Subclasses:
    +
    MultivaluedHashMap
    +
    +
    +
    public abstract class AbstractMultivaluedMap<K,​V>
    +extends java.lang.Object
    +implements MultivaluedMap<K,​V>
    +
    Abstract skeleton implementation of a MultivaluedMap that is backed + by a [key, multi-value] store represented as a Map<K, List<V>>.
    +
    +
    Author:
    +
    Marek Potociar
    +
    +
  • +
+
+
+
    +
  • + +
    +
      +
    • + + +

      Nested Class Summary

      +
        +
      • + + +

        Nested classes/interfaces inherited from interface java.util.Map

        +java.util.Map.Entry<K extends java.lang.Object,​V extends java.lang.Object>
      • +
      +
    • +
    +
    + +
    +
      +
    • + + +

      Field Summary

      + + + + + + + + + + + + +
      Fields 
      Modifier and TypeFieldDescription
      protected java.util.Map<K,​java.util.List<V>>store +
      Backing store for the [key, multi-value] pairs.
      +
      +
    • +
    +
    + +
    +
      +
    • + + +

      Constructor Summary

      + + + + + + + + + + +
      Constructors 
      ConstructorDescription
      AbstractMultivaluedMap​(java.util.Map<K,​java.util.List<V>> store) +
      Initialize the backing store in the abstract parent multivalued map + implementation.
      +
      +
    • +
    +
    + +
    +
      +
    • + + +

      Method Summary

      + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
      All Methods Instance Methods Concrete Methods 
      Modifier and TypeMethodDescription
      voidadd​(K key, + V value) +
      Add a value to the current list of values for the supplied key.
      +
      voidaddAll​(K key, + java.util.List<V> valueList) +
      Add all the values from the supplied value list to the current list of + values for the supplied key.
      +
      voidaddAll​(K key, + V... newValues) +
      Add multiple values to the current list of values for the supplied key.
      +
      voidaddFirst​(K key, + V value) +
      Add a value to the first position in the current list of values for the + supplied key.
      +
      protected voidaddFirstNull​(java.util.List<V> values) +
      Define the behavior for adding a null values to the first position + in the value list.
      +
      protected voidaddNull​(java.util.List<V> values) +
      Define the behavior for adding a null values to the value list.
      +
      voidclear() 
      booleancontainsKey​(java.lang.Object key) 
      booleancontainsValue​(java.lang.Object value) 
      java.util.Set<java.util.Map.Entry<K,​java.util.List<V>>>entrySet() 
      booleanequals​(java.lang.Object o)
      booleanequalsIgnoreValueOrder​(MultivaluedMap<K,​V> omap) +
      Compare the specified map with this map for equality modulo the order + of values for each key.
      +
      java.util.List<V>get​(java.lang.Object key) 
      VgetFirst​(K key) +
      A shortcut to get the first value of the supplied key.
      +
      protected java.util.List<V>getValues​(K key) +
      Return a non-null list of values for a given key.
      +
      inthashCode()
      booleanisEmpty() 
      java.util.Set<K>keySet() 
      java.util.List<V>put​(K key, + java.util.List<V> value) 
      voidputAll​(java.util.Map<? extends K,​? extends java.util.List<V>> m) 
      voidputSingle​(K key, + V value) +
      Set the value for the key to be a one item list consisting of the supplied + value.
      +
      java.util.List<V>remove​(java.lang.Object key) 
      intsize() 
      java.lang.StringtoString() 
      java.util.Collection<java.util.List<V>>values() 
      +
        +
      • + + +

        Methods inherited from class java.lang.Object

        +clone, finalize, getClass, notify, notifyAll, wait, wait, wait
      • +
      +
        +
      • + + +

        Methods inherited from interface java.util.Map

        +compute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAll
      • +
      +
    • +
    +
    +
  • +
+
+
+
    +
  • + +
    +
      +
    • + + +

      Field Detail

      + + + +
        +
      • +

        store

        +
        protected final java.util.Map<K,​java.util.List<V>> store
        +
        Backing store for the [key, multi-value] pairs.
        +
      • +
      +
    • +
    +
    + +
    +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        AbstractMultivaluedMap

        +
        public AbstractMultivaluedMap​(java.util.Map<K,​java.util.List<V>> store)
        +
        Initialize the backing store in the abstract parent multivalued map + implementation.
        +
        +
        Parameters:
        +
        store - the backing Map to be used as a [key, multi-value] + store. Must not be null.
        +
        Throws:
        +
        java.lang.NullPointerException - in case the underlying store parameter + is null.
        +
        +
      • +
      +
    • +
    +
    + +
    +
      +
    • + + +

      Method Detail

      + + + + + +
        +
      • +

        putSingle

        +
        public final void putSingle​(K key,
        +                            V value)
        +
        Set the value for the key to be a one item list consisting of the supplied + value. Any existing values will be replaced. +

        + NOTE: This implementation ignores null values; A supplied value + of null is ignored and not added to the purged value list. + As a result of such operation, empty value list would be registered for + the supplied key. Overriding implementations may modify this behavior by + redefining the addNull(java.util.List) method.

        +
        +
        Specified by:
        +
        putSingle in interface MultivaluedMap<K,​V>
        +
        Parameters:
        +
        key - the key
        +
        value - the single value of the key. If the value is null it + will be ignored.
        +
        +
      • +
      + + + +
        +
      • +

        addNull

        +
        protected void addNull​(java.util.List<V> values)
        +
        Define the behavior for adding a null values to the value list. +

        + Default implementation is a no-op, i.e. the null values are ignored. + Overriding implementations may modify this behavior by providing their + own definitions of this method.

        +
        +
        Parameters:
        +
        values - value list where the null value addition is being + requested.
        +
        +
      • +
      + + + +
        +
      • +

        addFirstNull

        +
        protected void addFirstNull​(java.util.List<V> values)
        +
        Define the behavior for adding a null values to the first position + in the value list. +

        + Default implementation is a no-op, i.e. the null values are ignored. + Overriding implementations may modify this behavior by providing their + own definitions of this method.

        +
        +
        Parameters:
        +
        values - value list where the null value addition is being + requested.
        +
        +
      • +
      + + + + + +
        +
      • +

        add

        +
        public final void add​(K key,
        +                      V value)
        +
        Add a value to the current list of values for the supplied key. +

        + NOTE: This implementation ignores null values; A supplied value + of null is ignored and not added to the value list. Overriding + implementations may modify this behavior by redefining the + addNull(java.util.List) method.

        +
        +
        Specified by:
        +
        add in interface MultivaluedMap<K,​V>
        +
        Parameters:
        +
        key - the key
        +
        value - the value to be added.
        +
        +
      • +
      + + + + + +
        +
      • +

        addAll

        +
        public final void addAll​(K key,
        +                         V... newValues)
        +
        Add multiple values to the current list of values for the supplied key. If + the supplied array of new values is empty, method returns immediately. + Method throws a NullPointerException if the supplied array of values + is null. +

        + NOTE: This implementation ignores null values; Any of the supplied values + of null is ignored and not added to the value list. Overriding + implementations may modify this behavior by redefining the + addNull(java.util.List) method.

        +
        +
        Specified by:
        +
        addAll in interface MultivaluedMap<K,​V>
        +
        Parameters:
        +
        key - the key.
        +
        newValues - the values to be added.
        +
        Throws:
        +
        java.lang.NullPointerException - if the supplied array of new values is null.
        +
        +
      • +
      + + + + + +
        +
      • +

        addAll

        +
        public final void addAll​(K key,
        +                         java.util.List<V> valueList)
        +
        Add all the values from the supplied value list to the current list of + values for the supplied key. If the supplied value list is empty, method + returns immediately. Method throws a NullPointerException if the + supplied array of values is null. +

        + NOTE: This implementation ignores null values; Any null value + in the supplied value list is ignored and not added to the value list. Overriding + implementations may modify this behavior by redefining the + addNull(java.util.List) method.

        +
        +
        Specified by:
        +
        addAll in interface MultivaluedMap<K,​V>
        +
        Parameters:
        +
        key - the key.
        +
        valueList - the list of values to be added.
        +
        Throws:
        +
        java.lang.NullPointerException - if the supplied value list is null.
        +
        +
      • +
      + + + + + +
        +
      • +

        getFirst

        +
        public final V getFirst​(K key)
        +
        Description copied from interface: MultivaluedMap
        +
        A shortcut to get the first value of the supplied key.
        +
        +
        Specified by:
        +
        getFirst in interface MultivaluedMap<K,​V>
        +
        Parameters:
        +
        key - the key
        +
        Returns:
        +
        the first value for the specified key or null if the key is + not in the map.
        +
        +
      • +
      + + + + + +
        +
      • +

        addFirst

        +
        public final void addFirst​(K key,
        +                           V value)
        +
        Add a value to the first position in the current list of values for the + supplied key. +

        + NOTE: This implementation ignores null values; A supplied value + of null is ignored and not added to the purged value list. Overriding + implementations may modify this behavior by redefining the + addFirstNull(java.util.List) method.

        +
        +
        Specified by:
        +
        addFirst in interface MultivaluedMap<K,​V>
        +
        Parameters:
        +
        key - the key
        +
        value - the value to be added.
        +
        +
      • +
      + + + + + +
        +
      • +

        getValues

        +
        protected final java.util.List<V> getValues​(K key)
        +
        Return a non-null list of values for a given key. The returned list may be + empty. +

        + If there is no entry for the key in the map, a new empty List + instance is created, registered within the map to hold the values of + the key and returned from the method.

        +
        +
        Parameters:
        +
        key - the key.
        +
        Returns:
        +
        value list registered with the key. The method is guaranteed to never + return null.
        +
        +
      • +
      + + + +
        +
      • +

        toString

        +
        public java.lang.String toString()
        +
        +
        Overrides:
        +
        toString in class java.lang.Object
        +
        +
      • +
      + + + +
        +
      • +

        hashCode

        +
        public int hashCode()
        +
        +

        + This implementation delegates the method call to to the the underlying + [key, multi-value] store.

        +
        +
        Specified by:
        +
        hashCode in interface java.util.Map<K,​V>
        +
        Overrides:
        +
        hashCode in class java.lang.Object
        +
        Returns:
        +
        a hash code value for the underlying [key, multi-value] store.
        +
        +
      • +
      + + + +
        +
      • +

        equals

        +
        public boolean equals​(java.lang.Object o)
        +
        +

        + This implementation delegates the method call to to the the underlying + [key, multi-value] store.

        +
        +
        Specified by:
        +
        equals in interface java.util.Map<K,​V>
        +
        Overrides:
        +
        equals in class java.lang.Object
        +
        Returns:
        +
        true if the specified object is equal to the underlying + [key, multi-value] store, false otherwise.
        +
        +
      • +
      + + + +
        +
      • +

        values

        +
        public java.util.Collection<java.util.List<V>> values()
        +
        +
        Specified by:
        +
        values in interface java.util.Map<K,​V>
        +
        +
      • +
      + + + +
        +
      • +

        size

        +
        public int size()
        +
        +
        Specified by:
        +
        size in interface java.util.Map<K,​V>
        +
        +
      • +
      + + + +
        +
      • +

        remove

        +
        public java.util.List<V> remove​(java.lang.Object key)
        +
        +
        Specified by:
        +
        remove in interface java.util.Map<K,​V>
        +
        +
      • +
      + + + +
        +
      • +

        putAll

        +
        public void putAll​(java.util.Map<? extends K,​? extends java.util.List<V>> m)
        +
        +
        Specified by:
        +
        putAll in interface java.util.Map<K,​V>
        +
        +
      • +
      + + + + + +
        +
      • +

        put

        +
        public java.util.List<V> put​(K key,
        +                             java.util.List<V> value)
        +
        +
        Specified by:
        +
        put in interface java.util.Map<K,​V>
        +
        +
      • +
      + + + +
        +
      • +

        keySet

        +
        public java.util.Set<K> keySet()
        +
        +
        Specified by:
        +
        keySet in interface java.util.Map<K,​V>
        +
        +
      • +
      + + + +
        +
      • +

        isEmpty

        +
        public boolean isEmpty()
        +
        +
        Specified by:
        +
        isEmpty in interface java.util.Map<K,​V>
        +
        +
      • +
      + + + +
        +
      • +

        get

        +
        public java.util.List<V> get​(java.lang.Object key)
        +
        +
        Specified by:
        +
        get in interface java.util.Map<K,​V>
        +
        +
      • +
      + + + +
        +
      • +

        entrySet

        +
        public java.util.Set<java.util.Map.Entry<K,​java.util.List<V>>> entrySet()
        +
        +
        Specified by:
        +
        entrySet in interface java.util.Map<K,​V>
        +
        +
      • +
      + + + +
        +
      • +

        containsValue

        +
        public boolean containsValue​(java.lang.Object value)
        +
        +
        Specified by:
        +
        containsValue in interface java.util.Map<K,​V>
        +
        +
      • +
      + + + +
        +
      • +

        containsKey

        +
        public boolean containsKey​(java.lang.Object key)
        +
        +
        Specified by:
        +
        containsKey in interface java.util.Map<K,​V>
        +
        +
      • +
      + + + +
        +
      • +

        clear

        +
        public void clear()
        +
        +
        Specified by:
        +
        clear in interface java.util.Map<K,​V>
        +
        +
      • +
      + + + +
        +
      • +

        equalsIgnoreValueOrder

        +
        public boolean equalsIgnoreValueOrder​(MultivaluedMap<K,​V> omap)
        +
        Description copied from interface: MultivaluedMap
        +
        Compare the specified map with this map for equality modulo the order + of values for each key. Specifically, the values associated with + each key are compared as if they were ordered lists.
        +
        +
        Specified by:
        +
        equalsIgnoreValueOrder in interface MultivaluedMap<K,​V>
        +
        Parameters:
        +
        omap - map to be compared to this one.
        +
        Returns:
        +
        true if the maps are equal modulo value ordering.
        +
        +
      • +
      +
    • +
    +
    +
  • +
+
+
+
+ + + + diff --git a/apidocs/1.19/org/glassfish/tyrus/core/uri/internal/MultivaluedHashMap.html b/apidocs/1.19/org/glassfish/tyrus/core/uri/internal/MultivaluedHashMap.html new file mode 100644 index 00000000..1e667b1f --- /dev/null +++ b/apidocs/1.19/org/glassfish/tyrus/core/uri/internal/MultivaluedHashMap.html @@ -0,0 +1,521 @@ + + + + + +MultivaluedHashMap (Tyrus 1.19 API) + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +

Class MultivaluedHashMap<K,​V>

+
+
+ +
+
    +
  • +
    +
    Type Parameters:
    +
    K - the type of keys maintained by this map.
    +
    V - the type of mapped values.
    +
    +
    +
    All Implemented Interfaces:
    +
    java.io.Serializable, java.util.Map<K,​java.util.List<V>>, MultivaluedMap<K,​V>
    +
    +
    +
    Direct Known Subclasses:
    +
    MultivaluedStringMap
    +
    +
    +
    public class MultivaluedHashMap<K,​V>
    +extends AbstractMultivaluedMap<K,​V>
    +implements java.io.Serializable
    +
    A hash table based implementation of MultivaluedMap interface. +

    + This implementation provides all of the optional map operations. This class + makes no guarantees as to the order of the map; in particular, it does not + guarantee that the order will remain constant over time. The implementation + permits null key. By default the implementation does also permit + null values, but ignores them. This behavior can be customized + by overriding the protected addNull(...) and + addFirstNull(...) methods. +

    + This implementation provides constant-time performance for the basic + operations (get and put), assuming the hash function + disperses the elements properly among the buckets. Iteration over + collection views requires time proportional to the "capacity" of the + map instance (the number of buckets) plus its size (the number + of key-value mappings). Thus, it's very important not to set the initial + capacity too high (or the load factor too low) if iteration performance is + important. +

    + An instance of MultivaluedHashMap has two parameters that affect its + performance: initial capacity and load factor. The capacity + is the number of buckets in the hash table, and the initial capacity is simply + the capacity at the time the hash table is created. The load factor is + a measure of how full the hash table is allowed to get before its capacity is + automatically increased. When the number of entries in the hash table exceeds + the product of the load factor and the current capacity, the hash table is + rehashed (that is, internal data structures are rebuilt) so that the + hash table has approximately twice the number of buckets. +

    + As a general rule, the default load factor (.75) offers a good tradeoff + between time and space costs. Higher values decrease the space overhead + but increase the lookup cost (reflected in most of the operations of the + HashMap class, including get and put). The + expected number of entries in the map and its load factor should be taken + into account when setting its initial capacity, so as to minimize the + number of rehash operations. If the initial capacity is greater + than the maximum number of entries divided by the load factor, no + rehash operations will ever occur. +

    + If many mappings are to be stored in a MultivaluedHashMap instance, + creating it with a sufficiently large capacity will allow the mappings to + be stored more efficiently than letting it perform automatic rehashing as + needed to grow the table. +

    + Note that this implementation is not guaranteed to be synchronized. + If multiple threads access a hash map concurrently, and at least one of + the threads modifies the map structurally, it must be + synchronized externally. (A structural modification is any operation + that adds or deletes one or more mappings; merely changing the value + associated with a key that an instance already contains is not a + structural modification.) This is typically accomplished by + synchronizing on some object that naturally encapsulates the map. +

    + The iterators returned by all of this class's "collection view methods" + are fail-fast: if the map is structurally modified at any time after + the iterator is created, in any way except through the iterator's own + remove method, the iterator will throw a ConcurrentModificationException. + Thus, in the face of concurrent modification, the iterator fails quickly and + cleanly, rather than risking arbitrary, non-deterministic behavior at an + undetermined time in the future. +

    + Note that the fail-fast behavior of an iterator cannot be guaranteed + as it is, generally speaking, impossible to make any hard guarantees in the + presence of unsynchronized concurrent modification. Fail-fast iterators + throw ConcurrentModificationException on a best-effort basis. + Therefore, it would be wrong to write a program that depended on this + exception for its correctness: the fail-fast behavior of iterators + should be used only to detect bugs.

    +
    +
    Since:
    +
    2.0
    +
    Author:
    +
    Paul Sandoz, Marek Potociar
    +
    See Also:
    +
    Serialized Form
    +
    +
  • +
+
+
+ +
+
+
    +
  • + +
    +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        MultivaluedHashMap

        +
        public MultivaluedHashMap()
        +
        Constructs an empty multivalued hash map with the default initial capacity + (16) and the default load factor (0.75).
        +
      • +
      + + + +
        +
      • +

        MultivaluedHashMap

        +
        public MultivaluedHashMap​(int initialCapacity)
        +
        Constructs an empty multivalued hash map with the specified initial + capacity and the default load factor (0.75).
        +
        +
        Parameters:
        +
        initialCapacity - the initial capacity.
        +
        Throws:
        +
        java.lang.IllegalArgumentException - if the initial capacity is negative.
        +
        +
      • +
      + + + +
        +
      • +

        MultivaluedHashMap

        +
        public MultivaluedHashMap​(int initialCapacity,
        +                          float loadFactor)
        +
        Constructs an empty multivalued hash map with the specified initial + capacity and load factor.
        +
        +
        Parameters:
        +
        initialCapacity - the initial capacity
        +
        loadFactor - the load factor
        +
        Throws:
        +
        java.lang.IllegalArgumentException - if the initial capacity is negative + or the load factor is nonpositive
        +
        +
      • +
      + + + +
        +
      • +

        MultivaluedHashMap

        +
        public MultivaluedHashMap​(MultivaluedMap<? extends K,​? extends V> map)
        +
        Constructs a new multivalued hash map with the same mappings as the + specified MultivaluedMap. The List instances holding + the values of each key are created anew instead of being reused.
        +
        +
        Parameters:
        +
        map - the multivalued map whose mappings are to be placed in this + multivalued map.
        +
        Throws:
        +
        java.lang.NullPointerException - if the specified map is null
        +
        +
      • +
      + + + +
        +
      • +

        MultivaluedHashMap

        +
        public MultivaluedHashMap​(java.util.Map<? extends K,​? extends V> map)
        +
        Constructs a new multivalued hash map with the same mappings as the + specified single-valued Map.
        +
        +
        Parameters:
        +
        map - the single-valued map whose mappings are to be placed in this + multivalued map.
        +
        Throws:
        +
        java.lang.NullPointerException - if the specified map is null
        +
        +
      • +
      +
    • +
    +
    +
  • +
+
+
+
+ + + + diff --git a/apidocs/1.19/org/glassfish/tyrus/core/uri/internal/MultivaluedMap.html b/apidocs/1.19/org/glassfish/tyrus/core/uri/internal/MultivaluedMap.html new file mode 100644 index 00000000..f82b857b --- /dev/null +++ b/apidocs/1.19/org/glassfish/tyrus/core/uri/internal/MultivaluedMap.html @@ -0,0 +1,487 @@ + + + + + +MultivaluedMap (Tyrus 1.19 API) + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +

Interface MultivaluedMap<K,​V>

+
+
+
+
    +
  • +
    +
    Type Parameters:
    +
    K - the type of keys maintained by this map
    +
    V - the type of mapped values
    +
    +
    +
    All Superinterfaces:
    +
    java.util.Map<K,​java.util.List<V>>
    +
    +
    +
    All Known Implementing Classes:
    +
    AbstractMultivaluedMap, MultivaluedHashMap, MultivaluedStringMap
    +
    +
    +
    public interface MultivaluedMap<K,​V>
    +extends java.util.Map<K,​java.util.List<V>>
    +
    A map of key-values pairs. Each key can have zero or more values.
    +
    +
    Since:
    +
    1.0
    +
    Author:
    +
    Paul Sandoz, Marc Hadley, Marek Potociar
    +
    +
  • +
+
+
+
    +
  • + +
    +
      +
    • + + +

      Nested Class Summary

      +
        +
      • + + +

        Nested classes/interfaces inherited from interface java.util.Map

        +java.util.Map.Entry<K extends java.lang.Object,​V extends java.lang.Object>
      • +
      +
    • +
    +
    + +
    +
      +
    • + + +

      Method Summary

      + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
      All Methods Instance Methods Abstract Methods 
      Modifier and TypeMethodDescription
      voidadd​(K key, + V value) +
      Add a value to the current list of values for the supplied key.
      +
      voidaddAll​(K key, + java.util.List<V> valueList) +
      Add all the values from the supplied value list to the current list of + values for the supplied key.
      +
      voidaddAll​(K key, + V... newValues) +
      Add multiple values to the current list of values for the supplied key.
      +
      voidaddFirst​(K key, + V value) +
      Add a value to the first position in the current list of values for the + supplied key.
      +
      booleanequalsIgnoreValueOrder​(MultivaluedMap<K,​V> otherMap) +
      Compare the specified map with this map for equality modulo the order + of values for each key.
      +
      VgetFirst​(K key) +
      A shortcut to get the first value of the supplied key.
      +
      voidputSingle​(K key, + V value) +
      Set the key's value to be a one item list consisting of the supplied value.
      +
      +
        +
      • + + +

        Methods inherited from interface java.util.Map

        +clear, compute, computeIfAbsent, computeIfPresent, containsKey, containsValue, entrySet, equals, forEach, get, getOrDefault, hashCode, isEmpty, keySet, merge, put, putAll, putIfAbsent, remove, remove, replace, replace, replaceAll, size, values
      • +
      +
    • +
    +
    +
  • +
+
+
+
    +
  • + +
    +
      +
    • + + +

      Method Detail

      + + + + + +
        +
      • +

        putSingle

        +
        void putSingle​(K key,
        +               V value)
        +
        Set the key's value to be a one item list consisting of the supplied value. + Any existing values will be replaced.
        +
        +
        Parameters:
        +
        key - the key
        +
        value - the single value of the key
        +
        +
      • +
      + + + + + +
        +
      • +

        add

        +
        void add​(K key,
        +         V value)
        +
        Add a value to the current list of values for the supplied key.
        +
        +
        Parameters:
        +
        key - the key
        +
        value - the value to be added.
        +
        +
      • +
      + + + + + +
        +
      • +

        getFirst

        +
        V getFirst​(K key)
        +
        A shortcut to get the first value of the supplied key.
        +
        +
        Parameters:
        +
        key - the key
        +
        Returns:
        +
        the first value for the specified key or null if the key is + not in the map.
        +
        +
      • +
      + + + + + +
        +
      • +

        addAll

        +
        void addAll​(K key,
        +            V... newValues)
        +
        Add multiple values to the current list of values for the supplied key. If + the supplied array of new values is empty, method returns immediately. + Method throws a NullPointerException if the supplied array of values + is null.
        +
        +
        Parameters:
        +
        key - the key.
        +
        newValues - the values to be added.
        +
        Throws:
        +
        java.lang.NullPointerException - if the supplied array of new values is null.
        +
        Since:
        +
        2.0
        +
        +
      • +
      + + + + + +
        +
      • +

        addAll

        +
        void addAll​(K key,
        +            java.util.List<V> valueList)
        +
        Add all the values from the supplied value list to the current list of + values for the supplied key. If the supplied value list is empty, method + returns immediately. Method throws a NullPointerException if the + supplied array of values is null.
        +
        +
        Parameters:
        +
        key - the key.
        +
        valueList - the list of values to be added.
        +
        Throws:
        +
        java.lang.NullPointerException - if the supplied value list is null.
        +
        Since:
        +
        2.0
        +
        +
      • +
      + + + + + +
        +
      • +

        addFirst

        +
        void addFirst​(K key,
        +              V value)
        +
        Add a value to the first position in the current list of values for the + supplied key.
        +
        +
        Parameters:
        +
        key - the key
        +
        value - the value to be added.
        +
        Since:
        +
        2.0
        +
        +
      • +
      + + + +
        +
      • +

        equalsIgnoreValueOrder

        +
        boolean equalsIgnoreValueOrder​(MultivaluedMap<K,​V> otherMap)
        +
        Compare the specified map with this map for equality modulo the order + of values for each key. Specifically, the values associated with + each key are compared as if they were ordered lists.
        +
        +
        Parameters:
        +
        otherMap - map to be compared to this one.
        +
        Returns:
        +
        true if the maps are equal modulo value ordering.
        +
        Since:
        +
        2.0
        +
        +
      • +
      +
    • +
    +
    +
  • +
+
+
+
+ + + + diff --git a/apidocs/1.19/org/glassfish/tyrus/core/uri/internal/MultivaluedStringMap.html b/apidocs/1.19/org/glassfish/tyrus/core/uri/internal/MultivaluedStringMap.html new file mode 100644 index 00000000..fc747f9c --- /dev/null +++ b/apidocs/1.19/org/glassfish/tyrus/core/uri/internal/MultivaluedStringMap.html @@ -0,0 +1,502 @@ + + + + + +MultivaluedStringMap (Tyrus 1.19 API) + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +

Class MultivaluedStringMap

+
+
+ +
+
    +
  • +
    +
    All Implemented Interfaces:
    +
    java.io.Serializable, java.util.Map<java.lang.String,​java.util.List<java.lang.String>>, MultivaluedMap<java.lang.String,​java.lang.String>
    +
    +
    +
    public class MultivaluedStringMap
    +extends MultivaluedHashMap<java.lang.String,​java.lang.String>
    +
    An implementation of MultivaluedMap where keys and values are + instances of String. +

    + This map has an additional ability to instantiate classes using the + individual string values as a constructor parameters.

    +
    +
    Author:
    +
    Paul Sandoz, Marek Potociar (marek.potociar at oracle.com)
    +
    See Also:
    +
    Serialized Form
    +
    +
  • +
+
+
+ +
+
+
    +
  • + +
    +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        MultivaluedStringMap

        +
        public MultivaluedStringMap​(MultivaluedMap<? extends java.lang.String,​? extends java.lang.String> map)
        +
      • +
      + + + +
        +
      • +

        MultivaluedStringMap

        +
        public MultivaluedStringMap​(int initialCapacity,
        +                            float loadFactor)
        +
      • +
      + + + +
        +
      • +

        MultivaluedStringMap

        +
        public MultivaluedStringMap​(int initialCapacity)
        +
      • +
      + + + +
        +
      • +

        MultivaluedStringMap

        +
        public MultivaluedStringMap()
        +
      • +
      +
    • +
    +
    + +
    +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        addFirstNull

        +
        protected void addFirstNull​(java.util.List<java.lang.String> values)
        +
        Description copied from class: AbstractMultivaluedMap
        +
        Define the behavior for adding a null values to the first position + in the value list. +

        + Default implementation is a no-op, i.e. the null values are ignored. + Overriding implementations may modify this behavior by providing their + own definitions of this method.

        +
        +
        Overrides:
        +
        addFirstNull in class AbstractMultivaluedMap<java.lang.String,​java.lang.String>
        +
        Parameters:
        +
        values - value list where the null value addition is being + requested.
        +
        +
      • +
      + + + +
        +
      • +

        addNull

        +
        protected void addNull​(java.util.List<java.lang.String> values)
        +
        Description copied from class: AbstractMultivaluedMap
        +
        Define the behavior for adding a null values to the value list. +

        + Default implementation is a no-op, i.e. the null values are ignored. + Overriding implementations may modify this behavior by providing their + own definitions of this method.

        +
        +
        Overrides:
        +
        addNull in class AbstractMultivaluedMap<java.lang.String,​java.lang.String>
        +
        Parameters:
        +
        values - value list where the null value addition is being + requested.
        +
        +
      • +
      + + + +
        +
      • +

        getFirst

        +
        public final <A> A getFirst​(java.lang.String key,
        +                            java.lang.Class<A> type)
        +
      • +
      + + + + + +
        +
      • +

        getFirst

        +
        public final <A> A getFirst​(java.lang.String key,
        +                            A defaultValue)
        +
      • +
      +
    • +
    +
    +
  • +
+
+
+
+ + + + diff --git a/apidocs/1.19/org/glassfish/tyrus/core/uri/internal/PathPattern.RightHandPath.html b/apidocs/1.19/org/glassfish/tyrus/core/uri/internal/PathPattern.RightHandPath.html new file mode 100644 index 00000000..4a58aeab --- /dev/null +++ b/apidocs/1.19/org/glassfish/tyrus/core/uri/internal/PathPattern.RightHandPath.html @@ -0,0 +1,391 @@ + + + + + +PathPattern.RightHandPath (Tyrus 1.19 API) + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +

Enum PathPattern.RightHandPath

+
+
+
    +
  • java.lang.Object
  • +
  • + +
  • +
+
+
    +
  • +
    +
    All Implemented Interfaces:
    +
    java.io.Serializable, java.lang.Comparable<PathPattern.RightHandPath>
    +
    +
    +
    Enclosing class:
    +
    PathPattern
    +
    +
    +
    public static enum PathPattern.RightHandPath
    +extends java.lang.Enum<PathPattern.RightHandPath>
    +
    The set of right hand path patterns that may be appended to a path pattern.
    +
  • +
+
+
+
    +
  • + +
    +
      +
    • + + +

      Enum Constant Summary

      + + + + + + + + + + + + + + +
      Enum Constants 
      Enum ConstantDescription
      capturingZeroOrMoreSegments +
      A capturing group that matches zero or more path segments and keeps the matching path template open.
      +
      capturingZeroSegments +
      A capturing group that matches zero segments and effectively closes the matching path template.
      +
      +
    • +
    +
    + +
    +
      +
    • + + +

      Method Summary

      + + + + + + + + + + + + + + + + + +
      All Methods Static Methods Concrete Methods 
      Modifier and TypeMethodDescription
      static PathPattern.RightHandPathvalueOf​(java.lang.String name) +
      Returns the enum constant of this type with the specified name.
      +
      static PathPattern.RightHandPath[]values() +
      Returns an array containing the constants of this enum type, in +the order they are declared.
      +
      +
        +
      • + + +

        Methods inherited from class java.lang.Enum

        +clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
      • +
      +
        +
      • + + +

        Methods inherited from class java.lang.Object

        +getClass, notify, notifyAll, wait, wait, wait
      • +
      +
    • +
    +
    +
  • +
+
+
+
    +
  • + +
    +
      +
    • + + +

      Enum Constant Detail

      + + + +
        +
      • +

        capturingZeroOrMoreSegments

        +
        public static final PathPattern.RightHandPath capturingZeroOrMoreSegments
        +
        A capturing group that matches zero or more path segments and keeps the matching path template open.
        +
      • +
      + + + +
        +
      • +

        capturingZeroSegments

        +
        public static final PathPattern.RightHandPath capturingZeroSegments
        +
        A capturing group that matches zero segments and effectively closes the matching path template.
        +
      • +
      +
    • +
    +
    + +
    +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        values

        +
        public static PathPattern.RightHandPath[] values()
        +
        Returns an array containing the constants of this enum type, in +the order they are declared. This method may be used to iterate +over the constants as follows: +
        +for (PathPattern.RightHandPath c : PathPattern.RightHandPath.values())
        +    System.out.println(c);
        +
        +
        +
        Returns:
        +
        an array containing the constants of this enum type, in the order they are declared
        +
        +
      • +
      + + + +
        +
      • +

        valueOf

        +
        public static PathPattern.RightHandPath valueOf​(java.lang.String name)
        +
        Returns the enum constant of this type with the specified name. +The string must match exactly an identifier used to declare an +enum constant in this type. (Extraneous whitespace characters are +not permitted.)
        +
        +
        Parameters:
        +
        name - the name of the enum constant to be returned.
        +
        Returns:
        +
        the enum constant with the specified name
        +
        Throws:
        +
        java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
        +
        java.lang.NullPointerException - if the argument is null
        +
        +
      • +
      +
    • +
    +
    +
  • +
+
+
+
+ + + + diff --git a/apidocs/1.19/org/glassfish/tyrus/core/uri/internal/PathPattern.html b/apidocs/1.19/org/glassfish/tyrus/core/uri/internal/PathPattern.html new file mode 100644 index 00000000..dc20b98b --- /dev/null +++ b/apidocs/1.19/org/glassfish/tyrus/core/uri/internal/PathPattern.html @@ -0,0 +1,563 @@ + + + + + +PathPattern (Tyrus 1.19 API) + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +

Class PathPattern

+
+
+ +
+ +
+
+ +
+
+
    +
  • + +
    +
      +
    • + + +

      Field Detail

      + + + +
        +
      • +

        EMPTY_PATTERN

        +
        public static final PathPattern EMPTY_PATTERN
        +
        Empty path pattern matching only empty string.
        +
      • +
      + + + +
        +
      • +

        END_OF_PATH_PATTERN

        +
        public static final PathPattern END_OF_PATH_PATTERN
        +
        Path pattern matching the end of a URI path. Can be either empty "" or contain a trailing slash + "/".
        +
      • +
      + + + +
        +
      • +

        OPEN_ROOT_PATH_PATTERN

        +
        public static final PathPattern OPEN_ROOT_PATH_PATTERN
        +
        Path pattern matching the any URI path.
        +
      • +
      + + + +
        +
      • +

        COMPARATOR

        +
        public static final java.util.Comparator<PathPattern> COMPARATOR
        +
        Path pattern comparator that defers to comparing the templates associated with the + patterns.
        +
      • +
      +
    • +
    +
    + +
    + +
    + +
    +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        asClosed

        +
        public static PathPattern asClosed​(PathPattern pattern)
        +
        Return a new path pattern with a same path template but a closed + right hand path.
        +
        +
        Parameters:
        +
        pattern - an (open) path pattern to convert to a closed pattern.
        +
        Returns:
        +
        closed path pattern for the same path template.
        +
        +
      • +
      + + + +
        +
      • +

        getTemplate

        +
        public UriTemplate getTemplate()
        +
      • +
      +
    • +
    +
    +
  • +
+
+
+
+ + + + diff --git a/apidocs/1.19/org/glassfish/tyrus/core/uri/internal/PathSegment.html b/apidocs/1.19/org/glassfish/tyrus/core/uri/internal/PathSegment.html new file mode 100644 index 00000000..4c2c9592 --- /dev/null +++ b/apidocs/1.19/org/glassfish/tyrus/core/uri/internal/PathSegment.html @@ -0,0 +1,294 @@ + + + + + +PathSegment (Tyrus 1.19 API) + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +

Interface PathSegment

+
+
+
+
    +
  • +
    +
    public interface PathSegment
    +
    Represents a URI path segment and any associated matrix parameters. When an + instance of this type is injected with javax.ws.rs.PathParam, the + value of the annotation identifies which path segment is selected and the + presence of an javax.ws.rs.Encoded annotation will result in an + instance that supplies the path and matrix parameter values in + URI encoded form.
    +
    +
    Author:
    +
    Paul Sandoz, Marc Hadley
    +
    +
  • +
+
+
+ +
+
+
    +
  • + +
    +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        getPath

        +
        java.lang.String getPath()
        +
        Get the path segment.
        +
        +
        Returns:
        +
        the path segment
        +
        +
      • +
      + + + +
        +
      • +

        getMatrixParameters

        +
        MultivaluedMap<java.lang.String,​java.lang.String> getMatrixParameters()
        +
        Get a map of the matrix parameters associated with the path segment. + The map keys are the names of the matrix parameters with any + percent-escaped octets decoded.
        +
        +
        Returns:
        +
        the map of matrix parameters
        +
        See Also:
        +
        Matrix URIs
        +
        +
      • +
      +
    • +
    +
    +
  • +
+
+
+
+ + + + diff --git a/apidocs/1.19/org/glassfish/tyrus/core/uri/internal/PathTemplate.html b/apidocs/1.19/org/glassfish/tyrus/core/uri/internal/PathTemplate.html new file mode 100644 index 00000000..e436c518 --- /dev/null +++ b/apidocs/1.19/org/glassfish/tyrus/core/uri/internal/PathTemplate.html @@ -0,0 +1,314 @@ + + + + + +PathTemplate (Tyrus 1.19 API) + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +

Class PathTemplate

+
+
+ +
+
    +
  • +
    +
    public final class PathTemplate
    +extends UriTemplate
    +
    A URI template for a URI path.
    +
    +
    Author:
    +
    Paul Sandoz, Yegor Bugayenko (yegor256 at java.net)
    +
    +
  • +
+
+
+ +
+
+
    +
  • + +
    +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        PathTemplate

        +
        public PathTemplate​(java.lang.String path)
        +
        Create a URI path template and encode (percent escape) any characters of + the template that are not valid URI characters. Paths that don't start with + a slash ('/') will be automatically prefixed with one.
        +
        +
        Parameters:
        +
        path - the URI path template.
        +
        +
      • +
      +
    • +
    +
    +
  • +
+
+
+
+ + + + diff --git a/apidocs/1.19/org/glassfish/tyrus/core/uri/internal/PatternWithGroups.html b/apidocs/1.19/org/glassfish/tyrus/core/uri/internal/PatternWithGroups.html new file mode 100644 index 00000000..1de5a5bb --- /dev/null +++ b/apidocs/1.19/org/glassfish/tyrus/core/uri/internal/PatternWithGroups.html @@ -0,0 +1,654 @@ + + + + + +PatternWithGroups (Tyrus 1.19 API) + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +

Class PatternWithGroups

+
+
+
    +
  • java.lang.Object
  • +
  • +
      +
    • org.glassfish.tyrus.core.uri.internal.PatternWithGroups
    • +
    +
  • +
+
+
    +
  • +
    +
    Direct Known Subclasses:
    +
    PathPattern
    +
    +
    +
    public class PatternWithGroups
    +extends java.lang.Object
    +
    A pattern for matching a string against a regular expression and returning capturing group values for any capturing + groups present in the expression.
    +
    +
    Author:
    +
    Paul Sandoz, Gerard Davison (gerard.davison at oracle.com)
    +
    +
  • +
+
+
+
    +
  • + +
    +
      +
    • + + +

      Field Summary

      + + + + + + + + + + + + +
      Fields 
      Modifier and TypeFieldDescription
      static PatternWithGroupsEMPTY +
      The empty pattern that matches the null or empty string.
      +
      +
    • +
    +
    + +
    +
      +
    • + + +

      Constructor Summary

      + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
      Constructors 
      ModifierConstructorDescription
      protected PatternWithGroups() +
      Construct an empty pattern.
      +
       PatternWithGroups​(java.lang.String regex) +
      Construct a new pattern.
      +
       PatternWithGroups​(java.lang.String regex, + int[] groupIndexes) +
      Construct a new pattern.
      +
       PatternWithGroups​(java.util.regex.Pattern regexPattern) +
      Construct a new pattern.
      +
       PatternWithGroups​(java.util.regex.Pattern regexPattern, + int[] groupIndexes) +
      Construct a new pattern.
      +
      +
    • +
    +
    + +
    +
      +
    • + + +

      Method Summary

      + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
      All Methods Instance Methods Concrete Methods 
      Modifier and TypeMethodDescription
      booleanequals​(java.lang.Object obj) 
      int[]getGroupIndexes() +
      Get the group indexes to capturing groups.
      +
      java.lang.StringgetRegex() +
      Get the regular expression.
      +
      inthashCode() 
      java.util.regex.MatchResultmatch​(java.lang.CharSequence cs) +
      Match against the pattern.
      +
      booleanmatch​(java.lang.CharSequence cs, + java.util.List<java.lang.String> groupValues) +
      Match against the pattern.
      +
      booleanmatch​(java.lang.CharSequence cs, + java.util.List<java.lang.String> groupNames, + java.util.Map<java.lang.String,​java.lang.String> groupValues) +
      Match against the pattern.
      +
      java.lang.StringtoString() 
      +
        +
      • + + +

        Methods inherited from class java.lang.Object

        +clone, finalize, getClass, notify, notifyAll, wait, wait, wait
      • +
      +
    • +
    +
    +
  • +
+
+
+
    +
  • + +
    +
      +
    • + + +

      Field Detail

      + + + +
        +
      • +

        EMPTY

        +
        public static final PatternWithGroups EMPTY
        +
        The empty pattern that matches the null or empty string.
        +
      • +
      +
    • +
    +
    + +
    +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        PatternWithGroups

        +
        protected PatternWithGroups()
        +
        Construct an empty pattern.
        +
      • +
      + + + +
        +
      • +

        PatternWithGroups

        +
        public PatternWithGroups​(java.lang.String regex)
        +                  throws java.util.regex.PatternSyntaxException
        +
        Construct a new pattern.
        +
        +
        Parameters:
        +
        regex - the regular expression. If the expression is null or an empty string then the pattern will + only match + a null or empty string.
        +
        Throws:
        +
        java.util.regex.PatternSyntaxException - if the regular expression could not be compiled.
        +
        +
      • +
      + + + +
        +
      • +

        PatternWithGroups

        +
        public PatternWithGroups​(java.lang.String regex,
        +                         int[] groupIndexes)
        +                  throws java.util.regex.PatternSyntaxException
        +
        Construct a new pattern.
        +
        +
        Parameters:
        +
        regex - the regular expression. If the expression is null or an empty string then the + pattern + will only match a null or empty string.
        +
        groupIndexes - the array of group indexes to capturing groups.
        +
        Throws:
        +
        java.util.regex.PatternSyntaxException - if the regular expression could not be compiled.
        +
        +
      • +
      + + + +
        +
      • +

        PatternWithGroups

        +
        public PatternWithGroups​(java.util.regex.Pattern regexPattern)
        +                  throws java.lang.IllegalArgumentException
        +
        Construct a new pattern.
        +
        +
        Parameters:
        +
        regexPattern - the regular expression pattern.
        +
        Throws:
        +
        java.lang.IllegalArgumentException - if the regexPattern is null.
        +
        +
      • +
      + + + +
        +
      • +

        PatternWithGroups

        +
        public PatternWithGroups​(java.util.regex.Pattern regexPattern,
        +                         int[] groupIndexes)
        +                  throws java.lang.IllegalArgumentException
        +
        Construct a new pattern.
        +
        +
        Parameters:
        +
        regexPattern - the regular expression pattern.
        +
        groupIndexes - the array of group indexes to capturing groups.
        +
        Throws:
        +
        java.lang.IllegalArgumentException - if the regexPattern is null.
        +
        +
      • +
      +
    • +
    +
    + +
    +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        getRegex

        +
        public final java.lang.String getRegex()
        +
        Get the regular expression.
        +
        +
        Returns:
        +
        the regular expression.
        +
        +
      • +
      + + + +
        +
      • +

        getGroupIndexes

        +
        public final int[] getGroupIndexes()
        +
        Get the group indexes to capturing groups. +

        + Any nested capturing groups will be ignored and the the group index will refer to the top-level capturing groups + associated with the templates variables.

        +
        +
        Returns:
        +
        the group indexes to capturing groups.
        +
        +
      • +
      + + + +
        +
      • +

        match

        +
        public final java.util.regex.MatchResult match​(java.lang.CharSequence cs)
        +
        Match against the pattern.
        +
        +
        Parameters:
        +
        cs - the char sequence to match against the template.
        +
        Returns:
        +
        the match result, otherwise null if no match occurs.
        +
        +
      • +
      + + + +
        +
      • +

        match

        +
        public final boolean match​(java.lang.CharSequence cs,
        +                           java.util.List<java.lang.String> groupValues)
        +                    throws java.lang.IllegalArgumentException
        +
        Match against the pattern. +

        + If a matched then the capturing group values (if any) will be added to a list passed in as parameter.

        +
        +
        Parameters:
        +
        cs - the char sequence to match against the template.
        +
        groupValues - the list to add the values of a pattern's capturing groups if matching is successful. The + values are + added in the same order as the pattern's capturing groups. The list is cleared before values + are added.
        +
        Returns:
        +
        true if the char sequence matches the pattern, otherwise false.
        +
        Throws:
        +
        java.lang.IllegalArgumentException - if the group values is null.
        +
        +
      • +
      + + + +
        +
      • +

        match

        +
        public final boolean match​(java.lang.CharSequence cs,
        +                           java.util.List<java.lang.String> groupNames,
        +                           java.util.Map<java.lang.String,​java.lang.String> groupValues)
        +                    throws java.lang.IllegalArgumentException
        +
        Match against the pattern. +

        + If a matched then the capturing group values (if any) will be added to a list passed in as parameter.

        +
        +
        Parameters:
        +
        cs - the char sequence to match against the template.
        +
        groupNames - the list names associated with a pattern's capturing groups. The names MUST be in the same + order as the pattern's capturing groups and the size MUST be equal to or less than the number + of capturing groups.
        +
        groupValues - the map to add the values of a pattern's capturing groups if matching is successful. A values + is put into the map using the group name associated with the capturing group. The map is + cleared before values are added.
        +
        Returns:
        +
        true if the matches the pattern, otherwise false.
        +
        Throws:
        +
        java.lang.IllegalArgumentException - if group values is null.
        +
        +
      • +
      + + + +
        +
      • +

        hashCode

        +
        public final int hashCode()
        +
        +
        Overrides:
        +
        hashCode in class java.lang.Object
        +
        +
      • +
      + + + +
        +
      • +

        equals

        +
        public final boolean equals​(java.lang.Object obj)
        +
        +
        Overrides:
        +
        equals in class java.lang.Object
        +
        +
      • +
      + + + +
        +
      • +

        toString

        +
        public final java.lang.String toString()
        +
        +
        Overrides:
        +
        toString in class java.lang.Object
        +
        +
      • +
      +
    • +
    +
    +
  • +
+
+
+
+ + + + diff --git a/apidocs/1.19/org/glassfish/tyrus/core/uri/internal/UriComponent.Type.html b/apidocs/1.19/org/glassfish/tyrus/core/uri/internal/UriComponent.Type.html new file mode 100644 index 00000000..b5eacb66 --- /dev/null +++ b/apidocs/1.19/org/glassfish/tyrus/core/uri/internal/UriComponent.Type.html @@ -0,0 +1,567 @@ + + + + + +UriComponent.Type (Tyrus 1.19 API) + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +

Enum UriComponent.Type

+
+
+
    +
  • java.lang.Object
  • +
  • +
      +
    • java.lang.Enum<UriComponent.Type>
    • +
    • +
        +
      • org.glassfish.tyrus.core.uri.internal.UriComponent.Type
      • +
      +
    • +
    +
  • +
+
+
    +
  • +
    +
    All Implemented Interfaces:
    +
    java.io.Serializable, java.lang.Comparable<UriComponent.Type>
    +
    +
    +
    Enclosing class:
    +
    UriComponent
    +
    +
    +
    public static enum UriComponent.Type
    +extends java.lang.Enum<UriComponent.Type>
    +
    The URI component type.
    +
  • +
+
+
+
    +
  • + +
    +
      +
    • + + +

      Enum Constant Summary

      + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
      Enum Constants 
      Enum ConstantDescription
      AUTHORITY +
      The URI authority component type.
      +
      FRAGMENT +
      The URI fragment component type.
      +
      HOST +
      The URI host component type.
      +
      MATRIX_PARAM +
      The URI path component type that is a matrix parameter.
      +
      PATH +
      The URI path component type.
      +
      PATH_SEGMENT +
      The URI path component type that is a path segment.
      +
      PORT +
      The URI port component type.
      +
      QUERY +
      The URI query component type.
      +
      QUERY_PARAM +
      The URI query component type that is a query parameter, space character is encoded as +.
      +
      QUERY_PARAM_SPACE_ENCODED +
      The URI query component type that is a query parameter, space character is encoded as %20.
      +
      SCHEME +
      The URI scheme component type.
      +
      UNRESERVED +
      ALPHA / DIGIT / "-" / "." / "_" / "~" characters.
      +
      USER_INFO +
      The URI user info component type.
      +
      +
    • +
    +
    + +
    +
      +
    • + + +

      Method Summary

      + + + + + + + + + + + + + + + + + +
      All Methods Static Methods Concrete Methods 
      Modifier and TypeMethodDescription
      static UriComponent.TypevalueOf​(java.lang.String name) +
      Returns the enum constant of this type with the specified name.
      +
      static UriComponent.Type[]values() +
      Returns an array containing the constants of this enum type, in +the order they are declared.
      +
      +
        +
      • + + +

        Methods inherited from class java.lang.Enum

        +clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
      • +
      +
        +
      • + + +

        Methods inherited from class java.lang.Object

        +getClass, notify, notifyAll, wait, wait, wait
      • +
      +
    • +
    +
    +
  • +
+
+
+
    +
  • + +
    +
      +
    • + + +

      Enum Constant Detail

      + + + +
        +
      • +

        UNRESERVED

        +
        public static final UriComponent.Type UNRESERVED
        +
        ALPHA / DIGIT / "-" / "." / "_" / "~" characters.
        +
      • +
      + + + +
        +
      • +

        SCHEME

        +
        public static final UriComponent.Type SCHEME
        +
        The URI scheme component type.
        +
      • +
      + + + +
        +
      • +

        AUTHORITY

        +
        public static final UriComponent.Type AUTHORITY
        +
        The URI authority component type.
        +
      • +
      + + + +
        +
      • +

        USER_INFO

        +
        public static final UriComponent.Type USER_INFO
        +
        The URI user info component type.
        +
      • +
      + + + +
        +
      • +

        HOST

        +
        public static final UriComponent.Type HOST
        +
        The URI host component type.
        +
      • +
      + + + +
        +
      • +

        PORT

        +
        public static final UriComponent.Type PORT
        +
        The URI port component type.
        +
      • +
      + + + +
        +
      • +

        PATH

        +
        public static final UriComponent.Type PATH
        +
        The URI path component type.
        +
      • +
      + + + +
        +
      • +

        PATH_SEGMENT

        +
        public static final UriComponent.Type PATH_SEGMENT
        +
        The URI path component type that is a path segment.
        +
      • +
      + + + +
        +
      • +

        MATRIX_PARAM

        +
        public static final UriComponent.Type MATRIX_PARAM
        +
        The URI path component type that is a matrix parameter.
        +
      • +
      + + + +
        +
      • +

        QUERY

        +
        public static final UriComponent.Type QUERY
        +
        The URI query component type.
        +
      • +
      + + + +
        +
      • +

        QUERY_PARAM

        +
        public static final UriComponent.Type QUERY_PARAM
        +
        The URI query component type that is a query parameter, space character is encoded as +.
        +
      • +
      + + + +
        +
      • +

        QUERY_PARAM_SPACE_ENCODED

        +
        public static final UriComponent.Type QUERY_PARAM_SPACE_ENCODED
        +
        The URI query component type that is a query parameter, space character is encoded as %20.
        +
      • +
      + + + +
        +
      • +

        FRAGMENT

        +
        public static final UriComponent.Type FRAGMENT
        +
        The URI fragment component type.
        +
      • +
      +
    • +
    +
    + +
    +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        values

        +
        public static UriComponent.Type[] values()
        +
        Returns an array containing the constants of this enum type, in +the order they are declared. This method may be used to iterate +over the constants as follows: +
        +for (UriComponent.Type c : UriComponent.Type.values())
        +    System.out.println(c);
        +
        +
        +
        Returns:
        +
        an array containing the constants of this enum type, in the order they are declared
        +
        +
      • +
      + + + +
        +
      • +

        valueOf

        +
        public static UriComponent.Type valueOf​(java.lang.String name)
        +
        Returns the enum constant of this type with the specified name. +The string must match exactly an identifier used to declare an +enum constant in this type. (Extraneous whitespace characters are +not permitted.)
        +
        +
        Parameters:
        +
        name - the name of the enum constant to be returned.
        +
        Returns:
        +
        the enum constant with the specified name
        +
        Throws:
        +
        java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
        +
        java.lang.NullPointerException - if the argument is null
        +
        +
      • +
      +
    • +
    +
    +
  • +
+
+
+
+ + + + diff --git a/apidocs/1.19/org/glassfish/tyrus/core/uri/internal/UriComponent.html b/apidocs/1.19/org/glassfish/tyrus/core/uri/internal/UriComponent.html new file mode 100644 index 00000000..5ffd21fd --- /dev/null +++ b/apidocs/1.19/org/glassfish/tyrus/core/uri/internal/UriComponent.html @@ -0,0 +1,844 @@ + + + + + +UriComponent (Tyrus 1.19 API) + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +

Class UriComponent

+
+
+
    +
  • java.lang.Object
  • +
  • +
      +
    • org.glassfish.tyrus.core.uri.internal.UriComponent
    • +
    +
  • +
+
+
    +
  • +
    +
    public class UriComponent
    +extends java.lang.Object
    +
    Utility class for validating, encoding and decoding components + of a URI.
    +
    +
    Author:
    +
    Paul Sandoz, Marek Potociar (marek.potociar at oracle.com)
    +
    +
  • +
+
+
+
    +
  • + +
    +
      +
    • + + +

      Nested Class Summary

      + + + + + + + + + + + + +
      Nested Classes 
      Modifier and TypeClassDescription
      static class UriComponent.Type +
      The URI component type.
      +
      +
    • +
    +
    + +
    +
      +
    • + + +

      Method Summary

      + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
      All Methods Static Methods Concrete Methods 
      Modifier and TypeMethodDescription
      static java.lang.StringcontextualEncode​(java.lang.String s, + UriComponent.Type t) +
      Contextually encodes the characters of string that are either non-ASCII characters or are ASCII characters that + must be percent-encoded using the UTF-8 encoding.
      +
      static java.lang.StringcontextualEncode​(java.lang.String s, + UriComponent.Type t, + boolean template) +
      Contextually encodes the characters of string that are either non-ASCII characters or are ASCII characters that + must be percent-encoded using the UTF-8 encoding.
      +
      static java.lang.Stringdecode​(java.lang.String s, + UriComponent.Type t) +
      Decodes characters of a string that are percent-encoded octets using + UTF-8 decoding (if needed).
      +
      static MultivaluedMap<java.lang.String,​java.lang.String>decodeMatrix​(java.lang.String pathSegment, + boolean decode) +
      Decode the matrix component of a URI path segment.
      +
      static java.util.List<PathSegment>decodePath​(java.lang.String path, + boolean decode) +
      Decode the path component of a URI as path segments.
      +
      static java.util.List<PathSegment>decodePath​(java.net.URI u, + boolean decode) +
      Decode the path component of a URI as path segments.
      +
      static voiddecodePathSegment​(java.util.List<PathSegment> segments, + java.lang.String segment, + boolean decode) +
      Decode the path segment and add it to the list of path segments.
      +
      static MultivaluedMap<java.lang.String,​java.lang.String>decodeQuery​(java.lang.String q, + boolean decode) +
      Decode the query component of a URI.
      +
      static MultivaluedMap<java.lang.String,​java.lang.String>decodeQuery​(java.lang.String q, + boolean decodeNames, + boolean decodeValues) +
      Decode the query component of a URI.
      +
      static MultivaluedMap<java.lang.String,​java.lang.String>decodeQuery​(java.net.URI u, + boolean decode) +
      Decode the query component of a URI.
      +
      static java.lang.Stringencode​(java.lang.String s, + UriComponent.Type t) +
      Encodes the characters of string that are either non-ASCII characters + or are ASCII characters that must be percent-encoded using the + UTF-8 encoding.
      +
      static java.lang.Stringencode​(java.lang.String s, + UriComponent.Type t, + boolean template) +
      Encodes the characters of string that are either non-ASCII characters + or are ASCII characters that must be percent-encoded using the + UTF-8 encoding.
      +
      static java.lang.StringencodeTemplateNames​(java.lang.String s) +
      Encodes a string with template parameters names present, specifically the + characters '{' and '}' will be percent-encoded.
      +
      static java.lang.StringfullRelativeUri​(java.net.URI uri) +
      Return the Request-Uri representation as defined by HTTP spec.
      +
      static booleanisHexCharacter​(char c) +
      Checks whether the character c is hexadecimal character.
      +
      static booleanvalid​(java.lang.String s, + UriComponent.Type t) +
      Validates the legal characters of a percent-encoded string that represents a URI component type.
      +
      static booleanvalid​(java.lang.String s, + UriComponent.Type t, + boolean template) +
      Validates the legal characters of a percent-encoded string that represents a URI component type.
      +
      static voidvalidate​(java.lang.String s, + UriComponent.Type t) +
      Validates the legal characters of a percent-encoded string that represents a URI component type.
      +
      static voidvalidate​(java.lang.String s, + UriComponent.Type t, + boolean template) +
      Validates the legal characters of a percent-encoded string that represents a URI component type.
      +
      +
        +
      • + + +

        Methods inherited from class java.lang.Object

        +clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • +
      +
    • +
    +
    +
  • +
+
+
+
    +
  • + +
    +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        validate

        +
        public static void validate​(java.lang.String s,
        +                            UriComponent.Type t)
        +
        Validates the legal characters of a percent-encoded string that represents a URI component type.
        +
        +
        Parameters:
        +
        s - the encoded string.
        +
        t - the URI component type identifying the legal characters.
        +
        Throws:
        +
        java.lang.IllegalArgumentException - if the encoded string contains illegal characters.
        +
        +
      • +
      + + + +
        +
      • +

        validate

        +
        public static void validate​(java.lang.String s,
        +                            UriComponent.Type t,
        +                            boolean template)
        +
        Validates the legal characters of a percent-encoded string that represents a URI component type.
        +
        +
        Parameters:
        +
        s - the encoded string.
        +
        t - the URI component type identifying the legal characters.
        +
        template - true if the encoded string contains URI template variables
        +
        Throws:
        +
        java.lang.IllegalArgumentException - if the encoded string contains illegal characters.
        +
        +
      • +
      + + + +
        +
      • +

        valid

        +
        public static boolean valid​(java.lang.String s,
        +                            UriComponent.Type t)
        +
        Validates the legal characters of a percent-encoded string that represents a URI component type.
        +
        +
        Parameters:
        +
        s - the encoded string.
        +
        t - the URI component type identifying the legal characters.
        +
        Returns:
        +
        true if the encoded string is valid, otherwise false.
        +
        +
      • +
      + + + +
        +
      • +

        valid

        +
        public static boolean valid​(java.lang.String s,
        +                            UriComponent.Type t,
        +                            boolean template)
        +
        Validates the legal characters of a percent-encoded string that represents a URI component type.
        +
        +
        Parameters:
        +
        s - the encoded string.
        +
        t - the URI component type identifying the legal characters.
        +
        template - true if the encoded string contains URI template variables
        +
        Returns:
        +
        true if the encoded string is valid, otherwise false.
        +
        +
      • +
      + + + +
        +
      • +

        contextualEncode

        +
        public static java.lang.String contextualEncode​(java.lang.String s,
        +                                                UriComponent.Type t)
        +
        Contextually encodes the characters of string that are either non-ASCII characters or are ASCII characters that + must be percent-encoded using the UTF-8 encoding. Percent-encoded characters will be recognized and not double + encoded.
        +
        +
        Parameters:
        +
        s - the string to be encoded.
        +
        t - the URI component type identifying the ASCII characters that must be percent-encoded.
        +
        Returns:
        +
        the encoded string.
        +
        +
      • +
      + + + +
        +
      • +

        contextualEncode

        +
        public static java.lang.String contextualEncode​(java.lang.String s,
        +                                                UriComponent.Type t,
        +                                                boolean template)
        +
        Contextually encodes the characters of string that are either non-ASCII characters or are ASCII characters that + must be percent-encoded using the UTF-8 encoding. Percent-encoded characters will be recognized and not double + encoded.
        +
        +
        Parameters:
        +
        s - the string to be encoded.
        +
        t - the URI component type identifying the ASCII characters that must be percent-encoded.
        +
        template - true if the encoded string contains URI template variables
        +
        Returns:
        +
        the encoded string.
        +
        +
      • +
      + + + +
        +
      • +

        encode

        +
        public static java.lang.String encode​(java.lang.String s,
        +                                      UriComponent.Type t)
        +
        Encodes the characters of string that are either non-ASCII characters + or are ASCII characters that must be percent-encoded using the + UTF-8 encoding.
        +
        +
        Parameters:
        +
        s - the string to be encoded.
        +
        t - the URI component type identifying the ASCII characters that + must be percent-encoded.
        +
        Returns:
        +
        the encoded string.
        +
        +
      • +
      + + + +
        +
      • +

        encode

        +
        public static java.lang.String encode​(java.lang.String s,
        +                                      UriComponent.Type t,
        +                                      boolean template)
        +
        Encodes the characters of string that are either non-ASCII characters + or are ASCII characters that must be percent-encoded using the + UTF-8 encoding.
        +
        +
        Parameters:
        +
        s - the string to be encoded.
        +
        t - the URI component type identifying the ASCII characters that + must be percent-encoded.
        +
        template - true if the encoded string contains URI template variables
        +
        Returns:
        +
        the encoded string.
        +
        +
      • +
      + + + +
        +
      • +

        encodeTemplateNames

        +
        public static java.lang.String encodeTemplateNames​(java.lang.String s)
        +
        Encodes a string with template parameters names present, specifically the + characters '{' and '}' will be percent-encoded.
        +
        +
        Parameters:
        +
        s - the string with zero or more template parameters names
        +
        Returns:
        +
        the string with encoded template parameters names.
        +
        +
      • +
      + + + +
        +
      • +

        decode

        +
        public static java.lang.String decode​(java.lang.String s,
        +                                      UriComponent.Type t)
        +
        Decodes characters of a string that are percent-encoded octets using + UTF-8 decoding (if needed). +

        + It is assumed that the string is valid according to an (unspecified) URI + component type. If a sequence of contiguous percent-encoded octets is + not a valid UTF-8 character then the octets are replaced with '�'. +

        + If the URI component is of type HOST then any "%" found between "[]" is + left alone. It is an IPv6 literal with a scope_id. +

        + If the URI component is of type QUERY_PARAM then any "+" is decoded as + as ' '.

        +
        +
        Parameters:
        +
        s - the string to be decoded.
        +
        t - the URI component type, may be null.
        +
        Returns:
        +
        the decoded string.
        +
        Throws:
        +
        java.lang.IllegalArgumentException - if a malformed percent-encoded octet is + detected
        +
        +
      • +
      + + + +
        +
      • +

        decodeQuery

        +
        public static MultivaluedMap<java.lang.String,​java.lang.String> decodeQuery​(java.net.URI u,
        +                                                                                  boolean decode)
        +
        Decode the query component of a URI. +

        + Query parameter names in the returned map are always decoded. Decoding of query parameter + values can be controlled using the decode parameter flag.

        +
        +
        Parameters:
        +
        u - the URI.
        +
        decode - true if the returned query parameter values of the query component + should be in decoded form.
        +
        Returns:
        +
        the multivalued map of query parameters.
        +
        +
      • +
      + + + +
        +
      • +

        decodeQuery

        +
        public static MultivaluedMap<java.lang.String,​java.lang.String> decodeQuery​(java.lang.String q,
        +                                                                                  boolean decode)
        +
        Decode the query component of a URI. +

        + Query parameter names in the returned map are always decoded. Decoding of query parameter + values can be controlled using the decode parameter flag.

        +
        +
        Parameters:
        +
        q - the query component in encoded form.
        +
        decode - true if the returned query parameter values of the query component + should be in decoded form.
        +
        Returns:
        +
        the multivalued map of query parameters.
        +
        +
      • +
      + + + +
        +
      • +

        decodeQuery

        +
        public static MultivaluedMap<java.lang.String,​java.lang.String> decodeQuery​(java.lang.String q,
        +                                                                                  boolean decodeNames,
        +                                                                                  boolean decodeValues)
        +
        Decode the query component of a URI. +

        + Decoding of query parameter names and values can be controlled using the decodeNames + and decodeValues parameter flags.

        +
        +
        Parameters:
        +
        q - the query component in encoded form.
        +
        decodeNames - true if the returned query parameter names of the query component + should be in decoded form.
        +
        decodeValues - true if the returned query parameter values of the query component + should be in decoded form.
        +
        Returns:
        +
        the multivalued map of query parameters.
        +
        +
      • +
      + + + +
        +
      • +

        decodePath

        +
        public static java.util.List<PathSegment> decodePath​(java.net.URI u,
        +                                                     boolean decode)
        +
        Decode the path component of a URI as path segments.
        +
        +
        Parameters:
        +
        u - the URI. If the path component is an absolute path component + then the leading '/' is ignored and is not considered a delimiator + of a path segment.
        +
        decode - true if the path segments of the path component + should be in decoded form.
        +
        Returns:
        +
        the list of path segments.
        +
        +
      • +
      + + + +
        +
      • +

        decodePath

        +
        public static java.util.List<PathSegment> decodePath​(java.lang.String path,
        +                                                     boolean decode)
        +
        Decode the path component of a URI as path segments. +

        + Any '/' character in the path is considered to be a deliminator + between two path segments. Thus if the path is '/' then the path segment + list will contain two empty path segments. If the path is "//" then + the path segment list will contain three empty path segments. If the path + is "/a/" the path segment list will consist of the following path + segments in order: "", "a" and "".

        +
        +
        Parameters:
        +
        path - the path component in encoded form.
        +
        decode - true if the path segments of the path component + should be in decoded form.
        +
        Returns:
        +
        the list of path segments.
        +
        +
      • +
      + + + +
        +
      • +

        decodePathSegment

        +
        public static void decodePathSegment​(java.util.List<PathSegment> segments,
        +                                     java.lang.String segment,
        +                                     boolean decode)
        +
        Decode the path segment and add it to the list of path segments.
        +
        +
        Parameters:
        +
        segments - mutable list of path segments.
        +
        segment - path segment to be decoded.
        +
        decode - true if the path segment should be in a decoded form.
        +
        +
      • +
      + + + +
        +
      • +

        decodeMatrix

        +
        public static MultivaluedMap<java.lang.String,​java.lang.String> decodeMatrix​(java.lang.String pathSegment,
        +                                                                                   boolean decode)
        +
        Decode the matrix component of a URI path segment.
        +
        +
        Parameters:
        +
        pathSegment - the path segment component in encoded form.
        +
        decode - true if the matrix parameters of the path segment component should be in decoded form.
        +
        Returns:
        +
        the multivalued map of matrix parameters.
        +
        +
      • +
      + + + +
        +
      • +

        isHexCharacter

        +
        public static boolean isHexCharacter​(char c)
        +
        Checks whether the character c is hexadecimal character.
        +
        +
        Parameters:
        +
        c - Any character
        +
        Returns:
        +
        The is c is a hexadecimal character (e.g. 0, 5, a, A, f, ...)
        +
        +
      • +
      + + + +
        +
      • +

        fullRelativeUri

        +
        public static java.lang.String fullRelativeUri​(java.net.URI uri)
        +
        Return the Request-Uri representation as defined by HTTP spec. For example: +
        <Method> <Request-URI> HTTP/<Version> (e.g. GET /auth;foo=bar/hello?foo=bar HTTP/1.1)
        +
        +
        Parameters:
        +
        uri - uri to obtain Request-Uri from.
        +
        Returns:
        +
        Request-Uri representation or null if uri is not provided.
        +
        +
      • +
      +
    • +
    +
    +
  • +
+
+
+
+ + + + diff --git a/apidocs/1.19/org/glassfish/tyrus/core/uri/internal/UriTemplate.html b/apidocs/1.19/org/glassfish/tyrus/core/uri/internal/UriTemplate.html new file mode 100644 index 00000000..8272cfeb --- /dev/null +++ b/apidocs/1.19/org/glassfish/tyrus/core/uri/internal/UriTemplate.html @@ -0,0 +1,1295 @@ + + + + + +UriTemplate (Tyrus 1.19 API) + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +

Class UriTemplate

+
+
+
    +
  • java.lang.Object
  • +
  • +
      +
    • org.glassfish.tyrus.core.uri.internal.UriTemplate
    • +
    +
  • +
+
+
    +
  • +
    +
    Direct Known Subclasses:
    +
    PathTemplate
    +
    +
    +
    public class UriTemplate
    +extends java.lang.Object
    +
    A URI template.
    +
    +
    Author:
    +
    Paul Sandoz, Martin Matula (martin.matula at oracle.com), Gerard Davison (gerard.davison at oracle.com)
    +
    +
  • +
+
+
+
    +
  • + +
    +
      +
    • + + +

      Field Summary

      + + + + + + + + + + + + + + + + + +
      Fields 
      Modifier and TypeFieldDescription
      static java.util.Comparator<UriTemplate>COMPARATOR +
      Order the templates according to JAX-RS specification.
      +
      static UriTemplateEMPTY +
      The empty URI template that matches the null or empty URI path.
      +
      +
    • +
    +
    + +
    +
      +
    • + + +

      Constructor Summary

      + + + + + + + + + + + + + + + + + +
      Constructors 
      ModifierConstructorDescription
       UriTemplate​(java.lang.String template) +
      Construct a new URI template.
      +
      protected UriTemplate​(UriTemplateParser templateParser) +
      Construct a new URI template.
      +
      +
    • +
    +
    + +
    +
      +
    • + + +

      Method Summary

      + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and TypeMethodDescription
      java.lang.StringcreateURI​(java.lang.String... values) +
      Create a URI by substituting any template variables + for corresponding template values.
      +
      java.lang.StringcreateURI​(java.lang.String[] values, + int offset, + int length) +
      Create a URI by substituting any template variables + for corresponding template values.
      +
      static java.lang.StringcreateURI​(java.lang.String scheme, + java.lang.String authority, + java.lang.String userInfo, + java.lang.String host, + java.lang.String port, + java.lang.String path, + java.lang.String query, + java.lang.String fragment, + java.lang.Object[] values, + boolean encode, + boolean encodeSlashInPath) +
      Construct a URI from the component parts each of which may contain + template variables.
      +
      static java.lang.StringcreateURI​(java.lang.String scheme, + java.lang.String authority, + java.lang.String userInfo, + java.lang.String host, + java.lang.String port, + java.lang.String path, + java.lang.String query, + java.lang.String fragment, + java.util.Map<java.lang.String,​?> values, + boolean encode, + boolean encodeSlashInPath) +
      Construct a URI from the component parts each of which may contain + template variables.
      +
      java.lang.StringcreateURI​(java.util.Map<java.lang.String,​java.lang.String> values) +
      Create a URI by substituting any template variables + for corresponding template values.
      +
      static java.lang.StringcreateURIWithStringValues​(java.lang.String scheme, + java.lang.String authority, + java.lang.String userInfo, + java.lang.String host, + java.lang.String port, + java.lang.String path, + java.lang.String query, + java.lang.String fragment, + java.lang.String[] values, + boolean encode, + boolean encodeSlashInPath) +
      Construct a URI from the component parts each of which may contain + template variables.
      +
      static java.lang.StringcreateURIWithStringValues​(java.lang.String scheme, + java.lang.String authority, + java.lang.String userInfo, + java.lang.String host, + java.lang.String port, + java.lang.String path, + java.lang.String query, + java.lang.String fragment, + java.util.Map<java.lang.String,​?> values, + boolean encode, + boolean encodeSlashInPath) +
      Construct a URI from the component parts each of which may contain + template variables.
      +
      booleanendsWithSlash() +
      Check if the URI template ends in a slash ('/').
      +
      booleanequals​(java.lang.Object o) +
      Equality is calculated from the String of the regular expression + generated from the templates.
      +
      intgetNumberOfExplicitCharacters() +
      Get the number of characters in the regular expression not resulting + from conversion of template variables.
      +
      intgetNumberOfExplicitRegexes() +
      Get the number of explicit regular expressions declared in the template variables.
      +
      intgetNumberOfRegexGroups() +
      Get the number of regular expression groups
      +
      intgetNumberOfTemplateVariables() +
      Get the number of template variables.
      +
      PatternWithGroupsgetPattern() +
      Get the URI pattern.
      +
      java.lang.StringgetTemplate() +
      Get the URI template as a String.
      +
      java.util.List<java.lang.String>getTemplateVariables() +
      Get the list of template variables for the template.
      +
      inthashCode() +
      Hash code is calculated from String of the regular expression + generated from the template.
      +
      booleanisTemplateVariablePresent​(java.lang.String name) +
      Ascertain if a template variable is a member of this + template.
      +
      booleanmatch​(java.lang.CharSequence uri, + java.util.List<java.lang.String> groupValues) +
      Match a URI against the template.
      +
      booleanmatch​(java.lang.CharSequence uri, + java.util.Map<java.lang.String,​java.lang.String> templateVariableToValue) +
      Match a URI against the template.
      +
      static java.net.URInormalize​(java.lang.String uri) +
      Normalize the URI by resolve the dot & dot-dot path segments as described in + RFC 3986.
      +
      static java.net.URInormalize​(java.net.URI uri) +
      Normalize the URI by resolve the dot & dot-dot path segments as described in + RFC 3986.
      +
      static java.net.URIrelativize​(java.net.URI baseUri, + java.net.URI refUri) +
      Relativize URI with respect to a base URI.
      +
      static java.net.URIresolve​(java.net.URI baseUri, + java.lang.String refUri) +
      Resolve a relative URI reference against a base URI as defined in + RFC 3986.
      +
      static java.net.URIresolve​(java.net.URI baseUri, + java.net.URI refUri) +
      Resolve a relative URI reference against a base URI as defined in + RFC 3986.
      +
      static java.lang.StringresolveTemplateValues​(UriComponent.Type type, + java.lang.String template, + boolean encode, + java.util.Map<java.lang.String,​?> _mapValues) +
      Resolves template variables in the given template from _mapValues.
      +
      java.lang.StringtoString() 
      +
        +
      • + + +

        Methods inherited from class java.lang.Object

        +clone, finalize, getClass, notify, notifyAll, wait, wait, wait
      • +
      +
    • +
    +
    +
  • +
+
+
+
    +
  • + +
    +
      +
    • + + +

      Field Detail

      + + + +
        +
      • +

        COMPARATOR

        +
        public static final java.util.Comparator<UriTemplate> COMPARATOR
        +
        Order the templates according to JAX-RS specification. +

        + Sort the set of matching resource classes using the number of + characters in the regular expression not resulting from template + variables as the primary key, the number of matching groups + as a secondary key, and the number of explicit regular expression + declarations as the tertiary key.

        +
      • +
      + + + +
        +
      • +

        EMPTY

        +
        public static final UriTemplate EMPTY
        +
        The empty URI template that matches the null or empty URI path.
        +
      • +
      +
    • +
    +
    + +
    +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        UriTemplate

        +
        public UriTemplate​(java.lang.String template)
        +            throws java.util.regex.PatternSyntaxException,
        +                   java.lang.IllegalArgumentException
        +
        Construct a new URI template. +

        + The template will be parsed to extract template variables. +

        + A specific regular expression will be generated from the template + to match URIs according to the template and map template variables to + template values.

        +
        +
        Parameters:
        +
        template - the template.
        +
        Throws:
        +
        java.util.regex.PatternSyntaxException - if the specified + regular expression could not be generated
        +
        java.lang.IllegalArgumentException - if the template is null or + an empty string.
        +
        +
      • +
      + + + +
        +
      • +

        UriTemplate

        +
        protected UriTemplate​(UriTemplateParser templateParser)
        +               throws java.util.regex.PatternSyntaxException,
        +                      java.lang.IllegalArgumentException
        +
        Construct a new URI template. +

        + The template will be parsed to extract template variables. +

        + A specific regular expression will be generated from the template + to match URIs according to the template and map template variables to + template values.

        +
        +
        Parameters:
        +
        templateParser - the parser to parse the template.
        +
        Throws:
        +
        java.util.regex.PatternSyntaxException - if the specified + regular expression could not be generated
        +
        java.lang.IllegalArgumentException - if the template is null or + an empty string.
        +
        +
      • +
      +
    • +
    +
    + +
    +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        resolve

        +
        public static java.net.URI resolve​(java.net.URI baseUri,
        +                                   java.lang.String refUri)
        +
        Resolve a relative URI reference against a base URI as defined in + RFC 3986.
        +
        +
        Parameters:
        +
        baseUri - base URI to be used for resolution.
        +
        refUri - reference URI string to be resolved against the base URI.
        +
        Returns:
        +
        resolved URI.
        +
        Throws:
        +
        java.lang.IllegalArgumentException - If the given string violates the URI specification RFC.
        +
        +
      • +
      + + + +
        +
      • +

        resolve

        +
        public static java.net.URI resolve​(java.net.URI baseUri,
        +                                   java.net.URI refUri)
        +
        Resolve a relative URI reference against a base URI as defined in + RFC 3986.
        +
        +
        Parameters:
        +
        baseUri - base URI to be used for resolution.
        +
        refUri - reference URI to be resolved against the base URI.
        +
        Returns:
        +
        resolved URI.
        +
        +
      • +
      + + + +
        +
      • +

        normalize

        +
        public static java.net.URI normalize​(java.lang.String uri)
        +
        Normalize the URI by resolve the dot & dot-dot path segments as described in + RFC 3986. +

        + This method provides a workaround for issues with URI.normalize() which + is not able to properly normalize absolute paths that start with a ".." segment, + e.g. "/../a/b" as required by RFC 3986 (according to RFC 3986 the path "/../a/b" + should resolve to "/a/b", while URI.normalize() keeps the ".." segment + in the URI path.

        +
        +
        Parameters:
        +
        uri - the original URI string.
        +
        Returns:
        +
        the URI with dot and dot-dot segments resolved.
        +
        Throws:
        +
        java.lang.IllegalArgumentException - If the given string violates the URI specification RFC.
        +
        See Also:
        +
        URI.normalize()
        +
        +
      • +
      + + + +
        +
      • +

        normalize

        +
        public static java.net.URI normalize​(java.net.URI uri)
        +
        Normalize the URI by resolve the dot & dot-dot path segments as described in + RFC 3986. +

        + This method provides a workaround for issues with URI.normalize() which + is not able to properly normalize absolute paths that start with a ".." segment, + e.g. "/../a/b" as required by RFC 3986 (according to RFC 3986 the path "/../a/b" + should resolve to "/a/b", while URI.normalize() keeps the ".." segment + in the URI path.

        +
        +
        Parameters:
        +
        uri - the original URI.
        +
        Returns:
        +
        the URI with dot and dot-dot segments resolved.
        +
        See Also:
        +
        URI.normalize()
        +
        +
      • +
      + + + +
        +
      • +

        relativize

        +
        public static java.net.URI relativize​(java.net.URI baseUri,
        +                                      java.net.URI refUri)
        +
        Relativize URI with respect to a base URI. +

        + After the relativization is done, dots in paths of both URIs are resolved.

        +
        +
        Parameters:
        +
        baseUri - base URI to be used for relativization.
        +
        refUri - URI to be relativized.
        +
        Returns:
        +
        relativized URI.
        +
        +
      • +
      + + + +
        +
      • +

        getTemplate

        +
        public final java.lang.String getTemplate()
        +
        Get the URI template as a String.
        +
        +
        Returns:
        +
        the URI template.
        +
        +
      • +
      + + + +
        +
      • +

        getPattern

        +
        public final PatternWithGroups getPattern()
        +
        Get the URI pattern.
        +
        +
        Returns:
        +
        the URI pattern.
        +
        +
      • +
      + + + +
        +
      • +

        endsWithSlash

        +
        public final boolean endsWithSlash()
        +
        Check if the URI template ends in a slash ('/').
        +
        +
        Returns:
        +
        true if the template ends in a '/', otherwise false.
        +
        +
      • +
      + + + +
        +
      • +

        getTemplateVariables

        +
        public final java.util.List<java.lang.String> getTemplateVariables()
        +
        Get the list of template variables for the template.
        +
        +
        Returns:
        +
        the list of template variables.
        +
        +
      • +
      + + + +
        +
      • +

        isTemplateVariablePresent

        +
        public final boolean isTemplateVariablePresent​(java.lang.String name)
        +
        Ascertain if a template variable is a member of this + template.
        +
        +
        Parameters:
        +
        name - name The template variable.
        +
        Returns:
        +
        true if the template variable is a member of the template, otherwise false.
        +
        +
      • +
      + + + +
        +
      • +

        getNumberOfExplicitRegexes

        +
        public final int getNumberOfExplicitRegexes()
        +
        Get the number of explicit regular expressions declared in the template variables.
        +
        +
        Returns:
        +
        the number of explicit regular expressions in the template variables.
        +
        +
      • +
      + + + +
        +
      • +

        getNumberOfRegexGroups

        +
        public final int getNumberOfRegexGroups()
        +
        Get the number of regular expression groups
        +
        +
        Returns:
        +
        the number of regular expressions groups
        +
        +
      • +
      + + + +
        +
      • +

        getNumberOfExplicitCharacters

        +
        public final int getNumberOfExplicitCharacters()
        +
        Get the number of characters in the regular expression not resulting + from conversion of template variables.
        +
        +
        Returns:
        +
        the number of explicit characters
        +
        +
      • +
      + + + +
        +
      • +

        getNumberOfTemplateVariables

        +
        public final int getNumberOfTemplateVariables()
        +
        Get the number of template variables.
        +
        +
        Returns:
        +
        the number of template variables.
        +
        +
      • +
      + + + +
        +
      • +

        match

        +
        public final boolean match​(java.lang.CharSequence uri,
        +                           java.util.Map<java.lang.String,​java.lang.String> templateVariableToValue)
        +                    throws java.lang.IllegalArgumentException
        +
        Match a URI against the template. +

        + If the URI matches against the pattern then the template variable to value + map will be filled with template variables as keys and template values as + values.

        +
        +
        Parameters:
        +
        uri - the uri to match against the template.
        +
        templateVariableToValue - the map where to put template variables (as keys) + and template values (as values). The map is cleared before any + entries are put.
        +
        Returns:
        +
        true if the URI matches the template, otherwise false.
        +
        Throws:
        +
        java.lang.IllegalArgumentException - if the uri or + templateVariableToValue is null.
        +
        +
      • +
      + + + +
        +
      • +

        match

        +
        public final boolean match​(java.lang.CharSequence uri,
        +                           java.util.List<java.lang.String> groupValues)
        +                    throws java.lang.IllegalArgumentException
        +
        Match a URI against the template. +

        + If the URI matches against the pattern the capturing group values (if any) + will be added to a list passed in as parameter.

        +
        +
        Parameters:
        +
        uri - the uri to match against the template.
        +
        groupValues - the list to store the values of a pattern's + capturing groups is matching is successful. The values are stored + in the same order as the pattern's capturing groups.
        +
        Returns:
        +
        true if the URI matches the template, otherwise false.
        +
        Throws:
        +
        java.lang.IllegalArgumentException - if the uri or + templateVariableToValue is null.
        +
        +
      • +
      + + + +
        +
      • +

        createURI

        +
        public final java.lang.String createURI​(java.util.Map<java.lang.String,​java.lang.String> values)
        +
        Create a URI by substituting any template variables + for corresponding template values. +

        + A URI template variable without a value will be substituted by the + empty string.

        +
        +
        Parameters:
        +
        values - the map of template variables to template values.
        +
        Returns:
        +
        the URI.
        +
        +
      • +
      + + + +
        +
      • +

        createURI

        +
        public final java.lang.String createURI​(java.lang.String... values)
        +
        Create a URI by substituting any template variables + for corresponding template values. +

        + A URI template variable without a value will be substituted by the + empty string.

        +
        +
        Parameters:
        +
        values - the array of template values. The values will be + substituted in order of occurrence of unique template variables.
        +
        Returns:
        +
        the URI.
        +
        +
      • +
      + + + +
        +
      • +

        createURI

        +
        public final java.lang.String createURI​(java.lang.String[] values,
        +                                        int offset,
        +                                        int length)
        +
        Create a URI by substituting any template variables + for corresponding template values. +

        + A URI template variable without a value will be substituted by the + empty string.

        +
        +
        Parameters:
        +
        values - the array of template values. The values will be + substituted in order of occurrence of unique template variables.
        +
        offset - the offset into the template value array.
        +
        length - the length of the template value array.
        +
        Returns:
        +
        the URI.
        +
        +
      • +
      + + + +
        +
      • +

        toString

        +
        public final java.lang.String toString()
        +
        +
        Overrides:
        +
        toString in class java.lang.Object
        +
        +
      • +
      + + + +
        +
      • +

        hashCode

        +
        public final int hashCode()
        +
        Hash code is calculated from String of the regular expression + generated from the template.
        +
        +
        Overrides:
        +
        hashCode in class java.lang.Object
        +
        Returns:
        +
        the hash code.
        +
        +
      • +
      + + + +
        +
      • +

        equals

        +
        public final boolean equals​(java.lang.Object o)
        +
        Equality is calculated from the String of the regular expression + generated from the templates.
        +
        +
        Overrides:
        +
        equals in class java.lang.Object
        +
        Parameters:
        +
        o - the reference object with which to compare.
        +
        Returns:
        +
        true if equals, otherwise false.
        +
        +
      • +
      + + + +
        +
      • +

        createURI

        +
        public static java.lang.String createURI​(java.lang.String scheme,
        +                                         java.lang.String authority,
        +                                         java.lang.String userInfo,
        +                                         java.lang.String host,
        +                                         java.lang.String port,
        +                                         java.lang.String path,
        +                                         java.lang.String query,
        +                                         java.lang.String fragment,
        +                                         java.util.Map<java.lang.String,​?> values,
        +                                         boolean encode,
        +                                         boolean encodeSlashInPath)
        +
        Construct a URI from the component parts each of which may contain + template variables. +

        + A template values is an Object instance MUST support the toString() + method to convert the template value to a String instance.

        +
        +
        Parameters:
        +
        scheme - the URI scheme component.
        +
        authority - the URI authority component.
        +
        userInfo - the URI user info component.
        +
        host - the URI host component.
        +
        port - the URI port component.
        +
        path - the URI path component.
        +
        query - the URI query component.
        +
        fragment - the URI fragment component.
        +
        values - the template variable to value map.
        +
        encode - if true encode a template value according to the correspond + component type of the associated template variable, otherwise + contextually encode the template value.
        +
        encodeSlashInPath - if true, the slash ('/') characters + in parameter values will be encoded if the template + is placed in the URI path component, otherwise the slash + characters will not be encoded in path templates.
        +
        Returns:
        +
        a URI.
        +
        +
      • +
      + + + +
        +
      • +

        createURIWithStringValues

        +
        public static java.lang.String createURIWithStringValues​(java.lang.String scheme,
        +                                                         java.lang.String authority,
        +                                                         java.lang.String userInfo,
        +                                                         java.lang.String host,
        +                                                         java.lang.String port,
        +                                                         java.lang.String path,
        +                                                         java.lang.String query,
        +                                                         java.lang.String fragment,
        +                                                         java.util.Map<java.lang.String,​?> values,
        +                                                         boolean encode,
        +                                                         boolean encodeSlashInPath)
        +
        Construct a URI from the component parts each of which may contain + template variables. +

        + A template value is an Object instance that MUST support the toString() + method to convert the template value to a String instance.

        +
        +
        Parameters:
        +
        scheme - the URI scheme component.
        +
        authority - the URI authority info component.
        +
        userInfo - the URI user info component.
        +
        host - the URI host component.
        +
        port - the URI port component.
        +
        path - the URI path component.
        +
        query - the URI query component.
        +
        fragment - the URI fragment component.
        +
        values - the template variable to value map.
        +
        encode - if true encode a template value according to the correspond + component type of the associated template variable, otherwise + contextually encode the template value.
        +
        encodeSlashInPath - if true, the slash ('/') characters + in parameter values will be encoded if the template + is placed in the URI path component, otherwise the slash + characters will not be encoded in path templates.
        +
        Returns:
        +
        a URI.
        +
        +
      • +
      + + + +
        +
      • +

        createURI

        +
        public static java.lang.String createURI​(java.lang.String scheme,
        +                                         java.lang.String authority,
        +                                         java.lang.String userInfo,
        +                                         java.lang.String host,
        +                                         java.lang.String port,
        +                                         java.lang.String path,
        +                                         java.lang.String query,
        +                                         java.lang.String fragment,
        +                                         java.lang.Object[] values,
        +                                         boolean encode,
        +                                         boolean encodeSlashInPath)
        +
        Construct a URI from the component parts each of which may contain + template variables. +

        + The template values are an array of Object and each Object instance + MUST support the toString() method to convert the template value to + a String instance.

        +
        +
        Parameters:
        +
        scheme - the URI scheme component.
        +
        authority - the URI authority component.
        +
        userInfo - the URI user info component.
        +
        host - the URI host component.
        +
        port - the URI port component.
        +
        path - the URI path component.
        +
        query - the URI query component.
        +
        fragment - ] the URI fragment component.
        +
        values - the array of template values.
        +
        encode - if true encode a template value according to the correspond + component type of the associated template variable, otherwise + contextually encode the template value.
        +
        encodeSlashInPath - if true, the slash ('/') characters + in parameter values will be encoded if the template + is placed in the URI path component, otherwise the slash + characters will not be encoded in path templates.
        +
        Returns:
        +
        a URI.
        +
        +
      • +
      + + + +
        +
      • +

        createURIWithStringValues

        +
        public static java.lang.String createURIWithStringValues​(java.lang.String scheme,
        +                                                         java.lang.String authority,
        +                                                         java.lang.String userInfo,
        +                                                         java.lang.String host,
        +                                                         java.lang.String port,
        +                                                         java.lang.String path,
        +                                                         java.lang.String query,
        +                                                         java.lang.String fragment,
        +                                                         java.lang.String[] values,
        +                                                         boolean encode,
        +                                                         boolean encodeSlashInPath)
        +
        Construct a URI from the component parts each of which may contain + template variables.
        +
        +
        Parameters:
        +
        scheme - the URI scheme component.
        +
        authority - the URI authority component.
        +
        userInfo - the URI user info component.
        +
        host - the URI host component.
        +
        port - the URI port component.
        +
        path - the URI path component.
        +
        query - the URI query component.
        +
        fragment - the URI fragment component.
        +
        values - the array of template values.
        +
        encode - if true encode a template value according to the correspond + component type of the associated template variable, otherwise + contextually encode the template value.
        +
        encodeSlashInPath - if true, the slash ('/') characters + in parameter values will be encoded if the template + is placed in the URI path component, otherwise the slash + characters will not be encoded in path templates.
        +
        Returns:
        +
        a URI.
        +
        +
      • +
      + + + +
        +
      • +

        resolveTemplateValues

        +
        public static java.lang.String resolveTemplateValues​(UriComponent.Type type,
        +                                                     java.lang.String template,
        +                                                     boolean encode,
        +                                                     java.util.Map<java.lang.String,​?> _mapValues)
        +
        Resolves template variables in the given template from _mapValues. Resolves only these variables + which are defined in the _mapValues leaving other variables unchanged.
        +
        +
        Parameters:
        +
        type - Type of the template (port, path, query, ...).
        +
        template - Input uri component to resolve.
        +
        encode - True if template values from _mapValues should be percent encoded.
        +
        _mapValues - Map with template variables as keys and template values as values. None of them should be + null.
        +
        Returns:
        +
        String with resolved template variables.
        +
        Throws:
        +
        java.lang.IllegalArgumentException - when _mapValues value is null.
        +
        +
      • +
      +
    • +
    +
    +
  • +
+
+
+
+ + + + diff --git a/apidocs/1.19/org/glassfish/tyrus/core/uri/internal/UriTemplateParser.html b/apidocs/1.19/org/glassfish/tyrus/core/uri/internal/UriTemplateParser.html new file mode 100644 index 00000000..bcd44b60 --- /dev/null +++ b/apidocs/1.19/org/glassfish/tyrus/core/uri/internal/UriTemplateParser.html @@ -0,0 +1,550 @@ + + + + + +UriTemplateParser (Tyrus 1.19 API) + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +

Class UriTemplateParser

+
+
+
    +
  • java.lang.Object
  • +
  • +
      +
    • org.glassfish.tyrus.core.uri.internal.UriTemplateParser
    • +
    +
  • +
+
+
    +
  • +
    +
    public class UriTemplateParser
    +extends java.lang.Object
    +
    A URI template parser that parses JAX-RS specific URI templates.
    +
    +
    Author:
    +
    Paul Sandoz, Gerard Davison (gerard.davison at oracle.com)
    +
    +
  • +
+
+
+
    +
  • + +
    +
      +
    • + + +

      Constructor Summary

      + + + + + + + + + + +
      Constructors 
      ConstructorDescription
      UriTemplateParser​(java.lang.String template) +
      Parse a template.
      +
      +
    • +
    +
    + +
    +
      +
    • + + +

      Method Summary

      + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
      All Methods Instance Methods Concrete Methods 
      Modifier and TypeMethodDescription
      protected java.lang.StringencodeLiteralCharacters​(java.lang.String characters) +
      Encode literal characters of a template.
      +
      java.util.List<java.lang.Integer>getGroupCounts() +
      Get the capturing group counts for each template variable.
      +
      int[]getGroupIndexes() +
      Get the group indexes to capturing groups.
      +
      java.util.List<java.lang.String>getNames() +
      Get the list of template names.
      +
      java.util.Map<java.lang.String,​java.util.regex.Pattern>getNameToPattern() +
      Get the map of template names to patterns.
      +
      java.lang.StringgetNormalizedTemplate() +
      Get the normalized template.
      +
      intgetNumberOfExplicitRegexes() +
      Get the number of explicit regular expressions.
      +
      intgetNumberOfLiteralCharacters() +
      Get the number of literal characters.
      +
      intgetNumberOfRegexGroups() +
      Get the number of regular expression groups
      +
      java.util.regex.PatterngetPattern() +
      Get the pattern.
      +
      java.lang.StringgetTemplate() +
      Get the template.
      +
      +
        +
      • + + +

        Methods inherited from class java.lang.Object

        +clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • +
      +
    • +
    +
    +
  • +
+
+
+
    +
  • + +
    +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        UriTemplateParser

        +
        public UriTemplateParser​(java.lang.String template)
        +                  throws java.lang.IllegalArgumentException
        +
        Parse a template.
        +
        +
        Parameters:
        +
        template - the template.
        +
        Throws:
        +
        java.lang.IllegalArgumentException - if the template is null, an empty string or does not conform to a JAX-RS URI + template.
        +
        +
      • +
      +
    • +
    +
    + +
    +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        getTemplate

        +
        public final java.lang.String getTemplate()
        +
        Get the template.
        +
        +
        Returns:
        +
        the template.
        +
        +
      • +
      + + + +
        +
      • +

        getPattern

        +
        public final java.util.regex.Pattern getPattern()
        +
        Get the pattern.
        +
        +
        Returns:
        +
        the pattern.
        +
        +
      • +
      + + + +
        +
      • +

        getNormalizedTemplate

        +
        public final java.lang.String getNormalizedTemplate()
        +
        Get the normalized template. +

        + A normalized template is a template without any explicit regular expressions.

        +
        +
        Returns:
        +
        the normalized template.
        +
        +
      • +
      + + + +
        +
      • +

        getNameToPattern

        +
        public final java.util.Map<java.lang.String,​java.util.regex.Pattern> getNameToPattern()
        +
        Get the map of template names to patterns.
        +
        +
        Returns:
        +
        the map of template names to patterns.
        +
        +
      • +
      + + + +
        +
      • +

        getNames

        +
        public final java.util.List<java.lang.String> getNames()
        +
        Get the list of template names.
        +
        +
        Returns:
        +
        the list of template names.
        +
        +
      • +
      + + + +
        +
      • +

        getGroupCounts

        +
        public final java.util.List<java.lang.Integer> getGroupCounts()
        +
        Get the capturing group counts for each template variable.
        +
        +
        Returns:
        +
        the capturing group counts.
        +
        +
      • +
      + + + +
        +
      • +

        getGroupIndexes

        +
        public final int[] getGroupIndexes()
        +
        Get the group indexes to capturing groups. +

        + Any nested capturing groups will be ignored and the the group index will refer to the top-level capturing groups + associated with the templates variables.

        +
        +
        Returns:
        +
        the group indexes to capturing groups.
        +
        +
      • +
      + + + +
        +
      • +

        getNumberOfExplicitRegexes

        +
        public final int getNumberOfExplicitRegexes()
        +
        Get the number of explicit regular expressions.
        +
        +
        Returns:
        +
        the number of explicit regular expressions.
        +
        +
      • +
      + + + +
        +
      • +

        getNumberOfRegexGroups

        +
        public final int getNumberOfRegexGroups()
        +
        Get the number of regular expression groups
        +
        +
        Returns:
        +
        the number of regular expressions groups
        +
        Since:
        +
        2.9
        +
        +
      • +
      + + + +
        +
      • +

        getNumberOfLiteralCharacters

        +
        public final int getNumberOfLiteralCharacters()
        +
        Get the number of literal characters.
        +
        +
        Returns:
        +
        the number of literal characters.
        +
        +
      • +
      + + + +
        +
      • +

        encodeLiteralCharacters

        +
        protected java.lang.String encodeLiteralCharacters​(java.lang.String characters)
        +
        Encode literal characters of a template.
        +
        +
        Parameters:
        +
        characters - the literal characters
        +
        Returns:
        +
        the encoded literal characters.
        +
        +
      • +
      +
    • +
    +
    +
  • +
+
+
+
+ + + + diff --git a/apidocs/1.19/org/glassfish/tyrus/core/uri/internal/class-use/AbstractMultivaluedMap.html b/apidocs/1.19/org/glassfish/tyrus/core/uri/internal/class-use/AbstractMultivaluedMap.html new file mode 100644 index 00000000..d5ec2e42 --- /dev/null +++ b/apidocs/1.19/org/glassfish/tyrus/core/uri/internal/class-use/AbstractMultivaluedMap.html @@ -0,0 +1,207 @@ + + + + + +Uses of Class org.glassfish.tyrus.core.uri.internal.AbstractMultivaluedMap (Tyrus 1.19 API) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Class
org.glassfish.tyrus.core.uri.internal.AbstractMultivaluedMap

+
+
+ +
+
+ + + diff --git a/apidocs/1.19/org/glassfish/tyrus/core/uri/internal/class-use/MultivaluedHashMap.html b/apidocs/1.19/org/glassfish/tyrus/core/uri/internal/class-use/MultivaluedHashMap.html new file mode 100644 index 00000000..19423ed6 --- /dev/null +++ b/apidocs/1.19/org/glassfish/tyrus/core/uri/internal/class-use/MultivaluedHashMap.html @@ -0,0 +1,200 @@ + + + + + +Uses of Class org.glassfish.tyrus.core.uri.internal.MultivaluedHashMap (Tyrus 1.19 API) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Class
org.glassfish.tyrus.core.uri.internal.MultivaluedHashMap

+
+
+ +
+
+ + + diff --git a/apidocs/1.19/org/glassfish/tyrus/core/uri/internal/class-use/MultivaluedMap.html b/apidocs/1.19/org/glassfish/tyrus/core/uri/internal/class-use/MultivaluedMap.html new file mode 100644 index 00000000..44723713 --- /dev/null +++ b/apidocs/1.19/org/glassfish/tyrus/core/uri/internal/class-use/MultivaluedMap.html @@ -0,0 +1,308 @@ + + + + + +Uses of Interface org.glassfish.tyrus.core.uri.internal.MultivaluedMap (Tyrus 1.19 API) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Interface
org.glassfish.tyrus.core.uri.internal.MultivaluedMap

+
+
+ +
+
+ + + diff --git a/apidocs/1.19/org/glassfish/tyrus/core/uri/internal/class-use/MultivaluedStringMap.html b/apidocs/1.19/org/glassfish/tyrus/core/uri/internal/class-use/MultivaluedStringMap.html new file mode 100644 index 00000000..386ef0be --- /dev/null +++ b/apidocs/1.19/org/glassfish/tyrus/core/uri/internal/class-use/MultivaluedStringMap.html @@ -0,0 +1,150 @@ + + + + + +Uses of Class org.glassfish.tyrus.core.uri.internal.MultivaluedStringMap (Tyrus 1.19 API) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Class
org.glassfish.tyrus.core.uri.internal.MultivaluedStringMap

+
+
No usage of org.glassfish.tyrus.core.uri.internal.MultivaluedStringMap
+
+ + + diff --git a/apidocs/1.19/org/glassfish/tyrus/core/uri/internal/class-use/PathPattern.RightHandPath.html b/apidocs/1.19/org/glassfish/tyrus/core/uri/internal/class-use/PathPattern.RightHandPath.html new file mode 100644 index 00000000..5bf5f6c9 --- /dev/null +++ b/apidocs/1.19/org/glassfish/tyrus/core/uri/internal/class-use/PathPattern.RightHandPath.html @@ -0,0 +1,230 @@ + + + + + +Uses of Class org.glassfish.tyrus.core.uri.internal.PathPattern.RightHandPath (Tyrus 1.19 API) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Class
org.glassfish.tyrus.core.uri.internal.PathPattern.RightHandPath

+
+
+ +
+
+ + + diff --git a/apidocs/1.19/org/glassfish/tyrus/core/uri/internal/class-use/PathPattern.html b/apidocs/1.19/org/glassfish/tyrus/core/uri/internal/class-use/PathPattern.html new file mode 100644 index 00000000..a18cfdc7 --- /dev/null +++ b/apidocs/1.19/org/glassfish/tyrus/core/uri/internal/class-use/PathPattern.html @@ -0,0 +1,267 @@ + + + + + +Uses of Class org.glassfish.tyrus.core.uri.internal.PathPattern (Tyrus 1.19 API) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Class
org.glassfish.tyrus.core.uri.internal.PathPattern

+
+
+ +
+
+ + + diff --git a/apidocs/1.19/org/glassfish/tyrus/core/uri/internal/class-use/PathSegment.html b/apidocs/1.19/org/glassfish/tyrus/core/uri/internal/class-use/PathSegment.html new file mode 100644 index 00000000..f8800cf9 --- /dev/null +++ b/apidocs/1.19/org/glassfish/tyrus/core/uri/internal/class-use/PathSegment.html @@ -0,0 +1,227 @@ + + + + + +Uses of Interface org.glassfish.tyrus.core.uri.internal.PathSegment (Tyrus 1.19 API) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Interface
org.glassfish.tyrus.core.uri.internal.PathSegment

+
+
+ +
+
+ + + diff --git a/apidocs/1.19/org/glassfish/tyrus/core/uri/internal/class-use/PathTemplate.html b/apidocs/1.19/org/glassfish/tyrus/core/uri/internal/class-use/PathTemplate.html new file mode 100644 index 00000000..6504181b --- /dev/null +++ b/apidocs/1.19/org/glassfish/tyrus/core/uri/internal/class-use/PathTemplate.html @@ -0,0 +1,204 @@ + + + + + +Uses of Class org.glassfish.tyrus.core.uri.internal.PathTemplate (Tyrus 1.19 API) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Class
org.glassfish.tyrus.core.uri.internal.PathTemplate

+
+
+ +
+
+ + + diff --git a/apidocs/1.19/org/glassfish/tyrus/core/uri/internal/class-use/PatternWithGroups.html b/apidocs/1.19/org/glassfish/tyrus/core/uri/internal/class-use/PatternWithGroups.html new file mode 100644 index 00000000..8ef82945 --- /dev/null +++ b/apidocs/1.19/org/glassfish/tyrus/core/uri/internal/class-use/PatternWithGroups.html @@ -0,0 +1,233 @@ + + + + + +Uses of Class org.glassfish.tyrus.core.uri.internal.PatternWithGroups (Tyrus 1.19 API) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Class
org.glassfish.tyrus.core.uri.internal.PatternWithGroups

+
+
+ +
+
+ + + diff --git a/apidocs/1.19/org/glassfish/tyrus/core/uri/internal/class-use/UriComponent.Type.html b/apidocs/1.19/org/glassfish/tyrus/core/uri/internal/class-use/UriComponent.Type.html new file mode 100644 index 00000000..16f724bb --- /dev/null +++ b/apidocs/1.19/org/glassfish/tyrus/core/uri/internal/class-use/UriComponent.Type.html @@ -0,0 +1,310 @@ + + + + + +Uses of Class org.glassfish.tyrus.core.uri.internal.UriComponent.Type (Tyrus 1.19 API) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Class
org.glassfish.tyrus.core.uri.internal.UriComponent.Type

+
+
+
    +
  • + + + + + + + + + + + + +
    Packages that use UriComponent.Type 
    PackageDescription
    org.glassfish.tyrus.core.uri.internal +
    Common classes that provide support for URI templates, + encoding/decoding of URI components and multivalued collections.
    +
    +
  • +
  • +
      +
    • +
      + + +

      Uses of UriComponent.Type in org.glassfish.tyrus.core.uri.internal

      + + + + + + + + + + + + + + + + + + + +
      Methods in org.glassfish.tyrus.core.uri.internal that return UriComponent.Type 
      Modifier and TypeMethodDescription
      static UriComponent.TypeUriComponent.Type.valueOf​(java.lang.String name) +
      Returns the enum constant of this type with the specified name.
      +
      static UriComponent.Type[]UriComponent.Type.values() +
      Returns an array containing the constants of this enum type, in +the order they are declared.
      +
      + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
      Methods in org.glassfish.tyrus.core.uri.internal with parameters of type UriComponent.Type 
      Modifier and TypeMethodDescription
      static java.lang.StringUriComponent.contextualEncode​(java.lang.String s, + UriComponent.Type t) +
      Contextually encodes the characters of string that are either non-ASCII characters or are ASCII characters that + must be percent-encoded using the UTF-8 encoding.
      +
      static java.lang.StringUriComponent.contextualEncode​(java.lang.String s, + UriComponent.Type t, + boolean template) +
      Contextually encodes the characters of string that are either non-ASCII characters or are ASCII characters that + must be percent-encoded using the UTF-8 encoding.
      +
      static java.lang.StringUriComponent.decode​(java.lang.String s, + UriComponent.Type t) +
      Decodes characters of a string that are percent-encoded octets using + UTF-8 decoding (if needed).
      +
      static java.lang.StringUriComponent.encode​(java.lang.String s, + UriComponent.Type t) +
      Encodes the characters of string that are either non-ASCII characters + or are ASCII characters that must be percent-encoded using the + UTF-8 encoding.
      +
      static java.lang.StringUriComponent.encode​(java.lang.String s, + UriComponent.Type t, + boolean template) +
      Encodes the characters of string that are either non-ASCII characters + or are ASCII characters that must be percent-encoded using the + UTF-8 encoding.
      +
      static java.lang.StringUriTemplate.resolveTemplateValues​(UriComponent.Type type, + java.lang.String template, + boolean encode, + java.util.Map<java.lang.String,​?> _mapValues) +
      Resolves template variables in the given template from _mapValues.
      +
      static booleanUriComponent.valid​(java.lang.String s, + UriComponent.Type t) +
      Validates the legal characters of a percent-encoded string that represents a URI component type.
      +
      static booleanUriComponent.valid​(java.lang.String s, + UriComponent.Type t, + boolean template) +
      Validates the legal characters of a percent-encoded string that represents a URI component type.
      +
      static voidUriComponent.validate​(java.lang.String s, + UriComponent.Type t) +
      Validates the legal characters of a percent-encoded string that represents a URI component type.
      +
      static voidUriComponent.validate​(java.lang.String s, + UriComponent.Type t, + boolean template) +
      Validates the legal characters of a percent-encoded string that represents a URI component type.
      +
      +
      +
    • +
    +
  • +
+
+
+ + + diff --git a/apidocs/1.19/org/glassfish/tyrus/core/uri/internal/class-use/UriComponent.html b/apidocs/1.19/org/glassfish/tyrus/core/uri/internal/class-use/UriComponent.html new file mode 100644 index 00000000..62199ce3 --- /dev/null +++ b/apidocs/1.19/org/glassfish/tyrus/core/uri/internal/class-use/UriComponent.html @@ -0,0 +1,150 @@ + + + + + +Uses of Class org.glassfish.tyrus.core.uri.internal.UriComponent (Tyrus 1.19 API) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Class
org.glassfish.tyrus.core.uri.internal.UriComponent

+
+
No usage of org.glassfish.tyrus.core.uri.internal.UriComponent
+
+ + + diff --git a/apidocs/1.19/org/glassfish/tyrus/core/uri/internal/class-use/UriTemplate.html b/apidocs/1.19/org/glassfish/tyrus/core/uri/internal/class-use/UriTemplate.html new file mode 100644 index 00000000..756f98be --- /dev/null +++ b/apidocs/1.19/org/glassfish/tyrus/core/uri/internal/class-use/UriTemplate.html @@ -0,0 +1,248 @@ + + + + + +Uses of Class org.glassfish.tyrus.core.uri.internal.UriTemplate (Tyrus 1.19 API) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Class
org.glassfish.tyrus.core.uri.internal.UriTemplate

+
+
+ +
+
+ + + diff --git a/apidocs/1.19/org/glassfish/tyrus/core/uri/internal/class-use/UriTemplateParser.html b/apidocs/1.19/org/glassfish/tyrus/core/uri/internal/class-use/UriTemplateParser.html new file mode 100644 index 00000000..16d6ceb7 --- /dev/null +++ b/apidocs/1.19/org/glassfish/tyrus/core/uri/internal/class-use/UriTemplateParser.html @@ -0,0 +1,197 @@ + + + + + +Uses of Class org.glassfish.tyrus.core.uri.internal.UriTemplateParser (Tyrus 1.19 API) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Class
org.glassfish.tyrus.core.uri.internal.UriTemplateParser

+
+
+ +
+
+ + + diff --git a/apidocs/1.19/org/glassfish/tyrus/core/uri/internal/package-summary.html b/apidocs/1.19/org/glassfish/tyrus/core/uri/internal/package-summary.html new file mode 100644 index 00000000..ad6387ee --- /dev/null +++ b/apidocs/1.19/org/glassfish/tyrus/core/uri/internal/package-summary.html @@ -0,0 +1,276 @@ + + + + + +org.glassfish.tyrus.core.uri.internal (Tyrus 1.19 API) + + + + + + + + + + + + + + + +
+ +
+
+
+

Package org.glassfish.tyrus.core.uri.internal

+
+
+
+ + +
Common classes that provide support for URI templates, + encoding/decoding of URI components and multivalued collections. + + Taken from Jersey 2 - org.glassfish.jersey.uri.
+
+
    +
  • + + + + + + + + + + + + + + + + +
    Interface Summary 
    InterfaceDescription
    MultivaluedMap<K,​V> +
    A map of key-values pairs.
    +
    PathSegment +
    Represents a URI path segment and any associated matrix parameters.
    +
    +
  • +
  • + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    Class Summary 
    ClassDescription
    AbstractMultivaluedMap<K,​V> +
    Abstract skeleton implementation of a MultivaluedMap that is backed + by a [key, multi-value] store represented as a Map<K, List<V>>.
    +
    MultivaluedHashMap<K,​V> +
    A hash table based implementation of MultivaluedMap interface.
    +
    MultivaluedStringMap +
    An implementation of MultivaluedMap where keys and values are + instances of String.
    +
    PathPattern +
    A path pattern that is a regular expression generated from a URI path template.
    +
    PathTemplate +
    A URI template for a URI path.
    +
    PatternWithGroups +
    A pattern for matching a string against a regular expression and returning capturing group values for any capturing + groups present in the expression.
    +
    UriComponent +
    Utility class for validating, encoding and decoding components + of a URI.
    +
    UriTemplate +
    A URI template.
    +
    UriTemplateParser +
    A URI template parser that parses JAX-RS specific URI templates.
    +
    +
  • +
  • + + + + + + + + + + + + + + + + +
    Enum Summary 
    EnumDescription
    PathPattern.RightHandPath +
    The set of right hand path patterns that may be appended to a path pattern.
    +
    UriComponent.Type +
    The URI component type.
    +
    +
  • +
+
+
+ + + diff --git a/apidocs/1.19/org/glassfish/tyrus/core/uri/internal/package-tree.html b/apidocs/1.19/org/glassfish/tyrus/core/uri/internal/package-tree.html new file mode 100644 index 00000000..0be74d93 --- /dev/null +++ b/apidocs/1.19/org/glassfish/tyrus/core/uri/internal/package-tree.html @@ -0,0 +1,211 @@ + + + + + +org.glassfish.tyrus.core.uri.internal Class Hierarchy (Tyrus 1.19 API) + + + + + + + + + + + + + + + +
+ +
+
+
+

Hierarchy For Package org.glassfish.tyrus.core.uri.internal

+Package Hierarchies: + +
+
+
+

Class Hierarchy

+ +
+
+

Interface Hierarchy

+
    +
  • java.util.Map<K,​V> + +
  • +
  • org.glassfish.tyrus.core.uri.internal.PathSegment
  • +
+
+
+

Enum Hierarchy

+
    +
  • java.lang.Object + +
  • +
+
+
+
+ + + diff --git a/apidocs/1.19/org/glassfish/tyrus/core/uri/internal/package-use.html b/apidocs/1.19/org/glassfish/tyrus/core/uri/internal/package-use.html new file mode 100644 index 00000000..cce17f29 --- /dev/null +++ b/apidocs/1.19/org/glassfish/tyrus/core/uri/internal/package-use.html @@ -0,0 +1,252 @@ + + + + + +Uses of Package org.glassfish.tyrus.core.uri.internal (Tyrus 1.19 API) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Package
org.glassfish.tyrus.core.uri.internal

+
+
+ +
+
+ + + diff --git a/apidocs/1.19/org/glassfish/tyrus/core/uri/package-summary.html b/apidocs/1.19/org/glassfish/tyrus/core/uri/package-summary.html new file mode 100644 index 00000000..c84abc2e --- /dev/null +++ b/apidocs/1.19/org/glassfish/tyrus/core/uri/package-summary.html @@ -0,0 +1,175 @@ + + + + + +org.glassfish.tyrus.core.uri (Tyrus 1.19 API) + + + + + + + + + + + + + + + +
+ +
+
+
+

Package org.glassfish.tyrus.core.uri

+
+
+
+ + +
URI matching.
+
+
    +
  • + + + + + + + + + + + + +
    Class Summary 
    ClassDescription
    Match +
    Defines a match on an endpoint.
    +
    +
  • +
+
+
+ + + diff --git a/apidocs/1.19/org/glassfish/tyrus/core/uri/package-tree.html b/apidocs/1.19/org/glassfish/tyrus/core/uri/package-tree.html new file mode 100644 index 00000000..3a3e601c --- /dev/null +++ b/apidocs/1.19/org/glassfish/tyrus/core/uri/package-tree.html @@ -0,0 +1,165 @@ + + + + + +org.glassfish.tyrus.core.uri Class Hierarchy (Tyrus 1.19 API) + + + + + + + + + + + + + + + +
+ +
+
+
+

Hierarchy For Package org.glassfish.tyrus.core.uri

+Package Hierarchies: + +
+
+
+

Class Hierarchy

+
    +
  • java.lang.Object +
      +
    • org.glassfish.tyrus.core.uri.Match
    • +
    +
  • +
+
+
+
+ + + diff --git a/apidocs/1.19/org/glassfish/tyrus/core/uri/package-use.html b/apidocs/1.19/org/glassfish/tyrus/core/uri/package-use.html new file mode 100644 index 00000000..075167f6 --- /dev/null +++ b/apidocs/1.19/org/glassfish/tyrus/core/uri/package-use.html @@ -0,0 +1,189 @@ + + + + + +Uses of Package org.glassfish.tyrus.core.uri (Tyrus 1.19 API) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Package
org.glassfish.tyrus.core.uri

+
+
+ +
+
+ + + diff --git a/apidocs/1.19/org/glassfish/tyrus/core/wsadl/model/Application.html b/apidocs/1.19/org/glassfish/tyrus/core/wsadl/model/Application.html new file mode 100644 index 00000000..13a8d702 --- /dev/null +++ b/apidocs/1.19/org/glassfish/tyrus/core/wsadl/model/Application.html @@ -0,0 +1,435 @@ + + + + + +Application (Tyrus 1.19 API) + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +

Class Application

+
+
+
    +
  • java.lang.Object
  • +
  • +
      +
    • org.glassfish.tyrus.core.wsadl.model.Application
    • +
    +
  • +
+
+
    +
  • +
    +
    public class Application
    +extends java.lang.Object
    +

    Java class for anonymous complex type. + +

    The following schema fragment specifies the expected content contained within this class. + +

    + <complexType>
    +   <complexContent>
    +     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
    +       <sequence>
    +         <element ref="{https://tyrus.java.net/2013/04}endpoint" maxOccurs="unbounded" minOccurs="0"/>
    +         <any processContents='lax' namespace='##other' maxOccurs="unbounded" minOccurs="0"/>
    +       </sequence>
    +     </restriction>
    +   </complexContent>
    + </complexType>
    + 
    +
  • +
+
+
+
    +
  • + +
    +
      +
    • + + +

      Field Summary

      + + + + + + + + + + + + + + + + + +
      Fields 
      Modifier and TypeFieldDescription
      protected java.util.List<java.lang.Object>any 
      protected java.util.List<Endpoint>endpoint 
      +
    • +
    +
    + +
    +
      +
    • + + +

      Constructor Summary

      + + + + + + + + + + +
      Constructors 
      ConstructorDescription
      Application() 
      +
    • +
    +
    + +
    +
      +
    • + + +

      Method Summary

      + + + + + + + + + + + + + + + + + +
      All Methods Instance Methods Concrete Methods 
      Modifier and TypeMethodDescription
      java.util.List<java.lang.Object>getAny() +
      Gets the value of the any property.
      +
      java.util.List<Endpoint>getEndpoint() +
      Gets the value of the endpoint property.
      +
      +
        +
      • + + +

        Methods inherited from class java.lang.Object

        +clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • +
      +
    • +
    +
    +
  • +
+
+
+
    +
  • + +
    +
      +
    • + + +

      Field Detail

      + + + +
        +
      • +

        endpoint

        +
        protected java.util.List<Endpoint> endpoint
        +
      • +
      + + + +
        +
      • +

        any

        +
        protected java.util.List<java.lang.Object> any
        +
      • +
      +
    • +
    +
    + +
    +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        Application

        +
        public Application()
        +
      • +
      +
    • +
    +
    + +
    +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        getEndpoint

        +
        public java.util.List<Endpoint> getEndpoint()
        +
        Gets the value of the endpoint property. + +

        + This accessor method returns a reference to the live list, + not a snapshot. Therefore any modification you make to the + returned list will be present inside the JAXB object. + This is why there is not a set method for the endpoint property. + +

        + For example, to add a new item, do as follows: +

        +    getEndpoint().add(newItem);
        + 
        + + +

        + Objects of the following type(s) are allowed in the list + Endpoint

        +
      • +
      + + + +
        +
      • +

        getAny

        +
        public java.util.List<java.lang.Object> getAny()
        +
        Gets the value of the any property. + +

        + This accessor method returns a reference to the live list, + not a snapshot. Therefore any modification you make to the + returned list will be present inside the JAXB object. + This is why there is not a set method for the any property. + +

        + For example, to add a new item, do as follows: +

        +    getAny().add(newItem);
        + 
        + + +

        + Objects of the following type(s) are allowed in the list + Object + Element

        +
      • +
      +
    • +
    +
    +
  • +
+
+
+
+ + + + diff --git a/apidocs/1.19/org/glassfish/tyrus/core/wsadl/model/Endpoint.html b/apidocs/1.19/org/glassfish/tyrus/core/wsadl/model/Endpoint.html new file mode 100644 index 00000000..d2399e78 --- /dev/null +++ b/apidocs/1.19/org/glassfish/tyrus/core/wsadl/model/Endpoint.html @@ -0,0 +1,481 @@ + + + + + +Endpoint (Tyrus 1.19 API) + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +

Class Endpoint

+
+
+
    +
  • java.lang.Object
  • +
  • +
      +
    • org.glassfish.tyrus.core.wsadl.model.Endpoint
    • +
    +
  • +
+
+
    +
  • +
    +
    public class Endpoint
    +extends java.lang.Object
    +

    Java class for anonymous complex type. + +

    The following schema fragment specifies the expected content contained within this class. + +

    + <complexType>
    +   <complexContent>
    +     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
    +       <attribute name="id" type="{http://www.w3.org/2001/XMLSchema}ID" />
    +       <attribute name="path" type="{http://www.w3.org/2001/XMLSchema}string" />
    +       <anyAttribute processContents='lax' namespace='##other'/>
    +     </restriction>
    +   </complexContent>
    + </complexType>
    + 
    +
  • +
+
+
+
    +
  • + +
    +
      +
    • + + +

      Field Summary

      + + + + + + + + + + + + + + + + + +
      Fields 
      Modifier and TypeFieldDescription
      protected java.lang.Stringid 
      protected java.lang.Stringpath 
      +
    • +
    +
    + +
    +
      +
    • + + +

      Constructor Summary

      + + + + + + + + + + +
      Constructors 
      ConstructorDescription
      Endpoint() 
      +
    • +
    +
    + +
    +
      +
    • + + +

      Method Summary

      + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
      All Methods Instance Methods Concrete Methods 
      Modifier and TypeMethodDescription
      java.lang.StringgetId() +
      Gets the value of the id property.
      +
      java.util.Map<javax.xml.namespace.QName,​java.lang.String>getOtherAttributes() +
      Gets a map that contains attributes that aren't bound to any typed property on this class.
      +
      java.lang.StringgetPath() +
      Gets the value of the path property.
      +
      voidsetId​(java.lang.String value) +
      Sets the value of the id property.
      +
      voidsetPath​(java.lang.String value) +
      Sets the value of the path property.
      +
      +
        +
      • + + +

        Methods inherited from class java.lang.Object

        +clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • +
      +
    • +
    +
    +
  • +
+
+
+
    +
  • + +
    +
      +
    • + + +

      Field Detail

      + + + +
        +
      • +

        id

        +
        protected java.lang.String id
        +
      • +
      + + + +
        +
      • +

        path

        +
        protected java.lang.String path
        +
      • +
      +
    • +
    +
    + +
    +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        Endpoint

        +
        public Endpoint()
        +
      • +
      +
    • +
    +
    + +
    +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        getId

        +
        public java.lang.String getId()
        +
        Gets the value of the id property.
        +
        +
        Returns:
        +
        possible object is + String
        +
        +
      • +
      + + + +
        +
      • +

        setId

        +
        public void setId​(java.lang.String value)
        +
        Sets the value of the id property.
        +
        +
        Parameters:
        +
        value - allowed object is + String
        +
        +
      • +
      + + + +
        +
      • +

        getPath

        +
        public java.lang.String getPath()
        +
        Gets the value of the path property.
        +
        +
        Returns:
        +
        possible object is + String
        +
        +
      • +
      + + + +
        +
      • +

        setPath

        +
        public void setPath​(java.lang.String value)
        +
        Sets the value of the path property.
        +
        +
        Parameters:
        +
        value - allowed object is + String
        +
        +
      • +
      + + + +
        +
      • +

        getOtherAttributes

        +
        public java.util.Map<javax.xml.namespace.QName,​java.lang.String> getOtherAttributes()
        +
        Gets a map that contains attributes that aren't bound to any typed property on this class. + +

        + the map is keyed by the name of the attribute and + the value is the string value of the attribute. + + the map returned by this method is live, and you can add new attribute + by updating the map directly. Because of this design, there's no setter.

        +
        +
        Returns:
        +
        always non-null
        +
        +
      • +
      +
    • +
    +
    +
  • +
+
+
+
+ + + + diff --git a/apidocs/1.19/org/glassfish/tyrus/core/wsadl/model/ObjectFactory.html b/apidocs/1.19/org/glassfish/tyrus/core/wsadl/model/ObjectFactory.html new file mode 100644 index 00000000..844444ae --- /dev/null +++ b/apidocs/1.19/org/glassfish/tyrus/core/wsadl/model/ObjectFactory.html @@ -0,0 +1,342 @@ + + + + + +ObjectFactory (Tyrus 1.19 API) + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +

Class ObjectFactory

+
+
+
    +
  • java.lang.Object
  • +
  • +
      +
    • org.glassfish.tyrus.core.wsadl.model.ObjectFactory
    • +
    +
  • +
+
+
    +
  • +
    +
    public class ObjectFactory
    +extends java.lang.Object
    +
    This object contains factory methods for each + Java content interface and Java element interface + generated in the org.glassfish.tyrus.core.wsadl.model package. +

    An ObjectFactory allows you to programatically + construct new instances of the Java representation + for XML content. The Java representation of XML + content can consist of schema derived interfaces + and classes representing the binding of schema + type definitions, element declarations and model + groups. Factory methods for each of these are + provided in this class.

    +
  • +
+
+
+
    +
  • + +
    +
      +
    • + + +

      Constructor Summary

      + + + + + + + + + + +
      Constructors 
      ConstructorDescription
      ObjectFactory() +
      Create a new ObjectFactory that can be used to create new instances of schema derived classes for package: org.glassfish.tyrus.core.wsadl.model
      +
      +
    • +
    +
    + +
    + +
    +
  • +
+
+
+
    +
  • + +
    +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        ObjectFactory

        +
        public ObjectFactory()
        +
        Create a new ObjectFactory that can be used to create new instances of schema derived classes for package: org.glassfish.tyrus.core.wsadl.model
        +
      • +
      +
    • +
    +
    + +
    + +
    +
  • +
+
+
+
+ + + + diff --git a/apidocs/1.19/org/glassfish/tyrus/core/wsadl/model/class-use/Application.html b/apidocs/1.19/org/glassfish/tyrus/core/wsadl/model/class-use/Application.html new file mode 100644 index 00000000..805503d4 --- /dev/null +++ b/apidocs/1.19/org/glassfish/tyrus/core/wsadl/model/class-use/Application.html @@ -0,0 +1,226 @@ + + + + + +Uses of Class org.glassfish.tyrus.core.wsadl.model.Application (Tyrus 1.19 API) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Class
org.glassfish.tyrus.core.wsadl.model.Application

+
+
+ +
+
+ + + diff --git a/apidocs/1.19/org/glassfish/tyrus/core/wsadl/model/class-use/Endpoint.html b/apidocs/1.19/org/glassfish/tyrus/core/wsadl/model/class-use/Endpoint.html new file mode 100644 index 00000000..5ca6653f --- /dev/null +++ b/apidocs/1.19/org/glassfish/tyrus/core/wsadl/model/class-use/Endpoint.html @@ -0,0 +1,228 @@ + + + + + +Uses of Class org.glassfish.tyrus.core.wsadl.model.Endpoint (Tyrus 1.19 API) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Class
org.glassfish.tyrus.core.wsadl.model.Endpoint

+
+
+ +
+
+ + + diff --git a/apidocs/1.19/org/glassfish/tyrus/core/wsadl/model/class-use/ObjectFactory.html b/apidocs/1.19/org/glassfish/tyrus/core/wsadl/model/class-use/ObjectFactory.html new file mode 100644 index 00000000..9b179759 --- /dev/null +++ b/apidocs/1.19/org/glassfish/tyrus/core/wsadl/model/class-use/ObjectFactory.html @@ -0,0 +1,150 @@ + + + + + +Uses of Class org.glassfish.tyrus.core.wsadl.model.ObjectFactory (Tyrus 1.19 API) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Class
org.glassfish.tyrus.core.wsadl.model.ObjectFactory

+
+
No usage of org.glassfish.tyrus.core.wsadl.model.ObjectFactory
+
+ + + diff --git a/apidocs/1.19/org/glassfish/tyrus/core/wsadl/model/package-summary.html b/apidocs/1.19/org/glassfish/tyrus/core/wsadl/model/package-summary.html new file mode 100644 index 00000000..e84d7373 --- /dev/null +++ b/apidocs/1.19/org/glassfish/tyrus/core/wsadl/model/package-summary.html @@ -0,0 +1,184 @@ + + + + + +org.glassfish.tyrus.core.wsadl.model (Tyrus 1.19 API) + + + + + + + + + + + + + + + +
+ +
+
+
+

Package org.glassfish.tyrus.core.wsadl.model

+
+
+
    +
  • + + + + + + + + + + + + + + + + + + + + +
    Class Summary 
    ClassDescription
    Application +
    Java class for anonymous complex type.
    +
    Endpoint +
    Java class for anonymous complex type.
    +
    ObjectFactory +
    This object contains factory methods for each + Java content interface and Java element interface + generated in the org.glassfish.tyrus.core.wsadl.model package.
    +
    +
  • +
+
+
+ + + diff --git a/apidocs/1.19/org/glassfish/tyrus/core/wsadl/model/package-tree.html b/apidocs/1.19/org/glassfish/tyrus/core/wsadl/model/package-tree.html new file mode 100644 index 00000000..4dc97591 --- /dev/null +++ b/apidocs/1.19/org/glassfish/tyrus/core/wsadl/model/package-tree.html @@ -0,0 +1,167 @@ + + + + + +org.glassfish.tyrus.core.wsadl.model Class Hierarchy (Tyrus 1.19 API) + + + + + + + + + + + + + + + +
+ +
+
+
+

Hierarchy For Package org.glassfish.tyrus.core.wsadl.model

+Package Hierarchies: + +
+
+
+

Class Hierarchy

+
    +
  • java.lang.Object + +
  • +
+
+
+
+ + + diff --git a/apidocs/1.19/org/glassfish/tyrus/core/wsadl/model/package-use.html b/apidocs/1.19/org/glassfish/tyrus/core/wsadl/model/package-use.html new file mode 100644 index 00000000..cd79cf51 --- /dev/null +++ b/apidocs/1.19/org/glassfish/tyrus/core/wsadl/model/package-use.html @@ -0,0 +1,218 @@ + + + + + +Uses of Package org.glassfish.tyrus.core.wsadl.model (Tyrus 1.19 API) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Package
org.glassfish.tyrus.core.wsadl.model

+
+
+ +
+
+ + + diff --git a/apidocs/1.19/org/glassfish/tyrus/gf/cdi/CdiComponentProvider.html b/apidocs/1.19/org/glassfish/tyrus/gf/cdi/CdiComponentProvider.html new file mode 100644 index 00000000..59a1b62c --- /dev/null +++ b/apidocs/1.19/org/glassfish/tyrus/gf/cdi/CdiComponentProvider.html @@ -0,0 +1,401 @@ + + + + + +CdiComponentProvider (Tyrus 1.19 API) + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +

Class CdiComponentProvider

+
+
+ +
+
    +
  • +
    +
    public class CdiComponentProvider
    +extends ComponentProvider
    +
    Provides the instance for CDI class.
    +
    +
    Author:
    +
    Stepan Kopriva (stepan.kopriva at oracle.com)
    +
    +
  • +
+
+
+
    +
  • + +
    +
      +
    • + + +

      Constructor Summary

      + + + + + + + + + + +
      Constructors 
      ConstructorDescription
      CdiComponentProvider() +
      Constructor.
      +
      +
    • +
    +
    + +
    +
      +
    • + + +

      Method Summary

      + + + + + + + + + + + + + + + + + + + + + + +
      All Methods Instance Methods Concrete Methods 
      Modifier and TypeMethodDescription
      <T> java.lang.Objectcreate​(java.lang.Class<T> c) +
      Create new instance.
      +
      booleandestroy​(java.lang.Object o) +
      Destroys the given managed instance.
      +
      booleanisApplicable​(java.lang.Class<?> c) +
      Checks whether this component provider is able to provide an instance of given Class.
      +
      + +
        +
      • + + +

        Methods inherited from class java.lang.Object

        +clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • +
      +
    • +
    +
    +
  • +
+
+
+
    +
  • + +
    +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        CdiComponentProvider

        +
        public CdiComponentProvider()
        +                     throws javax.naming.NamingException
        +
        Constructor. +

        + Looks up the BeanManager which is later used to provide the instance.

        +
        +
        Throws:
        +
        javax.naming.NamingException - when Bean Manager cannot be looked up.
        +
        +
      • +
      +
    • +
    +
    + +
    +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        isApplicable

        +
        public boolean isApplicable​(java.lang.Class<?> c)
        +
        Description copied from class: ComponentProvider
        +
        Checks whether this component provider is able to provide an instance of given Class.
        +
        +
        Specified by:
        +
        isApplicable in class ComponentProvider
        +
        Parameters:
        +
        c - Class to be checked.
        +
        Returns:
        +
        true iff this ComponentProvider is able to create an instance of the given Class.
        +
        +
      • +
      + + + +
        +
      • +

        create

        +
        public <T> java.lang.Object create​(java.lang.Class<T> c)
        +
        Description copied from class: ComponentProvider
        +
        Create new instance.
        +
        +
        Specified by:
        +
        create in class ComponentProvider
        +
        Type Parameters:
        +
        T - type of the created object.
        +
        Parameters:
        +
        c - Class to be created.
        +
        Returns:
        +
        instance, iff found, null otherwise.
        +
        +
      • +
      + + + +
        +
      • +

        destroy

        +
        public boolean destroy​(java.lang.Object o)
        +
        Description copied from class: ComponentProvider
        +
        Destroys the given managed instance.
        +
        +
        Specified by:
        +
        destroy in class ComponentProvider
        +
        Parameters:
        +
        o - instance to be destroyed.
        +
        Returns:
        +
        true iff the instance was coupled to this ComponentProvider, false otherwise.
        +
        +
      • +
      +
    • +
    +
    +
  • +
+
+
+
+ + + + diff --git a/apidocs/1.19/org/glassfish/tyrus/gf/cdi/class-use/CdiComponentProvider.html b/apidocs/1.19/org/glassfish/tyrus/gf/cdi/class-use/CdiComponentProvider.html new file mode 100644 index 00000000..e560b56e --- /dev/null +++ b/apidocs/1.19/org/glassfish/tyrus/gf/cdi/class-use/CdiComponentProvider.html @@ -0,0 +1,150 @@ + + + + + +Uses of Class org.glassfish.tyrus.gf.cdi.CdiComponentProvider (Tyrus 1.19 API) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Class
org.glassfish.tyrus.gf.cdi.CdiComponentProvider

+
+
No usage of org.glassfish.tyrus.gf.cdi.CdiComponentProvider
+
+ + + diff --git a/apidocs/1.19/org/glassfish/tyrus/gf/cdi/package-summary.html b/apidocs/1.19/org/glassfish/tyrus/gf/cdi/package-summary.html new file mode 100644 index 00000000..bd49f52c --- /dev/null +++ b/apidocs/1.19/org/glassfish/tyrus/gf/cdi/package-summary.html @@ -0,0 +1,175 @@ + + + + + +org.glassfish.tyrus.gf.cdi (Tyrus 1.19 API) + + + + + + + + + + + + + + + +
+ +
+
+
+

Package org.glassfish.tyrus.gf.cdi

+
+
+
+ + +
Tyrus CDI integration with Glassfish (and possibly other compatible containers).
+
+
    +
  • + + + + + + + + + + + + +
    Class Summary 
    ClassDescription
    CdiComponentProvider +
    Provides the instance for CDI class.
    +
    +
  • +
+
+
+ + + diff --git a/apidocs/1.19/org/glassfish/tyrus/gf/cdi/package-tree.html b/apidocs/1.19/org/glassfish/tyrus/gf/cdi/package-tree.html new file mode 100644 index 00000000..41367cb9 --- /dev/null +++ b/apidocs/1.19/org/glassfish/tyrus/gf/cdi/package-tree.html @@ -0,0 +1,169 @@ + + + + + +org.glassfish.tyrus.gf.cdi Class Hierarchy (Tyrus 1.19 API) + + + + + + + + + + + + + + + +
+ +
+
+
+

Hierarchy For Package org.glassfish.tyrus.gf.cdi

+Package Hierarchies: + +
+
+
+

Class Hierarchy

+ +
+
+
+ + + diff --git a/apidocs/1.19/org/glassfish/tyrus/gf/cdi/package-use.html b/apidocs/1.19/org/glassfish/tyrus/gf/cdi/package-use.html new file mode 100644 index 00000000..92e7f353 --- /dev/null +++ b/apidocs/1.19/org/glassfish/tyrus/gf/cdi/package-use.html @@ -0,0 +1,150 @@ + + + + + +Uses of Package org.glassfish.tyrus.gf.cdi (Tyrus 1.19 API) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Package
org.glassfish.tyrus.gf.cdi

+
+
No usage of org.glassfish.tyrus.gf.cdi
+
+ + + diff --git a/apidocs/1.19/org/glassfish/tyrus/gf/ejb/EjbComponentProvider.html b/apidocs/1.19/org/glassfish/tyrus/gf/ejb/EjbComponentProvider.html new file mode 100644 index 00000000..60789724 --- /dev/null +++ b/apidocs/1.19/org/glassfish/tyrus/gf/ejb/EjbComponentProvider.html @@ -0,0 +1,416 @@ + + + + + +EjbComponentProvider (Tyrus 1.19 API) + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +

Class EjbComponentProvider

+
+
+ +
+
    +
  • +
    +
    public class EjbComponentProvider
    +extends ComponentProvider
    +
    Provides the instance for the supported EJB classes.
    +
    +
    Author:
    +
    Stepan Kopriva (stepan.kopriva at oracle.com), Pavel Bucek (pavel.bucek at oracle.com)
    +
    +
  • +
+
+
+
    +
  • + +
    + +
    + +
    +
      +
    • + + +

      Method Summary

      + + + + + + + + + + + + + + + + + + + + + + + + + + + +
      All Methods Instance Methods Concrete Methods 
      Modifier and TypeMethodDescription
      <T> java.lang.Objectcreate​(java.lang.Class<T> c) +
      Create new instance.
      +
      booleandestroy​(java.lang.Object o) +
      Destroys the given managed instance.
      +
      java.lang.reflect.MethodgetInvocableMethod​(java.lang.reflect.Method method) +
      Get the method which should be invoked instead provided one.
      +
      booleanisApplicable​(java.lang.Class<?> c) +
      Checks whether this component provider is able to provide an instance of given Class.
      +
      +
        +
      • + + +

        Methods inherited from class java.lang.Object

        +clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • +
      +
    • +
    +
    +
  • +
+
+
+
    +
  • + +
    +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        EjbComponentProvider

        +
        public EjbComponentProvider()
        +
      • +
      +
    • +
    +
    + +
    +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        create

        +
        public <T> java.lang.Object create​(java.lang.Class<T> c)
        +
        Description copied from class: ComponentProvider
        +
        Create new instance.
        +
        +
        Specified by:
        +
        create in class ComponentProvider
        +
        Type Parameters:
        +
        T - type of the created object.
        +
        Parameters:
        +
        c - Class to be created.
        +
        Returns:
        +
        instance, iff found, null otherwise.
        +
        +
      • +
      + + + +
        +
      • +

        isApplicable

        +
        public boolean isApplicable​(java.lang.Class<?> c)
        +
        Description copied from class: ComponentProvider
        +
        Checks whether this component provider is able to provide an instance of given Class.
        +
        +
        Specified by:
        +
        isApplicable in class ComponentProvider
        +
        Parameters:
        +
        c - Class to be checked.
        +
        Returns:
        +
        true iff this ComponentProvider is able to create an instance of the given Class.
        +
        +
      • +
      + + + +
        +
      • +

        destroy

        +
        public boolean destroy​(java.lang.Object o)
        +
        Description copied from class: ComponentProvider
        +
        Destroys the given managed instance.
        +
        +
        Specified by:
        +
        destroy in class ComponentProvider
        +
        Parameters:
        +
        o - instance to be destroyed.
        +
        Returns:
        +
        true iff the instance was coupled to this ComponentProvider, false otherwise.
        +
        +
      • +
      + + + +
        +
      • +

        getInvocableMethod

        +
        public java.lang.reflect.Method getInvocableMethod​(java.lang.reflect.Method method)
        +
        Description copied from class: ComponentProvider
        +
        Get the method which should be invoked instead provided one. +

        + Useful mainly for EJB container support, where methods from endpoint class cannot be invoked directly - Tyrus + needs + to use method declared on remote interface. +

        + Default implementation returns method provided as parameter.

        +
        +
        Overrides:
        +
        getInvocableMethod in class ComponentProvider
        +
        Parameters:
        +
        method - method from endpoint class.
        +
        Returns:
        +
        method which should be invoked.
        +
        +
      • +
      +
    • +
    +
    +
  • +
+
+
+
+ + + + diff --git a/apidocs/1.19/org/glassfish/tyrus/gf/ejb/class-use/EjbComponentProvider.html b/apidocs/1.19/org/glassfish/tyrus/gf/ejb/class-use/EjbComponentProvider.html new file mode 100644 index 00000000..2a72f606 --- /dev/null +++ b/apidocs/1.19/org/glassfish/tyrus/gf/ejb/class-use/EjbComponentProvider.html @@ -0,0 +1,150 @@ + + + + + +Uses of Class org.glassfish.tyrus.gf.ejb.EjbComponentProvider (Tyrus 1.19 API) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Class
org.glassfish.tyrus.gf.ejb.EjbComponentProvider

+
+
No usage of org.glassfish.tyrus.gf.ejb.EjbComponentProvider
+
+ + + diff --git a/apidocs/1.19/org/glassfish/tyrus/gf/ejb/package-summary.html b/apidocs/1.19/org/glassfish/tyrus/gf/ejb/package-summary.html new file mode 100644 index 00000000..a177e938 --- /dev/null +++ b/apidocs/1.19/org/glassfish/tyrus/gf/ejb/package-summary.html @@ -0,0 +1,175 @@ + + + + + +org.glassfish.tyrus.gf.ejb (Tyrus 1.19 API) + + + + + + + + + + + + + + + +
+ +
+
+
+

Package org.glassfish.tyrus.gf.ejb

+
+
+
+ + +
Tyrus EJB integration with Glassfish (and possibly other compatible containers).
+
+
    +
  • + + + + + + + + + + + + +
    Class Summary 
    ClassDescription
    EjbComponentProvider +
    Provides the instance for the supported EJB classes.
    +
    +
  • +
+
+
+ + + diff --git a/apidocs/1.19/org/glassfish/tyrus/gf/ejb/package-tree.html b/apidocs/1.19/org/glassfish/tyrus/gf/ejb/package-tree.html new file mode 100644 index 00000000..909bf33f --- /dev/null +++ b/apidocs/1.19/org/glassfish/tyrus/gf/ejb/package-tree.html @@ -0,0 +1,169 @@ + + + + + +org.glassfish.tyrus.gf.ejb Class Hierarchy (Tyrus 1.19 API) + + + + + + + + + + + + + + + +
+ +
+
+
+

Hierarchy For Package org.glassfish.tyrus.gf.ejb

+Package Hierarchies: + +
+
+
+

Class Hierarchy

+ +
+
+
+ + + diff --git a/apidocs/1.19/org/glassfish/tyrus/gf/ejb/package-use.html b/apidocs/1.19/org/glassfish/tyrus/gf/ejb/package-use.html new file mode 100644 index 00000000..ee1d92da --- /dev/null +++ b/apidocs/1.19/org/glassfish/tyrus/gf/ejb/package-use.html @@ -0,0 +1,150 @@ + + + + + +Uses of Package org.glassfish.tyrus.gf.ejb (Tyrus 1.19 API) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Package
org.glassfish.tyrus.gf.ejb

+
+
No usage of org.glassfish.tyrus.gf.ejb
+
+ + + diff --git a/apidocs/1.19/org/glassfish/tyrus/server/Server.html b/apidocs/1.19/org/glassfish/tyrus/server/Server.html new file mode 100644 index 00000000..f9d0ba65 --- /dev/null +++ b/apidocs/1.19/org/glassfish/tyrus/server/Server.html @@ -0,0 +1,535 @@ + + + + + +Server (Tyrus 1.19 API) + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +

Class Server

+
+
+
    +
  • java.lang.Object
  • +
  • +
      +
    • org.glassfish.tyrus.server.Server
    • +
    +
  • +
+
+
    +
  • +
    +
    public class Server
    +extends java.lang.Object
    +
    Implementation of the WebSocket Server.
    +
    +
    Author:
    +
    Stepan Kopriva (stepan.kopriva at oracle.com), Pavel Bucek (pavel.bucek at oracle.com)
    +
    +
  • +
+
+
+
    +
  • + +
    +
      +
    • + + +

      Field Summary

      + + + + + + + + + + + + +
      Fields 
      Modifier and TypeFieldDescription
      static java.lang.StringSTATIC_CONTENT_ROOT +
      Path to static content to be served by created Server instance.
      +
      +
    • +
    +
    + +
    +
      +
    • + + +

      Constructor Summary

      + + + + + + + + + + + + + + + + + + + + + + +
      Constructors 
      ConstructorDescription
      Server​(java.lang.Class<?>... configuration) +
      Create new server instance.
      +
      Server​(java.lang.String hostName, + int port, + java.lang.String contextPath, + java.util.Map<java.lang.String,​java.lang.Object> properties, + java.lang.Class<?>... configuration) +
      Construct new server.
      +
      Server​(java.lang.String hostName, + int port, + java.lang.String contextPath, + java.util.Map<java.lang.String,​java.lang.Object> properties, + java.util.Set<java.lang.Class<?>> configuration) +
      Construct new server.
      +
      Server​(java.util.Map<java.lang.String,​java.lang.Object> properties, + java.lang.Class<?>... configuration) +
      Create new server instance.
      +
      +
    • +
    +
    + +
    +
      +
    • + + +

      Method Summary

      + + + + + + + + + + + + + + + + + + + + + + + + + + + +
      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and TypeMethodDescription
      intgetPort() +
      Get the port which was used to start the container.
      +
      static voidmain​(java.lang.String[] args) 
      voidstart() +
      Start the server.
      +
      voidstop() +
      Stop the server.
      +
      +
        +
      • + + +

        Methods inherited from class java.lang.Object

        +clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • +
      +
    • +
    +
    +
  • +
+
+
+
    +
  • + +
    + +
    + +
    +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        Server

        +
        public Server​(java.lang.Class<?>... configuration)
        +
        Create new server instance.
        +
        +
        Parameters:
        +
        configuration - to be registered with the server. Classes annotated with ServerEndpoint, implementing + ServerApplicationConfig or extending ServerEndpointConfig + are supported.
        +
        +
      • +
      + + + +
        +
      • +

        Server

        +
        public Server​(java.util.Map<java.lang.String,​java.lang.Object> properties,
        +              java.lang.Class<?>... configuration)
        +
        Create new server instance.
        +
        +
        Parameters:
        +
        properties - properties used as a parameter to (java.util.Map) call.
        +
        configuration - to be registered with the server. Classes annotated with ServerEndpoint, implementing ServerApplicationConfig or extending ServerEndpointConfig + are supported.
        +
        +
      • +
      + + + +
        +
      • +

        Server

        +
        public Server​(java.lang.String hostName,
        +              int port,
        +              java.lang.String contextPath,
        +              java.util.Map<java.lang.String,​java.lang.Object> properties,
        +              java.lang.Class<?>... configuration)
        +
        Construct new server.
        +
        +
        Parameters:
        +
        hostName - hostName of the server.
        +
        port - port of the server. When provided value is 0, default port (8025) + will be used, when -1, ephemeral port number will be used.
        +
        contextPath - root path to the server App.
        +
        properties - properties used as a parameter to (java.util.Map) call.
        +
        configuration - to be registered with the server. Classes annotated with ServerEndpoint, implementing + ServerApplicationConfig or extending ServerEndpointConfig + are supported.
        +
        See Also:
        +
        getPort()
        +
        +
      • +
      + + + +
        +
      • +

        Server

        +
        public Server​(java.lang.String hostName,
        +              int port,
        +              java.lang.String contextPath,
        +              java.util.Map<java.lang.String,​java.lang.Object> properties,
        +              java.util.Set<java.lang.Class<?>> configuration)
        +
        Construct new server.
        +
        +
        Parameters:
        +
        hostName - hostName of the server.
        +
        port - port of the server. When provided value is 0, default port (8025) + will be used, when -1, ephemeral port number will be used.
        +
        contextPath - root path to the server App.
        +
        properties - properties used as a parameter to (java.util.Map) call.
        +
        configuration - to be registered with the server. Classes annotated with ServerEndpoint, implementing ServerApplicationConfig + or extending ServerEndpointConfig + are supported.
        +
        See Also:
        +
        getPort()
        +
        +
      • +
      +
    • +
    +
    + +
    +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        main

        +
        public static void main​(java.lang.String[] args)
        +
      • +
      + + + + + + + +
        +
      • +

        getPort

        +
        public int getPort()
        +
        Get the port which was used to start the container.
        +
        +
        Returns:
        +
        the port which was used to start the container.
        +
        +
      • +
      + + + +
        +
      • +

        stop

        +
        public void stop()
        +
        Stop the server.
        +
      • +
      +
    • +
    +
    +
  • +
+
+
+
+ + + + diff --git a/apidocs/1.19/org/glassfish/tyrus/server/TyrusServerConfiguration.html b/apidocs/1.19/org/glassfish/tyrus/server/TyrusServerConfiguration.html new file mode 100644 index 00000000..9254e637 --- /dev/null +++ b/apidocs/1.19/org/glassfish/tyrus/server/TyrusServerConfiguration.html @@ -0,0 +1,399 @@ + + + + + +TyrusServerConfiguration (Tyrus 1.19 API) + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +

Class TyrusServerConfiguration

+
+
+
    +
  • java.lang.Object
  • +
  • +
      +
    • org.glassfish.tyrus.server.TyrusServerConfiguration
    • +
    +
  • +
+
+ +
+
+ +
+
+
    +
  • + +
    +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        TyrusServerConfiguration

        +
        public TyrusServerConfiguration​(java.util.Set<java.lang.Class<?>> classes,
        +                                java.util.Set<ServerEndpointConfig> serverEndpointConfigs)
        + +
        +
        Parameters:
        +
        classes - classes to be included in this application instance. Can contain any combination of + annotated endpoints (see ServerEndpoint). Cannot be null.
        +
        serverEndpointConfigs - List of instances of ServerEndpointConfig to be deployed.
        +
        Throws:
        +
        java.lang.IllegalArgumentException - when any of the arguments is null.
        +
        +
      • +
      + + + +
        +
      • +

        TyrusServerConfiguration

        +
        public TyrusServerConfiguration​(java.util.Set<java.lang.Class<?>> classes,
        +                                java.util.Set<java.lang.Class<?>> dynamicallyAddedClasses,
        +                                java.util.Set<ServerEndpointConfig> serverEndpointConfigs,
        +                                ErrorCollector errorCollector)
        + +
        +
        Parameters:
        +
        classes - classes to be included in this application instance. Can contain any combination + of annotated endpoints (see ServerEndpoint).
        +
        dynamicallyAddedClasses - dynamically deployed classes. See .ServerContainer#addEndpoint(Class).
        +
        serverEndpointConfigs - List of instances of ServerEndpointConfig to be deployed.
        +
        errorCollector - model errors are reported to this instance. Cannot be null.
        +
        Throws:
        +
        java.lang.IllegalArgumentException - when any of the arguments is null.
        +
        +
      • +
      +
    • +
    +
    + +
    + +
    +
  • +
+
+
+
+ + + + diff --git a/apidocs/1.19/org/glassfish/tyrus/server/TyrusServerContainer.html b/apidocs/1.19/org/glassfish/tyrus/server/TyrusServerContainer.html new file mode 100644 index 00000000..335c541b --- /dev/null +++ b/apidocs/1.19/org/glassfish/tyrus/server/TyrusServerContainer.html @@ -0,0 +1,1146 @@ + + + + + +TyrusServerContainer (Tyrus 1.19 API) + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +

Class TyrusServerContainer

+
+
+ +
+ +
+
+ +
+
+
    +
  • + +
    +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        TyrusServerContainer

        +
        public TyrusServerContainer​(java.util.Set<java.lang.Class<?>> classes)
        + +
        +
        Parameters:
        +
        classes - classes to be included in this application instance. Can contain any combination of annotated + endpoints (see ServerEndpoint) or Endpoint + descendants.
        +
        +
      • +
      + + + + +
    • +
    +
    + +
    +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        start

        +
        public void start​(java.lang.String rootPath,
        +                  int port)
        +           throws java.io.IOException,
        +                  DeploymentException
        +
        Start the container.
        +
        +
        Specified by:
        +
        start in interface ServerContainer
        +
        Parameters:
        +
        rootPath - context path of the deployed websocket application.
        +
        port - TCP port
        +
        Throws:
        +
        java.io.IOException - when any IO related issues emerge during ServerContainer.start(String, int).
        +
        DeploymentException - when any deployment related error is found; should contain list of all found issues.
        +
        +
      • +
      + + + +
        +
      • +

        stop

        +
        public void stop()
        +
        Undeploy all endpoints and stop underlying ServerContainer. +

        + Release all created threadpools / executor services.

        +
        +
        Specified by:
        +
        stop in interface ServerContainer
        +
        +
      • +
      + + + + + + + + + + + +
        +
      • +

        addEndpoint

        +
        public void addEndpoint​(java.lang.Class<?> endpointClass)
        +                 throws DeploymentException
        +
        Description copied from interface: ServerContainer
        +
        Deploys the given annotated endpoint into this ServerContainer during the + initialization phase of deploying the application.
        +
        +
        Specified by:
        +
        addEndpoint in interface ServerContainer
        +
        Parameters:
        +
        endpointClass - the class of the annotated endpoint
        +
        Throws:
        +
        DeploymentException - if the annotated endpoint was badly formed.
        +
        +
      • +
      + + + + + + + +
        +
      • +

        getPort

        +
        public int getPort()
        +
        Get port of the started container.
        +
        +
        Returns:
        +
        the port of the started container or -1, when the container is not started or the container does + not provide the port.
        +
        +
      • +
      + + + +
        +
      • +

        getClientManager

        +
        protected ClientManager getClientManager()
        +
        Can be overridden to provide own ClientManager implementation or instance.
        +
        +
        Returns:
        +
        ClientManager associated with this server container.
        +
        +
      • +
      + + + +
        +
      • +

        connectToServer

        +
        public Session connectToServer​(java.lang.Class annotatedEndpointClass,
        +                               java.net.URI path)
        +                        throws DeploymentException,
        +                               java.io.IOException
        +
        Description copied from interface: WebSocketContainer
        +
        Connect the supplied annotated endpoint to its server. The supplied object must be a + class decorated with the class level + ServerEndpoint annotation. This method blocks until the connection + is established, or throws an error if either the connection could not be made or there + was a problem with the supplied endpoint class.
        +
        +
        Specified by:
        +
        connectToServer in interface WebSocketContainer
        +
        Parameters:
        +
        annotatedEndpointClass - the annotated websocket client endpoint.
        +
        path - the complete path to the server endpoint.
        +
        Returns:
        +
        the Session created if the connection is successful.
        +
        Throws:
        +
        DeploymentException - if the class is not a valid annotated endpoint class.
        +
        java.io.IOException - if there was a network or protocol problem that + prevented the client endpoint being connected to its server.
        +
        +
      • +
      + + + +
        +
      • +

        connectToServer

        +
        public Session connectToServer​(java.lang.Class<? extends Endpoint> endpointClass,
        +                               ClientEndpointConfig cec,
        +                               java.net.URI path)
        +                        throws DeploymentException,
        +                               java.io.IOException
        +
        Description copied from interface: WebSocketContainer
        +
        Connect the supplied programmatic endpoint to its server with the given + configuration. This method blocks until the connection + is established, or throws an error if the connection could not be made.
        +
        +
        Specified by:
        +
        connectToServer in interface WebSocketContainer
        +
        Parameters:
        +
        endpointClass - the programmatic client endpoint class Endpoint.
        +
        cec - the configuration used to configure the programmatic endpoint.
        +
        path - the complete path to the server endpoint.
        +
        Returns:
        +
        the Session created if the connection is successful.
        +
        Throws:
        +
        DeploymentException - if the configuration is not valid
        +
        java.io.IOException - if there was a network or protocol problem that prevented the client endpoint being connected to its server
        +
        +
      • +
      + + + +
        +
      • +

        connectToServer

        +
        public Session connectToServer​(java.lang.Object annotatedEndpointInstance,
        +                               java.net.URI path)
        +                        throws DeploymentException,
        +                               java.io.IOException
        +
        Description copied from interface: WebSocketContainer
        +
        Connect the supplied annotated endpoint instance to its server. The supplied + object must be a class decorated with the class level + ServerEndpoint annotation. This method + blocks until the connection is established, or throws an error if either + the connection could not be made or there was a problem with the supplied + endpoint class. If the developer uses this method to deploy the client + endpoint, services like dependency injection that are supported, for + example, when the implementation is part of the Java EE platform + may not be available. If the client endpoint uses dependency injection, + use WebSocketContainer.connectToServer(java.lang.Class, java.net.URI) + instead.
        +
        +
        Specified by:
        +
        connectToServer in interface WebSocketContainer
        +
        Parameters:
        +
        annotatedEndpointInstance - the annotated websocket client endpoint + instance.
        +
        path - the complete path to the server endpoint.
        +
        Returns:
        +
        the Session created if the connection is successful.
        +
        Throws:
        +
        DeploymentException - if the annotated endpoint instance is not valid.
        +
        java.io.IOException - if there was a network or protocol problem that + prevented the client endpoint being connected to its server.
        +
        +
      • +
      + + + +
        +
      • +

        connectToServer

        +
        public Session connectToServer​(Endpoint endpointInstance,
        +                               ClientEndpointConfig cec,
        +                               java.net.URI path)
        +                        throws DeploymentException,
        +                               java.io.IOException
        +
        Description copied from interface: WebSocketContainer
        +
        Connect the supplied programmatic client endpoint instance to its server + with the given configuration. This method blocks until the connection + is established, or throws an error if the connection could not be made. + If the developer uses this method to deploy the client + endpoint, services like dependency injection that are supported, for + example, when the implementation is part of the Java EE platform + may not be available. If the client endpoint uses dependency injection, + use WebSocketContainer.connectToServer(java.lang.Class, javax.websocket.ClientEndpointConfig, java.net.URI) + instead.
        +
        +
        Specified by:
        +
        connectToServer in interface WebSocketContainer
        +
        Parameters:
        +
        endpointInstance - the programmatic client endpoint instance Endpoint.
        +
        cec - the configuration used to configure the programmatic endpoint.
        +
        path - the complete path to the server endpoint.
        +
        Returns:
        +
        the Session created if the connection is successful.
        +
        Throws:
        +
        DeploymentException - if the configuration is not valid
        +
        java.io.IOException - if there was a network or protocol problem that + prevented the client endpoint being connected to its server
        +
        +
      • +
      + + + +
        +
      • +

        asyncConnectToServer

        +
        public java.util.concurrent.Future<Session> asyncConnectToServer​(java.lang.Class<?> annotatedEndpointClass,
        +                                                                 java.net.URI path)
        +                                                          throws DeploymentException
        +
        Non-blocking version of WebSocketContainer.connectToServer(Class, java.net.URI). +

        + Only simple checks are performed in the main thread; client container is created in different thread, same + applies to connecting etc.

        +
        +
        Parameters:
        +
        annotatedEndpointClass - the annotated websocket client endpoint.
        +
        path - the complete path to the server endpoint.
        +
        Returns:
        +
        Future for the Session created if the connection is successful.
        +
        Throws:
        +
        DeploymentException - if the class is not a valid annotated endpoint class.
        +
        +
      • +
      + + + + + + + + + + + + + + + + + + + +
        +
      • +

        setDefaultMaxBinaryMessageBufferSize

        +
        public void setDefaultMaxBinaryMessageBufferSize​(int max)
        +
        Description copied from interface: WebSocketContainer
        +
        Sets the default maximum size of incoming binary message that this container + will buffer.
        +
        +
        Specified by:
        +
        setDefaultMaxBinaryMessageBufferSize in interface WebSocketContainer
        +
        Parameters:
        +
        max - the maximum size of binary message in number of bytes.
        +
        +
      • +
      + + + + + + + +
        +
      • +

        setDefaultMaxTextMessageBufferSize

        +
        public void setDefaultMaxTextMessageBufferSize​(int max)
        +
        Description copied from interface: WebSocketContainer
        +
        Sets the maximum size of incoming text message that this container + will buffer.
        +
        +
        Specified by:
        +
        setDefaultMaxTextMessageBufferSize in interface WebSocketContainer
        +
        Parameters:
        +
        max - the maximum size of text message in number of bytes.
        +
        +
      • +
      + + + + + + + +
        +
      • +

        getDefaultAsyncSendTimeout

        +
        public long getDefaultAsyncSendTimeout()
        +
        Description copied from interface: WebSocketContainer
        +
        Return the number of milliseconds the implementation will timeout + attempting to send a websocket message for all RemoteEndpoints associated + with this container. A non-positive number indicates + the implementation will not timeout attempting to send a websocket message + asynchronously. Note this default may be overridden in each RemoteEndpoint.
        +
        +
        Specified by:
        +
        getDefaultAsyncSendTimeout in interface WebSocketContainer
        +
        Returns:
        +
        the timeout time in millsenconds.
        +
        +
      • +
      + + + +
        +
      • +

        setAsyncSendTimeout

        +
        public void setAsyncSendTimeout​(long timeoutmillis)
        +
        Description copied from interface: WebSocketContainer
        +
        Sets the number of milliseconds the implementation will timeout + attempting to send a websocket message for all RemoteEndpoints associated + with this container. A non-positive number indicates + the implementation will not timeout attempting to send a websocket message + asynchronously. Note this default may be overridden in each RemoteEndpoint.
        +
        +
        Specified by:
        +
        setAsyncSendTimeout in interface WebSocketContainer
        +
        +
      • +
      + + + +
        +
      • +

        getDefaultMaxSessionIdleTimeout

        +
        public long getDefaultMaxSessionIdleTimeout()
        +
        Description copied from interface: WebSocketContainer
        +
        Return the default time in milliseconds after which any web socket sessions in this + container will be closed if it has been inactive. A value that is + 0 or negative indicates the sessions will never timeout due to inactivity. + The value may be overridden on a per session basis using + Session.setMaxIdleTimeout(long)
        +
        +
        Specified by:
        +
        getDefaultMaxSessionIdleTimeout in interface WebSocketContainer
        +
        Returns:
        +
        the default number of milliseconds after which an idle session in this container + will be closed
        +
        +
      • +
      + + + +
        +
      • +

        setDefaultMaxSessionIdleTimeout

        +
        public void setDefaultMaxSessionIdleTimeout​(long defaultMaxSessionIdleTimeout)
        +
        Description copied from interface: WebSocketContainer
        +
        Sets the default time in milliseconds after which any web socket sessions in this + container will be closed if it has been inactive. A value that is + 0 or negative indicates the sessions will never timeout due to inactivity. + The value may be overridden on a per session basis using + Session.setMaxIdleTimeout(long)
        +
        +
        Specified by:
        +
        setDefaultMaxSessionIdleTimeout in interface WebSocketContainer
        +
        Parameters:
        +
        defaultMaxSessionIdleTimeout - the maximum time in milliseconds.
        +
        +
      • +
      + + + + +
    • +
    +
    +
  • +
+
+
+
+ + + + diff --git a/apidocs/1.19/org/glassfish/tyrus/server/class-use/Server.html b/apidocs/1.19/org/glassfish/tyrus/server/class-use/Server.html new file mode 100644 index 00000000..4c9aa97d --- /dev/null +++ b/apidocs/1.19/org/glassfish/tyrus/server/class-use/Server.html @@ -0,0 +1,150 @@ + + + + + +Uses of Class org.glassfish.tyrus.server.Server (Tyrus 1.19 API) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Class
org.glassfish.tyrus.server.Server

+
+
No usage of org.glassfish.tyrus.server.Server
+
+ + + diff --git a/apidocs/1.19/org/glassfish/tyrus/server/class-use/TyrusServerConfiguration.html b/apidocs/1.19/org/glassfish/tyrus/server/class-use/TyrusServerConfiguration.html new file mode 100644 index 00000000..462a1a12 --- /dev/null +++ b/apidocs/1.19/org/glassfish/tyrus/server/class-use/TyrusServerConfiguration.html @@ -0,0 +1,150 @@ + + + + + +Uses of Class org.glassfish.tyrus.server.TyrusServerConfiguration (Tyrus 1.19 API) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Class
org.glassfish.tyrus.server.TyrusServerConfiguration

+
+
No usage of org.glassfish.tyrus.server.TyrusServerConfiguration
+
+ + + diff --git a/apidocs/1.19/org/glassfish/tyrus/server/class-use/TyrusServerContainer.html b/apidocs/1.19/org/glassfish/tyrus/server/class-use/TyrusServerContainer.html new file mode 100644 index 00000000..95c65a75 --- /dev/null +++ b/apidocs/1.19/org/glassfish/tyrus/server/class-use/TyrusServerContainer.html @@ -0,0 +1,150 @@ + + + + + +Uses of Class org.glassfish.tyrus.server.TyrusServerContainer (Tyrus 1.19 API) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Class
org.glassfish.tyrus.server.TyrusServerContainer

+
+
No usage of org.glassfish.tyrus.server.TyrusServerContainer
+
+ + + diff --git a/apidocs/1.19/org/glassfish/tyrus/server/package-summary.html b/apidocs/1.19/org/glassfish/tyrus/server/package-summary.html new file mode 100644 index 00000000..68f2b068 --- /dev/null +++ b/apidocs/1.19/org/glassfish/tyrus/server/package-summary.html @@ -0,0 +1,187 @@ + + + + + +org.glassfish.tyrus.server (Tyrus 1.19 API) + + + + + + + + + + + + + + + +
+ +
+
+
+

Package org.glassfish.tyrus.server

+
+
+
+ + +
Server implementation.
+
+ +
+
+ + + diff --git a/apidocs/1.19/org/glassfish/tyrus/server/package-tree.html b/apidocs/1.19/org/glassfish/tyrus/server/package-tree.html new file mode 100644 index 00000000..cda237bd --- /dev/null +++ b/apidocs/1.19/org/glassfish/tyrus/server/package-tree.html @@ -0,0 +1,175 @@ + + + + + +org.glassfish.tyrus.server Class Hierarchy (Tyrus 1.19 API) + + + + + + + + + + + + + + + +
+ +
+
+
+

Hierarchy For Package org.glassfish.tyrus.server

+Package Hierarchies: + +
+
+
+

Class Hierarchy

+ +
+
+
+ + + diff --git a/apidocs/1.19/org/glassfish/tyrus/server/package-use.html b/apidocs/1.19/org/glassfish/tyrus/server/package-use.html new file mode 100644 index 00000000..a7996732 --- /dev/null +++ b/apidocs/1.19/org/glassfish/tyrus/server/package-use.html @@ -0,0 +1,150 @@ + + + + + +Uses of Package org.glassfish.tyrus.server (Tyrus 1.19 API) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Package
org.glassfish.tyrus.server

+
+
No usage of org.glassfish.tyrus.server
+
+ + + diff --git a/apidocs/1.19/org/glassfish/tyrus/servlet/TyrusHttpUpgradeHandler.html b/apidocs/1.19/org/glassfish/tyrus/servlet/TyrusHttpUpgradeHandler.html new file mode 100644 index 00000000..af552202 --- /dev/null +++ b/apidocs/1.19/org/glassfish/tyrus/servlet/TyrusHttpUpgradeHandler.html @@ -0,0 +1,512 @@ + + + + + +TyrusHttpUpgradeHandler (Tyrus 1.19 API) + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +

Class TyrusHttpUpgradeHandler

+
+
+
    +
  • java.lang.Object
  • +
  • +
      +
    • org.glassfish.tyrus.servlet.TyrusHttpUpgradeHandler
    • +
    +
  • +
+
+
    +
  • +
    +
    All Implemented Interfaces:
    +
    java.util.EventListener, javax.servlet.http.HttpUpgradeHandler, javax.servlet.ReadListener
    +
    +
    +
    public class TyrusHttpUpgradeHandler
    +extends java.lang.Object
    +implements javax.servlet.http.HttpUpgradeHandler, javax.servlet.ReadListener
    +
    HttpUpgradeHandler and ReadListener implementation. +

    + Reads data from ServletInputStream and passes it further to the Tyrus runtime.

    +
    +
    Author:
    +
    Jitendra Kotamraju, Pavel Bucek (pavel.bucek at oracle.com)
    +
    +
  • +
+
+
+ +
+
+
    +
  • + +
    +
      +
    • + + +

      Field Detail

      + + + +
        +
      • +

        FRAME_BUFFER_SIZE

        +
        public static final java.lang.String FRAME_BUFFER_SIZE
        +
        +
        See Also:
        +
        Constant Field Values
        +
        +
      • +
      +
    • +
    +
    + +
    +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        TyrusHttpUpgradeHandler

        +
        public TyrusHttpUpgradeHandler()
        +
      • +
      +
    • +
    +
    + +
    +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        init

        +
        public void init​(javax.servlet.http.WebConnection wc)
        +
        +
        Specified by:
        +
        init in interface javax.servlet.http.HttpUpgradeHandler
        +
        +
      • +
      + + + + + + + +
        +
      • +

        onDataAvailable

        +
        public void onDataAvailable()
        +
        +
        Specified by:
        +
        onDataAvailable in interface javax.servlet.ReadListener
        +
        +
      • +
      + + + +
        +
      • +

        onAllDataRead

        +
        public void onAllDataRead()
        +
        +
        Specified by:
        +
        onAllDataRead in interface javax.servlet.ReadListener
        +
        +
      • +
      + + + +
        +
      • +

        onError

        +
        public void onError​(java.lang.Throwable t)
        +
        +
        Specified by:
        +
        onError in interface javax.servlet.ReadListener
        +
        +
      • +
      + + + +
        +
      • +

        destroy

        +
        public void destroy()
        +
        +
        Specified by:
        +
        destroy in interface javax.servlet.http.HttpUpgradeHandler
        +
        +
      • +
      + + + +
        +
      • +

        sessionDestroyed

        +
        public void sessionDestroyed()
        +
        Called when related HttpSession is destroyed or invalidated. +

        + Implementation is required to call onClose() on server-side with corresponding close code (1008, see + WebSocket spec 7.2) - only when there is an authorized user for this session.

        +
      • +
      + + + +
        +
      • +

        toString

        +
        public java.lang.String toString()
        +
        +
        Overrides:
        +
        toString in class java.lang.Object
        +
        +
      • +
      + + + +
        +
      • +

        setIncomingBufferSize

        +
        public void setIncomingBufferSize​(int incomingBufferSize)
        +
      • +
      +
    • +
    +
    +
  • +
+
+
+
+ + + + diff --git a/apidocs/1.19/org/glassfish/tyrus/servlet/TyrusServletContainerInitializer.html b/apidocs/1.19/org/glassfish/tyrus/servlet/TyrusServletContainerInitializer.html new file mode 100644 index 00000000..933095f1 --- /dev/null +++ b/apidocs/1.19/org/glassfish/tyrus/servlet/TyrusServletContainerInitializer.html @@ -0,0 +1,329 @@ + + + + + +TyrusServletContainerInitializer (Tyrus 1.19 API) + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +

Class TyrusServletContainerInitializer

+
+
+
    +
  • java.lang.Object
  • +
  • +
      +
    • org.glassfish.tyrus.servlet.TyrusServletContainerInitializer
    • +
    +
  • +
+
+
    +
  • +
    +
    All Implemented Interfaces:
    +
    javax.servlet.ServletContainerInitializer
    +
    +
    +
    public class TyrusServletContainerInitializer
    +extends java.lang.Object
    +implements javax.servlet.ServletContainerInitializer
    +
    Registers a filter for upgrade handshake. +

    + All requests will be handled by registered filter if not specified otherwise.

    +
    +
    Author:
    +
    Jitendra Kotamraju, Pavel Bucek (pavel.bucek at oracle.com)
    +
    +
  • +
+
+
+
    +
  • + +
    + +
    + +
    +
      +
    • + + +

      Method Summary

      + + + + + + + + + + + + +
      All Methods Instance Methods Concrete Methods 
      Modifier and TypeMethodDescription
      voidonStartup​(java.util.Set<java.lang.Class<?>> classes, + javax.servlet.ServletContext ctx) 
      +
        +
      • + + +

        Methods inherited from class java.lang.Object

        +clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • +
      +
    • +
    +
    +
  • +
+
+
+
    +
  • + +
    +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        TyrusServletContainerInitializer

        +
        public TyrusServletContainerInitializer()
        +
      • +
      +
    • +
    +
    + +
    +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        onStartup

        +
        public void onStartup​(java.util.Set<java.lang.Class<?>> classes,
        +                      javax.servlet.ServletContext ctx)
        +               throws javax.servlet.ServletException
        +
        +
        Specified by:
        +
        onStartup in interface javax.servlet.ServletContainerInitializer
        +
        Throws:
        +
        javax.servlet.ServletException
        +
        +
      • +
      +
    • +
    +
    +
  • +
+
+
+
+ + + + diff --git a/apidocs/1.19/org/glassfish/tyrus/servlet/class-use/TyrusHttpUpgradeHandler.html b/apidocs/1.19/org/glassfish/tyrus/servlet/class-use/TyrusHttpUpgradeHandler.html new file mode 100644 index 00000000..3f071a33 --- /dev/null +++ b/apidocs/1.19/org/glassfish/tyrus/servlet/class-use/TyrusHttpUpgradeHandler.html @@ -0,0 +1,150 @@ + + + + + +Uses of Class org.glassfish.tyrus.servlet.TyrusHttpUpgradeHandler (Tyrus 1.19 API) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Class
org.glassfish.tyrus.servlet.TyrusHttpUpgradeHandler

+
+
No usage of org.glassfish.tyrus.servlet.TyrusHttpUpgradeHandler
+
+ + + diff --git a/apidocs/1.19/org/glassfish/tyrus/servlet/class-use/TyrusServletContainerInitializer.html b/apidocs/1.19/org/glassfish/tyrus/servlet/class-use/TyrusServletContainerInitializer.html new file mode 100644 index 00000000..6e491119 --- /dev/null +++ b/apidocs/1.19/org/glassfish/tyrus/servlet/class-use/TyrusServletContainerInitializer.html @@ -0,0 +1,150 @@ + + + + + +Uses of Class org.glassfish.tyrus.servlet.TyrusServletContainerInitializer (Tyrus 1.19 API) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Class
org.glassfish.tyrus.servlet.TyrusServletContainerInitializer

+
+
No usage of org.glassfish.tyrus.servlet.TyrusServletContainerInitializer
+
+ + + diff --git a/apidocs/1.19/org/glassfish/tyrus/servlet/package-summary.html b/apidocs/1.19/org/glassfish/tyrus/servlet/package-summary.html new file mode 100644 index 00000000..9274d97b --- /dev/null +++ b/apidocs/1.19/org/glassfish/tyrus/servlet/package-summary.html @@ -0,0 +1,181 @@ + + + + + +org.glassfish.tyrus.servlet (Tyrus 1.19 API) + + + + + + + + + + + + + + + +
+ +
+
+
+

Package org.glassfish.tyrus.servlet

+
+
+
+ + +
Servlet 3.1 integration.
+
+ +
+
+ + + diff --git a/apidocs/1.19/org/glassfish/tyrus/servlet/package-tree.html b/apidocs/1.19/org/glassfish/tyrus/servlet/package-tree.html new file mode 100644 index 00000000..942242ac --- /dev/null +++ b/apidocs/1.19/org/glassfish/tyrus/servlet/package-tree.html @@ -0,0 +1,166 @@ + + + + + +org.glassfish.tyrus.servlet Class Hierarchy (Tyrus 1.19 API) + + + + + + + + + + + + + + + +
+ +
+
+
+

Hierarchy For Package org.glassfish.tyrus.servlet

+Package Hierarchies: + +
+
+
+

Class Hierarchy

+
    +
  • java.lang.Object + +
  • +
+
+
+
+ + + diff --git a/apidocs/1.19/org/glassfish/tyrus/servlet/package-use.html b/apidocs/1.19/org/glassfish/tyrus/servlet/package-use.html new file mode 100644 index 00000000..66a2cf75 --- /dev/null +++ b/apidocs/1.19/org/glassfish/tyrus/servlet/package-use.html @@ -0,0 +1,150 @@ + + + + + +Uses of Package org.glassfish.tyrus.servlet (Tyrus 1.19 API) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Package
org.glassfish.tyrus.servlet

+
+
No usage of org.glassfish.tyrus.servlet
+
+ + + diff --git a/apidocs/1.19/org/glassfish/tyrus/spi/ClientContainer.html b/apidocs/1.19/org/glassfish/tyrus/spi/ClientContainer.html new file mode 100644 index 00000000..5409e6e1 --- /dev/null +++ b/apidocs/1.19/org/glassfish/tyrus/spi/ClientContainer.html @@ -0,0 +1,366 @@ + + + + + +ClientContainer (Tyrus 1.19 API) + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +

Interface ClientContainer

+
+
+
+
    +
  • +
    +
    All Known Implementing Classes:
    +
    GrizzlyClientContainer
    +
    +
    +
    public interface ClientContainer
    +
    Entry point for client implementation.
    +
    +
    Author:
    +
    Pavel Bucek (pavel.bucek at oracle.com)
    +
    +
  • +
+
+
+ +
+
+ +
+
+
+ + + + diff --git a/apidocs/1.19/org/glassfish/tyrus/spi/ClientEngine.ClientUpgradeInfo.html b/apidocs/1.19/org/glassfish/tyrus/spi/ClientEngine.ClientUpgradeInfo.html new file mode 100644 index 00000000..020bddb3 --- /dev/null +++ b/apidocs/1.19/org/glassfish/tyrus/spi/ClientEngine.ClientUpgradeInfo.html @@ -0,0 +1,304 @@ + + + + + +ClientEngine.ClientUpgradeInfo (Tyrus 1.19 API) + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +

Interface ClientEngine.ClientUpgradeInfo

+
+
+
+ +
+
+ +
+
+ +
+
+
+ + + + diff --git a/apidocs/1.19/org/glassfish/tyrus/spi/ClientEngine.ClientUpgradeStatus.html b/apidocs/1.19/org/glassfish/tyrus/spi/ClientEngine.ClientUpgradeStatus.html new file mode 100644 index 00000000..17cafba4 --- /dev/null +++ b/apidocs/1.19/org/glassfish/tyrus/spi/ClientEngine.ClientUpgradeStatus.html @@ -0,0 +1,417 @@ + + + + + +ClientEngine.ClientUpgradeStatus (Tyrus 1.19 API) + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +

Enum ClientEngine.ClientUpgradeStatus

+
+
+ +
+ +
+
+
    +
  • + +
    + +
    + +
    +
      +
    • + + +

      Method Summary

      + + + + + + + + + + + + + + + + + +
      All Methods Static Methods Concrete Methods 
      Modifier and TypeMethodDescription
      static ClientEngine.ClientUpgradeStatusvalueOf​(java.lang.String name) +
      Returns the enum constant of this type with the specified name.
      +
      static ClientEngine.ClientUpgradeStatus[]values() +
      Returns an array containing the constants of this enum type, in +the order they are declared.
      +
      +
        +
      • + + +

        Methods inherited from class java.lang.Enum

        +clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
      • +
      +
        +
      • + + +

        Methods inherited from class java.lang.Object

        +getClass, notify, notifyAll, wait, wait, wait
      • +
      +
    • +
    +
    +
  • +
+
+
+
    +
  • + +
    + +
    + +
    +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        values

        +
        public static ClientEngine.ClientUpgradeStatus[] values()
        +
        Returns an array containing the constants of this enum type, in +the order they are declared. This method may be used to iterate +over the constants as follows: +
        +for (ClientEngine.ClientUpgradeStatus c : ClientEngine.ClientUpgradeStatus.values())
        +    System.out.println(c);
        +
        +
        +
        Returns:
        +
        an array containing the constants of this enum type, in the order they are declared
        +
        +
      • +
      + + + +
        +
      • +

        valueOf

        +
        public static ClientEngine.ClientUpgradeStatus valueOf​(java.lang.String name)
        +
        Returns the enum constant of this type with the specified name. +The string must match exactly an identifier used to declare an +enum constant in this type. (Extraneous whitespace characters are +not permitted.)
        +
        +
        Parameters:
        +
        name - the name of the enum constant to be returned.
        +
        Returns:
        +
        the enum constant with the specified name
        +
        Throws:
        +
        java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
        +
        java.lang.NullPointerException - if the argument is null
        +
        +
      • +
      +
    • +
    +
    +
  • +
+
+
+
+ + + + diff --git a/apidocs/1.19/org/glassfish/tyrus/spi/ClientEngine.TimeoutHandler.html b/apidocs/1.19/org/glassfish/tyrus/spi/ClientEngine.TimeoutHandler.html new file mode 100644 index 00000000..4d0b5c25 --- /dev/null +++ b/apidocs/1.19/org/glassfish/tyrus/spi/ClientEngine.TimeoutHandler.html @@ -0,0 +1,261 @@ + + + + + +ClientEngine.TimeoutHandler (Tyrus 1.19 API) + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +

Interface ClientEngine.TimeoutHandler

+
+
+
+
    +
  • +
    +
    Enclosing interface:
    +
    ClientEngine
    +
    +
    +
    public static interface ClientEngine.TimeoutHandler
    +
    Indicates to container that handshake timeout was reached.
    +
  • +
+
+
+ +
+
+
    +
  • + +
    +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        handleTimeout

        +
        void handleTimeout()
        +
        Invoked when timeout is reached. Container is supposed to clean all resources related to ClientEngine + instance.
        +
      • +
      +
    • +
    +
    +
  • +
+
+
+
+ + + + diff --git a/apidocs/1.19/org/glassfish/tyrus/spi/ClientEngine.html b/apidocs/1.19/org/glassfish/tyrus/spi/ClientEngine.html new file mode 100644 index 00000000..ee3f13d5 --- /dev/null +++ b/apidocs/1.19/org/glassfish/tyrus/spi/ClientEngine.html @@ -0,0 +1,369 @@ + + + + + +ClientEngine (Tyrus 1.19 API) + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +

Interface ClientEngine

+
+
+
+
    +
  • +
    +
    All Known Implementing Classes:
    +
    TyrusClientEngine
    +
    +
    +
    public interface ClientEngine
    +
    Facade for handling client operations from containers.
    +
    +
    Author:
    +
    Pavel Bucek (pavel.bucek at oracle.com), Ondrej Kosatka (ondrej.kosatka at oracle.com)
    +
    +
  • +
+
+
+ +
+
+ +
+
+
+ + + + diff --git a/apidocs/1.19/org/glassfish/tyrus/spi/CompletionHandler.html b/apidocs/1.19/org/glassfish/tyrus/spi/CompletionHandler.html new file mode 100644 index 00000000..f4dfc73b --- /dev/null +++ b/apidocs/1.19/org/glassfish/tyrus/spi/CompletionHandler.html @@ -0,0 +1,389 @@ + + + + + +CompletionHandler (Tyrus 1.19 API) + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +

Class CompletionHandler<E>

+
+
+
    +
  • java.lang.Object
  • +
  • +
      +
    • org.glassfish.tyrus.spi.CompletionHandler<E>
    • +
    +
  • +
+
+
    +
  • +
    +
    Type Parameters:
    +
    E - result type.
    +
    +
    +
    public abstract class CompletionHandler<E>
    +extends java.lang.Object
    +
    A callback to notify about asynchronous I/O operations status updates.
    +
    +
    Author:
    +
    Alexey Stashok
    +
    +
  • +
+
+
+
    +
  • + +
    +
      +
    • + + +

      Constructor Summary

      + + + + + + + + + + +
      Constructors 
      ConstructorDescription
      CompletionHandler() 
      +
    • +
    +
    + +
    +
      +
    • + + +

      Method Summary

      + + + + + + + + + + + + + + + + + + + + + + + + + + + +
      All Methods Instance Methods Concrete Methods 
      Modifier and TypeMethodDescription
      voidcancelled() +
      The operation was cancelled.
      +
      voidcompleted​(E result) +
      The operation was completed.
      +
      voidfailed​(java.lang.Throwable throwable) +
      The operation was failed.
      +
      voidupdated​(E result) +
      The callback method may be called, when there is some progress in + operation execution, but it is still not completed.
      +
      +
        +
      • + + +

        Methods inherited from class java.lang.Object

        +clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • +
      +
    • +
    +
    +
  • +
+
+
+
    +
  • + +
    +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        CompletionHandler

        +
        public CompletionHandler()
        +
      • +
      +
    • +
    +
    + +
    +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        cancelled

        +
        public void cancelled()
        +
        The operation was cancelled.
        +
      • +
      + + + +
        +
      • +

        failed

        +
        public void failed​(java.lang.Throwable throwable)
        +
        The operation was failed.
        +
        +
        Parameters:
        +
        throwable - error, which occurred during operation execution.
        +
        +
      • +
      + + + + + +
        +
      • +

        completed

        +
        public void completed​(E result)
        +
        The operation was completed.
        +
        +
        Parameters:
        +
        result - the operation result.
        +
        +
      • +
      + + + + + +
        +
      • +

        updated

        +
        public void updated​(E result)
        +
        The callback method may be called, when there is some progress in + operation execution, but it is still not completed.
        +
        +
        Parameters:
        +
        result - the current result.
        +
        +
      • +
      +
    • +
    +
    +
  • +
+
+
+
+ + + + diff --git a/apidocs/1.19/org/glassfish/tyrus/spi/Connection.CloseListener.html b/apidocs/1.19/org/glassfish/tyrus/spi/Connection.CloseListener.html new file mode 100644 index 00000000..637b060a --- /dev/null +++ b/apidocs/1.19/org/glassfish/tyrus/spi/Connection.CloseListener.html @@ -0,0 +1,265 @@ + + + + + +Connection.CloseListener (Tyrus 1.19 API) + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +

Interface Connection.CloseListener

+
+
+
+
    +
  • +
    +
    Enclosing interface:
    +
    Connection
    +
    +
    +
    public static interface Connection.CloseListener
    +
    Transport close listener that receives connection close + notifications from Tyrus.
    +
  • +
+
+
+ +
+
+
    +
  • + +
    +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        close

        +
        void close​(CloseReason reason)
        +
        Tyrus notifies that logical connection is closed.
        +
        +
        Parameters:
        +
        reason - for closing the connection.
        +
        +
      • +
      +
    • +
    +
    +
  • +
+
+
+
+ + + + diff --git a/apidocs/1.19/org/glassfish/tyrus/spi/Connection.html b/apidocs/1.19/org/glassfish/tyrus/spi/Connection.html new file mode 100644 index 00000000..a487da8e --- /dev/null +++ b/apidocs/1.19/org/glassfish/tyrus/spi/Connection.html @@ -0,0 +1,364 @@ + + + + + +Connection (Tyrus 1.19 API) + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +

Interface Connection

+
+
+
+
    +
  • +
    +
    public interface Connection
    +
    A logical websocket connection. Tyrus creates this connection after + successful upgrade and gets data from ReadHandler and writes data + to Writer.
    +
  • +
+
+
+ +
+
+
    +
  • + +
    +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        getReadHandler

        +
        ReadHandler getReadHandler()
        +
        Returns a read handler. A transport can pass websocket data to + tyrus using the handler.
        +
        +
        Returns:
        +
        tryus read handler that handles websocket data.
        +
        +
      • +
      + + + + + + + + + + + +
        +
      • +

        close

        +
        void close​(CloseReason reason)
        +
        Notifies tyrus that underlying transport is closing the connection.
        +
        +
        Parameters:
        +
        reason - for closing the actual connection.
        +
        +
      • +
      +
    • +
    +
    +
  • +
+
+
+
+ + + + diff --git a/apidocs/1.19/org/glassfish/tyrus/spi/ReadHandler.html b/apidocs/1.19/org/glassfish/tyrus/spi/ReadHandler.html new file mode 100644 index 00000000..58242f0b --- /dev/null +++ b/apidocs/1.19/org/glassfish/tyrus/spi/ReadHandler.html @@ -0,0 +1,272 @@ + + + + + +ReadHandler (Tyrus 1.19 API) + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +

Interface ReadHandler

+
+
+
+
    +
  • +
    +
    public interface ReadHandler
    +
    Read handler provides a way for a transport to pass websocket + connection data to tyrus runtime. A transport reads websocket data for an + connection and passes the data to tyrus runtime for invoking endpoint. +

    + An implementation of this interface is created by tyrus runtime. Once a + transport completes a successful upgrade for a connection, the transport + can get hold of the handler using Connection.getReadHandler().

    +
  • +
+
+
+
    +
  • + +
    +
      +
    • + + +

      Method Summary

      + + + + + + + + + + + + +
      All Methods Instance Methods Abstract Methods 
      Modifier and TypeMethodDescription
      voidhandle​(java.nio.ByteBuffer data) +
      A transport reads websocket data and invokes this method to handover + websocket data for a connection to tyrus runtime.
      +
      +
    • +
    +
    +
  • +
+
+
+
    +
  • + +
    +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        handle

        +
        void handle​(java.nio.ByteBuffer data)
        +
        A transport reads websocket data and invokes this method to handover + websocket data for a connection to tyrus runtime. The runtime consumes + as much data as possible from the byte buffer. If there is some + remaining data in the buffer, transport needs pass those bytes in + more call (along with more data) in the same byte buffer or in a newer + byte buffer.
        +
        +
        Parameters:
        +
        data - websocket data of a connection.
        +
        +
      • +
      +
    • +
    +
    +
  • +
+
+
+
+ + + + diff --git a/apidocs/1.19/org/glassfish/tyrus/spi/ServerContainer.html b/apidocs/1.19/org/glassfish/tyrus/spi/ServerContainer.html new file mode 100644 index 00000000..d9e2fc2d --- /dev/null +++ b/apidocs/1.19/org/glassfish/tyrus/spi/ServerContainer.html @@ -0,0 +1,339 @@ + + + + + +ServerContainer (Tyrus 1.19 API) + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +

Interface ServerContainer

+
+
+
+ +
+
+ +
+
+
    +
  • + +
    +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        start

        +
        void start​(java.lang.String rootPath,
        +           int port)
        +    throws java.io.IOException,
        +           DeploymentException
        +
        Start the server. +

        + Creates a new embedded HTTP server (if supported) listening to incoming connections at a given root path + and port.

        +
        +
        Parameters:
        +
        rootPath - context root
        +
        port - TCP port
        +
        Throws:
        +
        java.io.IOException - if something goes wrong.
        +
        DeploymentException - when there is any issue with endpoints or other, non-specific + issues.
        +
        +
      • +
      + + + +
        +
      • +

        stop

        +
        void stop()
        +
        Stop the server.
        +
      • +
      + + + +
        +
      • +

        getWebSocketEngine

        +
        WebSocketEngine getWebSocketEngine()
        +
        Return WebSocketEngine to upgrade requests and setting up the connection.
        +
        +
        Returns:
        +
        websocket engine
        +
        +
      • +
      +
    • +
    +
    +
  • +
+
+
+
+ + + + diff --git a/apidocs/1.19/org/glassfish/tyrus/spi/ServerContainerFactory.html b/apidocs/1.19/org/glassfish/tyrus/spi/ServerContainerFactory.html new file mode 100644 index 00000000..dadd66bc --- /dev/null +++ b/apidocs/1.19/org/glassfish/tyrus/spi/ServerContainerFactory.html @@ -0,0 +1,368 @@ + + + + + +ServerContainerFactory (Tyrus 1.19 API) + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +

Class ServerContainerFactory

+
+
+
    +
  • java.lang.Object
  • +
  • +
      +
    • org.glassfish.tyrus.spi.ServerContainerFactory
    • +
    +
  • +
+
+
    +
  • +
    +
    Direct Known Subclasses:
    +
    GrizzlyServerContainer
    +
    +
    +
    public abstract class ServerContainerFactory
    +extends java.lang.Object
    +
    Factory used to get instances of ServerContainer.
    +
  • +
+
+
+ +
+
+
    +
  • + +
    +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        ServerContainerFactory

        +
        public ServerContainerFactory()
        +
      • +
      +
    • +
    +
    + +
    +
      +
    • + + +

      Method Detail

      + + + + + + + +
        +
      • +

        createServerContainer

        +
        public static ServerContainer createServerContainer​(java.util.Map<java.lang.String,​java.lang.Object> properties)
        +
        Create new ServerContainer with configuration.
        +
        +
        Parameters:
        +
        properties - configuration passed to created server container.
        +
        Returns:
        +
        new ServerContainer.
        +
        +
      • +
      + + + +
        +
      • +

        createContainer

        +
        public abstract ServerContainer createContainer​(java.util.Map<java.lang.String,​java.lang.Object> properties)
        +
        Create container delegate method. +

        + Has to be implemented by ServerContainerFactory implementations.

        +
        +
        Parameters:
        +
        properties - configuration passed to created server container.
        +
        Returns:
        +
        new ServerContainer.
        +
        +
      • +
      +
    • +
    +
    +
  • +
+
+
+
+ + + + diff --git a/apidocs/1.19/org/glassfish/tyrus/spi/UpgradeRequest.html b/apidocs/1.19/org/glassfish/tyrus/spi/UpgradeRequest.html new file mode 100644 index 00000000..d52f87d4 --- /dev/null +++ b/apidocs/1.19/org/glassfish/tyrus/spi/UpgradeRequest.html @@ -0,0 +1,690 @@ + + + + + +UpgradeRequest (Tyrus 1.19 API) + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +

Class UpgradeRequest

+
+
+
    +
  • java.lang.Object
  • +
  • +
      +
    • org.glassfish.tyrus.spi.UpgradeRequest
    • +
    +
  • +
+
+ +
+
+
    +
  • + +
    +
      +
    • + + +

      Field Summary

      + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
      Fields 
      Modifier and TypeFieldDescription
      static java.lang.StringAUTHORIZATION +
      HTTP "Authorization" header name.
      +
      static java.lang.StringCLUSTER_CONNECTION_ID_HEADER +
      Tyrus cluster connection ID header name.
      +
      static java.lang.StringCONNECTION +
      HTTP "Connection" header name.
      +
      static java.lang.StringENABLE_TRACING_HEADER +
      If this header is present in the handshake request and the tracing type is configured to "ON_DEMAND", tracing + headers will be sent in the handshake response.
      +
      static java.lang.StringHOST +
      HTTP "Host" header name.
      +
      static java.lang.StringORIGIN_HEADER +
      HTTP "Origin" header name.
      +
      static java.lang.StringRESPONSE_CODE_MESSAGE +
      HTTP reason phrase for successful handshake response.
      +
      static java.lang.StringSEC_WS_ORIGIN_HEADER +
      WebSocket origin header name from previous versions.
      +
      static java.lang.StringSERVER_KEY_HASH +
      Server key hash used to compute "Sec-WebSocket-Accept" header value.
      +
      static java.lang.StringTRACING_THRESHOLD +
      This header allows temporarily changing tracing threshold.
      +
      static java.lang.StringUPGRADE +
      HTTP "Upgrade" header name and "Connection" header expected value.
      +
      static java.lang.StringWEBSOCKET +
      Expected value in HTTP handshake "Upgrade" header.
      +
      + +
    • +
    +
    + +
    +
      +
    • + + +

      Constructor Summary

      + + + + + + + + + + +
      Constructors 
      ConstructorDescription
      UpgradeRequest() 
      +
    • +
    +
    + +
    + +
    +
  • +
+
+
+
    +
  • + +
    +
      +
    • + + +

      Field Detail

      + + + +
        +
      • +

        WEBSOCKET

        +
        public static final java.lang.String WEBSOCKET
        +
        Expected value in HTTP handshake "Upgrade" header. +

        + (Registered in RFC 6455).

        +
        +
        See Also:
        +
        Constant Field Values
        +
        +
      • +
      + + + +
        +
      • +

        RESPONSE_CODE_MESSAGE

        +
        public static final java.lang.String RESPONSE_CODE_MESSAGE
        +
        HTTP reason phrase for successful handshake response.
        +
        +
        See Also:
        +
        Constant Field Values
        +
        +
      • +
      + + + +
        +
      • +

        UPGRADE

        +
        public static final java.lang.String UPGRADE
        +
        HTTP "Upgrade" header name and "Connection" header expected value.
        +
        +
        See Also:
        +
        Constant Field Values
        +
        +
      • +
      + + + +
        +
      • +

        CONNECTION

        +
        public static final java.lang.String CONNECTION
        +
        HTTP "Connection" header name.
        +
        +
        See Also:
        +
        Constant Field Values
        +
        +
      • +
      + + + +
        +
      • +

        HOST

        +
        public static final java.lang.String HOST
        +
        HTTP "Host" header name.
        +
        +
        See Also:
        +
        Constant Field Values
        +
        +
      • +
      + + + +
        +
      • +

        SEC_WS_ORIGIN_HEADER

        +
        public static final java.lang.String SEC_WS_ORIGIN_HEADER
        +
        WebSocket origin header name from previous versions. +

        + Keeping here only for backwards compatibility, not used anymore.

        +
        +
        See Also:
        +
        Constant Field Values
        +
        +
      • +
      + + + +
        +
      • +

        ORIGIN_HEADER

        +
        public static final java.lang.String ORIGIN_HEADER
        +
        HTTP "Origin" header name.
        +
        +
        See Also:
        +
        Constant Field Values
        +
        +
      • +
      + + + +
        +
      • +

        CLUSTER_CONNECTION_ID_HEADER

        +
        public static final java.lang.String CLUSTER_CONNECTION_ID_HEADER
        +
        Tyrus cluster connection ID header name.
        +
        +
        See Also:
        +
        Constant Field Values
        +
        +
      • +
      + + + +
        +
      • +

        SERVER_KEY_HASH

        +
        public static final java.lang.String SERVER_KEY_HASH
        +
        Server key hash used to compute "Sec-WebSocket-Accept" header value. +

        + Defined in RFC 6455.

        +
        +
        See Also:
        +
        Constant Field Values
        +
        +
      • +
      + + + +
        +
      • +

        AUTHORIZATION

        +
        public static final java.lang.String AUTHORIZATION
        +
        HTTP "Authorization" header name.
        +
        +
        See Also:
        +
        Constant Field Values
        +
        +
      • +
      + + + +
        +
      • +

        ENABLE_TRACING_HEADER

        +
        public static final java.lang.String ENABLE_TRACING_HEADER
        +
        If this header is present in the handshake request and the tracing type is configured to "ON_DEMAND", tracing + headers will be sent in the handshake response. The value of the header is no taken into account. +

        + Setting this header does not have any effect if the tracing type is configured to "ALL" or "OFF".

        +
        +
        See Also:
        +
        Constant Field Values
        +
        +
      • +
      + + + +
        +
      • +

        TRACING_THRESHOLD

        +
        public static final java.lang.String TRACING_THRESHOLD
        +
        This header allows temporarily changing tracing threshold. If present in the handshake request, the tracing + threshold will be changed for the handshake the request is part of. +

        + The expected values are "SUMMARY" or "TRACE", of which "TRACE" will provide more fine-grained information.

        +
        +
        See Also:
        +
        Constant Field Values
        +
        +
      • +
      +
    • +
    +
    + +
    +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        UpgradeRequest

        +
        public UpgradeRequest()
        +
      • +
      +
    • +
    +
    + +
    +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        getHeader

        +
        public abstract java.lang.String getHeader​(java.lang.String name)
        +
        Returns the value of the specified request header name. If there are + multiple headers with the same name, this method returns the first + header in the request. The header name is case insensitive.
        +
        +
        Parameters:
        +
        name - a header name.
        +
        Returns:
        +
        value of the specified header name, + null if the request doesn't have a header of that name.
        +
        +
      • +
      + + + +
        +
      • +

        getRequestUri

        +
        public abstract java.lang.String getRequestUri()
        +
        Get the undecoded request uri (up to the query string) of underlying + HTTP handshake request.
        +
        +
        Returns:
        +
        request uri.
        +
        +
      • +
      + + + +
        +
      • +

        isSecure

        +
        public abstract boolean isSecure()
        +
        Indicates whether this request was made using a secure channel + (such as HTTPS).
        +
        +
        Returns:
        +
        true if the request was made using secure channel, + false otherwise.
        +
        +
      • +
      +
    • +
    +
    +
  • +
+
+
+
+ + + + diff --git a/apidocs/1.19/org/glassfish/tyrus/spi/UpgradeResponse.html b/apidocs/1.19/org/glassfish/tyrus/spi/UpgradeResponse.html new file mode 100644 index 00000000..1a3258c9 --- /dev/null +++ b/apidocs/1.19/org/glassfish/tyrus/spi/UpgradeResponse.html @@ -0,0 +1,532 @@ + + + + + +UpgradeResponse (Tyrus 1.19 API) + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +

Class UpgradeResponse

+
+
+
    +
  • java.lang.Object
  • +
  • +
      +
    • org.glassfish.tyrus.spi.UpgradeResponse
    • +
    +
  • +
+
+ +
+
+
    +
  • + +
    +
      +
    • + + +

      Field Summary

      + + + + + + + + + + + + + + + + + + + + + + + + + + + +
      Fields 
      Modifier and TypeFieldDescription
      static java.lang.StringLOCATION +
      Header containing a new URI when getStatus() .
      +
      static java.lang.StringRETRY_AFTER +
      Header containing delay or date in which client can try to reconnect to the server.
      +
      static java.lang.StringTRACING_HEADER_PREFIX +
      Prefix of headers used for including tracing information into handshake response.
      +
      static java.lang.StringWWW_AUTHENTICATE +
      Header containing challenge with authentication scheme and parameters.
      +
      + +
    • +
    +
    + +
    +
      +
    • + + +

      Constructor Summary

      + + + + + + + + + + +
      Constructors 
      ConstructorDescription
      UpgradeResponse() 
      +
    • +
    +
    + +
    +
      +
    • + + +

      Method Summary

      + + + + + + + + + + + + + + + + + + + + + + + + + + + +
      All Methods Instance Methods Abstract Methods Concrete Methods 
      Modifier and TypeMethodDescription
      java.lang.StringgetFirstHeaderValue​(java.lang.String name) +
      Gets the value of the response header with the given name.
      +
      abstract intgetStatus() +
      Get the current HTTP status code of this response.
      +
      abstract voidsetReasonPhrase​(java.lang.String reason) +
      Get HTTP reason phrase.
      +
      abstract voidsetStatus​(int status) +
      Set HTTP status code for this response.
      +
      +
        +
      • + + +

        Methods inherited from class java.lang.Object

        +clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • +
      + +
    • +
    +
    +
  • +
+
+
+
    +
  • + +
    +
      +
    • + + +

      Field Detail

      + + + +
        +
      • +

        WWW_AUTHENTICATE

        +
        public static final java.lang.String WWW_AUTHENTICATE
        +
        Header containing challenge with authentication scheme and parameters.
        +
        +
        See Also:
        +
        Constant Field Values
        +
        +
      • +
      + + + + + + + +
        +
      • +

        RETRY_AFTER

        +
        public static final java.lang.String RETRY_AFTER
        +
        Header containing delay or date in which client can try to reconnect to the server.
        +
        +
        See Also:
        +
        Constant Field Values
        +
        +
      • +
      + + + +
        +
      • +

        TRACING_HEADER_PREFIX

        +
        public static final java.lang.String TRACING_HEADER_PREFIX
        +
        Prefix of headers used for including tracing information into handshake response.
        +
        +
        See Also:
        +
        Constant Field Values
        +
        +
      • +
      +
    • +
    +
    + +
    +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        UpgradeResponse

        +
        public UpgradeResponse()
        +
      • +
      +
    • +
    +
    + +
    +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        getStatus

        +
        public abstract int getStatus()
        +
        Get the current HTTP status code of this response.
        +
        +
        Returns:
        +
        the current HTTP status code.
        +
        +
      • +
      + + + +
        +
      • +

        setStatus

        +
        public abstract void setStatus​(int status)
        +
        Set HTTP status code for this response.
        +
        +
        Parameters:
        +
        status - HTTP status code for this response.
        +
        +
      • +
      + + + +
        +
      • +

        setReasonPhrase

        +
        public abstract void setReasonPhrase​(java.lang.String reason)
        +
        Get HTTP reason phrase. +

        + TODO remove ?? we are using only for "Switching Protocols" and that is + TODO standard status code 101

        +
        +
        Parameters:
        +
        reason - reason phrase to be set.
        +
        +
      • +
      + + + +
        +
      • +

        getFirstHeaderValue

        +
        public final java.lang.String getFirstHeaderValue​(java.lang.String name)
        +
        Gets the value of the response header with the given name. +

        + If a response header with the given name exists and contains + multiple values, the value that was added first will be returned.

        +
        +
        Parameters:
        +
        name - header name.
        +
        Returns:
        +
        the value of the response header with the given name, + null if no header with the given name has been set + on this response. + TODO rename to getHeader(String name) ?? similar to + TODO HttpServletResponse#getHeader(String)
        +
        +
      • +
      +
    • +
    +
    +
  • +
+
+
+
+ + + + diff --git a/apidocs/1.19/org/glassfish/tyrus/spi/WebSocketEngine.UpgradeInfo.html b/apidocs/1.19/org/glassfish/tyrus/spi/WebSocketEngine.UpgradeInfo.html new file mode 100644 index 00000000..8ad81863 --- /dev/null +++ b/apidocs/1.19/org/glassfish/tyrus/spi/WebSocketEngine.UpgradeInfo.html @@ -0,0 +1,291 @@ + + + + + +WebSocketEngine.UpgradeInfo (Tyrus 1.19 API) + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +

Interface WebSocketEngine.UpgradeInfo

+
+
+
+
    +
  • +
    +
    Enclosing interface:
    +
    WebSocketEngine
    +
    +
    +
    public static interface WebSocketEngine.UpgradeInfo
    +
    Upgrade info that includes status for HTTP request upgrading and connection creation details.
    +
  • +
+
+
+ +
+
+
    +
  • + +
    +
      +
    • + + +

      Method Detail

      + + + + + + + +
        +
      • +

        createConnection

        +
        Connection createConnection​(Writer writer,
        +                            Connection.CloseListener closeListener)
        +
        Creates a connection if the upgrade is successful. Tyrus would call onConnect lifecycle method on the + endpoint during the invocation of this method.
        +
        +
        Parameters:
        +
        writer - transport writer that actually writes tyrus websocket data to underlying connection.
        +
        closeListener - transport listener for receiving tyrus close notifications.
        +
        Returns:
        +
        upgraded connection if the upgrade is successful otherwise null.
        +
        +
      • +
      +
    • +
    +
    +
  • +
+
+
+
+ + + + diff --git a/apidocs/1.19/org/glassfish/tyrus/spi/WebSocketEngine.UpgradeStatus.html b/apidocs/1.19/org/glassfish/tyrus/spi/WebSocketEngine.UpgradeStatus.html new file mode 100644 index 00000000..1741e043 --- /dev/null +++ b/apidocs/1.19/org/glassfish/tyrus/spi/WebSocketEngine.UpgradeStatus.html @@ -0,0 +1,409 @@ + + + + + +WebSocketEngine.UpgradeStatus (Tyrus 1.19 API) + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +

Enum WebSocketEngine.UpgradeStatus

+
+
+ +
+ +
+
+
    +
  • + +
    +
      +
    • + + +

      Enum Constant Summary

      + + + + + + + + + + + + + + + + + + +
      Enum Constants 
      Enum ConstantDescription
      HANDSHAKE_FAILED +
      Upgrade failed due to version, extensions, origin check etc.
      +
      NOT_APPLICABLE +
      Not a WebSocketRequest or no mapping in the application.
      +
      SUCCESS +
      Upgrade is successful.
      +
      +
    • +
    +
    + +
    +
      +
    • + + +

      Method Summary

      + + + + + + + + + + + + + + + + + +
      All Methods Static Methods Concrete Methods 
      Modifier and TypeMethodDescription
      static WebSocketEngine.UpgradeStatusvalueOf​(java.lang.String name) +
      Returns the enum constant of this type with the specified name.
      +
      static WebSocketEngine.UpgradeStatus[]values() +
      Returns an array containing the constants of this enum type, in +the order they are declared.
      +
      +
        +
      • + + +

        Methods inherited from class java.lang.Enum

        +clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
      • +
      +
        +
      • + + +

        Methods inherited from class java.lang.Object

        +getClass, notify, notifyAll, wait, wait, wait
      • +
      +
    • +
    +
    +
  • +
+
+
+
    +
  • + +
    +
      +
    • + + +

      Enum Constant Detail

      + + + +
        +
      • +

        NOT_APPLICABLE

        +
        public static final WebSocketEngine.UpgradeStatus NOT_APPLICABLE
        +
        Not a WebSocketRequest or no mapping in the application. This may mean that HTTP request processing should + continue (in servlet container, the next filter may be called).
        +
      • +
      + + + +
        +
      • +

        HANDSHAKE_FAILED

        +
        public static final WebSocketEngine.UpgradeStatus HANDSHAKE_FAILED
        +
        Upgrade failed due to version, extensions, origin check etc. Tyrus would set an appropriate HTTP error status + code in UpgradeResponse.
        +
      • +
      + + + + +
    • +
    +
    + +
    +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        values

        +
        public static WebSocketEngine.UpgradeStatus[] values()
        +
        Returns an array containing the constants of this enum type, in +the order they are declared. This method may be used to iterate +over the constants as follows: +
        +for (WebSocketEngine.UpgradeStatus c : WebSocketEngine.UpgradeStatus.values())
        +    System.out.println(c);
        +
        +
        +
        Returns:
        +
        an array containing the constants of this enum type, in the order they are declared
        +
        +
      • +
      + + + +
        +
      • +

        valueOf

        +
        public static WebSocketEngine.UpgradeStatus valueOf​(java.lang.String name)
        +
        Returns the enum constant of this type with the specified name. +The string must match exactly an identifier used to declare an +enum constant in this type. (Extraneous whitespace characters are +not permitted.)
        +
        +
        Parameters:
        +
        name - the name of the enum constant to be returned.
        +
        Returns:
        +
        the enum constant with the specified name
        +
        Throws:
        +
        java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
        +
        java.lang.NullPointerException - if the argument is null
        +
        +
      • +
      +
    • +
    +
    +
  • +
+
+
+
+ + + + diff --git a/apidocs/1.19/org/glassfish/tyrus/spi/WebSocketEngine.html b/apidocs/1.19/org/glassfish/tyrus/spi/WebSocketEngine.html new file mode 100644 index 00000000..d7194868 --- /dev/null +++ b/apidocs/1.19/org/glassfish/tyrus/spi/WebSocketEngine.html @@ -0,0 +1,360 @@ + + + + + +WebSocketEngine (Tyrus 1.19 API) + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +

Interface WebSocketEngine

+
+
+
+
    +
  • +
    +
    All Known Implementing Classes:
    +
    TyrusWebSocketEngine
    +
    +
    +
    public interface WebSocketEngine
    +
    WebSocket engine is used for upgrading HTTP requests into websocket connections. A transport gets hold of the engine + from the ServerContainer and upgrades HTTP handshake requests.
    +
    +
    Author:
    +
    Pavel Bucek (pavel.bucek at oracle.com)
    +
    +
  • +
+
+
+ +
+
+
    +
  • + +
    +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        upgrade

        +
        WebSocketEngine.UpgradeInfo upgrade​(UpgradeRequest request,
        +                                    UpgradeResponse response)
        +
        A transport calls this method to upgrade a HTTP request.
        +
        +
        Parameters:
        +
        request - request to be upgraded.
        +
        response - response to the upgrade request.
        +
        Returns:
        +
        info about upgrade status and connection details.
        +
        +
      • +
      + + + +
        +
      • +

        register

        +
        void register​(java.lang.Class<?> endpointClass,
        +              java.lang.String contextPath)
        +       throws DeploymentException
        +
        Register endpoint class.
        +
        +
        Parameters:
        +
        endpointClass - endpoint class to be registered.
        +
        contextPath - context path of the registered endpoint.
        +
        Throws:
        +
        DeploymentException - when the endpoint is invalid.
        +
        +
      • +
      + + + + +
    • +
    +
    +
  • +
+
+
+
+ + + + diff --git a/apidocs/1.19/org/glassfish/tyrus/spi/Writer.html b/apidocs/1.19/org/glassfish/tyrus/spi/Writer.html new file mode 100644 index 00000000..c9905c67 --- /dev/null +++ b/apidocs/1.19/org/glassfish/tyrus/spi/Writer.html @@ -0,0 +1,388 @@ + + + + + +Writer (Tyrus 1.19 API) + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +

Class Writer

+
+
+
    +
  • java.lang.Object
  • +
  • +
      +
    • org.glassfish.tyrus.spi.Writer
    • +
    +
  • +
+
+ +
+
+
    +
  • + +
    +
      +
    • + + +

      Constructor Summary

      + + + + + + + + + + +
      Constructors 
      ConstructorDescription
      Writer() 
      +
    • +
    +
    + +
    +
      +
    • + + +

      Method Summary

      + + + + + + + + + + + + + + + + + +
      All Methods Instance Methods Abstract Methods Concrete Methods 
      Modifier and TypeMethodDescription
      abstract voidwrite​(java.nio.ByteBuffer buffer, + CompletionHandler<java.nio.ByteBuffer> completionHandler) +
      + A backward compatible method called from write(ByteBuffer, CompletionHandler, WriterInfo) + to handover the data for a connection + to the transport.
      +
      voidwrite​(java.nio.ByteBuffer buffer, + CompletionHandler<java.nio.ByteBuffer> completionHandler, + WriterInfo writerInfo) +
      Tyrus runtime calls this method to handover the data for a connection + to the transport.
      +
      +
        +
      • + + +

        Methods inherited from class java.lang.Object

        +clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • +
      +
        +
      • + + +

        Methods inherited from interface java.io.Closeable

        +close
      • +
      +
    • +
    +
    +
  • +
+
+
+
    +
  • + +
    +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        Writer

        +
        public Writer()
        +
      • +
      +
    • +
    +
    + +
    +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        write

        +
        public abstract void write​(java.nio.ByteBuffer buffer,
        +                           CompletionHandler<java.nio.ByteBuffer> completionHandler)
        +

        + A backward compatible method called from write(ByteBuffer, CompletionHandler, WriterInfo) + to handover the data for a connection + to the transport. The transport writes bytes to underlying connection. + Tyrus runtime must not use the buffer until the write is completed. +

        +

        + The method will be removed in the next major version. +

        +
        +
        Parameters:
        +
        buffer - bytes to write.
        +
        completionHandler - completion handler to know the write status.
        +
        +
      • +
      + + + +
        +
      • +

        write

        +
        public void write​(java.nio.ByteBuffer buffer,
        +                  CompletionHandler<java.nio.ByteBuffer> completionHandler,
        +                  WriterInfo writerInfo)
        +
        Tyrus runtime calls this method to handover the data for a connection + to the transport. The transport writes bytes to underlying connection. + Tyrus runtime must not use the buffer until the write is completed.
        +
        +
        Parameters:
        +
        buffer - bytes to write.
        +
        completionHandler - completion handler to know the write status.
        +
        writerInfo - additional information about the data to be written.
        +
        Since:
        +
        1.17
        +
        +
      • +
      +
    • +
    +
    +
  • +
+
+
+
+ + + + diff --git a/apidocs/1.19/org/glassfish/tyrus/spi/WriterInfo.MessageType.html b/apidocs/1.19/org/glassfish/tyrus/spi/WriterInfo.MessageType.html new file mode 100644 index 00000000..21887300 --- /dev/null +++ b/apidocs/1.19/org/glassfish/tyrus/spi/WriterInfo.MessageType.html @@ -0,0 +1,487 @@ + + + + + +WriterInfo.MessageType (Tyrus 1.19 API) + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +

Enum WriterInfo.MessageType

+
+
+
    +
  • java.lang.Object
  • +
  • + +
  • +
+
+ +
+
+
    +
  • + +
    +
      +
    • + + +

      Enum Constant Summary

      + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
      Enum Constants 
      Enum ConstantDescription
      BINARY +
      Binary type.
      +
      BINARY_CONTINUATION +
      Continuation binary type.
      +
      CLOSE +
      Close type.
      +
      OBJECT +
      Object type.
      +
      PING +
      Ping type.
      +
      PONG +
      Pong type.
      +
      TEXT +
      Text type.
      +
      TEXT_CONTINUATION +
      Continuation text type.
      +
      +
    • +
    +
    + +
    +
      +
    • + + +

      Method Summary

      + + + + + + + + + + + + + + + + + +
      All Methods Static Methods Concrete Methods 
      Modifier and TypeMethodDescription
      static WriterInfo.MessageTypevalueOf​(java.lang.String name) +
      Returns the enum constant of this type with the specified name.
      +
      static WriterInfo.MessageType[]values() +
      Returns an array containing the constants of this enum type, in +the order they are declared.
      +
      +
        +
      • + + +

        Methods inherited from class java.lang.Enum

        +clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
      • +
      +
        +
      • + + +

        Methods inherited from class java.lang.Object

        +getClass, notify, notifyAll, wait, wait, wait
      • +
      +
    • +
    +
    +
  • +
+
+
+
    +
  • + +
    + +
    + +
    +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        values

        +
        public static WriterInfo.MessageType[] values()
        +
        Returns an array containing the constants of this enum type, in +the order they are declared. This method may be used to iterate +over the constants as follows: +
        +for (WriterInfo.MessageType c : WriterInfo.MessageType.values())
        +    System.out.println(c);
        +
        +
        +
        Returns:
        +
        an array containing the constants of this enum type, in the order they are declared
        +
        +
      • +
      + + + +
        +
      • +

        valueOf

        +
        public static WriterInfo.MessageType valueOf​(java.lang.String name)
        +
        Returns the enum constant of this type with the specified name. +The string must match exactly an identifier used to declare an +enum constant in this type. (Extraneous whitespace characters are +not permitted.)
        +
        +
        Parameters:
        +
        name - the name of the enum constant to be returned.
        +
        Returns:
        +
        the enum constant with the specified name
        +
        Throws:
        +
        java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
        +
        java.lang.NullPointerException - if the argument is null
        +
        +
      • +
      +
    • +
    +
    +
  • +
+
+
+
+ + + + diff --git a/apidocs/1.19/org/glassfish/tyrus/spi/WriterInfo.RemoteEndpointType.html b/apidocs/1.19/org/glassfish/tyrus/spi/WriterInfo.RemoteEndpointType.html new file mode 100644 index 00000000..4938a265 --- /dev/null +++ b/apidocs/1.19/org/glassfish/tyrus/spi/WriterInfo.RemoteEndpointType.html @@ -0,0 +1,422 @@ + + + + + +WriterInfo.RemoteEndpointType (Tyrus 1.19 API) + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +

Enum WriterInfo.RemoteEndpointType

+
+
+ +
+ +
+
+
    +
  • + +
    +
      +
    • + + +

      Enum Constant Summary

      + + + + + + + + + + + + + + + + + + + + + + +
      Enum Constants 
      Enum ConstantDescription
      ASYNC +
      RemoteEndpoint.Async
      +
      BASIC +
      RemoteEndpoint.Basic
      +
      BROADCAST +
      Broadcast
      +
      SUPER +
      RemoteEndpoint
      +
      +
    • +
    +
    + +
    +
      +
    • + + +

      Method Summary

      + + + + + + + + + + + + + + + + + +
      All Methods Static Methods Concrete Methods 
      Modifier and TypeMethodDescription
      static WriterInfo.RemoteEndpointTypevalueOf​(java.lang.String name) +
      Returns the enum constant of this type with the specified name.
      +
      static WriterInfo.RemoteEndpointType[]values() +
      Returns an array containing the constants of this enum type, in +the order they are declared.
      +
      +
        +
      • + + +

        Methods inherited from class java.lang.Enum

        +clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
      • +
      +
        +
      • + + +

        Methods inherited from class java.lang.Object

        +getClass, notify, notifyAll, wait, wait, wait
      • +
      +
    • +
    +
    +
  • +
+
+
+
    +
  • + +
    + +
    + +
    +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        values

        +
        public static WriterInfo.RemoteEndpointType[] values()
        +
        Returns an array containing the constants of this enum type, in +the order they are declared. This method may be used to iterate +over the constants as follows: +
        +for (WriterInfo.RemoteEndpointType c : WriterInfo.RemoteEndpointType.values())
        +    System.out.println(c);
        +
        +
        +
        Returns:
        +
        an array containing the constants of this enum type, in the order they are declared
        +
        +
      • +
      + + + +
        +
      • +

        valueOf

        +
        public static WriterInfo.RemoteEndpointType valueOf​(java.lang.String name)
        +
        Returns the enum constant of this type with the specified name. +The string must match exactly an identifier used to declare an +enum constant in this type. (Extraneous whitespace characters are +not permitted.)
        +
        +
        Parameters:
        +
        name - the name of the enum constant to be returned.
        +
        Returns:
        +
        the enum constant with the specified name
        +
        Throws:
        +
        java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
        +
        java.lang.NullPointerException - if the argument is null
        +
        +
      • +
      +
    • +
    +
    +
  • +
+
+
+
+ + + + diff --git a/apidocs/1.19/org/glassfish/tyrus/spi/WriterInfo.html b/apidocs/1.19/org/glassfish/tyrus/spi/WriterInfo.html new file mode 100644 index 00000000..d7e5d619 --- /dev/null +++ b/apidocs/1.19/org/glassfish/tyrus/spi/WriterInfo.html @@ -0,0 +1,367 @@ + + + + + +WriterInfo (Tyrus 1.19 API) + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +

Class WriterInfo

+
+
+
    +
  • java.lang.Object
  • +
  • +
      +
    • org.glassfish.tyrus.spi.WriterInfo
    • +
    +
  • +
+
+
    +
  • +
    +
    public final class WriterInfo
    +extends java.lang.Object
    +
    Additional data for the transport.
    +
    +
    Since:
    +
    1.17
    +
    +
  • +
+
+
+ +
+
+ +
+
+
+ + + + diff --git a/apidocs/1.19/org/glassfish/tyrus/spi/class-use/ClientContainer.html b/apidocs/1.19/org/glassfish/tyrus/spi/class-use/ClientContainer.html new file mode 100644 index 00000000..14e66faa --- /dev/null +++ b/apidocs/1.19/org/glassfish/tyrus/spi/class-use/ClientContainer.html @@ -0,0 +1,196 @@ + + + + + +Uses of Interface org.glassfish.tyrus.spi.ClientContainer (Tyrus 1.19 API) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Interface
org.glassfish.tyrus.spi.ClientContainer

+
+
+ +
+
+ + + diff --git a/apidocs/1.19/org/glassfish/tyrus/spi/class-use/ClientEngine.ClientUpgradeInfo.html b/apidocs/1.19/org/glassfish/tyrus/spi/class-use/ClientEngine.ClientUpgradeInfo.html new file mode 100644 index 00000000..09f20d0f --- /dev/null +++ b/apidocs/1.19/org/glassfish/tyrus/spi/class-use/ClientEngine.ClientUpgradeInfo.html @@ -0,0 +1,230 @@ + + + + + +Uses of Interface org.glassfish.tyrus.spi.ClientEngine.ClientUpgradeInfo (Tyrus 1.19 API) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Interface
org.glassfish.tyrus.spi.ClientEngine.ClientUpgradeInfo

+
+
+ +
+
+ + + diff --git a/apidocs/1.19/org/glassfish/tyrus/spi/class-use/ClientEngine.ClientUpgradeStatus.html b/apidocs/1.19/org/glassfish/tyrus/spi/class-use/ClientEngine.ClientUpgradeStatus.html new file mode 100644 index 00000000..7378c0fd --- /dev/null +++ b/apidocs/1.19/org/glassfish/tyrus/spi/class-use/ClientEngine.ClientUpgradeStatus.html @@ -0,0 +1,213 @@ + + + + + +Uses of Class org.glassfish.tyrus.spi.ClientEngine.ClientUpgradeStatus (Tyrus 1.19 API) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Class
org.glassfish.tyrus.spi.ClientEngine.ClientUpgradeStatus

+
+
+ +
+
+ + + diff --git a/apidocs/1.19/org/glassfish/tyrus/spi/class-use/ClientEngine.TimeoutHandler.html b/apidocs/1.19/org/glassfish/tyrus/spi/class-use/ClientEngine.TimeoutHandler.html new file mode 100644 index 00000000..7ed3b2cc --- /dev/null +++ b/apidocs/1.19/org/glassfish/tyrus/spi/class-use/ClientEngine.TimeoutHandler.html @@ -0,0 +1,243 @@ + + + + + +Uses of Interface org.glassfish.tyrus.spi.ClientEngine.TimeoutHandler (Tyrus 1.19 API) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Interface
org.glassfish.tyrus.spi.ClientEngine.TimeoutHandler

+
+
+ +
+
+ + + diff --git a/apidocs/1.19/org/glassfish/tyrus/spi/class-use/ClientEngine.html b/apidocs/1.19/org/glassfish/tyrus/spi/class-use/ClientEngine.html new file mode 100644 index 00000000..5008d840 --- /dev/null +++ b/apidocs/1.19/org/glassfish/tyrus/spi/class-use/ClientEngine.html @@ -0,0 +1,260 @@ + + + + + +Uses of Interface org.glassfish.tyrus.spi.ClientEngine (Tyrus 1.19 API) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Interface
org.glassfish.tyrus.spi.ClientEngine

+
+
+ +
+
+ + + diff --git a/apidocs/1.19/org/glassfish/tyrus/spi/class-use/CompletionHandler.html b/apidocs/1.19/org/glassfish/tyrus/spi/class-use/CompletionHandler.html new file mode 100644 index 00000000..4694282c --- /dev/null +++ b/apidocs/1.19/org/glassfish/tyrus/spi/class-use/CompletionHandler.html @@ -0,0 +1,241 @@ + + + + + +Uses of Class org.glassfish.tyrus.spi.CompletionHandler (Tyrus 1.19 API) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Class
org.glassfish.tyrus.spi.CompletionHandler

+
+
+ +
+
+ + + diff --git a/apidocs/1.19/org/glassfish/tyrus/spi/class-use/Connection.CloseListener.html b/apidocs/1.19/org/glassfish/tyrus/spi/class-use/Connection.CloseListener.html new file mode 100644 index 00000000..38daaec4 --- /dev/null +++ b/apidocs/1.19/org/glassfish/tyrus/spi/class-use/Connection.CloseListener.html @@ -0,0 +1,256 @@ + + + + + +Uses of Interface org.glassfish.tyrus.spi.Connection.CloseListener (Tyrus 1.19 API) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Interface
org.glassfish.tyrus.spi.Connection.CloseListener

+
+
+ +
+
+ + + diff --git a/apidocs/1.19/org/glassfish/tyrus/spi/class-use/Connection.html b/apidocs/1.19/org/glassfish/tyrus/spi/class-use/Connection.html new file mode 100644 index 00000000..23f09eb5 --- /dev/null +++ b/apidocs/1.19/org/glassfish/tyrus/spi/class-use/Connection.html @@ -0,0 +1,206 @@ + + + + + +Uses of Interface org.glassfish.tyrus.spi.Connection (Tyrus 1.19 API) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Interface
org.glassfish.tyrus.spi.Connection

+
+
+ +
+
+ + + diff --git a/apidocs/1.19/org/glassfish/tyrus/spi/class-use/ReadHandler.html b/apidocs/1.19/org/glassfish/tyrus/spi/class-use/ReadHandler.html new file mode 100644 index 00000000..530c4ae9 --- /dev/null +++ b/apidocs/1.19/org/glassfish/tyrus/spi/class-use/ReadHandler.html @@ -0,0 +1,198 @@ + + + + + +Uses of Interface org.glassfish.tyrus.spi.ReadHandler (Tyrus 1.19 API) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Interface
org.glassfish.tyrus.spi.ReadHandler

+
+
+ +
+
+ + + diff --git a/apidocs/1.19/org/glassfish/tyrus/spi/class-use/ServerContainer.html b/apidocs/1.19/org/glassfish/tyrus/spi/class-use/ServerContainer.html new file mode 100644 index 00000000..921380f8 --- /dev/null +++ b/apidocs/1.19/org/glassfish/tyrus/spi/class-use/ServerContainer.html @@ -0,0 +1,270 @@ + + + + + +Uses of Interface org.glassfish.tyrus.spi.ServerContainer (Tyrus 1.19 API) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Interface
org.glassfish.tyrus.spi.ServerContainer

+
+
+ +
+
+ + + diff --git a/apidocs/1.19/org/glassfish/tyrus/spi/class-use/ServerContainerFactory.html b/apidocs/1.19/org/glassfish/tyrus/spi/class-use/ServerContainerFactory.html new file mode 100644 index 00000000..41ff04dd --- /dev/null +++ b/apidocs/1.19/org/glassfish/tyrus/spi/class-use/ServerContainerFactory.html @@ -0,0 +1,198 @@ + + + + + +Uses of Class org.glassfish.tyrus.spi.ServerContainerFactory (Tyrus 1.19 API) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Class
org.glassfish.tyrus.spi.ServerContainerFactory

+
+
+ +
+
+ + + diff --git a/apidocs/1.19/org/glassfish/tyrus/spi/class-use/UpgradeRequest.html b/apidocs/1.19/org/glassfish/tyrus/spi/class-use/UpgradeRequest.html new file mode 100644 index 00000000..8ab26690 --- /dev/null +++ b/apidocs/1.19/org/glassfish/tyrus/spi/class-use/UpgradeRequest.html @@ -0,0 +1,348 @@ + + + + + +Uses of Class org.glassfish.tyrus.spi.UpgradeRequest (Tyrus 1.19 API) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Class
org.glassfish.tyrus.spi.UpgradeRequest

+
+
+ +
+
+ + + diff --git a/apidocs/1.19/org/glassfish/tyrus/spi/class-use/UpgradeResponse.html b/apidocs/1.19/org/glassfish/tyrus/spi/class-use/UpgradeResponse.html new file mode 100644 index 00000000..819ee848 --- /dev/null +++ b/apidocs/1.19/org/glassfish/tyrus/spi/class-use/UpgradeResponse.html @@ -0,0 +1,308 @@ + + + + + +Uses of Class org.glassfish.tyrus.spi.UpgradeResponse (Tyrus 1.19 API) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Class
org.glassfish.tyrus.spi.UpgradeResponse

+
+
+ +
+
+ + + diff --git a/apidocs/1.19/org/glassfish/tyrus/spi/class-use/WebSocketEngine.UpgradeInfo.html b/apidocs/1.19/org/glassfish/tyrus/spi/class-use/WebSocketEngine.UpgradeInfo.html new file mode 100644 index 00000000..3efa5d98 --- /dev/null +++ b/apidocs/1.19/org/glassfish/tyrus/spi/class-use/WebSocketEngine.UpgradeInfo.html @@ -0,0 +1,258 @@ + + + + + +Uses of Interface org.glassfish.tyrus.spi.WebSocketEngine.UpgradeInfo (Tyrus 1.19 API) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Interface
org.glassfish.tyrus.spi.WebSocketEngine.UpgradeInfo

+
+
+ +
+
+ + + diff --git a/apidocs/1.19/org/glassfish/tyrus/spi/class-use/WebSocketEngine.UpgradeStatus.html b/apidocs/1.19/org/glassfish/tyrus/spi/class-use/WebSocketEngine.UpgradeStatus.html new file mode 100644 index 00000000..c9700698 --- /dev/null +++ b/apidocs/1.19/org/glassfish/tyrus/spi/class-use/WebSocketEngine.UpgradeStatus.html @@ -0,0 +1,213 @@ + + + + + +Uses of Class org.glassfish.tyrus.spi.WebSocketEngine.UpgradeStatus (Tyrus 1.19 API) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Class
org.glassfish.tyrus.spi.WebSocketEngine.UpgradeStatus

+
+
+ +
+
+ + + diff --git a/apidocs/1.19/org/glassfish/tyrus/spi/class-use/WebSocketEngine.html b/apidocs/1.19/org/glassfish/tyrus/spi/class-use/WebSocketEngine.html new file mode 100644 index 00000000..908dc327 --- /dev/null +++ b/apidocs/1.19/org/glassfish/tyrus/spi/class-use/WebSocketEngine.html @@ -0,0 +1,228 @@ + + + + + +Uses of Interface org.glassfish.tyrus.spi.WebSocketEngine (Tyrus 1.19 API) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Interface
org.glassfish.tyrus.spi.WebSocketEngine

+
+
+ +
+
+ + + diff --git a/apidocs/1.19/org/glassfish/tyrus/spi/class-use/Writer.html b/apidocs/1.19/org/glassfish/tyrus/spi/class-use/Writer.html new file mode 100644 index 00000000..803c0ac6 --- /dev/null +++ b/apidocs/1.19/org/glassfish/tyrus/spi/class-use/Writer.html @@ -0,0 +1,346 @@ + + + + + +Uses of Class org.glassfish.tyrus.spi.Writer (Tyrus 1.19 API) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Class
org.glassfish.tyrus.spi.Writer

+
+
+ +
+
+ + + diff --git a/apidocs/1.19/org/glassfish/tyrus/spi/class-use/WriterInfo.MessageType.html b/apidocs/1.19/org/glassfish/tyrus/spi/class-use/WriterInfo.MessageType.html new file mode 100644 index 00000000..91468ab1 --- /dev/null +++ b/apidocs/1.19/org/glassfish/tyrus/spi/class-use/WriterInfo.MessageType.html @@ -0,0 +1,227 @@ + + + + + +Uses of Class org.glassfish.tyrus.spi.WriterInfo.MessageType (Tyrus 1.19 API) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Class
org.glassfish.tyrus.spi.WriterInfo.MessageType

+
+
+ +
+
+ + + diff --git a/apidocs/1.19/org/glassfish/tyrus/spi/class-use/WriterInfo.RemoteEndpointType.html b/apidocs/1.19/org/glassfish/tyrus/spi/class-use/WriterInfo.RemoteEndpointType.html new file mode 100644 index 00000000..c73357c5 --- /dev/null +++ b/apidocs/1.19/org/glassfish/tyrus/spi/class-use/WriterInfo.RemoteEndpointType.html @@ -0,0 +1,227 @@ + + + + + +Uses of Class org.glassfish.tyrus.spi.WriterInfo.RemoteEndpointType (Tyrus 1.19 API) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Class
org.glassfish.tyrus.spi.WriterInfo.RemoteEndpointType

+
+
+ +
+
+ + + diff --git a/apidocs/1.19/org/glassfish/tyrus/spi/class-use/WriterInfo.html b/apidocs/1.19/org/glassfish/tyrus/spi/class-use/WriterInfo.html new file mode 100644 index 00000000..a982ee8e --- /dev/null +++ b/apidocs/1.19/org/glassfish/tyrus/spi/class-use/WriterInfo.html @@ -0,0 +1,329 @@ + + + + + +Uses of Class org.glassfish.tyrus.spi.WriterInfo (Tyrus 1.19 API) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Class
org.glassfish.tyrus.spi.WriterInfo

+
+
+
    +
  • + + + + + + + + + + + + + + + + +
    Packages that use WriterInfo 
    PackageDescription
    org.glassfish.tyrus.core +
    Core classes.
    +
    org.glassfish.tyrus.spi +
    Tyrus SPI.
    +
    +
  • +
  • +
      +
    • +
      + + +

      Uses of WriterInfo in org.glassfish.tyrus.core

      + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
      Methods in org.glassfish.tyrus.core with parameters of type WriterInfo 
      Modifier and TypeMethodDescription
      voidProtocolHandler.send​(byte[] data, + SendHandler handler, + WriterInfo writerInfo) 
      java.util.concurrent.Future<Frame>ProtocolHandler.send​(byte[] data, + WriterInfo writerInfo) 
      voidProtocolHandler.send​(java.lang.String data, + SendHandler handler, + WriterInfo writerInfo) 
      java.util.concurrent.Future<Frame>ProtocolHandler.send​(java.lang.String data, + WriterInfo writerInfo) 
      java.util.concurrent.Future<Frame>TyrusWebSocket.sendBinary​(byte[] bytes, + boolean last, + WriterInfo writerInfo) +
      Sends a fragment of a complete message.
      +
      java.util.concurrent.Future<Frame>TyrusWebSocket.sendBinary​(byte[] bytes, + int off, + int len, + boolean last, + WriterInfo writerInfo) +
      Sends a fragment of a complete message.
      +
      voidTyrusWebSocket.sendBinary​(byte[] data, + SendHandler handler, + WriterInfo writerInfo) +
      Send a binary frame to the remote endpoint.
      +
      java.util.concurrent.Future<Frame>TyrusWebSocket.sendBinary​(byte[] data, + WriterInfo writerInfo) +
      Send a binary frame to the remote endpoint.
      +
      java.util.concurrent.Future<Frame>TyrusWebSocket.sendText​(java.lang.String fragment, + boolean last, + WriterInfo writerInfo) +
      Sends a fragment of a complete message.
      +
      voidTyrusWebSocket.sendText​(java.lang.String data, + SendHandler handler, + WriterInfo writerInfo) +
      Send a text frame to the remote endpoint.
      +
      java.util.concurrent.Future<Frame>TyrusWebSocket.sendText​(java.lang.String data, + WriterInfo writerInfo) +
      Send a text frame to the remote endpoint.
      +
      java.util.concurrent.Future<Frame>ProtocolHandler.stream​(boolean last, + byte[] bytes, + int off, + int len, + WriterInfo writerInfo) 
      java.util.concurrent.Future<Frame>ProtocolHandler.stream​(boolean last, + java.lang.String fragment, + WriterInfo writerInfo) 
      +
      +
    • +
    • +
      + + +

      Uses of WriterInfo in org.glassfish.tyrus.spi

      + + + + + + + + + + + + + + +
      Methods in org.glassfish.tyrus.spi with parameters of type WriterInfo 
      Modifier and TypeMethodDescription
      voidWriter.write​(java.nio.ByteBuffer buffer, + CompletionHandler<java.nio.ByteBuffer> completionHandler, + WriterInfo writerInfo) +
      Tyrus runtime calls this method to handover the data for a connection + to the transport.
      +
      +
      +
    • +
    +
  • +
+
+
+ + + diff --git a/apidocs/1.19/org/glassfish/tyrus/spi/package-summary.html b/apidocs/1.19/org/glassfish/tyrus/spi/package-summary.html new file mode 100644 index 00000000..8148c42f --- /dev/null +++ b/apidocs/1.19/org/glassfish/tyrus/spi/package-summary.html @@ -0,0 +1,312 @@ + + + + + +org.glassfish.tyrus.spi (Tyrus 1.19 API) + + + + + + + + + + + + + + + +
+ +
+
+
+

Package org.glassfish.tyrus.spi

+
+
+
+ + +
Tyrus SPI.
+
+ +
+
+ + + diff --git a/apidocs/1.19/org/glassfish/tyrus/spi/package-tree.html b/apidocs/1.19/org/glassfish/tyrus/spi/package-tree.html new file mode 100644 index 00000000..a324f60f --- /dev/null +++ b/apidocs/1.19/org/glassfish/tyrus/spi/package-tree.html @@ -0,0 +1,210 @@ + + + + + +org.glassfish.tyrus.spi Class Hierarchy (Tyrus 1.19 API) + + + + + + + + + + + + + + + +
+ +
+
+
+

Hierarchy For Package org.glassfish.tyrus.spi

+Package Hierarchies: + +
+
+
+

Class Hierarchy

+ +
+
+

Interface Hierarchy

+ +
+
+

Enum Hierarchy

+ +
+
+
+ + + diff --git a/apidocs/1.19/org/glassfish/tyrus/spi/package-use.html b/apidocs/1.19/org/glassfish/tyrus/spi/package-use.html new file mode 100644 index 00000000..2009889d --- /dev/null +++ b/apidocs/1.19/org/glassfish/tyrus/spi/package-use.html @@ -0,0 +1,543 @@ + + + + + +Uses of Package org.glassfish.tyrus.spi (Tyrus 1.19 API) + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Package
org.glassfish.tyrus.spi

+
+
+ +
+
+ + + diff --git a/apidocs/1.19/overview-summary.html b/apidocs/1.19/overview-summary.html new file mode 100644 index 00000000..9faf7fc7 --- /dev/null +++ b/apidocs/1.19/overview-summary.html @@ -0,0 +1,23 @@ + + + + + +Tyrus 1.19 API + + + + + + + +
+ +

index.html

+
+ + diff --git a/apidocs/1.19/overview-tree.html b/apidocs/1.19/overview-tree.html new file mode 100644 index 00000000..3e8a2522 --- /dev/null +++ b/apidocs/1.19/overview-tree.html @@ -0,0 +1,556 @@ + + + + + +Class Hierarchy (Tyrus 1.19 API) + + + + + + + + + + + + + + + +
+ +
+
+ +
+
+

Class Hierarchy

+ +
+
+

Interface Hierarchy

+ +
+
+

Annotation Type Hierarchy

+
    +
  • org.glassfish.tyrus.core.Beta (implements java.lang.annotation.Annotation)
  • +
  • javax.websocket.ClientEndpoint (implements java.lang.annotation.Annotation)
  • +
  • org.glassfish.tyrus.core.MaxSessions (implements java.lang.annotation.Annotation)
  • +
  • javax.websocket.OnClose (implements java.lang.annotation.Annotation)
  • +
  • javax.websocket.OnError (implements java.lang.annotation.Annotation)
  • +
  • javax.websocket.OnMessage (implements java.lang.annotation.Annotation)
  • +
  • javax.websocket.OnOpen (implements java.lang.annotation.Annotation)
  • +
  • javax.websocket.server.PathParam (implements java.lang.annotation.Annotation)
  • +
  • javax.websocket.server.ServerEndpoint (implements java.lang.annotation.Annotation)
  • +
+
+
+

Enum Hierarchy

+ +
+
+
+
+ +

Copyright © 2012–2022 Oracle Corporation. All rights reserved.

+
+ + diff --git a/apidocs/1.19/package-search-index.js b/apidocs/1.19/package-search-index.js new file mode 100644 index 00000000..4e39b317 --- /dev/null +++ b/apidocs/1.19/package-search-index.js @@ -0,0 +1 @@ +packageSearchIndex = [{"l":"All Packages","url":"allpackages-index.html"},{"l":"javax.websocket"},{"l":"javax.websocket.server"},{"l":"org.glassfish.tyrus.client"},{"l":"org.glassfish.tyrus.client.auth"},{"l":"org.glassfish.tyrus.container.grizzly.client"},{"l":"org.glassfish.tyrus.container.grizzly.server"},{"l":"org.glassfish.tyrus.core"},{"l":"org.glassfish.tyrus.core.cluster"},{"l":"org.glassfish.tyrus.core.coder"},{"l":"org.glassfish.tyrus.core.collection"},{"l":"org.glassfish.tyrus.core.extension"},{"l":"org.glassfish.tyrus.core.frame"},{"l":"org.glassfish.tyrus.core.l10n"},{"l":"org.glassfish.tyrus.core.monitoring"},{"l":"org.glassfish.tyrus.core.uri"},{"l":"org.glassfish.tyrus.core.uri.internal"},{"l":"org.glassfish.tyrus.core.wsadl.model"},{"l":"org.glassfish.tyrus.gf.cdi"},{"l":"org.glassfish.tyrus.gf.ejb"},{"l":"org.glassfish.tyrus.server"},{"l":"org.glassfish.tyrus.servlet"},{"l":"org.glassfish.tyrus.spi"}] \ No newline at end of file diff --git a/apidocs/1.19/package-search-index.zip b/apidocs/1.19/package-search-index.zip new file mode 100644 index 00000000..7bf5808a Binary files /dev/null and b/apidocs/1.19/package-search-index.zip differ diff --git a/apidocs/1.19/packages b/apidocs/1.19/packages new file mode 100644 index 00000000..67ade0d1 --- /dev/null +++ b/apidocs/1.19/packages @@ -0,0 +1,22 @@ +javax.websocket +javax.websocket.server +org.glassfish.tyrus.core.l10n +org.glassfish.tyrus.core.wsadl.model +org.glassfish.tyrus.core.uri +org.glassfish.tyrus.core.uri.internal +org.glassfish.tyrus.core +org.glassfish.tyrus.core.monitoring +org.glassfish.tyrus.core.frame +org.glassfish.tyrus.core.extension +org.glassfish.tyrus.core.collection +org.glassfish.tyrus.core.coder +org.glassfish.tyrus.core.cluster +org.glassfish.tyrus.client +org.glassfish.tyrus.client.auth +org.glassfish.tyrus.server +org.glassfish.tyrus.gf.cdi +org.glassfish.tyrus.gf.ejb +org.glassfish.tyrus.container.grizzly.client +org.glassfish.tyrus.container.grizzly.server +org.glassfish.tyrus.servlet +org.glassfish.tyrus.spi \ No newline at end of file diff --git a/apidocs/1.19/resources/glass.png b/apidocs/1.19/resources/glass.png new file mode 100644 index 00000000..a7f591f4 Binary files /dev/null and b/apidocs/1.19/resources/glass.png differ diff --git a/apidocs/1.19/resources/x.png b/apidocs/1.19/resources/x.png new file mode 100644 index 00000000..30548a75 Binary files /dev/null and b/apidocs/1.19/resources/x.png differ diff --git a/apidocs/1.19/script.js b/apidocs/1.19/script.js new file mode 100644 index 00000000..0eaaf535 --- /dev/null +++ b/apidocs/1.19/script.js @@ -0,0 +1,139 @@ +/* + * Copyright (c) 2013, 2018, Oracle and/or its affiliates. All rights reserved. + * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. + * + * This code is free software; you can redistribute it and/or modify it + * under the terms of the GNU General Public License version 2 only, as + * published by the Free Software Foundation. Oracle designates this + * particular file as subject to the "Classpath" exception as provided + * by Oracle in the LICENSE file that accompanied this code. + * + * This code is distributed in the hope that it will be useful, but WITHOUT + * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License + * version 2 for more details (a copy is included in the LICENSE file that + * accompanied this code). + * + * You should have received a copy of the GNU General Public License version + * 2 along with this work; if not, write to the Free Software Foundation, + * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. + * + * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA + * or visit www.oracle.com if you need additional information or have any + * questions. + */ + +var moduleSearchIndex; +var packageSearchIndex; +var typeSearchIndex; +var memberSearchIndex; +var tagSearchIndex; +function loadScripts(doc, tag) { + createElem(doc, tag, 'jquery/jszip/dist/jszip.js'); + createElem(doc, tag, 'jquery/jszip-utils/dist/jszip-utils.js'); + if (window.navigator.userAgent.indexOf('MSIE ') > 0 || window.navigator.userAgent.indexOf('Trident/') > 0 || + window.navigator.userAgent.indexOf('Edge/') > 0) { + createElem(doc, tag, 'jquery/jszip-utils/dist/jszip-utils-ie.js'); + } + createElem(doc, tag, 'search.js'); + + $.get(pathtoroot + "module-search-index.zip") + .done(function() { + JSZipUtils.getBinaryContent(pathtoroot + "module-search-index.zip", function(e, data) { + var zip = new JSZip(data); + zip.load(data); + moduleSearchIndex = JSON.parse(zip.file("module-search-index.json").asText()); + }); + }); + $.get(pathtoroot + "package-search-index.zip") + .done(function() { + JSZipUtils.getBinaryContent(pathtoroot + "package-search-index.zip", function(e, data) { + var zip = new JSZip(data); + zip.load(data); + packageSearchIndex = JSON.parse(zip.file("package-search-index.json").asText()); + }); + }); + $.get(pathtoroot + "type-search-index.zip") + .done(function() { + JSZipUtils.getBinaryContent(pathtoroot + "type-search-index.zip", function(e, data) { + var zip = new JSZip(data); + zip.load(data); + typeSearchIndex = JSON.parse(zip.file("type-search-index.json").asText()); + }); + }); + $.get(pathtoroot + "member-search-index.zip") + .done(function() { + JSZipUtils.getBinaryContent(pathtoroot + "member-search-index.zip", function(e, data) { + var zip = new JSZip(data); + zip.load(data); + memberSearchIndex = JSON.parse(zip.file("member-search-index.json").asText()); + }); + }); + $.get(pathtoroot + "tag-search-index.zip") + .done(function() { + JSZipUtils.getBinaryContent(pathtoroot + "tag-search-index.zip", function(e, data) { + var zip = new JSZip(data); + zip.load(data); + tagSearchIndex = JSON.parse(zip.file("tag-search-index.json").asText()); + }); + }); + if (!moduleSearchIndex) { + createElem(doc, tag, 'module-search-index.js'); + } + if (!packageSearchIndex) { + createElem(doc, tag, 'package-search-index.js'); + } + if (!typeSearchIndex) { + createElem(doc, tag, 'type-search-index.js'); + } + if (!memberSearchIndex) { + createElem(doc, tag, 'member-search-index.js'); + } + if (!tagSearchIndex) { + createElem(doc, tag, 'tag-search-index.js'); + } + $(window).resize(function() { + $('.navPadding').css('padding-top', $('.fixedNav').css("height")); + }); +} + +function createElem(doc, tag, path) { + var script = doc.createElement(tag); + var scriptElement = doc.getElementsByTagName(tag)[0]; + script.src = pathtoroot + path; + scriptElement.parentNode.insertBefore(script, scriptElement); +} + +function show(type) { + count = 0; + for (var key in data) { + var row = document.getElementById(key); + if ((data[key] & type) !== 0) { + row.style.display = ''; + row.className = (count++ % 2) ? rowColor : altColor; + } + else + row.style.display = 'none'; + } + updateTabs(type); +} + +function updateTabs(type) { + for (var value in tabs) { + var sNode = document.getElementById(tabs[value][0]); + var spanNode = sNode.firstChild; + if (value == type) { + sNode.className = activeTableTab; + spanNode.innerHTML = tabs[value][1]; + } + else { + sNode.className = tableTab; + spanNode.innerHTML = "" + tabs[value][1] + ""; + } + } +} + +function updateModuleFrame(pFrame, cFrame) { + top.packageFrame.location = pFrame; + top.classFrame.location = cFrame; +} diff --git a/apidocs/1.19/search.js b/apidocs/1.19/search.js new file mode 100644 index 00000000..9d3fb812 --- /dev/null +++ b/apidocs/1.19/search.js @@ -0,0 +1,329 @@ +/* + * Copyright (c) 2015, 2018, Oracle and/or its affiliates. All rights reserved. + * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. + * + * This code is free software; you can redistribute it and/or modify it + * under the terms of the GNU General Public License version 2 only, as + * published by the Free Software Foundation. Oracle designates this + * particular file as subject to the "Classpath" exception as provided + * by Oracle in the LICENSE file that accompanied this code. + * + * This code is distributed in the hope that it will be useful, but WITHOUT + * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License + * version 2 for more details (a copy is included in the LICENSE file that + * accompanied this code). + * + * You should have received a copy of the GNU General Public License version + * 2 along with this work; if not, write to the Free Software Foundation, + * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. + * + * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA + * or visit www.oracle.com if you need additional information or have any + * questions. + */ + +var noResult = {l: "No results found"}; +var catModules = "Modules"; +var catPackages = "Packages"; +var catTypes = "Types"; +var catMembers = "Members"; +var catSearchTags = "SearchTags"; +var highlight = "$&"; +var camelCaseRegexp = ""; +var secondaryMatcher = ""; +function getHighlightedText(item) { + var ccMatcher = new RegExp(camelCaseRegexp); + var label = item.replace(ccMatcher, highlight); + if (label === item) { + label = item.replace(secondaryMatcher, highlight); + } + return label; +} +function getURLPrefix(ui) { + var urlPrefix=""; + if (useModuleDirectories) { + var slash = "/"; + if (ui.item.category === catModules) { + return ui.item.l + slash; + } else if (ui.item.category === catPackages && ui.item.m) { + return ui.item.m + slash; + } else if ((ui.item.category === catTypes && ui.item.p) || ui.item.category === catMembers) { + $.each(packageSearchIndex, function(index, item) { + if (ui.item.p == item.l) { + urlPrefix = item.m + slash; + } + }); + return urlPrefix; + } else { + return urlPrefix; + } + } + return urlPrefix; +} +var watermark = 'Search'; +$(function() { + $("#search").val(''); + $("#search").prop("disabled", false); + $("#reset").prop("disabled", false); + $("#search").val(watermark).addClass('watermark'); + $("#search").blur(function() { + if ($(this).val().length == 0) { + $(this).val(watermark).addClass('watermark'); + } + }); + $("#search").on('click keydown', function() { + if ($(this).val() == watermark) { + $(this).val('').removeClass('watermark'); + } + }); + $("#reset").click(function() { + $("#search").val(''); + $("#search").focus(); + }); + $("#search").focus(); + $("#search")[0].setSelectionRange(0, 0); +}); +$.widget("custom.catcomplete", $.ui.autocomplete, { + _create: function() { + this._super(); + this.widget().menu("option", "items", "> :not(.ui-autocomplete-category)"); + }, + _renderMenu: function(ul, items) { + var rMenu = this, + currentCategory = ""; + $.each(items, function(index, item) { + var li; + if (item.l !== noResult.l && item.category !== currentCategory) { + ul.append("
  • " + item.category + "
  • "); + currentCategory = item.category; + } + li = rMenu._renderItemData(ul, item); + if (item.category) { + li.attr("aria-label", item.category + " : " + item.l); + li.attr("class", "resultItem"); + } else { + li.attr("aria-label", item.l); + li.attr("class", "resultItem"); + } + }); + }, + _renderItem: function(ul, item) { + var label = ""; + if (item.category === catModules) { + label = getHighlightedText(item.l); + } else if (item.category === catPackages) { + label = (item.m) + ? getHighlightedText(item.m + "/" + item.l) + : getHighlightedText(item.l); + } else if (item.category === catTypes) { + label = (item.p) + ? getHighlightedText(item.p + "." + item.l) + : getHighlightedText(item.l); + } else if (item.category === catMembers) { + label = getHighlightedText(item.p + "." + (item.c + "." + item.l)); + } else if (item.category === catSearchTags) { + label = getHighlightedText(item.l); + } else { + label = item.l; + } + $li = $("
  • ").appendTo(ul); + if (item.category === catSearchTags) { + if (item.d) { + $("").attr("href", "#") + .html(label + " (" + item.h + ")
    " + + item.d + "
    ") + .appendTo($li); + } else { + $("
    ").attr("href", "#") + .html(label + " (" + item.h + ")") + .appendTo($li); + } + } else { + $("").attr("href", "#") + .html(label) + .appendTo($li); + } + return $li; + } +}); +$(function() { + $("#search").catcomplete({ + minLength: 1, + delay: 100, + source: function(request, response) { + var result = new Array(); + var presult = new Array(); + var tresult = new Array(); + var mresult = new Array(); + var tgresult = new Array(); + var secondaryresult = new Array(); + var displayCount = 0; + var exactMatcher = new RegExp("^" + $.ui.autocomplete.escapeRegex(request.term) + "$", "i"); + camelCaseRegexp = ($.ui.autocomplete.escapeRegex(request.term)).split(/(?=[A-Z])/).join("([a-z0-9_$]*?)"); + var camelCaseMatcher = new RegExp("^" + camelCaseRegexp); + secondaryMatcher = new RegExp($.ui.autocomplete.escapeRegex(request.term), "i"); + + // Return the nested innermost name from the specified object + function nestedName(e) { + return e.l.substring(e.l.lastIndexOf(".") + 1); + } + + function concatResults(a1, a2) { + a1 = a1.concat(a2); + a2.length = 0; + return a1; + } + + if (moduleSearchIndex) { + var mdleCount = 0; + $.each(moduleSearchIndex, function(index, item) { + item.category = catModules; + if (exactMatcher.test(item.l)) { + result.push(item); + mdleCount++; + } else if (camelCaseMatcher.test(item.l)) { + result.push(item); + } else if (secondaryMatcher.test(item.l)) { + secondaryresult.push(item); + } + }); + displayCount = mdleCount; + result = concatResults(result, secondaryresult); + } + if (packageSearchIndex) { + var pCount = 0; + var pkg = ""; + $.each(packageSearchIndex, function(index, item) { + item.category = catPackages; + pkg = (item.m) + ? (item.m + "/" + item.l) + : item.l; + if (exactMatcher.test(item.l)) { + presult.push(item); + pCount++; + } else if (camelCaseMatcher.test(pkg)) { + presult.push(item); + } else if (secondaryMatcher.test(pkg)) { + secondaryresult.push(item); + } + }); + result = result.concat(concatResults(presult, secondaryresult)); + displayCount = (pCount > displayCount) ? pCount : displayCount; + } + if (typeSearchIndex) { + var tCount = 0; + $.each(typeSearchIndex, function(index, item) { + item.category = catTypes; + var s = nestedName(item); + if (exactMatcher.test(s)) { + tresult.push(item); + tCount++; + } else if (camelCaseMatcher.test(s)) { + tresult.push(item); + } else if (secondaryMatcher.test(item.p + "." + item.l)) { + secondaryresult.push(item); + } + }); + result = result.concat(concatResults(tresult, secondaryresult)); + displayCount = (tCount > displayCount) ? tCount : displayCount; + } + if (memberSearchIndex) { + var mCount = 0; + $.each(memberSearchIndex, function(index, item) { + item.category = catMembers; + var s = nestedName(item); + if (exactMatcher.test(s)) { + mresult.push(item); + mCount++; + } else if (camelCaseMatcher.test(s)) { + mresult.push(item); + } else if (secondaryMatcher.test(item.c + "." + item.l)) { + secondaryresult.push(item); + } + }); + result = result.concat(concatResults(mresult, secondaryresult)); + displayCount = (mCount > displayCount) ? mCount : displayCount; + } + if (tagSearchIndex) { + var tgCount = 0; + $.each(tagSearchIndex, function(index, item) { + item.category = catSearchTags; + if (exactMatcher.test(item.l)) { + tgresult.push(item); + tgCount++; + } else if (secondaryMatcher.test(item.l)) { + secondaryresult.push(item); + } + }); + result = result.concat(concatResults(tgresult, secondaryresult)); + displayCount = (tgCount > displayCount) ? tgCount : displayCount; + } + displayCount = (displayCount > 500) ? displayCount : 500; + var counter = function() { + var count = {Modules: 0, Packages: 0, Types: 0, Members: 0, SearchTags: 0}; + var f = function(item) { + count[item.category] += 1; + return (count[item.category] <= displayCount); + }; + return f; + }(); + response(result.filter(counter)); + }, + response: function(event, ui) { + if (!ui.content.length) { + ui.content.push(noResult); + } else { + $("#search").empty(); + } + }, + autoFocus: true, + position: { + collision: "flip" + }, + select: function(event, ui) { + if (ui.item.l !== noResult.l) { + var url = getURLPrefix(ui); + if (ui.item.category === catModules) { + if (useModuleDirectories) { + url += "module-summary.html"; + } else { + url = ui.item.l + "-summary.html"; + } + } else if (ui.item.category === catPackages) { + if (ui.item.url) { + url = ui.item.url; + } else { + url += ui.item.l.replace(/\./g, '/') + "/package-summary.html"; + } + } else if (ui.item.category === catTypes) { + if (ui.item.url) { + url = ui.item.url; + } else if (ui.item.p === "") { + url += ui.item.l + ".html"; + } else { + url += ui.item.p.replace(/\./g, '/') + "/" + ui.item.l + ".html"; + } + } else if (ui.item.category === catMembers) { + if (ui.item.p === "") { + url += ui.item.c + ".html" + "#"; + } else { + url += ui.item.p.replace(/\./g, '/') + "/" + ui.item.c + ".html" + "#"; + } + if (ui.item.url) { + url += ui.item.url; + } else { + url += ui.item.l; + } + } else if (ui.item.category === catSearchTags) { + url += ui.item.u; + } + if (top !== window) { + parent.classFrame.location = pathtoroot + url; + } else { + window.location.href = pathtoroot + url; + } + } + } + }); +}); diff --git a/apidocs/1.19/serialized-form.html b/apidocs/1.19/serialized-form.html new file mode 100644 index 00000000..43a40c4b --- /dev/null +++ b/apidocs/1.19/serialized-form.html @@ -0,0 +1,408 @@ + + + + + +Serialized Form (Tyrus 1.19 API) + + + + + + + + + + + + + + + +
    + +
    +
    +
    +

    Serialized Form

    +
    +
    + +
    +
    + + + diff --git a/apidocs/1.19/stylesheet.css b/apidocs/1.19/stylesheet.css new file mode 100644 index 00000000..fa246765 --- /dev/null +++ b/apidocs/1.19/stylesheet.css @@ -0,0 +1,906 @@ +/* + * Javadoc style sheet + */ + +@import url('resources/fonts/dejavu.css'); + +/* + * Styles for individual HTML elements. + * + * These are styles that are specific to individual HTML elements. Changing them affects the style of a particular + * HTML element throughout the page. + */ + +body { + background-color:#ffffff; + color:#353833; + font-family:'DejaVu Sans', Arial, Helvetica, sans-serif; + font-size:14px; + margin:0; + padding:0; + height:100%; + width:100%; +} +iframe { + margin:0; + padding:0; + height:100%; + width:100%; + overflow-y:scroll; + border:none; +} +a:link, a:visited { + text-decoration:none; + color:#4A6782; +} +a[href]:hover, a[href]:focus { + text-decoration:none; + color:#bb7a2a; +} +a[name] { + color:#353833; +} +a[name]:before, a[name]:target, a[id]:before, a[id]:target { + content:""; + display:inline-block; + position:relative; + padding-top:129px; + margin-top:-129px; +} +pre { + font-family:'DejaVu Sans Mono', monospace; + font-size:14px; +} +h1 { + font-size:20px; +} +h2 { + font-size:18px; +} +h3 { + font-size:16px; + font-style:italic; +} +h4 { + font-size:13px; +} +h5 { + font-size:12px; +} +h6 { + font-size:11px; +} +ul { + list-style-type:disc; +} +code, tt { + font-family:'DejaVu Sans Mono', monospace; + font-size:14px; + padding-top:4px; + margin-top:8px; + line-height:1.4em; +} +dt code { + font-family:'DejaVu Sans Mono', monospace; + font-size:14px; + padding-top:4px; +} +table tr td dt code { + font-family:'DejaVu Sans Mono', monospace; + font-size:14px; + vertical-align:top; + padding-top:4px; +} +sup { + font-size:8px; +} + +/* + * Styles for HTML generated by javadoc. + * + * These are style classes that are used by the standard doclet to generate HTML documentation. + */ + +/* + * Styles for document title and copyright. + */ +.clear { + clear:both; + height:0px; + overflow:hidden; +} +.aboutLanguage { + float:right; + padding:0px 21px; + font-size:11px; + z-index:200; + margin-top:-9px; +} +.legalCopy { + margin-left:.5em; +} +.bar a, .bar a:link, .bar a:visited, .bar a:active { + color:#FFFFFF; + text-decoration:none; +} +.bar a:hover, .bar a:focus { + color:#bb7a2a; +} +.tab { + background-color:#0066FF; + color:#ffffff; + padding:8px; + width:5em; + font-weight:bold; +} +/* + * Styles for navigation bar. + */ +.bar { + background-color:#4D7A97; + color:#FFFFFF; + padding:.8em .5em .4em .8em; + height:auto;/*height:1.8em;*/ + font-size:11px; + margin:0; +} +.navPadding { + padding-top: 107px; +} +.fixedNav { + position:fixed; + width:100%; + z-index:999; + background-color:#ffffff; +} +.topNav { + background-color:#4D7A97; + color:#FFFFFF; + float:left; + padding:0; + width:100%; + clear:right; + height:2.8em; + padding-top:10px; + overflow:hidden; + font-size:12px; +} +.bottomNav { + margin-top:10px; + background-color:#4D7A97; + color:#FFFFFF; + float:left; + padding:0; + width:100%; + clear:right; + height:2.8em; + padding-top:10px; + overflow:hidden; + font-size:12px; +} +.subNav { + background-color:#dee3e9; + float:left; + width:100%; + overflow:hidden; + font-size:12px; +} +.subNav div { + clear:left; + float:left; + padding:0 0 5px 6px; + text-transform:uppercase; +} +ul.navList, ul.subNavList { + float:left; + margin:0 25px 0 0; + padding:0; +} +ul.navList li{ + list-style:none; + float:left; + padding: 5px 6px; + text-transform:uppercase; +} +ul.navListSearch { + float:right; + margin:0 0 0 0; + padding:0; +} +ul.navListSearch li { + list-style:none; + float:right; + padding: 5px 6px; + text-transform:uppercase; +} +ul.navListSearch li label { + position:relative; + right:-16px; +} +ul.subNavList li { + list-style:none; + float:left; +} +.topNav a:link, .topNav a:active, .topNav a:visited, .bottomNav a:link, .bottomNav a:active, .bottomNav a:visited { + color:#FFFFFF; + text-decoration:none; + text-transform:uppercase; +} +.topNav a:hover, .bottomNav a:hover { + text-decoration:none; + color:#bb7a2a; + text-transform:uppercase; +} +.navBarCell1Rev { + background-color:#F8981D; + color:#253441; + margin: auto 5px; +} +.skipNav { + position:absolute; + top:auto; + left:-9999px; + overflow:hidden; +} +/* + * Styles for page header and footer. + */ +.header, .footer { + clear:both; + margin:0 20px; + padding:5px 0 0 0; +} +.indexNav { + position:relative; + font-size:12px; + background-color:#dee3e9; +} +.indexNav ul { + margin-top:0; + padding:5px; +} +.indexNav ul li { + display:inline; + list-style-type:none; + padding-right:10px; + text-transform:uppercase; +} +.indexNav h1 { + font-size:13px; +} +.title { + color:#2c4557; + margin:10px 0; +} +.subTitle { + margin:5px 0 0 0; +} +.header ul { + margin:0 0 15px 0; + padding:0; +} +.footer ul { + margin:20px 0 5px 0; +} +.header ul li, .footer ul li { + list-style:none; + font-size:13px; +} +/* + * Styles for headings. + */ +div.details ul.blockList ul.blockList ul.blockList li.blockList h4, div.details ul.blockList ul.blockList ul.blockListLast li.blockList h4 { + background-color:#dee3e9; + border:1px solid #d0d9e0; + margin:0 0 6px -8px; + padding:7px 5px; +} +ul.blockList ul.blockList ul.blockList li.blockList h3 { + background-color:#dee3e9; + border:1px solid #d0d9e0; + margin:0 0 6px -8px; + padding:7px 5px; +} +ul.blockList ul.blockList li.blockList h3 { + padding:0; + margin:15px 0; +} +ul.blockList li.blockList h2 { + padding:0px 0 20px 0; +} +/* + * Styles for page layout containers. + */ +.contentContainer, .sourceContainer, .classUseContainer, .serializedFormContainer, .constantValuesContainer, +.allClassesContainer, .allPackagesContainer { + clear:both; + padding:10px 20px; + position:relative; +} +.indexContainer { + margin:10px; + position:relative; + font-size:12px; +} +.indexContainer h2 { + font-size:13px; + padding:0 0 3px 0; +} +.indexContainer ul { + margin:0; + padding:0; +} +.indexContainer ul li { + list-style:none; + padding-top:2px; +} +.contentContainer .description dl dt, .contentContainer .details dl dt, .serializedFormContainer dl dt { + font-size:12px; + font-weight:bold; + margin:10px 0 0 0; + color:#4E4E4E; +} +.contentContainer .description dl dd, .contentContainer .details dl dd, .serializedFormContainer dl dd { + margin:5px 0 10px 0px; + font-size:14px; + font-family:'DejaVu Serif', Georgia, "Times New Roman", Times, serif; +} +.serializedFormContainer dl.nameValue dt { + margin-left:1px; + font-size:1.1em; + display:inline; + font-weight:bold; +} +.serializedFormContainer dl.nameValue dd { + margin:0 0 0 1px; + font-size:1.1em; + display:inline; +} +/* + * Styles for lists. + */ +li.circle { + list-style:circle; +} +ul.horizontal li { + display:inline; + font-size:0.9em; +} +ul.inheritance { + margin:0; + padding:0; +} +ul.inheritance li { + display:inline; + list-style:none; +} +ul.inheritance li ul.inheritance { + margin-left:15px; + padding-left:15px; + padding-top:1px; +} +ul.blockList, ul.blockListLast { + margin:10px 0 10px 0; + padding:0; +} +ul.blockList li.blockList, ul.blockListLast li.blockList { + list-style:none; + margin-bottom:15px; + line-height:1.4; +} +ul.blockList ul.blockList li.blockList, ul.blockList ul.blockListLast li.blockList { + padding:0px 20px 5px 10px; + border:1px solid #ededed; + background-color:#f8f8f8; +} +ul.blockList ul.blockList ul.blockList li.blockList, ul.blockList ul.blockList ul.blockListLast li.blockList { + padding:0 0 5px 8px; + background-color:#ffffff; + border:none; +} +ul.blockList ul.blockList ul.blockList ul.blockList li.blockList { + margin-left:0; + padding-left:0; + padding-bottom:15px; + border:none; +} +ul.blockList ul.blockList ul.blockList ul.blockList li.blockListLast { + list-style:none; + border-bottom:none; + padding-bottom:0; +} +table tr td dl, table tr td dl dt, table tr td dl dd { + margin-top:0; + margin-bottom:1px; +} +/* + * Styles for tables. + */ +.overviewSummary, .memberSummary, .typeSummary, .useSummary, .constantsSummary, .deprecatedSummary, +.requiresSummary, .packagesSummary, .providesSummary, .usesSummary { + width:100%; + border-spacing:0; + border-left:1px solid #EEE; + border-right:1px solid #EEE; + border-bottom:1px solid #EEE; +} +.overviewSummary, .memberSummary, .requiresSummary, .packagesSummary, .providesSummary, .usesSummary { + padding:0px; +} +.overviewSummary caption, .memberSummary caption, .typeSummary caption, +.useSummary caption, .constantsSummary caption, .deprecatedSummary caption, +.requiresSummary caption, .packagesSummary caption, .providesSummary caption, .usesSummary caption { + position:relative; + text-align:left; + background-repeat:no-repeat; + color:#253441; + font-weight:bold; + clear:none; + overflow:hidden; + padding:0px; + padding-top:10px; + padding-left:1px; + margin:0px; + white-space:pre; +} +.overviewSummary caption a:link, .memberSummary caption a:link, .typeSummary caption a:link, +.constantsSummary caption a:link, .deprecatedSummary caption a:link, +.requiresSummary caption a:link, .packagesSummary caption a:link, .providesSummary caption a:link, +.usesSummary caption a:link, +.overviewSummary caption a:hover, .memberSummary caption a:hover, .typeSummary caption a:hover, +.constantsSummary caption a:hover, .deprecatedSummary caption a:hover, +.requiresSummary caption a:hover, .packagesSummary caption a:hover, .providesSummary caption a:hover, +.usesSummary caption a:hover, +.overviewSummary caption a:active, .memberSummary caption a:active, .typeSummary caption a:active, +.constantsSummary caption a:active, .deprecatedSummary caption a:active, +.requiresSummary caption a:active, .packagesSummary caption a:active, .providesSummary caption a:active, +.usesSummary caption a:active, +.overviewSummary caption a:visited, .memberSummary caption a:visited, .typeSummary caption a:visited, +.constantsSummary caption a:visited, .deprecatedSummary caption a:visited, +.requiresSummary caption a:visited, .packagesSummary caption a:visited, .providesSummary caption a:visited, +.usesSummary caption a:visited { + color:#FFFFFF; +} +.useSummary caption a:link, .useSummary caption a:hover, .useSummary caption a:active, +.useSummary caption a:visited { + color:#1f389c; +} +.overviewSummary caption span, .memberSummary caption span, .typeSummary caption span, +.useSummary caption span, .constantsSummary caption span, .deprecatedSummary caption span, +.requiresSummary caption span, .packagesSummary caption span, .providesSummary caption span, +.usesSummary caption span { + white-space:nowrap; + padding-top:5px; + padding-left:12px; + padding-right:12px; + padding-bottom:7px; + display:inline-block; + float:left; + background-color:#F8981D; + border: none; + height:16px; +} +.memberSummary caption span.activeTableTab span, .packagesSummary caption span.activeTableTab span, +.overviewSummary caption span.activeTableTab span, .typeSummary caption span.activeTableTab span { + white-space:nowrap; + padding-top:5px; + padding-left:12px; + padding-right:12px; + margin-right:3px; + display:inline-block; + float:left; + background-color:#F8981D; + height:16px; +} +.memberSummary caption span.tableTab span, .packagesSummary caption span.tableTab span, +.overviewSummary caption span.tableTab span, .typeSummary caption span.tableTab span { + white-space:nowrap; + padding-top:5px; + padding-left:12px; + padding-right:12px; + margin-right:3px; + display:inline-block; + float:left; + background-color:#4D7A97; + height:16px; +} +.memberSummary caption span.tableTab, .memberSummary caption span.activeTableTab, +.packagesSummary caption span.tableTab, .packagesSummary caption span.activeTableTab, +.overviewSummary caption span.tableTab, .overviewSummary caption span.activeTableTab, +.typeSummary caption span.tableTab, .typeSummary caption span.activeTableTab { + padding-top:0px; + padding-left:0px; + padding-right:0px; + background-image:none; + float:none; + display:inline; +} +.overviewSummary .tabEnd, .memberSummary .tabEnd, .typeSummary .tabEnd, +.useSummary .tabEnd, .constantsSummary .tabEnd, .deprecatedSummary .tabEnd, +.requiresSummary .tabEnd, .packagesSummary .tabEnd, .providesSummary .tabEnd, .usesSummary .tabEnd { + display:none; + width:5px; + position:relative; + float:left; + background-color:#F8981D; +} +.memberSummary .activeTableTab .tabEnd, .packagesSummary .activeTableTab .tabEnd, +.overviewSummary .activeTableTab .tabEnd, .typeSummary .activeTableTab .tabEnd { + display:none; + width:5px; + margin-right:3px; + position:relative; + float:left; + background-color:#F8981D; +} +.memberSummary .tableTab .tabEnd, .packagesSummary .tableTab .tabEnd, +.overviewSummary .tableTab .tabEnd, .typeSummary .tableTab .tabEnd { + display:none; + width:5px; + margin-right:3px; + position:relative; + background-color:#4D7A97; + float:left; +} +.rowColor th, .altColor th { + font-weight:normal; +} +.overviewSummary td, .memberSummary td, .typeSummary td, +.useSummary td, .constantsSummary td, .deprecatedSummary td, +.requiresSummary td, .packagesSummary td, .providesSummary td, .usesSummary td { + text-align:left; + padding:0px 0px 12px 10px; +} +th.colFirst, th.colSecond, th.colLast, th.colConstructorName, th.colDeprecatedItemName, .useSummary th, +.constantsSummary th, .packagesSummary th, td.colFirst, td.colSecond, td.colLast, .useSummary td, +.constantsSummary td { + vertical-align:top; + padding-right:0px; + padding-top:8px; + padding-bottom:3px; +} +th.colFirst, th.colSecond, th.colLast, th.colConstructorName, th.colDeprecatedItemName, .constantsSummary th, +.packagesSummary th { + background:#dee3e9; + text-align:left; + padding:8px 3px 3px 7px; +} +td.colFirst, th.colFirst { + font-size:13px; +} +td.colSecond, th.colSecond, td.colLast, th.colConstructorName, th.colDeprecatedItemName, th.colLast { + font-size:13px; +} +.constantsSummary th, .packagesSummary th { + font-size:13px; +} +.providesSummary th.colFirst, .providesSummary th.colLast, .providesSummary td.colFirst, +.providesSummary td.colLast { + white-space:normal; + font-size:13px; +} +.overviewSummary td.colFirst, .overviewSummary th.colFirst, +.requiresSummary td.colFirst, .requiresSummary th.colFirst, +.packagesSummary td.colFirst, .packagesSummary td.colSecond, .packagesSummary th.colFirst, .packagesSummary th, +.usesSummary td.colFirst, .usesSummary th.colFirst, +.providesSummary td.colFirst, .providesSummary th.colFirst, +.memberSummary td.colFirst, .memberSummary th.colFirst, +.memberSummary td.colSecond, .memberSummary th.colSecond, .memberSummary th.colConstructorName, +.typeSummary td.colFirst, .typeSummary th.colFirst { + vertical-align:top; +} +.packagesSummary th.colLast, .packagesSummary td.colLast { + white-space:normal; +} +td.colFirst a:link, td.colFirst a:visited, +td.colSecond a:link, td.colSecond a:visited, +th.colFirst a:link, th.colFirst a:visited, +th.colSecond a:link, th.colSecond a:visited, +th.colConstructorName a:link, th.colConstructorName a:visited, +th.colDeprecatedItemName a:link, th.colDeprecatedItemName a:visited, +.constantValuesContainer td a:link, .constantValuesContainer td a:visited, +.allClassesContainer td a:link, .allClassesContainer td a:visited, +.allPackagesContainer td a:link, .allPackagesContainer td a:visited { + font-weight:bold; +} +.tableSubHeadingColor { + background-color:#EEEEFF; +} +.altColor, .altColor th { + background-color:#FFFFFF; +} +.rowColor, .rowColor th { + background-color:#EEEEEF; +} +/* + * Styles for contents. + */ +.description pre { + margin-top:0; +} +.deprecatedContent { + margin:0; + padding:10px 0; +} +.docSummary { + padding:0; +} +ul.blockList ul.blockList ul.blockList li.blockList h3 { + font-style:normal; +} +div.block { + font-size:14px; + font-family:'DejaVu Serif', Georgia, "Times New Roman", Times, serif; +} +td.colLast div { + padding-top:0px; +} +td.colLast a { + padding-bottom:3px; +} +/* + * Styles for formatting effect. + */ +.sourceLineNo { + color:green; + padding:0 30px 0 0; +} +h1.hidden { + visibility:hidden; + overflow:hidden; + font-size:10px; +} +.block { + display:block; + margin:3px 10px 2px 0px; + color:#474747; +} +.deprecatedLabel, .descfrmTypeLabel, .implementationLabel, .memberNameLabel, .memberNameLink, +.moduleLabelInPackage, .moduleLabelInType, .overrideSpecifyLabel, .packageLabelInType, +.packageHierarchyLabel, .paramLabel, .returnLabel, .seeLabel, .simpleTagLabel, +.throwsLabel, .typeNameLabel, .typeNameLink, .searchTagLink { + font-weight:bold; +} +.deprecationComment, .emphasizedPhrase, .interfaceName { + font-style:italic; +} +.deprecationBlock { + font-size:14px; + font-family:'DejaVu Serif', Georgia, "Times New Roman", Times, serif; + border-style:solid; + border-width:thin; + border-radius:10px; + padding:10px; + margin-bottom:10px; + margin-right:10px; + display:inline-block; +} +div.block div.deprecationComment, div.block div.block span.emphasizedPhrase, +div.block div.block span.interfaceName { + font-style:normal; +} +div.contentContainer ul.blockList li.blockList h2 { + padding-bottom:0px; +} +/* + * Styles for IFRAME. + */ +.mainContainer { + margin:0 auto; + padding:0; + height:100%; + width:100%; + position:fixed; + top:0; + left:0; +} +.leftContainer { + height:100%; + position:fixed; + width:320px; +} +.leftTop { + position:relative; + float:left; + width:315px; + top:0; + left:0; + height:30%; + border-right:6px solid #ccc; + border-bottom:6px solid #ccc; +} +.leftBottom { + position:relative; + float:left; + width:315px; + bottom:0; + left:0; + height:70%; + border-right:6px solid #ccc; + border-top:1px solid #000; +} +.rightContainer { + position:absolute; + left:320px; + top:0; + bottom:0; + height:100%; + right:0; + border-left:1px solid #000; +} +.rightIframe { + margin:0; + padding:0; + height:100%; + right:30px; + width:100%; + overflow:visible; + margin-bottom:30px; +} +/* + * Styles specific to HTML5 elements. + */ +main, nav, header, footer, section { + display:block; +} +/* + * Styles for javadoc search. + */ +.ui-autocomplete-category { + font-weight:bold; + font-size:15px; + padding:7px 0 7px 3px; + background-color:#4D7A97; + color:#FFFFFF; +} +.resultItem { + font-size:13px; +} +.ui-autocomplete { + max-height:85%; + max-width:65%; + overflow-y:scroll; + overflow-x:scroll; + white-space:nowrap; + box-shadow: 0 3px 6px rgba(0,0,0,0.16), 0 3px 6px rgba(0,0,0,0.23); +} +ul.ui-autocomplete { + position:fixed; + z-index:999999; +} +ul.ui-autocomplete li { + float:left; + clear:both; + width:100%; +} +.resultHighlight { + font-weight:bold; +} +#search { + background-image:url('resources/glass.png'); + background-size:13px; + background-repeat:no-repeat; + background-position:2px 3px; + padding-left:20px; + position:relative; + right:-18px; +} +#reset { + background-color: rgb(255,255,255); + background-image:url('resources/x.png'); + background-position:center; + background-repeat:no-repeat; + background-size:12px; + border:0 none; + width:16px; + height:17px; + position:relative; + left:-4px; + top:-4px; + font-size:0px; +} +.watermark { + color:#545454; +} +.searchTagDescResult { + font-style:italic; + font-size:11px; +} +.searchTagHolderResult { + font-style:italic; + font-size:12px; +} +.searchTagResult:before, .searchTagResult:target { + color:red; +} +.moduleGraph span { + display:none; + position:absolute; +} +.moduleGraph:hover span { + display:block; + margin: -100px 0 0 100px; + z-index: 1; +} +.methodSignature { + white-space:normal; +} + +/* + * Styles for user-provided tables. + * + * borderless: + * No borders, vertical margins, styled caption. + * This style is provided for use with existing doc comments. + * In general, borderless tables should not be used for layout purposes. + * + * plain: + * Plain borders around table and cells, vertical margins, styled caption. + * Best for small tables or for complex tables for tables with cells that span + * rows and columns, when the "striped" style does not work well. + * + * striped: + * Borders around the table and vertical borders between cells, striped rows, + * vertical margins, styled caption. + * Best for tables that have a header row, and a body containing a series of simple rows. + */ + +table.borderless, +table.plain, +table.striped { + margin-top: 10px; + margin-bottom: 10px; +} +table.borderless > caption, +table.plain > caption, +table.striped > caption { + font-weight: bold; + font-size: smaller; +} +table.borderless th, table.borderless td, +table.plain th, table.plain td, +table.striped th, table.striped td { + padding: 2px 5px; +} +table.borderless, +table.borderless > thead > tr > th, table.borderless > tbody > tr > th, table.borderless > tr > th, +table.borderless > thead > tr > td, table.borderless > tbody > tr > td, table.borderless > tr > td { + border: none; +} +table.borderless > thead > tr, table.borderless > tbody > tr, table.borderless > tr { + background-color: transparent; +} +table.plain { + border-collapse: collapse; + border: 1px solid black; +} +table.plain > thead > tr, table.plain > tbody tr, table.plain > tr { + background-color: transparent; +} +table.plain > thead > tr > th, table.plain > tbody > tr > th, table.plain > tr > th, +table.plain > thead > tr > td, table.plain > tbody > tr > td, table.plain > tr > td { + border: 1px solid black; +} +table.striped { + border-collapse: collapse; + border: 1px solid black; +} +table.striped > thead { + background-color: #E3E3E3; +} +table.striped > thead > tr > th, table.striped > thead > tr > td { + border: 1px solid black; +} +table.striped > tbody > tr:nth-child(even) { + background-color: #EEE +} +table.striped > tbody > tr:nth-child(odd) { + background-color: #FFF +} +table.striped > tbody > tr > th, table.striped > tbody > tr > td { + border-left: 1px solid black; + border-right: 1px solid black; +} +table.striped > tbody > tr > th { + font-weight: normal; +} diff --git a/apidocs/1.19/type-search-index.js b/apidocs/1.19/type-search-index.js new file mode 100644 index 00000000..ec6d86bf --- /dev/null +++ b/apidocs/1.19/type-search-index.js @@ -0,0 +1 @@ +typeSearchIndex = [{"p":"org.glassfish.tyrus.core.uri.internal","l":"AbstractMultivaluedMap"},{"l":"All Classes","url":"allclasses-index.html"},{"p":"org.glassfish.tyrus.core","l":"AnnotatedEndpoint"},{"p":"org.glassfish.tyrus.core.wsadl.model","l":"Application"},{"p":"org.glassfish.tyrus.core.monitoring","l":"ApplicationEventListener"},{"p":"javax.websocket","l":"RemoteEndpoint.Async"},{"p":"org.glassfish.tyrus.client.auth","l":"AuthConfig"},{"p":"org.glassfish.tyrus.client.auth","l":"AuthenticationException"},{"p":"org.glassfish.tyrus.client.auth","l":"Authenticator"},{"p":"org.glassfish.tyrus.core","l":"BaseContainer"},{"p":"javax.websocket","l":"RemoteEndpoint.Basic"},{"p":"org.glassfish.tyrus.core","l":"Beta"},{"p":"javax.websocket","l":"Decoder.Binary"},{"p":"javax.websocket","l":"Encoder.Binary"},{"p":"org.glassfish.tyrus.core.frame","l":"BinaryFrame"},{"p":"javax.websocket","l":"Decoder.BinaryStream"},{"p":"javax.websocket","l":"Encoder.BinaryStream"},{"p":"org.glassfish.tyrus.core.coder","l":"PrimitiveDecoders.BooleanDecoder"},{"p":"org.glassfish.tyrus.core.cluster","l":"BroadcastListener"},{"p":"javax.websocket","l":"ClientEndpointConfig.Builder"},{"p":"javax.websocket.server","l":"ServerEndpointConfig.Builder"},{"p":"org.glassfish.tyrus.client.auth","l":"AuthConfig.Builder"},{"p":"org.glassfish.tyrus.core","l":"RequestContext.Builder"},{"p":"org.glassfish.tyrus.core","l":"TyrusServerEndpointConfig.Builder"},{"p":"org.glassfish.tyrus.core.frame","l":"Frame.Builder"},{"p":"org.glassfish.tyrus.core.coder","l":"PrimitiveDecoders.ByteDecoder"},{"p":"org.glassfish.tyrus.gf.cdi","l":"CdiComponentProvider"},{"p":"org.glassfish.tyrus.core.coder","l":"PrimitiveDecoders.CharacterDecoder"},{"p":"org.glassfish.tyrus.core","l":"ReflectionHelper.ClassTypePair"},{"p":"org.glassfish.tyrus.spi","l":"ClientContainer"},{"p":"javax.websocket","l":"ClientEndpoint"},{"p":"javax.websocket","l":"ClientEndpointConfig"},{"p":"org.glassfish.tyrus.spi","l":"ClientEngine"},{"p":"org.glassfish.tyrus.client","l":"TyrusClientEngine.ClientHandshakeListener"},{"p":"org.glassfish.tyrus.client","l":"ClientManager"},{"p":"org.glassfish.tyrus.client","l":"ClientProperties"},{"p":"org.glassfish.tyrus.spi","l":"ClientEngine.ClientUpgradeInfo"},{"p":"org.glassfish.tyrus.spi","l":"ClientEngine.ClientUpgradeStatus"},{"p":"javax.websocket","l":"CloseReason.CloseCode"},{"p":"javax.websocket","l":"CloseReason.CloseCodes"},{"p":"org.glassfish.tyrus.core.frame","l":"CloseFrame"},{"p":"org.glassfish.tyrus.spi","l":"Connection.CloseListener"},{"p":"javax.websocket","l":"CloseReason"},{"p":"org.glassfish.tyrus.core","l":"CloseReasons"},{"p":"org.glassfish.tyrus.core.cluster","l":"ClusterContext"},{"p":"org.glassfish.tyrus.core.coder","l":"CoderAdapter"},{"p":"org.glassfish.tyrus.core.coder","l":"CoderWrapper"},{"p":"org.glassfish.tyrus.spi","l":"CompletionHandler"},{"p":"org.glassfish.tyrus.core","l":"ComponentProvider"},{"p":"org.glassfish.tyrus.core","l":"ComponentProviderService"},{"p":"org.glassfish.tyrus.container.grizzly.client","l":"TaskProcessor.Condition"},{"p":"javax.websocket","l":"ClientEndpointConfig.Configurator"},{"p":"javax.websocket.server","l":"ServerEndpointConfig.Configurator"},{"p":"org.glassfish.tyrus.spi","l":"Connection"},{"p":"javax.websocket","l":"ContainerProvider"},{"p":"org.glassfish.tyrus.client.auth","l":"Credentials"},{"p":"org.glassfish.tyrus.core","l":"DebugContext"},{"p":"org.glassfish.tyrus.core","l":"ReflectionHelper.DeclaringClassInterfacePair"},{"p":"javax.websocket","l":"DecodeException"},{"p":"javax.websocket","l":"Decoder"},{"p":"org.glassfish.tyrus.core","l":"DefaultComponentProvider"},{"p":"org.glassfish.tyrus.core","l":"ServiceFinder.DefaultServiceIteratorProvider"},{"p":"javax.websocket","l":"DeploymentException"},{"p":"org.glassfish.tyrus.core.cluster","l":"RemoteSession.DistributedMapKey"},{"p":"org.glassfish.tyrus.core.cluster","l":"DistributedSession"},{"p":"org.glassfish.tyrus.core.coder","l":"PrimitiveDecoders.DoubleDecoder"},{"p":"org.glassfish.tyrus.gf.ejb","l":"EjbComponentProvider"},{"p":"javax.websocket","l":"EncodeException"},{"p":"javax.websocket","l":"Encoder"},{"p":"javax.websocket","l":"Endpoint"},{"p":"org.glassfish.tyrus.core.wsadl.model","l":"Endpoint"},{"p":"javax.websocket","l":"EndpointConfig"},{"p":"org.glassfish.tyrus.core.monitoring","l":"EndpointEventListener"},{"p":"org.glassfish.tyrus.core","l":"ErrorCollector"},{"p":"org.glassfish.tyrus.core","l":"ExecutorServiceProvider"},{"p":"org.glassfish.tyrus.core.extension","l":"ExtendedExtension"},{"p":"javax.websocket","l":"Extension"},{"p":"org.glassfish.tyrus.core.extension","l":"ExtendedExtension.ExtensionContext"},{"p":"org.glassfish.tyrus.core.coder","l":"PrimitiveDecoders.FloatDecoder"},{"p":"org.glassfish.tyrus.core.frame","l":"Frame"},{"p":"org.glassfish.tyrus.core.frame","l":"TyrusFrame.FrameType"},{"p":"org.glassfish.tyrus.container.grizzly.client","l":"GrizzlyClientContainer"},{"p":"org.glassfish.tyrus.container.grizzly.client","l":"GrizzlyClientProperties"},{"p":"org.glassfish.tyrus.container.grizzly.client","l":"GrizzlyClientSocket"},{"p":"org.glassfish.tyrus.container.grizzly.client","l":"GrizzlyContainerProvider"},{"p":"org.glassfish.tyrus.container.grizzly.server","l":"GrizzlyServerContainer"},{"p":"org.glassfish.tyrus.container.grizzly.client","l":"GrizzlyWriter"},{"p":"org.glassfish.tyrus.core","l":"Handshake"},{"p":"org.glassfish.tyrus.core","l":"HandshakeException"},{"p":"javax.websocket.server","l":"HandshakeRequest"},{"p":"javax.websocket","l":"HandshakeResponse"},{"p":"org.glassfish.tyrus.core.coder","l":"InputStreamDecoder"},{"p":"org.glassfish.tyrus.core.coder","l":"PrimitiveDecoders.IntegerDecoder"},{"p":"org.glassfish.tyrus.core","l":"RequestContext.Builder.IsUserInRoleDelegate"},{"p":"org.glassfish.tyrus.core.collection","l":"LazyValue"},{"p":"org.glassfish.tyrus.core.l10n","l":"Localizable"},{"p":"org.glassfish.tyrus.core.l10n","l":"LocalizableMessage"},{"p":"org.glassfish.tyrus.core.l10n","l":"LocalizableMessageFactory"},{"p":"org.glassfish.tyrus.core.l10n","l":"LocalizationMessages"},{"p":"org.glassfish.tyrus.core.l10n","l":"Localizer"},{"p":"org.glassfish.tyrus.core.coder","l":"PrimitiveDecoders.LongDecoder"},{"p":"org.glassfish.tyrus.core","l":"MaskingKeyGenerator"},{"p":"org.glassfish.tyrus.core.uri","l":"Match"},{"p":"org.glassfish.tyrus.core","l":"MaxSessions"},{"p":"org.glassfish.tyrus.core.monitoring","l":"MessageEventListener"},{"p":"javax.websocket","l":"MessageHandler"},{"p":"org.glassfish.tyrus.core","l":"MessageHandlerManager"},{"p":"org.glassfish.tyrus.spi","l":"WriterInfo.MessageType"},{"p":"org.glassfish.tyrus.core.uri.internal","l":"MultivaluedHashMap"},{"p":"org.glassfish.tyrus.core.uri.internal","l":"MultivaluedMap"},{"p":"org.glassfish.tyrus.core.uri.internal","l":"MultivaluedStringMap"},{"p":"org.glassfish.tyrus.core.coder","l":"NoOpByteArrayCoder"},{"p":"org.glassfish.tyrus.core.coder","l":"NoOpByteBufferCoder"},{"p":"org.glassfish.tyrus.core.coder","l":"NoOpTextCoder"},{"p":"org.glassfish.tyrus.core.wsadl.model","l":"ObjectFactory"},{"p":"javax.websocket","l":"OnClose"},{"p":"javax.websocket","l":"OnError"},{"p":"javax.websocket","l":"OnMessage"},{"p":"javax.websocket","l":"OnOpen"},{"p":"org.glassfish.tyrus.core","l":"TyrusEndpointWrapper.SessionListener.OnOpenResult"},{"p":"org.glassfish.tyrus.core","l":"OsgiRegistry"},{"p":"javax.websocket","l":"Extension.Parameter"},{"p":"org.glassfish.tyrus.core","l":"StrictUtf8.Parser"},{"p":"javax.websocket","l":"MessageHandler.Partial"},{"p":"javax.websocket.server","l":"PathParam"},{"p":"org.glassfish.tyrus.core.uri.internal","l":"PathPattern"},{"p":"org.glassfish.tyrus.core.uri.internal","l":"PathSegment"},{"p":"org.glassfish.tyrus.core.uri.internal","l":"PathTemplate"},{"p":"org.glassfish.tyrus.core.uri.internal","l":"PatternWithGroups"},{"p":"org.glassfish.tyrus.core.frame","l":"PingFrame"},{"p":"org.glassfish.tyrus.core.frame","l":"PongFrame"},{"p":"javax.websocket","l":"PongMessage"},{"p":"org.glassfish.tyrus.core.coder","l":"PrimitiveDecoders"},{"p":"org.glassfish.tyrus.core","l":"ProtocolException"},{"p":"org.glassfish.tyrus.core","l":"ProtocolHandler"},{"p":"org.glassfish.tyrus.core.coder","l":"ReaderDecoder"},{"p":"org.glassfish.tyrus.spi","l":"ReadHandler"},{"p":"org.glassfish.tyrus.client","l":"ClientManager.ReconnectHandler"},{"p":"org.glassfish.tyrus.client","l":"RedirectException"},{"p":"org.glassfish.tyrus.core","l":"ReflectionHelper"},{"p":"javax.websocket","l":"RemoteEndpoint"},{"p":"org.glassfish.tyrus.spi","l":"WriterInfo.RemoteEndpointType"},{"p":"org.glassfish.tyrus.core.cluster","l":"RemoteSession"},{"p":"org.glassfish.tyrus.core","l":"RequestContext"},{"p":"org.glassfish.tyrus.client","l":"RetryAfterException"},{"p":"org.glassfish.tyrus.core.uri.internal","l":"PathPattern.RightHandPath"},{"p":"javax.websocket","l":"SendHandler"},{"p":"javax.websocket","l":"SendResult"},{"p":"org.glassfish.tyrus.server","l":"Server"},{"p":"javax.websocket.server","l":"ServerApplicationConfig"},{"p":"javax.websocket.server","l":"ServerContainer"},{"p":"org.glassfish.tyrus.spi","l":"ServerContainer"},{"p":"org.glassfish.tyrus.spi","l":"ServerContainerFactory"},{"p":"javax.websocket.server","l":"ServerEndpoint"},{"p":"javax.websocket.server","l":"ServerEndpointConfig"},{"p":"org.glassfish.tyrus.core","l":"ServiceConfigurationError"},{"p":"org.glassfish.tyrus.core","l":"ServiceFinder"},{"p":"org.glassfish.tyrus.core","l":"ServiceFinder.ServiceIteratorProvider"},{"p":"javax.websocket","l":"Session"},{"p":"org.glassfish.tyrus.core.cluster","l":"SessionEventListener"},{"p":"javax.websocket","l":"SessionException"},{"p":"org.glassfish.tyrus.core","l":"TyrusEndpointWrapper.SessionListener"},{"p":"org.glassfish.tyrus.core.cluster","l":"SessionListener"},{"p":"org.glassfish.tyrus.core.coder","l":"PrimitiveDecoders.ShortDecoder"},{"p":"org.glassfish.tyrus.core","l":"BaseContainer.ShutDownCondition"},{"p":"org.glassfish.tyrus.client","l":"SslContextConfigurator"},{"p":"org.glassfish.tyrus.client","l":"SslEngineConfigurator"},{"p":"org.glassfish.tyrus.core","l":"StrictUtf8"},{"p":"org.glassfish.tyrus.core","l":"Utils.Stringifier"},{"p":"org.glassfish.tyrus.container.grizzly.client","l":"TaskProcessor.Task"},{"p":"org.glassfish.tyrus.container.grizzly.client","l":"TaskProcessor"},{"p":"javax.websocket","l":"Decoder.Text"},{"p":"javax.websocket","l":"Encoder.Text"},{"p":"org.glassfish.tyrus.core.frame","l":"TextFrame"},{"p":"javax.websocket","l":"Decoder.TextStream"},{"p":"javax.websocket","l":"Encoder.TextStream"},{"p":"org.glassfish.tyrus.client","l":"ThreadPoolConfig"},{"p":"org.glassfish.tyrus.spi","l":"ClientEngine.TimeoutHandler"},{"p":"org.glassfish.tyrus.core.coder","l":"ToStringEncoder"},{"p":"org.glassfish.tyrus.core","l":"DebugContext.TracingThreshold"},{"p":"org.glassfish.tyrus.core","l":"DebugContext.TracingType"},{"p":"org.glassfish.tyrus.core","l":"DebugContext.Type"},{"p":"org.glassfish.tyrus.core.uri.internal","l":"UriComponent.Type"},{"p":"org.glassfish.tyrus.core","l":"ReflectionHelper.TypeClassPair"},{"p":"org.glassfish.tyrus.client","l":"TyrusClientEngine"},{"p":"org.glassfish.tyrus.core","l":"TyrusEndpointWrapper"},{"p":"org.glassfish.tyrus.core","l":"TyrusExtension"},{"p":"org.glassfish.tyrus.core.frame","l":"TyrusFrame"},{"p":"org.glassfish.tyrus.core","l":"TyrusFuture"},{"p":"org.glassfish.tyrus.servlet","l":"TyrusHttpUpgradeHandler"},{"p":"org.glassfish.tyrus.core","l":"TyrusExtension.TyrusParameter"},{"p":"org.glassfish.tyrus.core","l":"TyrusRemoteEndpoint"},{"p":"org.glassfish.tyrus.server","l":"TyrusServerConfiguration"},{"p":"org.glassfish.tyrus.server","l":"TyrusServerContainer"},{"p":"org.glassfish.tyrus.core","l":"TyrusServerEndpointConfig"},{"p":"org.glassfish.tyrus.core","l":"TyrusServerEndpointConfigurator"},{"p":"org.glassfish.tyrus.servlet","l":"TyrusServletContainerInitializer"},{"p":"org.glassfish.tyrus.core","l":"TyrusSession"},{"p":"org.glassfish.tyrus.core","l":"TyrusUpgradeResponse"},{"p":"org.glassfish.tyrus.core","l":"TyrusWebSocket"},{"p":"org.glassfish.tyrus.core","l":"TyrusWebSocketEngine"},{"p":"org.glassfish.tyrus.core","l":"TyrusWebSocketEngine.TyrusWebSocketEngineBuilder"},{"p":"org.glassfish.tyrus.spi","l":"WebSocketEngine.UpgradeInfo"},{"p":"org.glassfish.tyrus.spi","l":"UpgradeRequest"},{"p":"org.glassfish.tyrus.spi","l":"UpgradeResponse"},{"p":"org.glassfish.tyrus.spi","l":"WebSocketEngine.UpgradeStatus"},{"p":"org.glassfish.tyrus.core.uri.internal","l":"UriComponent"},{"p":"org.glassfish.tyrus.core.uri.internal","l":"UriTemplate"},{"p":"org.glassfish.tyrus.core.uri.internal","l":"UriTemplateParser"},{"p":"org.glassfish.tyrus.core","l":"Utf8DecodingException"},{"p":"org.glassfish.tyrus.core","l":"Utils"},{"p":"org.glassfish.tyrus.core.collection","l":"Value"},{"p":"org.glassfish.tyrus.core.collection","l":"Values"},{"p":"org.glassfish.tyrus.core","l":"Version"},{"p":"org.glassfish.tyrus.container.grizzly.server","l":"WebSocketAddOn"},{"p":"javax.websocket","l":"WebSocketContainer"},{"p":"org.glassfish.tyrus.spi","l":"WebSocketEngine"},{"p":"org.glassfish.tyrus.core","l":"WebSocketException"},{"p":"javax.websocket","l":"MessageHandler.Whole"},{"p":"org.glassfish.tyrus.spi","l":"Writer"},{"p":"org.glassfish.tyrus.spi","l":"WriterInfo"}] \ No newline at end of file diff --git a/apidocs/1.19/type-search-index.zip b/apidocs/1.19/type-search-index.zip new file mode 100644 index 00000000..29e280e6 Binary files /dev/null and b/apidocs/1.19/type-search-index.zip differ diff --git a/apidocs/latest1x/allclasses-frame.html b/apidocs/latest1x/allclasses-frame.html deleted file mode 100644 index b27b13d5..00000000 --- a/apidocs/latest1x/allclasses-frame.html +++ /dev/null @@ -1,236 +0,0 @@ - - - - - - -All Classes (Tyrus 1.18 API) - - - - - -

    All Classes

    -
    - -
    - - diff --git a/apidocs/latest1x/allclasses-index.html b/apidocs/latest1x/allclasses-index.html new file mode 100644 index 00000000..e3c882c3 --- /dev/null +++ b/apidocs/latest1x/allclasses-index.html @@ -0,0 +1,1534 @@ + + + + + +All Classes (Tyrus 1.19 API) + + + + + + + + + + + + + + + +
    + +
    +
    +
    +

    All Classes

    +
    +
    + +
    +
    + + + diff --git a/apidocs/latest1x/allclasses.html b/apidocs/latest1x/allclasses.html new file mode 100644 index 00000000..760a909b --- /dev/null +++ b/apidocs/latest1x/allclasses.html @@ -0,0 +1,248 @@ + + + + + +All Classes (Tyrus 1.19 API) + + + + + + + + + + + + + +

    All Classes

    +
    + +
    + + diff --git a/apidocs/latest1x/allpackages-index.html b/apidocs/latest1x/allpackages-index.html new file mode 100644 index 00000000..e823be11 --- /dev/null +++ b/apidocs/latest1x/allpackages-index.html @@ -0,0 +1,293 @@ + + + + + +All Packages (Tyrus 1.19 API) + + + + + + + + + + + + + + + +
    + +
    +
    +
    +

    All Packages

    +
    +
    + +
    +
    + + + diff --git a/apidocs/latest1x/constant-values.html b/apidocs/latest1x/constant-values.html index 557a06cb..835656a4 100644 --- a/apidocs/latest1x/constant-values.html +++ b/apidocs/latest1x/constant-values.html @@ -1,38 +1,52 @@ - + - + +Constant Field Values (Tyrus 1.19 API) -Constant Field Values (Tyrus 1.18 API) - + + + + + + + + +var pathtoroot = "./"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
    + +
    +

    Constant Field Values

    +

    Contents

    +
    -
    +
    +

    javax.websocket.*

    - +
    + +

    org.glassfish.*

    +
    +
    + diff --git a/apidocs/latest1x/deprecated-list.html b/apidocs/latest1x/deprecated-list.html index 7b522bb5..45428577 100644 --- a/apidocs/latest1x/deprecated-list.html +++ b/apidocs/latest1x/deprecated-list.html @@ -1,38 +1,52 @@ - + - + +Deprecated List (Tyrus 1.19 API) -Deprecated List (Tyrus 1.18 API) - + + + + + + + + +var pathtoroot = "./"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
    + +
    +

    Deprecated API

    Contents

    -
    +
    - +
    +
    + diff --git a/apidocs/latest1x/element-list b/apidocs/latest1x/element-list new file mode 100644 index 00000000..5d409fdb --- /dev/null +++ b/apidocs/latest1x/element-list @@ -0,0 +1,22 @@ +javax.websocket +javax.websocket.server +org.glassfish.tyrus.client +org.glassfish.tyrus.client.auth +org.glassfish.tyrus.container.grizzly.client +org.glassfish.tyrus.container.grizzly.server +org.glassfish.tyrus.core +org.glassfish.tyrus.core.cluster +org.glassfish.tyrus.core.coder +org.glassfish.tyrus.core.collection +org.glassfish.tyrus.core.extension +org.glassfish.tyrus.core.frame +org.glassfish.tyrus.core.l10n +org.glassfish.tyrus.core.monitoring +org.glassfish.tyrus.core.uri +org.glassfish.tyrus.core.uri.internal +org.glassfish.tyrus.core.wsadl.model +org.glassfish.tyrus.gf.cdi +org.glassfish.tyrus.gf.ejb +org.glassfish.tyrus.server +org.glassfish.tyrus.servlet +org.glassfish.tyrus.spi diff --git a/apidocs/latest1x/help-doc.html b/apidocs/latest1x/help-doc.html index 375dc705..6377fd66 100644 --- a/apidocs/latest1x/help-doc.html +++ b/apidocs/latest1x/help-doc.html @@ -1,38 +1,52 @@ - + - + +API Help (Tyrus 1.19 API) -API Help (Tyrus 1.18 API) - + + + + + + + + +var pathtoroot = "./"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
    + +
    +

    How This API Document Is Organized

    This API (Application Programming Interface) document has pages corresponding to the items in the navigation bar, described as follows.
    @@ -77,118 +101,148 @@
    • +

      Overview

      -

      The Overview page is the front page of this API document and provides a list of all packages with a summary for each. This page can also contain an overall description of the set of packages.

      +

      The Overview page is the front page of this API document and provides a list of all packages with a summary for each. This page can also contain an overall description of the set of packages.

      +
    • +

      Package

      -

      Each package has a page that contains a list of its classes and interfaces, with a summary for each. This page can contain six categories:

      +

      Each package has a page that contains a list of its classes and interfaces, with a summary for each. These pages may contain six categories:

        -
      • Interfaces (italic)
      • +
      • Interfaces
      • Classes
      • Enums
      • Exceptions
      • Errors
      • Annotation Types
      +
    • -

      Class/Interface

      +
      +

      Class or Interface

      Each class, interface, nested class and nested interface has its own separate page. Each of these pages has three sections consisting of a class/interface description, summary tables, and detailed member descriptions:

        -
      • Class inheritance diagram
      • +
      • Class Inheritance Diagram
      • Direct Subclasses
      • All Known Subinterfaces
      • All Known Implementing Classes
      • -
      • Class/interface declaration
      • -
      • Class/interface description
      • +
      • Class or Interface Declaration
      • +
      • Class or Interface Description
      +
      • Nested Class Summary
      • Field Summary
      • +
      • Property Summary
      • Constructor Summary
      • Method Summary
      +
      • Field Detail
      • +
      • Property Detail
      • Constructor Detail
      • Method Detail

      Each summary entry contains the first sentence from the detailed description for that item. The summary entries are alphabetical, while the detailed descriptions are in the order they appear in the source code. This preserves the logical groupings established by the programmer.

      +
    • +

      Annotation Type

      Each annotation type has its own separate page with the following sections:

        -
      • Annotation Type declaration
      • -
      • Annotation Type description
      • +
      • Annotation Type Declaration
      • +
      • Annotation Type Description
      • Required Element Summary
      • Optional Element Summary
      • Element Detail
      +
    • +

      Enum

      Each enum has its own separate page with the following sections:

        -
      • Enum declaration
      • -
      • Enum description
      • +
      • Enum Declaration
      • +
      • Enum Description
      • Enum Constant Summary
      • Enum Constant Detail
      +
    • +

      Use

      -

      Each documented package, class and interface has its own Use page. This page describes what packages, classes, methods, constructors and fields use any part of the given class or package. Given a class or interface A, its Use page includes subclasses of A, fields declared as A, methods that return A, and methods and constructors with parameters of type A. You can access this page by first going to the package, class or interface, then clicking on the "Use" link in the navigation bar.

      +

      Each documented package, class and interface has its own Use page. This page describes what packages, classes, methods, constructors and fields use any part of the given class or package. Given a class or interface A, its "Use" page includes subclasses of A, fields declared as A, methods that return A, and methods and constructors with parameters of type A. You can access this page by first going to the package, class or interface, then clicking on the "Use" link in the navigation bar.

      +
    • +

      Tree (Class Hierarchy)

      -

      There is a Class Hierarchy page for all packages, plus a hierarchy for each package. Each hierarchy page contains a list of classes and a list of interfaces. The classes are organized by inheritance structure starting with java.lang.Object. The interfaces do not inherit from java.lang.Object.

      +

      There is a Class Hierarchy page for all packages, plus a hierarchy for each package. Each hierarchy page contains a list of classes and a list of interfaces. Classes are organized by inheritance structure starting with java.lang.Object. Interfaces do not inherit from java.lang.Object.

      • When viewing the Overview page, clicking on "Tree" displays the hierarchy for all packages.
      • -
      • When viewing a particular package, class or interface page, clicking "Tree" displays the hierarchy for only that package.
      • +
      • When viewing a particular package, class or interface page, clicking on "Tree" displays the hierarchy for only that package.
      +
    • +

      Deprecated API

      The Deprecated API page lists all of the API that have been deprecated. A deprecated API is not recommended for use, generally due to improvements, and a replacement API is usually given. Deprecated APIs may be removed in future implementations.

      +
    • +

      Index

      -

      The Index contains an alphabetic list of all classes, interfaces, constructors, methods, and fields.

      +

      The Index contains an alphabetic index of all classes, interfaces, constructors, methods, and fields, as well as lists of all packages and all classes.

      +
    • -

      Prev/Next

      -

      These links take you to the next or previous class, interface, package, or related page.

      -
    • -
    • -

      Frames/No Frames

      -

      These links show and hide the HTML frames. All pages are available with or without frames.

      -
    • -
    • -

      All Classes

      -

      The All Classes link shows all classes and interfaces except non-static nested types.

      +
      +

      All Classes

      +

      The All Classes link shows all classes and interfaces except non-static nested types.

      +
    • +

      Serialized Form

      Each serializable or externalizable class has a description of its serialization fields and methods. This information is of interest to re-implementors, not to developers using the API. While there is no link in the navigation bar, you can get to this information by going to any serialized class and clicking "Serialized Form" in the "See also" section of the class description.

      +
    • +

      Constant Field Values

      The Constant Field Values page lists the static final fields and their values.

      +
      +
    • +
    • +
      +

      Search

      +

      You can search for definitions of modules, packages, types, fields, methods and other terms defined in the API, using some or all of the name. "Camel-case" abbreviations are supported: for example, "InpStr" will find "InputStream" and "InputStreamReader".

      +
    -This help file applies to API documentation generated using the standard doclet.
    +
    +This help file applies to API documentation generated by the standard doclet.
    +
    + diff --git a/apidocs/latest1x/index-all.html b/apidocs/latest1x/index-all.html index 4ba8d801..ff49cd94 100644 --- a/apidocs/latest1x/index-all.html +++ b/apidocs/latest1x/index-all.html @@ -1,38 +1,52 @@ - + - + +Index (Tyrus 1.19 API) -Index (Tyrus 1.18 API) - + + + + + + + + +var pathtoroot = "./"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
    + +
    +
    +
    A B C D E F G H I J K L M N O P Q R S T U V W 
    All Classes All Packages

    A

    -
    AbstractMultivaluedMap<K,V> - Class in org.glassfish.tyrus.core.uri.internal
    +
    AbstractMultivaluedMap<K,​V> - Class in org.glassfish.tyrus.core.uri.internal
    Abstract skeleton implementation of a MultivaluedMap that is backed by a [key, multi-value] store represented as a Map<K, List<V>>.
    -
    AbstractMultivaluedMap(Map<K, List<V>>) - Constructor for class org.glassfish.tyrus.core.uri.internal.AbstractMultivaluedMap
    +
    AbstractMultivaluedMap(Map<K, List<V>>) - Constructor for class org.glassfish.tyrus.core.uri.internal.AbstractMultivaluedMap
    Initialize the backing store in the abstract parent multivalued map implementation.
    -
    add(K, V) - Method in class org.glassfish.tyrus.core.uri.internal.AbstractMultivaluedMap
    +
    add(K, V) - Method in class org.glassfish.tyrus.core.uri.internal.AbstractMultivaluedMap
    Add a value to the current list of values for the supplied key.
    -
    add(K, V) - Method in interface org.glassfish.tyrus.core.uri.internal.MultivaluedMap
    +
    add(K, V) - Method in interface org.glassfish.tyrus.core.uri.internal.MultivaluedMap
    Add a value to the current list of values for the supplied key.
    -
    addAll(K, V...) - Method in class org.glassfish.tyrus.core.uri.internal.AbstractMultivaluedMap
    +
    addAll(K, List<V>) - Method in class org.glassfish.tyrus.core.uri.internal.AbstractMultivaluedMap
    -
    Add multiple values to the current list of values for the supplied key.
    +
    Add all the values from the supplied value list to the current list of + values for the supplied key.
    -
    addAll(K, List<V>) - Method in class org.glassfish.tyrus.core.uri.internal.AbstractMultivaluedMap
    +
    addAll(K, List<V>) - Method in interface org.glassfish.tyrus.core.uri.internal.MultivaluedMap
    Add all the values from the supplied value list to the current list of values for the supplied key.
    -
    addAll(K, V...) - Method in interface org.glassfish.tyrus.core.uri.internal.MultivaluedMap
    +
    addAll(K, V...) - Method in class org.glassfish.tyrus.core.uri.internal.AbstractMultivaluedMap
    Add multiple values to the current list of values for the supplied key.
    -
    addAll(K, List<V>) - Method in interface org.glassfish.tyrus.core.uri.internal.MultivaluedMap
    +
    addAll(K, V...) - Method in interface org.glassfish.tyrus.core.uri.internal.MultivaluedMap
    -
    Add all the values from the supplied value list to the current list of - values for the supplied key.
    +
    Add multiple values to the current list of values for the supplied key.
    -
    addEndpoint(Class<?>) - Method in interface javax.websocket.server.ServerContainer
    +
    addEndpoint(Class<?>) - Method in interface javax.websocket.server.ServerContainer
    Deploys the given annotated endpoint into this ServerContainer during the initialization phase of deploying the application.
    -
    addEndpoint(ServerEndpointConfig) - Method in interface javax.websocket.server.ServerContainer
    +
    addEndpoint(Class<?>) - Method in class org.glassfish.tyrus.server.TyrusServerContainer
     
    -
    addEndpoint(Class<?>) - Method in class org.glassfish.tyrus.server.TyrusServerContainer
    +
    addEndpoint(ServerEndpointConfig) - Method in interface javax.websocket.server.ServerContainer
     
    -
    addEndpoint(ServerEndpointConfig) - Method in class org.glassfish.tyrus.server.TyrusServerContainer
    +
    addEndpoint(ServerEndpointConfig) - Method in class org.glassfish.tyrus.server.TyrusServerContainer
     
    -
    addException(Exception) - Method in class org.glassfish.tyrus.core.ErrorCollector
    +
    addException(Exception) - Method in class org.glassfish.tyrus.core.ErrorCollector
    Add Exception to the collector.
    -
    addFirst(K, V) - Method in class org.glassfish.tyrus.core.uri.internal.AbstractMultivaluedMap
    +
    addFirst(K, V) - Method in class org.glassfish.tyrus.core.uri.internal.AbstractMultivaluedMap
    Add a value to the first position in the current list of values for the supplied key.
    -
    addFirst(K, V) - Method in interface org.glassfish.tyrus.core.uri.internal.MultivaluedMap
    +
    addFirst(K, V) - Method in interface org.glassfish.tyrus.core.uri.internal.MultivaluedMap
    Add a value to the first position in the current list of values for the supplied key.
    -
    addFirstNull(List<V>) - Method in class org.glassfish.tyrus.core.uri.internal.AbstractMultivaluedMap
    +
    addFirstNull(List<String>) - Method in class org.glassfish.tyrus.core.uri.internal.MultivaluedStringMap
    +
     
    +
    addFirstNull(List<V>) - Method in class org.glassfish.tyrus.core.uri.internal.AbstractMultivaluedMap
    Define the behavior for adding a null values to the first position in the value list.
    -
    addFirstNull(List<String>) - Method in class org.glassfish.tyrus.core.uri.internal.MultivaluedStringMap
    -
     
    -
    addMessageHandler(MessageHandler) - Method in interface javax.websocket.Session
    +
    addMessageHandler(Class<T>, MessageHandler.Partial<T>) - Method in interface javax.websocket.Session
    Register to handle to incoming messages in this conversation.
    -
    addMessageHandler(Class<T>, MessageHandler.Whole<T>) - Method in interface javax.websocket.Session
    +
    addMessageHandler(Class<T>, MessageHandler.Partial<T>) - Method in class org.glassfish.tyrus.core.cluster.RemoteSession
    -
    Register to handle to incoming messages in this conversation.
    +
    This method is not supported on RemoteSession.
    -
    addMessageHandler(Class<T>, MessageHandler.Partial<T>) - Method in interface javax.websocket.Session
    +
    addMessageHandler(Class<T>, MessageHandler.Partial<T>) - Method in class org.glassfish.tyrus.core.MessageHandlerManager
    -
    Register to handle to incoming messages in this conversation.
    +
    Add MessageHandler.Partial to the manager.
    -
    addMessageHandler(MessageHandler) - Method in class org.glassfish.tyrus.core.cluster.RemoteSession
    +
    addMessageHandler(Class<T>, MessageHandler.Partial<T>) - Method in class org.glassfish.tyrus.core.TyrusSession
    -
    This method is not supported on RemoteSession.
    +
    Register to handle to incoming messages in this conversation.
    -
    addMessageHandler(Class<T>, MessageHandler.Whole<T>) - Method in class org.glassfish.tyrus.core.cluster.RemoteSession
    +
    addMessageHandler(Class<T>, MessageHandler.Whole<T>) - Method in interface javax.websocket.Session
    -
    This method is not supported on RemoteSession.
    +
    Register to handle to incoming messages in this conversation.
    -
    addMessageHandler(Class<T>, MessageHandler.Partial<T>) - Method in class org.glassfish.tyrus.core.cluster.RemoteSession
    +
    addMessageHandler(Class<T>, MessageHandler.Whole<T>) - Method in class org.glassfish.tyrus.core.cluster.RemoteSession
    This method is not supported on RemoteSession.
    -
    addMessageHandler(MessageHandler) - Method in class org.glassfish.tyrus.core.MessageHandlerManager
    +
    addMessageHandler(Class<T>, MessageHandler.Whole<T>) - Method in class org.glassfish.tyrus.core.MessageHandlerManager
    -
    Add MessageHandler to the manager.
    +
    Add MessageHandler.Whole to the manager.
    -
    addMessageHandler(Class<T>, MessageHandler.Whole<T>) - Method in class org.glassfish.tyrus.core.MessageHandlerManager
    +
    addMessageHandler(Class<T>, MessageHandler.Whole<T>) - Method in class org.glassfish.tyrus.core.TyrusSession
    -
    Add MessageHandler.Whole to the manager.
    +
    Register to handle to incoming messages in this conversation.
    -
    addMessageHandler(Class<T>, MessageHandler.Partial<T>) - Method in class org.glassfish.tyrus.core.MessageHandlerManager
    +
    addMessageHandler(MessageHandler) - Method in interface javax.websocket.Session
    -
    Add MessageHandler.Partial to the manager.
    +
    Register to handle to incoming messages in this conversation.
    -
    addMessageHandler(MessageHandler) - Method in class org.glassfish.tyrus.core.TyrusSession
    +
    addMessageHandler(MessageHandler) - Method in class org.glassfish.tyrus.core.cluster.RemoteSession
    - +
    This method is not supported on RemoteSession.
    -
    addMessageHandler(Class<T>, MessageHandler.Whole<T>) - Method in class org.glassfish.tyrus.core.TyrusSession
    +
    addMessageHandler(MessageHandler) - Method in class org.glassfish.tyrus.core.MessageHandlerManager
    -
    Register to handle to incoming messages in this conversation.
    +
    Add MessageHandler to the manager.
    -
    addMessageHandler(Class<T>, MessageHandler.Partial<T>) - Method in class org.glassfish.tyrus.core.TyrusSession
    +
    addMessageHandler(MessageHandler) - Method in class org.glassfish.tyrus.core.TyrusSession
    -
    Register to handle to incoming messages in this conversation.
    +
    -
    addNull(List<V>) - Method in class org.glassfish.tyrus.core.uri.internal.AbstractMultivaluedMap
    +
    addNull(List<String>) - Method in class org.glassfish.tyrus.core.uri.internal.MultivaluedStringMap
    +
     
    +
    addNull(List<V>) - Method in class org.glassfish.tyrus.core.uri.internal.AbstractMultivaluedMap
    Define the behavior for adding a null values to the value list.
    -
    addNull(List<String>) - Method in class org.glassfish.tyrus.core.uri.internal.MultivaluedStringMap
    -
     
    -
    afterResponse(HandshakeResponse) - Method in class javax.websocket.ClientEndpointConfig.Configurator
    +
    afterResponse(HandshakeResponse) - Method in class javax.websocket.ClientEndpointConfig.Configurator
    This method is called by the implementation after it has received a handshake response from the server as a result of a handshake interaction it initiated.
    +
    ALL - org.glassfish.tyrus.core.DebugContext.TracingType
    +
    +
    Tracing headers will be present in all handshake responses.
    +
    ALL - Static variable in class org.glassfish.tyrus.core.coder.PrimitiveDecoders
     
    ALL_INSTANCES - Static variable in class org.glassfish.tyrus.core.coder.PrimitiveDecoders
    @@ -212,30 +240,34 @@
    Endpoint descendant which represents deployed annotated endpoint.
    +
    ANOTHER_UPGRADE_REQUEST_REQUIRED - org.glassfish.tyrus.spi.ClientEngine.ClientUpgradeStatus
    +
    +
    Client engine needs to send another request.
    +
    any - Variable in class org.glassfish.tyrus.core.wsadl.model.Application
     
    -
    appendBuffers(ByteBuffer, ByteBuffer, int, int) - Static method in class org.glassfish.tyrus.core.Utils
    +
    appendBuffers(ByteBuffer, ByteBuffer, int, int) - Static method in class org.glassfish.tyrus.core.Utils
    Concatenates two buffers into one.
    -
    appendLogMessage(Logger, Level, DebugContext.Type, Object...) - Method in class org.glassfish.tyrus.core.DebugContext
    +
    appendLogMessage(Logger, Level, DebugContext.Type, Object...) - Method in class org.glassfish.tyrus.core.DebugContext
    Append a message to the log, the logging will be postponed until the message can be provided with a session ID.
    -
    appendLogMessageWithThrowable(Logger, Level, DebugContext.Type, Throwable, Object...) - Method in class org.glassfish.tyrus.core.DebugContext
    +
    appendLogMessageWithThrowable(Logger, Level, DebugContext.Type, Throwable, Object...) - Method in class org.glassfish.tyrus.core.DebugContext
    Append a message to the log, the logging will be postponed until the message can be provided with a session ID.
    -
    appendStandardOutputMessage(DebugContext.Type, String) - Method in class org.glassfish.tyrus.core.DebugContext
    +
    appendStandardOutputMessage(DebugContext.Type, String) - Method in class org.glassfish.tyrus.core.DebugContext
    Write a message to the standard output, the logging will be postponed until the message can be provided with a session ID.
    -
    appendTraceMessage(Logger, Level, DebugContext.Type, Object...) - Method in class org.glassfish.tyrus.core.DebugContext
    +
    appendTraceMessage(Logger, Level, DebugContext.Type, Object...) - Method in class org.glassfish.tyrus.core.DebugContext
    Append a message to the log and to the list of trace messages that are sent in handshake response.
    -
    appendTraceMessageWithThrowable(Logger, Level, DebugContext.Type, Throwable, Object...) - Method in class org.glassfish.tyrus.core.DebugContext
    +
    appendTraceMessageWithThrowable(Logger, Level, DebugContext.Type, Throwable, Object...) - Method in class org.glassfish.tyrus.core.DebugContext
    Append a message to the log and to the list of trace messages that are sent in handshake response.
    @@ -243,9 +275,9 @@
    Java class for anonymous complex type.
    -
    Application() - Constructor for class org.glassfish.tyrus.core.wsadl.model.Application
    +
    Application() - Constructor for class org.glassfish.tyrus.core.wsadl.model.Application
     
    -
    APPLICATION_DATA_TOO_LONG(Object) - Static method in class org.glassfish.tyrus.core.l10n.LocalizationMessages
    +
    APPLICATION_DATA_TOO_LONG(Object) - Static method in class org.glassfish.tyrus.core.l10n.LocalizationMessages
    {0} applicationData exceeded the maximum allowed payload of 125 bytes.
    @@ -253,59 +285,63 @@
    A key used for registering a application event listener implementation.
    -
    ApplicationEventListener - Interface in org.glassfish.tyrus.core.monitoring
    +
    applicationEventListener(ApplicationEventListener) - Method in class org.glassfish.tyrus.core.TyrusWebSocketEngine.TyrusWebSocketEngineBuilder
    -
    Listens to application-level events that are interesting for monitoring.
    +
    -
    applicationEventListener(ApplicationEventListener) - Method in class org.glassfish.tyrus.core.TyrusWebSocketEngine.TyrusWebSocketEngineBuilder
    +
    ApplicationEventListener - Interface in org.glassfish.tyrus.core.monitoring
    - +
    Listens to application-level events that are interesting for monitoring.
    -
    ARGUMENT_NOT_NULL(Object) - Static method in class org.glassfish.tyrus.core.l10n.LocalizationMessages
    +
    ARGUMENT_NOT_NULL(Object) - Static method in class org.glassfish.tyrus.core.l10n.LocalizationMessages
    Argument ''{0}'' cannot be null.
    -
    asClosed(PathPattern) - Static method in class org.glassfish.tyrus.core.uri.internal.PathPattern
    +
    asClosed(PathPattern) - Static method in class org.glassfish.tyrus.core.uri.internal.PathPattern
    Return a new path pattern with a same path template but a closed right hand path.
    -
    asyncConnectToServer(Class<?>, URI) - Method in class org.glassfish.tyrus.client.ClientManager
    +
    ASYNC - org.glassfish.tyrus.spi.WriterInfo.RemoteEndpointType
    - +
    RemoteEndpoint.Async
    -
    asyncConnectToServer(Class<? extends Endpoint>, ClientEndpointConfig, URI) - Method in class org.glassfish.tyrus.client.ClientManager
    +
    asyncConnectToServer(Class<?>, URI) - Method in class org.glassfish.tyrus.client.ClientManager
    -
    +
    asyncConnectToServer(Class<?>, URI) - Method in class org.glassfish.tyrus.server.TyrusServerContainer
    +
    + +
    +
    asyncConnectToServer(Class<? extends Endpoint>, ClientEndpointConfig, URI) - Method in class org.glassfish.tyrus.client.ClientManager
    +
    +
    -
    asyncConnectToServer(Endpoint, ClientEndpointConfig, URI) - Method in class org.glassfish.tyrus.client.ClientManager
    +
    asyncConnectToServer(Class<? extends Endpoint>, ClientEndpointConfig, URI) - Method in class org.glassfish.tyrus.server.TyrusServerContainer
    -
    -
    asyncConnectToServer(Object, URI) - Method in class org.glassfish.tyrus.client.ClientManager
    +
    asyncConnectToServer(Object, URI) - Method in class org.glassfish.tyrus.client.ClientManager
    - +
    -
    asyncConnectToServer(Class<?>, URI) - Method in class org.glassfish.tyrus.server.TyrusServerContainer
    +
    asyncConnectToServer(Object, URI) - Method in class org.glassfish.tyrus.server.TyrusServerContainer
    - +
    -
    asyncConnectToServer(Class<? extends Endpoint>, ClientEndpointConfig, URI) - Method in class org.glassfish.tyrus.server.TyrusServerContainer
    +
    asyncConnectToServer(Endpoint, ClientEndpointConfig, URI) - Method in class org.glassfish.tyrus.client.ClientManager
    -
    -
    asyncConnectToServer(Endpoint, ClientEndpointConfig, URI) - Method in class org.glassfish.tyrus.server.TyrusServerContainer
    +
    asyncConnectToServer(Endpoint, ClientEndpointConfig, URI) - Method in class org.glassfish.tyrus.server.TyrusServerContainer
    -
    -
    asyncConnectToServer(Object, URI) - Method in class org.glassfish.tyrus.server.TyrusServerContainer
    -
    - -
    AUTH_CONFIG - Static variable in class org.glassfish.tyrus.client.ClientProperties
    Authentication configuration.
    @@ -319,23 +355,23 @@
    The AuthConfig.Builder is a class used for creating an instance of AuthConfig for purpose of HTTP Authentication.
    -
    AUTHENTICATION_CREATE_AUTH_HEADER_FAILED() - Static method in class org.glassfish.tyrus.core.l10n.LocalizationMessages
    +
    AUTHENTICATION_CREATE_AUTH_HEADER_FAILED() - Static method in class org.glassfish.tyrus.core.l10n.LocalizationMessages
    Could not add authorization header in http request.
    -
    AUTHENTICATION_CREDENTIALS_MISSING() - Static method in class org.glassfish.tyrus.core.l10n.LocalizationMessages
    +
    AUTHENTICATION_CREDENTIALS_MISSING() - Static method in class org.glassfish.tyrus.core.l10n.LocalizationMessages
    Credentials are missing.
    -
    AUTHENTICATION_DIGEST_NO_SUCH_ALG() - Static method in class org.glassfish.tyrus.core.l10n.LocalizationMessages
    +
    AUTHENTICATION_DIGEST_NO_SUCH_ALG() - Static method in class org.glassfish.tyrus.core.l10n.LocalizationMessages
    No such algorithm to generate authorization digest http header.
    -
    AUTHENTICATION_DIGEST_QOP_UNSUPPORTED(Object) - Static method in class org.glassfish.tyrus.core.l10n.LocalizationMessages
    +
    AUTHENTICATION_DIGEST_QOP_UNSUPPORTED(Object) - Static method in class org.glassfish.tyrus.core.l10n.LocalizationMessages
    The 'qop' (quality of protection) = {0} extension requested by the server is not supported by Tyrus.
    -
    AUTHENTICATION_FAILED() - Static method in class org.glassfish.tyrus.core.l10n.LocalizationMessages
    +
    AUTHENTICATION_FAILED() - Static method in class org.glassfish.tyrus.core.l10n.LocalizationMessages
    Authentication failed.
    @@ -345,10 +381,10 @@ fails because of any of the following: - HTTP response status code 401 is received and "" header + HTTP response status code 401 is received and ""WWW-Authenticate"" header contains scheme which is not handled by any Authenticator registered in AuthConfig.
    -
    AuthenticationException(String) - Constructor for exception org.glassfish.tyrus.client.auth.AuthenticationException
    +
    AuthenticationException(String) - Constructor for exception org.glassfish.tyrus.client.auth.AuthenticationException
    Constructor.
    @@ -356,14 +392,18 @@
    Authenticator provides a way how to plug-in custom authentication provider.
    -
    Authenticator() - Constructor for class org.glassfish.tyrus.client.auth.Authenticator
    +
    Authenticator() - Constructor for class org.glassfish.tyrus.client.auth.Authenticator
     
    +
    AUTHORITY - org.glassfish.tyrus.core.uri.internal.UriComponent.Type
    +
    +
    The URI authority component type.
    +
    AUTHORIZATION - Static variable in class org.glassfish.tyrus.spi.UpgradeRequest
    HTTP "Authorization" header name.
    - +

    B

    @@ -372,11 +412,15 @@
    Base WebSocket container.
    -
    BaseContainer() - Constructor for class org.glassfish.tyrus.core.BaseContainer
    +
    BaseContainer() - Constructor for class org.glassfish.tyrus.core.BaseContainer
     
    BaseContainer.ShutDownCondition - Interface in org.glassfish.tyrus.core
     
    -
    beforeRequest(Map<String, List<String>>) - Method in class javax.websocket.ClientEndpointConfig.Configurator
    +
    BASIC - org.glassfish.tyrus.spi.WriterInfo.RemoteEndpointType
    +
    +
    RemoteEndpoint.Basic
    +
    +
    beforeRequest(Map<String, List<String>>) - Method in class javax.websocket.ClientEndpointConfig.Configurator
    This method is called by the implementation after it has formulated the handshake request that will be used to initiate the connection to the server, but before it has @@ -386,11 +430,27 @@
    Marker of a public Tyrus API that is still in "beta" non-final version.
    -
    BINARY_MESSAGE_HANDLER_NOT_FOUND(Object) - Static method in class org.glassfish.tyrus.core.l10n.LocalizationMessages
    +
    BINARY - org.glassfish.tyrus.core.frame.TyrusFrame.FrameType
    +
    +
    Binary frame.
    +
    +
    BINARY - org.glassfish.tyrus.spi.WriterInfo.MessageType
    +
    +
    Binary type.
    +
    +
    BINARY_CONTINUATION - org.glassfish.tyrus.core.frame.TyrusFrame.FrameType
    +
    +
    Continuation binary frame.
    +
    +
    BINARY_CONTINUATION - org.glassfish.tyrus.spi.WriterInfo.MessageType
    +
    +
    Continuation binary type.
    +
    +
    BINARY_MESSAGE_HANDLER_NOT_FOUND(Object) - Static method in class org.glassfish.tyrus.core.l10n.LocalizationMessages
    Binary message handler not found.
    -
    BINARY_MESSAGE_OUT_OF_ORDER(Object) - Static method in class org.glassfish.tyrus.core.l10n.LocalizationMessages
    +
    BINARY_MESSAGE_OUT_OF_ORDER(Object) - Static method in class org.glassfish.tyrus.core.l10n.LocalizationMessages
    Binary message received out of order.
    @@ -398,29 +458,33 @@
    Binary frame representation.
    -
    BinaryFrame(Frame) - Constructor for class org.glassfish.tyrus.core.frame.BinaryFrame
    +
    BinaryFrame(byte[], boolean, boolean) - Constructor for class org.glassfish.tyrus.core.frame.BinaryFrame
    Constructor.
    -
    BinaryFrame(Frame, boolean) - Constructor for class org.glassfish.tyrus.core.frame.BinaryFrame
    +
    BinaryFrame(Frame) - Constructor for class org.glassfish.tyrus.core.frame.BinaryFrame
    Constructor.
    -
    BinaryFrame(byte[], boolean, boolean) - Constructor for class org.glassfish.tyrus.core.frame.BinaryFrame
    +
    BinaryFrame(Frame, boolean) - Constructor for class org.glassfish.tyrus.core.frame.BinaryFrame
    Constructor.
    -
    BooleanDecoder() - Constructor for class org.glassfish.tyrus.core.coder.PrimitiveDecoders.BooleanDecoder
    +
    BooleanDecoder() - Constructor for class org.glassfish.tyrus.core.coder.PrimitiveDecoders.BooleanDecoder
     
    -
    broadcast(String) - Method in class org.glassfish.tyrus.core.TyrusSession
    +
    broadcast(String) - Method in class org.glassfish.tyrus.core.TyrusSession
    Broadcasts text message to all connected clients.
    -
    broadcast(ByteBuffer) - Method in class org.glassfish.tyrus.core.TyrusSession
    +
    broadcast(ByteBuffer) - Method in class org.glassfish.tyrus.core.TyrusSession
    Broadcasts binary message to all connected clients, including remote sessions (if any).
    -
    broadcastBinary(String, byte[]) - Method in class org.glassfish.tyrus.core.cluster.ClusterContext
    +
    BROADCAST - org.glassfish.tyrus.spi.WriterInfo.RemoteEndpointType
    +
    +
    Broadcast
    +
    +
    broadcastBinary(String, byte[]) - Method in class org.glassfish.tyrus.core.cluster.ClusterContext
    Broadcast binary message.
    @@ -428,78 +492,78 @@
    Broadcast listener.
    -
    broadcastText(String, String) - Method in class org.glassfish.tyrus.core.cluster.ClusterContext
    +
    broadcastText(String, String) - Method in class org.glassfish.tyrus.core.cluster.ClusterContext
    Broadcast text message.
    -
    BUFFER_OVERFLOW() - Static method in class org.glassfish.tyrus.core.l10n.LocalizationMessages
    +
    BUFFER_OVERFLOW() - Static method in class org.glassfish.tyrus.core.l10n.LocalizationMessages
    Buffer overflow.
    -
    build() - Method in class javax.websocket.ClientEndpointConfig.Builder
    +
    build() - Method in class javax.websocket.ClientEndpointConfig.Builder
    Builds a configuration object using the attributes set on this builder.
    -
    build() - Method in class javax.websocket.server.ServerEndpointConfig.Builder
    +
    build() - Method in class javax.websocket.server.ServerEndpointConfig.Builder
    Builds the configuration object using the current attributes that have been set on this builder object.
    -
    build() - Method in class org.glassfish.tyrus.client.auth.AuthConfig.Builder
    +
    build() - Method in class org.glassfish.tyrus.client.auth.AuthConfig.Builder
    Build an instance of AuthConfig.
    -
    build() - Method in class org.glassfish.tyrus.core.frame.Frame.Builder
    +
    build() - Method in class org.glassfish.tyrus.core.frame.Frame.Builder
    Build new frame.
    -
    build() - Method in class org.glassfish.tyrus.core.RequestContext.Builder
    +
    build() - Method in class org.glassfish.tyrus.core.RequestContext.Builder
    Build RequestContext from given properties.
    -
    build() - Method in class org.glassfish.tyrus.core.TyrusServerEndpointConfig.Builder
    +
    build() - Method in class org.glassfish.tyrus.core.TyrusServerEndpointConfig.Builder
    Builds the configuration object using the current attributes that have been set on this builder object.
    -
    build() - Method in class org.glassfish.tyrus.core.TyrusWebSocketEngine.TyrusWebSocketEngineBuilder
    +
    build() - Method in class org.glassfish.tyrus.core.TyrusWebSocketEngine.TyrusWebSocketEngineBuilder
    Create new TyrusWebSocketEngine instance with current set of parameters.
    -
    builder() - Static method in class org.glassfish.tyrus.client.auth.AuthConfig
    +
    builder() - Static method in class org.glassfish.tyrus.client.auth.AuthConfig
    Create new AuthConfig.Builder instance, which contains provided Basic and Digest authenticators.
    -
    builder() - Static method in class org.glassfish.tyrus.core.frame.Frame
    +
    builder() - Static method in class org.glassfish.tyrus.core.frame.Frame
    Create new Frame.Builder.
    -
    builder(Frame) - Static method in class org.glassfish.tyrus.core.frame.Frame
    +
    builder(WebSocketContainer) - Static method in class org.glassfish.tyrus.core.TyrusWebSocketEngine
    -
    Create new Frame.Builder based on provided frame.
    +
    -
    Builder() - Constructor for class org.glassfish.tyrus.core.frame.Frame.Builder
    +
    builder(Frame) - Static method in class org.glassfish.tyrus.core.frame.Frame
    -
    Constructor.
    +
    Create new Frame.Builder based on provided frame.
    -
    Builder(Frame) - Constructor for class org.glassfish.tyrus.core.frame.Frame.Builder
    +
    Builder() - Constructor for class org.glassfish.tyrus.core.frame.Frame.Builder
    Constructor.
    -
    Builder() - Constructor for class org.glassfish.tyrus.core.RequestContext.Builder
    +
    Builder() - Constructor for class org.glassfish.tyrus.core.RequestContext.Builder
     
    -
    builder(WebSocketContainer) - Static method in class org.glassfish.tyrus.core.TyrusWebSocketEngine
    +
    Builder(Frame) - Constructor for class org.glassfish.tyrus.core.frame.Frame.Builder
    - +
    Constructor.
    -
    bundleChanged(BundleEvent) - Method in class org.glassfish.tyrus.core.OsgiRegistry
    +
    bundleChanged(BundleEvent) - Method in class org.glassfish.tyrus.core.OsgiRegistry
     
    -
    ByteDecoder() - Constructor for class org.glassfish.tyrus.core.coder.PrimitiveDecoders.ByteDecoder
    +
    ByteDecoder() - Constructor for class org.glassfish.tyrus.core.coder.PrimitiveDecoders.ByteDecoder
     
    - +

    C

    @@ -510,100 +574,122 @@
    c - Variable in class org.glassfish.tyrus.core.ReflectionHelper.TypeClassPair
     
    -
    cancel(boolean) - Method in class org.glassfish.tyrus.core.TyrusFuture
    +
    cancel(boolean) - Method in class org.glassfish.tyrus.core.TyrusFuture
     
    -
    cancelled() - Method in class org.glassfish.tyrus.spi.CompletionHandler
    +
    cancelled() - Method in class org.glassfish.tyrus.spi.CompletionHandler
    The operation was cancelled.
    +
    CANNOT_ACCEPT - javax.websocket.CloseReason.CloseCodes
    +
    +
    1003 indicates that an endpoint is terminating the connection + because it has received a type of data it cannot accept (e.g., an + endpoint that understands only text data MAY send this if it + receives a binary message).
    +
    +
    CANNOT_ACCEPT - org.glassfish.tyrus.core.CloseReasons
    +
    +
    1003 indicates that an endpoint is terminating the connection + because it has received a type of data it cannot accept (e.g., an + endpoint that understands only text data MAY send this if it + receives a binary message).
    +
    +
    capturingZeroOrMoreSegments - org.glassfish.tyrus.core.uri.internal.PathPattern.RightHandPath
    +
    +
    A capturing group that matches zero or more path segments and keeps the matching path template open.
    +
    +
    capturingZeroSegments - org.glassfish.tyrus.core.uri.internal.PathPattern.RightHandPath
    +
    +
    A capturing group that matches zero segments and effectively closes the matching path template.
    +
    CdiComponentProvider - Class in org.glassfish.tyrus.gf.cdi
    Provides the instance for CDI class.
    -
    CdiComponentProvider() - Constructor for class org.glassfish.tyrus.gf.cdi.CdiComponentProvider
    +
    CdiComponentProvider() - Constructor for class org.glassfish.tyrus.gf.cdi.CdiComponentProvider
    Constructor.
    -
    CharacterDecoder() - Constructor for class org.glassfish.tyrus.core.coder.PrimitiveDecoders.CharacterDecoder
    +
    CharacterDecoder() - Constructor for class org.glassfish.tyrus.core.coder.PrimitiveDecoders.CharacterDecoder
     
    -
    checkNotNull(T, String) - Static method in class org.glassfish.tyrus.core.Utils
    +
    checkNotNull(T, String) - Static method in class org.glassfish.tyrus.core.Utils
    Check for null.
    -
    checkOrigin(String) - Method in class javax.websocket.server.ServerEndpointConfig.Configurator
    +
    checkOrigin(String) - Method in class javax.websocket.server.ServerEndpointConfig.Configurator
    Check the value of the Origin header (See Origin Header) the client passed during the opening handshake.
    -
    checkOrigin(String) - Method in class org.glassfish.tyrus.core.TyrusServerEndpointConfigurator
    +
    checkOrigin(String) - Method in class org.glassfish.tyrus.core.TyrusServerEndpointConfigurator
     
    -
    CLASS_CHECKER_ADD_MESSAGE_HANDLER_ERROR(Object, Object) - Static method in class org.glassfish.tyrus.core.l10n.LocalizationMessages
    +
    CLASS_CHECKER_ADD_MESSAGE_HANDLER_ERROR(Object, Object) - Static method in class org.glassfish.tyrus.core.l10n.LocalizationMessages
    Class {0}.
    -
    CLASS_CHECKER_FORBIDDEN_RETURN_TYPE(Object, Object) - Static method in class org.glassfish.tyrus.core.l10n.LocalizationMessages
    +
    CLASS_CHECKER_FORBIDDEN_RETURN_TYPE(Object, Object) - Static method in class org.glassfish.tyrus.core.l10n.LocalizationMessages
    Method: {0}.{1}: has got unsupported return type.
    -
    CLASS_CHECKER_FORBIDDEN_WEB_SOCKET_CLOSE_PARAM(Object, Object) - Static method in class org.glassfish.tyrus.core.l10n.LocalizationMessages
    +
    CLASS_CHECKER_FORBIDDEN_WEB_SOCKET_CLOSE_PARAM(Object, Object) - Static method in class org.glassfish.tyrus.core.l10n.LocalizationMessages
    Method: {0}.{1}: @OnClose has got different params than Session or CloseReason.
    -
    CLASS_CHECKER_FORBIDDEN_WEB_SOCKET_ERROR_PARAM(Object, Object, Object) - Static method in class org.glassfish.tyrus.core.l10n.LocalizationMessages
    +
    CLASS_CHECKER_FORBIDDEN_WEB_SOCKET_ERROR_PARAM(Object, Object, Object) - Static method in class org.glassfish.tyrus.core.l10n.LocalizationMessages
    Method: {0}.{1}: {2} is not allowed as parameter type for method annotated with @OnError.
    -
    CLASS_CHECKER_FORBIDDEN_WEB_SOCKET_OPEN_PARAM(Object, Object, Object) - Static method in class org.glassfish.tyrus.core.l10n.LocalizationMessages
    +
    CLASS_CHECKER_FORBIDDEN_WEB_SOCKET_OPEN_PARAM(Object, Object, Object) - Static method in class org.glassfish.tyrus.core.l10n.LocalizationMessages
    Method: {0}.{1}: {2} has got multiple parameters of identical type.
    -
    CLASS_CHECKER_MANDATORY_PARAM_MISSING(Object, Object) - Static method in class org.glassfish.tyrus.core.l10n.LocalizationMessages
    +
    CLASS_CHECKER_MANDATORY_PARAM_MISSING(Object, Object) - Static method in class org.glassfish.tyrus.core.l10n.LocalizationMessages
    Method: {0}.{1}: does not have mandatory Throwable param.
    -
    CLASS_CHECKER_MULTIPLE_IDENTICAL_PARAMS(Object, Object) - Static method in class org.glassfish.tyrus.core.l10n.LocalizationMessages
    +
    CLASS_CHECKER_MULTIPLE_IDENTICAL_PARAMS(Object, Object) - Static method in class org.glassfish.tyrus.core.l10n.LocalizationMessages
    Method: {0}.{1}: has got multiple parameters of identical type.
    -
    CLASS_NOT_INSTANTIATED(Object) - Static method in class org.glassfish.tyrus.core.l10n.LocalizationMessages
    +
    CLASS_NOT_INSTANTIATED(Object) - Static method in class org.glassfish.tyrus.core.l10n.LocalizationMessages
    Class {0} couldn''t be instantiated.
    -
    classForName(String) - Static method in class org.glassfish.tyrus.core.ReflectionHelper
    +
    classForName(String) - Static method in class org.glassfish.tyrus.core.ReflectionHelper
    Get the Class from the class name.
    -
    classForName(String, ClassLoader) - Static method in class org.glassfish.tyrus.core.ReflectionHelper
    +
    classForName(String, ClassLoader) - Static method in class org.glassfish.tyrus.core.ReflectionHelper
    Get the Class from the class name.
    -
    classForNameWithException(String) - Method in class org.glassfish.tyrus.core.OsgiRegistry
    +
    classForNameWithException(String) - Method in class org.glassfish.tyrus.core.OsgiRegistry
    Get the Class from the class name.
    -
    classForNameWithException(String) - Static method in class org.glassfish.tyrus.core.ReflectionHelper
    +
    classForNameWithException(String) - Static method in class org.glassfish.tyrus.core.ReflectionHelper
    Get the Class from the class name.
    -
    classForNameWithException(String, ClassLoader) - Static method in class org.glassfish.tyrus.core.ReflectionHelper
    +
    classForNameWithException(String, ClassLoader) - Static method in class org.glassfish.tyrus.core.ReflectionHelper
    Get the Class from the class name.
    -
    classForNameWithExceptionPEA(String) - Static method in class org.glassfish.tyrus.core.ReflectionHelper
    +
    classForNameWithExceptionPEA(String) - Static method in class org.glassfish.tyrus.core.ReflectionHelper
    Get privileged exception action to obtain Class from given class name.
    -
    classForNameWithExceptionPEA(String, ClassLoader) - Static method in class org.glassfish.tyrus.core.ReflectionHelper
    +
    classForNameWithExceptionPEA(String, ClassLoader) - Static method in class org.glassfish.tyrus.core.ReflectionHelper
    Get privileged exception action to obtain Class from given class name.
    -
    ClassTypePair(Class) - Constructor for class org.glassfish.tyrus.core.ReflectionHelper.ClassTypePair
    +
    ClassTypePair(Class) - Constructor for class org.glassfish.tyrus.core.ReflectionHelper.ClassTypePair
     
    -
    ClassTypePair(Class, Type) - Constructor for class org.glassfish.tyrus.core.ReflectionHelper.ClassTypePair
    +
    ClassTypePair(Class, Type) - Constructor for class org.glassfish.tyrus.core.ReflectionHelper.ClassTypePair
     
    -
    clear() - Method in class org.glassfish.tyrus.core.uri.internal.AbstractMultivaluedMap
    +
    clear() - Method in class org.glassfish.tyrus.core.uri.internal.AbstractMultivaluedMap
     
    -
    CLIENT_CANNOT_CONNECT(Object) - Static method in class org.glassfish.tyrus.core.l10n.LocalizationMessages
    +
    CLIENT_CANNOT_CONNECT(Object) - Static method in class org.glassfish.tyrus.core.l10n.LocalizationMessages
    Client cannot connect to "{0}".
    @@ -654,7 +740,7 @@
    ClientManager implementation.
    -
    ClientManager() - Constructor for class org.glassfish.tyrus.client.ClientManager
    +
    ClientManager() - Constructor for class org.glassfish.tyrus.client.ClientManager
    Create new ClientManager instance.
    @@ -670,72 +756,90 @@
    Tyrus client configuration properties.
    -
    ClientProperties() - Constructor for class org.glassfish.tyrus.client.ClientProperties
    +
    ClientProperties() - Constructor for class org.glassfish.tyrus.client.ClientProperties
     
    -
    close() - Method in interface javax.websocket.Session
    +
    close() - Method in interface javax.websocket.Session
    Close the current conversation with a normal status code and no reason phrase.
    -
    close(CloseReason) - Method in interface javax.websocket.Session
    +
    close() - Method in class org.glassfish.tyrus.container.grizzly.client.GrizzlyWriter
    +
     
    +
    close() - Method in class org.glassfish.tyrus.core.cluster.RemoteSession
    -
    Close the current conversation, giving a reason for the closure.
    +
    Close the current conversation with a normal status code and no reason phrase.
    +
    +
    close() - Method in class org.glassfish.tyrus.core.TyrusSession
    +
     
    +
    close() - Method in class org.glassfish.tyrus.core.TyrusWebSocket
    +
    +
    Closes this TyrusWebSocket.
    -
    close() - Method in class org.glassfish.tyrus.container.grizzly.client.GrizzlyWriter
    +
    close(int, String) - Method in class org.glassfish.tyrus.core.ProtocolHandler
     
    -
    close(String) - Method in class org.glassfish.tyrus.core.cluster.ClusterContext
    +
    close(int, String) - Method in class org.glassfish.tyrus.core.TyrusWebSocket
    +
    +
    Closes this TyrusWebSocket using the specified status code and + reason.
    +
    +
    close(String) - Method in class org.glassfish.tyrus.core.cluster.ClusterContext
    Close remote session.
    -
    close(String, CloseReason) - Method in class org.glassfish.tyrus.core.cluster.ClusterContext
    +
    close(String, CloseReason) - Method in class org.glassfish.tyrus.core.cluster.ClusterContext
    Close remote session with custom CloseReason.
    -
    close() - Method in class org.glassfish.tyrus.core.cluster.RemoteSession
    +
    close(CloseReason) - Method in interface javax.websocket.Session
    -
    Close the current conversation with a normal status code and no reason phrase.
    +
    Close the current conversation, giving a reason for the closure.
    -
    close(CloseReason) - Method in class org.glassfish.tyrus.core.cluster.RemoteSession
    +
    close(CloseReason) - Method in class org.glassfish.tyrus.core.cluster.RemoteSession
    Close the current conversation, giving a reason for the closure.
    -
    close(int, String) - Method in class org.glassfish.tyrus.core.ProtocolHandler
    -
     
    -
    close(CloseReason) - Method in class org.glassfish.tyrus.core.TyrusRemoteEndpoint
    +
    close(CloseReason) - Method in class org.glassfish.tyrus.core.TyrusRemoteEndpoint
     
    -
    close() - Method in class org.glassfish.tyrus.core.TyrusSession
    +
    close(CloseReason) - Method in class org.glassfish.tyrus.core.TyrusSession
     
    -
    close(CloseReason) - Method in class org.glassfish.tyrus.core.TyrusSession
    -
     
    -
    close() - Method in class org.glassfish.tyrus.core.TyrusWebSocket
    +
    close(CloseReason) - Method in class org.glassfish.tyrus.core.TyrusWebSocket
    -
    Closes this TyrusWebSocket.
    +
    Closes this TyrusWebSocket using the CloseReason.
    -
    close(int, String) - Method in class org.glassfish.tyrus.core.TyrusWebSocket
    +
    close(CloseReason) - Method in interface org.glassfish.tyrus.spi.Connection
    -
    Closes this TyrusWebSocket using the specified status code and - reason.
    +
    Notifies tyrus that underlying transport is closing the connection.
    -
    close(CloseReason) - Method in class org.glassfish.tyrus.core.TyrusWebSocket
    +
    close(CloseReason) - Method in interface org.glassfish.tyrus.spi.Connection.CloseListener
    -
    Closes this TyrusWebSocket using the CloseReason.
    +
    Tyrus notifies that logical connection is closed.
    -
    close(CloseReason) - Method in interface org.glassfish.tyrus.spi.Connection
    +
    CLOSE - org.glassfish.tyrus.core.frame.TyrusFrame.FrameType
    -
    Notifies tyrus that underlying transport is closing the connection.
    +
    Close frame.
    -
    close(CloseReason) - Method in interface org.glassfish.tyrus.spi.Connection.CloseListener
    +
    CLOSE - org.glassfish.tyrus.spi.WriterInfo.MessageType
    -
    Tyrus notifies that logical connection is closed.
    +
    Close type.
    +
    +
    CLOSED_ABNORMALLY - javax.websocket.CloseReason.CloseCodes
    +
    +
    1006 is a reserved value and MUST NOT be set as a status code in a + Close control frame by an endpoint.
    +
    +
    CLOSED_ABNORMALLY - org.glassfish.tyrus.core.CloseReasons
    +
    +
    1006 is a reserved value and MUST NOT be set as a status code in a + Close control frame by an endpoint.
    CloseFrame - Class in org.glassfish.tyrus.core.frame
    Close frame representation.
    -
    CloseFrame(Frame) - Constructor for class org.glassfish.tyrus.core.frame.CloseFrame
    +
    CloseFrame(CloseReason) - Constructor for class org.glassfish.tyrus.core.frame.CloseFrame
    Constructor.
    -
    CloseFrame(CloseReason) - Constructor for class org.glassfish.tyrus.core.frame.CloseFrame
    +
    CloseFrame(Frame) - Constructor for class org.glassfish.tyrus.core.frame.CloseFrame
    Constructor.
    @@ -744,7 +848,7 @@
    A class encapsulating the reason why a web socket has been closed, or why it is being asked to close.
    -
    CloseReason(CloseReason.CloseCode, String) - Constructor for class javax.websocket.CloseReason
    +
    CloseReason(CloseReason.CloseCode, String) - Constructor for class javax.websocket.CloseReason
    Creates a reason for closing a web socket connection with the given code and reason phrase.
    @@ -771,33 +875,33 @@
    ClusterContext registration property.
    +
    clusterContext(ClusterContext) - Method in class org.glassfish.tyrus.core.TyrusWebSocketEngine.TyrusWebSocketEngineBuilder
    +
    + +
    ClusterContext - Class in org.glassfish.tyrus.core.cluster
    Cluster related context.
    -
    ClusterContext() - Constructor for class org.glassfish.tyrus.core.cluster.ClusterContext
    +
    ClusterContext() - Constructor for class org.glassfish.tyrus.core.cluster.ClusterContext
     
    -
    clusterContext(ClusterContext) - Method in class org.glassfish.tyrus.core.TyrusWebSocketEngine.TyrusWebSocketEngineBuilder
    -
    - -
    CoderAdapter - Class in org.glassfish.tyrus.core.coder
    Adapter for Encoder and Decoder which implements lifecycle methods.
    -
    CoderAdapter() - Constructor for class org.glassfish.tyrus.core.coder.CoderAdapter
    +
    CoderAdapter() - Constructor for class org.glassfish.tyrus.core.coder.CoderAdapter
     
    CoderWrapper<T> - Class in org.glassfish.tyrus.core.coder
    Wrapper of coders storing the coder coder class (and optionally coder instance), return type of the encode / decode method and coder class.
    -
    CoderWrapper(Class<? extends T>, Class<?>) - Constructor for class org.glassfish.tyrus.core.coder.CoderWrapper
    +
    CoderWrapper(Class<? extends T>, Class<?>) - Constructor for class org.glassfish.tyrus.core.coder.CoderWrapper
    Construct new coder wrapper.
    -
    CoderWrapper(T, Class<?>) - Constructor for class org.glassfish.tyrus.core.coder.CoderWrapper
    +
    CoderWrapper(T, Class<?>) - Constructor for class org.glassfish.tyrus.core.coder.CoderWrapper
    Construct new coder wrapper.
    @@ -810,7 +914,7 @@
    Order the templates according to JAX-RS specification.
    -
    completed(E) - Method in class org.glassfish.tyrus.spi.CompletionHandler
    +
    completed(E) - Method in class org.glassfish.tyrus.spi.CompletionHandler
    The operation was completed.
    @@ -818,13 +922,13 @@
    A callback to notify about asynchronous I/O operations status updates.
    -
    CompletionHandler() - Constructor for class org.glassfish.tyrus.spi.CompletionHandler
    +
    CompletionHandler() - Constructor for class org.glassfish.tyrus.spi.CompletionHandler
     
    -
    COMPONENT_PROVIDER_NOT_FOUND(Object) - Static method in class org.glassfish.tyrus.core.l10n.LocalizationMessages
    +
    COMPONENT_PROVIDER_NOT_FOUND(Object) - Static method in class org.glassfish.tyrus.core.l10n.LocalizationMessages
    Component provider for class {0} not found.
    -
    COMPONENT_PROVIDER_THREW_EXCEPTION(Object) - Static method in class org.glassfish.tyrus.core.l10n.LocalizationMessages
    +
    COMPONENT_PROVIDER_THREW_EXCEPTION(Object) - Static method in class org.glassfish.tyrus.core.l10n.LocalizationMessages
    Component provider threw exception when providing instance of class {0}.
    @@ -832,45 +936,55 @@
    Provides an instance.
    -
    ComponentProvider() - Constructor for class org.glassfish.tyrus.core.ComponentProvider
    +
    ComponentProvider() - Constructor for class org.glassfish.tyrus.core.ComponentProvider
     
    ComponentProviderService - Class in org.glassfish.tyrus.core
    Provides an instance of component.
    -
    ComponentProviderService(ComponentProviderService) - Constructor for class org.glassfish.tyrus.core.ComponentProviderService
    +
    ComponentProviderService(ComponentProviderService) - Constructor for class org.glassfish.tyrus.core.ComponentProviderService
    Copy constructor.
    -
    composeComprehensiveException() - Method in class org.glassfish.tyrus.core.ErrorCollector
    +
    composeComprehensiveException() - Method in class org.glassfish.tyrus.core.ErrorCollector
    Create DeploymentException with message concatenated from collected exceptions.
    concreteClass - Variable in class org.glassfish.tyrus.core.ReflectionHelper.DeclaringClassInterfacePair
     
    -
    configurator(ClientEndpointConfig.Configurator) - Method in class javax.websocket.ClientEndpointConfig.Builder
    +
    configurator() - Method in annotation type javax.websocket.ClientEndpoint
    +
    +
    An optional custom configurator class that the developer would like to use + to provide custom configuration of new instances of this endpoint.
    +
    +
    configurator() - Method in annotation type javax.websocket.server.ServerEndpoint
    +
    +
    The optional custom configurator class that the developer would like to use + to further configure new instances of this endpoint.
    +
    +
    configurator(ClientEndpointConfig.Configurator) - Method in class javax.websocket.ClientEndpointConfig.Builder
    Sets the configurator object for the configuration this builder will build.
    -
    Configurator() - Constructor for class javax.websocket.ClientEndpointConfig.Configurator
    -
     
    -
    configurator(ServerEndpointConfig.Configurator) - Method in class javax.websocket.server.ServerEndpointConfig.Builder
    +
    configurator(ServerEndpointConfig.Configurator) - Method in class javax.websocket.server.ServerEndpointConfig.Builder
    Sets the custom configurator to use on the configuration object built by this builder.
    -
    Configurator() - Constructor for class javax.websocket.server.ServerEndpointConfig.Configurator
    -
     
    -
    configurator(ServerEndpointConfig.Configurator) - Method in class org.glassfish.tyrus.core.TyrusServerEndpointConfig.Builder
    +
    configurator(ServerEndpointConfig.Configurator) - Method in class org.glassfish.tyrus.core.TyrusServerEndpointConfig.Builder
    Sets the custom configurator to use on the configuration object built by this builder.
    -
    configure(SSLEngine) - Method in class org.glassfish.tyrus.client.SslEngineConfigurator
    +
    Configurator() - Constructor for class javax.websocket.ClientEndpointConfig.Configurator
    +
     
    +
    Configurator() - Constructor for class javax.websocket.server.ServerEndpointConfig.Configurator
    +
     
    +
    configure(SSLEngine) - Method in class org.glassfish.tyrus.client.SslEngineConfigurator
    Configure passed SSLEngine, using current configurator settings, excluding Hostname Verification.
    -
    connect() - Method in class org.glassfish.tyrus.container.grizzly.client.GrizzlyClientSocket
    +
    connect() - Method in class org.glassfish.tyrus.container.grizzly.client.GrizzlyClientSocket
    Performs connect to server endpoint.
    @@ -882,260 +996,266 @@
    HTTP "Connection" header name.
    -
    Connection.CloseListener - Interface in org.glassfish.tyrus.spi
    +
    CONNECTION_HAS_BEEN_CLOSED() - Static method in class org.glassfish.tyrus.core.l10n.LocalizationMessages
    -
    Transport close listener that receives connection close - notifications from Tyrus.
    +
    The connection has been closed.
    -
    CONNECTION_HAS_BEEN_CLOSED() - Static method in class org.glassfish.tyrus.core.l10n.LocalizationMessages
    +
    CONNECTION_ID - org.glassfish.tyrus.core.cluster.RemoteSession.DistributedMapKey
    -
    The connection has been closed.
    +
    Cluster connection Id.
    -
    CONNECTION_NULL() - Static method in class org.glassfish.tyrus.core.l10n.LocalizationMessages
    +
    CONNECTION_NULL() - Static method in class org.glassfish.tyrus.core.l10n.LocalizationMessages
    Connection is null.
    -
    connectToServer(Object, URI) - Method in interface javax.websocket.WebSocketContainer
    +
    Connection.CloseListener - Interface in org.glassfish.tyrus.spi
    -
    Connect the supplied annotated endpoint instance to its server.
    +
    Transport close listener that receives connection close + notifications from Tyrus.
    -
    connectToServer(Class<?>, URI) - Method in interface javax.websocket.WebSocketContainer
    +
    connectToServer(Class<?>, URI) - Method in interface javax.websocket.WebSocketContainer
    Connect the supplied annotated endpoint to its server.
    -
    connectToServer(Endpoint, ClientEndpointConfig, URI) - Method in interface javax.websocket.WebSocketContainer
    -
    -
    Connect the supplied programmatic client endpoint instance to its server - with the given configuration.
    -
    -
    connectToServer(Class<? extends Endpoint>, ClientEndpointConfig, URI) - Method in interface javax.websocket.WebSocketContainer
    +
    connectToServer(Class<? extends Endpoint>, ClientEndpointConfig, URI) - Method in interface javax.websocket.WebSocketContainer
    Connect the supplied programmatic endpoint to its server with the given configuration.
    -
    connectToServer(Class, URI) - Method in class org.glassfish.tyrus.client.ClientManager
    +
    connectToServer(Class<? extends Endpoint>, ClientEndpointConfig, URI) - Method in class org.glassfish.tyrus.client.ClientManager
     
    -
    connectToServer(Class<? extends Endpoint>, ClientEndpointConfig, URI) - Method in class org.glassfish.tyrus.client.ClientManager
    +
    connectToServer(Class<? extends Endpoint>, ClientEndpointConfig, URI) - Method in class org.glassfish.tyrus.server.TyrusServerContainer
     
    -
    connectToServer(Endpoint, ClientEndpointConfig, URI) - Method in class org.glassfish.tyrus.client.ClientManager
    +
    connectToServer(Class, URI) - Method in class org.glassfish.tyrus.client.ClientManager
     
    -
    connectToServer(Object, URI) - Method in class org.glassfish.tyrus.client.ClientManager
    +
    connectToServer(Class, URI) - Method in class org.glassfish.tyrus.server.TyrusServerContainer
     
    -
    connectToServer(Class, URI) - Method in class org.glassfish.tyrus.server.TyrusServerContainer
    +
    connectToServer(Object, URI) - Method in interface javax.websocket.WebSocketContainer
    +
    +
    Connect the supplied annotated endpoint instance to its server.
    +
    +
    connectToServer(Object, URI) - Method in class org.glassfish.tyrus.client.ClientManager
     
    -
    connectToServer(Class<? extends Endpoint>, ClientEndpointConfig, URI) - Method in class org.glassfish.tyrus.server.TyrusServerContainer
    +
    connectToServer(Object, URI) - Method in class org.glassfish.tyrus.server.TyrusServerContainer
     
    -
    connectToServer(Object, URI) - Method in class org.glassfish.tyrus.server.TyrusServerContainer
    +
    connectToServer(Endpoint, ClientEndpointConfig, URI) - Method in interface javax.websocket.WebSocketContainer
    +
    +
    Connect the supplied programmatic client endpoint instance to its server + with the given configuration.
    +
    +
    connectToServer(Endpoint, ClientEndpointConfig, URI) - Method in class org.glassfish.tyrus.client.ClientManager
     
    -
    connectToServer(Endpoint, ClientEndpointConfig, URI) - Method in class org.glassfish.tyrus.server.TyrusServerContainer
    +
    connectToServer(Endpoint, ClientEndpointConfig, URI) - Method in class org.glassfish.tyrus.server.TyrusServerContainer
     
    ContainerProvider - Class in javax.websocket
    Provider class that allows the developer to get a reference to the implementation of the WebSocketContainer.
    -
    ContainerProvider() - Constructor for class javax.websocket.ContainerProvider
    +
    ContainerProvider() - Constructor for class javax.websocket.ContainerProvider
     
    -
    contains(Charset) - Method in class org.glassfish.tyrus.core.StrictUtf8
    +
    contains(Charset) - Method in class org.glassfish.tyrus.core.StrictUtf8
     
    -
    containsKey(Object) - Method in class org.glassfish.tyrus.core.uri.internal.AbstractMultivaluedMap
    +
    containsKey(Object) - Method in class org.glassfish.tyrus.core.uri.internal.AbstractMultivaluedMap
     
    -
    containsValue(Object) - Method in class org.glassfish.tyrus.core.uri.internal.AbstractMultivaluedMap
    +
    containsValue(Object) - Method in class org.glassfish.tyrus.core.uri.internal.AbstractMultivaluedMap
     
    -
    contextualEncode(String, UriComponent.Type) - Static method in class org.glassfish.tyrus.core.uri.internal.UriComponent
    +
    contextualEncode(String, UriComponent.Type) - Static method in class org.glassfish.tyrus.core.uri.internal.UriComponent
    Contextually encodes the characters of string that are either non-ASCII characters or are ASCII characters that must be percent-encoded using the UTF-8 encoding.
    -
    contextualEncode(String, UriComponent.Type, boolean) - Static method in class org.glassfish.tyrus.core.uri.internal.UriComponent
    +
    contextualEncode(String, UriComponent.Type, boolean) - Static method in class org.glassfish.tyrus.core.uri.internal.UriComponent
    Contextually encodes the characters of string that are either non-ASCII characters or are ASCII characters that must be percent-encoded using the UTF-8 encoding.
    -
    CONTROL_FRAME_FRAGMENTED() - Static method in class org.glassfish.tyrus.core.l10n.LocalizationMessages
    +
    CONTROL_FRAME_FRAGMENTED() - Static method in class org.glassfish.tyrus.core.l10n.LocalizationMessages
    Fragmented control frame.
    -
    CONTROL_FRAME_LENGTH() - Static method in class org.glassfish.tyrus.core.l10n.LocalizationMessages
    +
    CONTROL_FRAME_LENGTH() - Static method in class org.glassfish.tyrus.core.l10n.LocalizationMessages
    Control frame payloads must be no greater than 125 bytes.
    -
    copy() - Method in class org.glassfish.tyrus.client.SslEngineConfigurator
    +
    copy() - Method in class org.glassfish.tyrus.client.SslEngineConfigurator
     
    -
    copy() - Method in class org.glassfish.tyrus.client.ThreadPoolConfig
    +
    copy() - Method in class org.glassfish.tyrus.client.ThreadPoolConfig
    Return a copy of this thread pool config.
    -
    create() - Static method in class javax.websocket.ClientEndpointConfig.Builder
    +
    create() - Static method in class javax.websocket.ClientEndpointConfig.Builder
    Creates a new builder object with no subprotocols, extensions, encoders, decoders and a null configurator.
    -
    create(Class<?>, String) - Static method in class javax.websocket.server.ServerEndpointConfig.Builder
    -
    -
    Creates the builder with the mandatory information of the endpoint class - (programmatic or annotated), the relative URI or URI-template to use, - and with no subprotocols, extensions, encoders, decoders or custom - configurator.
    -
    -
    create() - Static method in class org.glassfish.tyrus.client.auth.AuthConfig.Builder
    +
    create() - Static method in class org.glassfish.tyrus.client.auth.AuthConfig.Builder
    Create new AuthConfig.Builder instance, which contains provided Basic and Digest authenticators.
    -
    create(Class<T>) - Method in class org.glassfish.tyrus.core.ComponentProvider
    -
    -
    Create new instance.
    -
    -
    create() - Static method in class org.glassfish.tyrus.core.ComponentProviderService
    +
    create() - Static method in class org.glassfish.tyrus.core.ComponentProviderService
    Create new instance of ComponentProviderService.
    -
    create(Class<T>) - Method in class org.glassfish.tyrus.core.DefaultComponentProvider
    -
     
    -
    create() - Static method in class org.glassfish.tyrus.core.RequestContext.Builder
    +
    create() - Static method in class org.glassfish.tyrus.core.RequestContext.Builder
    Create empty builder.
    -
    create(RequestContext) - Static method in class org.glassfish.tyrus.core.RequestContext.Builder
    +
    create(Class<?>, String) - Static method in class javax.websocket.server.ServerEndpointConfig.Builder
    -
    Create builder instance based on provided RequestContext.
    +
    Creates the builder with the mandatory information of the endpoint class + (programmatic or annotated), the relative URI or URI-template to use, + and with no subprotocols, extensions, encoders, decoders or custom + configurator.
    -
    create(Class<?>, String) - Static method in class org.glassfish.tyrus.core.TyrusServerEndpointConfig.Builder
    +
    create(Class<?>, String) - Static method in class org.glassfish.tyrus.core.TyrusServerEndpointConfig.Builder
    Creates the builder with the mandatory information of the endpoint class (programmatic or annotated), the relative URI or URI-template to use, and with no subprotocols, extensions, encoders, decoders or custom configurator.
    -
    create(Class<T>) - Method in class org.glassfish.tyrus.gf.cdi.CdiComponentProvider
    +
    create(Class<T>) - Method in class org.glassfish.tyrus.core.ComponentProvider
    +
    +
    Create new instance.
    +
    +
    create(Class<T>) - Method in class org.glassfish.tyrus.core.DefaultComponentProvider
    +
     
    +
    create(Class<T>) - Method in class org.glassfish.tyrus.gf.cdi.CdiComponentProvider
     
    -
    create(Class<T>) - Method in class org.glassfish.tyrus.gf.ejb.EjbComponentProvider
    +
    create(Class<T>) - Method in class org.glassfish.tyrus.gf.ejb.EjbComponentProvider
     
    -
    createApplication() - Method in class org.glassfish.tyrus.core.wsadl.model.ObjectFactory
    +
    create(CloseReason.CloseCode, String) - Static method in enum org.glassfish.tyrus.core.CloseReasons
    +
     
    +
    create(RequestContext) - Static method in class org.glassfish.tyrus.core.RequestContext.Builder
    +
    +
    Create builder instance based on provided RequestContext.
    +
    +
    createApplication() - Method in class org.glassfish.tyrus.core.wsadl.model.ObjectFactory
    Create an instance of Application
    -
    createClassIterator(Class<T>, String, ClassLoader, boolean) - Method in class org.glassfish.tyrus.core.ServiceFinder.DefaultServiceIteratorProvider
    +
    createClassIterator(Class<T>, String, ClassLoader, boolean) - Method in class org.glassfish.tyrus.core.ServiceFinder.DefaultServiceIteratorProvider
     
    -
    createClassIterator(Class<T>, String, ClassLoader, boolean) - Method in class org.glassfish.tyrus.core.ServiceFinder.ServiceIteratorProvider
    +
    createClassIterator(Class<T>, String, ClassLoader, boolean) - Method in class org.glassfish.tyrus.core.ServiceFinder.ServiceIteratorProvider
    Iterate over provider classes of a service.
    -
    createClient() - Static method in class org.glassfish.tyrus.client.ClientManager
    +
    createClient() - Static method in class org.glassfish.tyrus.client.ClientManager
    Create new ClientManager instance.
    -
    createClient(WebSocketContainer) - Static method in class org.glassfish.tyrus.client.ClientManager
    +
    createClient() - Static method in class org.glassfish.tyrus.core.ComponentProviderService
    -
    Create new ClientManager instance on top of provided WebSocketContainer instance.
    +
    Create new instance of ComponentProviderService.
    -
    createClient(String) - Static method in class org.glassfish.tyrus.client.ClientManager
    +
    createClient(String) - Static method in class org.glassfish.tyrus.client.ClientManager
    Create new ClientManager instance.
    -
    createClient(String, WebSocketContainer) - Static method in class org.glassfish.tyrus.client.ClientManager
    +
    createClient(String, WebSocketContainer) - Static method in class org.glassfish.tyrus.client.ClientManager
    Create new ClientManager instance on top of provided WebSocketContainer instance.
    -
    createClient() - Static method in class org.glassfish.tyrus.core.ComponentProviderService
    +
    createClient(WebSocketContainer) - Static method in class org.glassfish.tyrus.client.ClientManager
    -
    Create new instance of ComponentProviderService.
    +
    Create new ClientManager instance on top of provided WebSocketContainer instance.
    -
    createClientHandshake(RequestContext) - Static method in class org.glassfish.tyrus.core.Handshake
    +
    createClientHandshake(RequestContext) - Static method in class org.glassfish.tyrus.core.Handshake
    Client-side handshake.
    -
    createConnection() - Method in interface org.glassfish.tyrus.spi.ClientEngine.ClientUpgradeInfo
    +
    createConnection() - Method in interface org.glassfish.tyrus.spi.ClientEngine.ClientUpgradeInfo
    - +
    -
    createConnection(Writer, Connection.CloseListener) - Method in interface org.glassfish.tyrus.spi.WebSocketEngine.UpgradeInfo
    +
    createConnection(Writer, Connection.CloseListener) - Method in interface org.glassfish.tyrus.spi.WebSocketEngine.UpgradeInfo
    Creates a connection if the upgrade is successful.
    -
    createConnectionId() - Method in class org.glassfish.tyrus.core.cluster.ClusterContext
    +
    createConnectionId() - Method in class org.glassfish.tyrus.core.cluster.ClusterContext
    Create connection id.
    -
    createContainer(Map<String, Object>) - Method in class org.glassfish.tyrus.container.grizzly.server.GrizzlyServerContainer
    +
    createContainer(Map<String, Object>) - Method in class org.glassfish.tyrus.container.grizzly.server.GrizzlyServerContainer
     
    -
    createContainer(Map<String, Object>) - Method in class org.glassfish.tyrus.spi.ServerContainerFactory
    +
    createContainer(Map<String, Object>) - Method in class org.glassfish.tyrus.spi.ServerContainerFactory
    Create container delegate method.
    -
    createEndpoint() - Method in class org.glassfish.tyrus.core.wsadl.model.ObjectFactory
    +
    createEndpoint() - Method in class org.glassfish.tyrus.core.wsadl.model.ObjectFactory
    Create an instance of Endpoint
    -
    createHandler(boolean, MaskingKeyGenerator) - Method in enum org.glassfish.tyrus.core.Version
    +
    createHandler(boolean, MaskingKeyGenerator) - Method in enum org.glassfish.tyrus.core.Version
     
    -
    createIterator(Class<T>, String, ClassLoader, boolean) - Method in class org.glassfish.tyrus.core.ServiceFinder.DefaultServiceIteratorProvider
    +
    createIterator(Class<T>, String, ClassLoader, boolean) - Method in class org.glassfish.tyrus.core.ServiceFinder.DefaultServiceIteratorProvider
     
    -
    createIterator(Class<T>, String, ClassLoader, boolean) - Method in class org.glassfish.tyrus.core.ServiceFinder.ServiceIteratorProvider
    +
    createIterator(Class<T>, String, ClassLoader, boolean) - Method in class org.glassfish.tyrus.core.ServiceFinder.ServiceIteratorProvider
    Iterate over provider instances of a service.
    -
    createServerContainer() - Static method in class org.glassfish.tyrus.spi.ServerContainerFactory
    +
    createServerContainer() - Static method in class org.glassfish.tyrus.spi.ServerContainerFactory
    Create new ServerContainer with default configuration.
    -
    createServerContainer(Map<String, Object>) - Static method in class org.glassfish.tyrus.spi.ServerContainerFactory
    +
    createServerContainer(Map<String, Object>) - Static method in class org.glassfish.tyrus.spi.ServerContainerFactory
    Create new ServerContainer with configuration.
    -
    createSessionForRemoteEndpoint(TyrusWebSocket, String, List<Extension>, DebugContext) - Method in class org.glassfish.tyrus.core.TyrusEndpointWrapper
    +
    createSessionForRemoteEndpoint(TyrusWebSocket, String, List<Extension>, DebugContext) - Method in class org.glassfish.tyrus.core.TyrusEndpointWrapper
    Creates a Session based on the TyrusWebSocket, subprotocols and extensions.
    -
    createSessionId() - Method in class org.glassfish.tyrus.core.cluster.ClusterContext
    +
    createSessionId() - Method in class org.glassfish.tyrus.core.cluster.ClusterContext
    Create session id.
    -
    createSSLContext() - Method in class org.glassfish.tyrus.client.SslContextConfigurator
    +
    createSSLContext() - Method in class org.glassfish.tyrus.client.SslContextConfigurator
    Create SSLContext from current configuration.
    -
    createSSLEngine(String) - Method in class org.glassfish.tyrus.client.SslEngineConfigurator
    +
    createSSLEngine(String) - Method in class org.glassfish.tyrus.client.SslEngineConfigurator
    Create and configure SSLEngine, based on current settings.
    -
    createUpgradeRequest(ClientEngine.TimeoutHandler) - Method in class org.glassfish.tyrus.client.TyrusClientEngine
    +
    createUpgradeRequest(ClientEngine.TimeoutHandler) - Method in class org.glassfish.tyrus.client.TyrusClientEngine
     
    -
    createUpgradeRequest(ClientEngine.TimeoutHandler) - Method in interface org.glassfish.tyrus.spi.ClientEngine
    +
    createUpgradeRequest(ClientEngine.TimeoutHandler) - Method in interface org.glassfish.tyrus.spi.ClientEngine
    Create upgrade request and register ClientEngine.TimeoutHandler.
    -
    createURI(Map<String, String>) - Method in class org.glassfish.tyrus.core.uri.internal.UriTemplate
    -
    -
    Create a URI by substituting any template variables - for corresponding template values.
    -
    -
    createURI(String...) - Method in class org.glassfish.tyrus.core.uri.internal.UriTemplate
    +
    createURI(String...) - Method in class org.glassfish.tyrus.core.uri.internal.UriTemplate
    Create a URI by substituting any template variables for corresponding template values.
    -
    createURI(String[], int, int) - Method in class org.glassfish.tyrus.core.uri.internal.UriTemplate
    +
    createURI(String[], int, int) - Method in class org.glassfish.tyrus.core.uri.internal.UriTemplate
    Create a URI by substituting any template variables for corresponding template values.
    -
    createURI(String, String, String, String, String, String, String, String, Map<String, ?>, boolean, boolean) - Static method in class org.glassfish.tyrus.core.uri.internal.UriTemplate
    +
    createURI(String, String, String, String, String, String, String, String, Object[], boolean, boolean) - Static method in class org.glassfish.tyrus.core.uri.internal.UriTemplate
    Construct a URI from the component parts each of which may contain template variables.
    -
    createURI(String, String, String, String, String, String, String, String, Object[], boolean, boolean) - Static method in class org.glassfish.tyrus.core.uri.internal.UriTemplate
    +
    createURI(String, String, String, String, String, String, String, String, Map<String, ?>, boolean, boolean) - Static method in class org.glassfish.tyrus.core.uri.internal.UriTemplate
    Construct a URI from the component parts each of which may contain template variables.
    -
    createURIWithStringValues(String, String, String, String, String, String, String, String, Map<String, ?>, boolean, boolean) - Static method in class org.glassfish.tyrus.core.uri.internal.UriTemplate
    +
    createURI(Map<String, String>) - Method in class org.glassfish.tyrus.core.uri.internal.UriTemplate
    +
    +
    Create a URI by substituting any template variables + for corresponding template values.
    +
    +
    createURIWithStringValues(String, String, String, String, String, String, String, String, String[], boolean, boolean) - Static method in class org.glassfish.tyrus.core.uri.internal.UriTemplate
    Construct a URI from the component parts each of which may contain template variables.
    -
    createURIWithStringValues(String, String, String, String, String, String, String, String, String[], boolean, boolean) - Static method in class org.glassfish.tyrus.core.uri.internal.UriTemplate
    +
    createURIWithStringValues(String, String, String, String, String, String, String, String, Map<String, ?>, boolean, boolean) - Static method in class org.glassfish.tyrus.core.uri.internal.UriTemplate
    Construct a URI from the component parts each of which may contain template variables.
    @@ -1144,11 +1264,11 @@
    Credentials can be used when configuring authentication properties used during client handshake.
    -
    Credentials(String, byte[]) - Constructor for class org.glassfish.tyrus.client.auth.Credentials
    +
    Credentials(String, byte[]) - Constructor for class org.glassfish.tyrus.client.auth.Credentials
    Create new credentials.
    -
    Credentials(String, String) - Constructor for class org.glassfish.tyrus.client.auth.Credentials
    +
    Credentials(String, String) - Constructor for class org.glassfish.tyrus.client.auth.Credentials
    Create new credentials.
    @@ -1157,12 +1277,12 @@
    Authentication credentials.
    - +

    D

    -
    DATA_UNEXPECTED_LENGTH(Object, Object) - Static method in class org.glassfish.tyrus.core.l10n.LocalizationMessages
    +
    DATA_UNEXPECTED_LENGTH(Object, Object) - Static method in class org.glassfish.tyrus.core.l10n.LocalizationMessages
    Data read ({0}) is not the expected size ({1}).
    @@ -1171,13 +1291,13 @@
    A Logger wrapper that gives logging records a common formatting and temporarily stores log records and postpones their logging until they can be provided with a session ID.
    -
    DebugContext(DebugContext.TracingThreshold) - Constructor for class org.glassfish.tyrus.core.DebugContext
    +
    DebugContext() - Constructor for class org.glassfish.tyrus.core.DebugContext
    -
    Constructor that configures tracing to be ON and accepts tracing threshold as a parameter.
    +
    Constructor that configures tracing to be OFF.
    -
    DebugContext() - Constructor for class org.glassfish.tyrus.core.DebugContext
    +
    DebugContext(DebugContext.TracingThreshold) - Constructor for class org.glassfish.tyrus.core.DebugContext
    -
    Constructor that configures tracing to be OFF.
    +
    Constructor that configures tracing to be ON and accepts tracing threshold as a parameter.
    DebugContext.TracingThreshold - Enum in org.glassfish.tyrus.core
    @@ -1193,103 +1313,103 @@
    declaringClass - Variable in class org.glassfish.tyrus.core.ReflectionHelper.DeclaringClassInterfacePair
     
    -
    decode(ByteBuffer) - Method in interface javax.websocket.Decoder.Binary
    -
    -
    Decode the given bytes into an object of type T.
    -
    -
    decode(InputStream) - Method in interface javax.websocket.Decoder.BinaryStream
    +
    decode(InputStream) - Method in interface javax.websocket.Decoder.BinaryStream
    Decode the given bytes read from the input stream into an object of type T.
    -
    decode(String) - Method in interface javax.websocket.Decoder.Text
    -
    -
    Decode the given String into an object of type T.
    -
    -
    decode(Reader) - Method in interface javax.websocket.Decoder.TextStream
    +
    decode(Reader) - Method in interface javax.websocket.Decoder.TextStream
    Reads the websocket message from the implementation provided Reader and decodes it into an instance of the supplied object type.
    -
    decode(ByteBuffer) - Method in class org.glassfish.tyrus.core.coder.InputStreamDecoder
    -
     
    -
    decode(ByteBuffer) - Method in class org.glassfish.tyrus.core.coder.NoOpByteArrayCoder
    -
     
    -
    decode(ByteBuffer) - Method in class org.glassfish.tyrus.core.coder.NoOpByteBufferCoder
    -
     
    -
    decode(String) - Method in class org.glassfish.tyrus.core.coder.NoOpTextCoder
    +
    decode(String) - Method in interface javax.websocket.Decoder.Text
    +
    +
    Decode the given String into an object of type T.
    +
    +
    decode(String) - Method in class org.glassfish.tyrus.core.coder.NoOpTextCoder
     
    -
    decode(String) - Method in class org.glassfish.tyrus.core.coder.PrimitiveDecoders.BooleanDecoder
    +
    decode(String) - Method in class org.glassfish.tyrus.core.coder.PrimitiveDecoders.BooleanDecoder
     
    -
    decode(String) - Method in class org.glassfish.tyrus.core.coder.PrimitiveDecoders.ByteDecoder
    +
    decode(String) - Method in class org.glassfish.tyrus.core.coder.PrimitiveDecoders.ByteDecoder
     
    -
    decode(String) - Method in class org.glassfish.tyrus.core.coder.PrimitiveDecoders.CharacterDecoder
    +
    decode(String) - Method in class org.glassfish.tyrus.core.coder.PrimitiveDecoders.CharacterDecoder
     
    -
    decode(String) - Method in class org.glassfish.tyrus.core.coder.PrimitiveDecoders.DoubleDecoder
    +
    decode(String) - Method in class org.glassfish.tyrus.core.coder.PrimitiveDecoders.DoubleDecoder
     
    -
    decode(String) - Method in class org.glassfish.tyrus.core.coder.PrimitiveDecoders.FloatDecoder
    +
    decode(String) - Method in class org.glassfish.tyrus.core.coder.PrimitiveDecoders.FloatDecoder
     
    -
    decode(String) - Method in class org.glassfish.tyrus.core.coder.PrimitiveDecoders.IntegerDecoder
    +
    decode(String) - Method in class org.glassfish.tyrus.core.coder.PrimitiveDecoders.IntegerDecoder
     
    -
    decode(String) - Method in class org.glassfish.tyrus.core.coder.PrimitiveDecoders.LongDecoder
    +
    decode(String) - Method in class org.glassfish.tyrus.core.coder.PrimitiveDecoders.LongDecoder
     
    -
    decode(String) - Method in class org.glassfish.tyrus.core.coder.PrimitiveDecoders.ShortDecoder
    +
    decode(String) - Method in class org.glassfish.tyrus.core.coder.PrimitiveDecoders.ShortDecoder
     
    -
    decode(String) - Method in class org.glassfish.tyrus.core.coder.ReaderDecoder
    +
    decode(String) - Method in class org.glassfish.tyrus.core.coder.ReaderDecoder
     
    -
    decode(String, UriComponent.Type) - Static method in class org.glassfish.tyrus.core.uri.internal.UriComponent
    +
    decode(String, UriComponent.Type) - Static method in class org.glassfish.tyrus.core.uri.internal.UriComponent
    Decodes characters of a string that are percent-encoded octets using UTF-8 decoding (if needed).
    +
    decode(ByteBuffer) - Method in interface javax.websocket.Decoder.Binary
    +
    +
    Decode the given bytes into an object of type T.
    +
    +
    decode(ByteBuffer) - Method in class org.glassfish.tyrus.core.coder.InputStreamDecoder
    +
     
    +
    decode(ByteBuffer) - Method in class org.glassfish.tyrus.core.coder.NoOpByteArrayCoder
    +
     
    +
    decode(ByteBuffer) - Method in class org.glassfish.tyrus.core.coder.NoOpByteBufferCoder
    +
     
    DecodeException - Exception in javax.websocket
    A general exception that occurs when trying to decode a custom object from a text or binary message.
    -
    DecodeException(ByteBuffer, String, Throwable) - Constructor for exception javax.websocket.DecodeException
    +
    DecodeException(String, String) - Constructor for exception javax.websocket.DecodeException
    -
    Constructor with the binary data that could not be decoded, and the - reason why it failed to be, and the cause.
    +
    Constructs a DecodedException with the given encoded string that cannot + be decoded, and reason why.
    -
    DecodeException(String, String, Throwable) - Constructor for exception javax.websocket.DecodeException
    +
    DecodeException(String, String, Throwable) - Constructor for exception javax.websocket.DecodeException
    Constructor with the text data that could not be decoded, and the reason why it failed to be, and the cause.
    -
    DecodeException(ByteBuffer, String) - Constructor for exception javax.websocket.DecodeException
    +
    DecodeException(ByteBuffer, String) - Constructor for exception javax.websocket.DecodeException
    Constructs a DecodedException with the given ByteBuffer that cannot be decoded, and reason why.
    -
    DecodeException(String, String) - Constructor for exception javax.websocket.DecodeException
    +
    DecodeException(ByteBuffer, String, Throwable) - Constructor for exception javax.websocket.DecodeException
    -
    Constructs a DecodedException with the given encoded string that cannot - be decoded, and reason why.
    +
    Constructor with the binary data that could not be decoded, and the + reason why it failed to be, and the cause.
    -
    decodeMatrix(String, boolean) - Static method in class org.glassfish.tyrus.core.uri.internal.UriComponent
    +
    decodeMatrix(String, boolean) - Static method in class org.glassfish.tyrus.core.uri.internal.UriComponent
    Decode the matrix component of a URI path segment.
    -
    decodePath(URI, boolean) - Static method in class org.glassfish.tyrus.core.uri.internal.UriComponent
    +
    decodePath(String, boolean) - Static method in class org.glassfish.tyrus.core.uri.internal.UriComponent
    Decode the path component of a URI as path segments.
    -
    decodePath(String, boolean) - Static method in class org.glassfish.tyrus.core.uri.internal.UriComponent
    +
    decodePath(URI, boolean) - Static method in class org.glassfish.tyrus.core.uri.internal.UriComponent
    Decode the path component of a URI as path segments.
    -
    decodePathSegment(List<PathSegment>, String, boolean) - Static method in class org.glassfish.tyrus.core.uri.internal.UriComponent
    +
    decodePathSegment(List<PathSegment>, String, boolean) - Static method in class org.glassfish.tyrus.core.uri.internal.UriComponent
    Decode the path segment and add it to the list of path segments.
    -
    decodeQuery(URI, boolean) - Static method in class org.glassfish.tyrus.core.uri.internal.UriComponent
    +
    decodeQuery(String, boolean) - Static method in class org.glassfish.tyrus.core.uri.internal.UriComponent
    Decode the query component of a URI.
    -
    decodeQuery(String, boolean) - Static method in class org.glassfish.tyrus.core.uri.internal.UriComponent
    +
    decodeQuery(String, boolean, boolean) - Static method in class org.glassfish.tyrus.core.uri.internal.UriComponent
    Decode the query component of a URI.
    -
    decodeQuery(String, boolean, boolean) - Static method in class org.glassfish.tyrus.core.uri.internal.UriComponent
    +
    decodeQuery(URI, boolean) - Static method in class org.glassfish.tyrus.core.uri.internal.UriComponent
    Decode the query component of a URI.
    @@ -1318,15 +1438,24 @@
    This interface defines how a custom object of type T is decoded from a web socket message in the form of a character stream.
    -
    decoders(List<Class<? extends Decoder>>) - Method in class javax.websocket.ClientEndpointConfig.Builder
    +
    decoders() - Method in annotation type javax.websocket.ClientEndpoint
    +
    +
    The array of Java classes that are to act as Decoders for messages coming into + the client.
    +
    +
    decoders() - Method in annotation type javax.websocket.server.ServerEndpoint
    +
    +
    The ordered array of decoder classes this endpoint will use.
    +
    +
    decoders(List<Class<? extends Decoder>>) - Method in class javax.websocket.ClientEndpointConfig.Builder
    Assign the list of decoder implementation classes the client will use.
    -
    decoders(List<Class<? extends Decoder>>) - Method in class javax.websocket.server.ServerEndpointConfig.Builder
    +
    decoders(List<Class<? extends Decoder>>) - Method in class javax.websocket.server.ServerEndpointConfig.Builder
    Sets the decoder implementation classes to use in the configuration.
    -
    decoders(List<Class<? extends Decoder>>) - Method in class org.glassfish.tyrus.core.TyrusServerEndpointConfig.Builder
    +
    decoders(List<Class<? extends Decoder>>) - Method in class org.glassfish.tyrus.core.TyrusServerEndpointConfig.Builder
    Sets the decoder implementation classes to use in the configuration.
    @@ -1342,19 +1471,19 @@
    Provides instances using reflection.
    -
    DefaultComponentProvider() - Constructor for class org.glassfish.tyrus.core.DefaultComponentProvider
    +
    DefaultComponentProvider() - Constructor for class org.glassfish.tyrus.core.DefaultComponentProvider
     
    -
    defaultConfig() - Static method in class org.glassfish.tyrus.client.ThreadPoolConfig
    +
    defaultConfig() - Static method in class org.glassfish.tyrus.client.ThreadPoolConfig
    Create new client thread pool configuration instance.
    -
    DefaultServiceIteratorProvider() - Constructor for class org.glassfish.tyrus.core.ServiceFinder.DefaultServiceIteratorProvider
    +
    DefaultServiceIteratorProvider() - Constructor for class org.glassfish.tyrus.core.ServiceFinder.DefaultServiceIteratorProvider
     
    -
    DEPENDENT_CLASS_OF_PROVIDER_FORMAT_ERROR(Object, Object, Object) - Static method in class org.glassfish.tyrus.core.l10n.LocalizationMessages
    +
    DEPENDENT_CLASS_OF_PROVIDER_FORMAT_ERROR(Object, Object, Object) - Static method in class org.glassfish.tyrus.core.l10n.LocalizationMessages
    {0}.
    -
    DEPENDENT_CLASS_OF_PROVIDER_NOT_FOUND(Object, Object, Object) - Static method in class org.glassfish.tyrus.core.l10n.LocalizationMessages
    +
    DEPENDENT_CLASS_OF_PROVIDER_NOT_FOUND(Object, Object, Object) - Static method in class org.glassfish.tyrus.core.l10n.LocalizationMessages
    A dependent class, {0}, of the class {1} implementing the provider {2} is not found.
    @@ -1363,57 +1492,57 @@
    Checked exception indicating some kind of failure either to publish an endpoint on its server, or a failure to connect a client to its server.
    -
    DeploymentException(String) - Constructor for exception javax.websocket.DeploymentException
    +
    DeploymentException(String) - Constructor for exception javax.websocket.DeploymentException
    Creates a deployment exception with the given reason for the deployment failure.
    -
    DeploymentException(String, Throwable) - Constructor for exception javax.websocket.DeploymentException
    +
    DeploymentException(String, Throwable) - Constructor for exception javax.websocket.DeploymentException
    Creates a deployment exception with the given reason for the deployment failure and wrapped cause of the failure.
    -
    destroy() - Method in interface javax.websocket.Decoder
    +
    destroy() - Method in interface javax.websocket.Decoder
    This method is called when the decoder is about to be removed from service in order that any resources the encoder used may be closed gracefully.
    -
    destroy() - Method in interface javax.websocket.Encoder
    +
    destroy() - Method in interface javax.websocket.Encoder
    This method is called when the encoder is about to be removed from service in order that any resources the encoder used may be closed gracefully.
    -
    destroy() - Method in class org.glassfish.tyrus.core.coder.CoderAdapter
    +
    destroy() - Method in class org.glassfish.tyrus.core.coder.CoderAdapter
    This method does nothing.
    -
    destroy(Object) - Method in class org.glassfish.tyrus.core.ComponentProvider
    +
    destroy() - Method in class org.glassfish.tyrus.servlet.TyrusHttpUpgradeHandler
    +
     
    +
    destroy(Object) - Method in class org.glassfish.tyrus.core.ComponentProvider
    Destroys the given managed instance.
    -
    destroy(Object) - Method in class org.glassfish.tyrus.core.DefaultComponentProvider
    +
    destroy(Object) - Method in class org.glassfish.tyrus.core.DefaultComponentProvider
    +
     
    +
    destroy(Object) - Method in class org.glassfish.tyrus.gf.cdi.CdiComponentProvider
     
    -
    destroy(ExtendedExtension.ExtensionContext) - Method in interface org.glassfish.tyrus.core.extension.ExtendedExtension
    +
    destroy(Object) - Method in class org.glassfish.tyrus.gf.ejb.EjbComponentProvider
    +
     
    +
    destroy(ExtendedExtension.ExtensionContext) - Method in interface org.glassfish.tyrus.core.extension.ExtendedExtension
    Context lifecycle method.
    -
    destroy(Object) - Method in class org.glassfish.tyrus.gf.cdi.CdiComponentProvider
    -
     
    -
    destroy(Object) - Method in class org.glassfish.tyrus.gf.ejb.EjbComponentProvider
    -
     
    -
    destroy() - Method in class org.glassfish.tyrus.servlet.TyrusHttpUpgradeHandler
    -
     
    -
    destroyDistributedUserProperties(String) - Method in class org.glassfish.tyrus.core.cluster.ClusterContext
    +
    destroyDistributedUserProperties(String) - Method in class org.glassfish.tyrus.core.cluster.ClusterContext
    Destroy map which holds distributed user properties.
    -
    disableProvidedBasicAuth() - Method in class org.glassfish.tyrus.client.auth.AuthConfig.Builder
    +
    disableProvidedBasicAuth() - Method in class org.glassfish.tyrus.client.auth.AuthConfig.Builder
    Disable provided Basic Authenticator.
    -
    disableProvidedDigestAuth() - Method in class org.glassfish.tyrus.client.auth.AuthConfig.Builder
    +
    disableProvidedDigestAuth() - Method in class org.glassfish.tyrus.client.auth.AuthConfig.Builder
    Disable provided Digest Authenticator.
    @@ -1421,27 +1550,38 @@
    Extended Session which adds distributed properties.
    -
    doEncode(Session, Object) - Method in class org.glassfish.tyrus.core.TyrusEndpointWrapper
    +
    doEncode(Session, Object) - Method in class org.glassfish.tyrus.core.TyrusEndpointWrapper
     
    -
    doneDeployment() - Method in class org.glassfish.tyrus.server.TyrusServerContainer
    +
    doneDeployment() - Method in class org.glassfish.tyrus.server.TyrusServerContainer
    - +
    -
    DoubleDecoder() - Constructor for class org.glassfish.tyrus.core.coder.PrimitiveDecoders.DoubleDecoder
    +
    DoubleDecoder() - Constructor for class org.glassfish.tyrus.core.coder.PrimitiveDecoders.DoubleDecoder
    +
     
    +
    DRAFT17 - org.glassfish.tyrus.core.Version
     
    - +

    E

    +
    eager(Value<T>) - Static method in class org.glassfish.tyrus.core.collection.Values
    +
    +
    Get a new eagerly initialized value provider.
    +
    EjbComponentProvider - Class in org.glassfish.tyrus.gf.ejb
    Provides the instance for the supported EJB classes.
    -
    EjbComponentProvider() - Constructor for class org.glassfish.tyrus.gf.ejb.EjbComponentProvider
    +
    EjbComponentProvider() - Constructor for class org.glassfish.tyrus.gf.ejb.EjbComponentProvider
     
    +
    empty() - Static method in class org.glassfish.tyrus.core.collection.Values
    +
    +
    Get an empty value provider whose get() + method always returns null.
    +
    EMPTY - Static variable in class org.glassfish.tyrus.core.uri.internal.PatternWithGroups
    The empty pattern that matches the null or empty string.
    @@ -1467,57 +1607,57 @@
    The list of protocols.
    -
    encode(T) - Method in interface javax.websocket.Encoder.Binary
    -
    -
    Encode the given object into a byte array.
    -
    -
    encode(T, OutputStream) - Method in interface javax.websocket.Encoder.BinaryStream
    -
    -
    Encode the given object into a binary stream written to the - implementation provided OutputStream.
    -
    -
    encode(T) - Method in interface javax.websocket.Encoder.Text
    -
    -
    Encode the given object into a String.
    -
    -
    encode(T, Writer) - Method in interface javax.websocket.Encoder.TextStream
    -
    -
    Encode the given object to a character stream writing it - to the supplied Writer.
    -
    -
    encode(byte[]) - Method in class org.glassfish.tyrus.core.coder.NoOpByteArrayCoder
    -
     
    -
    encode(ByteBuffer) - Method in class org.glassfish.tyrus.core.coder.NoOpByteBufferCoder
    +
    encode(byte[]) - Method in class org.glassfish.tyrus.core.coder.NoOpByteArrayCoder
     
    -
    encode(String) - Method in class org.glassfish.tyrus.core.coder.NoOpTextCoder
    +
    encode(Object) - Method in class org.glassfish.tyrus.core.coder.ToStringEncoder
     
    -
    encode(Object) - Method in class org.glassfish.tyrus.core.coder.ToStringEncoder
    +
    encode(String) - Method in class org.glassfish.tyrus.core.coder.NoOpTextCoder
     
    -
    encode(String, UriComponent.Type) - Static method in class org.glassfish.tyrus.core.uri.internal.UriComponent
    +
    encode(String, UriComponent.Type) - Static method in class org.glassfish.tyrus.core.uri.internal.UriComponent
    Encodes the characters of string that are either non-ASCII characters or are ASCII characters that must be percent-encoded using the UTF-8 encoding.
    -
    encode(String, UriComponent.Type, boolean) - Static method in class org.glassfish.tyrus.core.uri.internal.UriComponent
    +
    encode(String, UriComponent.Type, boolean) - Static method in class org.glassfish.tyrus.core.uri.internal.UriComponent
    Encodes the characters of string that are either non-ASCII characters or are ASCII characters that must be percent-encoded using the UTF-8 encoding.
    +
    encode(ByteBuffer) - Method in class org.glassfish.tyrus.core.coder.NoOpByteBufferCoder
    +
     
    +
    encode(T) - Method in interface javax.websocket.Encoder.Binary
    +
    +
    Encode the given object into a byte array.
    +
    +
    encode(T) - Method in interface javax.websocket.Encoder.Text
    +
    +
    Encode the given object into a String.
    +
    +
    encode(T, OutputStream) - Method in interface javax.websocket.Encoder.BinaryStream
    +
    +
    Encode the given object into a binary stream written to the + implementation provided OutputStream.
    +
    +
    encode(T, Writer) - Method in interface javax.websocket.Encoder.TextStream
    +
    +
    Encode the given object to a character stream writing it + to the supplied Writer.
    +
    EncodeException - Exception in javax.websocket
    A general exception that occurs when trying to encode a custom object to a string or binary message.
    -
    EncodeException(Object, String) - Constructor for exception javax.websocket.EncodeException
    +
    EncodeException(Object, String) - Constructor for exception javax.websocket.EncodeException
    Constructor with the object being encoded, and the reason why it failed to be.
    -
    EncodeException(Object, String, Throwable) - Constructor for exception javax.websocket.EncodeException
    +
    EncodeException(Object, String, Throwable) - Constructor for exception javax.websocket.EncodeException
    Constructor with the object being encoded, and the reason why it failed to be, and the cause.
    -
    encodeLiteralCharacters(String) - Method in class org.glassfish.tyrus.core.uri.internal.UriTemplateParser
    +
    encodeLiteralCharacters(String) - Method in class org.glassfish.tyrus.core.uri.internal.UriTemplateParser
    Encode literal characters of a template.
    @@ -1546,24 +1686,32 @@
    This interface may be implemented by encoding algorithms that want to write the encoded object to a character stream.
    -
    encoders(List<Class<? extends Encoder>>) - Method in class javax.websocket.ClientEndpointConfig.Builder
    +
    encoders() - Method in annotation type javax.websocket.ClientEndpoint
    +
    +
    The array of Java classes that are to act as Encoders for messages sent by the client.
    +
    +
    encoders() - Method in annotation type javax.websocket.server.ServerEndpoint
    +
    +
    The ordered array of encoder classes this endpoint will use.
    +
    +
    encoders(List<Class<? extends Encoder>>) - Method in class javax.websocket.ClientEndpointConfig.Builder
    Assign the list of encoder implementation classes the client will use.
    -
    encoders(List<Class<? extends Encoder>>) - Method in class javax.websocket.server.ServerEndpointConfig.Builder
    +
    encoders(List<Class<? extends Encoder>>) - Method in class javax.websocket.server.ServerEndpointConfig.Builder
    Sets the list of encoder implementation classes for this builder.
    -
    encoders(List<Class<? extends Encoder>>) - Method in class org.glassfish.tyrus.core.TyrusServerEndpointConfig.Builder
    +
    encoders(List<Class<? extends Encoder>>) - Method in class org.glassfish.tyrus.core.TyrusServerEndpointConfig.Builder
    Sets the list of encoder implementation classes for this builder.
    -
    encodeTemplateNames(String) - Static method in class org.glassfish.tyrus.core.uri.internal.UriComponent
    +
    encodeTemplateNames(String) - Static method in class org.glassfish.tyrus.core.uri.internal.UriComponent
    Encodes a string with template parameters names present, specifically the characters '{' and '}' will be percent-encoded.
    -
    ENCODING_FAILED() - Static method in class org.glassfish.tyrus.core.l10n.LocalizationMessages
    +
    ENCODING_FAILED() - Static method in class org.glassfish.tyrus.core.l10n.LocalizationMessages
    Encoding failed.
    @@ -1571,53 +1719,53 @@
    Path pattern matching the end of a URI path.
    +
    endpoint - Variable in class org.glassfish.tyrus.core.wsadl.model.Application
    +
     
    Endpoint - Class in javax.websocket
    The Web Socket Endpoint represents an object that can handle websocket conversations.
    -
    Endpoint() - Constructor for class javax.websocket.Endpoint
    -
     
    -
    endpoint - Variable in class org.glassfish.tyrus.core.wsadl.model.Application
    -
     
    Endpoint - Class in org.glassfish.tyrus.core.wsadl.model
    Java class for anonymous complex type.
    -
    Endpoint() - Constructor for class org.glassfish.tyrus.core.wsadl.model.Endpoint
    +
    Endpoint() - Constructor for class javax.websocket.Endpoint
     
    -
    ENDPOINT_ANNOTATION_NOT_FOUND(Object, Object) - Static method in class org.glassfish.tyrus.core.l10n.LocalizationMessages
    +
    Endpoint() - Constructor for class org.glassfish.tyrus.core.wsadl.model.Endpoint
    +
     
    +
    ENDPOINT_ANNOTATION_NOT_FOUND(Object, Object) - Static method in class org.glassfish.tyrus.core.l10n.LocalizationMessages
    {0} annotation not found on class {1}.
    -
    ENDPOINT_EXCEPTION_FROM_ON_ERROR(Object) - Static method in class org.glassfish.tyrus.core.l10n.LocalizationMessages
    +
    ENDPOINT_EXCEPTION_FROM_ON_ERROR(Object) - Static method in class org.glassfish.tyrus.core.l10n.LocalizationMessages
    Exception thrown from onError method {0}.
    -
    ENDPOINT_MAX_MESSAGE_SIZE_TOO_LONG(Object, Object, Object, Object) - Static method in class org.glassfish.tyrus.core.l10n.LocalizationMessages
    +
    ENDPOINT_MAX_MESSAGE_SIZE_TOO_LONG(Object, Object, Object, Object) - Static method in class org.glassfish.tyrus.core.l10n.LocalizationMessages
    MaxMessageSize {0} on method {1} in endpoint {2} is larger than the container incoming buffer size {3}.
    -
    ENDPOINT_MULTIPLE_METHODS(Object, Object, Object, Object) - Static method in class org.glassfish.tyrus.core.l10n.LocalizationMessages
    +
    ENDPOINT_MULTIPLE_METHODS(Object, Object, Object, Object) - Static method in class org.glassfish.tyrus.core.l10n.LocalizationMessages
    Multiple methods using {0} annotation in class {1}: {2} and {3}.
    -
    ENDPOINT_MULTIPLE_SESSION_PARAM(Object) - Static method in class org.glassfish.tyrus.core.l10n.LocalizationMessages
    +
    ENDPOINT_MULTIPLE_SESSION_PARAM(Object) - Static method in class org.glassfish.tyrus.core.l10n.LocalizationMessages
    Method {0} has got two or more Session parameters.
    -
    ENDPOINT_UNHANDLED_EXCEPTION(Object) - Static method in class org.glassfish.tyrus.core.l10n.LocalizationMessages
    +
    ENDPOINT_UNHANDLED_EXCEPTION(Object) - Static method in class org.glassfish.tyrus.core.l10n.LocalizationMessages
    Unhandled exception in endpoint {0}.
    -
    ENDPOINT_UNKNOWN_PARAMS(Object, Object, Object) - Static method in class org.glassfish.tyrus.core.l10n.LocalizationMessages
    +
    ENDPOINT_UNKNOWN_PARAMS(Object, Object, Object) - Static method in class org.glassfish.tyrus.core.l10n.LocalizationMessages
    Unknown parameter(s) for {0}.{1} method annotated with @OnError annotation: {2}.
    -
    ENDPOINT_WRONG_PARAMS(Object, Object) - Static method in class org.glassfish.tyrus.core.l10n.LocalizationMessages
    +
    ENDPOINT_WRONG_PARAMS(Object, Object) - Static method in class org.glassfish.tyrus.core.l10n.LocalizationMessages
    Method: {0}.{1}: has got wrong number of params.
    -
    ENDPOINT_WRONG_PATH_PARAM(Object, Object) - Static method in class org.glassfish.tyrus.core.l10n.LocalizationMessages
    +
    ENDPOINT_WRONG_PATH_PARAM(Object, Object) - Static method in class org.glassfish.tyrus.core.l10n.LocalizationMessages
    Method: {0}: {1} is not allowed type for @PathParameter.
    @@ -1630,42 +1778,42 @@
    Listens to endpoint-level events that are interesting for monitoring.
    -
    endsWithSlash() - Method in class org.glassfish.tyrus.core.uri.internal.UriTemplate
    +
    endsWithSlash() - Method in class org.glassfish.tyrus.core.uri.internal.UriTemplate
    Check if the URI template ends in a slash ('/').
    -
    entrySet() - Method in class org.glassfish.tyrus.core.uri.internal.AbstractMultivaluedMap
    +
    entrySet() - Method in class org.glassfish.tyrus.core.uri.internal.AbstractMultivaluedMap
     
    -
    equals(Object) - Method in class org.glassfish.tyrus.client.ThreadPoolConfig
    +
    equals(Object) - Method in class org.glassfish.tyrus.client.ThreadPoolConfig
     
    -
    equals(Object) - Method in class org.glassfish.tyrus.container.grizzly.client.GrizzlyWriter
    +
    equals(Object) - Method in class org.glassfish.tyrus.container.grizzly.client.GrizzlyWriter
     
    -
    equals(Object) - Method in class org.glassfish.tyrus.core.TyrusExtension
    +
    equals(Object) - Method in class org.glassfish.tyrus.core.TyrusExtension
     
    -
    equals(Object) - Method in class org.glassfish.tyrus.core.uri.internal.AbstractMultivaluedMap
    -
    equals(Object) - Method in class org.glassfish.tyrus.core.uri.internal.PatternWithGroups
    +
    equals(Object) - Method in class org.glassfish.tyrus.core.uri.internal.AbstractMultivaluedMap
    +
    equals(Object) - Method in class org.glassfish.tyrus.core.uri.internal.PatternWithGroups
     
    -
    equals(Object) - Method in class org.glassfish.tyrus.core.uri.internal.UriTemplate
    +
    equals(Object) - Method in class org.glassfish.tyrus.core.uri.internal.UriTemplate
    Equality is calculated from the String of the regular expression generated from the templates.
    -
    equalsIgnoreValueOrder(MultivaluedMap<K, V>) - Method in class org.glassfish.tyrus.core.uri.internal.AbstractMultivaluedMap
    +
    equalsIgnoreValueOrder(MultivaluedMap<K, V>) - Method in class org.glassfish.tyrus.core.uri.internal.AbstractMultivaluedMap
     
    -
    equalsIgnoreValueOrder(MultivaluedMap<K, V>) - Method in interface org.glassfish.tyrus.core.uri.internal.MultivaluedMap
    +
    equalsIgnoreValueOrder(MultivaluedMap<K, V>) - Method in interface org.glassfish.tyrus.core.uri.internal.MultivaluedMap
    Compare the specified map with this map for equality modulo the order of values for each key.
    -
    EQUIVALENT_PATHS(Object, Object) - Static method in class org.glassfish.tyrus.core.l10n.LocalizationMessages
    +
    EQUIVALENT_PATHS(Object, Object) - Static method in class org.glassfish.tyrus.core.l10n.LocalizationMessages
    Found equivalent paths.
    -
    error() - Method in class org.glassfish.tyrus.core.StrictUtf8.Parser
    +
    error() - Method in class org.glassfish.tyrus.core.StrictUtf8.Parser
    If the previous parse operation detected an error, return the object describing that error.
    -
    ERROR_CAUGHT_WHILE_LOADING_SPI_PROVIDERS() - Static method in class org.glassfish.tyrus.core.l10n.LocalizationMessages
    +
    ERROR_CAUGHT_WHILE_LOADING_SPI_PROVIDERS() - Static method in class org.glassfish.tyrus.core.l10n.LocalizationMessages
    Error caught while loading SPI providers.
    @@ -1673,21 +1821,21 @@
    Used to collect deployment errors to present these to the user together.
    -
    ErrorCollector() - Constructor for class org.glassfish.tyrus.core.ErrorCollector
    +
    ErrorCollector() - Constructor for class org.glassfish.tyrus.core.ErrorCollector
     
    -
    evaluate() - Method in interface org.glassfish.tyrus.core.BaseContainer.ShutDownCondition
    +
    evaluate() - Method in interface org.glassfish.tyrus.core.BaseContainer.ShutDownCondition
     
    -
    EXCEPTION_CAUGHT_WHILE_LOADING_SPI_PROVIDERS() - Static method in class org.glassfish.tyrus.core.l10n.LocalizationMessages
    +
    EXCEPTION_CAUGHT_WHILE_LOADING_SPI_PROVIDERS() - Static method in class org.glassfish.tyrus.core.l10n.LocalizationMessages
    Exception caught while loading SPI providers.
    -
    execute() - Method in class org.glassfish.tyrus.container.grizzly.client.TaskProcessor.Task
    +
    execute() - Method in class org.glassfish.tyrus.container.grizzly.client.TaskProcessor.Task
    To be overridden.
    ExecutorServiceProvider - Class in org.glassfish.tyrus.core
     
    -
    ExecutorServiceProvider() - Constructor for class org.glassfish.tyrus.core.ExecutorServiceProvider
    +
    ExecutorServiceProvider() - Constructor for class org.glassfish.tyrus.core.ExecutorServiceProvider
     
    ExtendedExtension - Interface in org.glassfish.tyrus.core.extension
    @@ -1701,82 +1849,86 @@
    A simple representation of a websocket extension as a name and map of extension parameters.
    -
    Extension.Parameter - Interface in javax.websocket
    +
    EXTENSION_EXCEPTION(Object, Object) - Static method in class org.glassfish.tyrus.core.l10n.LocalizationMessages
    -
    This member interface defines a single websocket extension parameter.
    +
    Extension ''{0}'' threw an exception during processOutgoing method invocation: "{1}".
    -
    EXTENSION_EXCEPTION(Object, Object) - Static method in class org.glassfish.tyrus.core.l10n.LocalizationMessages
    +
    Extension.Parameter - Interface in javax.websocket
    -
    Extension ''{0}'' threw an exception during processOutgoing method invocation: "{1}".
    +
    This member interface defines a single websocket extension parameter.
    -
    extensions(List<Extension>) - Method in class javax.websocket.ClientEndpointConfig.Builder
    +
    extensions(List<Extension>) - Method in class javax.websocket.ClientEndpointConfig.Builder
    Set the extensions for the configuration this builder will build.
    -
    extensions(List<Extension>) - Method in class javax.websocket.server.ServerEndpointConfig.Builder
    +
    extensions(List<Extension>) - Method in class javax.websocket.server.ServerEndpointConfig.Builder
    Sets the extensions to use in the configuration.
    -
    extensions(List<Extension>) - Method in class org.glassfish.tyrus.core.TyrusServerEndpointConfig.Builder
    +
    extensions(List<Extension>) - Method in class org.glassfish.tyrus.core.TyrusServerEndpointConfig.Builder
    Sets the extensions to use in the configuration.
    - +

    F

    -
    failed(Throwable) - Method in class org.glassfish.tyrus.spi.CompletionHandler
    +
    failed(Throwable) - Method in class org.glassfish.tyrus.spi.CompletionHandler
    The operation was failed.
    -
    fin(boolean) - Method in class org.glassfish.tyrus.core.frame.Frame.Builder
    +
    fin(boolean) - Method in class org.glassfish.tyrus.core.frame.Frame.Builder
    Set FIN flag.
    -
    find(Class<T>, ClassLoader) - Static method in class org.glassfish.tyrus.core.ServiceFinder
    +
    find(Class<T>) - Static method in class org.glassfish.tyrus.core.ServiceFinder
    Locates and incrementally instantiates the available providers of a - given service using the given class loader.
    + given service using the context class loader.
    -
    find(Class<T>, ClassLoader, boolean) - Static method in class org.glassfish.tyrus.core.ServiceFinder
    +
    find(Class<T>, boolean) - Static method in class org.glassfish.tyrus.core.ServiceFinder
    Locates and incrementally instantiates the available providers of a - given service using the given class loader.
    + given service using the context class loader.
    -
    find(Class<T>) - Static method in class org.glassfish.tyrus.core.ServiceFinder
    +
    find(Class<T>, ClassLoader) - Static method in class org.glassfish.tyrus.core.ServiceFinder
    Locates and incrementally instantiates the available providers of a - given service using the context class loader.
    + given service using the given class loader.
    -
    find(Class<T>, boolean) - Static method in class org.glassfish.tyrus.core.ServiceFinder
    +
    find(Class<T>, ClassLoader, boolean) - Static method in class org.glassfish.tyrus.core.ServiceFinder
    Locates and incrementally instantiates the available providers of a - given service using the context class loader.
    + given service using the given class loader.
    -
    find(String) - Static method in class org.glassfish.tyrus.core.ServiceFinder
    +
    find(String) - Static method in class org.glassfish.tyrus.core.ServiceFinder
    Locates and incrementally instantiates the available classes of a given service file using the context class loader.
    -
    findMethodOnClass(Class, Method) - Static method in class org.glassfish.tyrus.core.ReflectionHelper
    +
    findMethodOnClass(Class, Method) - Static method in class org.glassfish.tyrus.core.ReflectionHelper
    Find a method on a class given an existing method.
    -
    FloatDecoder() - Constructor for class org.glassfish.tyrus.core.coder.PrimitiveDecoders.FloatDecoder
    +
    FloatDecoder() - Constructor for class org.glassfish.tyrus.core.coder.PrimitiveDecoders.FloatDecoder
     
    -
    flush() - Method in class org.glassfish.tyrus.core.DebugContext
    +
    flush() - Method in class org.glassfish.tyrus.core.DebugContext
    Write pending messages to the log.
    -
    flushBatch() - Method in interface javax.websocket.RemoteEndpoint
    +
    flushBatch() - Method in interface javax.websocket.RemoteEndpoint
    This method is only used when batching is allowed for this RemoteEndpint.
    -
    flushBatch() - Method in class org.glassfish.tyrus.core.TyrusRemoteEndpoint
    +
    flushBatch() - Method in class org.glassfish.tyrus.core.TyrusRemoteEndpoint
     
    -
    FRAGMENT_INVALID_OPCODE() - Static method in class org.glassfish.tyrus.core.l10n.LocalizationMessages
    +
    FRAGMENT - org.glassfish.tyrus.core.uri.internal.UriComponent.Type
    +
    +
    The URI fragment component type.
    +
    +
    FRAGMENT_INVALID_OPCODE() - Static method in class org.glassfish.tyrus.core.l10n.LocalizationMessages
    Fragment sent but opcode was not 0.
    @@ -1784,1162 +1936,1176 @@
    WebSocket frame representation.
    -
    Frame(Frame) - Constructor for class org.glassfish.tyrus.core.frame.Frame
    +
    Frame(Frame) - Constructor for class org.glassfish.tyrus.core.frame.Frame
    Copy constructor.
    -
    Frame.Builder - Class in org.glassfish.tyrus.core.frame
    -
    -
    Frame builder.
    -
    FRAME_BUFFER_SIZE - Static variable in class org.glassfish.tyrus.servlet.TyrusHttpUpgradeHandler
     
    -
    FRAME_WRITE_CANCELLED() - Static method in class org.glassfish.tyrus.core.l10n.LocalizationMessages
    +
    FRAME_WRITE_CANCELLED() - Static method in class org.glassfish.tyrus.core.l10n.LocalizationMessages
    Frame writing was canceled.
    -
    fromClass(Class<?>, ComponentProviderService, boolean, int, ErrorCollector, EndpointEventListener) - Static method in class org.glassfish.tyrus.core.AnnotatedEndpoint
    +
    Frame.Builder - Class in org.glassfish.tyrus.core.frame
    +
    +
    Frame builder.
    +
    +
    fromClass(Class<?>, ComponentProviderService, boolean, int, ErrorCollector, EndpointEventListener) - Static method in class org.glassfish.tyrus.core.AnnotatedEndpoint
    Create AnnotatedEndpoint from class.
    -
    fromClass(Class<?>, ComponentProviderService, boolean, int, ErrorCollector, EndpointEventListener, Set<Extension>) - Static method in class org.glassfish.tyrus.core.AnnotatedEndpoint
    +
    fromClass(Class<?>, ComponentProviderService, boolean, int, ErrorCollector, EndpointEventListener, Set<Extension>) - Static method in class org.glassfish.tyrus.core.AnnotatedEndpoint
    Create AnnotatedEndpoint from class.
    -
    fromDecoderClasses(List<Class<? extends Decoder>>) - Static method in class org.glassfish.tyrus.core.MessageHandlerManager
    +
    fromDecoderClasses(List<Class<? extends Decoder>>) - Static method in class org.glassfish.tyrus.core.MessageHandlerManager
    Construct manager.
    -
    fromHeaders(List<String>) - Static method in class org.glassfish.tyrus.core.TyrusExtension
    +
    fromHeaders(List<String>) - Static method in class org.glassfish.tyrus.core.TyrusExtension
    Parse Extension from headers (represented as List of strings).
    -
    fromInstance(Object, ComponentProviderService, boolean, int, ErrorCollector) - Static method in class org.glassfish.tyrus.core.AnnotatedEndpoint
    +
    fromInstance(Object, ComponentProviderService, boolean, int, ErrorCollector) - Static method in class org.glassfish.tyrus.core.AnnotatedEndpoint
    Create AnnotatedEndpoint from instance.
    -
    fromInstance(Object, ComponentProviderService, boolean, int, ErrorCollector, Set<Extension>) - Static method in class org.glassfish.tyrus.core.AnnotatedEndpoint
    +
    fromInstance(Object, ComponentProviderService, boolean, int, ErrorCollector, Set<Extension>) - Static method in class org.glassfish.tyrus.core.AnnotatedEndpoint
    Create AnnotatedEndpoint from instance.
    -
    fromString(List<String>) - Static method in class org.glassfish.tyrus.core.TyrusExtension
    +
    fromString(List<String>) - Static method in class org.glassfish.tyrus.core.TyrusExtension
    Parsing of one Extension.
    -
    fullRelativeUri(URI) - Static method in class org.glassfish.tyrus.core.uri.internal.UriComponent
    +
    fullRelativeUri(URI) - Static method in class org.glassfish.tyrus.core.uri.internal.UriComponent
    Return the Request-Uri representation as defined by HTTP spec.
    - +

    G

    -
    generateAuthorizationHeader(URI, String, Credentials) - Method in class org.glassfish.tyrus.client.auth.Authenticator
    +
    generateAuthorizationHeader(URI, String, Credentials) - Method in class org.glassfish.tyrus.client.auth.Authenticator
    -
    Generate value used as "" header value for next request.
    +
    Generate value used as ""Authorization"" header value for next request.
    genericInterface - Variable in class org.glassfish.tyrus.core.ReflectionHelper.DeclaringClassInterfacePair
     
    -
    get() - Method in class org.glassfish.tyrus.core.TyrusFuture
    +
    get() - Method in interface org.glassfish.tyrus.core.collection.Value
    +
    +
    Get the stored value.
    +
    +
    get() - Method in class org.glassfish.tyrus.core.TyrusFuture
     
    -
    get(long, TimeUnit) - Method in class org.glassfish.tyrus.core.TyrusFuture
    +
    get(long, TimeUnit) - Method in class org.glassfish.tyrus.core.TyrusFuture
     
    -
    get(Object) - Method in class org.glassfish.tyrus.core.uri.internal.AbstractMultivaluedMap
    +
    get(Object) - Method in class org.glassfish.tyrus.core.uri.internal.AbstractMultivaluedMap
     
    -
    getAllMatches(String, Set<TyrusEndpointWrapper>, DebugContext) - Static method in class org.glassfish.tyrus.core.uri.Match
    +
    getAllMatches(String, Set<TyrusEndpointWrapper>, DebugContext) - Static method in class org.glassfish.tyrus.core.uri.Match
    Return a list of all endpoints with path matching the request path.
    -
    getAllSessions() - Method in class org.glassfish.tyrus.core.TyrusSession
    +
    getAllSessions() - Method in class org.glassfish.tyrus.core.TyrusSession
    Get set of all sessions opened to the same endpoint.
    -
    getAnnotatedEndpointClasses(Set<Class<?>>) - Method in interface javax.websocket.server.ServerApplicationConfig
    +
    getAnnotatedEndpointClasses(Set<Class<?>>) - Method in interface javax.websocket.server.ServerApplicationConfig
    Return a set of annotated endpoint classes that the server container must deploy.
    -
    getAnnotatedEndpointClasses(Set<Class<?>>) - Method in class org.glassfish.tyrus.server.TyrusServerConfiguration
    +
    getAnnotatedEndpointClasses(Set<Class<?>>) - Method in class org.glassfish.tyrus.server.TyrusServerConfiguration
    Gets all the classes annotated with ServerEndpoint annotation which should be deployed.
    -
    getAny() - Method in class org.glassfish.tyrus.core.wsadl.model.Application
    +
    getAny() - Method in class org.glassfish.tyrus.core.wsadl.model.Application
    Gets the value of the any property.
    -
    getApplicationData() - Method in interface javax.websocket.PongMessage
    +
    getApplicationData() - Method in interface javax.websocket.PongMessage
    The application data inside the pong message from the peer.
    -
    getApplicationEventListener() - Method in class org.glassfish.tyrus.core.TyrusWebSocketEngine
    +
    getApplicationEventListener() - Method in class org.glassfish.tyrus.core.TyrusWebSocketEngine
    Get ApplicationEventListener related to current TyrusWebSocketEngine instance.
    -
    getArguments() - Method in interface org.glassfish.tyrus.core.l10n.Localizable
    +
    getArguments() - Method in interface org.glassfish.tyrus.core.l10n.Localizable
    Returns the arguments for message formatting.
    -
    getArguments() - Method in class org.glassfish.tyrus.core.l10n.LocalizableMessage
    +
    getArguments() - Method in class org.glassfish.tyrus.core.l10n.LocalizableMessage
     
    -
    getArrayClass(Class) - Static method in class org.glassfish.tyrus.core.ReflectionHelper
    +
    getArrayClass(Class) - Static method in class org.glassfish.tyrus.core.ReflectionHelper
    Get Array class of component class.
    -
    getAsyncRemote() - Method in interface javax.websocket.Session
    +
    getAsyncRemote() - Method in interface javax.websocket.Session
    Return a reference a RemoteEndpoint object representing the peer of this conversation that is able to send messages asynchronously to the peer.
    -
    getAsyncRemote() - Method in class org.glassfish.tyrus.core.cluster.RemoteSession
    +
    getAsyncRemote() - Method in class org.glassfish.tyrus.core.cluster.RemoteSession
    -
    Get a reference a RemoteEndpoint.Async object representing the peer of this conversation +
    Get a reference a RemoteEndpoint.Async object representing the peer of this conversation that is able to send messages asynchronously to the peer.
    -
    getAsyncRemote() - Method in class org.glassfish.tyrus.core.TyrusSession
    +
    getAsyncRemote() - Method in class org.glassfish.tyrus.core.TyrusSession
     
    -
    getAuthenticators() - Method in class org.glassfish.tyrus.client.auth.AuthConfig
    +
    getAuthenticators() - Method in class org.glassfish.tyrus.client.auth.AuthConfig
    Get an unmodifiable map of authenticators, where case insensitive authentication scheme to Authenticator.
    -
    getBasicRemote() - Method in interface javax.websocket.Session
    +
    getBasicRemote() - Method in interface javax.websocket.Session
    Return a reference a RemoteEndpoint object representing the peer of this conversation that is able to send messages synchronously to the peer.
    -
    getBasicRemote() - Method in class org.glassfish.tyrus.core.cluster.RemoteSession
    +
    getBasicRemote() - Method in class org.glassfish.tyrus.core.cluster.RemoteSession
    -
    Get a reference a RemoteEndpoint.Basic object representing the peer of this conversation +
    Get a reference a RemoteEndpoint.Basic object representing the peer of this conversation that is able to send messages synchronously to the peer.
    -
    getBasicRemote() - Method in class org.glassfish.tyrus.core.TyrusSession
    +
    getBasicRemote() - Method in class org.glassfish.tyrus.core.TyrusSession
     
    -
    getBatchingAllowed() - Method in interface javax.websocket.RemoteEndpoint
    +
    getBatchingAllowed() - Method in interface javax.websocket.RemoteEndpoint
    Return whether the implementation is allowed to batch outgoing messages before sending.
    -
    getBatchingAllowed() - Method in class org.glassfish.tyrus.core.TyrusRemoteEndpoint
    +
    getBatchingAllowed() - Method in class org.glassfish.tyrus.core.TyrusRemoteEndpoint
     
    -
    getBytes() - Method in exception javax.websocket.DecodeException
    +
    getBytes() - Method in exception javax.websocket.DecodeException
    Return the ByteBuffer containing either the whole message, or the partial message, that could not be decoded, or null if this exception arose from a failure to decode a text message.
    -
    getClass(Class, Class) - Static method in class org.glassfish.tyrus.core.ReflectionHelper
    +
    getClass(Class, Class) - Static method in class org.glassfish.tyrus.core.ReflectionHelper
    Find the declaring class that implements or extends an interface.
    -
    getClassType(Class<?>, Class<?>) - Static method in class org.glassfish.tyrus.core.ReflectionHelper
    +
    getClassType(Class<?>, Class<?>) - Static method in class org.glassfish.tyrus.core.ReflectionHelper
    Find a type of the class given it's Superclass.
    -
    getClientManager() - Method in class org.glassfish.tyrus.server.TyrusServerContainer
    +
    getClientManager() - Method in class org.glassfish.tyrus.server.TyrusServerContainer
    Can be overridden to provide own ClientManager implementation or instance.
    -
    getCloseCode(int) - Static method in enum javax.websocket.CloseReason.CloseCodes
    +
    getCloseCode() - Method in class javax.websocket.CloseReason
    -
    Creates a CloseCode from the given int code number.
    +
    The Close code associated with this CloseReason.
    -
    getCloseCode() - Method in class javax.websocket.CloseReason
    +
    getCloseCode(int) - Static method in enum javax.websocket.CloseReason.CloseCodes
    -
    The Close code associated with this CloseReason.
    +
    Creates a CloseCode from the given int code number.
    -
    getCloseListener() - Method in interface org.glassfish.tyrus.spi.Connection
    +
    getCloseListener() - Method in interface org.glassfish.tyrus.spi.Connection
    Returns the same close listener that is passed for creating connection in - WebSocketEngine.UpgradeInfo#createConnection(Writer, CloseListener).
    + WebSocketEngine.UpgradeInfo.createConnection(Writer, CloseListener).
    -
    getCloseReason() - Method in enum org.glassfish.tyrus.core.CloseReasons
    +
    getCloseReason() - Method in enum org.glassfish.tyrus.core.CloseReasons
    Get close reason.
    -
    getCloseReason() - Method in class org.glassfish.tyrus.core.frame.CloseFrame
    +
    getCloseReason() - Method in class org.glassfish.tyrus.core.frame.CloseFrame
    Get close reason.
    -
    getCloseReason() - Method in exception org.glassfish.tyrus.core.ProtocolException
    +
    getCloseReason() - Method in exception org.glassfish.tyrus.core.ProtocolException
     
    -
    getCloseReason() - Method in exception org.glassfish.tyrus.core.Utf8DecodingException
    +
    getCloseReason() - Method in exception org.glassfish.tyrus.core.Utf8DecodingException
     
    -
    getCloseReason() - Method in exception org.glassfish.tyrus.core.WebSocketException
    +
    getCloseReason() - Method in exception org.glassfish.tyrus.core.WebSocketException
    Get close reason.
    -
    getCode() - Method in interface javax.websocket.CloseReason.CloseCode
    +
    getCode() - Method in interface javax.websocket.CloseReason.CloseCode
    Returns the code number, for example the integer '1000' for normal closure.
    -
    getCode() - Method in enum javax.websocket.CloseReason.CloseCodes
    +
    getCode() - Method in enum javax.websocket.CloseReason.CloseCodes
    Return the code number of this status code.
    -
    getCoder() - Method in class org.glassfish.tyrus.core.coder.CoderWrapper
    +
    getCoder() - Method in class org.glassfish.tyrus.core.coder.CoderWrapper
    Get coder instance.
    -
    getCoderClass() - Method in class org.glassfish.tyrus.core.coder.CoderWrapper
    +
    getCoderClass() - Method in class org.glassfish.tyrus.core.coder.CoderWrapper
    Get coder class.
    -
    getCoderInstance(Class<T>, Session, EndpointConfig, ErrorCollector) - Method in class org.glassfish.tyrus.core.ComponentProviderService
    +
    getCoderInstance(Class<T>, Session, EndpointConfig, ErrorCollector) - Method in class org.glassfish.tyrus.core.ComponentProviderService
    Provide an instance of Encoder or Decoder descendant which is coupled to Session.
    -
    getConfigurator() - Method in interface javax.websocket.ClientEndpointConfig
    +
    getConfigurator() - Method in interface javax.websocket.ClientEndpointConfig
    Return the custom configurator for this configuration.
    -
    getConfigurator() - Method in interface javax.websocket.server.ServerEndpointConfig
    +
    getConfigurator() - Method in interface javax.websocket.server.ServerEndpointConfig
    Return the ServerEndpointConfig.Configurator this configuration is using.
    -
    getContainer() - Method in class javax.websocket.ContainerProvider
    +
    getContainer() - Method in class javax.websocket.ContainerProvider
    Load the container implementation.
    -
    getContainer() - Method in interface javax.websocket.Session
    +
    getContainer() - Method in interface javax.websocket.Session
    Return the container that this session is part of.
    -
    getContainer() - Method in class org.glassfish.tyrus.container.grizzly.client.GrizzlyContainerProvider
    +
    getContainer() - Method in class org.glassfish.tyrus.container.grizzly.client.GrizzlyContainerProvider
     
    -
    getContainer() - Method in class org.glassfish.tyrus.core.cluster.RemoteSession
    +
    getContainer() - Method in class org.glassfish.tyrus.core.cluster.RemoteSession
    This method is not supported on RemoteSession.
    -
    getContainer() - Method in class org.glassfish.tyrus.core.TyrusSession
    +
    getContainer() - Method in class org.glassfish.tyrus.core.TyrusSession
     
    -
    getContextClassLoaderPA() - Static method in class org.glassfish.tyrus.core.ReflectionHelper
    +
    getContextClassLoaderPA() - Static method in class org.glassfish.tyrus.core.ReflectionHelper
    Get privileged action to obtain context class loader.
    -
    getCorePoolSize() - Method in class org.glassfish.tyrus.client.ThreadPoolConfig
    +
    getCorePoolSize() - Method in class org.glassfish.tyrus.client.ThreadPoolConfig
    Get the core thread pool size - the size of the thread pool will never bee smaller than this.
    -
    getDeclaringClass(AccessibleObject) - Static method in class org.glassfish.tyrus.core.ReflectionHelper
    +
    getDeclaringClass(AccessibleObject) - Static method in class org.glassfish.tyrus.core.ReflectionHelper
    Get declaring class of provided field, method or constructor.
    -
    getDecoders() - Method in interface javax.websocket.EndpointConfig
    +
    getDecoders() - Method in interface javax.websocket.EndpointConfig
    Return the Decoder implementation classes configured.
    -
    getDefaultAsyncSendTimeout() - Method in interface javax.websocket.WebSocketContainer
    +
    getDefaultAsyncSendTimeout() - Method in interface javax.websocket.WebSocketContainer
    Return the number of milliseconds the implementation will timeout attempting to send a websocket message for all RemoteEndpoints associated with this container.
    -
    getDefaultAsyncSendTimeout() - Method in class org.glassfish.tyrus.client.ClientManager
    +
    getDefaultAsyncSendTimeout() - Method in class org.glassfish.tyrus.client.ClientManager
     
    -
    getDefaultAsyncSendTimeout() - Method in class org.glassfish.tyrus.server.TyrusServerContainer
    +
    getDefaultAsyncSendTimeout() - Method in class org.glassfish.tyrus.server.TyrusServerContainer
     
    -
    getDefaultMaxBinaryMessageBufferSize() - Method in interface javax.websocket.WebSocketContainer
    +
    getDefaultMaxBinaryMessageBufferSize() - Method in interface javax.websocket.WebSocketContainer
    Returns the default maximum size of incoming binary message that this container will buffer.
    -
    getDefaultMaxBinaryMessageBufferSize() - Method in class org.glassfish.tyrus.client.ClientManager
    +
    getDefaultMaxBinaryMessageBufferSize() - Method in class org.glassfish.tyrus.client.ClientManager
     
    -
    getDefaultMaxBinaryMessageBufferSize() - Method in class org.glassfish.tyrus.server.TyrusServerContainer
    +
    getDefaultMaxBinaryMessageBufferSize() - Method in class org.glassfish.tyrus.server.TyrusServerContainer
     
    -
    getDefaultMaxSessionIdleTimeout() - Method in interface javax.websocket.WebSocketContainer
    +
    getDefaultMaxSessionIdleTimeout() - Method in interface javax.websocket.WebSocketContainer
    Return the default time in milliseconds after which any web socket sessions in this container will be closed if it has been inactive.
    -
    getDefaultMaxSessionIdleTimeout() - Method in class org.glassfish.tyrus.client.ClientManager
    +
    getDefaultMaxSessionIdleTimeout() - Method in class org.glassfish.tyrus.client.ClientManager
     
    -
    getDefaultMaxSessionIdleTimeout() - Method in class org.glassfish.tyrus.server.TyrusServerContainer
    +
    getDefaultMaxSessionIdleTimeout() - Method in class org.glassfish.tyrus.server.TyrusServerContainer
     
    -
    getDefaultMaxTextMessageBufferSize() - Method in interface javax.websocket.WebSocketContainer
    +
    getDefaultMaxTextMessageBufferSize() - Method in interface javax.websocket.WebSocketContainer
    Returns the default maximum size of incoming text message that this container will buffer.
    -
    getDefaultMaxTextMessageBufferSize() - Method in class org.glassfish.tyrus.client.ClientManager
    +
    getDefaultMaxTextMessageBufferSize() - Method in class org.glassfish.tyrus.client.ClientManager
     
    -
    getDefaultMaxTextMessageBufferSize() - Method in class org.glassfish.tyrus.server.TyrusServerContainer
    +
    getDefaultMaxTextMessageBufferSize() - Method in class org.glassfish.tyrus.server.TyrusServerContainer
     
    -
    getDelay() - Method in class org.glassfish.tyrus.client.ClientManager.ReconnectHandler
    +
    getDelay() - Method in class org.glassfish.tyrus.client.ClientManager.ReconnectHandler
    Get reconnect delay.
    -
    getDelay() - Method in exception org.glassfish.tyrus.client.RetryAfterException
    +
    getDelay() - Method in exception org.glassfish.tyrus.client.RetryAfterException
    -
    Get a delay specified in response header in seconds.
    +
    Get a delay specified in "Retry-After" response header in seconds.
    -
    getDistributedProperties() - Method in interface org.glassfish.tyrus.core.cluster.DistributedSession
    +
    getDistributedProperties() - Method in interface org.glassfish.tyrus.core.cluster.DistributedSession
    Get distributed properties.
    -
    getDistributedProperties() - Method in class org.glassfish.tyrus.core.cluster.RemoteSession
    +
    getDistributedProperties() - Method in class org.glassfish.tyrus.core.cluster.RemoteSession
     
    -
    getDistributedProperties() - Method in class org.glassfish.tyrus.core.TyrusSession
    +
    getDistributedProperties() - Method in class org.glassfish.tyrus.core.TyrusSession
     
    -
    getDistributedSessionProperties(String) - Method in class org.glassfish.tyrus.core.cluster.ClusterContext
    +
    getDistributedSessionProperties(String) - Method in class org.glassfish.tyrus.core.cluster.ClusterContext
    Get the map containing session properties to be shared among nodes.
    -
    getDistributedUserProperties(String) - Method in class org.glassfish.tyrus.core.cluster.ClusterContext
    +
    getDistributedUserProperties(String) - Method in class org.glassfish.tyrus.core.cluster.ClusterContext
    Get the map containing session user properties to be shared among nodes.
    -
    getEnabledCipherSuites() - Method in class org.glassfish.tyrus.client.SslEngineConfigurator
    +
    getEnabledCipherSuites() - Method in class org.glassfish.tyrus.client.SslEngineConfigurator
    Get enabled cipher suites.
    -
    getEnabledProtocols() - Method in class org.glassfish.tyrus.client.SslEngineConfigurator
    +
    getEnabledProtocols() - Method in class org.glassfish.tyrus.client.SslEngineConfigurator
    Get enabled protocols.
    -
    getEncoders() - Method in interface javax.websocket.EndpointConfig
    +
    getEncoders() - Method in interface javax.websocket.EndpointConfig
    Return the Encoder implementation classes configured.
    -
    getEndpoint() - Method in class org.glassfish.tyrus.core.wsadl.model.Application
    +
    getEndpoint() - Method in class org.glassfish.tyrus.core.wsadl.model.Application
    Gets the value of the endpoint property.
    -
    getEndpointClass() - Method in interface javax.websocket.server.ServerEndpointConfig
    +
    getEndpointClass() - Method in interface javax.websocket.server.ServerEndpointConfig
    Returns the Class of the endpoint this configuration is configuring.
    -
    getEndpointConfig() - Method in class org.glassfish.tyrus.core.AnnotatedEndpoint
    +
    getEndpointConfig() - Method in class org.glassfish.tyrus.core.AnnotatedEndpoint
     
    -
    getEndpointConfig() - Method in class org.glassfish.tyrus.core.TyrusEndpointWrapper
    +
    getEndpointConfig() - Method in class org.glassfish.tyrus.core.TyrusEndpointWrapper
    Get Endpoint configuration.
    -
    getEndpointConfigs(Set<Class<? extends Endpoint>>) - Method in interface javax.websocket.server.ServerApplicationConfig
    +
    getEndpointConfigs(Set<Class<? extends Endpoint>>) - Method in interface javax.websocket.server.ServerApplicationConfig
    Return a set of ServerEndpointConfig instances that the server container will use to deploy the programmatic endpoints.
    -
    getEndpointConfigs(Set<Class<? extends Endpoint>>) - Method in class org.glassfish.tyrus.server.TyrusServerConfiguration
    +
    getEndpointConfigs(Set<Class<? extends Endpoint>>) - Method in class org.glassfish.tyrus.server.TyrusServerConfiguration
    Gets all the ServerEndpointConfig classes which should be deployed.
    -
    getEndpointInstance(Class<T>) - Method in class javax.websocket.server.ServerEndpointConfig.Configurator
    +
    getEndpointInstance(Class<T>) - Method in class javax.websocket.server.ServerEndpointConfig.Configurator
    This method is called by the container each time a new client connects to the logical endpoint this configurator configures.
    -
    getEndpointInstance(Class<T>) - Method in class org.glassfish.tyrus.core.ComponentProviderService
    +
    getEndpointInstance(Class<T>) - Method in class org.glassfish.tyrus.core.ComponentProviderService
    This method is called by the container each time a new client connects to the logical endpoint this configurator configures.
    -
    getEndpointInstance(Class<T>) - Method in class org.glassfish.tyrus.core.TyrusServerEndpointConfigurator
    +
    getEndpointInstance(Class<T>) - Method in class org.glassfish.tyrus.core.TyrusServerEndpointConfigurator
     
    -
    getEndpointPath() - Method in class org.glassfish.tyrus.core.TyrusEndpointWrapper
    +
    getEndpointPath() - Method in class org.glassfish.tyrus.core.TyrusEndpointWrapper
    Server-side; Get Endpoint absolute path.
    -
    getEndpointWrapper() - Method in class org.glassfish.tyrus.core.uri.Match
    +
    getEndpointWrapper() - Method in class org.glassfish.tyrus.core.uri.Match
    Get endpoint wrapper.
    -
    getException() - Method in class javax.websocket.SendResult
    +
    getException() - Method in class javax.websocket.SendResult
    The problem sending the message.
    -
    getExecutorService() - Method in class org.glassfish.tyrus.core.BaseContainer
    +
    getExecutorService() - Method in class org.glassfish.tyrus.core.BaseContainer
    Returns a container-managed ExecutorService registered under java:comp/DefaultManagedExecutorService or if the lookup has failed, it returns a ExecutorService created and managed by this instance of BaseContainer.
    -
    getExecutorService() - Method in class org.glassfish.tyrus.core.ExecutorServiceProvider
    +
    getExecutorService() - Method in class org.glassfish.tyrus.core.ExecutorServiceProvider
    Get the ExecutorService.
    -
    getExtensions() - Method in interface javax.websocket.ClientEndpointConfig
    +
    getExtensions() - Method in interface javax.websocket.ClientEndpointConfig
    Return the extensions, in order of preference, favorite first, that this client would like to use for its sessions.
    -
    getExtensions() - Method in interface javax.websocket.server.ServerEndpointConfig
    +
    getExtensions() - Method in interface javax.websocket.server.ServerEndpointConfig
    Return the websocket extensions configured.
    -
    getFirst(K) - Method in class org.glassfish.tyrus.core.uri.internal.AbstractMultivaluedMap
    +
    getFirst(String, A) - Method in class org.glassfish.tyrus.core.uri.internal.MultivaluedStringMap
    +
     
    +
    getFirst(String, Class<A>) - Method in class org.glassfish.tyrus.core.uri.internal.MultivaluedStringMap
    +
     
    +
    getFirst(K) - Method in class org.glassfish.tyrus.core.uri.internal.AbstractMultivaluedMap
     
    -
    getFirst(K) - Method in interface org.glassfish.tyrus.core.uri.internal.MultivaluedMap
    +
    getFirst(K) - Method in interface org.glassfish.tyrus.core.uri.internal.MultivaluedMap
    A shortcut to get the first value of the supplied key.
    -
    getFirst(String, Class<A>) - Method in class org.glassfish.tyrus.core.uri.internal.MultivaluedStringMap
    -
     
    -
    getFirst(String, A) - Method in class org.glassfish.tyrus.core.uri.internal.MultivaluedStringMap
    -
     
    -
    getFirstHeaderValue(String) - Method in class org.glassfish.tyrus.spi.UpgradeResponse
    +
    getFirstHeaderValue(String) - Method in class org.glassfish.tyrus.spi.UpgradeResponse
    Gets the value of the response header with the given name.
    -
    getFrameType() - Method in class org.glassfish.tyrus.core.frame.TyrusFrame
    +
    getFrameType() - Method in class org.glassfish.tyrus.core.frame.TyrusFrame
    Returns the type of the frame.
    -
    getFromStringStringMethod(Class) - Static method in class org.glassfish.tyrus.core.ReflectionHelper
    +
    getFromStringStringMethod(Class) - Static method in class org.glassfish.tyrus.core.ReflectionHelper
    Get the static fromString(String ) method.
    -
    getGenericClass(Type) - Static method in class org.glassfish.tyrus.core.ReflectionHelper
    +
    getGenericClass(Type) - Static method in class org.glassfish.tyrus.core.ReflectionHelper
    Get the class that is the type argument of a parameterized type.
    -
    getGroupCounts() - Method in class org.glassfish.tyrus.core.uri.internal.UriTemplateParser
    +
    getGroupCounts() - Method in class org.glassfish.tyrus.core.uri.internal.UriTemplateParser
    Get the capturing group counts for each template variable.
    -
    getGroupIndexes() - Method in class org.glassfish.tyrus.core.uri.internal.PatternWithGroups
    +
    getGroupIndexes() - Method in class org.glassfish.tyrus.core.uri.internal.PatternWithGroups
    Get the group indexes to capturing groups.
    -
    getGroupIndexes() - Method in class org.glassfish.tyrus.core.uri.internal.UriTemplateParser
    +
    getGroupIndexes() - Method in class org.glassfish.tyrus.core.uri.internal.UriTemplateParser
    Get the group indexes to capturing groups.
    -
    getHeader(String) - Method in class org.glassfish.tyrus.core.RequestContext
    +
    getHeader(String) - Method in class org.glassfish.tyrus.core.RequestContext
    Returns the header value corresponding to the name.
    -
    getHeader(String) - Method in class org.glassfish.tyrus.spi.UpgradeRequest
    +
    getHeader(String) - Method in class org.glassfish.tyrus.spi.UpgradeRequest
    Returns the value of the specified request header name.
    -
    getHeaderFromList(List<T>) - Static method in class org.glassfish.tyrus.core.Utils
    +
    getHeaderFromList(List<T>) - Static method in class org.glassfish.tyrus.core.Utils
    Creates single String value from provided List by calling Object.toString() on each item and separating existing ones with ", ".
    -
    getHeaderFromList(List<T>, Utils.Stringifier<T>) - Static method in class org.glassfish.tyrus.core.Utils
    +
    getHeaderFromList(List<T>, Utils.Stringifier<T>) - Static method in class org.glassfish.tyrus.core.Utils
    Convert list of values to singe String usable as HTTP header value.
    -
    getHeaders() - Method in interface javax.websocket.HandshakeResponse
    +
    getHeaders() - Method in interface javax.websocket.HandshakeResponse
    Return the list of Http headers sent by the web socket server.
    -
    getHeaders() - Method in interface javax.websocket.server.HandshakeRequest
    +
    getHeaders() - Method in interface javax.websocket.server.HandshakeRequest
    Return the read only Map of Http Headers that came with the handshake request.
    -
    getHeaders() - Method in class org.glassfish.tyrus.core.RequestContext
    +
    getHeaders() - Method in class org.glassfish.tyrus.core.RequestContext
    Get headers.
    -
    getHeaders() - Method in class org.glassfish.tyrus.core.TyrusUpgradeResponse
    +
    getHeaders() - Method in class org.glassfish.tyrus.core.TyrusUpgradeResponse
    Get HTTP headers.
    -
    getHeartbeatInterval() - Method in class org.glassfish.tyrus.core.TyrusSession
    +
    getHeartbeatInterval() - Method in class org.glassfish.tyrus.core.TyrusSession
    Return an interval in milliseconds between scheduled periodic Pong messages.
    -
    getHostnameVerifier() - Method in class org.glassfish.tyrus.client.SslEngineConfigurator
    +
    getHostnameVerifier() - Method in class org.glassfish.tyrus.client.SslEngineConfigurator
    Get custom hostname verifier.
    -
    getHttpSession() - Method in interface javax.websocket.server.HandshakeRequest
    +
    getHttpSession() - Method in interface javax.websocket.server.HandshakeRequest
    Return a reference to the HttpSession that the web socket handshake that started this conversation was part of, if the implementation is part of a Java EE web container.
    -
    getHttpSession() - Method in class org.glassfish.tyrus.core.RequestContext
    +
    getHttpSession() - Method in class org.glassfish.tyrus.core.RequestContext
     
    -
    getHttpStatusCode() - Method in exception org.glassfish.tyrus.core.HandshakeException
    +
    getHttpStatusCode() - Method in exception org.glassfish.tyrus.core.HandshakeException
    Get the error code.
    -
    getId() - Method in interface javax.websocket.Session
    +
    getId() - Method in interface javax.websocket.Session
    Returns a string containing the unique identifier assigned to this session.
    -
    getId() - Method in class org.glassfish.tyrus.core.cluster.RemoteSession
    +
    getId() - Method in class org.glassfish.tyrus.core.cluster.RemoteSession
    Get a string containing the unique identifier assigned to this session.
    -
    getId() - Method in class org.glassfish.tyrus.core.TyrusSession
    +
    getId() - Method in class org.glassfish.tyrus.core.TyrusSession
     
    -
    getId() - Method in class org.glassfish.tyrus.core.wsadl.model.Endpoint
    +
    getId() - Method in class org.glassfish.tyrus.core.wsadl.model.Endpoint
    Gets the value of the id property.
    -
    getInitialClassLoader() - Method in class org.glassfish.tyrus.client.ThreadPoolConfig
    +
    getInitialClassLoader() - Method in class org.glassfish.tyrus.client.ThreadPoolConfig
    Get the class loader (if any) to be initially exposed by threads from this pool.
    -
    getInstalledExtensions() - Method in interface javax.websocket.WebSocketContainer
    +
    getInstalledExtensions() - Method in interface javax.websocket.WebSocketContainer
    Return the set of Extensions installed in the container.
    -
    getInstalledExtensions() - Method in class org.glassfish.tyrus.client.ClientManager
    +
    getInstalledExtensions() - Method in class org.glassfish.tyrus.client.ClientManager
     
    -
    getInstalledExtensions() - Method in class org.glassfish.tyrus.server.TyrusServerContainer
    +
    getInstalledExtensions() - Method in class org.glassfish.tyrus.server.TyrusServerContainer
     
    -
    getInstance(Class<T>, Session, ErrorCollector) - Method in class org.glassfish.tyrus.core.ComponentProviderService
    -
    -
    Provide an instance of class which is coupled to Session.
    -
    -
    getInstance() - Static method in class org.glassfish.tyrus.core.OsgiRegistry
    +
    getInstance() - Static method in class org.glassfish.tyrus.core.OsgiRegistry
    Returns an OsgiRegistry instance.
    -
    getInstance(Class<T>, ErrorCollector) - Static method in class org.glassfish.tyrus.core.ReflectionHelper
    +
    getInstance(Class<T>) - Static method in class org.glassfish.tyrus.core.ReflectionHelper
    Creates an instance of Class c using Class.newInstance().
    -
    getInstance(Class<T>) - Static method in class org.glassfish.tyrus.core.ReflectionHelper
    +
    getInstance(Class<T>, Session, ErrorCollector) - Method in class org.glassfish.tyrus.core.ComponentProviderService
    +
    +
    Provide an instance of class which is coupled to Session.
    +
    +
    getInstance(Class<T>, ErrorCollector) - Static method in class org.glassfish.tyrus.core.ReflectionHelper
    Creates an instance of Class c using Class.newInstance().
    -
    getInvocableMethod(Method) - Method in class org.glassfish.tyrus.core.ComponentProvider
    +
    getInvocableMethod(Method) - Method in class org.glassfish.tyrus.core.ComponentProvider
    Get the method which should be invoked instead provided one.
    -
    getInvocableMethod(Method) - Method in class org.glassfish.tyrus.core.ComponentProviderService
    +
    getInvocableMethod(Method) - Method in class org.glassfish.tyrus.core.ComponentProviderService
     
    -
    getInvocableMethod(Method) - Method in class org.glassfish.tyrus.core.DefaultComponentProvider
    +
    getInvocableMethod(Method) - Method in class org.glassfish.tyrus.core.DefaultComponentProvider
     
    -
    getInvocableMethod(Method) - Method in class org.glassfish.tyrus.gf.ejb.EjbComponentProvider
    +
    getInvocableMethod(Method) - Method in class org.glassfish.tyrus.gf.ejb.EjbComponentProvider
     
    -
    getKeepAliveTime(TimeUnit) - Method in class org.glassfish.tyrus.client.ThreadPoolConfig
    +
    getKeepAliveTime(TimeUnit) - Method in class org.glassfish.tyrus.client.ThreadPoolConfig
    Get the max period of time a thread will wait for a new task to process.
    -
    getKey() - Method in interface org.glassfish.tyrus.core.l10n.Localizable
    +
    getKey() - Method in interface org.glassfish.tyrus.core.l10n.Localizable
    Gets the key in the resource bundle.
    -
    getKey() - Method in class org.glassfish.tyrus.core.l10n.LocalizableMessage
    +
    getKey() - Method in class org.glassfish.tyrus.core.l10n.LocalizableMessage
     
    -
    getLocale() - Method in class org.glassfish.tyrus.core.l10n.Localizer
    +
    getLocale() - Method in class org.glassfish.tyrus.core.l10n.Localizer
     
    -
    getMaskingKey() - Method in class org.glassfish.tyrus.core.frame.Frame
    +
    getMaskingKey() - Method in class org.glassfish.tyrus.core.frame.Frame
    Get masking key.
    -
    getMatrixParameters() - Method in interface org.glassfish.tyrus.core.uri.internal.PathSegment
    +
    getMatrixParameters() - Method in interface org.glassfish.tyrus.core.uri.internal.PathSegment
    Get a map of the matrix parameters associated with the path segment.
    -
    getMaxBinaryMessageBufferSize() - Method in interface javax.websocket.Session
    +
    getMaxBinaryMessageBufferSize() - Method in interface javax.websocket.Session
    The maximum length of incoming binary messages that this Session can buffer.
    -
    getMaxBinaryMessageBufferSize() - Method in class org.glassfish.tyrus.core.cluster.RemoteSession
    +
    getMaxBinaryMessageBufferSize() - Method in class org.glassfish.tyrus.core.cluster.RemoteSession
    Get the maximum length of incoming binary messages that this Session can buffer.
    -
    getMaxBinaryMessageBufferSize() - Method in class org.glassfish.tyrus.core.TyrusSession
    +
    getMaxBinaryMessageBufferSize() - Method in class org.glassfish.tyrus.core.TyrusSession
     
    -
    getMaxIdleTimeout() - Method in interface javax.websocket.Session
    +
    getMaxIdleTimeout() - Method in interface javax.websocket.Session
    Return the number of milliseconds before this conversation may be closed by the container if it is inactive, i.e.
    -
    getMaxIdleTimeout() - Method in class org.glassfish.tyrus.core.cluster.RemoteSession
    +
    getMaxIdleTimeout() - Method in class org.glassfish.tyrus.core.cluster.RemoteSession
    Get the number of milliseconds before this conversation may be closed by the container if it is inactive, i.e.
    -
    getMaxIdleTimeout() - Method in class org.glassfish.tyrus.core.TyrusSession
    +
    getMaxIdleTimeout() - Method in class org.glassfish.tyrus.core.TyrusSession
     
    -
    getMaxPoolSize() - Method in class org.glassfish.tyrus.client.ThreadPoolConfig
    +
    getMaxPoolSize() - Method in class org.glassfish.tyrus.client.ThreadPoolConfig
    Get max thread pool size.
    -
    getMaxSessions() - Method in interface org.glassfish.tyrus.core.TyrusServerEndpointConfig
    +
    getMaxSessions() - Method in interface org.glassfish.tyrus.core.TyrusServerEndpointConfig
    Returns configured maximal number of open sessions.
    -
    getMaxTextMessageBufferSize() - Method in interface javax.websocket.Session
    +
    getMaxTextMessageBufferSize() - Method in interface javax.websocket.Session
    The maximum length of incoming text messages that this Session can buffer.
    -
    getMaxTextMessageBufferSize() - Method in class org.glassfish.tyrus.core.cluster.RemoteSession
    +
    getMaxTextMessageBufferSize() - Method in class org.glassfish.tyrus.core.cluster.RemoteSession
    Get the maximum length of incoming text messages that this Session can buffer.
    -
    getMaxTextMessageBufferSize() - Method in class org.glassfish.tyrus.core.TyrusSession
    +
    getMaxTextMessageBufferSize() - Method in class org.glassfish.tyrus.core.TyrusSession
     
    -
    getMessage(String, Object...) - Method in class org.glassfish.tyrus.core.l10n.LocalizableMessageFactory
    +
    getMessage(String, Object...) - Method in class org.glassfish.tyrus.core.l10n.LocalizableMessageFactory
     
    -
    getMessageHandlers() - Method in interface javax.websocket.Session
    +
    getMessageHandlers() - Method in interface javax.websocket.Session
    Return an unmodifiable copy of the set of MessageHandlers for this Session.
    -
    getMessageHandlers() - Method in class org.glassfish.tyrus.core.cluster.RemoteSession
    +
    getMessageHandlers() - Method in class org.glassfish.tyrus.core.cluster.RemoteSession
    This method is not supported on RemoteSession.
    -
    getMessageHandlers() - Method in class org.glassfish.tyrus.core.MessageHandlerManager
    +
    getMessageHandlers() - Method in class org.glassfish.tyrus.core.MessageHandlerManager
    Get all successfully registered MessageHandlers.
    -
    getMessageHandlers() - Method in class org.glassfish.tyrus.core.TyrusSession
    +
    getMessageHandlers() - Method in class org.glassfish.tyrus.core.TyrusSession
     
    -
    getMessageType() - Method in class org.glassfish.tyrus.spi.WriterInfo
    +
    getMessageType() - Method in class org.glassfish.tyrus.spi.WriterInfo
     
    -
    getName() - Method in interface javax.websocket.Extension
    +
    getName() - Method in interface javax.websocket.Extension
    The name of the extension.
    -
    getName() - Method in interface javax.websocket.Extension.Parameter
    +
    getName() - Method in interface javax.websocket.Extension.Parameter
    Return the name of the extension parameter.
    -
    getName() - Method in class org.glassfish.tyrus.core.TyrusExtension
    +
    getName() - Method in class org.glassfish.tyrus.core.TyrusExtension
     
    -
    getName() - Method in class org.glassfish.tyrus.core.TyrusExtension.TyrusParameter
    +
    getName() - Method in class org.glassfish.tyrus.core.TyrusExtension.TyrusParameter
     
    -
    getNames() - Method in class org.glassfish.tyrus.core.uri.internal.UriTemplateParser
    +
    getNames() - Method in class org.glassfish.tyrus.core.uri.internal.UriTemplateParser
    Get the list of template names.
    -
    getNameToPattern() - Method in class org.glassfish.tyrus.core.uri.internal.UriTemplateParser
    +
    getNameToPattern() - Method in class org.glassfish.tyrus.core.uri.internal.UriTemplateParser
    Get the map of template names to patterns.
    -
    getNegotiatedExtensions(List<Extension>, List<Extension>) - Method in class javax.websocket.server.ServerEndpointConfig.Configurator
    -
    -
    Return the ordered list of extensions that t server endpoint will support - given the requested extension list passed in, the empty list if none.
    -
    -
    getNegotiatedExtensions() - Method in interface javax.websocket.Session
    +
    getNegotiatedExtensions() - Method in interface javax.websocket.Session
    Return the list of extensions currently in use for this conversation.
    -
    getNegotiatedExtensions() - Method in class org.glassfish.tyrus.core.cluster.RemoteSession
    +
    getNegotiatedExtensions() - Method in class org.glassfish.tyrus.core.cluster.RemoteSession
    Get the list of extensions currently in use for this conversation.
    -
    getNegotiatedExtensions(List<Extension>, List<Extension>) - Method in class org.glassfish.tyrus.core.TyrusServerEndpointConfigurator
    -
     
    -
    getNegotiatedExtensions() - Method in class org.glassfish.tyrus.core.TyrusSession
    +
    getNegotiatedExtensions() - Method in class org.glassfish.tyrus.core.TyrusSession
     
    -
    getNegotiatedSubprotocol(List<String>, List<String>) - Method in class javax.websocket.server.ServerEndpointConfig.Configurator
    +
    getNegotiatedExtensions(List<Extension>, List<Extension>) - Method in class javax.websocket.server.ServerEndpointConfig.Configurator
    -
    Return the subprotocol the server endpoint has chosen from the requested - list supplied by a client who wishes to connect, or none if there wasn't one - this server endpoint liked.
    +
    Return the ordered list of extensions that t server endpoint will support + given the requested extension list passed in, the empty list if none.
    -
    getNegotiatedSubprotocol() - Method in interface javax.websocket.Session
    +
    getNegotiatedExtensions(List<Extension>, List<Extension>) - Method in class org.glassfish.tyrus.core.TyrusServerEndpointConfigurator
    +
     
    +
    getNegotiatedSubprotocol() - Method in interface javax.websocket.Session
    Return the sub protocol agreed during the websocket handshake for this conversation.
    -
    getNegotiatedSubprotocol() - Method in class org.glassfish.tyrus.core.cluster.RemoteSession
    +
    getNegotiatedSubprotocol() - Method in class org.glassfish.tyrus.core.cluster.RemoteSession
    Get the sub protocol agreed during the websocket handshake for this conversation.
    -
    getNegotiatedSubprotocol(List<String>, List<String>) - Method in class org.glassfish.tyrus.core.TyrusServerEndpointConfigurator
    +
    getNegotiatedSubprotocol() - Method in class org.glassfish.tyrus.core.TyrusSession
     
    -
    getNegotiatedSubprotocol() - Method in class org.glassfish.tyrus.core.TyrusSession
    +
    getNegotiatedSubprotocol(List<String>, List<String>) - Method in class javax.websocket.server.ServerEndpointConfig.Configurator
    +
    +
    Return the subprotocol the server endpoint has chosen from the requested + list supplied by a client who wishes to connect, or none if there wasn't one + this server endpoint liked.
    +
    +
    getNegotiatedSubprotocol(List<String>, List<String>) - Method in class org.glassfish.tyrus.core.TyrusServerEndpointConfigurator
     
    -
    getNormalizedTemplate() - Method in class org.glassfish.tyrus.core.uri.internal.UriTemplateParser
    +
    getNormalizedTemplate() - Method in class org.glassfish.tyrus.core.uri.internal.UriTemplateParser
    Get the normalized template.
    -
    getNumberOfExplicitCharacters() - Method in class org.glassfish.tyrus.core.uri.internal.UriTemplate
    +
    getNumberOfExplicitCharacters() - Method in class org.glassfish.tyrus.core.uri.internal.UriTemplate
    Get the number of characters in the regular expression not resulting from conversion of template variables.
    -
    getNumberOfExplicitRegexes() - Method in class org.glassfish.tyrus.core.uri.internal.UriTemplate
    +
    getNumberOfExplicitRegexes() - Method in class org.glassfish.tyrus.core.uri.internal.UriTemplate
    Get the number of explicit regular expressions declared in the template variables.
    -
    getNumberOfExplicitRegexes() - Method in class org.glassfish.tyrus.core.uri.internal.UriTemplateParser
    +
    getNumberOfExplicitRegexes() - Method in class org.glassfish.tyrus.core.uri.internal.UriTemplateParser
    Get the number of explicit regular expressions.
    -
    getNumberOfLiteralCharacters() - Method in class org.glassfish.tyrus.core.uri.internal.UriTemplateParser
    +
    getNumberOfLiteralCharacters() - Method in class org.glassfish.tyrus.core.uri.internal.UriTemplateParser
    Get the number of literal characters.
    -
    getNumberOfRegexGroups() - Method in class org.glassfish.tyrus.core.uri.internal.UriTemplate
    +
    getNumberOfRegexGroups() - Method in class org.glassfish.tyrus.core.uri.internal.UriTemplate
    Get the number of regular expression groups
    -
    getNumberOfRegexGroups() - Method in class org.glassfish.tyrus.core.uri.internal.UriTemplateParser
    +
    getNumberOfRegexGroups() - Method in class org.glassfish.tyrus.core.uri.internal.UriTemplateParser
    Get the number of regular expression groups
    -
    getNumberOfTemplateVariables() - Method in class org.glassfish.tyrus.core.uri.internal.UriTemplate
    +
    getNumberOfTemplateVariables() - Method in class org.glassfish.tyrus.core.uri.internal.UriTemplate
    Get the number of template variables.
    -
    getObject() - Method in exception javax.websocket.EncodeException
    +
    getObject() - Method in exception javax.websocket.EncodeException
    Return the Object that could not be encoded.
    -
    getOpcode() - Method in class org.glassfish.tyrus.core.frame.Frame
    +
    getOpcode() - Method in class org.glassfish.tyrus.core.frame.Frame
    Get opcode.
    -
    getOpenSessions() - Method in interface javax.websocket.Session
    +
    getOpenSessions() - Method in interface javax.websocket.Session
    Return a copy of the Set of all the open web socket sessions that represent connections to the same endpoint to which this session represents a connection.
    -
    getOpenSessions() - Method in class org.glassfish.tyrus.core.cluster.RemoteSession
    +
    getOpenSessions() - Method in class org.glassfish.tyrus.core.cluster.RemoteSession
    This method is not supported on RemoteSession.
    -
    getOpenSessions() - Method in class org.glassfish.tyrus.core.TyrusSession
    +
    getOpenSessions() - Method in class org.glassfish.tyrus.core.TyrusSession
     
    -
    getOrderedWholeMessageHandlers() - Method in class org.glassfish.tyrus.core.MessageHandlerManager
    +
    getOrderedWholeMessageHandlers() - Method in class org.glassfish.tyrus.core.MessageHandlerManager
     
    -
    getOsgiRegistryInstance() - Static method in class org.glassfish.tyrus.core.ReflectionHelper
    +
    getOsgiRegistryInstance() - Static method in class org.glassfish.tyrus.core.ReflectionHelper
    Returns an OsgiRegistry instance.
    -
    getOtherAttributes() - Method in class org.glassfish.tyrus.core.wsadl.model.Endpoint
    +
    getOtherAttributes() - Method in class org.glassfish.tyrus.core.wsadl.model.Endpoint
    Gets a map that contains attributes that aren't bound to any typed property on this class.
    -
    getPackageResources(String, ClassLoader) - Method in class org.glassfish.tyrus.core.OsgiRegistry
    +
    getPackageResources(String, ClassLoader) - Method in class org.glassfish.tyrus.core.OsgiRegistry
     
    -
    getParameterizedClassArguments(ReflectionHelper.DeclaringClassInterfacePair) - Static method in class org.glassfish.tyrus.core.ReflectionHelper
    +
    getParameterizedClassArguments(ReflectionHelper.DeclaringClassInterfacePair) - Static method in class org.glassfish.tyrus.core.ReflectionHelper
    Get the parameterized class arguments for a declaring class that declares a generic interface type.
    -
    getParameterizedTypeArguments(ReflectionHelper.DeclaringClassInterfacePair) - Static method in class org.glassfish.tyrus.core.ReflectionHelper
    +
    getParameterizedTypeArguments(ReflectionHelper.DeclaringClassInterfacePair) - Static method in class org.glassfish.tyrus.core.ReflectionHelper
    Get the parameterized type arguments for a declaring class that declares a generic interface type.
    -
    getParameterMap() - Method in interface javax.websocket.server.HandshakeRequest
    +
    getParameterMap() - Method in interface javax.websocket.server.HandshakeRequest
    Return the request parameters associated with the request.
    -
    getParameterMap() - Method in class org.glassfish.tyrus.core.RequestContext
    +
    getParameterMap() - Method in class org.glassfish.tyrus.core.RequestContext
     
    -
    getParameters() - Method in interface javax.websocket.Extension
    +
    getParameters() - Method in interface javax.websocket.Extension
    The extension parameters for this extension in the order they appear in the http headers.
    -
    getParameters() - Method in class org.glassfish.tyrus.core.TyrusExtension
    +
    getParameters() - Method in class org.glassfish.tyrus.core.TyrusExtension
     
    -
    getParameters() - Method in class org.glassfish.tyrus.core.uri.Match
    +
    getParameters() - Method in class org.glassfish.tyrus.core.uri.Match
    Get map of parameter names-value pairs.
    -
    getPassword() - Method in class org.glassfish.tyrus.client.auth.Credentials
    +
    getPassword() - Method in class org.glassfish.tyrus.client.auth.Credentials
    Get the password as byte array.
    -
    getPath() - Method in interface javax.websocket.server.ServerEndpointConfig
    +
    getPath() - Method in interface javax.websocket.server.ServerEndpointConfig
    Return the path for this endpoint configuration.
    -
    getPath() - Method in interface org.glassfish.tyrus.core.uri.internal.PathSegment
    +
    getPath() - Method in interface org.glassfish.tyrus.core.uri.internal.PathSegment
    Get the path segment.
    -
    getPath() - Method in class org.glassfish.tyrus.core.wsadl.model.Endpoint
    +
    getPath() - Method in class org.glassfish.tyrus.core.wsadl.model.Endpoint
    Gets the value of the path property.
    -
    getPathParameters() - Method in interface javax.websocket.Session
    +
    getPathParameters() - Method in interface javax.websocket.Session
    Return a map of the path parameter names and values used associated with the request this session was opened under.
    -
    getPathParameters() - Method in class org.glassfish.tyrus.core.cluster.RemoteSession
    +
    getPathParameters() - Method in class org.glassfish.tyrus.core.cluster.RemoteSession
    Get a map of the path parameter names and values used associated with the request this session was opened under.
    -
    getPathParameters() - Method in class org.glassfish.tyrus.core.TyrusSession
    +
    getPathParameters() - Method in class org.glassfish.tyrus.core.TyrusSession
     
    -
    getPattern() - Method in class org.glassfish.tyrus.core.uri.internal.UriTemplate
    +
    getPattern() - Method in class org.glassfish.tyrus.core.uri.internal.UriTemplate
    Get the URI pattern.
    -
    getPattern() - Method in class org.glassfish.tyrus.core.uri.internal.UriTemplateParser
    +
    getPattern() - Method in class org.glassfish.tyrus.core.uri.internal.UriTemplateParser
    Get the pattern.
    -
    getPayloadData() - Method in class org.glassfish.tyrus.core.frame.Frame
    +
    getPayloadData() - Method in class org.glassfish.tyrus.core.frame.Frame
    Get payload data.
    -
    getPayloadLength() - Method in class org.glassfish.tyrus.core.frame.Frame
    +
    getPayloadLength() - Method in class org.glassfish.tyrus.core.frame.Frame
    Get payload length.
    -
    getPoolName() - Method in class org.glassfish.tyrus.client.ThreadPoolConfig
    +
    getPoolName() - Method in class org.glassfish.tyrus.client.ThreadPoolConfig
    Return thread pool name.
    -
    getPort() - Method in class org.glassfish.tyrus.server.Server
    +
    getPort() - Method in class org.glassfish.tyrus.server.Server
    Get the port which was used to start the container.
    -
    getPort() - Method in class org.glassfish.tyrus.server.TyrusServerContainer
    +
    getPort() - Method in class org.glassfish.tyrus.server.TyrusServerContainer
    Get port of the started container.
    -
    getPreferredSubprotocols() - Method in interface javax.websocket.ClientEndpointConfig
    +
    getPreferredSubprotocols() - Method in interface javax.websocket.ClientEndpointConfig
    Return the ordered list of sub protocols a client endpoint would like to use, in order of preference, favorite first that this client would like to use for its sessions.
    -
    getPriority() - Method in class org.glassfish.tyrus.client.ThreadPoolConfig
    +
    getPriority() - Method in class org.glassfish.tyrus.client.ThreadPoolConfig
    Get priority of the threads in thread pool.
    -
    getProperties() - Method in class org.glassfish.tyrus.client.ClientManager
    +
    getProperties() - Method in class org.glassfish.tyrus.client.ClientManager
    Container properties.
    -
    getProperties() - Method in interface org.glassfish.tyrus.core.extension.ExtendedExtension.ExtensionContext
    +
    getProperties() - Method in interface org.glassfish.tyrus.core.extension.ExtendedExtension.ExtensionContext
    Mutable, not synchronised property map.
    -
    getProperty(Map<String, Object>, String, Class<T>) - Static method in class org.glassfish.tyrus.core.Utils
    +
    getProperty(Map<String, Object>, String, Class<T>) - Static method in class org.glassfish.tyrus.core.Utils
    Get typed property from generic property map.
    -
    getProperty(Map<String, Object>, String, Class<T>, T) - Static method in class org.glassfish.tyrus.core.Utils
    +
    getProperty(Map<String, Object>, String, Class<T>, T) - Static method in class org.glassfish.tyrus.core.Utils
    Get typed property from generic property map.
    -
    getProtocolVersion() - Method in interface javax.websocket.Session
    +
    getProtocolVersion() - Method in interface javax.websocket.Session
    Returns the version of the websocket protocol currently being used.
    -
    getProtocolVersion() - Method in class org.glassfish.tyrus.core.cluster.RemoteSession
    +
    getProtocolVersion() - Method in class org.glassfish.tyrus.core.cluster.RemoteSession
    Get the version of the websocket protocol currently being used.
    -
    getProtocolVersion() - Method in class org.glassfish.tyrus.core.TyrusSession
    +
    getProtocolVersion() - Method in class org.glassfish.tyrus.core.TyrusSession
     
    -
    getQueryString() - Method in interface javax.websocket.server.HandshakeRequest
    +
    getQueryString() - Method in interface javax.websocket.server.HandshakeRequest
    Return the query string associated with the request.
    -
    getQueryString() - Method in interface javax.websocket.Session
    +
    getQueryString() - Method in interface javax.websocket.Session
    Return the query string associated with the request this session was opened under.
    -
    getQueryString() - Method in class org.glassfish.tyrus.core.cluster.RemoteSession
    +
    getQueryString() - Method in class org.glassfish.tyrus.core.cluster.RemoteSession
    Get the query string associated with the request this session was opened under.
    -
    getQueryString() - Method in class org.glassfish.tyrus.core.RequestContext
    +
    getQueryString() - Method in class org.glassfish.tyrus.core.RequestContext
     
    -
    getQueryString() - Method in class org.glassfish.tyrus.core.TyrusSession
    +
    getQueryString() - Method in class org.glassfish.tyrus.core.TyrusSession
     
    -
    getQueue() - Method in class org.glassfish.tyrus.client.ThreadPoolConfig
    +
    getQueue() - Method in class org.glassfish.tyrus.client.ThreadPoolConfig
    Return a queue that will be used to temporarily store tasks when all threads in the thread pool are busy.
    -
    getQueueLimit() - Method in class org.glassfish.tyrus.client.ThreadPoolConfig
    +
    getQueueLimit() - Method in class org.glassfish.tyrus.client.ThreadPoolConfig
    Get the limit of the queue, where tasks are temporarily stored when all threads are busy.
    -
    getReadHandler() - Method in interface org.glassfish.tyrus.spi.Connection
    +
    getReadHandler() - Method in interface org.glassfish.tyrus.spi.Connection
    Returns a read handler.
    -
    getReasonPhrase() - Method in class javax.websocket.CloseReason
    +
    getReasonPhrase() - Method in class javax.websocket.CloseReason
    The reason phrase associated with this CloseReason.
    -
    getReasonPhrase() - Method in class org.glassfish.tyrus.core.TyrusUpgradeResponse
    +
    getReasonPhrase() - Method in class org.glassfish.tyrus.core.TyrusUpgradeResponse
    Get HTTP reason phrase.
    -
    getRegex() - Method in class org.glassfish.tyrus.core.uri.internal.PatternWithGroups
    +
    getRegex() - Method in class org.glassfish.tyrus.core.uri.internal.PatternWithGroups
    Get the regular expression.
    -
    getRemainder() - Method in class org.glassfish.tyrus.core.frame.TextFrame
    +
    getRemainder() - Method in class org.glassfish.tyrus.core.frame.TextFrame
    Remainder after UTF-8 decoding.
    -
    getRemainingArray(ByteBuffer) - Static method in class org.glassfish.tyrus.core.Utils
    +
    getRemainingArray(ByteBuffer) - Static method in class org.glassfish.tyrus.core.Utils
    Creates the array of bytes containing the bytes from the position to the limit of the ByteBuffer.
    -
    getRemoteAddr() - Method in class org.glassfish.tyrus.core.RequestContext
    +
    getRemoteAddr() - Method in class org.glassfish.tyrus.core.RequestContext
    Get the Internet Protocol (IP) address of the client or last proxy that sent the request.
    -
    getRemoteAddr() - Method in class org.glassfish.tyrus.core.TyrusSession
    +
    getRemoteAddr() - Method in class org.glassfish.tyrus.core.TyrusSession
    Get the Internet Protocol (IP) address of the client or last proxy that sent the request.
    -
    getRemoteEndpointType() - Method in class org.glassfish.tyrus.spi.WriterInfo
    +
    getRemoteEndpointType() - Method in class org.glassfish.tyrus.spi.WriterInfo
     
    -
    getRemoteSessionIds(String) - Method in class org.glassfish.tyrus.core.cluster.ClusterContext
    +
    getRemoteSessionIds(String) - Method in class org.glassfish.tyrus.core.cluster.ClusterContext
    Get set containing session ids of all remote sessions registered to given endpoint path.
    -
    getRemoteSessions() - Method in class org.glassfish.tyrus.core.TyrusSession
    +
    getRemoteSessions() - Method in class org.glassfish.tyrus.core.TyrusSession
    Get set of remote sessions.
    -
    getRequest() - Method in class org.glassfish.tyrus.core.Handshake
    +
    getRequest() - Method in class org.glassfish.tyrus.core.Handshake
    Client side only - get the UpgradeRequest.
    -
    getRequestParameterMap() - Method in interface javax.websocket.Session
    +
    getRequestParameterMap() - Method in interface javax.websocket.Session
    Return the request parameters associated with the request this session was opened under.
    -
    getRequestParameterMap() - Method in class org.glassfish.tyrus.core.cluster.RemoteSession
    +
    getRequestParameterMap() - Method in class org.glassfish.tyrus.core.cluster.RemoteSession
    Get the request parameters associated with the request this session was opened under.
    -
    getRequestParameterMap() - Method in class org.glassfish.tyrus.core.TyrusSession
    +
    getRequestParameterMap() - Method in class org.glassfish.tyrus.core.TyrusSession
     
    -
    getRequestURI() - Method in interface javax.websocket.server.HandshakeRequest
    +
    getRequestUri() - Method in class org.glassfish.tyrus.core.RequestContext
    +
     
    +
    getRequestUri() - Method in class org.glassfish.tyrus.spi.UpgradeRequest
    +
    +
    Get the undecoded request uri (up to the query string) of underlying + HTTP handshake request.
    +
    +
    getRequestURI() - Method in interface javax.websocket.server.HandshakeRequest
    Return the request URI of the handshake request.
    -
    getRequestURI() - Method in interface javax.websocket.Session
    +
    getRequestURI() - Method in interface javax.websocket.Session
    Return the URI under which this session was opened, including the query string if there is one.
    -
    getRequestURI() - Method in class org.glassfish.tyrus.core.cluster.RemoteSession
    +
    getRequestURI() - Method in class org.glassfish.tyrus.core.cluster.RemoteSession
    Get the URI under which this session was opened, including the query string if there is one.
    -
    getRequestURI() - Method in class org.glassfish.tyrus.core.RequestContext
    +
    getRequestURI() - Method in class org.glassfish.tyrus.core.RequestContext
     
    -
    getRequestUri() - Method in class org.glassfish.tyrus.core.RequestContext
    +
    getRequestURI() - Method in class org.glassfish.tyrus.core.TyrusSession
     
    -
    getRequestURI() - Method in class org.glassfish.tyrus.core.TyrusSession
    -
     
    -
    getRequestUri() - Method in class org.glassfish.tyrus.spi.UpgradeRequest
    -
    -
    Get the undecoded request uri (up to the query string) of underlying - HTTP handshake request.
    -
    -
    getResourceBundle(String) - Method in class org.glassfish.tyrus.core.OsgiRegistry
    +
    getResourceBundle(String) - Method in class org.glassfish.tyrus.core.OsgiRegistry
    Tries to load resource bundle via OSGi means.
    -
    getResourceBundleName() - Method in interface org.glassfish.tyrus.core.l10n.Localizable
    +
    getResourceBundleName() - Method in interface org.glassfish.tyrus.core.l10n.Localizable
    Get the name of the localization messages resource bundle.
    -
    getResourceBundleName() - Method in class org.glassfish.tyrus.core.l10n.LocalizableMessage
    +
    getResourceBundleName() - Method in class org.glassfish.tyrus.core.l10n.LocalizableMessage
     
    -
    getScheduledExecutorService() - Method in class org.glassfish.tyrus.core.BaseContainer
    +
    getScheduledExecutorService() - Method in class org.glassfish.tyrus.core.BaseContainer
    Returns a container-managed ScheduledExecutorService registered under java:comp/DefaultManagedScheduledExecutorService or if the lookup has failed it returns a ScheduledExecutorService created and managed by this instance of BaseContainer.
    -
    getScheduledExecutorService() - Method in class org.glassfish.tyrus.core.ExecutorServiceProvider
    +
    getScheduledExecutorService() - Method in class org.glassfish.tyrus.core.ExecutorServiceProvider
    Get the ScheduledExecutorService.
    -
    getSendStream() - Method in interface javax.websocket.RemoteEndpoint.Basic
    +
    getSendStream() - Method in interface javax.websocket.RemoteEndpoint.Basic
    Opens an output stream on which a binary message may be sent.
    -
    getSendTimeout() - Method in interface javax.websocket.RemoteEndpoint.Async
    +
    getSendTimeout() - Method in interface javax.websocket.RemoteEndpoint.Async
    Return the number of milliseconds the implementation will timeout attempting to send a websocket message.
    -
    getSendWriter() - Method in interface javax.websocket.RemoteEndpoint.Basic
    +
    getSendWriter() - Method in interface javax.websocket.RemoteEndpoint.Basic
    Opens an character stream on which a text message may be sent.
    -
    getSession() - Method in exception javax.websocket.SessionException
    +
    getSession() - Method in exception javax.websocket.SessionException
    Return the Session on which the problem occurred.
    -
    getSslContext() - Method in class org.glassfish.tyrus.client.SslEngineConfigurator
    +
    getSslContext() - Method in class org.glassfish.tyrus.client.SslEngineConfigurator
    Create SSLContext and store it for further invocation of this method.
    -
    getStatus() - Method in class org.glassfish.tyrus.core.TyrusUpgradeResponse
    +
    getStatus() - Method in class org.glassfish.tyrus.core.TyrusUpgradeResponse
    Get HTTP status.
    -
    getStatus() - Method in class org.glassfish.tyrus.spi.UpgradeResponse
    +
    getStatus() - Method in class org.glassfish.tyrus.spi.UpgradeResponse
    Get the current HTTP status code of this response.
    -
    getStatus() - Method in interface org.glassfish.tyrus.spi.WebSocketEngine.UpgradeInfo
    +
    getStatus() - Method in interface org.glassfish.tyrus.spi.WebSocketEngine.UpgradeInfo
    Returns the status of HTTP request upgrade.
    -
    getStringConstructor(Class) - Static method in class org.glassfish.tyrus.core.ReflectionHelper
    +
    getStringConstructor(Class) - Static method in class org.glassfish.tyrus.core.ReflectionHelper
    Get the constructor that has a single parameter of String.
    -
    getStringList(List<T>, Utils.Stringifier<T>) - Static method in class org.glassfish.tyrus.core.Utils
    +
    getStringList(List<T>, Utils.Stringifier<T>) - Static method in class org.glassfish.tyrus.core.Utils
    Get list of strings from List<T>.
    -
    getSubprotocols() - Method in interface javax.websocket.server.ServerEndpointConfig
    +
    getSubprotocols() - Method in interface javax.websocket.server.ServerEndpointConfig
    Return the websocket subprotocols configured.
    -
    getSupportedWireProtocolVersions() - Static method in enum org.glassfish.tyrus.core.Version
    +
    getSupportedWireProtocolVersions() - Static method in enum org.glassfish.tyrus.core.Version
     
    -
    getTemplate() - Method in class org.glassfish.tyrus.core.uri.internal.PathPattern
    +
    getTemplate() - Method in class org.glassfish.tyrus.core.uri.internal.PathPattern
     
    -
    getTemplate() - Method in class org.glassfish.tyrus.core.uri.internal.UriTemplate
    +
    getTemplate() - Method in class org.glassfish.tyrus.core.uri.internal.UriTemplate
    Get the URI template as a String.
    -
    getTemplate() - Method in class org.glassfish.tyrus.core.uri.internal.UriTemplateParser
    +
    getTemplate() - Method in class org.glassfish.tyrus.core.uri.internal.UriTemplateParser
    Get the template.
    -
    getTemplateVariables() - Method in class org.glassfish.tyrus.core.uri.internal.UriTemplate
    +
    getTemplateVariables() - Method in class org.glassfish.tyrus.core.uri.internal.UriTemplate
    Get the list of template variables for the template.
    -
    getText() - Method in exception javax.websocket.DecodeException
    +
    getText() - Method in exception javax.websocket.DecodeException
    Return the encoded string that is either the whole message, or the partial message that could not be decoded, or null if this exception arose from a failure to decode a binary message..
    -
    getTextPayload() - Method in class org.glassfish.tyrus.core.frame.TextFrame
    +
    getTextPayload() - Method in class org.glassfish.tyrus.core.frame.TextFrame
    Get text payload.
    -
    getThreadFactory() - Method in class org.glassfish.tyrus.client.ThreadPoolConfig
    +
    getThreadFactory() - Method in class org.glassfish.tyrus.client.ThreadPoolConfig
    Return ThreadFactory that will be used to create thread pool threads.
    -
    getTimeoutHandler() - Method in class org.glassfish.tyrus.client.TyrusClientEngine
    +
    getTimeoutHandler() - Method in class org.glassfish.tyrus.client.TyrusClientEngine
    -
    Get TimeoutHandler associated with current ClientEngine instance.
    +
    Get ClientEngine.TimeoutHandler associated with current ClientEngine instance.
    -
    getTracingHeaders() - Method in class org.glassfish.tyrus.core.DebugContext
    +
    getTracingHeaders() - Method in class org.glassfish.tyrus.core.DebugContext
    Get headers containing tracing messages.
    -
    getType() - Method in class org.glassfish.tyrus.core.coder.CoderWrapper
    +
    getType() - Method in class org.glassfish.tyrus.core.coder.CoderWrapper
    Get the return type of the encode / decode method.
    -
    getTypeArgumentAndClass(Type) - Static method in class org.glassfish.tyrus.core.ReflectionHelper
    +
    getTypeArgumentAndClass(Type) - Static method in class org.glassfish.tyrus.core.ReflectionHelper
     
    -
    getUpgradeStatus() - Method in interface org.glassfish.tyrus.spi.ClientEngine.ClientUpgradeInfo
    +
    getUpgradeStatus() - Method in interface org.glassfish.tyrus.spi.ClientEngine.ClientUpgradeInfo
    -
    getUsername() - Method in class org.glassfish.tyrus.client.auth.Credentials
    +
    getUsername() - Method in class org.glassfish.tyrus.client.auth.Credentials
    Get the username.
    -
    getUserPrincipal() - Method in interface javax.websocket.server.HandshakeRequest
    +
    getUserPrincipal() - Method in interface javax.websocket.server.HandshakeRequest
    Return the authenticated user or null if no user is authenticated for this handshake.
    -
    getUserPrincipal() - Method in interface javax.websocket.Session
    +
    getUserPrincipal() - Method in interface javax.websocket.Session
    Return the authenticated user for this Session or null if no user is authenticated for this session.
    -
    getUserPrincipal() - Method in class org.glassfish.tyrus.core.cluster.RemoteSession
    +
    getUserPrincipal() - Method in class org.glassfish.tyrus.core.cluster.RemoteSession
    Get the authenticated user for this session or null if no user is authenticated for this session.
    -
    getUserPrincipal() - Method in class org.glassfish.tyrus.core.RequestContext
    +
    getUserPrincipal() - Method in class org.glassfish.tyrus.core.RequestContext
     
    -
    getUserPrincipal() - Method in class org.glassfish.tyrus.core.TyrusSession
    +
    getUserPrincipal() - Method in class org.glassfish.tyrus.core.TyrusSession
     
    -
    getUserProperties() - Method in interface javax.websocket.EndpointConfig
    +
    getUserProperties() - Method in interface javax.websocket.EndpointConfig
    This method returns a modifiable Map that the developer may use to store application specific information relating to the endpoint that uses this configuration instance.
    -
    getUserProperties() - Method in interface javax.websocket.Session
    +
    getUserProperties() - Method in interface javax.websocket.Session
    While the session is open, this method returns a Map that the developer may use to store application specific information relating to this session instance.
    -
    getUserProperties() - Method in class org.glassfish.tyrus.core.cluster.RemoteSession
    +
    getUserProperties() - Method in class org.glassfish.tyrus.core.cluster.RemoteSession
    This method is not supported on RemoteSession.
    -
    getUserProperties() - Method in class org.glassfish.tyrus.core.TyrusSession
    +
    getUserProperties() - Method in class org.glassfish.tyrus.core.TyrusSession
     
    -
    getValue() - Method in interface javax.websocket.Extension.Parameter
    +
    getValue() - Method in interface javax.websocket.Extension.Parameter
    Return the value of the extension parameter.
    -
    getValue() - Method in class org.glassfish.tyrus.core.TyrusExtension.TyrusParameter
    +
    getValue() - Method in class org.glassfish.tyrus.core.TyrusExtension.TyrusParameter
     
    -
    getValueOfStringMethod(Class) - Static method in class org.glassfish.tyrus.core.ReflectionHelper
    +
    getValueOfStringMethod(Class) - Static method in class org.glassfish.tyrus.core.ReflectionHelper
    Get the static valueOf(String ) method.
    -
    getValues(K) - Method in class org.glassfish.tyrus.core.uri.internal.AbstractMultivaluedMap
    +
    getValues(K) - Method in class org.glassfish.tyrus.core.uri.internal.AbstractMultivaluedMap
    Return a non-null list of values for a given key.
    -
    getWebSocketContainer() - Static method in class javax.websocket.ContainerProvider
    +
    getWebSocketContainer() - Static method in class javax.websocket.ContainerProvider
    Obtain a new instance of a WebSocketContainer.
    -
    getWebSocketEngine() - Method in interface org.glassfish.tyrus.spi.ServerContainer
    +
    getWebSocketEngine() - Method in interface org.glassfish.tyrus.spi.ServerContainer
    Return WebSocketEngine to upgrade requests and setting up the connection.
    -
    getWriter() - Method in interface org.glassfish.tyrus.spi.Connection
    +
    getWriter() - Method in interface org.glassfish.tyrus.spi.Connection
    Returns the same writer that is passed for creating connection in - WebSocketEngine.UpgradeInfo#createConnection(Writer, CloseListener) + WebSocketEngine.UpgradeInfo.createConnection(Writer, CloseListener) The transport writer that actually writes websocket data to underlying connection.
    -
    getWsadlApplication() - Method in class org.glassfish.tyrus.core.TyrusWebSocketEngine
    +
    getWsadlApplication() - Method in class org.glassfish.tyrus.core.TyrusWebSocketEngine
    Get Application representing current set of deployed endpoints.
    -
    getWsPort(URI) - Static method in class org.glassfish.tyrus.core.Utils
    +
    getWsPort(URI) - Static method in class org.glassfish.tyrus.core.Utils
    Get port from provided URI.
    -
    getWsPort(URI, String) - Static method in class org.glassfish.tyrus.core.Utils
    +
    getWsPort(URI, String) - Static method in class org.glassfish.tyrus.core.Utils
    Get port from provided URI.
    +
    GOING_AWAY - javax.websocket.CloseReason.CloseCodes
    +
    +
    1001 indicates that an endpoint is "going away", such as a server + going down or a browser having navigated away from a page.
    +
    +
    GOING_AWAY - org.glassfish.tyrus.core.CloseReasons
    +
    +
    1001 indicates that an endpoint is "going away", such as a server + going down or a browser having navigated away from a page.
    +
    GrizzlyClientContainer - Class in org.glassfish.tyrus.container.grizzly.client
     
    -
    GrizzlyClientContainer() - Constructor for class org.glassfish.tyrus.container.grizzly.client.GrizzlyClientContainer
    +
    GrizzlyClientContainer() - Constructor for class org.glassfish.tyrus.container.grizzly.client.GrizzlyClientContainer
     
    GrizzlyClientProperties - Class in org.glassfish.tyrus.container.grizzly.client
    Grizzly client properties.
    -
    GrizzlyClientProperties() - Constructor for class org.glassfish.tyrus.container.grizzly.client.GrizzlyClientProperties
    +
    GrizzlyClientProperties() - Constructor for class org.glassfish.tyrus.container.grizzly.client.GrizzlyClientProperties
     
    GrizzlyClientSocket - Class in org.glassfish.tyrus.container.grizzly.client
    @@ -2947,86 +3113,90 @@
    GrizzlyContainerProvider - Class in org.glassfish.tyrus.container.grizzly.client
     
    -
    GrizzlyContainerProvider() - Constructor for class org.glassfish.tyrus.container.grizzly.client.GrizzlyContainerProvider
    +
    GrizzlyContainerProvider() - Constructor for class org.glassfish.tyrus.container.grizzly.client.GrizzlyContainerProvider
     
    GrizzlyServerContainer - Class in org.glassfish.tyrus.container.grizzly.server
    Grizzly implementation of ServerContainerFactory and ServerContainer.
    -
    GrizzlyServerContainer() - Constructor for class org.glassfish.tyrus.container.grizzly.server.GrizzlyServerContainer
    +
    GrizzlyServerContainer() - Constructor for class org.glassfish.tyrus.container.grizzly.server.GrizzlyServerContainer
     
    GrizzlyWriter - Class in org.glassfish.tyrus.container.grizzly.client
     
    -
    GrizzlyWriter(Connection) - Constructor for class org.glassfish.tyrus.container.grizzly.client.GrizzlyWriter
    +
    GrizzlyWriter(Connection) - Constructor for class org.glassfish.tyrus.container.grizzly.client.GrizzlyWriter
     
    - +

    H

    -
    handle(ByteBuffer) - Method in interface org.glassfish.tyrus.spi.ReadHandler
    +
    handle(ByteBuffer) - Method in interface org.glassfish.tyrus.spi.ReadHandler
    A transport reads websocket data and invokes this method to handover websocket data for a connection to tyrus runtime.
    -
    handleTimeout() - Method in interface org.glassfish.tyrus.spi.ClientEngine.TimeoutHandler
    +
    handleTimeout() - Method in interface org.glassfish.tyrus.spi.ClientEngine.TimeoutHandler
    Invoked when timeout is reached.
    +
    handshake(TyrusEndpointWrapper, UpgradeRequest, UpgradeResponse, ExtendedExtension.ExtensionContext) - Method in class org.glassfish.tyrus.core.ProtocolHandler
    +
    +
    Server side handshake processing.
    +
    Handshake - Class in org.glassfish.tyrus.core
    Class responsible for performing and validating handshake.
    -
    handshake(TyrusEndpointWrapper, UpgradeRequest, UpgradeResponse, ExtendedExtension.ExtensionContext) - Method in class org.glassfish.tyrus.core.ProtocolHandler
    +
    HANDSHAKE_FAILED - org.glassfish.tyrus.spi.WebSocketEngine.UpgradeStatus
    -
    Server side handshake processing.
    +
    Upgrade failed due to version, extensions, origin check etc.
    -
    HANDSHAKE_HTTP_REDIRECTION_INFINITE_LOOP() - Static method in class org.glassfish.tyrus.core.l10n.LocalizationMessages
    +
    HANDSHAKE_HTTP_REDIRECTION_INFINITE_LOOP() - Static method in class org.glassfish.tyrus.core.l10n.LocalizationMessages
    Infinite HTTP Redirection loop detected.
    -
    HANDSHAKE_HTTP_REDIRECTION_MAX_REDIRECTION(Object) - Static method in class org.glassfish.tyrus.core.l10n.LocalizationMessages
    +
    HANDSHAKE_HTTP_REDIRECTION_MAX_REDIRECTION(Object) - Static method in class org.glassfish.tyrus.core.l10n.LocalizationMessages
    Redirect attempts exceeded maximum allowed limit of ({0}) redirects.
    -
    HANDSHAKE_HTTP_REDIRECTION_NEW_LOCATION_ERROR(Object) - Static method in class org.glassfish.tyrus.core.l10n.LocalizationMessages
    +
    HANDSHAKE_HTTP_REDIRECTION_NEW_LOCATION_ERROR(Object) - Static method in class org.glassfish.tyrus.core.l10n.LocalizationMessages
    Invalid URI in Location header: "{0}".
    -
    HANDSHAKE_HTTP_REDIRECTION_NEW_LOCATION_MISSING() - Static method in class org.glassfish.tyrus.core.l10n.LocalizationMessages
    +
    HANDSHAKE_HTTP_REDIRECTION_NEW_LOCATION_MISSING() - Static method in class org.glassfish.tyrus.core.l10n.LocalizationMessages
    Missing or empty Location header in 3xx HTTP Redirect response.
    -
    HANDSHAKE_HTTP_REDIRECTION_NOT_ENABLED(Object) - Static method in class org.glassfish.tyrus.core.l10n.LocalizationMessages
    +
    HANDSHAKE_HTTP_REDIRECTION_NOT_ENABLED(Object) - Static method in class org.glassfish.tyrus.core.l10n.LocalizationMessages
    Received HTTP response status code: {0} and redirect processing is not enabled.
    -
    HANDSHAKE_HTTP_RETRY_AFTER_MESSAGE() - Static method in class org.glassfish.tyrus.core.l10n.LocalizationMessages
    +
    HANDSHAKE_HTTP_RETRY_AFTER_MESSAGE() - Static method in class org.glassfish.tyrus.core.l10n.LocalizationMessages
    HTTP Status code 503 - Service Unavailable.
    HANDSHAKE_TIMEOUT - Static variable in class org.glassfish.tyrus.client.ClientManager
    -
    Deprecated. - +
    Deprecated. +
    HANDSHAKE_TIMEOUT - Static variable in class org.glassfish.tyrus.client.ClientProperties
    -
    Property usable in ClientManager.getProperties().
    +
    Property usable in ClientManager.getProperties().
    HandshakeException - Exception in org.glassfish.tyrus.core
    Exception, which describes the error, occurred during the handshake phase.
    -
    HandshakeException(String) - Constructor for exception org.glassfish.tyrus.core.HandshakeException
    +
    HandshakeException(int, String) - Constructor for exception org.glassfish.tyrus.core.HandshakeException
    -
    Construct a HandshakeException.
    +
    Constructor.
    -
    HandshakeException(int, String) - Constructor for exception org.glassfish.tyrus.core.HandshakeException
    +
    HandshakeException(String) - Constructor for exception org.glassfish.tyrus.core.HandshakeException
    -
    Constructor.
    +
    Construct a HandshakeException.
    HandshakeRequest - Interface in javax.websocket.server
    @@ -3038,57 +3208,61 @@
    The handshake response represents the web socket-defined Http response that is the response to the opening handshake request.
    -
    hasExtensions() - Method in class org.glassfish.tyrus.core.ProtocolHandler
    +
    hasExtensions() - Method in class org.glassfish.tyrus.core.ProtocolHandler
    Returns true when current connection has some negotiated extension.
    -
    hashCode() - Method in class org.glassfish.tyrus.client.ThreadPoolConfig
    +
    hashCode() - Method in class org.glassfish.tyrus.client.ThreadPoolConfig
     
    -
    hashCode() - Method in class org.glassfish.tyrus.container.grizzly.client.GrizzlyWriter
    +
    hashCode() - Method in class org.glassfish.tyrus.container.grizzly.client.GrizzlyWriter
     
    -
    hashCode() - Method in class org.glassfish.tyrus.core.TyrusExtension
    +
    hashCode() - Method in class org.glassfish.tyrus.core.TyrusExtension
     
    -
    hashCode() - Method in class org.glassfish.tyrus.core.uri.internal.AbstractMultivaluedMap
    -
    hashCode() - Method in class org.glassfish.tyrus.core.uri.internal.PatternWithGroups
    +
    hashCode() - Method in class org.glassfish.tyrus.core.uri.internal.AbstractMultivaluedMap
    +
    hashCode() - Method in class org.glassfish.tyrus.core.uri.internal.PatternWithGroups
     
    -
    hashCode() - Method in class org.glassfish.tyrus.core.uri.internal.UriTemplate
    +
    hashCode() - Method in class org.glassfish.tyrus.core.uri.internal.UriTemplate
    Hash code is calculated from String of the regular expression generated from the template.
    -
    HEADERS_MISSING() - Static method in class org.glassfish.tyrus.core.l10n.LocalizationMessages
    +
    HEADERS_MISSING() - Static method in class org.glassfish.tyrus.core.l10n.LocalizationMessages
    Missing headers required for WebSocket negotiation.
    -
    hookUp() - Method in class org.glassfish.tyrus.core.OsgiRegistry
    +
    hookUp() - Method in class org.glassfish.tyrus.core.OsgiRegistry
    Will hook up this instance with the OSGi runtime.
    +
    HOST - org.glassfish.tyrus.core.uri.internal.UriComponent.Type
    +
    +
    The URI host component type.
    +
    HOST - Static variable in class org.glassfish.tyrus.spi.UpgradeRequest
    HTTP "Host" header name.
    -
    httpSession(Object) - Method in class org.glassfish.tyrus.core.RequestContext.Builder
    +
    httpSession(Object) - Method in class org.glassfish.tyrus.core.RequestContext.Builder
    Set http session.
    - +

    I

    id - Variable in class org.glassfish.tyrus.core.wsadl.model.Endpoint
     
    -
    ILLEGAL_CONFIG_SYNTAX() - Static method in class org.glassfish.tyrus.core.l10n.LocalizationMessages
    +
    ILLEGAL_CONFIG_SYNTAX() - Static method in class org.glassfish.tyrus.core.l10n.LocalizationMessages
    Illegal configuration-file syntax.
    -
    ILLEGAL_PROVIDER_CLASS_NAME(Object) - Static method in class org.glassfish.tyrus.core.l10n.LocalizationMessages
    +
    ILLEGAL_PROVIDER_CLASS_NAME(Object) - Static method in class org.glassfish.tyrus.core.l10n.LocalizationMessages
    Illegal provider-class name: {0}.
    -
    ILLEGAL_UTF_8_SEQUENCE() - Static method in class org.glassfish.tyrus.core.l10n.LocalizationMessages
    +
    ILLEGAL_UTF_8_SEQUENCE() - Static method in class org.glassfish.tyrus.core.l10n.LocalizationMessages
    Illegal UTF-8 Sequence.
    @@ -3102,200 +3276,204 @@
    INCOMING_BUFFER_SIZE - Static variable in interface org.glassfish.tyrus.spi.ClientContainer
    -
    Deprecated. -
    please use org.glassfish.tyrus.client.ClientProperties#INCOMING_BUFFER_SIZE.
    +
    Deprecated. +
    please use org.glassfish.tyrus.client.ClientProperties#INCOMING_BUFFER_SIZE.
    -
    incomingBufferSize(Integer) - Method in class org.glassfish.tyrus.core.TyrusWebSocketEngine.TyrusWebSocketEngineBuilder
    +
    incomingBufferSize(Integer) - Method in class org.glassfish.tyrus.core.TyrusWebSocketEngine.TyrusWebSocketEngineBuilder
    Set incoming buffer size.
    -
    init(EndpointConfig) - Method in interface javax.websocket.Decoder
    +
    init(WebConnection) - Method in class org.glassfish.tyrus.servlet.TyrusHttpUpgradeHandler
    +
     
    +
    init(EndpointConfig) - Method in interface javax.websocket.Decoder
    This method is called with the endpoint configuration object of the endpoint this decoder is intended for when it is about to be brought into service.
    -
    init(EndpointConfig) - Method in interface javax.websocket.Encoder
    +
    init(EndpointConfig) - Method in interface javax.websocket.Encoder
    This method is called with the endpoint configuration object of the endpoint this encoder is intended for when it is about to be brought into service.
    -
    init(EndpointConfig) - Method in class org.glassfish.tyrus.core.coder.CoderAdapter
    +
    init(EndpointConfig) - Method in class org.glassfish.tyrus.core.coder.CoderAdapter
    This method does nothing.
    -
    init(WebConnection) - Method in class org.glassfish.tyrus.servlet.TyrusHttpUpgradeHandler
    -
     
    InputStreamDecoder - Class in org.glassfish.tyrus.core.coder
    Built in Decoder for InputStream.
    -
    InputStreamDecoder() - Constructor for class org.glassfish.tyrus.core.coder.InputStreamDecoder
    +
    InputStreamDecoder() - Constructor for class org.glassfish.tyrus.core.coder.InputStreamDecoder
     
    -
    IntegerDecoder() - Constructor for class org.glassfish.tyrus.core.coder.PrimitiveDecoders.IntegerDecoder
    +
    IntegerDecoder() - Constructor for class org.glassfish.tyrus.core.coder.PrimitiveDecoders.IntegerDecoder
     
    -
    INVALID_HEADER(Object, Object) - Static method in class org.glassfish.tyrus.core.l10n.LocalizationMessages
    +
    INVALID_HEADER(Object, Object) - Static method in class org.glassfish.tyrus.core.l10n.LocalizationMessages
    Invalid {0} header value: "{1}".
    -
    INVALID_RESPONSE_CODE(Object, Object) - Static method in class org.glassfish.tyrus.core.l10n.LocalizationMessages
    +
    INVALID_RESPONSE_CODE(Object, Object) - Static method in class org.glassfish.tyrus.core.l10n.LocalizationMessages
    Response code was not {0}: {1}.
    -
    IOEXCEPTION_CLOSE() - Static method in class org.glassfish.tyrus.core.l10n.LocalizationMessages
    +
    IOEXCEPTION_CLOSE() - Static method in class org.glassfish.tyrus.core.l10n.LocalizationMessages
    IOException thrown when closing connection.
    -
    isApplicable(Class<?>) - Method in class org.glassfish.tyrus.core.ComponentProvider
    +
    isApplicable(Class<?>) - Method in class org.glassfish.tyrus.core.ComponentProvider
    Checks whether this component provider is able to provide an instance of given Class.
    -
    isApplicable(Class<?>) - Method in class org.glassfish.tyrus.core.DefaultComponentProvider
    +
    isApplicable(Class<?>) - Method in class org.glassfish.tyrus.core.DefaultComponentProvider
     
    -
    isApplicable(Class<?>) - Method in class org.glassfish.tyrus.gf.cdi.CdiComponentProvider
    +
    isApplicable(Class<?>) - Method in class org.glassfish.tyrus.gf.cdi.CdiComponentProvider
     
    -
    isApplicable(Class<?>) - Method in class org.glassfish.tyrus.gf.ejb.EjbComponentProvider
    +
    isApplicable(Class<?>) - Method in class org.glassfish.tyrus.gf.ejb.EjbComponentProvider
     
    -
    isCancelled() - Method in class org.glassfish.tyrus.core.TyrusFuture
    +
    isCancelled() - Method in class org.glassfish.tyrus.core.TyrusFuture
     
    -
    isCipherConfigured() - Method in class org.glassfish.tyrus.client.SslEngineConfigurator
    +
    isCipherConfigured() - Method in class org.glassfish.tyrus.client.SslEngineConfigurator
     
    -
    isClientMode() - Method in class org.glassfish.tyrus.client.SslEngineConfigurator
    +
    isClientMode() - Method in class org.glassfish.tyrus.client.SslEngineConfigurator
    Will SSLEngine be configured to work in client mode.
    -
    isConnected() - Method in class org.glassfish.tyrus.core.TyrusWebSocket
    +
    isConnected() - Method in class org.glassfish.tyrus.core.TyrusWebSocket
    Convenience method to determine if this TyrusWebSocket instance is connected.
    -
    isControlFrame() - Method in class org.glassfish.tyrus.core.frame.Frame
    +
    isControlFrame() - Method in class org.glassfish.tyrus.core.frame.Frame
    Get information about frame type.
    -
    isDaemon() - Method in class org.glassfish.tyrus.client.ThreadPoolConfig
    +
    isDaemon() - Method in class org.glassfish.tyrus.client.ThreadPoolConfig
    Return true if thread pool threads are daemons.
    -
    isDone() - Method in class org.glassfish.tyrus.core.TyrusFuture
    +
    isDone() - Method in class org.glassfish.tyrus.core.TyrusFuture
     
    -
    isEmpty() - Method in class org.glassfish.tyrus.core.ErrorCollector
    +
    isEmpty() - Method in class org.glassfish.tyrus.core.ErrorCollector
    Checks whether any exception has been logged.
    -
    isEmpty() - Method in class org.glassfish.tyrus.core.uri.internal.AbstractMultivaluedMap
    +
    isEmpty() - Method in class org.glassfish.tyrus.core.uri.internal.AbstractMultivaluedMap
     
    -
    isEquivalent(String, String) - Static method in class org.glassfish.tyrus.core.uri.Match
    +
    isEquivalent(String, String) - Static method in class org.glassfish.tyrus.core.uri.Match
    Check for equivalent paths.
    -
    isFin() - Method in class org.glassfish.tyrus.core.frame.Frame
    +
    isFin() - Method in class org.glassfish.tyrus.core.frame.Frame
    Get FIN value.
    -
    isHexCharacter(char) - Static method in class org.glassfish.tyrus.core.uri.internal.UriComponent
    +
    isHexCharacter(char) - Static method in class org.glassfish.tyrus.core.uri.internal.UriComponent
    Checks whether the character c is hexadecimal character.
    -
    isHostVerificationEnabled() - Method in class org.glassfish.tyrus.client.SslEngineConfigurator
    +
    isHostVerificationEnabled() - Method in class org.glassfish.tyrus.client.SslEngineConfigurator
    Get the hostname verification state.
    -
    isInputStreamHandlerPresent() - Method in class org.glassfish.tyrus.core.MessageHandlerManager
    +
    isInitialized() - Method in interface org.glassfish.tyrus.core.collection.LazyValue
    +
    +
    Check if the lazy value has been initialized already (i.e.
    +
    +
    isInputStreamHandlerPresent() - Method in class org.glassfish.tyrus.core.MessageHandlerManager
     
    -
    isMask() - Method in class org.glassfish.tyrus.core.frame.Frame
    +
    isMask() - Method in class org.glassfish.tyrus.core.frame.Frame
    Currently not used.
    -
    isNeedClientAuth() - Method in class org.glassfish.tyrus.client.SslEngineConfigurator
    +
    isNeedClientAuth() - Method in class org.glassfish.tyrus.client.SslEngineConfigurator
    Get "need client auth" property.
    -
    isOK() - Method in class javax.websocket.SendResult
    +
    isOK() - Method in class javax.websocket.SendResult
    Determines if this result is ok or not.
    -
    isOpen() - Method in interface javax.websocket.Session
    +
    isOpen() - Method in interface javax.websocket.Session
    Return true if and only if the underlying socket is open.
    -
    isOpen() - Method in class org.glassfish.tyrus.core.cluster.RemoteSession
    +
    isOpen() - Method in class org.glassfish.tyrus.core.cluster.RemoteSession
    Get the information about session state.
    -
    isOpen() - Method in class org.glassfish.tyrus.core.TyrusSession
    +
    isOpen() - Method in class org.glassfish.tyrus.core.TyrusSession
     
    -
    isProtocolConfigured() - Method in class org.glassfish.tyrus.client.SslEngineConfigurator
    +
    isProtocolConfigured() - Method in class org.glassfish.tyrus.client.SslEngineConfigurator
     
    -
    isReaderHandlerPresent() - Method in class org.glassfish.tyrus.core.MessageHandlerManager
    +
    isReaderHandlerPresent() - Method in class org.glassfish.tyrus.core.MessageHandlerManager
     
    -
    isRsv1() - Method in class org.glassfish.tyrus.core.frame.Frame
    +
    isRsv1() - Method in class org.glassfish.tyrus.core.frame.Frame
    GET RSV1 value.
    -
    isRsv2() - Method in class org.glassfish.tyrus.core.frame.Frame
    +
    isRsv2() - Method in class org.glassfish.tyrus.core.frame.Frame
    GET RSV2 value.
    -
    isRsv3() - Method in class org.glassfish.tyrus.core.frame.Frame
    +
    isRsv3() - Method in class org.glassfish.tyrus.core.frame.Frame
    GET RSV3 value.
    -
    isSecure() - Method in interface javax.websocket.Session
    +
    isSecure() - Method in interface javax.websocket.Session
    Return true if and only if the underlying socket is using a secure transport.
    -
    isSecure() - Method in class org.glassfish.tyrus.core.cluster.RemoteSession
    +
    isSecure() - Method in class org.glassfish.tyrus.core.cluster.RemoteSession
    Get the information about secure transport.
    -
    isSecure() - Method in class org.glassfish.tyrus.core.RequestContext
    +
    isSecure() - Method in class org.glassfish.tyrus.core.RequestContext
     
    -
    isSecure() - Method in class org.glassfish.tyrus.core.TyrusSession
    +
    isSecure() - Method in class org.glassfish.tyrus.core.TyrusSession
     
    -
    isSecure() - Method in class org.glassfish.tyrus.spi.UpgradeRequest
    +
    isSecure() - Method in class org.glassfish.tyrus.spi.UpgradeRequest
    Indicates whether this request was made using a secure channel (such as HTTPS).
    -
    isSessionOpen(String, String) - Method in class org.glassfish.tyrus.core.cluster.ClusterContext
    +
    isSessionOpen(String, String) - Method in class org.glassfish.tyrus.core.cluster.ClusterContext
    Get information about session state.
    -
    isTemplateVariablePresent(String) - Method in class org.glassfish.tyrus.core.uri.internal.UriTemplate
    +
    isTemplateVariablePresent(String) - Method in class org.glassfish.tyrus.core.uri.internal.UriTemplate
    Ascertain if a template variable is a member of this template.
    -
    isUserInRole(String) - Method in interface javax.websocket.server.HandshakeRequest
    +
    isUserInRole(String) - Method in interface javax.websocket.server.HandshakeRequest
    Checks whether the current user is in the given role.
    -
    isUserInRole(String) - Method in interface org.glassfish.tyrus.core.RequestContext.Builder.IsUserInRoleDelegate
    +
    isUserInRole(String) - Method in interface org.glassfish.tyrus.core.RequestContext.Builder.IsUserInRoleDelegate
    Returns a boolean indicating whether the authenticated user is included in the specified logical "role".
    -
    isUserInRole(String) - Method in class org.glassfish.tyrus.core.RequestContext
    +
    isUserInRole(String) - Method in class org.glassfish.tyrus.core.RequestContext
     
    -
    isUserInRoleDelegate(RequestContext.Builder.IsUserInRoleDelegate) - Method in class org.glassfish.tyrus.core.RequestContext.Builder
    +
    isUserInRoleDelegate(RequestContext.Builder.IsUserInRoleDelegate) - Method in class org.glassfish.tyrus.core.RequestContext.Builder
    -
    Set delegate for RequestContext.isUserInRole(String) method.
    +
    Set delegate for RequestContext.isUserInRole(String) method.
    -
    isValid() - Method in interface org.glassfish.tyrus.container.grizzly.client.TaskProcessor.Condition
    +
    isValid() - Method in interface org.glassfish.tyrus.container.grizzly.client.TaskProcessor.Condition
    Check the condition.
    -
    isWantClientAuth() - Method in class org.glassfish.tyrus.client.SslEngineConfigurator
    +
    isWantClientAuth() - Method in class org.glassfish.tyrus.client.SslEngineConfigurator
    Get "want client auth" property.
    -
    iterator() - Method in class org.glassfish.tyrus.core.ServiceFinder
    +
    iterator() - Method in class org.glassfish.tyrus.core.ServiceFinder
    Returns discovered objects incrementally.
    - +

    J

    @@ -3311,7 +3489,7 @@ applications. - +

    K

    @@ -3336,233 +3514,241 @@
    Key store type (see KeyStore.getType() for more info).
    -
    keySet() - Method in class org.glassfish.tyrus.core.uri.internal.AbstractMultivaluedMap
    +
    keySet() - Method in class org.glassfish.tyrus.core.uri.internal.AbstractMultivaluedMap
     
    - +

    L

    +
    lazy(Value<T>) - Static method in class org.glassfish.tyrus.core.collection.Values
    +
    +
    Get a new lazily initialized value provider.
    +
    +
    LazyValue<T> - Interface in org.glassfish.tyrus.core.collection
    +
    +
    Lazily initialized value.
    +
    Localizable - Interface in org.glassfish.tyrus.core.l10n
    Localizable message.
    -
    localizableAPPLICATION_DATA_TOO_LONG(Object) - Static method in class org.glassfish.tyrus.core.l10n.LocalizationMessages
    +
    localizableAPPLICATION_DATA_TOO_LONG(Object) - Static method in class org.glassfish.tyrus.core.l10n.LocalizationMessages
     
    -
    localizableARGUMENT_NOT_NULL(Object) - Static method in class org.glassfish.tyrus.core.l10n.LocalizationMessages
    +
    localizableARGUMENT_NOT_NULL(Object) - Static method in class org.glassfish.tyrus.core.l10n.LocalizationMessages
     
    -
    localizableAUTHENTICATION_CREATE_AUTH_HEADER_FAILED() - Static method in class org.glassfish.tyrus.core.l10n.LocalizationMessages
    +
    localizableAUTHENTICATION_CREATE_AUTH_HEADER_FAILED() - Static method in class org.glassfish.tyrus.core.l10n.LocalizationMessages
     
    -
    localizableAUTHENTICATION_CREDENTIALS_MISSING() - Static method in class org.glassfish.tyrus.core.l10n.LocalizationMessages
    +
    localizableAUTHENTICATION_CREDENTIALS_MISSING() - Static method in class org.glassfish.tyrus.core.l10n.LocalizationMessages
     
    -
    localizableAUTHENTICATION_DIGEST_NO_SUCH_ALG() - Static method in class org.glassfish.tyrus.core.l10n.LocalizationMessages
    +
    localizableAUTHENTICATION_DIGEST_NO_SUCH_ALG() - Static method in class org.glassfish.tyrus.core.l10n.LocalizationMessages
     
    -
    localizableAUTHENTICATION_DIGEST_QOP_UNSUPPORTED(Object) - Static method in class org.glassfish.tyrus.core.l10n.LocalizationMessages
    +
    localizableAUTHENTICATION_DIGEST_QOP_UNSUPPORTED(Object) - Static method in class org.glassfish.tyrus.core.l10n.LocalizationMessages
     
    -
    localizableAUTHENTICATION_FAILED() - Static method in class org.glassfish.tyrus.core.l10n.LocalizationMessages
    +
    localizableAUTHENTICATION_FAILED() - Static method in class org.glassfish.tyrus.core.l10n.LocalizationMessages
     
    -
    localizableBINARY_MESSAGE_HANDLER_NOT_FOUND(Object) - Static method in class org.glassfish.tyrus.core.l10n.LocalizationMessages
    +
    localizableBINARY_MESSAGE_HANDLER_NOT_FOUND(Object) - Static method in class org.glassfish.tyrus.core.l10n.LocalizationMessages
     
    -
    localizableBINARY_MESSAGE_OUT_OF_ORDER(Object) - Static method in class org.glassfish.tyrus.core.l10n.LocalizationMessages
    +
    localizableBINARY_MESSAGE_OUT_OF_ORDER(Object) - Static method in class org.glassfish.tyrus.core.l10n.LocalizationMessages
     
    -
    localizableBUFFER_OVERFLOW() - Static method in class org.glassfish.tyrus.core.l10n.LocalizationMessages
    +
    localizableBUFFER_OVERFLOW() - Static method in class org.glassfish.tyrus.core.l10n.LocalizationMessages
     
    -
    localizableCLASS_CHECKER_ADD_MESSAGE_HANDLER_ERROR(Object, Object) - Static method in class org.glassfish.tyrus.core.l10n.LocalizationMessages
    +
    localizableCLASS_CHECKER_ADD_MESSAGE_HANDLER_ERROR(Object, Object) - Static method in class org.glassfish.tyrus.core.l10n.LocalizationMessages
     
    -
    localizableCLASS_CHECKER_FORBIDDEN_RETURN_TYPE(Object, Object) - Static method in class org.glassfish.tyrus.core.l10n.LocalizationMessages
    +
    localizableCLASS_CHECKER_FORBIDDEN_RETURN_TYPE(Object, Object) - Static method in class org.glassfish.tyrus.core.l10n.LocalizationMessages
     
    -
    localizableCLASS_CHECKER_FORBIDDEN_WEB_SOCKET_CLOSE_PARAM(Object, Object) - Static method in class org.glassfish.tyrus.core.l10n.LocalizationMessages
    +
    localizableCLASS_CHECKER_FORBIDDEN_WEB_SOCKET_CLOSE_PARAM(Object, Object) - Static method in class org.glassfish.tyrus.core.l10n.LocalizationMessages
     
    -
    localizableCLASS_CHECKER_FORBIDDEN_WEB_SOCKET_ERROR_PARAM(Object, Object, Object) - Static method in class org.glassfish.tyrus.core.l10n.LocalizationMessages
    +
    localizableCLASS_CHECKER_FORBIDDEN_WEB_SOCKET_ERROR_PARAM(Object, Object, Object) - Static method in class org.glassfish.tyrus.core.l10n.LocalizationMessages
     
    -
    localizableCLASS_CHECKER_FORBIDDEN_WEB_SOCKET_OPEN_PARAM(Object, Object, Object) - Static method in class org.glassfish.tyrus.core.l10n.LocalizationMessages
    +
    localizableCLASS_CHECKER_FORBIDDEN_WEB_SOCKET_OPEN_PARAM(Object, Object, Object) - Static method in class org.glassfish.tyrus.core.l10n.LocalizationMessages
     
    -
    localizableCLASS_CHECKER_MANDATORY_PARAM_MISSING(Object, Object) - Static method in class org.glassfish.tyrus.core.l10n.LocalizationMessages
    +
    localizableCLASS_CHECKER_MANDATORY_PARAM_MISSING(Object, Object) - Static method in class org.glassfish.tyrus.core.l10n.LocalizationMessages
     
    -
    localizableCLASS_CHECKER_MULTIPLE_IDENTICAL_PARAMS(Object, Object) - Static method in class org.glassfish.tyrus.core.l10n.LocalizationMessages
    +
    localizableCLASS_CHECKER_MULTIPLE_IDENTICAL_PARAMS(Object, Object) - Static method in class org.glassfish.tyrus.core.l10n.LocalizationMessages
     
    -
    localizableCLASS_NOT_INSTANTIATED(Object) - Static method in class org.glassfish.tyrus.core.l10n.LocalizationMessages
    +
    localizableCLASS_NOT_INSTANTIATED(Object) - Static method in class org.glassfish.tyrus.core.l10n.LocalizationMessages
     
    -
    localizableCLIENT_CANNOT_CONNECT(Object) - Static method in class org.glassfish.tyrus.core.l10n.LocalizationMessages
    +
    localizableCLIENT_CANNOT_CONNECT(Object) - Static method in class org.glassfish.tyrus.core.l10n.LocalizationMessages
     
    -
    localizableCOMPONENT_PROVIDER_NOT_FOUND(Object) - Static method in class org.glassfish.tyrus.core.l10n.LocalizationMessages
    +
    localizableCOMPONENT_PROVIDER_NOT_FOUND(Object) - Static method in class org.glassfish.tyrus.core.l10n.LocalizationMessages
     
    -
    localizableCOMPONENT_PROVIDER_THREW_EXCEPTION(Object) - Static method in class org.glassfish.tyrus.core.l10n.LocalizationMessages
    +
    localizableCOMPONENT_PROVIDER_THREW_EXCEPTION(Object) - Static method in class org.glassfish.tyrus.core.l10n.LocalizationMessages
     
    -
    localizableCONNECTION_HAS_BEEN_CLOSED() - Static method in class org.glassfish.tyrus.core.l10n.LocalizationMessages
    +
    localizableCONNECTION_HAS_BEEN_CLOSED() - Static method in class org.glassfish.tyrus.core.l10n.LocalizationMessages
     
    -
    localizableCONNECTION_NULL() - Static method in class org.glassfish.tyrus.core.l10n.LocalizationMessages
    +
    localizableCONNECTION_NULL() - Static method in class org.glassfish.tyrus.core.l10n.LocalizationMessages
     
    -
    localizableCONTROL_FRAME_FRAGMENTED() - Static method in class org.glassfish.tyrus.core.l10n.LocalizationMessages
    +
    localizableCONTROL_FRAME_FRAGMENTED() - Static method in class org.glassfish.tyrus.core.l10n.LocalizationMessages
     
    -
    localizableCONTROL_FRAME_LENGTH() - Static method in class org.glassfish.tyrus.core.l10n.LocalizationMessages
    +
    localizableCONTROL_FRAME_LENGTH() - Static method in class org.glassfish.tyrus.core.l10n.LocalizationMessages
     
    -
    localizableDATA_UNEXPECTED_LENGTH(Object, Object) - Static method in class org.glassfish.tyrus.core.l10n.LocalizationMessages
    +
    localizableDATA_UNEXPECTED_LENGTH(Object, Object) - Static method in class org.glassfish.tyrus.core.l10n.LocalizationMessages
     
    -
    localizableDEPENDENT_CLASS_OF_PROVIDER_FORMAT_ERROR(Object, Object, Object) - Static method in class org.glassfish.tyrus.core.l10n.LocalizationMessages
    +
    localizableDEPENDENT_CLASS_OF_PROVIDER_FORMAT_ERROR(Object, Object, Object) - Static method in class org.glassfish.tyrus.core.l10n.LocalizationMessages
     
    -
    localizableDEPENDENT_CLASS_OF_PROVIDER_NOT_FOUND(Object, Object, Object) - Static method in class org.glassfish.tyrus.core.l10n.LocalizationMessages
    +
    localizableDEPENDENT_CLASS_OF_PROVIDER_NOT_FOUND(Object, Object, Object) - Static method in class org.glassfish.tyrus.core.l10n.LocalizationMessages
     
    -
    localizableENCODING_FAILED() - Static method in class org.glassfish.tyrus.core.l10n.LocalizationMessages
    +
    localizableENCODING_FAILED() - Static method in class org.glassfish.tyrus.core.l10n.LocalizationMessages
     
    -
    localizableENDPOINT_ANNOTATION_NOT_FOUND(Object, Object) - Static method in class org.glassfish.tyrus.core.l10n.LocalizationMessages
    +
    localizableENDPOINT_ANNOTATION_NOT_FOUND(Object, Object) - Static method in class org.glassfish.tyrus.core.l10n.LocalizationMessages
     
    -
    localizableENDPOINT_EXCEPTION_FROM_ON_ERROR(Object) - Static method in class org.glassfish.tyrus.core.l10n.LocalizationMessages
    +
    localizableENDPOINT_EXCEPTION_FROM_ON_ERROR(Object) - Static method in class org.glassfish.tyrus.core.l10n.LocalizationMessages
     
    -
    localizableENDPOINT_MAX_MESSAGE_SIZE_TOO_LONG(Object, Object, Object, Object) - Static method in class org.glassfish.tyrus.core.l10n.LocalizationMessages
    +
    localizableENDPOINT_MAX_MESSAGE_SIZE_TOO_LONG(Object, Object, Object, Object) - Static method in class org.glassfish.tyrus.core.l10n.LocalizationMessages
     
    -
    localizableENDPOINT_MULTIPLE_METHODS(Object, Object, Object, Object) - Static method in class org.glassfish.tyrus.core.l10n.LocalizationMessages
    +
    localizableENDPOINT_MULTIPLE_METHODS(Object, Object, Object, Object) - Static method in class org.glassfish.tyrus.core.l10n.LocalizationMessages
     
    -
    localizableENDPOINT_MULTIPLE_SESSION_PARAM(Object) - Static method in class org.glassfish.tyrus.core.l10n.LocalizationMessages
    +
    localizableENDPOINT_MULTIPLE_SESSION_PARAM(Object) - Static method in class org.glassfish.tyrus.core.l10n.LocalizationMessages
     
    -
    localizableENDPOINT_UNHANDLED_EXCEPTION(Object) - Static method in class org.glassfish.tyrus.core.l10n.LocalizationMessages
    +
    localizableENDPOINT_UNHANDLED_EXCEPTION(Object) - Static method in class org.glassfish.tyrus.core.l10n.LocalizationMessages
     
    -
    localizableENDPOINT_UNKNOWN_PARAMS(Object, Object, Object) - Static method in class org.glassfish.tyrus.core.l10n.LocalizationMessages
    +
    localizableENDPOINT_UNKNOWN_PARAMS(Object, Object, Object) - Static method in class org.glassfish.tyrus.core.l10n.LocalizationMessages
     
    -
    localizableENDPOINT_WRONG_PARAMS(Object, Object) - Static method in class org.glassfish.tyrus.core.l10n.LocalizationMessages
    +
    localizableENDPOINT_WRONG_PARAMS(Object, Object) - Static method in class org.glassfish.tyrus.core.l10n.LocalizationMessages
     
    -
    localizableENDPOINT_WRONG_PATH_PARAM(Object, Object) - Static method in class org.glassfish.tyrus.core.l10n.LocalizationMessages
    +
    localizableENDPOINT_WRONG_PATH_PARAM(Object, Object) - Static method in class org.glassfish.tyrus.core.l10n.LocalizationMessages
     
    -
    localizableEQUIVALENT_PATHS(Object, Object) - Static method in class org.glassfish.tyrus.core.l10n.LocalizationMessages
    +
    localizableEQUIVALENT_PATHS(Object, Object) - Static method in class org.glassfish.tyrus.core.l10n.LocalizationMessages
     
    -
    localizableERROR_CAUGHT_WHILE_LOADING_SPI_PROVIDERS() - Static method in class org.glassfish.tyrus.core.l10n.LocalizationMessages
    +
    localizableERROR_CAUGHT_WHILE_LOADING_SPI_PROVIDERS() - Static method in class org.glassfish.tyrus.core.l10n.LocalizationMessages
     
    -
    localizableEXCEPTION_CAUGHT_WHILE_LOADING_SPI_PROVIDERS() - Static method in class org.glassfish.tyrus.core.l10n.LocalizationMessages
    +
    localizableEXCEPTION_CAUGHT_WHILE_LOADING_SPI_PROVIDERS() - Static method in class org.glassfish.tyrus.core.l10n.LocalizationMessages
     
    -
    localizableEXTENSION_EXCEPTION(Object, Object) - Static method in class org.glassfish.tyrus.core.l10n.LocalizationMessages
    +
    localizableEXTENSION_EXCEPTION(Object, Object) - Static method in class org.glassfish.tyrus.core.l10n.LocalizationMessages
     
    -
    localizableFRAGMENT_INVALID_OPCODE() - Static method in class org.glassfish.tyrus.core.l10n.LocalizationMessages
    +
    localizableFRAGMENT_INVALID_OPCODE() - Static method in class org.glassfish.tyrus.core.l10n.LocalizationMessages
     
    -
    localizableFRAME_WRITE_CANCELLED() - Static method in class org.glassfish.tyrus.core.l10n.LocalizationMessages
    +
    localizableFRAME_WRITE_CANCELLED() - Static method in class org.glassfish.tyrus.core.l10n.LocalizationMessages
     
    -
    localizableHANDSHAKE_HTTP_REDIRECTION_INFINITE_LOOP() - Static method in class org.glassfish.tyrus.core.l10n.LocalizationMessages
    +
    localizableHANDSHAKE_HTTP_REDIRECTION_INFINITE_LOOP() - Static method in class org.glassfish.tyrus.core.l10n.LocalizationMessages
     
    -
    localizableHANDSHAKE_HTTP_REDIRECTION_MAX_REDIRECTION(Object) - Static method in class org.glassfish.tyrus.core.l10n.LocalizationMessages
    +
    localizableHANDSHAKE_HTTP_REDIRECTION_MAX_REDIRECTION(Object) - Static method in class org.glassfish.tyrus.core.l10n.LocalizationMessages
     
    -
    localizableHANDSHAKE_HTTP_REDIRECTION_NEW_LOCATION_ERROR(Object) - Static method in class org.glassfish.tyrus.core.l10n.LocalizationMessages
    +
    localizableHANDSHAKE_HTTP_REDIRECTION_NEW_LOCATION_ERROR(Object) - Static method in class org.glassfish.tyrus.core.l10n.LocalizationMessages
     
    -
    localizableHANDSHAKE_HTTP_REDIRECTION_NEW_LOCATION_MISSING() - Static method in class org.glassfish.tyrus.core.l10n.LocalizationMessages
    +
    localizableHANDSHAKE_HTTP_REDIRECTION_NEW_LOCATION_MISSING() - Static method in class org.glassfish.tyrus.core.l10n.LocalizationMessages
     
    -
    localizableHANDSHAKE_HTTP_REDIRECTION_NOT_ENABLED(Object) - Static method in class org.glassfish.tyrus.core.l10n.LocalizationMessages
    +
    localizableHANDSHAKE_HTTP_REDIRECTION_NOT_ENABLED(Object) - Static method in class org.glassfish.tyrus.core.l10n.LocalizationMessages
     
    -
    localizableHANDSHAKE_HTTP_RETRY_AFTER_MESSAGE() - Static method in class org.glassfish.tyrus.core.l10n.LocalizationMessages
    +
    localizableHANDSHAKE_HTTP_RETRY_AFTER_MESSAGE() - Static method in class org.glassfish.tyrus.core.l10n.LocalizationMessages
     
    -
    localizableHEADERS_MISSING() - Static method in class org.glassfish.tyrus.core.l10n.LocalizationMessages
    +
    localizableHEADERS_MISSING() - Static method in class org.glassfish.tyrus.core.l10n.LocalizationMessages
     
    -
    localizableILLEGAL_CONFIG_SYNTAX() - Static method in class org.glassfish.tyrus.core.l10n.LocalizationMessages
    +
    localizableILLEGAL_CONFIG_SYNTAX() - Static method in class org.glassfish.tyrus.core.l10n.LocalizationMessages
     
    -
    localizableILLEGAL_PROVIDER_CLASS_NAME(Object) - Static method in class org.glassfish.tyrus.core.l10n.LocalizationMessages
    +
    localizableILLEGAL_PROVIDER_CLASS_NAME(Object) - Static method in class org.glassfish.tyrus.core.l10n.LocalizationMessages
     
    -
    localizableILLEGAL_UTF_8_SEQUENCE() - Static method in class org.glassfish.tyrus.core.l10n.LocalizationMessages
    +
    localizableILLEGAL_UTF_8_SEQUENCE() - Static method in class org.glassfish.tyrus.core.l10n.LocalizationMessages
     
    -
    localizableINVALID_HEADER(Object, Object) - Static method in class org.glassfish.tyrus.core.l10n.LocalizationMessages
    +
    localizableINVALID_HEADER(Object, Object) - Static method in class org.glassfish.tyrus.core.l10n.LocalizationMessages
     
    -
    localizableINVALID_RESPONSE_CODE(Object, Object) - Static method in class org.glassfish.tyrus.core.l10n.LocalizationMessages
    +
    localizableINVALID_RESPONSE_CODE(Object, Object) - Static method in class org.glassfish.tyrus.core.l10n.LocalizationMessages
     
    -
    localizableIOEXCEPTION_CLOSE() - Static method in class org.glassfish.tyrus.core.l10n.LocalizationMessages
    +
    localizableIOEXCEPTION_CLOSE() - Static method in class org.glassfish.tyrus.core.l10n.LocalizationMessages
     
    -
    localizableMAX_SESSIONS_PER_APP_EXCEEDED() - Static method in class org.glassfish.tyrus.core.l10n.LocalizationMessages
    +
    localizableMAX_SESSIONS_PER_APP_EXCEEDED() - Static method in class org.glassfish.tyrus.core.l10n.LocalizationMessages
     
    -
    localizableMAX_SESSIONS_PER_ENDPOINT_EXCEEDED() - Static method in class org.glassfish.tyrus.core.l10n.LocalizationMessages
    +
    localizableMAX_SESSIONS_PER_ENDPOINT_EXCEEDED() - Static method in class org.glassfish.tyrus.core.l10n.LocalizationMessages
     
    -
    localizableMAX_SESSIONS_PER_REMOTEADDR_EXCEEDED() - Static method in class org.glassfish.tyrus.core.l10n.LocalizationMessages
    +
    localizableMAX_SESSIONS_PER_REMOTEADDR_EXCEEDED() - Static method in class org.glassfish.tyrus.core.l10n.LocalizationMessages
     
    LocalizableMessage - Class in org.glassfish.tyrus.core.l10n
     
    -
    LocalizableMessage(String, String, Object...) - Constructor for class org.glassfish.tyrus.core.l10n.LocalizableMessage
    +
    LocalizableMessage(String, String, Object...) - Constructor for class org.glassfish.tyrus.core.l10n.LocalizableMessage
     
    -
    localizableMESSAGE_HANDLER_ALREADY_REGISTERED_BINARY() - Static method in class org.glassfish.tyrus.core.l10n.LocalizationMessages
    +
    localizableMESSAGE_HANDLER_ALREADY_REGISTERED_BINARY() - Static method in class org.glassfish.tyrus.core.l10n.LocalizationMessages
     
    -
    localizableMESSAGE_HANDLER_ALREADY_REGISTERED_PONG() - Static method in class org.glassfish.tyrus.core.l10n.LocalizationMessages
    +
    localizableMESSAGE_HANDLER_ALREADY_REGISTERED_PONG() - Static method in class org.glassfish.tyrus.core.l10n.LocalizationMessages
     
    -
    localizableMESSAGE_HANDLER_ALREADY_REGISTERED_TEXT() - Static method in class org.glassfish.tyrus.core.l10n.LocalizationMessages
    +
    localizableMESSAGE_HANDLER_ALREADY_REGISTERED_TEXT() - Static method in class org.glassfish.tyrus.core.l10n.LocalizationMessages
     
    -
    localizableMESSAGE_HANDLER_ALREADY_REGISTERED_TYPE(Object) - Static method in class org.glassfish.tyrus.core.l10n.LocalizationMessages
    +
    localizableMESSAGE_HANDLER_ALREADY_REGISTERED_TYPE(Object) - Static method in class org.glassfish.tyrus.core.l10n.LocalizationMessages
     
    -
    localizableMESSAGE_HANDLER_DECODER_NOT_REGISTERED(Object) - Static method in class org.glassfish.tyrus.core.l10n.LocalizationMessages
    +
    localizableMESSAGE_HANDLER_DECODER_NOT_REGISTERED(Object) - Static method in class org.glassfish.tyrus.core.l10n.LocalizationMessages
     
    -
    localizableMESSAGE_HANDLER_ILLEGAL_ARGUMENT(Object) - Static method in class org.glassfish.tyrus.core.l10n.LocalizationMessages
    +
    localizableMESSAGE_HANDLER_ILLEGAL_ARGUMENT(Object) - Static method in class org.glassfish.tyrus.core.l10n.LocalizationMessages
     
    -
    localizableMESSAGE_HANDLER_PARTIAL_INVALID_TYPE(Object) - Static method in class org.glassfish.tyrus.core.l10n.LocalizationMessages
    +
    localizableMESSAGE_HANDLER_PARTIAL_INVALID_TYPE(Object) - Static method in class org.glassfish.tyrus.core.l10n.LocalizationMessages
     
    -
    localizableMESSAGE_HANDLER_WHOLE_OR_PARTIAL() - Static method in class org.glassfish.tyrus.core.l10n.LocalizationMessages
    +
    localizableMESSAGE_HANDLER_WHOLE_OR_PARTIAL() - Static method in class org.glassfish.tyrus.core.l10n.LocalizationMessages
     
    -
    localizableMESSAGE_TOO_LONG(Object, Object) - Static method in class org.glassfish.tyrus.core.l10n.LocalizationMessages
    +
    localizableMESSAGE_TOO_LONG(Object, Object) - Static method in class org.glassfish.tyrus.core.l10n.LocalizationMessages
     
    LocalizableMessageFactory - Class in org.glassfish.tyrus.core.l10n
     
    -
    LocalizableMessageFactory(String) - Constructor for class org.glassfish.tyrus.core.l10n.LocalizableMessageFactory
    +
    LocalizableMessageFactory(String) - Constructor for class org.glassfish.tyrus.core.l10n.LocalizableMessageFactory
     
    -
    localizableNO_DECODER_FOUND() - Static method in class org.glassfish.tyrus.core.l10n.LocalizationMessages
    +
    localizableNO_DECODER_FOUND() - Static method in class org.glassfish.tyrus.core.l10n.LocalizationMessages
     
    -
    localizableORIGIN_NOT_VERIFIED() - Static method in class org.glassfish.tyrus.core.l10n.LocalizationMessages
    +
    localizableORIGIN_NOT_VERIFIED() - Static method in class org.glassfish.tyrus.core.l10n.LocalizationMessages
     
    -
    localizablePARTIAL_BINARY_MESSAGE_OUT_OF_ORDER(Object) - Static method in class org.glassfish.tyrus.core.l10n.LocalizationMessages
    +
    localizablePARTIAL_BINARY_MESSAGE_OUT_OF_ORDER(Object) - Static method in class org.glassfish.tyrus.core.l10n.LocalizationMessages
     
    -
    localizablePARTIAL_MESSAGE_BUFFER_OVERFLOW() - Static method in class org.glassfish.tyrus.core.l10n.LocalizationMessages
    +
    localizablePARTIAL_MESSAGE_BUFFER_OVERFLOW() - Static method in class org.glassfish.tyrus.core.l10n.LocalizationMessages
     
    -
    localizablePARTIAL_TEXT_MESSAGE_OUT_OF_ORDER(Object) - Static method in class org.glassfish.tyrus.core.l10n.LocalizationMessages
    +
    localizablePARTIAL_TEXT_MESSAGE_OUT_OF_ORDER(Object) - Static method in class org.glassfish.tyrus.core.l10n.LocalizationMessages
     
    -
    localizablePROVIDER_CLASS_COULD_NOT_BE_LOADED(Object, Object, Object) - Static method in class org.glassfish.tyrus.core.l10n.LocalizationMessages
    +
    localizablePROVIDER_CLASS_COULD_NOT_BE_LOADED(Object, Object, Object) - Static method in class org.glassfish.tyrus.core.l10n.LocalizationMessages
     
    -
    localizablePROVIDER_COULD_NOT_BE_CREATED(Object, Object, Object) - Static method in class org.glassfish.tyrus.core.l10n.LocalizationMessages
    +
    localizablePROVIDER_COULD_NOT_BE_CREATED(Object, Object, Object) - Static method in class org.glassfish.tyrus.core.l10n.LocalizationMessages
     
    -
    localizablePROVIDER_NOT_FOUND(Object, Object) - Static method in class org.glassfish.tyrus.core.l10n.LocalizationMessages
    +
    localizablePROVIDER_NOT_FOUND(Object, Object) - Static method in class org.glassfish.tyrus.core.l10n.LocalizationMessages
     
    -
    localizableRSV_INCORRECTLY_SET() - Static method in class org.glassfish.tyrus.core.l10n.LocalizationMessages
    +
    localizableRSV_INCORRECTLY_SET() - Static method in class org.glassfish.tyrus.core.l10n.LocalizationMessages
     
    -
    localizableSEC_KEY_INVALID_LENGTH(Object) - Static method in class org.glassfish.tyrus.core.l10n.LocalizationMessages
    +
    localizableSEC_KEY_INVALID_LENGTH(Object) - Static method in class org.glassfish.tyrus.core.l10n.LocalizationMessages
     
    -
    localizableSEC_KEY_INVALID_SERVER() - Static method in class org.glassfish.tyrus.core.l10n.LocalizationMessages
    +
    localizableSEC_KEY_INVALID_SERVER() - Static method in class org.glassfish.tyrus.core.l10n.LocalizationMessages
     
    -
    localizableSEC_KEY_NULL_NOT_ALLOWED() - Static method in class org.glassfish.tyrus.core.l10n.LocalizationMessages
    +
    localizableSEC_KEY_NULL_NOT_ALLOWED() - Static method in class org.glassfish.tyrus.core.l10n.LocalizationMessages
     
    -
    localizableSEND_MESSAGE_INFRAGMENT() - Static method in class org.glassfish.tyrus.core.l10n.LocalizationMessages
    +
    localizableSEND_MESSAGE_INFRAGMENT() - Static method in class org.glassfish.tyrus.core.l10n.LocalizationMessages
     
    -
    localizableSESSION_CLOSED_IDLE_TIMEOUT() - Static method in class org.glassfish.tyrus.core.l10n.LocalizationMessages
    +
    localizableSESSION_CLOSED_IDLE_TIMEOUT() - Static method in class org.glassfish.tyrus.core.l10n.LocalizationMessages
     
    -
    localizableSOCKET_NOT_CONNECTED() - Static method in class org.glassfish.tyrus.core.l10n.LocalizationMessages
    +
    localizableSOCKET_NOT_CONNECTED() - Static method in class org.glassfish.tyrus.core.l10n.LocalizationMessages
     
    -
    localizableTEXT_MESSAGE_HANDLER_NOT_FOUND(Object) - Static method in class org.glassfish.tyrus.core.l10n.LocalizationMessages
    +
    localizableTEXT_MESSAGE_HANDLER_NOT_FOUND(Object) - Static method in class org.glassfish.tyrus.core.l10n.LocalizationMessages
     
    -
    localizableTEXT_MESSAGE_OUT_OF_ORDER(Object) - Static method in class org.glassfish.tyrus.core.l10n.LocalizationMessages
    +
    localizableTEXT_MESSAGE_OUT_OF_ORDER(Object) - Static method in class org.glassfish.tyrus.core.l10n.LocalizationMessages
     
    -
    localizableUNEXPECTED_END_FRAGMENT() - Static method in class org.glassfish.tyrus.core.l10n.LocalizationMessages
    +
    localizableUNEXPECTED_END_FRAGMENT() - Static method in class org.glassfish.tyrus.core.l10n.LocalizationMessages
     
    -
    localizableUNEXPECTED_ERROR_CONNECTION_CLOSE() - Static method in class org.glassfish.tyrus.core.l10n.LocalizationMessages
    +
    localizableUNEXPECTED_ERROR_CONNECTION_CLOSE() - Static method in class org.glassfish.tyrus.core.l10n.LocalizationMessages
     
    -
    localizableUNEXPECTED_STATE(Object) - Static method in class org.glassfish.tyrus.core.l10n.LocalizationMessages
    +
    localizableUNEXPECTED_STATE(Object) - Static method in class org.glassfish.tyrus.core.l10n.LocalizationMessages
     
    -
    localizableUNHANDLED_TEXT_MESSAGE(Object) - Static method in class org.glassfish.tyrus.core.l10n.LocalizationMessages
    +
    localizableUNHANDLED_TEXT_MESSAGE(Object) - Static method in class org.glassfish.tyrus.core.l10n.LocalizationMessages
     
    -
    localizableURI_COMPONENT_ENCODED_OCTET_INVALID_DIGIT(Object, Object) - Static method in class org.glassfish.tyrus.core.l10n.LocalizationMessages
    +
    localizableURI_COMPONENT_ENCODED_OCTET_INVALID_DIGIT(Object, Object) - Static method in class org.glassfish.tyrus.core.l10n.LocalizationMessages
     
    -
    localizableURI_COMPONENT_ENCODED_OCTET_MALFORMED(Object) - Static method in class org.glassfish.tyrus.core.l10n.LocalizationMessages
    +
    localizableURI_COMPONENT_ENCODED_OCTET_MALFORMED(Object) - Static method in class org.glassfish.tyrus.core.l10n.LocalizationMessages
     
    -
    localizableURI_COMPONENT_INVALID_CHARACTER(Object, Object, Object, Object) - Static method in class org.glassfish.tyrus.core.l10n.LocalizationMessages
    +
    localizableURI_COMPONENT_INVALID_CHARACTER(Object, Object, Object, Object) - Static method in class org.glassfish.tyrus.core.l10n.LocalizationMessages
     
    LocalizationMessages - Class in org.glassfish.tyrus.core.l10n
    Defines string formatting method for each constant in the resource file
    -
    LocalizationMessages() - Constructor for class org.glassfish.tyrus.core.l10n.LocalizationMessages
    +
    LocalizationMessages() - Constructor for class org.glassfish.tyrus.core.l10n.LocalizationMessages
     
    -
    localize(Localizable) - Method in class org.glassfish.tyrus.core.l10n.Localizer
    +
    localize(Localizable) - Method in class org.glassfish.tyrus.core.l10n.Localizer
     
    Localizer - Class in org.glassfish.tyrus.core.l10n
    Localizes the Localizable into a message by using a configured Locale.
    -
    Localizer() - Constructor for class org.glassfish.tyrus.core.l10n.Localizer
    +
    Localizer() - Constructor for class org.glassfish.tyrus.core.l10n.Localizer
     
    -
    Localizer(Locale) - Constructor for class org.glassfish.tyrus.core.l10n.Localizer
    +
    Localizer(Locale) - Constructor for class org.glassfish.tyrus.core.l10n.Localizer
     
    LOCATION - Static variable in class org.glassfish.tyrus.spi.UpgradeResponse
    -
    Header containing a new URI when UpgradeResponse.getStatus() .
    +
    Header containing a new URI when UpgradeResponse.getStatus() .
    -
    lock() - Method in class org.glassfish.tyrus.core.RequestContext
    +
    lock() - Method in class org.glassfish.tyrus.core.RequestContext
    Make headers and parameter map read-only.
    @@ -3570,17 +3756,17 @@
    User property to configure logging of HTTP upgrade messages.
    -
    LongDecoder() - Constructor for class org.glassfish.tyrus.core.coder.PrimitiveDecoders.LongDecoder
    +
    LongDecoder() - Constructor for class org.glassfish.tyrus.core.coder.PrimitiveDecoders.LongDecoder
     
    - +

    M

    -
    main(String[]) - Static method in class org.glassfish.tyrus.server.Server
    +
    main(String[]) - Static method in class org.glassfish.tyrus.server.Server
     
    -
    mask(boolean) - Method in class org.glassfish.tyrus.core.frame.Frame.Builder
    +
    mask(boolean) - Method in class org.glassfish.tyrus.core.frame.Frame.Builder
    Currently not used.
    @@ -3592,7 +3778,7 @@
    Property name for registering a custom masking key generator.
    -
    maskingKey(Integer) - Method in class org.glassfish.tyrus.core.frame.Frame.Builder
    +
    maskingKey(Integer) - Method in class org.glassfish.tyrus.core.frame.Frame.Builder
    Set masking key.
    @@ -3600,23 +3786,23 @@
    Can be implemented to generate masking keys.
    -
    match(CharSequence) - Method in class org.glassfish.tyrus.core.uri.internal.PatternWithGroups
    +
    match(CharSequence) - Method in class org.glassfish.tyrus.core.uri.internal.PatternWithGroups
    Match against the pattern.
    -
    match(CharSequence, List<String>) - Method in class org.glassfish.tyrus.core.uri.internal.PatternWithGroups
    +
    match(CharSequence, List<String>) - Method in class org.glassfish.tyrus.core.uri.internal.PatternWithGroups
    Match against the pattern.
    -
    match(CharSequence, List<String>, Map<String, String>) - Method in class org.glassfish.tyrus.core.uri.internal.PatternWithGroups
    +
    match(CharSequence, List<String>) - Method in class org.glassfish.tyrus.core.uri.internal.UriTemplate
    -
    Match against the pattern.
    +
    Match a URI against the template.
    -
    match(CharSequence, Map<String, String>) - Method in class org.glassfish.tyrus.core.uri.internal.UriTemplate
    +
    match(CharSequence, List<String>, Map<String, String>) - Method in class org.glassfish.tyrus.core.uri.internal.PatternWithGroups
    -
    Match a URI against the template.
    +
    Match against the pattern.
    -
    match(CharSequence, List<String>) - Method in class org.glassfish.tyrus.core.uri.internal.UriTemplate
    +
    match(CharSequence, Map<String, String>) - Method in class org.glassfish.tyrus.core.uri.internal.UriTemplate
    Match a URI against the template.
    @@ -3624,15 +3810,31 @@
    Defines a match on an endpoint.
    +
    MATRIX_PARAM - org.glassfish.tyrus.core.uri.internal.UriComponent.Type
    +
    +
    The URI path component type that is a matrix parameter.
    +
    +
    MAX_BINARY_MESSAGE_BUFFER_SIZE - org.glassfish.tyrus.core.cluster.RemoteSession.DistributedMapKey
    +
    +
    Max binary buffer size.
    +
    +
    MAX_IDLE_TIMEOUT - org.glassfish.tyrus.core.cluster.RemoteSession.DistributedMapKey
    +
    +
    Max idle timeout.
    +
    MAX_SESSIONS_PER_APP - Static variable in class org.glassfish.tyrus.core.TyrusWebSocketEngine
    Maximum number of open sessions per server application.
    -
    MAX_SESSIONS_PER_APP_EXCEEDED() - Static method in class org.glassfish.tyrus.core.l10n.LocalizationMessages
    +
    MAX_SESSIONS_PER_APP_EXCEEDED - org.glassfish.tyrus.core.TyrusEndpointWrapper.SessionListener.OnOpenResult
    +
    +
    Session cannot be opened - the maximal number of open session per application exceeded.
    +
    +
    MAX_SESSIONS_PER_APP_EXCEEDED() - Static method in class org.glassfish.tyrus.core.l10n.LocalizationMessages
    Maximal number of open sessions per application exceeded.
    -
    MAX_SESSIONS_PER_ENDPOINT_EXCEEDED() - Static method in class org.glassfish.tyrus.core.l10n.LocalizationMessages
    +
    MAX_SESSIONS_PER_ENDPOINT_EXCEEDED() - Static method in class org.glassfish.tyrus.core.l10n.LocalizationMessages
    Maximal number of open sessions per endpoint exceeded.
    @@ -3640,60 +3842,78 @@
    Maximum number of open sessions per unique remote address.
    -
    MAX_SESSIONS_PER_REMOTEADDR_EXCEEDED() - Static method in class org.glassfish.tyrus.core.l10n.LocalizationMessages
    +
    MAX_SESSIONS_PER_REMOTE_ADDR_EXCEEDED - org.glassfish.tyrus.core.TyrusEndpointWrapper.SessionListener.OnOpenResult
    +
    +
    Session cannot be opened - the maximal number of open session per remote address exceeded.
    +
    +
    MAX_SESSIONS_PER_REMOTEADDR_EXCEEDED() - Static method in class org.glassfish.tyrus.core.l10n.LocalizationMessages
    Maximal number of open sessions per remote address exceeded.
    -
    MaxSessions - Annotation Type in org.glassfish.tyrus.core
    +
    MAX_TEXT_MESSAGE_BUFFER_SIZE - org.glassfish.tyrus.core.cluster.RemoteSession.DistributedMapKey
    -
    This annotation may be used to annotate server endpoints as a optional annotation - to ServerEndpoint.
    +
    Max text buffer size.
    +
    +
    maxMessageSize() - Method in annotation type javax.websocket.OnMessage
    +
    +
    Specifies the maximum size of message in bytes that the method + this annotates will be able to process, or -1 to indicate + that there is no maximum.
    -
    maxSessions(int) - Method in class org.glassfish.tyrus.core.TyrusServerEndpointConfig.Builder
    +
    maxSessions(int) - Method in class org.glassfish.tyrus.core.TyrusServerEndpointConfig.Builder
    Sets maximal number of open sessions.
    -
    maxSessionsPerApp(Integer) - Method in class org.glassfish.tyrus.core.TyrusWebSocketEngine.TyrusWebSocketEngineBuilder
    +
    MaxSessions - Annotation Type in org.glassfish.tyrus.core
    +
    +
    This annotation may be used to annotate server endpoints as a optional annotation + to ServerEndpoint.
    +
    +
    maxSessionsPerApp(Integer) - Method in class org.glassfish.tyrus.core.TyrusWebSocketEngine.TyrusWebSocketEngineBuilder
    Set maximal number of open sessions per server application.
    -
    maxSessionsPerRemoteAddr(Integer) - Method in class org.glassfish.tyrus.core.TyrusWebSocketEngine.TyrusWebSocketEngineBuilder
    +
    maxSessionsPerRemoteAddr(Integer) - Method in class org.glassfish.tyrus.core.TyrusWebSocketEngine.TyrusWebSocketEngineBuilder
    Set maximal number of open sessions from remote address.
    -
    MESSAGE_HANDLER_ALREADY_REGISTERED_BINARY() - Static method in class org.glassfish.tyrus.core.l10n.LocalizationMessages
    +
    MESSAGE_HANDLER_ALREADY_REGISTERED_BINARY() - Static method in class org.glassfish.tyrus.core.l10n.LocalizationMessages
    Binary MessageHandler already registered.
    -
    MESSAGE_HANDLER_ALREADY_REGISTERED_PONG() - Static method in class org.glassfish.tyrus.core.l10n.LocalizationMessages
    +
    MESSAGE_HANDLER_ALREADY_REGISTERED_PONG() - Static method in class org.glassfish.tyrus.core.l10n.LocalizationMessages
    Pong MessageHandler already registered.
    -
    MESSAGE_HANDLER_ALREADY_REGISTERED_TEXT() - Static method in class org.glassfish.tyrus.core.l10n.LocalizationMessages
    +
    MESSAGE_HANDLER_ALREADY_REGISTERED_TEXT() - Static method in class org.glassfish.tyrus.core.l10n.LocalizationMessages
    Text MessageHandler already registered.
    -
    MESSAGE_HANDLER_ALREADY_REGISTERED_TYPE(Object) - Static method in class org.glassfish.tyrus.core.l10n.LocalizationMessages
    +
    MESSAGE_HANDLER_ALREADY_REGISTERED_TYPE(Object) - Static method in class org.glassfish.tyrus.core.l10n.LocalizationMessages
    MessageHandler for type: {0} already registered.
    -
    MESSAGE_HANDLER_DECODER_NOT_REGISTERED(Object) - Static method in class org.glassfish.tyrus.core.l10n.LocalizationMessages
    +
    MESSAGE_HANDLER_DECODER_NOT_REGISTERED(Object) - Static method in class org.glassfish.tyrus.core.l10n.LocalizationMessages
    Decoder for type: {0} has not been registered.
    -
    MESSAGE_HANDLER_ILLEGAL_ARGUMENT(Object) - Static method in class org.glassfish.tyrus.core.l10n.LocalizationMessages
    +
    MESSAGE_HANDLER_ILLEGAL_ARGUMENT(Object) - Static method in class org.glassfish.tyrus.core.l10n.LocalizationMessages
    Illegal MessageHandler argument value: {0}.
    -
    MESSAGE_HANDLER_PARTIAL_INVALID_TYPE(Object) - Static method in class org.glassfish.tyrus.core.l10n.LocalizationMessages
    +
    MESSAGE_HANDLER_PARTIAL_INVALID_TYPE(Object) - Static method in class org.glassfish.tyrus.core.l10n.LocalizationMessages
    Partial MessageHandler can''t be of type: {0}.
    -
    MESSAGE_HANDLER_WHOLE_OR_PARTIAL() - Static method in class org.glassfish.tyrus.core.l10n.LocalizationMessages
    +
    MESSAGE_HANDLER_WHOLE_OR_PARTIAL() - Static method in class org.glassfish.tyrus.core.l10n.LocalizationMessages
    MessageHandler must implement MessageHandler.Whole or MessageHandler.Partial.
    -
    MESSAGE_TOO_LONG(Object, Object) - Static method in class org.glassfish.tyrus.core.l10n.LocalizationMessages
    +
    MESSAGE_IN - org.glassfish.tyrus.core.DebugContext.Type
    +
     
    +
    MESSAGE_OUT - org.glassfish.tyrus.core.DebugContext.Type
    +
     
    +
    MESSAGE_TOO_LONG(Object, Object) - Static method in class org.glassfish.tyrus.core.l10n.LocalizationMessages
    Message too long; allowed message size is {0} bytes.
    @@ -3719,52 +3939,52 @@
    Manages registered MessageHandlers and checks whether the new ones may be registered.
    -
    MessageHandlerManager() - Constructor for class org.glassfish.tyrus.core.MessageHandlerManager
    +
    MessageHandlerManager() - Constructor for class org.glassfish.tyrus.core.MessageHandlerManager
    Construct manager with no decoders.
    -
    methodInstanceToString(Object, Method) - Static method in class org.glassfish.tyrus.core.ReflectionHelper
    +
    methodInstanceToString(Object, Method) - Static method in class org.glassfish.tyrus.core.ReflectionHelper
    Create a string representation of a method and an instance whose class implements the method.
    -
    modifyHandshake(ServerEndpointConfig, HandshakeRequest, HandshakeResponse) - Method in class javax.websocket.server.ServerEndpointConfig.Configurator
    +
    modifyHandshake(ServerEndpointConfig, HandshakeRequest, HandshakeResponse) - Method in class javax.websocket.server.ServerEndpointConfig.Configurator
    Called by the container after it has formulated a handshake response resulting from a well-formed handshake request.
    -
    modifyHandshake(ServerEndpointConfig, HandshakeRequest, HandshakeResponse) - Method in class org.glassfish.tyrus.core.TyrusServerEndpointConfigurator
    +
    modifyHandshake(ServerEndpointConfig, HandshakeRequest, HandshakeResponse) - Method in class org.glassfish.tyrus.core.TyrusServerEndpointConfigurator
     
    -
    MultivaluedHashMap<K,V> - Class in org.glassfish.tyrus.core.uri.internal
    +
    MultivaluedHashMap<K,​V> - Class in org.glassfish.tyrus.core.uri.internal
    A hash table based implementation of MultivaluedMap interface.
    -
    MultivaluedHashMap() - Constructor for class org.glassfish.tyrus.core.uri.internal.MultivaluedHashMap
    +
    MultivaluedHashMap() - Constructor for class org.glassfish.tyrus.core.uri.internal.MultivaluedHashMap
    Constructs an empty multivalued hash map with the default initial capacity (16) and the default load factor (0.75).
    -
    MultivaluedHashMap(int) - Constructor for class org.glassfish.tyrus.core.uri.internal.MultivaluedHashMap
    +
    MultivaluedHashMap(int) - Constructor for class org.glassfish.tyrus.core.uri.internal.MultivaluedHashMap
    Constructs an empty multivalued hash map with the specified initial capacity and the default load factor (0.75).
    -
    MultivaluedHashMap(int, float) - Constructor for class org.glassfish.tyrus.core.uri.internal.MultivaluedHashMap
    +
    MultivaluedHashMap(int, float) - Constructor for class org.glassfish.tyrus.core.uri.internal.MultivaluedHashMap
    Constructs an empty multivalued hash map with the specified initial capacity and load factor.
    -
    MultivaluedHashMap(MultivaluedMap<? extends K, ? extends V>) - Constructor for class org.glassfish.tyrus.core.uri.internal.MultivaluedHashMap
    +
    MultivaluedHashMap(Map<? extends K, ? extends V>) - Constructor for class org.glassfish.tyrus.core.uri.internal.MultivaluedHashMap
    Constructs a new multivalued hash map with the same mappings as the - specified MultivaluedMap.
    + specified single-valued Map.
    -
    MultivaluedHashMap(Map<? extends K, ? extends V>) - Constructor for class org.glassfish.tyrus.core.uri.internal.MultivaluedHashMap
    +
    MultivaluedHashMap(MultivaluedMap<? extends K, ? extends V>) - Constructor for class org.glassfish.tyrus.core.uri.internal.MultivaluedHashMap
    Constructs a new multivalued hash map with the same mappings as the - specified single-valued Map.
    + specified MultivaluedMap.
    -
    MultivaluedMap<K,V> - Interface in org.glassfish.tyrus.core.uri.internal
    +
    MultivaluedMap<K,​V> - Interface in org.glassfish.tyrus.core.uri.internal
    A map of key-values pairs.
    @@ -3773,16 +3993,16 @@
    An implementation of MultivaluedMap where keys and values are instances of String.
    -
    MultivaluedStringMap(MultivaluedMap<? extends String, ? extends String>) - Constructor for class org.glassfish.tyrus.core.uri.internal.MultivaluedStringMap
    +
    MultivaluedStringMap() - Constructor for class org.glassfish.tyrus.core.uri.internal.MultivaluedStringMap
     
    -
    MultivaluedStringMap(int, float) - Constructor for class org.glassfish.tyrus.core.uri.internal.MultivaluedStringMap
    +
    MultivaluedStringMap(int) - Constructor for class org.glassfish.tyrus.core.uri.internal.MultivaluedStringMap
     
    -
    MultivaluedStringMap(int) - Constructor for class org.glassfish.tyrus.core.uri.internal.MultivaluedStringMap
    +
    MultivaluedStringMap(int, float) - Constructor for class org.glassfish.tyrus.core.uri.internal.MultivaluedStringMap
     
    -
    MultivaluedStringMap() - Constructor for class org.glassfish.tyrus.core.uri.internal.MultivaluedStringMap
    +
    MultivaluedStringMap(MultivaluedMap<? extends String, ? extends String>) - Constructor for class org.glassfish.tyrus.core.uri.internal.MultivaluedStringMap
     
    - +

    N

    @@ -3791,18 +4011,40 @@
    Require client Authentication.
    -
    newDecoder() - Method in class org.glassfish.tyrus.core.StrictUtf8
    +
    NEGOTIATED_EXTENSIONS - org.glassfish.tyrus.core.cluster.RemoteSession.DistributedMapKey
    +
    +
    Negotiated extensions.
    +
    +
    NEGOTIATED_SUBPROTOCOL - org.glassfish.tyrus.core.cluster.RemoteSession.DistributedMapKey
    +
    +
    Negotiated subprotocol.
    +
    +
    newDecoder() - Method in class org.glassfish.tyrus.core.StrictUtf8
     
    -
    newEncoder() - Method in class org.glassfish.tyrus.core.StrictUtf8
    +
    newEncoder() - Method in class org.glassfish.tyrus.core.StrictUtf8
     
    -
    nextInt() - Method in interface org.glassfish.tyrus.core.MaskingKeyGenerator
    +
    nextInt() - Method in interface org.glassfish.tyrus.core.MaskingKeyGenerator
    Return next random int similarly to Random.nextInt().
    -
    NO_DECODER_FOUND() - Static method in class org.glassfish.tyrus.core.l10n.LocalizationMessages
    +
    NO_DECODER_FOUND() - Static method in class org.glassfish.tyrus.core.l10n.LocalizationMessages
    No decoder found.
    +
    NO_EXTENSION - javax.websocket.CloseReason.CloseCodes
    +
    +
    1010 indicates that an endpoint (client) is terminating the + connection because it has expected the server to negotiate one or + more extension, but the server didn't return them in the response + message of the WebSocket handshake.
    +
    +
    NO_EXTENSION - org.glassfish.tyrus.core.CloseReasons
    +
    +
    1010 indicates that an endpoint (client) is terminating the + connection because it has expected the server to negotiate one or + more extension, but the server didn't return them in the response + message of the WebSocket handshake.
    +
    NO_OP - Static variable in interface org.glassfish.tyrus.core.monitoring.ApplicationEventListener
    An instance of @ApplicationEventListener that does not do anything.
    @@ -3815,273 +4057,330 @@
    An instance of @MessageEventListener that does not do anything.
    +
    NO_STATUS_CODE - javax.websocket.CloseReason.CloseCodes
    +
    +
    1005 is a reserved value and MUST NOT be set as a status code in a + Close control frame by an endpoint.
    +
    +
    NO_STATUS_CODE - org.glassfish.tyrus.core.CloseReasons
    +
    +
    1005 is a reserved value and MUST NOT be set as a status code in a + Close control frame by an endpoint.
    +
    NoOpByteArrayCoder - Class in org.glassfish.tyrus.core.coder
    Encoder and Decoder implementation for byte array.
    -
    NoOpByteArrayCoder() - Constructor for class org.glassfish.tyrus.core.coder.NoOpByteArrayCoder
    +
    NoOpByteArrayCoder() - Constructor for class org.glassfish.tyrus.core.coder.NoOpByteArrayCoder
     
    NoOpByteBufferCoder - Class in org.glassfish.tyrus.core.coder
    Encoder and Decoder implementation for ByteBuffer.
    -
    NoOpByteBufferCoder() - Constructor for class org.glassfish.tyrus.core.coder.NoOpByteBufferCoder
    +
    NoOpByteBufferCoder() - Constructor for class org.glassfish.tyrus.core.coder.NoOpByteBufferCoder
     
    NoOpTextCoder - Class in org.glassfish.tyrus.core.coder
     
    -
    NoOpTextCoder() - Constructor for class org.glassfish.tyrus.core.coder.NoOpTextCoder
    +
    NoOpTextCoder() - Constructor for class org.glassfish.tyrus.core.coder.NoOpTextCoder
     
    -
    normalize(String) - Static method in class org.glassfish.tyrus.core.uri.internal.UriTemplate
    +
    NORMAL_CLOSURE - javax.websocket.CloseReason.CloseCodes
    +
    +
    1000 indicates a normal closure, meaning that the purpose for + which the connection was established has been fulfilled.
    +
    +
    NORMAL_CLOSURE - org.glassfish.tyrus.core.CloseReasons
    +
    +
    1000 indicates a normal closure, meaning that the purpose for + which the connection was established has been fulfilled.
    +
    +
    normalize(String) - Static method in class org.glassfish.tyrus.core.uri.internal.UriTemplate
    Normalize the URI by resolve the dot & dot-dot path segments as described in RFC 3986.
    -
    normalize(URI) - Static method in class org.glassfish.tyrus.core.uri.internal.UriTemplate
    +
    normalize(URI) - Static method in class org.glassfish.tyrus.core.uri.internal.UriTemplate
    Normalize the URI by resolve the dot & dot-dot path segments as described in RFC 3986.
    +
    NOT_APPLICABLE - org.glassfish.tyrus.spi.WebSocketEngine.UpgradeStatus
    +
    +
    Not a WebSocketRequest or no mapping in the application.
    +
    +
    NOT_CONSISTENT - javax.websocket.CloseReason.CloseCodes
    +
    +
    1007 indicates that an endpoint is terminating the connection + because it has received data within a message that was not + consistent with the type of the message (e.g., non-UTF-8 + data within a text message).
    +
    +
    NOT_CONSISTENT - org.glassfish.tyrus.core.CloseReasons
    +
    +
    1007 indicates that an endpoint is terminating the connection + because it has received data within a message that was not + consistent with the type of the message (e.g., non-UTF-8 + data within a text message).
    +
    NOT_LOCALIZABLE - Static variable in interface org.glassfish.tyrus.core.l10n.Localizable
    Special constant that represents a message that is not localizable.
    - +

    O

    +
    OBJECT - org.glassfish.tyrus.spi.WriterInfo.MessageType
    +
    +
    Object type.
    +
    ObjectFactory - Class in org.glassfish.tyrus.core.wsadl.model
    This object contains factory methods for each Java content interface and Java element interface generated in the org.glassfish.tyrus.core.wsadl.model package.
    -
    ObjectFactory() - Constructor for class org.glassfish.tyrus.core.wsadl.model.ObjectFactory
    +
    ObjectFactory() - Constructor for class org.glassfish.tyrus.core.wsadl.model.ObjectFactory
    Create a new ObjectFactory that can be used to create new instances of schema derived classes for package: org.glassfish.tyrus.core.wsadl.model
    -
    objectToString(Object) - Static method in class org.glassfish.tyrus.core.ReflectionHelper
    +
    objectToString(Object) - Static method in class org.glassfish.tyrus.core.ReflectionHelper
    Create a string representation of an object.
    -
    onAllDataRead() - Method in class org.glassfish.tyrus.servlet.TyrusHttpUpgradeHandler
    +
    of(T) - Static method in class org.glassfish.tyrus.core.collection.Values
    +
    +
    + Get a new constant value provider whose get() + method always returns the instance supplied to the value parameter.
    +
    +
    OFF - org.glassfish.tyrus.core.DebugContext.TracingType
    +
    +
    No tracing headers will be ever sent in handshake response.
    +
    +
    ON_DEMAND - org.glassfish.tyrus.core.DebugContext.TracingType
    +
    +
    Tracing headers will be sent in handshake response only if X-Tyrus-Tracing-Accept header is present + in handshake request.
    +
    +
    onAllDataRead() - Method in class org.glassfish.tyrus.servlet.TyrusHttpUpgradeHandler
     
    -
    onApplicationDestroyed() - Method in interface org.glassfish.tyrus.core.monitoring.ApplicationEventListener
    +
    onApplicationDestroyed() - Method in interface org.glassfish.tyrus.core.monitoring.ApplicationEventListener
    Called when the application has been destroyed.
    -
    onApplicationInitialized(String) - Method in interface org.glassfish.tyrus.core.monitoring.ApplicationEventListener
    +
    onApplicationInitialized(String) - Method in interface org.glassfish.tyrus.core.monitoring.ApplicationEventListener
    Called when the application has been initialized.
    -
    onBroadcast(String) - Method in interface org.glassfish.tyrus.core.cluster.BroadcastListener
    -
    -
    Invoked when received request to broadcast text message.
    -
    -
    onBroadcast(byte[]) - Method in interface org.glassfish.tyrus.core.cluster.BroadcastListener
    +
    onBroadcast(byte[]) - Method in interface org.glassfish.tyrus.core.cluster.BroadcastListener
    Invoked when received request to broadcast binary data.
    -
    onClose(Session, CloseReason) - Method in class javax.websocket.Endpoint
    +
    onBroadcast(String) - Method in interface org.glassfish.tyrus.core.cluster.BroadcastListener
    -
    This method is called immediately prior to the session with the remote - peer being closed.
    +
    Invoked when received request to broadcast text message.
    -
    OnClose - Annotation Type in javax.websocket
    +
    onClose() - Method in class org.glassfish.tyrus.core.cluster.SessionEventListener
    -
    This method level annotation can be used to decorate a Java method that wishes - to be called when a web socket session is closing.
    +
    Invoked on session close event.
    -
    onClose(Session, CloseReason) - Method in class org.glassfish.tyrus.core.AnnotatedEndpoint
    -
     
    -
    onClose() - Method in class org.glassfish.tyrus.core.cluster.SessionEventListener
    +
    onClose(CloseReason) - Method in class org.glassfish.tyrus.core.cluster.SessionEventListener
    Invoked on session close event.
    -
    onClose(CloseReason) - Method in class org.glassfish.tyrus.core.cluster.SessionEventListener
    +
    onClose(Session, CloseReason) - Method in class javax.websocket.Endpoint
    -
    Invoked on session close event.
    +
    This method is called immediately prior to the session with the remote + peer being closed.
    +
    +
    onClose(Session, CloseReason) - Method in class org.glassfish.tyrus.core.AnnotatedEndpoint
    +
     
    +
    onClose(CloseFrame) - Method in class org.glassfish.tyrus.core.TyrusWebSocket
    +
    +
    This callback will be invoked when the remote endpoint sent a closing frame.
    -
    onClose(TyrusSession, CloseReason) - Method in class org.glassfish.tyrus.core.TyrusEndpointWrapper.SessionListener
    +
    onClose(TyrusSession, CloseReason) - Method in class org.glassfish.tyrus.core.TyrusEndpointWrapper.SessionListener
    + or Endpoint.onClose(javax.websocket.Session, javax.websocket.CloseReason) execution.
    -
    onClose(CloseFrame) - Method in class org.glassfish.tyrus.core.TyrusWebSocket
    +
    OnClose - Annotation Type in javax.websocket
    -
    This callback will be invoked when the remote endpoint sent a closing frame.
    +
    This method level annotation can be used to decorate a Java method that wishes + to be called when a web socket session is closing.
    -
    onConnect(UpgradeRequest, String, List<Extension>, String, DebugContext) - Method in class org.glassfish.tyrus.core.TyrusWebSocket
    +
    onConnect(UpgradeRequest, String, List<Extension>, String, DebugContext) - Method in class org.glassfish.tyrus.core.TyrusWebSocket
    This callback will be invoked when the opening handshake between both endpoints has been completed.
    -
    onConnectFailure(Exception) - Method in class org.glassfish.tyrus.client.ClientManager.ReconnectHandler
    +
    onConnectFailure(Exception) - Method in class org.glassfish.tyrus.client.ClientManager.ReconnectHandler
    Called when there is a connection failure.
    -
    onDataAvailable() - Method in class org.glassfish.tyrus.servlet.TyrusHttpUpgradeHandler
    +
    onDataAvailable() - Method in class org.glassfish.tyrus.servlet.TyrusHttpUpgradeHandler
     
    -
    onDisconnect(CloseReason) - Method in class org.glassfish.tyrus.client.ClientManager.ReconnectHandler
    +
    onDisconnect(CloseReason) - Method in class org.glassfish.tyrus.client.ClientManager.ReconnectHandler
    - +
    -
    onEndpointRegistered(String, Class<?>) - Method in interface org.glassfish.tyrus.core.monitoring.ApplicationEventListener
    +
    onEndpointRegistered(String, Class<?>) - Method in interface org.glassfish.tyrus.core.monitoring.ApplicationEventListener
    Called when an endpoint has been registered.
    -
    onEndpointUnregistered(String) - Method in interface org.glassfish.tyrus.core.monitoring.ApplicationEventListener
    +
    onEndpointUnregistered(String) - Method in interface org.glassfish.tyrus.core.monitoring.ApplicationEventListener
    Called when an endpoint has been unregistered.
    -
    onError(Session, Throwable) - Method in class javax.websocket.Endpoint
    -
    -
    Developers may implement this method when the web socket session - creates some kind of error that is not modeled in the web socket protocol.
    -
    -
    OnError - Annotation Type in javax.websocket
    +
    onError(String, Throwable) - Method in interface org.glassfish.tyrus.core.monitoring.EndpointEventListener
    -
    This method level annotation can be used to decorate a Java method that wishes to be called in order - to handle errors.
    +
    Called when an error has occurred.
    -
    onError(Throwable) - Method in interface org.glassfish.tyrus.client.TyrusClientEngine.ClientHandshakeListener
    +
    onError(Throwable) - Method in interface org.glassfish.tyrus.client.TyrusClientEngine.ClientHandshakeListener
    Called when an error is found in handshake response.
    -
    onError(Session, Throwable) - Method in class org.glassfish.tyrus.core.AnnotatedEndpoint
    +
    onError(Throwable) - Method in class org.glassfish.tyrus.servlet.TyrusHttpUpgradeHandler
     
    -
    onError(String, Throwable) - Method in interface org.glassfish.tyrus.core.monitoring.EndpointEventListener
    +
    onError(Session, Throwable) - Method in class javax.websocket.Endpoint
    -
    Called when an error has occurred.
    +
    Developers may implement this method when the web socket session + creates some kind of error that is not modeled in the web socket protocol.
    -
    onError(Throwable) - Method in class org.glassfish.tyrus.servlet.TyrusHttpUpgradeHandler
    +
    onError(Session, Throwable) - Method in class org.glassfish.tyrus.core.AnnotatedEndpoint
     
    -
    onExtensionNegotiation(ExtendedExtension.ExtensionContext, List<Extension.Parameter>) - Method in interface org.glassfish.tyrus.core.extension.ExtendedExtension
    +
    OnError - Annotation Type in javax.websocket
    +
    +
    This method level annotation can be used to decorate a Java method that wishes to be called in order + to handle errors.
    +
    +
    onExtensionNegotiation(ExtendedExtension.ExtensionContext, List<Extension.Parameter>) - Method in interface org.glassfish.tyrus.core.extension.ExtendedExtension
    Parameter negotiation.
    -
    onFragment(BinaryFrame, boolean) - Method in class org.glassfish.tyrus.core.TyrusWebSocket
    +
    onFragment(BinaryFrame, boolean) - Method in class org.glassfish.tyrus.core.TyrusWebSocket
    This callback will be invoked when a fragmented binary message has been received.
    -
    onFragment(TextFrame, boolean) - Method in class org.glassfish.tyrus.core.TyrusWebSocket
    +
    onFragment(TextFrame, boolean) - Method in class org.glassfish.tyrus.core.TyrusWebSocket
    This callback will be invoked when a fragmented textual message has been received.
    -
    onFrameReceived(TyrusFrame.FrameType, long) - Method in interface org.glassfish.tyrus.core.monitoring.MessageEventListener
    +
    onFrameReceived(TyrusFrame.FrameType, long) - Method in interface org.glassfish.tyrus.core.monitoring.MessageEventListener
    Called when a frame has been received.
    -
    onFrameSent(TyrusFrame.FrameType, long) - Method in interface org.glassfish.tyrus.core.monitoring.MessageEventListener
    +
    onFrameSent(TyrusFrame.FrameType, long) - Method in interface org.glassfish.tyrus.core.monitoring.MessageEventListener
    Called when a frame has been sent.
    -
    onHandshakeResponse(ExtendedExtension.ExtensionContext, List<Extension.Parameter>) - Method in interface org.glassfish.tyrus.core.extension.ExtendedExtension
    +
    onHandshakeResponse(ExtendedExtension.ExtensionContext, List<Extension.Parameter>) - Method in interface org.glassfish.tyrus.core.extension.ExtendedExtension
    Called only on the client side when handshake response arrives.
    -
    onMessage(T, boolean) - Method in interface javax.websocket.MessageHandler.Partial
    +
    onMessage(BinaryFrame) - Method in class org.glassfish.tyrus.core.TyrusWebSocket
    -
    Called when the next part of a message has been fully received.
    +
    This callback will be invoked when a binary message has been received.
    -
    onMessage(T) - Method in interface javax.websocket.MessageHandler.Whole
    +
    onMessage(TextFrame) - Method in class org.glassfish.tyrus.core.TyrusWebSocket
    -
    Called when the message has been fully received.
    +
    This callback will be invoked when a text message has been received.
    -
    OnMessage - Annotation Type in javax.websocket
    +
    onMessage(T) - Method in interface javax.websocket.MessageHandler.Whole
    -
    This method level annotation can be used to make a Java method receive incoming web socket messages.
    +
    Called when the message has been fully received.
    -
    onMessage(BinaryFrame) - Method in class org.glassfish.tyrus.core.TyrusWebSocket
    +
    onMessage(T, boolean) - Method in interface javax.websocket.MessageHandler.Partial
    -
    This callback will be invoked when a binary message has been received.
    +
    Called when the next part of a message has been fully received.
    -
    onMessage(TextFrame) - Method in class org.glassfish.tyrus.core.TyrusWebSocket
    +
    OnMessage - Annotation Type in javax.websocket
    -
    This callback will be invoked when a text message has been received.
    +
    This method level annotation can be used to make a Java method receive incoming web socket messages.
    -
    onOpen(Session, EndpointConfig) - Method in class javax.websocket.Endpoint
    +
    onOpen(Session, EndpointConfig) - Method in class javax.websocket.Endpoint
    Developers must implement this method to be notified when a new conversation has just begun.
    +
    onOpen(Session, EndpointConfig) - Method in class org.glassfish.tyrus.core.AnnotatedEndpoint
    +
     
    +
    onOpen(TyrusSession) - Method in class org.glassfish.tyrus.core.TyrusEndpointWrapper.SessionListener
    +
    + +
    OnOpen - Annotation Type in javax.websocket
    This method level annotation can be used to decorate a Java method that wishes to be called when a new web socket session is open.
    -
    onOpen(Session, EndpointConfig) - Method in class org.glassfish.tyrus.core.AnnotatedEndpoint
    -
     
    -
    onOpen(TyrusSession) - Method in class org.glassfish.tyrus.core.TyrusEndpointWrapper.SessionListener
    -
    - -
    -
    onPing(PingFrame) - Method in class org.glassfish.tyrus.core.TyrusWebSocket
    +
    onPing(PingFrame) - Method in class org.glassfish.tyrus.core.TyrusWebSocket
    This callback will be invoked when the remote endpoint has sent a ping frame.
    -
    onPong(PongFrame) - Method in class org.glassfish.tyrus.core.TyrusWebSocket
    +
    onPong(PongFrame) - Method in class org.glassfish.tyrus.core.TyrusWebSocket
    This callback will be invoked when the remote endpoint has sent a pong frame.
    -
    onResult(SendResult) - Method in interface javax.websocket.SendHandler
    +
    onResult(SendResult) - Method in interface javax.websocket.SendHandler
    Called once the message has been transmitted.
    -
    onSendBinary(byte[]) - Method in class org.glassfish.tyrus.core.cluster.SessionEventListener
    +
    onSendBinary(byte[]) - Method in class org.glassfish.tyrus.core.cluster.SessionEventListener
    Invoked on send binary message event.
    -
    onSendBinary(byte[], boolean) - Method in class org.glassfish.tyrus.core.cluster.SessionEventListener
    +
    onSendBinary(byte[], boolean) - Method in class org.glassfish.tyrus.core.cluster.SessionEventListener
    Invoked on send partial binary message event.
    -
    onSendPing(byte[]) - Method in class org.glassfish.tyrus.core.cluster.SessionEventListener
    +
    onSendPing(byte[]) - Method in class org.glassfish.tyrus.core.cluster.SessionEventListener
    Invoked on send ping frame event.
    -
    onSendPong(byte[]) - Method in class org.glassfish.tyrus.core.cluster.SessionEventListener
    +
    onSendPong(byte[]) - Method in class org.glassfish.tyrus.core.cluster.SessionEventListener
    Invoked on send pong frame event.
    -
    onSendText(String) - Method in class org.glassfish.tyrus.core.cluster.SessionEventListener
    +
    onSendText(String) - Method in class org.glassfish.tyrus.core.cluster.SessionEventListener
    Invoked on send text message event.
    -
    onSendText(String, boolean) - Method in class org.glassfish.tyrus.core.cluster.SessionEventListener
    +
    onSendText(String, boolean) - Method in class org.glassfish.tyrus.core.cluster.SessionEventListener
    Invoked on send partial text message event.
    -
    onSessionClosed(String) - Method in interface org.glassfish.tyrus.core.cluster.SessionListener
    +
    onSessionClosed(String) - Method in interface org.glassfish.tyrus.core.cluster.SessionListener
    Invoked when session is closed.
    -
    onSessionClosed(String) - Method in interface org.glassfish.tyrus.core.monitoring.EndpointEventListener
    +
    onSessionClosed(String) - Method in interface org.glassfish.tyrus.core.monitoring.EndpointEventListener
    Called when a session has been closed.
    -
    onSessionCreated(Session) - Method in interface org.glassfish.tyrus.client.TyrusClientEngine.ClientHandshakeListener
    +
    onSessionCreated(Session) - Method in interface org.glassfish.tyrus.client.TyrusClientEngine.ClientHandshakeListener
    -
    onSessionOpened(String) - Method in interface org.glassfish.tyrus.core.cluster.SessionListener
    +
    onSessionOpened(String) - Method in interface org.glassfish.tyrus.core.cluster.SessionListener
    Invoked when session is opened.
    -
    onSessionOpened(String) - Method in interface org.glassfish.tyrus.core.monitoring.EndpointEventListener
    +
    onSessionOpened(String) - Method in interface org.glassfish.tyrus.core.monitoring.EndpointEventListener
    Called when a session has been opened.
    -
    onStartup(Set<Class<?>>, ServletContext) - Method in class org.glassfish.tyrus.servlet.TyrusServletContainerInitializer
    +
    onStartup(Set<Class<?>>, ServletContext) - Method in class org.glassfish.tyrus.servlet.TyrusServletContainerInitializer
     
    -
    opcode(byte) - Method in class org.glassfish.tyrus.core.frame.Frame.Builder
    +
    opcode(byte) - Method in class org.glassfish.tyrus.core.frame.Frame.Builder
    Set opcode.
    @@ -4089,9 +4388,9 @@
    Path pattern matching the any URI path.
    -
    openClientSocket(ClientEndpointConfig, Map<String, Object>, ClientEngine) - Method in class org.glassfish.tyrus.container.grizzly.client.GrizzlyClientContainer
    +
    openClientSocket(ClientEndpointConfig, Map<String, Object>, ClientEngine) - Method in class org.glassfish.tyrus.container.grizzly.client.GrizzlyClientContainer
     
    -
    openClientSocket(ClientEndpointConfig, Map<String, Object>, ClientEngine) - Method in interface org.glassfish.tyrus.spi.ClientContainer
    +
    openClientSocket(ClientEndpointConfig, Map<String, Object>, ClientEngine) - Method in interface org.glassfish.tyrus.spi.ClientContainer
    Open client socket - connect to endpoint specified with url parameter.
    @@ -4121,6 +4420,8 @@
    Encoder and decoder adapters and built-in implementations.
    +
    org.glassfish.tyrus.core.collection - package org.glassfish.tyrus.core.collection
    +
     
    org.glassfish.tyrus.core.extension - package org.glassfish.tyrus.core.extension
    WebSocket Extension support.
    @@ -4172,7 +4473,7 @@
    HTTP "Origin" header name.
    -
    ORIGIN_NOT_VERIFIED() - Static method in class org.glassfish.tyrus.core.l10n.LocalizationMessages
    +
    ORIGIN_NOT_VERIFIED() - Static method in class org.glassfish.tyrus.core.l10n.LocalizationMessages
    Origin not verified.
    @@ -4180,8 +4481,10 @@
    Taken from Jersey 2.
    +
    OTHER - org.glassfish.tyrus.core.DebugContext.Type
    +
     
    - +

    P

    @@ -4190,45 +4493,57 @@
    Parallel broadcast support.
    -
    parallelBroadcastEnabled(Boolean) - Method in class org.glassfish.tyrus.core.TyrusWebSocketEngine.TyrusWebSocketEngineBuilder
    +
    parallelBroadcastEnabled(Boolean) - Method in class org.glassfish.tyrus.core.TyrusWebSocketEngine.TyrusWebSocketEngineBuilder
     
    -
    parameterMap(Map<String, String[]>) - Method in class org.glassfish.tyrus.core.RequestContext.Builder
    +
    parameterMap(Map<String, String[]>) - Method in class org.glassfish.tyrus.core.RequestContext.Builder
    Set parameter map.
    -
    parse(char, CharBuffer) - Method in class org.glassfish.tyrus.core.StrictUtf8.Parser
    +
    parse(char, char[], int, int) - Method in class org.glassfish.tyrus.core.StrictUtf8.Parser
    Parses a UCS-4 character from the given source buffer, handling surrogates.
    -
    parse(char, char[], int, int) - Method in class org.glassfish.tyrus.core.StrictUtf8.Parser
    +
    parse(char, CharBuffer) - Method in class org.glassfish.tyrus.core.StrictUtf8.Parser
    Parses a UCS-4 character from the given source buffer, handling surrogates.
    -
    parseHeaderValue(String) - Static method in class org.glassfish.tyrus.core.Utils
    +
    parseHeaderValue(String) - Static method in class org.glassfish.tyrus.core.Utils
    Parse header value - splits multiple values (quoted, unquoted) separated by comma.
    -
    parseHttpDate(String) - Static method in class org.glassfish.tyrus.core.Utils
    +
    parseHttpDate(String) - Static method in class org.glassfish.tyrus.core.Utils
    Parse HTTP date.
    -
    Parser() - Constructor for class org.glassfish.tyrus.core.StrictUtf8.Parser
    +
    Parser() - Constructor for class org.glassfish.tyrus.core.StrictUtf8.Parser
     
    -
    PARTIAL_BINARY_MESSAGE_OUT_OF_ORDER(Object) - Static method in class org.glassfish.tyrus.core.l10n.LocalizationMessages
    +
    PARTIAL_BINARY_MESSAGE_OUT_OF_ORDER(Object) - Static method in class org.glassfish.tyrus.core.l10n.LocalizationMessages
    Partial binary message received out of order.
    -
    PARTIAL_MESSAGE_BUFFER_OVERFLOW() - Static method in class org.glassfish.tyrus.core.l10n.LocalizationMessages
    +
    PARTIAL_MESSAGE_BUFFER_OVERFLOW() - Static method in class org.glassfish.tyrus.core.l10n.LocalizationMessages
    Partial message could not be delivered due to buffer overflow.
    -
    PARTIAL_TEXT_MESSAGE_OUT_OF_ORDER(Object) - Static method in class org.glassfish.tyrus.core.l10n.LocalizationMessages
    +
    PARTIAL_TEXT_MESSAGE_OUT_OF_ORDER(Object) - Static method in class org.glassfish.tyrus.core.l10n.LocalizationMessages
    Partial text message received out of order.
    path - Variable in class org.glassfish.tyrus.core.wsadl.model.Endpoint
     
    +
    PATH - org.glassfish.tyrus.core.uri.internal.UriComponent.Type
    +
    +
    The URI path component type.
    +
    +
    PATH_PARAMETERS - org.glassfish.tyrus.core.cluster.RemoteSession.DistributedMapKey
    +
    +
    Path parameters.
    +
    +
    PATH_SEGMENT - org.glassfish.tyrus.core.uri.internal.UriComponent.Type
    +
    +
    The URI path component type that is a path segment.
    +
    PathParam - Annotation Type in javax.websocket.server
    This annotation may be used to annotate method parameters on server endpoints @@ -4239,19 +4554,19 @@
    A path pattern that is a regular expression generated from a URI path template.
    -
    PathPattern(String) - Constructor for class org.glassfish.tyrus.core.uri.internal.PathPattern
    +
    PathPattern(String) - Constructor for class org.glassfish.tyrus.core.uri.internal.PathPattern
    Create a path pattern and post fix with PathPattern.RightHandPath.capturingZeroOrMoreSegments.
    -
    PathPattern(PathTemplate) - Constructor for class org.glassfish.tyrus.core.uri.internal.PathPattern
    +
    PathPattern(String, PathPattern.RightHandPath) - Constructor for class org.glassfish.tyrus.core.uri.internal.PathPattern
    -
    Create a path pattern and post fix with PathPattern.RightHandPath.capturingZeroOrMoreSegments.
    +
    Create a path pattern and post fix with a right hand path pattern.
    -
    PathPattern(String, PathPattern.RightHandPath) - Constructor for class org.glassfish.tyrus.core.uri.internal.PathPattern
    +
    PathPattern(PathTemplate) - Constructor for class org.glassfish.tyrus.core.uri.internal.PathPattern
    -
    Create a path pattern and post fix with a right hand path pattern.
    +
    Create a path pattern and post fix with PathPattern.RightHandPath.capturingZeroOrMoreSegments.
    -
    PathPattern(PathTemplate, PathPattern.RightHandPath) - Constructor for class org.glassfish.tyrus.core.uri.internal.PathPattern
    +
    PathPattern(PathTemplate, PathPattern.RightHandPath) - Constructor for class org.glassfish.tyrus.core.uri.internal.PathPattern
    Create a path pattern and post fix with a right hand path pattern.
    @@ -4267,7 +4582,7 @@
    A URI template for a URI path.
    -
    PathTemplate(String) - Constructor for class org.glassfish.tyrus.core.uri.internal.PathTemplate
    +
    PathTemplate(String) - Constructor for class org.glassfish.tyrus.core.uri.internal.PathTemplate
    Create a URI path template and encode (percent escape) any characters of the template that are not valid URI characters.
    @@ -4277,55 +4592,71 @@
    A pattern for matching a string against a regular expression and returning capturing group values for any capturing groups present in the expression.
    -
    PatternWithGroups() - Constructor for class org.glassfish.tyrus.core.uri.internal.PatternWithGroups
    +
    PatternWithGroups() - Constructor for class org.glassfish.tyrus.core.uri.internal.PatternWithGroups
    Construct an empty pattern.
    -
    PatternWithGroups(String) - Constructor for class org.glassfish.tyrus.core.uri.internal.PatternWithGroups
    +
    PatternWithGroups(String) - Constructor for class org.glassfish.tyrus.core.uri.internal.PatternWithGroups
    Construct a new pattern.
    -
    PatternWithGroups(String, int[]) - Constructor for class org.glassfish.tyrus.core.uri.internal.PatternWithGroups
    +
    PatternWithGroups(String, int[]) - Constructor for class org.glassfish.tyrus.core.uri.internal.PatternWithGroups
    Construct a new pattern.
    -
    PatternWithGroups(Pattern) - Constructor for class org.glassfish.tyrus.core.uri.internal.PatternWithGroups
    +
    PatternWithGroups(Pattern) - Constructor for class org.glassfish.tyrus.core.uri.internal.PatternWithGroups
    Construct a new pattern.
    -
    PatternWithGroups(Pattern, int[]) - Constructor for class org.glassfish.tyrus.core.uri.internal.PatternWithGroups
    +
    PatternWithGroups(Pattern, int[]) - Constructor for class org.glassfish.tyrus.core.uri.internal.PatternWithGroups
    Construct a new pattern.
    -
    payloadData(byte[]) - Method in class org.glassfish.tyrus.core.frame.Frame.Builder
    +
    payloadData(byte[]) - Method in class org.glassfish.tyrus.core.frame.Frame.Builder
    Set payload data.
    -
    payloadLength(long) - Method in class org.glassfish.tyrus.core.frame.Frame.Builder
    +
    payloadLength(long) - Method in class org.glassfish.tyrus.core.frame.Frame.Builder
    Set payload length.
    +
    PING - org.glassfish.tyrus.core.frame.TyrusFrame.FrameType
    +
    +
    Ping frame.
    +
    +
    PING - org.glassfish.tyrus.spi.WriterInfo.MessageType
    +
    +
    Ping type.
    +
    PingFrame - Class in org.glassfish.tyrus.core.frame
    Ping frame representation.
    -
    PingFrame(Frame) - Constructor for class org.glassfish.tyrus.core.frame.PingFrame
    +
    PingFrame(byte[]) - Constructor for class org.glassfish.tyrus.core.frame.PingFrame
    Constructor.
    -
    PingFrame(byte[]) - Constructor for class org.glassfish.tyrus.core.frame.PingFrame
    +
    PingFrame(Frame) - Constructor for class org.glassfish.tyrus.core.frame.PingFrame
    Constructor.
    +
    PONG - org.glassfish.tyrus.core.frame.TyrusFrame.FrameType
    +
    +
    Pong frame.
    +
    +
    PONG - org.glassfish.tyrus.spi.WriterInfo.MessageType
    +
    +
    Pong type.
    +
    PongFrame - Class in org.glassfish.tyrus.core.frame
    Pong frame representation.
    -
    PongFrame(Frame) - Constructor for class org.glassfish.tyrus.core.frame.PongFrame
    +
    PongFrame(byte[]) - Constructor for class org.glassfish.tyrus.core.frame.PongFrame
    Constructor.
    -
    PongFrame(byte[]) - Constructor for class org.glassfish.tyrus.core.frame.PongFrame
    +
    PongFrame(Frame) - Constructor for class org.glassfish.tyrus.core.frame.PongFrame
    Constructor.
    @@ -4333,13 +4664,17 @@
    The PongMessage interface represents a web socket pong.
    -
    preferredSubprotocols(List<String>) - Method in class javax.websocket.ClientEndpointConfig.Builder
    +
    PORT - org.glassfish.tyrus.core.uri.internal.UriComponent.Type
    +
    +
    The URI port component type.
    +
    +
    preferredSubprotocols(List<String>) - Method in class javax.websocket.ClientEndpointConfig.Builder
    Set the preferred sub protocols for the configuration this builder will build.
    -
    preInit(WebSocketEngine.UpgradeInfo, Writer, boolean) - Method in class org.glassfish.tyrus.servlet.TyrusHttpUpgradeHandler
    +
    preInit(WebSocketEngine.UpgradeInfo, Writer, boolean) - Method in class org.glassfish.tyrus.servlet.TyrusHttpUpgradeHandler
     
    -
    prepareRequest() - Method in class org.glassfish.tyrus.core.Handshake
    +
    prepareRequest() - Method in class org.glassfish.tyrus.core.Handshake
    Client side only - compose the UpgradeRequest and store it for further use.
    @@ -4347,7 +4682,7 @@
    Collection of decoders for all primitive types.
    -
    PrimitiveDecoders() - Constructor for class org.glassfish.tyrus.core.coder.PrimitiveDecoders
    +
    PrimitiveDecoders() - Constructor for class org.glassfish.tyrus.core.coder.PrimitiveDecoders
     
    PrimitiveDecoders.BooleanDecoder - Class in org.glassfish.tyrus.core.coder
     
    @@ -4365,64 +4700,74 @@
     
    PrimitiveDecoders.ShortDecoder - Class in org.glassfish.tyrus.core.coder
     
    -
    process(Frame, TyrusWebSocket) - Method in class org.glassfish.tyrus.core.ProtocolHandler
    +
    process(Frame, TyrusWebSocket) - Method in class org.glassfish.tyrus.core.ProtocolHandler
    TODO.
    -
    processError(Throwable) - Method in class org.glassfish.tyrus.client.TyrusClientEngine
    +
    processError(Throwable) - Method in class org.glassfish.tyrus.client.TyrusClientEngine
     
    -
    processError(Throwable) - Method in interface org.glassfish.tyrus.spi.ClientEngine
    +
    processError(Throwable) - Method in interface org.glassfish.tyrus.spi.ClientEngine
    Process error.
    -
    processIncoming(ExtendedExtension.ExtensionContext, Frame) - Method in interface org.glassfish.tyrus.core.extension.ExtendedExtension
    +
    processIncoming(ExtendedExtension.ExtensionContext, Frame) - Method in interface org.glassfish.tyrus.core.extension.ExtendedExtension
    Process incoming frame.
    -
    processOutgoing(ExtendedExtension.ExtensionContext, Frame) - Method in interface org.glassfish.tyrus.core.extension.ExtendedExtension
    +
    processOutgoing(ExtendedExtension.ExtensionContext, Frame) - Method in interface org.glassfish.tyrus.core.extension.ExtendedExtension
    Process outgoing frame.
    -
    processResponse(UpgradeResponse, Writer, Connection.CloseListener) - Method in class org.glassfish.tyrus.client.TyrusClientEngine
    +
    processResponse(UpgradeResponse, Writer, Connection.CloseListener) - Method in class org.glassfish.tyrus.client.TyrusClientEngine
     
    -
    processResponse(UpgradeResponse, Writer, Connection.CloseListener) - Method in interface org.glassfish.tyrus.spi.ClientEngine
    +
    processResponse(UpgradeResponse, Writer, Connection.CloseListener) - Method in interface org.glassfish.tyrus.spi.ClientEngine
    Process handshake and return ClientEngine.ClientUpgradeInfo with handshake status (ClientEngine.ClientUpgradeStatus).
    -
    processTask(TaskProcessor.Task) - Method in class org.glassfish.tyrus.container.grizzly.client.TaskProcessor
    +
    processTask() - Method in class org.glassfish.tyrus.container.grizzly.client.TaskProcessor
    +
    +
    Process as much tasks from task queue as possible.
    +
    +
    processTask(TaskProcessor.Task) - Method in class org.glassfish.tyrus.container.grizzly.client.TaskProcessor
    Add a task to the task queue and process as much tasks from the task queue as possible.
    -
    processTask() - Method in class org.glassfish.tyrus.container.grizzly.client.TaskProcessor
    +
    PROTOCOL_ERROR - javax.websocket.CloseReason.CloseCodes
    -
    Process as much tasks from task queue as possible.
    +
    1002 indicates that an endpoint is terminating the connection due + to a protocol error.
    +
    +
    PROTOCOL_ERROR - org.glassfish.tyrus.core.CloseReasons
    +
    +
    1002 indicates that an endpoint is terminating the connection due + to a protocol error.
    ProtocolException - Exception in org.glassfish.tyrus.core
    Represents issue with parsing or producing websocket frame.
    -
    ProtocolException(String) - Constructor for exception org.glassfish.tyrus.core.ProtocolException
    +
    ProtocolException(String) - Constructor for exception org.glassfish.tyrus.core.ProtocolException
     
    ProtocolHandler - Class in org.glassfish.tyrus.core
    Tyrus protocol handler.
    -
    PROVIDER_CLASS_COULD_NOT_BE_LOADED(Object, Object, Object) - Static method in class org.glassfish.tyrus.core.l10n.LocalizationMessages
    +
    PROVIDER_CLASS_COULD_NOT_BE_LOADED(Object, Object, Object) - Static method in class org.glassfish.tyrus.core.l10n.LocalizationMessages
    The class {0} implementing provider {1} could not be loaded: {2}
    -
    PROVIDER_COULD_NOT_BE_CREATED(Object, Object, Object) - Static method in class org.glassfish.tyrus.core.l10n.LocalizationMessages
    +
    PROVIDER_COULD_NOT_BE_CREATED(Object, Object, Object) - Static method in class org.glassfish.tyrus.core.l10n.LocalizationMessages
    The class {0} implementing provider {1} could not be instantiated: {2}
    -
    PROVIDER_NOT_FOUND(Object, Object) - Static method in class org.glassfish.tyrus.core.l10n.LocalizationMessages
    +
    PROVIDER_NOT_FOUND(Object, Object) - Static method in class org.glassfish.tyrus.core.l10n.LocalizationMessages
    The class {0} implementing the provider {1} is not found.
    PROXY_HEADERS - Static variable in class org.glassfish.tyrus.client.ClientManager
    -
    Deprecated. - +
    Deprecated. +
    PROXY_HEADERS - Static variable in class org.glassfish.tyrus.client.ClientProperties
    @@ -4431,14 +4776,14 @@
    PROXY_HEADERS - Static variable in class org.glassfish.tyrus.container.grizzly.client.GrizzlyClientSocket
    -
    Deprecated. - +
    Deprecated. +
    PROXY_URI - Static variable in class org.glassfish.tyrus.client.ClientManager
    -
    Deprecated. - +
    Deprecated. +
    PROXY_URI - Static variable in class org.glassfish.tyrus.client.ClientProperties
    @@ -4447,35 +4792,51 @@
    PROXY_URI - Static variable in class org.glassfish.tyrus.container.grizzly.client.GrizzlyClientSocket
    -
    Deprecated. - +
    Deprecated. +
    -
    put(K, List<V>) - Method in class org.glassfish.tyrus.core.uri.internal.AbstractMultivaluedMap
    +
    put(K, List<V>) - Method in class org.glassfish.tyrus.core.uri.internal.AbstractMultivaluedMap
     
    -
    putAll(Map<? extends K, ? extends List<V>>) - Method in class org.glassfish.tyrus.core.uri.internal.AbstractMultivaluedMap
    +
    putAll(Map<? extends K, ? extends List<V>>) - Method in class org.glassfish.tyrus.core.uri.internal.AbstractMultivaluedMap
     
    -
    putSingle(K, V) - Method in class org.glassfish.tyrus.core.uri.internal.AbstractMultivaluedMap
    +
    putSingle(K, V) - Method in class org.glassfish.tyrus.core.uri.internal.AbstractMultivaluedMap
    Set the value for the key to be a one item list consisting of the supplied value.
    -
    putSingle(K, V) - Method in interface org.glassfish.tyrus.core.uri.internal.MultivaluedMap
    +
    putSingle(K, V) - Method in interface org.glassfish.tyrus.core.uri.internal.MultivaluedMap
    Set the key's value to be a one item list consisting of the supplied value.
    - +

    Q

    -
    queryString(String) - Method in class org.glassfish.tyrus.core.RequestContext.Builder
    +
    QUERY - org.glassfish.tyrus.core.uri.internal.UriComponent.Type
    +
    +
    The URI query component type.
    +
    +
    QUERY_PARAM - org.glassfish.tyrus.core.uri.internal.UriComponent.Type
    +
    +
    The URI query component type that is a query parameter, space character is encoded as +.
    +
    +
    QUERY_PARAM_SPACE_ENCODED - org.glassfish.tyrus.core.uri.internal.UriComponent.Type
    +
    +
    The URI query component type that is a query parameter, space character is encoded as %20.
    +
    +
    QUERY_STRING - org.glassfish.tyrus.core.cluster.RemoteSession.DistributedMapKey
    +
    +
    Query string.
    +
    +
    queryString(String) - Method in class org.glassfish.tyrus.core.RequestContext.Builder
    Set query string.
    - +

    R

    @@ -4484,7 +4845,7 @@
    Built in Decoder for Reader.
    -
    ReaderDecoder() - Constructor for class org.glassfish.tyrus.core.coder.ReaderDecoder
    +
    ReaderDecoder() - Constructor for class org.glassfish.tyrus.core.coder.ReaderDecoder
     
    ReadHandler - Interface in org.glassfish.tyrus.spi
    @@ -4493,15 +4854,15 @@
    RECONNECT_HANDLER - Static variable in class org.glassfish.tyrus.client.ClientManager
    -
    Deprecated. - +
    Deprecated. +
    RECONNECT_HANDLER - Static variable in class org.glassfish.tyrus.client.ClientProperties
    -
    Property usable in ClientManager.getProperties().
    +
    Property usable in ClientManager.getProperties().
    -
    ReconnectHandler() - Constructor for class org.glassfish.tyrus.client.ClientManager.ReconnectHandler
    +
    ReconnectHandler() - Constructor for class org.glassfish.tyrus.client.ClientManager.ReconnectHandler
     
    REDIRECT_ENABLED - Static variable in class org.glassfish.tyrus.client.ClientProperties
    @@ -4527,9 +4888,9 @@ or Infinite redirection loop is detected - or response header is missing, empty or does not contain a valid URI. + or "Location" response header is missing, empty or does not contain a valid URI.
    -
    RedirectException(int, String) - Constructor for exception org.glassfish.tyrus.client.RedirectException
    +
    RedirectException(int, String) - Constructor for exception org.glassfish.tyrus.client.RedirectException
    Constructor.
    @@ -4537,7 +4898,7 @@
    Utility methods for Java reflection.
    -
    ReflectionHelper() - Constructor for class org.glassfish.tyrus.core.ReflectionHelper
    +
    ReflectionHelper() - Constructor for class org.glassfish.tyrus.core.ReflectionHelper
     
    ReflectionHelper.ClassTypePair - Class in org.glassfish.tyrus.core
    @@ -4549,43 +4910,43 @@
    ReflectionHelper.TypeClassPair - Class in org.glassfish.tyrus.core
     
    -
    register(Class<?>, String) - Method in class org.glassfish.tyrus.core.TyrusWebSocketEngine
    -
     
    -
    register(ServerEndpointConfig, String) - Method in class org.glassfish.tyrus.core.TyrusWebSocketEngine
    +
    register(Class<?>) - Method in class org.glassfish.tyrus.server.TyrusServerContainer
     
    -
    register(Class<?>) - Method in class org.glassfish.tyrus.server.TyrusServerContainer
    +
    register(Class<?>, String) - Method in class org.glassfish.tyrus.core.TyrusWebSocketEngine
     
    -
    register(ServerEndpointConfig) - Method in class org.glassfish.tyrus.server.TyrusServerContainer
    -
     
    -
    register(Class<?>, String) - Method in interface org.glassfish.tyrus.spi.WebSocketEngine
    +
    register(Class<?>, String) - Method in interface org.glassfish.tyrus.spi.WebSocketEngine
    Register endpoint class.
    -
    register(ServerEndpointConfig, String) - Method in interface org.glassfish.tyrus.spi.WebSocketEngine
    +
    register(ServerEndpointConfig) - Method in class org.glassfish.tyrus.server.TyrusServerContainer
    +
     
    +
    register(ServerEndpointConfig, String) - Method in class org.glassfish.tyrus.core.TyrusWebSocketEngine
    +
     
    +
    register(ServerEndpointConfig, String) - Method in interface org.glassfish.tyrus.spi.WebSocketEngine
    -
    registerAuthProvider(String, Authenticator) - Method in class org.glassfish.tyrus.client.auth.AuthConfig.Builder
    +
    registerAuthProvider(String, Authenticator) - Method in class org.glassfish.tyrus.client.auth.AuthConfig.Builder
    Register Authenticator for provided authentication scheme.
    -
    registerBroadcastListener(String, BroadcastListener) - Method in class org.glassfish.tyrus.core.cluster.ClusterContext
    +
    registerBroadcastListener(String, BroadcastListener) - Method in class org.glassfish.tyrus.core.cluster.ClusterContext
    Register broadcast listener.
    -
    registerSession(String, String, SessionEventListener) - Method in class org.glassfish.tyrus.core.cluster.ClusterContext
    +
    registerSession(String, String, SessionEventListener) - Method in class org.glassfish.tyrus.core.cluster.ClusterContext
    Register local session.
    -
    registerSessionListener(String, SessionListener) - Method in class org.glassfish.tyrus.core.cluster.ClusterContext
    +
    registerSessionListener(String, SessionListener) - Method in class org.glassfish.tyrus.core.cluster.ClusterContext
    Register session listener.
    -
    relativize(URI, URI) - Static method in class org.glassfish.tyrus.core.uri.internal.UriTemplate
    +
    relativize(URI, URI) - Static method in class org.glassfish.tyrus.core.uri.internal.UriTemplate
    Relativize URI with respect to a base URI.
    -
    remoteAddr(String) - Method in class org.glassfish.tyrus.core.RequestContext.Builder
    +
    remoteAddr(String) - Method in class org.glassfish.tyrus.core.RequestContext.Builder
    Set remote address.
    @@ -4608,36 +4969,44 @@
    Remote session represents session originating from another node.
    -
    RemoteSession(String, ClusterContext, Map<RemoteSession.DistributedMapKey, Object>, TyrusEndpointWrapper, Session) - Constructor for class org.glassfish.tyrus.core.cluster.RemoteSession
    +
    RemoteSession(String, ClusterContext, Map<RemoteSession.DistributedMapKey, Object>, TyrusEndpointWrapper, Session) - Constructor for class org.glassfish.tyrus.core.cluster.RemoteSession
    Constructor.
    RemoteSession.DistributedMapKey - Enum in org.glassfish.tyrus.core.cluster
     
    -
    remove(Object) - Method in class org.glassfish.tyrus.core.uri.internal.AbstractMultivaluedMap
    +
    remove(Object) - Method in class org.glassfish.tyrus.core.uri.internal.AbstractMultivaluedMap
     
    -
    removeMessageHandler(MessageHandler) - Method in interface javax.websocket.Session
    +
    removeMessageHandler(MessageHandler) - Method in interface javax.websocket.Session
    Remove the given MessageHandler from the set belonging to this session.
    -
    removeMessageHandler(MessageHandler) - Method in class org.glassfish.tyrus.core.cluster.RemoteSession
    +
    removeMessageHandler(MessageHandler) - Method in class org.glassfish.tyrus.core.cluster.RemoteSession
    This method is not supported on RemoteSession.
    -
    removeMessageHandler(MessageHandler) - Method in class org.glassfish.tyrus.core.MessageHandlerManager
    +
    removeMessageHandler(MessageHandler) - Method in class org.glassfish.tyrus.core.MessageHandlerManager
    Remove MessageHandler from the manager.
    -
    removeMessageHandler(MessageHandler) - Method in class org.glassfish.tyrus.core.TyrusSession
    +
    removeMessageHandler(MessageHandler) - Method in class org.glassfish.tyrus.core.TyrusSession
     
    -
    removeSession(String, String) - Method in class org.glassfish.tyrus.core.cluster.ClusterContext
    +
    removeSession(String, String) - Method in class org.glassfish.tyrus.core.cluster.ClusterContext
    Remove session from this Cluster context.
    -
    removeSession(Session) - Method in class org.glassfish.tyrus.core.ComponentProviderService
    +
    removeSession(Session) - Method in class org.glassfish.tyrus.core.ComponentProviderService
    Remove Session from cache.
    +
    REQUEST_PARAMETER_MAP - org.glassfish.tyrus.core.cluster.RemoteSession.DistributedMapKey
    +
    +
    Request Parameter map.
    +
    +
    REQUEST_URI - org.glassfish.tyrus.core.cluster.RemoteSession.DistributedMapKey
    +
    +
    Request URI.
    +
    RequestContext - Class in org.glassfish.tyrus.core
    Implementation of all possible request interfaces.
    @@ -4650,39 +5019,47 @@
    Is user in role delegate.
    -
    requestURI(URI) - Method in class org.glassfish.tyrus.core.RequestContext.Builder
    +
    requestURI(URI) - Method in class org.glassfish.tyrus.core.RequestContext.Builder
    Set request URI.
    -
    resolve(URI, String) - Static method in class org.glassfish.tyrus.core.uri.internal.UriTemplate
    +
    RESERVED - javax.websocket.CloseReason.CloseCodes
    +
    +
    Reserved.
    +
    +
    RESERVED - org.glassfish.tyrus.core.CloseReasons
    +
    +
    Reserved.
    +
    +
    resolve(URI, String) - Static method in class org.glassfish.tyrus.core.uri.internal.UriTemplate
    Resolve a relative URI reference against a base URI as defined in RFC 3986.
    -
    resolve(URI, URI) - Static method in class org.glassfish.tyrus.core.uri.internal.UriTemplate
    +
    resolve(URI, URI) - Static method in class org.glassfish.tyrus.core.uri.internal.UriTemplate
    Resolve a relative URI reference against a base URI as defined in RFC 3986.
    -
    resolveTemplateValues(UriComponent.Type, String, boolean, Map<String, ?>) - Static method in class org.glassfish.tyrus.core.uri.internal.UriTemplate
    +
    resolveTemplateValues(UriComponent.Type, String, boolean, Map<String, ?>) - Static method in class org.glassfish.tyrus.core.uri.internal.UriTemplate
    Resolves template variables in the given template from _mapValues.
    -
    resolveTypeVariable(Class, Class, TypeVariable) - Static method in class org.glassfish.tyrus.core.ReflectionHelper
    +
    resolveTypeVariable(Class, Class, TypeVariable) - Static method in class org.glassfish.tyrus.core.ReflectionHelper
    Given a type variable resolve the Java class of that variable.
    -
    respond(TyrusWebSocket) - Method in class org.glassfish.tyrus.core.frame.BinaryFrame
    +
    respond(TyrusWebSocket) - Method in class org.glassfish.tyrus.core.frame.BinaryFrame
     
    -
    respond(TyrusWebSocket) - Method in class org.glassfish.tyrus.core.frame.CloseFrame
    +
    respond(TyrusWebSocket) - Method in class org.glassfish.tyrus.core.frame.CloseFrame
     
    -
    respond(TyrusWebSocket) - Method in class org.glassfish.tyrus.core.frame.PingFrame
    +
    respond(TyrusWebSocket) - Method in class org.glassfish.tyrus.core.frame.PingFrame
     
    -
    respond(TyrusWebSocket) - Method in class org.glassfish.tyrus.core.frame.PongFrame
    +
    respond(TyrusWebSocket) - Method in class org.glassfish.tyrus.core.frame.PongFrame
     
    -
    respond(TyrusWebSocket) - Method in class org.glassfish.tyrus.core.frame.TextFrame
    +
    respond(TyrusWebSocket) - Method in class org.glassfish.tyrus.core.frame.TextFrame
     
    -
    respond(TyrusWebSocket) - Method in class org.glassfish.tyrus.core.frame.TyrusFrame
    +
    respond(TyrusWebSocket) - Method in class org.glassfish.tyrus.core.frame.TyrusFrame
    Execution part of frame processing.
    @@ -4690,7 +5067,7 @@
    HTTP reason phrase for successful handshake response.
    -
    retrieve(Properties) - Method in class org.glassfish.tyrus.client.SslContextConfigurator
    +
    retrieve(Properties) - Method in class org.glassfish.tyrus.client.SslContextConfigurator
    Retrieve settings from (system) properties.
    @@ -4700,48 +5077,52 @@
    RETRY_AFTER_SERVICE_UNAVAILABLE - Static variable in class org.glassfish.tyrus.client.ClientProperties
    -
    HTTP Service Unavailable - reconnect support.
    +
    HTTP Service Unavailable - "Retry-After" reconnect support.
    RetryAfterException - Exception in org.glassfish.tyrus.client
    This exception is set as a cause of DeploymentException thrown from WebSocketContainer.connectToServer(...) when HTTP response status code 503 - Service Unavailable is received.
    -
    RetryAfterException(String, Long) - Constructor for exception org.glassfish.tyrus.client.RetryAfterException
    +
    RetryAfterException(String, Long) - Constructor for exception org.glassfish.tyrus.client.RetryAfterException
    Constructor.
    -
    rsv1(boolean) - Method in class org.glassfish.tyrus.core.frame.Frame.Builder
    +
    RSV_INCORRECTLY_SET() - Static method in class org.glassfish.tyrus.core.l10n.LocalizationMessages
    +
    +
    RSV bit(s) incorrectly set.
    +
    +
    rsv1(boolean) - Method in class org.glassfish.tyrus.core.frame.Frame.Builder
    Set RSV1 flag.
    -
    rsv2(boolean) - Method in class org.glassfish.tyrus.core.frame.Frame.Builder
    +
    rsv2(boolean) - Method in class org.glassfish.tyrus.core.frame.Frame.Builder
    Set RSV2 flag.
    -
    rsv3(boolean) - Method in class org.glassfish.tyrus.core.frame.Frame.Builder
    +
    rsv3(boolean) - Method in class org.glassfish.tyrus.core.frame.Frame.Builder
    Set RSV3 flag.
    -
    RSV_INCORRECTLY_SET() - Static method in class org.glassfish.tyrus.core.l10n.LocalizationMessages
    -
    -
    RSV bit(s) incorrectly set.
    -
    - +

    S

    -
    SEC_KEY_INVALID_LENGTH(Object) - Static method in class org.glassfish.tyrus.core.l10n.LocalizationMessages
    +
    SCHEME - org.glassfish.tyrus.core.uri.internal.UriComponent.Type
    +
    +
    The URI scheme component type.
    +
    +
    SEC_KEY_INVALID_LENGTH(Object) - Static method in class org.glassfish.tyrus.core.l10n.LocalizationMessages
    Invalid Sec-WebSocket-Key length.
    -
    SEC_KEY_INVALID_SERVER() - Static method in class org.glassfish.tyrus.core.l10n.LocalizationMessages
    +
    SEC_KEY_INVALID_SERVER() - Static method in class org.glassfish.tyrus.core.l10n.LocalizationMessages
    Sec-WebSocket-Key returned from server does not match expected response.
    -
    SEC_KEY_NULL_NOT_ALLOWED() - Static method in class org.glassfish.tyrus.core.l10n.LocalizationMessages
    +
    SEC_KEY_NULL_NOT_ALLOWED() - Static method in class org.glassfish.tyrus.core.l10n.LocalizationMessages
    Null Sec-WebSocket-Key is not allowed.
    @@ -4769,163 +5150,167 @@
    WebSocket origin header name from previous versions.
    -
    secure(boolean) - Method in class org.glassfish.tyrus.core.RequestContext.Builder
    +
    secure(boolean) - Method in class org.glassfish.tyrus.core.RequestContext.Builder
    Set secure state.
    +
    SECURE - org.glassfish.tyrus.core.cluster.RemoteSession.DistributedMapKey
    +
    +
    Secure flag.
    +
    SELECTOR_THREAD_POOL_CONFIG - Static variable in class org.glassfish.tyrus.container.grizzly.client.GrizzlyClientProperties
    Client-side property to set custom selector ThreadPoolConfig.
    SELECTOR_THREAD_POOL_CONFIG - Static variable in class org.glassfish.tyrus.container.grizzly.client.GrizzlyClientSocket
    -
    SELECTOR_THREAD_POOL_CONFIG - Static variable in class org.glassfish.tyrus.container.grizzly.server.GrizzlyServerContainer
    Server-side property to set custom selector ThreadPoolConfig.
    -
    send(byte[]) - Method in class org.glassfish.tyrus.core.ProtocolHandler
    +
    send(byte[]) - Method in class org.glassfish.tyrus.core.ProtocolHandler
    -
    Deprecated.
    +
    Deprecated.
    -
    send(byte[], WriterInfo) - Method in class org.glassfish.tyrus.core.ProtocolHandler
    -
     
    -
    send(byte[], SendHandler) - Method in class org.glassfish.tyrus.core.ProtocolHandler
    +
    send(byte[], SendHandler) - Method in class org.glassfish.tyrus.core.ProtocolHandler
    -
    Deprecated.
    +
    Deprecated.
    -
    send(byte[], SendHandler, WriterInfo) - Method in class org.glassfish.tyrus.core.ProtocolHandler
    +
    send(byte[], SendHandler, WriterInfo) - Method in class org.glassfish.tyrus.core.ProtocolHandler
     
    -
    send(String) - Method in class org.glassfish.tyrus.core.ProtocolHandler
    +
    send(byte[], WriterInfo) - Method in class org.glassfish.tyrus.core.ProtocolHandler
    +
     
    +
    send(String) - Method in class org.glassfish.tyrus.core.ProtocolHandler
    -
    Deprecated.
    +
    Deprecated.
    -
    send(String, WriterInfo) - Method in class org.glassfish.tyrus.core.ProtocolHandler
    -
     
    -
    send(String, SendHandler) - Method in class org.glassfish.tyrus.core.ProtocolHandler
    +
    send(String, SendHandler) - Method in class org.glassfish.tyrus.core.ProtocolHandler
    -
    Deprecated.
    +
    Deprecated.
    -
    send(String, SendHandler, WriterInfo) - Method in class org.glassfish.tyrus.core.ProtocolHandler
    +
    send(String, SendHandler, WriterInfo) - Method in class org.glassfish.tyrus.core.ProtocolHandler
     
    -
    SEND_MESSAGE_INFRAGMENT() - Static method in class org.glassfish.tyrus.core.l10n.LocalizationMessages
    +
    send(String, WriterInfo) - Method in class org.glassfish.tyrus.core.ProtocolHandler
    +
     
    +
    SEND_MESSAGE_INFRAGMENT() - Static method in class org.glassfish.tyrus.core.l10n.LocalizationMessages
    Attempting to send a message while sending fragments of another.
    -
    sendBinary(ByteBuffer) - Method in interface javax.websocket.RemoteEndpoint.Async
    +
    sendBinary(byte[]) - Method in class org.glassfish.tyrus.core.TyrusWebSocket
    -
    Initiates the asynchronous transmission of a binary message.
    +
    Deprecated.
    -
    sendBinary(ByteBuffer, SendHandler) - Method in interface javax.websocket.RemoteEndpoint.Async
    +
    sendBinary(byte[], boolean) - Method in class org.glassfish.tyrus.core.TyrusWebSocket
    -
    Initiates the asynchronous transmission of a binary message.
    +
    Deprecated.
    -
    sendBinary(ByteBuffer) - Method in interface javax.websocket.RemoteEndpoint.Basic
    +
    sendBinary(byte[], boolean, WriterInfo) - Method in class org.glassfish.tyrus.core.TyrusWebSocket
    -
    Send a binary message, returning when all of the message has been transmitted.
    +
    Sends a fragment of a complete message.
    -
    sendBinary(ByteBuffer, boolean) - Method in interface javax.websocket.RemoteEndpoint.Basic
    +
    sendBinary(byte[], int, int, boolean) - Method in class org.glassfish.tyrus.core.TyrusWebSocket
    -
    Send a binary message in parts, blocking until all of the message has been transmitted.
    +
    Deprecated.
    -
    sendBinary(String, byte[]) - Method in class org.glassfish.tyrus.core.cluster.ClusterContext
    +
    sendBinary(byte[], int, int, boolean, WriterInfo) - Method in class org.glassfish.tyrus.core.TyrusWebSocket
    -
    Send binary message.
    +
    Sends a fragment of a complete message.
    -
    sendBinary(String, byte[], boolean) - Method in class org.glassfish.tyrus.core.cluster.ClusterContext
    +
    sendBinary(byte[], SendHandler) - Method in class org.glassfish.tyrus.core.TyrusWebSocket
    -
    Send partial binary message.
    +
    Deprecated.
    -
    sendBinary(String, byte[], SendHandler) - Method in class org.glassfish.tyrus.core.cluster.ClusterContext
    +
    sendBinary(byte[], SendHandler, WriterInfo) - Method in class org.glassfish.tyrus.core.TyrusWebSocket
    -
    Send binary message with SendHandler.
    +
    Send a binary frame to the remote endpoint.
    -
    sendBinary(byte[]) - Method in class org.glassfish.tyrus.core.TyrusWebSocket
    +
    sendBinary(byte[], WriterInfo) - Method in class org.glassfish.tyrus.core.TyrusWebSocket
    -
    Deprecated.
    +
    Send a binary frame to the remote endpoint.
    -
    sendBinary(byte[], WriterInfo) - Method in class org.glassfish.tyrus.core.TyrusWebSocket
    +
    sendBinary(String, byte[]) - Method in class org.glassfish.tyrus.core.cluster.ClusterContext
    -
    Send a binary frame to the remote endpoint.
    +
    Send binary message.
    -
    sendBinary(byte[], SendHandler) - Method in class org.glassfish.tyrus.core.TyrusWebSocket
    +
    sendBinary(String, byte[], boolean) - Method in class org.glassfish.tyrus.core.cluster.ClusterContext
    -
    Deprecated.
    +
    Send partial binary message.
    -
    sendBinary(byte[], SendHandler, WriterInfo) - Method in class org.glassfish.tyrus.core.TyrusWebSocket
    +
    sendBinary(String, byte[], SendHandler) - Method in class org.glassfish.tyrus.core.cluster.ClusterContext
    -
    Send a binary frame to the remote endpoint.
    +
    Send binary message with SendHandler.
    -
    sendBinary(byte[], boolean) - Method in class org.glassfish.tyrus.core.TyrusWebSocket
    +
    sendBinary(ByteBuffer) - Method in interface javax.websocket.RemoteEndpoint.Async
    -
    Deprecated.
    +
    Initiates the asynchronous transmission of a binary message.
    -
    sendBinary(byte[], boolean, WriterInfo) - Method in class org.glassfish.tyrus.core.TyrusWebSocket
    +
    sendBinary(ByteBuffer) - Method in interface javax.websocket.RemoteEndpoint.Basic
    -
    Sends a fragment of a complete message.
    +
    Send a binary message, returning when all of the message has been transmitted.
    -
    sendBinary(byte[], int, int, boolean) - Method in class org.glassfish.tyrus.core.TyrusWebSocket
    +
    sendBinary(ByteBuffer, boolean) - Method in interface javax.websocket.RemoteEndpoint.Basic
    -
    Deprecated.
    +
    Send a binary message in parts, blocking until all of the message has been transmitted.
    -
    sendBinary(byte[], int, int, boolean, WriterInfo) - Method in class org.glassfish.tyrus.core.TyrusWebSocket
    +
    sendBinary(ByteBuffer, SendHandler) - Method in interface javax.websocket.RemoteEndpoint.Async
    -
    Sends a fragment of a complete message.
    +
    Initiates the asynchronous transmission of a binary message.
    SendHandler - Interface in javax.websocket
    A simple callback object for asynchronous sending of web socket messages.
    -
    sendObject(Object) - Method in interface javax.websocket.RemoteEndpoint.Async
    +
    sendObject(Object) - Method in interface javax.websocket.RemoteEndpoint.Async
    Initiates the asynchronous transmission of a custom developer object.
    -
    sendObject(Object, SendHandler) - Method in interface javax.websocket.RemoteEndpoint.Async
    +
    sendObject(Object) - Method in interface javax.websocket.RemoteEndpoint.Basic
    -
    Initiates the asynchronous transmission of a custom developer object.
    +
    Sends a custom developer object, blocking until it has been transmitted.
    -
    sendObject(Object) - Method in interface javax.websocket.RemoteEndpoint.Basic
    +
    sendObject(Object, SendHandler) - Method in interface javax.websocket.RemoteEndpoint.Async
    -
    Sends a custom developer object, blocking until it has been transmitted.
    +
    Initiates the asynchronous transmission of a custom developer object.
    -
    sendPing(ByteBuffer) - Method in interface javax.websocket.RemoteEndpoint
    +
    sendPing(byte[]) - Method in class org.glassfish.tyrus.core.TyrusWebSocket
    -
    Send a Ping message containing the given application data to the remote endpoint.
    +
    Sends a ping frame with the specified payload (if any).
    -
    sendPing(String, byte[]) - Method in class org.glassfish.tyrus.core.cluster.ClusterContext
    +
    sendPing(String, byte[]) - Method in class org.glassfish.tyrus.core.cluster.ClusterContext
    Send ping message.
    -
    sendPing(ByteBuffer) - Method in class org.glassfish.tyrus.core.TyrusRemoteEndpoint
    +
    sendPing(ByteBuffer) - Method in interface javax.websocket.RemoteEndpoint
    +
    +
    Send a Ping message containing the given application data to the remote endpoint.
    +
    +
    sendPing(ByteBuffer) - Method in class org.glassfish.tyrus.core.TyrusRemoteEndpoint
     
    -
    sendPing(byte[]) - Method in class org.glassfish.tyrus.core.TyrusWebSocket
    +
    sendPong(byte[]) - Method in class org.glassfish.tyrus.core.TyrusWebSocket
    Sends a ping frame with the specified payload (if any).
    -
    sendPong(ByteBuffer) - Method in interface javax.websocket.RemoteEndpoint
    +
    sendPong(String, byte[]) - Method in class org.glassfish.tyrus.core.cluster.ClusterContext
    +
    +
    Send pong message.
    +
    +
    sendPong(ByteBuffer) - Method in interface javax.websocket.RemoteEndpoint
    Allows the developer to send an unsolicited Pong message containing the given application data in order to serve as a unidirectional heartbeat for the session.
    -
    sendPong(String, byte[]) - Method in class org.glassfish.tyrus.core.cluster.ClusterContext
    -
    -
    Send pong message.
    -
    -
    sendPong(ByteBuffer) - Method in class org.glassfish.tyrus.core.TyrusRemoteEndpoint
    +
    sendPong(ByteBuffer) - Method in class org.glassfish.tyrus.core.TyrusRemoteEndpoint
     
    -
    sendPong(byte[]) - Method in class org.glassfish.tyrus.core.TyrusWebSocket
    -
    -
    Sends a ping frame with the specified payload (if any).
    -
    -
    sendRawFrame(ByteBuffer) - Method in class org.glassfish.tyrus.core.ProtocolHandler
    +
    sendRawFrame(ByteBuffer) - Method in class org.glassfish.tyrus.core.ProtocolHandler
    Raw frame is always whole (not partial).
    -
    sendRawFrame(ByteBuffer) - Method in class org.glassfish.tyrus.core.TyrusWebSocket
    +
    sendRawFrame(ByteBuffer) - Method in class org.glassfish.tyrus.core.TyrusWebSocket
    Send a frame to the remote endpoint.
    @@ -4933,85 +5318,85 @@
    The result of asynchronously sending a web socket message.
    -
    SendResult(Throwable) - Constructor for class javax.websocket.SendResult
    -
    -
    Construct a SendResult carrying an exception.
    -
    -
    SendResult() - Constructor for class javax.websocket.SendResult
    +
    SendResult() - Constructor for class javax.websocket.SendResult
    Construct a SendResult signifying a successful send carrying no exception.
    -
    sendText(String, SendHandler) - Method in interface javax.websocket.RemoteEndpoint.Async
    +
    SendResult(Throwable) - Constructor for class javax.websocket.SendResult
    -
    Initiates the asynchronous transmission of a text message.
    +
    Construct a SendResult carrying an exception.
    -
    sendText(String) - Method in interface javax.websocket.RemoteEndpoint.Async
    +
    sendText(String) - Method in interface javax.websocket.RemoteEndpoint.Async
    Initiates the asynchronous transmission of a text message.
    -
    sendText(String) - Method in interface javax.websocket.RemoteEndpoint.Basic
    +
    sendText(String) - Method in interface javax.websocket.RemoteEndpoint.Basic
    Send a text message, blocking until all of the message has been transmitted.
    -
    sendText(String, boolean) - Method in interface javax.websocket.RemoteEndpoint.Basic
    +
    sendText(String) - Method in class org.glassfish.tyrus.core.TyrusWebSocket
    +
    +
    Deprecated.
    +
    +
    sendText(String, boolean) - Method in interface javax.websocket.RemoteEndpoint.Basic
    Send a text message in parts, blocking until all of the message has been transmitted.
    -
    sendText(String, String) - Method in class org.glassfish.tyrus.core.cluster.ClusterContext
    +
    sendText(String, boolean) - Method in class org.glassfish.tyrus.core.TyrusWebSocket
    -
    Send text message.
    +
    Deprecated.
    -
    sendText(String, String, boolean) - Method in class org.glassfish.tyrus.core.cluster.ClusterContext
    +
    sendText(String, boolean, WriterInfo) - Method in class org.glassfish.tyrus.core.TyrusWebSocket
    -
    Send partial text message.
    +
    Sends a fragment of a complete message.
    -
    sendText(String, String, SendHandler) - Method in class org.glassfish.tyrus.core.cluster.ClusterContext
    +
    sendText(String, String) - Method in class org.glassfish.tyrus.core.cluster.ClusterContext
    -
    Send text message with SendHandler.
    +
    Send text message.
    -
    sendText(String) - Method in class org.glassfish.tyrus.core.TyrusWebSocket
    +
    sendText(String, String, boolean) - Method in class org.glassfish.tyrus.core.cluster.ClusterContext
    -
    Deprecated.
    +
    Send partial text message.
    -
    sendText(String, WriterInfo) - Method in class org.glassfish.tyrus.core.TyrusWebSocket
    +
    sendText(String, String, SendHandler) - Method in class org.glassfish.tyrus.core.cluster.ClusterContext
    -
    Send a text frame to the remote endpoint.
    +
    Send text message with SendHandler.
    -
    sendText(String, SendHandler) - Method in class org.glassfish.tyrus.core.TyrusWebSocket
    +
    sendText(String, SendHandler) - Method in interface javax.websocket.RemoteEndpoint.Async
    -
    Deprecated.
    +
    Initiates the asynchronous transmission of a text message.
    -
    sendText(String, SendHandler, WriterInfo) - Method in class org.glassfish.tyrus.core.TyrusWebSocket
    +
    sendText(String, SendHandler) - Method in class org.glassfish.tyrus.core.TyrusWebSocket
    -
    Send a text frame to the remote endpoint.
    +
    Deprecated.
    -
    sendText(String, boolean) - Method in class org.glassfish.tyrus.core.TyrusWebSocket
    +
    sendText(String, SendHandler, WriterInfo) - Method in class org.glassfish.tyrus.core.TyrusWebSocket
    -
    Deprecated.
    +
    Send a text frame to the remote endpoint.
    -
    sendText(String, boolean, WriterInfo) - Method in class org.glassfish.tyrus.core.TyrusWebSocket
    +
    sendText(String, WriterInfo) - Method in class org.glassfish.tyrus.core.TyrusWebSocket
    -
    Sends a fragment of a complete message.
    +
    Send a text frame to the remote endpoint.
    Server - Class in org.glassfish.tyrus.server
    Implementation of the WebSocket Server.
    -
    Server(Class<?>...) - Constructor for class org.glassfish.tyrus.server.Server
    +
    Server(Class<?>...) - Constructor for class org.glassfish.tyrus.server.Server
    Create new server instance.
    -
    Server(Map<String, Object>, Class<?>...) - Constructor for class org.glassfish.tyrus.server.Server
    +
    Server(String, int, String, Map<String, Object>, Class<?>...) - Constructor for class org.glassfish.tyrus.server.Server
    -
    Create new server instance.
    +
    Construct new server.
    -
    Server(String, int, String, Map<String, Object>, Class<?>...) - Constructor for class org.glassfish.tyrus.server.Server
    +
    Server(String, int, String, Map<String, Object>, Set<Class<?>>) - Constructor for class org.glassfish.tyrus.server.Server
    Construct new server.
    -
    Server(String, int, String, Map<String, Object>, Set<Class<?>>) - Constructor for class org.glassfish.tyrus.server.Server
    +
    Server(Map<String, Object>, Class<?>...) - Constructor for class org.glassfish.tyrus.server.Server
    -
    Construct new server.
    +
    Create new server instance.
    SERVER_KEY_HASH - Static variable in class org.glassfish.tyrus.spi.UpgradeRequest
    @@ -5036,7 +5421,7 @@
    Factory used to get instances of ServerContainer.
    -
    ServerContainerFactory() - Constructor for class org.glassfish.tyrus.spi.ServerContainerFactory
    +
    ServerContainerFactory() - Constructor for class org.glassfish.tyrus.spi.ServerContainerFactory
     
    ServerEndpoint - Annotation Type in javax.websocket.server
    @@ -5062,15 +5447,23 @@ providing arbitrary methods and algorithms that can be accessed from each endpoint instance configured with this configurator.
    +
    SERVICE_RESTART - javax.websocket.CloseReason.CloseCodes
    +
    +
    1012 indicates that the service will be restarted.
    +
    +
    SERVICE_RESTART - org.glassfish.tyrus.core.CloseReasons
    +
    +
    1012 indicates that the service will be restarted.
    +
    ServiceConfigurationError - Error in org.glassfish.tyrus.core
    Taken from Jersey 2.
    -
    ServiceConfigurationError(String) - Constructor for error org.glassfish.tyrus.core.ServiceConfigurationError
    +
    ServiceConfigurationError(String) - Constructor for error org.glassfish.tyrus.core.ServiceConfigurationError
    Constructs a new instance with the specified detail string.
    -
    ServiceConfigurationError(Throwable) - Constructor for error org.glassfish.tyrus.core.ServiceConfigurationError
    +
    ServiceConfigurationError(Throwable) - Constructor for error org.glassfish.tyrus.core.ServiceConfigurationError
    Constructs a new instance that wraps the specified throwable.
    @@ -5087,17 +5480,21 @@
    Supports iteration of provider instances or classes.
    -
    ServiceIteratorProvider() - Constructor for class org.glassfish.tyrus.core.ServiceFinder.ServiceIteratorProvider
    +
    ServiceIteratorProvider() - Constructor for class org.glassfish.tyrus.core.ServiceFinder.ServiceIteratorProvider
     
    Session - Interface in javax.websocket
    A Web Socket session represents a conversation between two web socket endpoints.
    -
    SESSION_CLOSED_IDLE_TIMEOUT() - Static method in class org.glassfish.tyrus.core.l10n.LocalizationMessages
    +
    SESSION_ALLOWED - org.glassfish.tyrus.core.TyrusEndpointWrapper.SessionListener.OnOpenResult
    +
    +
    Session can be opened.
    +
    +
    SESSION_CLOSED_IDLE_TIMEOUT() - Static method in class org.glassfish.tyrus.core.l10n.LocalizationMessages
    "Session closed by the container because of the idle timeout."
    -
    sessionDestroyed() - Method in class org.glassfish.tyrus.servlet.TyrusHttpUpgradeHandler
    +
    sessionDestroyed() - Method in class org.glassfish.tyrus.servlet.TyrusHttpUpgradeHandler
    Called when related HttpSession is destroyed or invalidated.
    @@ -5105,7 +5502,7 @@
    Session event listener.
    -
    SessionEventListener(Session) - Constructor for class org.glassfish.tyrus.core.cluster.SessionEventListener
    +
    SessionEventListener(Session) - Constructor for class org.glassfish.tyrus.core.cluster.SessionEventListener
    Constructor.
    @@ -5114,7 +5511,7 @@
    A SessionException represents a general exception type reporting problems occurring on a websocket session.
    -
    SessionException(String, Throwable, Session) - Constructor for exception javax.websocket.SessionException
    +
    SessionException(String, Throwable, Session) - Constructor for exception javax.websocket.SessionException
    Creates a new instance of this exception with the given message, the wrapped cause of the exception and the session with which @@ -5124,317 +5521,317 @@
    Session listener.
    -
    SessionListener() - Constructor for class org.glassfish.tyrus.core.TyrusEndpointWrapper.SessionListener
    +
    SessionListener() - Constructor for class org.glassfish.tyrus.core.TyrusEndpointWrapper.SessionListener
     
    -
    setAccessibleMethod(Method) - Static method in class org.glassfish.tyrus.core.ReflectionHelper
    +
    setAccessibleMethod(Method) - Static method in class org.glassfish.tyrus.core.ReflectionHelper
    Set a method to be accessible.
    -
    setAsyncSendTimeout(long) - Method in interface javax.websocket.WebSocketContainer
    +
    setAsyncSendTimeout(long) - Method in interface javax.websocket.WebSocketContainer
    Sets the number of milliseconds the implementation will timeout attempting to send a websocket message for all RemoteEndpoints associated with this container.
    -
    setAsyncSendTimeout(long) - Method in class org.glassfish.tyrus.client.ClientManager
    +
    setAsyncSendTimeout(long) - Method in class org.glassfish.tyrus.client.ClientManager
     
    -
    setAsyncSendTimeout(long) - Method in class org.glassfish.tyrus.server.TyrusServerContainer
    +
    setAsyncSendTimeout(long) - Method in class org.glassfish.tyrus.server.TyrusServerContainer
     
    -
    setBatchingAllowed(boolean) - Method in interface javax.websocket.RemoteEndpoint
    +
    setBatchingAllowed(boolean) - Method in interface javax.websocket.RemoteEndpoint
    Indicate to the implementation that it is allowed to batch outgoing messages before sending.
    -
    setBatchingAllowed(boolean) - Method in class org.glassfish.tyrus.core.TyrusRemoteEndpoint
    +
    setBatchingAllowed(boolean) - Method in class org.glassfish.tyrus.core.TyrusRemoteEndpoint
     
    -
    setCipherConfigured(boolean) - Method in class org.glassfish.tyrus.client.SslEngineConfigurator
    +
    setCipherConfigured(boolean) - Method in class org.glassfish.tyrus.client.SslEngineConfigurator
     
    -
    setClientMode(boolean) - Method in class org.glassfish.tyrus.client.SslEngineConfigurator
    +
    setClientMode(boolean) - Method in class org.glassfish.tyrus.client.SslEngineConfigurator
    Set SSLEngine to be configured to work in client mode.
    -
    setCorePoolSize(int) - Method in class org.glassfish.tyrus.client.ThreadPoolConfig
    +
    setCorePoolSize(int) - Method in class org.glassfish.tyrus.client.ThreadPoolConfig
    Set the core thread pool size - the size of the thread pool will never bee smaller than this.
    -
    setDaemon(boolean) - Method in class org.glassfish.tyrus.client.ThreadPoolConfig
    +
    setDaemon(boolean) - Method in class org.glassfish.tyrus.client.ThreadPoolConfig
    Set true if thread pool threads are daemons.
    -
    setDefaultMaxBinaryMessageBufferSize(int) - Method in interface javax.websocket.WebSocketContainer
    +
    setDefaultMaxBinaryMessageBufferSize(int) - Method in interface javax.websocket.WebSocketContainer
    Sets the default maximum size of incoming binary message that this container will buffer.
    -
    setDefaultMaxBinaryMessageBufferSize(int) - Method in class org.glassfish.tyrus.client.ClientManager
    +
    setDefaultMaxBinaryMessageBufferSize(int) - Method in class org.glassfish.tyrus.client.ClientManager
     
    -
    setDefaultMaxBinaryMessageBufferSize(int) - Method in class org.glassfish.tyrus.server.TyrusServerContainer
    +
    setDefaultMaxBinaryMessageBufferSize(int) - Method in class org.glassfish.tyrus.server.TyrusServerContainer
     
    -
    setDefaultMaxSessionIdleTimeout(long) - Method in interface javax.websocket.WebSocketContainer
    +
    setDefaultMaxSessionIdleTimeout(long) - Method in interface javax.websocket.WebSocketContainer
    Sets the default time in milliseconds after which any web socket sessions in this container will be closed if it has been inactive.
    -
    setDefaultMaxSessionIdleTimeout(long) - Method in class org.glassfish.tyrus.client.ClientManager
    +
    setDefaultMaxSessionIdleTimeout(long) - Method in class org.glassfish.tyrus.client.ClientManager
     
    -
    setDefaultMaxSessionIdleTimeout(long) - Method in class org.glassfish.tyrus.server.TyrusServerContainer
    +
    setDefaultMaxSessionIdleTimeout(long) - Method in class org.glassfish.tyrus.server.TyrusServerContainer
     
    -
    setDefaultMaxTextMessageBufferSize(int) - Method in interface javax.websocket.WebSocketContainer
    +
    setDefaultMaxTextMessageBufferSize(int) - Method in interface javax.websocket.WebSocketContainer
    Sets the maximum size of incoming text message that this container will buffer.
    -
    setDefaultMaxTextMessageBufferSize(int) - Method in class org.glassfish.tyrus.client.ClientManager
    +
    setDefaultMaxTextMessageBufferSize(int) - Method in class org.glassfish.tyrus.client.ClientManager
     
    -
    setDefaultMaxTextMessageBufferSize(int) - Method in class org.glassfish.tyrus.server.TyrusServerContainer
    +
    setDefaultMaxTextMessageBufferSize(int) - Method in class org.glassfish.tyrus.server.TyrusServerContainer
     
    -
    setEnabledCipherSuites(String[]) - Method in class org.glassfish.tyrus.client.SslEngineConfigurator
    +
    setEnabledCipherSuites(String[]) - Method in class org.glassfish.tyrus.client.SslEngineConfigurator
    Set enabled cipher suites.
    -
    setEnabledProtocols(String[]) - Method in class org.glassfish.tyrus.client.SslEngineConfigurator
    +
    setEnabledProtocols(String[]) - Method in class org.glassfish.tyrus.client.SslEngineConfigurator
    Set enabled protocols.
    -
    setExtensionContext(ExtendedExtension.ExtensionContext) - Method in class org.glassfish.tyrus.core.ProtocolHandler
    +
    setExtensionContext(ExtendedExtension.ExtensionContext) - Method in class org.glassfish.tyrus.core.ProtocolHandler
    Client side.
    -
    setExtensions(List<Extension>) - Method in class org.glassfish.tyrus.core.Handshake
    +
    setExtensions(List<Extension>) - Method in class org.glassfish.tyrus.core.Handshake
    Client side only - set the list of supported extensions.
    -
    setExtensions(List<Extension>) - Method in class org.glassfish.tyrus.core.ProtocolHandler
    +
    setExtensions(List<Extension>) - Method in class org.glassfish.tyrus.core.ProtocolHandler
    Client side.
    -
    setFailure(Throwable) - Method in class org.glassfish.tyrus.core.TyrusFuture
    +
    setFailure(Throwable) - Method in class org.glassfish.tyrus.core.TyrusFuture
    Sets the failure result of message writing process.
    -
    setHeartbeatInterval(long) - Method in class org.glassfish.tyrus.core.TyrusSession
    +
    setHeartbeatInterval(long) - Method in class org.glassfish.tyrus.core.TyrusSession
    Set an interval in milliseconds between scheduled periodic Pong messages.
    -
    setHostnameVerifier(HostnameVerifier) - Method in class org.glassfish.tyrus.client.SslEngineConfigurator
    +
    setHostnameVerifier(HostnameVerifier) - Method in class org.glassfish.tyrus.client.SslEngineConfigurator
    Set custom hostname verifier.
    -
    setHostVerificationEnabled(boolean) - Method in class org.glassfish.tyrus.client.SslEngineConfigurator
    +
    setHostVerificationEnabled(boolean) - Method in class org.glassfish.tyrus.client.SslEngineConfigurator
    Set hostname verification.
    -
    setId(String) - Method in class org.glassfish.tyrus.core.wsadl.model.Endpoint
    +
    setId(String) - Method in class org.glassfish.tyrus.core.wsadl.model.Endpoint
    Sets the value of the id property.
    -
    setIncomingBufferSize(int) - Method in class org.glassfish.tyrus.core.TyrusWebSocketEngine
    +
    setIncomingBufferSize(int) - Method in class org.glassfish.tyrus.core.TyrusWebSocketEngine
    -
    -
    setIncomingBufferSize(int) - Method in class org.glassfish.tyrus.servlet.TyrusHttpUpgradeHandler
    +
    setIncomingBufferSize(int) - Method in class org.glassfish.tyrus.servlet.TyrusHttpUpgradeHandler
     
    -
    setInitialClassLoader(ClassLoader) - Method in class org.glassfish.tyrus.client.ThreadPoolConfig
    +
    setInitialClassLoader(ClassLoader) - Method in class org.glassfish.tyrus.client.ThreadPoolConfig
    Specifies the context class loader that will be used by threads in this pool.
    -
    setIteratorProvider(ServiceFinder.ServiceIteratorProvider) - Static method in class org.glassfish.tyrus.core.ServiceFinder
    +
    setIteratorProvider(ServiceFinder.ServiceIteratorProvider) - Static method in class org.glassfish.tyrus.core.ServiceFinder
    Register the service iterator provider to iterate on provider instances or classes.
    -
    setKeepAliveTime(long, TimeUnit) - Method in class org.glassfish.tyrus.client.ThreadPoolConfig
    +
    setKeepAliveTime(long, TimeUnit) - Method in class org.glassfish.tyrus.client.ThreadPoolConfig
    The max period of time a thread will wait for a new task to process.
    -
    setKeyManagerFactoryAlgorithm(String) - Method in class org.glassfish.tyrus.client.SslContextConfigurator
    +
    setKeyManagerFactoryAlgorithm(String) - Method in class org.glassfish.tyrus.client.SslContextConfigurator
    Sets the key manager factory algorithm.
    -
    setKeyPassword(String) - Method in class org.glassfish.tyrus.client.SslContextConfigurator
    +
    setKeyPassword(char[]) - Method in class org.glassfish.tyrus.client.SslContextConfigurator
    Password of the key in the key store.
    -
    setKeyPassword(char[]) - Method in class org.glassfish.tyrus.client.SslContextConfigurator
    +
    setKeyPassword(String) - Method in class org.glassfish.tyrus.client.SslContextConfigurator
    Password of the key in the key store.
    -
    setKeyStoreBytes(byte[]) - Method in class org.glassfish.tyrus.client.SslContextConfigurator
    +
    setKeyStoreBytes(byte[]) - Method in class org.glassfish.tyrus.client.SslContextConfigurator
    Sets key store payload as byte array.
    -
    setKeyStoreFile(String) - Method in class org.glassfish.tyrus.client.SslContextConfigurator
    +
    setKeyStoreFile(String) - Method in class org.glassfish.tyrus.client.SslContextConfigurator
    Sets key store file name, also makes sure that if other key store configuration parameters are not set to set them to default values.
    -
    setKeyStorePassword(String) - Method in class org.glassfish.tyrus.client.SslContextConfigurator
    +
    setKeyStorePassword(char[]) - Method in class org.glassfish.tyrus.client.SslContextConfigurator
    Password of key store.
    -
    setKeyStorePassword(char[]) - Method in class org.glassfish.tyrus.client.SslContextConfigurator
    +
    setKeyStorePassword(String) - Method in class org.glassfish.tyrus.client.SslContextConfigurator
    Password of key store.
    -
    setKeyStoreProvider(String) - Method in class org.glassfish.tyrus.client.SslContextConfigurator
    +
    setKeyStoreProvider(String) - Method in class org.glassfish.tyrus.client.SslContextConfigurator
    Sets the key store provider name.
    -
    setKeyStoreType(String) - Method in class org.glassfish.tyrus.client.SslContextConfigurator
    +
    setKeyStoreType(String) - Method in class org.glassfish.tyrus.client.SslContextConfigurator
    Type of key store.
    -
    setMaxBinaryMessageBufferSize(int) - Method in interface javax.websocket.Session
    +
    setMaxBinaryMessageBufferSize(int) - Method in interface javax.websocket.Session
    Sets the maximum length of incoming binary messages that this Session can buffer.
    -
    setMaxBinaryMessageBufferSize(int) - Method in class org.glassfish.tyrus.core.cluster.RemoteSession
    +
    setMaxBinaryMessageBufferSize(int) - Method in class org.glassfish.tyrus.core.cluster.RemoteSession
    This method is not supported on RemoteSession.
    -
    setMaxBinaryMessageBufferSize(int) - Method in class org.glassfish.tyrus.core.TyrusSession
    +
    setMaxBinaryMessageBufferSize(int) - Method in class org.glassfish.tyrus.core.TyrusSession
     
    -
    setMaxIdleTimeout(long) - Method in interface javax.websocket.Session
    +
    setMaxIdleTimeout(long) - Method in interface javax.websocket.Session
    Set the non-zero number of milliseconds before this session will be closed by the container if it is inactive, ie no messages are either sent or received.
    -
    setMaxIdleTimeout(long) - Method in class org.glassfish.tyrus.core.cluster.RemoteSession
    +
    setMaxIdleTimeout(long) - Method in class org.glassfish.tyrus.core.cluster.RemoteSession
    This method is not supported on RemoteSession.
    -
    setMaxIdleTimeout(long) - Method in class org.glassfish.tyrus.core.TyrusSession
    +
    setMaxIdleTimeout(long) - Method in class org.glassfish.tyrus.core.TyrusSession
     
    -
    setMaxPoolSize(int) - Method in class org.glassfish.tyrus.client.ThreadPoolConfig
    +
    setMaxPoolSize(int) - Method in class org.glassfish.tyrus.client.ThreadPoolConfig
    Set max thread pool size.
    -
    setMaxTextMessageBufferSize(int) - Method in interface javax.websocket.Session
    +
    setMaxTextMessageBufferSize(int) - Method in interface javax.websocket.Session
    Sets the maximum length of incoming text messages that this Session can buffer.
    -
    setMaxTextMessageBufferSize(int) - Method in class org.glassfish.tyrus.core.cluster.RemoteSession
    +
    setMaxTextMessageBufferSize(int) - Method in class org.glassfish.tyrus.core.cluster.RemoteSession
    This method is not supported on RemoteSession.
    -
    setMaxTextMessageBufferSize(int) - Method in class org.glassfish.tyrus.core.TyrusSession
    +
    setMaxTextMessageBufferSize(int) - Method in class org.glassfish.tyrus.core.TyrusSession
     
    -
    setMessageEventListener(MessageEventListener) - Method in class org.glassfish.tyrus.core.ProtocolHandler
    +
    setMessageEventListener(MessageEventListener) - Method in class org.glassfish.tyrus.core.ProtocolHandler
    Set message event listener.
    -
    setNeedClientAuth(boolean) - Method in class org.glassfish.tyrus.client.SslEngineConfigurator
    +
    setNeedClientAuth(boolean) - Method in class org.glassfish.tyrus.client.SslEngineConfigurator
    Set "need client auth" property.
    -
    setPath(String) - Method in class org.glassfish.tyrus.core.wsadl.model.Endpoint
    +
    setPath(String) - Method in class org.glassfish.tyrus.core.wsadl.model.Endpoint
    Sets the value of the path property.
    -
    setPoolName(String) - Method in class org.glassfish.tyrus.client.ThreadPoolConfig
    +
    setPoolName(String) - Method in class org.glassfish.tyrus.client.ThreadPoolConfig
    Set thread pool name.
    -
    setPriority(int) - Method in class org.glassfish.tyrus.client.ThreadPoolConfig
    +
    setPriority(int) - Method in class org.glassfish.tyrus.client.ThreadPoolConfig
    Set priority of the threads in thread pool.
    -
    setProtocolConfigured(boolean) - Method in class org.glassfish.tyrus.client.SslEngineConfigurator
    +
    setProtocolConfigured(boolean) - Method in class org.glassfish.tyrus.client.SslEngineConfigurator
     
    -
    setQueue(Queue<Runnable>) - Method in class org.glassfish.tyrus.client.ThreadPoolConfig
    +
    setQueue(Queue<Runnable>) - Method in class org.glassfish.tyrus.client.ThreadPoolConfig
    Set a queue implementation that will be used to temporarily store tasks when all threads in the thread pool are busy.
    -
    setQueueLimit(int) - Method in class org.glassfish.tyrus.client.ThreadPoolConfig
    +
    setQueueLimit(int) - Method in class org.glassfish.tyrus.client.ThreadPoolConfig
    Set the limit of the queue, where tasks are temporarily stored when all threads are busy.
    -
    setReasonPhrase(String) - Method in class org.glassfish.tyrus.core.TyrusUpgradeResponse
    +
    setReasonPhrase(String) - Method in class org.glassfish.tyrus.core.TyrusUpgradeResponse
    Set HTTP reason phrase.
    -
    setReasonPhrase(String) - Method in class org.glassfish.tyrus.spi.UpgradeResponse
    +
    setReasonPhrase(String) - Method in class org.glassfish.tyrus.spi.UpgradeResponse
    Get HTTP reason phrase.
    -
    setResult(T) - Method in class org.glassfish.tyrus.core.TyrusFuture
    +
    setResult(T) - Method in class org.glassfish.tyrus.core.TyrusFuture
    Sets the result of the message writing process.
    -
    setSecurityProtocol(String) - Method in class org.glassfish.tyrus.client.SslContextConfigurator
    +
    setSecurityProtocol(String) - Method in class org.glassfish.tyrus.client.SslContextConfigurator
    Sets the SSLContext protocol.
    -
    setSendTimeout(long) - Method in interface javax.websocket.RemoteEndpoint.Async
    +
    setSendTimeout(long) - Method in interface javax.websocket.RemoteEndpoint.Async
    Sets the number of milliseconds the implementation will timeout attempting to send a websocket message.
    -
    setSessionId(String) - Method in class org.glassfish.tyrus.core.DebugContext
    +
    setSessionId(String) - Method in class org.glassfish.tyrus.core.DebugContext
    Set a session ID that will be used as a common identifier for logged messages related to the same upgrade request.
    -
    setStatus(int) - Method in class org.glassfish.tyrus.core.TyrusUpgradeResponse
    +
    setStatus(int) - Method in class org.glassfish.tyrus.core.TyrusUpgradeResponse
    Set HTTP status.
    -
    setStatus(int) - Method in class org.glassfish.tyrus.spi.UpgradeResponse
    +
    setStatus(int) - Method in class org.glassfish.tyrus.spi.UpgradeResponse
    Set HTTP status code for this response.
    -
    setSubProtocols(List<String>) - Method in class org.glassfish.tyrus.core.Handshake
    +
    setSubProtocols(List<String>) - Method in class org.glassfish.tyrus.core.Handshake
    Client side only - set the list of supported subprotocols.
    -
    setThreadFactory(ThreadFactory) - Method in class org.glassfish.tyrus.client.ThreadPoolConfig
    +
    setThreadFactory(ThreadFactory) - Method in class org.glassfish.tyrus.client.ThreadPoolConfig
    Set ThreadFactory that will be used to create thread pool threads.
    -
    setTrustManagerFactoryAlgorithm(String) - Method in class org.glassfish.tyrus.client.SslContextConfigurator
    +
    setTrustManagerFactoryAlgorithm(String) - Method in class org.glassfish.tyrus.client.SslContextConfigurator
    Sets the trust manager factory algorithm.
    -
    setTrustStoreBytes(byte[]) - Method in class org.glassfish.tyrus.client.SslContextConfigurator
    +
    setTrustStoreBytes(byte[]) - Method in class org.glassfish.tyrus.client.SslContextConfigurator
    Sets trust store payload as byte array.
    -
    setTrustStoreFile(String) - Method in class org.glassfish.tyrus.client.SslContextConfigurator
    +
    setTrustStoreFile(String) - Method in class org.glassfish.tyrus.client.SslContextConfigurator
    Sets trust store file name, also makes sure that if other trust store configuration parameters are not set to set them to default values.
    -
    setTrustStorePassword(String) - Method in class org.glassfish.tyrus.client.SslContextConfigurator
    +
    setTrustStorePassword(String) - Method in class org.glassfish.tyrus.client.SslContextConfigurator
    Password of trust store.
    -
    setTrustStoreProvider(String) - Method in class org.glassfish.tyrus.client.SslContextConfigurator
    +
    setTrustStoreProvider(String) - Method in class org.glassfish.tyrus.client.SslContextConfigurator
    Sets the trust store provider name.
    -
    setTrustStoreType(String) - Method in class org.glassfish.tyrus.client.SslContextConfigurator
    +
    setTrustStoreType(String) - Method in class org.glassfish.tyrus.client.SslContextConfigurator
    Type of trust store.
    -
    setup(NetworkListener, FilterChainBuilder) - Method in class org.glassfish.tyrus.container.grizzly.server.WebSocketAddOn
    +
    setup(NetworkListener, FilterChainBuilder) - Method in class org.glassfish.tyrus.container.grizzly.server.WebSocketAddOn
     
    -
    setWantClientAuth(boolean) - Method in class org.glassfish.tyrus.client.SslEngineConfigurator
    +
    setWantClientAuth(boolean) - Method in class org.glassfish.tyrus.client.SslEngineConfigurator
    Set "want client auth" property.
    -
    setWebSocket(TyrusWebSocket) - Method in class org.glassfish.tyrus.core.ProtocolHandler
    +
    setWebSocket(TyrusWebSocket) - Method in class org.glassfish.tyrus.core.ProtocolHandler
    Client side.
    -
    setWriter(Writer) - Method in class org.glassfish.tyrus.core.ProtocolHandler
    +
    setWriter(Writer) - Method in class org.glassfish.tyrus.core.ProtocolHandler
    Set Writer instance.
    -
    setWriteTimeout(long) - Method in class org.glassfish.tyrus.core.TyrusWebSocket
    +
    setWriteTimeout(long) - Method in class org.glassfish.tyrus.core.TyrusWebSocket
    Sets the timeout for the writing operation.
    @@ -5445,8 +5842,8 @@
    SHARED_CONTAINER - Static variable in class org.glassfish.tyrus.container.grizzly.client.GrizzlyClientContainer
    -
    Deprecated. - +
    Deprecated. +
    SHARED_CONTAINER_IDLE_TIMEOUT - Static variable in class org.glassfish.tyrus.client.ClientProperties
    @@ -5455,48 +5852,48 @@
    SHARED_CONTAINER_IDLE_TIMEOUT - Static variable in class org.glassfish.tyrus.container.grizzly.client.GrizzlyClientContainer
    -
    -
    ShortDecoder() - Constructor for class org.glassfish.tyrus.core.coder.PrimitiveDecoders.ShortDecoder
    +
    ShortDecoder() - Constructor for class org.glassfish.tyrus.core.coder.PrimitiveDecoders.ShortDecoder
     
    -
    shutdown() - Method in class org.glassfish.tyrus.core.BaseContainer
    +
    shutdown() - Method in class org.glassfish.tyrus.core.BaseContainer
    Release executor services managed by this instance.
    -
    shutdown(BaseContainer.ShutDownCondition) - Method in class org.glassfish.tyrus.core.BaseContainer
    +
    shutdown() - Method in class org.glassfish.tyrus.core.cluster.ClusterContext
    -
    Release executor services managed by this instance if the condition passed in the parameter is fulfilled.
    +
    Shutdown this ClusterContext.
    -
    shutdown() - Method in class org.glassfish.tyrus.core.cluster.ClusterContext
    +
    shutdown(BaseContainer.ShutDownCondition) - Method in class org.glassfish.tyrus.core.BaseContainer
    -
    Shutdown this ClusterContext.
    +
    Release executor services managed by this instance if the condition passed in the parameter is fulfilled.
    -
    size() - Method in class org.glassfish.tyrus.core.uri.internal.AbstractMultivaluedMap
    +
    size() - Method in class org.glassfish.tyrus.core.uri.internal.AbstractMultivaluedMap
     
    SOCKET_BINDING - Static variable in class org.glassfish.tyrus.client.ClientProperties
    Property name for defining local binding address for all socket created by the client.
    -
    SOCKET_NOT_CONNECTED() - Static method in class org.glassfish.tyrus.core.l10n.LocalizationMessages
    +
    SOCKET_NOT_CONNECTED() - Static method in class org.glassfish.tyrus.core.l10n.LocalizationMessages
    Socket is not connected.
    SSL_ENGINE_CONFIGURATOR - Static variable in class org.glassfish.tyrus.client.ClientManager
    -
    SSL_ENGINE_CONFIGURATOR - Static variable in class org.glassfish.tyrus.client.ClientProperties
    -
    Property usable in ClientManager.getProperties() as a key for SSL configuration.
    +
    Property usable in ClientManager.getProperties() as a key for SSL configuration.
    SSL_ENGINE_CONFIGURATOR - Static variable in class org.glassfish.tyrus.container.grizzly.client.GrizzlyClientContainer
    -
    sslContext - Variable in class org.glassfish.tyrus.client.SslEngineConfigurator
    @@ -5507,11 +5904,11 @@
    Utility class, which helps to configure ssl context.
    -
    SslContextConfigurator() - Constructor for class org.glassfish.tyrus.client.SslContextConfigurator
    +
    SslContextConfigurator() - Constructor for class org.glassfish.tyrus.client.SslContextConfigurator
    Default constructor.
    -
    SslContextConfigurator(boolean) - Constructor for class org.glassfish.tyrus.client.SslContextConfigurator
    +
    SslContextConfigurator(boolean) - Constructor for class org.glassfish.tyrus.client.SslContextConfigurator
    Constructor that allows you creating empty configuration.
    @@ -5519,40 +5916,40 @@
    SSLEngineConfigurator class from Grizzly project.
    -
    SslEngineConfigurator(SSLContext) - Constructor for class org.glassfish.tyrus.client.SslEngineConfigurator
    +
    SslEngineConfigurator() - Constructor for class org.glassfish.tyrus.client.SslEngineConfigurator
    +
    +
    Default constructor.
    +
    +
    SslEngineConfigurator(SSLContext) - Constructor for class org.glassfish.tyrus.client.SslEngineConfigurator
    Create SSL Engine configuration basing on passed SSLContext.
    -
    SslEngineConfigurator(SSLContext, boolean, boolean, boolean) - Constructor for class org.glassfish.tyrus.client.SslEngineConfigurator
    +
    SslEngineConfigurator(SSLContext, boolean, boolean, boolean) - Constructor for class org.glassfish.tyrus.client.SslEngineConfigurator
    Create SSL Engine configuration based on passed SSLContext, using passed client mode, need/want client auth parameters.
    -
    SslEngineConfigurator(SslContextConfigurator) - Constructor for class org.glassfish.tyrus.client.SslEngineConfigurator
    +
    SslEngineConfigurator(SslContextConfigurator) - Constructor for class org.glassfish.tyrus.client.SslEngineConfigurator
    Create SSL Engine configuration based on passed SslContextConfigurator.
    -
    SslEngineConfigurator(SslContextConfigurator, boolean, boolean, boolean) - Constructor for class org.glassfish.tyrus.client.SslEngineConfigurator
    +
    SslEngineConfigurator(SslContextConfigurator, boolean, boolean, boolean) - Constructor for class org.glassfish.tyrus.client.SslEngineConfigurator
    Create SSL Engine configuration basing on passed SslContextConfigurator.
    -
    SslEngineConfigurator(SslEngineConfigurator) - Constructor for class org.glassfish.tyrus.client.SslEngineConfigurator
    +
    SslEngineConfigurator(SslEngineConfigurator) - Constructor for class org.glassfish.tyrus.client.SslEngineConfigurator
    Copy constructor.
    -
    SslEngineConfigurator() - Constructor for class org.glassfish.tyrus.client.SslEngineConfigurator
    -
    -
    Default constructor.
    -
    -
    start() - Method in class org.glassfish.tyrus.server.Server
    +
    start() - Method in class org.glassfish.tyrus.server.Server
    Start the server.
    -
    start(String, int) - Method in class org.glassfish.tyrus.server.TyrusServerContainer
    +
    start(String, int) - Method in class org.glassfish.tyrus.server.TyrusServerContainer
    Start the container.
    -
    start(String, int) - Method in interface org.glassfish.tyrus.spi.ServerContainer
    +
    start(String, int) - Method in interface org.glassfish.tyrus.spi.ServerContainer
    Start the server.
    @@ -5560,15 +5957,15 @@
    Path to static content to be served by created Server instance.
    -
    stop() - Method in class org.glassfish.tyrus.server.Server
    +
    stop() - Method in class org.glassfish.tyrus.server.Server
    Stop the server.
    -
    stop() - Method in class org.glassfish.tyrus.server.TyrusServerContainer
    +
    stop() - Method in class org.glassfish.tyrus.server.TyrusServerContainer
    Undeploy all endpoints and stop underlying ServerContainer.
    -
    stop() - Method in interface org.glassfish.tyrus.spi.ServerContainer
    +
    stop() - Method in interface org.glassfish.tyrus.spi.ServerContainer
    Stop the server.
    @@ -5576,46 +5973,70 @@
    Backing store for the [key, multi-value] pairs.
    -
    stream(boolean, byte[], int, int) - Method in class org.glassfish.tyrus.core.ProtocolHandler
    +
    stream(boolean, byte[], int, int) - Method in class org.glassfish.tyrus.core.ProtocolHandler
    -
    Deprecated.
    +
    Deprecated.
    -
    stream(boolean, byte[], int, int, WriterInfo) - Method in class org.glassfish.tyrus.core.ProtocolHandler
    +
    stream(boolean, byte[], int, int, WriterInfo) - Method in class org.glassfish.tyrus.core.ProtocolHandler
     
    -
    stream(boolean, String) - Method in class org.glassfish.tyrus.core.ProtocolHandler
    +
    stream(boolean, String) - Method in class org.glassfish.tyrus.core.ProtocolHandler
    -
    Deprecated.
    +
    Deprecated.
    -
    stream(boolean, String, WriterInfo) - Method in class org.glassfish.tyrus.core.ProtocolHandler
    +
    stream(boolean, String, WriterInfo) - Method in class org.glassfish.tyrus.core.ProtocolHandler
     
    StrictUtf8 - Class in org.glassfish.tyrus.core
     
    -
    StrictUtf8() - Constructor for class org.glassfish.tyrus.core.StrictUtf8
    +
    StrictUtf8() - Constructor for class org.glassfish.tyrus.core.StrictUtf8
     
    StrictUtf8.Parser - Class in org.glassfish.tyrus.core
    Surrogate parsing support.
    -
    Stringifier() - Constructor for class org.glassfish.tyrus.core.Utils.Stringifier
    +
    Stringifier() - Constructor for class org.glassfish.tyrus.core.Utils.Stringifier
     
    -
    stringifyUpgradeRequest(UpgradeRequest) - Static method in class org.glassfish.tyrus.core.Utils
    +
    stringifyUpgradeRequest(UpgradeRequest) - Static method in class org.glassfish.tyrus.core.Utils
    Converts upgrade request to a HTTP-formatted string.
    -
    stringifyUpgradeResponse(UpgradeResponse) - Static method in class org.glassfish.tyrus.core.Utils
    +
    stringifyUpgradeResponse(UpgradeResponse) - Static method in class org.glassfish.tyrus.core.Utils
    Converts upgrade response to a HTTP-formatted string.
    -
    subprotocols(List<String>) - Method in class javax.websocket.server.ServerEndpointConfig.Builder
    +
    subprotocols() - Method in annotation type javax.websocket.ClientEndpoint
    +
    +
    The names of the subprotocols this client supports.
    +
    +
    subprotocols() - Method in annotation type javax.websocket.server.ServerEndpoint
    +
    +
    The ordered array of web socket protocols this endpoint supports.
    +
    +
    subprotocols(List<String>) - Method in class javax.websocket.server.ServerEndpointConfig.Builder
    Sets the subprotocols to use in the configuration.
    -
    subprotocols(List<String>) - Method in class org.glassfish.tyrus.core.TyrusServerEndpointConfig.Builder
    +
    subprotocols(List<String>) - Method in class org.glassfish.tyrus.core.TyrusServerEndpointConfig.Builder
    Sets the subprotocols to use in the configuration.
    +
    SUCCESS - org.glassfish.tyrus.spi.ClientEngine.ClientUpgradeStatus
    +
    +
    Upgrade process was successful.
    +
    +
    SUCCESS - org.glassfish.tyrus.spi.WebSocketEngine.UpgradeStatus
    +
    +
    Upgrade is successful.
    +
    +
    SUMMARY - org.glassfish.tyrus.core.DebugContext.TracingThreshold
    +
    +
    A less verbose tracing, an equivalent to Level.FINER logging level.
    +
    +
    SUPER - org.glassfish.tyrus.spi.WriterInfo.RemoteEndpointType
    +
    +
    RemoteEndpoint
    +
    - +

    T

    @@ -5626,33 +6047,49 @@
    t - Variable in class org.glassfish.tyrus.core.ReflectionHelper.TypeClassPair
     
    -
    Task() - Constructor for class org.glassfish.tyrus.container.grizzly.client.TaskProcessor.Task
    +
    Task() - Constructor for class org.glassfish.tyrus.container.grizzly.client.TaskProcessor.Task
     
    TaskProcessor - Class in org.glassfish.tyrus.container.grizzly.client
    A class responsible for processing TaskProcessor.Task.
    -
    TaskProcessor(TaskProcessor.Condition) - Constructor for class org.glassfish.tyrus.container.grizzly.client.TaskProcessor
    +
    TaskProcessor() - Constructor for class org.glassfish.tyrus.container.grizzly.client.TaskProcessor
    Constructor.
    -
    TaskProcessor() - Constructor for class org.glassfish.tyrus.container.grizzly.client.TaskProcessor
    +
    TaskProcessor(TaskProcessor.Condition) - Constructor for class org.glassfish.tyrus.container.grizzly.client.TaskProcessor
    Constructor.
    TaskProcessor.Condition - Interface in org.glassfish.tyrus.container.grizzly.client
    - +
    TaskProcessor.Task - Class in org.glassfish.tyrus.container.grizzly.client
    Generic task representation.
    -
    TEXT_MESSAGE_HANDLER_NOT_FOUND(Object) - Static method in class org.glassfish.tyrus.core.l10n.LocalizationMessages
    +
    TEXT - org.glassfish.tyrus.core.frame.TyrusFrame.FrameType
    +
    +
    Text frame.
    +
    +
    TEXT - org.glassfish.tyrus.spi.WriterInfo.MessageType
    +
    +
    Text type.
    +
    +
    TEXT_CONTINUATION - org.glassfish.tyrus.core.frame.TyrusFrame.FrameType
    +
    +
    Continuation text frame.
    +
    +
    TEXT_CONTINUATION - org.glassfish.tyrus.spi.WriterInfo.MessageType
    +
    +
    Continuation text type.
    +
    +
    TEXT_MESSAGE_HANDLER_NOT_FOUND(Object) - Static method in class org.glassfish.tyrus.core.l10n.LocalizationMessages
    Text message handler not found.
    -
    TEXT_MESSAGE_OUT_OF_ORDER(Object) - Static method in class org.glassfish.tyrus.core.l10n.LocalizationMessages
    +
    TEXT_MESSAGE_OUT_OF_ORDER(Object) - Static method in class org.glassfish.tyrus.core.l10n.LocalizationMessages
    Text message received out of order.
    @@ -5660,15 +6097,15 @@
    Text frame representation.
    -
    TextFrame(Frame, ByteBuffer) - Constructor for class org.glassfish.tyrus.core.frame.TextFrame
    +
    TextFrame(String, boolean, boolean) - Constructor for class org.glassfish.tyrus.core.frame.TextFrame
    Constructor.
    -
    TextFrame(Frame, ByteBuffer, boolean) - Constructor for class org.glassfish.tyrus.core.frame.TextFrame
    +
    TextFrame(Frame, ByteBuffer) - Constructor for class org.glassfish.tyrus.core.frame.TextFrame
    Constructor.
    -
    TextFrame(String, boolean, boolean) - Constructor for class org.glassfish.tyrus.core.frame.TextFrame
    +
    TextFrame(Frame, ByteBuffer, boolean) - Constructor for class org.glassfish.tyrus.core.frame.TextFrame
    Constructor.
    @@ -5676,78 +6113,104 @@
    Client thread pool configuration, which might be used to customize client thread pool.
    -
    toArray() - Method in class org.glassfish.tyrus.core.ServiceFinder
    +
    TLS_HANDSHAKE_FAILURE - javax.websocket.CloseReason.CloseCodes
    +
    +
    1015 is a reserved value and MUST NOT be set as a status code in a + Close control frame by an endpoint.
    +
    +
    TLS_HANDSHAKE_FAILURE - org.glassfish.tyrus.core.CloseReasons
    +
    +
    1015 is a reserved value and MUST NOT be set as a status code in a + Close control frame by an endpoint.
    +
    +
    toArray() - Method in class org.glassfish.tyrus.core.ServiceFinder
    Returns discovered objects all at once.
    -
    toArray(long) - Static method in class org.glassfish.tyrus.core.Utils
    +
    toArray(long) - Static method in class org.glassfish.tyrus.core.Utils
    Convert long to byte[].
    -
    toClassArray() - Method in class org.glassfish.tyrus.core.ServiceFinder
    +
    toClassArray() - Method in class org.glassfish.tyrus.core.ServiceFinder
    Returns discovered classes all at once.
    -
    toLong(byte[], int, int) - Static method in class org.glassfish.tyrus.core.Utils
    +
    toLong(byte[], int, int) - Static method in class org.glassfish.tyrus.core.Utils
    Convert byte[] to long.
    -
    toString() - Method in class javax.websocket.CloseReason
    +
    TOO_BIG - javax.websocket.CloseReason.CloseCodes
    +
    +
    1009 indicates that an endpoint is terminating the connection + because it has received a message that is too big for it to + process.
    +
    +
    TOO_BIG - org.glassfish.tyrus.core.CloseReasons
    +
    +
    1009 indicates that an endpoint is terminating the connection + because it has received a message that is too big for it to + process.
    +
    +
    toString() - Method in class javax.websocket.CloseReason
    Converts the CloseReason to a debug-friendly string.
    -
    toString() - Method in class org.glassfish.tyrus.client.auth.AuthConfig
    +
    toString() - Method in class org.glassfish.tyrus.client.auth.AuthConfig
     
    -
    toString() - Method in class org.glassfish.tyrus.client.auth.Credentials
    +
    toString() - Method in class org.glassfish.tyrus.client.auth.Credentials
     
    -
    toString() - Method in class org.glassfish.tyrus.client.SslEngineConfigurator
    +
    toString() - Method in class org.glassfish.tyrus.client.SslEngineConfigurator
     
    -
    toString() - Method in class org.glassfish.tyrus.client.ThreadPoolConfig
    +
    toString() - Method in class org.glassfish.tyrus.client.ThreadPoolConfig
     
    -
    toString() - Method in class org.glassfish.tyrus.container.grizzly.client.GrizzlyWriter
    +
    toString() - Method in class org.glassfish.tyrus.container.grizzly.client.GrizzlyWriter
     
    -
    toString() - Method in enum org.glassfish.tyrus.core.cluster.RemoteSession.DistributedMapKey
    +
    toString() - Method in enum org.glassfish.tyrus.core.cluster.RemoteSession.DistributedMapKey
     
    -
    toString() - Method in class org.glassfish.tyrus.core.cluster.RemoteSession
    +
    toString() - Method in class org.glassfish.tyrus.core.cluster.RemoteSession
     
    -
    toString() - Method in class org.glassfish.tyrus.core.coder.CoderWrapper
    +
    toString() - Method in class org.glassfish.tyrus.core.coder.CoderWrapper
     
    -
    toString() - Method in class org.glassfish.tyrus.core.frame.Frame
    +
    toString() - Method in class org.glassfish.tyrus.core.frame.Frame
     
    -
    toString() - Method in class org.glassfish.tyrus.core.frame.TextFrame
    +
    toString() - Method in class org.glassfish.tyrus.core.frame.TextFrame
     
    -
    toString() - Method in class org.glassfish.tyrus.core.TyrusEndpointWrapper
    +
    toString() - Method in class org.glassfish.tyrus.core.TyrusEndpointWrapper
     
    -
    toString() - Method in class org.glassfish.tyrus.core.TyrusExtension
    +
    toString() - Method in class org.glassfish.tyrus.core.TyrusExtension
     
    -
    toString() - Method in class org.glassfish.tyrus.core.TyrusExtension.TyrusParameter
    +
    toString() - Method in class org.glassfish.tyrus.core.TyrusExtension.TyrusParameter
     
    -
    toString() - Method in class org.glassfish.tyrus.core.TyrusRemoteEndpoint
    +
    toString() - Method in class org.glassfish.tyrus.core.TyrusRemoteEndpoint
     
    -
    toString() - Method in class org.glassfish.tyrus.core.TyrusSession
    +
    toString() - Method in class org.glassfish.tyrus.core.TyrusSession
     
    -
    toString() - Method in class org.glassfish.tyrus.core.uri.internal.AbstractMultivaluedMap
    +
    toString() - Method in class org.glassfish.tyrus.core.uri.internal.AbstractMultivaluedMap
     
    -
    toString() - Method in class org.glassfish.tyrus.core.uri.internal.PatternWithGroups
    +
    toString() - Method in class org.glassfish.tyrus.core.uri.internal.PatternWithGroups
     
    -
    toString() - Method in class org.glassfish.tyrus.core.uri.internal.UriTemplate
    +
    toString() - Method in class org.glassfish.tyrus.core.uri.internal.UriTemplate
     
    -
    toString() - Method in class org.glassfish.tyrus.core.uri.Match
    +
    toString() - Method in class org.glassfish.tyrus.core.uri.Match
     
    -
    toString(byte[]) - Static method in class org.glassfish.tyrus.core.Utils
    +
    toString() - Method in enum org.glassfish.tyrus.core.Version
     
    -
    toString(byte[], int, int) - Static method in class org.glassfish.tyrus.core.Utils
    +
    toString() - Method in class org.glassfish.tyrus.servlet.TyrusHttpUpgradeHandler
     
    -
    toString() - Method in enum org.glassfish.tyrus.core.Version
    +
    toString(byte[]) - Static method in class org.glassfish.tyrus.core.Utils
     
    -
    toString() - Method in class org.glassfish.tyrus.servlet.TyrusHttpUpgradeHandler
    +
    toString(byte[], int, int) - Static method in class org.glassfish.tyrus.core.Utils
     
    ToStringEncoder - Class in org.glassfish.tyrus.core.coder
    Fall-back encoder - encoders any object to string using Object.toString() method.
    -
    ToStringEncoder() - Constructor for class org.glassfish.tyrus.core.coder.ToStringEncoder
    +
    ToStringEncoder() - Constructor for class org.glassfish.tyrus.core.coder.ToStringEncoder
     
    +
    TRACE - org.glassfish.tyrus.core.DebugContext.TracingThreshold
    +
    +
    A more verbose tracing, an equivalent to Level.FINE logging level.
    +
    TRACING_HEADER_PREFIX - Static variable in class org.glassfish.tyrus.spi.UpgradeResponse
    Prefix of headers used for including tracing information into handshake response.
    @@ -5764,11 +6227,11 @@
    Property used for configuring the type of tracing supported by the server.
    -
    tracingThreshold(DebugContext.TracingThreshold) - Method in class org.glassfish.tyrus.core.TyrusWebSocketEngine.TyrusWebSocketEngineBuilder
    +
    tracingThreshold(DebugContext.TracingThreshold) - Method in class org.glassfish.tyrus.core.TyrusWebSocketEngine.TyrusWebSocketEngineBuilder
    Set tracing threshold.
    -
    tracingType(DebugContext.TracingType) - Method in class org.glassfish.tyrus.core.TyrusWebSocketEngine.TyrusWebSocketEngineBuilder
    +
    tracingType(DebugContext.TracingType) - Method in class org.glassfish.tyrus.core.TyrusWebSocketEngine.TyrusWebSocketEngineBuilder
    Set type of tracing.
    @@ -5792,7 +6255,15 @@
    Trust store type (see KeyStore.getType() for more info).
    -
    TypeClassPair(Type, Class) - Constructor for class org.glassfish.tyrus.core.ReflectionHelper.TypeClassPair
    +
    TRY_AGAIN_LATER - javax.websocket.CloseReason.CloseCodes
    +
    +
    1013 indicates that the service is experiencing overload
    +
    +
    TRY_AGAIN_LATER - org.glassfish.tyrus.core.CloseReasons
    +
    +
    1013 indicates that the service is experiencing overload
    +
    +
    TypeClassPair(Type, Class) - Constructor for class org.glassfish.tyrus.core.ReflectionHelper.TypeClassPair
     
    TyrusClientEngine - Class in org.glassfish.tyrus.client
    @@ -5806,11 +6277,11 @@
    Wraps the registered application class.
    -
    TyrusEndpointWrapper(Class<? extends Endpoint>, EndpointConfig, ComponentProviderService, WebSocketContainer, String, ServerEndpointConfig.Configurator, TyrusEndpointWrapper.SessionListener, ClusterContext, EndpointEventListener, Boolean) - Constructor for class org.glassfish.tyrus.core.TyrusEndpointWrapper
    +
    TyrusEndpointWrapper(Class<? extends Endpoint>, EndpointConfig, ComponentProviderService, WebSocketContainer, String, ServerEndpointConfig.Configurator, TyrusEndpointWrapper.SessionListener, ClusterContext, EndpointEventListener, Boolean) - Constructor for class org.glassfish.tyrus.core.TyrusEndpointWrapper
    Create TyrusEndpointWrapper for class that extends Endpoint.
    -
    TyrusEndpointWrapper(Endpoint, EndpointConfig, ComponentProviderService, WebSocketContainer, String, ServerEndpointConfig.Configurator, TyrusEndpointWrapper.SessionListener, ClusterContext, EndpointEventListener, Boolean) - Constructor for class org.glassfish.tyrus.core.TyrusEndpointWrapper
    +
    TyrusEndpointWrapper(Endpoint, EndpointConfig, ComponentProviderService, WebSocketContainer, String, ServerEndpointConfig.Configurator, TyrusEndpointWrapper.SessionListener, ClusterContext, EndpointEventListener, Boolean) - Constructor for class org.glassfish.tyrus.core.TyrusEndpointWrapper
    Create TyrusEndpointWrapper for Endpoint instance or AnnotatedEndpoint instance.
    @@ -5820,29 +6291,29 @@
    TyrusEndpointWrapper.SessionListener.OnOpenResult - Enum in org.glassfish.tyrus.core
    - +
    TyrusExtension - Class in org.glassfish.tyrus.core
    WebSocket Extension implementation.
    -
    TyrusExtension(String) - Constructor for class org.glassfish.tyrus.core.TyrusExtension
    +
    TyrusExtension(String) - Constructor for class org.glassfish.tyrus.core.TyrusExtension
    Create Extension with specific name.
    -
    TyrusExtension(String, List<Extension.Parameter>) - Constructor for class org.glassfish.tyrus.core.TyrusExtension
    +
    TyrusExtension(String, List<Extension.Parameter>) - Constructor for class org.glassfish.tyrus.core.TyrusExtension
    Create Extension with name and parameters.
    TyrusExtension.TyrusParameter - Class in org.glassfish.tyrus.core
    -
    WebSocket Parameter implementation.
    +
    WebSocket Extension.Parameter implementation.
    TyrusFrame - Class in org.glassfish.tyrus.core.frame
    Frame representation used in Tyrus runtime.
    -
    TyrusFrame(Frame, TyrusFrame.FrameType) - Constructor for class org.glassfish.tyrus.core.frame.TyrusFrame
    +
    TyrusFrame(Frame, TyrusFrame.FrameType) - Constructor for class org.glassfish.tyrus.core.frame.TyrusFrame
    Constructor.
    @@ -5854,17 +6325,17 @@
    Simple Future implementation.
    -
    TyrusFuture() - Constructor for class org.glassfish.tyrus.core.TyrusFuture
    +
    TyrusFuture() - Constructor for class org.glassfish.tyrus.core.TyrusFuture
     
    TyrusHttpUpgradeHandler - Class in org.glassfish.tyrus.servlet
    HttpUpgradeHandler and ReadListener implementation.
    -
    TyrusHttpUpgradeHandler() - Constructor for class org.glassfish.tyrus.servlet.TyrusHttpUpgradeHandler
    +
    TyrusHttpUpgradeHandler() - Constructor for class org.glassfish.tyrus.servlet.TyrusHttpUpgradeHandler
     
    -
    TyrusParameter(String, String) - Constructor for class org.glassfish.tyrus.core.TyrusExtension.TyrusParameter
    +
    TyrusParameter(String, String) - Constructor for class org.glassfish.tyrus.core.TyrusExtension.TyrusParameter
    -
    Create Parameter with name and value.
    +
    Create Extension.Parameter with name and value.
    TyrusRemoteEndpoint - Class in org.glassfish.tyrus.core
    @@ -5874,11 +6345,11 @@
    Container for either deployed ServerApplicationConfigs, if any, or deployed classes.
    -
    TyrusServerConfiguration(Set<Class<?>>, Set<ServerEndpointConfig>) - Constructor for class org.glassfish.tyrus.server.TyrusServerConfiguration
    +
    TyrusServerConfiguration(Set<Class<?>>, Set<Class<?>>, Set<ServerEndpointConfig>, ErrorCollector) - Constructor for class org.glassfish.tyrus.server.TyrusServerConfiguration
    -
    TyrusServerConfiguration(Set<Class<?>>, Set<Class<?>>, Set<ServerEndpointConfig>, ErrorCollector) - Constructor for class org.glassfish.tyrus.server.TyrusServerConfiguration
    +
    TyrusServerConfiguration(Set<Class<?>>, Set<ServerEndpointConfig>) - Constructor for class org.glassfish.tyrus.server.TyrusServerConfiguration
    @@ -5886,11 +6357,11 @@
    Server Container Implementation.
    -
    TyrusServerContainer(Set<Class<?>>) - Constructor for class org.glassfish.tyrus.server.TyrusServerContainer
    +
    TyrusServerContainer(Set<Class<?>>) - Constructor for class org.glassfish.tyrus.server.TyrusServerContainer
    -
    TyrusServerContainer(ServerApplicationConfig) - Constructor for class org.glassfish.tyrus.server.TyrusServerContainer
    +
    TyrusServerContainer(ServerApplicationConfig) - Constructor for class org.glassfish.tyrus.server.TyrusServerContainer
    Create new TyrusServerContainer using already created ServerApplicationConfig instance.
    @@ -5907,15 +6378,15 @@
    TyrusServerEndpointConfigurator - Class in org.glassfish.tyrus.core
    -
    Tyrus implementation of ServerEndpointConfig.Configurator.
    +
    Tyrus' implementation of ServerEndpointConfig.Configurator.
    -
    TyrusServerEndpointConfigurator() - Constructor for class org.glassfish.tyrus.core.TyrusServerEndpointConfigurator
    +
    TyrusServerEndpointConfigurator() - Constructor for class org.glassfish.tyrus.core.TyrusServerEndpointConfigurator
     
    TyrusServletContainerInitializer - Class in org.glassfish.tyrus.servlet
    Registers a filter for upgrade handshake.
    -
    TyrusServletContainerInitializer() - Constructor for class org.glassfish.tyrus.servlet.TyrusServletContainerInitializer
    +
    TyrusServletContainerInitializer() - Constructor for class org.glassfish.tyrus.servlet.TyrusServletContainerInitializer
     
    TyrusSession - Class in org.glassfish.tyrus.core
    @@ -5925,13 +6396,13 @@
    HTTP response representation.
    -
    TyrusUpgradeResponse() - Constructor for class org.glassfish.tyrus.core.TyrusUpgradeResponse
    +
    TyrusUpgradeResponse() - Constructor for class org.glassfish.tyrus.core.TyrusUpgradeResponse
     
    TyrusWebSocket - Class in org.glassfish.tyrus.core
    Tyrus representation of web socket connection.
    -
    TyrusWebSocket(ProtocolHandler, TyrusEndpointWrapper) - Constructor for class org.glassfish.tyrus.core.TyrusWebSocket
    +
    TyrusWebSocket(ProtocolHandler, TyrusEndpointWrapper) - Constructor for class org.glassfish.tyrus.core.TyrusWebSocket
    Create new instance, set ProtocolHandler and register TyrusEndpointWrapper.
    @@ -5944,75 +6415,95 @@ - +

    U

    -
    UNEXPECTED_END_FRAGMENT() - Static method in class org.glassfish.tyrus.core.l10n.LocalizationMessages
    +
    UNEXPECTED_CONDITION - javax.websocket.CloseReason.CloseCodes
    +
    +
    1011 indicates that a server is terminating the connection because + it encountered an unexpected condition that prevented it from + fulfilling the request.
    +
    +
    UNEXPECTED_CONDITION - org.glassfish.tyrus.core.CloseReasons
    +
    +
    1011 indicates that a server is terminating the connection because + it encountered an unexpected condition that prevented it from + fulfilling the request.
    +
    +
    UNEXPECTED_END_FRAGMENT() - Static method in class org.glassfish.tyrus.core.l10n.LocalizationMessages
    End fragment sent, but wasn''t processing any previous fragments.
    -
    UNEXPECTED_ERROR_CONNECTION_CLOSE() - Static method in class org.glassfish.tyrus.core.l10n.LocalizationMessages
    +
    UNEXPECTED_ERROR_CONNECTION_CLOSE() - Static method in class org.glassfish.tyrus.core.l10n.LocalizationMessages
    Unexpected error, closing connection.
    -
    UNEXPECTED_STATE(Object) - Static method in class org.glassfish.tyrus.core.l10n.LocalizationMessages
    +
    UNEXPECTED_STATE(Object) - Static method in class org.glassfish.tyrus.core.l10n.LocalizationMessages
    Unexpected state: {0}.
    -
    unframe(ByteBuffer) - Method in class org.glassfish.tyrus.core.ProtocolHandler
    +
    unframe(ByteBuffer) - Method in class org.glassfish.tyrus.core.ProtocolHandler
    TODO!
    -
    UNHANDLED_TEXT_MESSAGE(Object) - Static method in class org.glassfish.tyrus.core.l10n.LocalizationMessages
    +
    UNHANDLED_TEXT_MESSAGE(Object) - Static method in class org.glassfish.tyrus.core.l10n.LocalizationMessages
    Unhandled text message.
    -
    unregister(TyrusEndpointWrapper) - Method in class org.glassfish.tyrus.core.TyrusWebSocketEngine
    +
    unregister(TyrusEndpointWrapper) - Method in class org.glassfish.tyrus.core.TyrusWebSocketEngine
    Un-registers the specified TyrusEndpointWrapper with the WebSocketEngine.
    -
    updated(E) - Method in class org.glassfish.tyrus.spi.CompletionHandler
    +
    UNRESERVED - org.glassfish.tyrus.core.uri.internal.UriComponent.Type
    +
    +
    ALPHA / DIGIT / "-" / "." / "_" / "~" characters.
    +
    +
    updated(E) - Method in class org.glassfish.tyrus.spi.CompletionHandler
    The callback method may be called, when there is some progress in operation execution, but it is still not completed.
    -
    updateHostAndOrigin(UpgradeRequest) - Static method in class org.glassfish.tyrus.core.Handshake
    +
    updateHostAndOrigin(UpgradeRequest) - Static method in class org.glassfish.tyrus.core.Handshake
    Client side only - Generate host and origin header and put them to the upgrade request headers.
    -
    upgrade(UpgradeRequest, UpgradeResponse) - Method in class org.glassfish.tyrus.core.TyrusWebSocketEngine
    +
    upgrade(UpgradeRequest, UpgradeResponse) - Method in class org.glassfish.tyrus.core.TyrusWebSocketEngine
     
    +
    upgrade(UpgradeRequest, UpgradeResponse) - Method in interface org.glassfish.tyrus.spi.WebSocketEngine
    +
    +
    A transport calls this method to upgrade a HTTP request.
    +
    UPGRADE - Static variable in class org.glassfish.tyrus.spi.UpgradeRequest
    HTTP "Upgrade" header name and "Connection" header expected value.
    -
    upgrade(UpgradeRequest, UpgradeResponse) - Method in interface org.glassfish.tyrus.spi.WebSocketEngine
    +
    UPGRADE_REQUEST_FAILED - org.glassfish.tyrus.spi.ClientEngine.ClientUpgradeStatus
    -
    A transport calls this method to upgrade a HTTP request.
    +
    Upgrade process failed.
    UpgradeRequest - Class in org.glassfish.tyrus.spi
    Abstraction for a HTTP upgrade request.
    -
    UpgradeRequest() - Constructor for class org.glassfish.tyrus.spi.UpgradeRequest
    +
    UpgradeRequest() - Constructor for class org.glassfish.tyrus.spi.UpgradeRequest
     
    UpgradeResponse - Class in org.glassfish.tyrus.spi
    Abstraction for a HTTP upgrade response.
    -
    UpgradeResponse() - Constructor for class org.glassfish.tyrus.spi.UpgradeResponse
    +
    UpgradeResponse() - Constructor for class org.glassfish.tyrus.spi.UpgradeResponse
     
    -
    URI_COMPONENT_ENCODED_OCTET_INVALID_DIGIT(Object, Object) - Static method in class org.glassfish.tyrus.core.l10n.LocalizationMessages
    +
    URI_COMPONENT_ENCODED_OCTET_INVALID_DIGIT(Object, Object) - Static method in class org.glassfish.tyrus.core.l10n.LocalizationMessages
    Malformed percent-encoded octet at index {0}, invalid hexadecimal digit ''{1}''.
    -
    URI_COMPONENT_ENCODED_OCTET_MALFORMED(Object) - Static method in class org.glassfish.tyrus.core.l10n.LocalizationMessages
    +
    URI_COMPONENT_ENCODED_OCTET_MALFORMED(Object) - Static method in class org.glassfish.tyrus.core.l10n.LocalizationMessages
    Malformed percent-encoded octet at index {0}.
    -
    URI_COMPONENT_INVALID_CHARACTER(Object, Object, Object, Object) - Static method in class org.glassfish.tyrus.core.l10n.LocalizationMessages
    +
    URI_COMPONENT_INVALID_CHARACTER(Object, Object, Object, Object) - Static method in class org.glassfish.tyrus.core.l10n.LocalizationMessages
    The string "{0}" for the URI component {1} contains an invalid character, ''{2}'', at index {3}.
    @@ -6029,11 +6520,11 @@
    A URI template.
    -
    UriTemplate(String) - Constructor for class org.glassfish.tyrus.core.uri.internal.UriTemplate
    +
    UriTemplate(String) - Constructor for class org.glassfish.tyrus.core.uri.internal.UriTemplate
    Construct a new URI template.
    -
    UriTemplate(UriTemplateParser) - Constructor for class org.glassfish.tyrus.core.uri.internal.UriTemplate
    +
    UriTemplate(UriTemplateParser) - Constructor for class org.glassfish.tyrus.core.uri.internal.UriTemplate
    Construct a new URI template.
    @@ -6041,11 +6532,19 @@
    A URI template parser that parses JAX-RS specific URI templates.
    -
    UriTemplateParser(String) - Constructor for class org.glassfish.tyrus.core.uri.internal.UriTemplateParser
    +
    UriTemplateParser(String) - Constructor for class org.glassfish.tyrus.core.uri.internal.UriTemplateParser
    Parse a template.
    -
    userPrincipal(Principal) - Method in class org.glassfish.tyrus.core.RequestContext.Builder
    +
    USER_INFO - org.glassfish.tyrus.core.uri.internal.UriComponent.Type
    +
    +
    The URI user info component type.
    +
    +
    USER_PRINCIPAL - org.glassfish.tyrus.core.cluster.RemoteSession.DistributedMapKey
    +
    +
    User principal.
    +
    +
    userPrincipal(Principal) - Method in class org.glassfish.tyrus.core.RequestContext.Builder
    Set Principal.
    @@ -6053,7 +6552,7 @@
    TODO
    -
    Utf8DecodingException() - Constructor for exception org.glassfish.tyrus.core.Utf8DecodingException
    +
    Utf8DecodingException() - Constructor for exception org.glassfish.tyrus.core.Utf8DecodingException
    TODO
    @@ -6061,191 +6560,221 @@
    Utility methods shared among Tyrus modules.
    -
    Utils() - Constructor for class org.glassfish.tyrus.core.Utils
    +
    Utils() - Constructor for class org.glassfish.tyrus.core.Utils
     
    Utils.Stringifier<T> - Class in org.glassfish.tyrus.core
    Define to String conversion for various types.
    - +

    V

    -
    valid(String, UriComponent.Type) - Static method in class org.glassfish.tyrus.core.uri.internal.UriComponent
    +
    valid(String, UriComponent.Type) - Static method in class org.glassfish.tyrus.core.uri.internal.UriComponent
    Validates the legal characters of a percent-encoded string that represents a URI component type.
    -
    valid(String, UriComponent.Type, boolean) - Static method in class org.glassfish.tyrus.core.uri.internal.UriComponent
    +
    valid(String, UriComponent.Type, boolean) - Static method in class org.glassfish.tyrus.core.uri.internal.UriComponent
    Validates the legal characters of a percent-encoded string that represents a URI component type.
    -
    validate(String, UriComponent.Type) - Static method in class org.glassfish.tyrus.core.uri.internal.UriComponent
    +
    validate(String, UriComponent.Type) - Static method in class org.glassfish.tyrus.core.uri.internal.UriComponent
    Validates the legal characters of a percent-encoded string that represents a URI component type.
    -
    validate(String, UriComponent.Type, boolean) - Static method in class org.glassfish.tyrus.core.uri.internal.UriComponent
    +
    validate(String, UriComponent.Type, boolean) - Static method in class org.glassfish.tyrus.core.uri.internal.UriComponent
    Validates the legal characters of a percent-encoded string that represents a URI component type.
    -
    validate(UpgradeRequest) - Method in enum org.glassfish.tyrus.core.Version
    +
    validate(UpgradeRequest) - Method in enum org.glassfish.tyrus.core.Version
     
    -
    validateConfiguration() - Method in class org.glassfish.tyrus.client.SslContextConfigurator
    +
    validateConfiguration() - Method in class org.glassfish.tyrus.client.SslContextConfigurator
    Validates SslContextConfigurator configuration.
    -
    validateConfiguration(boolean) - Method in class org.glassfish.tyrus.client.SslContextConfigurator
    +
    validateConfiguration(boolean) - Method in class org.glassfish.tyrus.client.SslContextConfigurator
    Validates SslContextConfigurator configuration.
    -
    validateServerResponse(UpgradeResponse) - Method in class org.glassfish.tyrus.core.Handshake
    +
    validateServerResponse(UpgradeResponse) - Method in class org.glassfish.tyrus.core.Handshake
    Client side only - validate server response.
    -
    valueOf(String) - Static method in enum javax.websocket.CloseReason.CloseCodes
    +
    value() - Method in annotation type javax.websocket.server.PathParam
    +
    +
    The name of the variable used in the URI-template.
    +
    +
    value() - Method in annotation type javax.websocket.server.ServerEndpoint
    +
    +
    The URI or URI-template, level-1 (See RFC 6570) where the endpoint will be deployed.
    +
    +
    value() - Method in annotation type org.glassfish.tyrus.core.MaxSessions
    +
    +
    Maximal number of open sessions.
    +
    +
    Value<T> - Interface in org.glassfish.tyrus.core.collection
    +
    +
    A generic value provider.
    +
    +
    valueOf(String) - Static method in enum javax.websocket.CloseReason.CloseCodes
    Returns the enum constant of this type with the specified name.
    -
    valueOf(String) - Static method in enum org.glassfish.tyrus.core.CloseReasons
    +
    valueOf(String) - Static method in enum org.glassfish.tyrus.core.CloseReasons
    Returns the enum constant of this type with the specified name.
    -
    valueOf(String) - Static method in enum org.glassfish.tyrus.core.cluster.RemoteSession.DistributedMapKey
    +
    valueOf(String) - Static method in enum org.glassfish.tyrus.core.cluster.RemoteSession.DistributedMapKey
    Returns the enum constant of this type with the specified name.
    -
    valueOf(String) - Static method in enum org.glassfish.tyrus.core.DebugContext.TracingThreshold
    +
    valueOf(String) - Static method in enum org.glassfish.tyrus.core.DebugContext.TracingThreshold
    Returns the enum constant of this type with the specified name.
    -
    valueOf(String) - Static method in enum org.glassfish.tyrus.core.DebugContext.TracingType
    +
    valueOf(String) - Static method in enum org.glassfish.tyrus.core.DebugContext.TracingType
    Returns the enum constant of this type with the specified name.
    -
    valueOf(String) - Static method in enum org.glassfish.tyrus.core.DebugContext.Type
    +
    valueOf(String) - Static method in enum org.glassfish.tyrus.core.DebugContext.Type
    Returns the enum constant of this type with the specified name.
    -
    valueOf(String) - Static method in enum org.glassfish.tyrus.core.frame.TyrusFrame.FrameType
    +
    valueOf(String) - Static method in enum org.glassfish.tyrus.core.frame.TyrusFrame.FrameType
    Returns the enum constant of this type with the specified name.
    -
    valueOf(String) - Static method in enum org.glassfish.tyrus.core.TyrusEndpointWrapper.SessionListener.OnOpenResult
    +
    valueOf(String) - Static method in enum org.glassfish.tyrus.core.TyrusEndpointWrapper.SessionListener.OnOpenResult
    Returns the enum constant of this type with the specified name.
    -
    valueOf(String) - Static method in enum org.glassfish.tyrus.core.uri.internal.PathPattern.RightHandPath
    +
    valueOf(String) - Static method in enum org.glassfish.tyrus.core.uri.internal.PathPattern.RightHandPath
    Returns the enum constant of this type with the specified name.
    -
    valueOf(String) - Static method in enum org.glassfish.tyrus.core.uri.internal.UriComponent.Type
    +
    valueOf(String) - Static method in enum org.glassfish.tyrus.core.uri.internal.UriComponent.Type
    Returns the enum constant of this type with the specified name.
    -
    valueOf(String) - Static method in enum org.glassfish.tyrus.core.Version
    +
    valueOf(String) - Static method in enum org.glassfish.tyrus.core.Version
    Returns the enum constant of this type with the specified name.
    -
    valueOf(String) - Static method in enum org.glassfish.tyrus.spi.ClientEngine.ClientUpgradeStatus
    +
    valueOf(String) - Static method in enum org.glassfish.tyrus.spi.ClientEngine.ClientUpgradeStatus
    Returns the enum constant of this type with the specified name.
    -
    valueOf(String) - Static method in enum org.glassfish.tyrus.spi.WebSocketEngine.UpgradeStatus
    +
    valueOf(String) - Static method in enum org.glassfish.tyrus.spi.WebSocketEngine.UpgradeStatus
    Returns the enum constant of this type with the specified name.
    -
    valueOf(String) - Static method in enum org.glassfish.tyrus.spi.WriterInfo.MessageType
    +
    valueOf(String) - Static method in enum org.glassfish.tyrus.spi.WriterInfo.MessageType
    Returns the enum constant of this type with the specified name.
    -
    valueOf(String) - Static method in enum org.glassfish.tyrus.spi.WriterInfo.RemoteEndpointType
    +
    valueOf(String) - Static method in enum org.glassfish.tyrus.spi.WriterInfo.RemoteEndpointType
    Returns the enum constant of this type with the specified name.
    -
    values() - Static method in enum javax.websocket.CloseReason.CloseCodes
    +
    values() - Static method in enum javax.websocket.CloseReason.CloseCodes
    Returns an array containing the constants of this enum type, in the order they are declared.
    -
    values() - Static method in enum org.glassfish.tyrus.core.CloseReasons
    +
    values() - Static method in enum org.glassfish.tyrus.core.CloseReasons
    Returns an array containing the constants of this enum type, in the order they are declared.
    -
    values() - Static method in enum org.glassfish.tyrus.core.cluster.RemoteSession.DistributedMapKey
    +
    values() - Static method in enum org.glassfish.tyrus.core.cluster.RemoteSession.DistributedMapKey
    Returns an array containing the constants of this enum type, in the order they are declared.
    -
    values() - Static method in enum org.glassfish.tyrus.core.DebugContext.TracingThreshold
    +
    values() - Static method in enum org.glassfish.tyrus.core.DebugContext.TracingThreshold
    Returns an array containing the constants of this enum type, in the order they are declared.
    -
    values() - Static method in enum org.glassfish.tyrus.core.DebugContext.TracingType
    +
    values() - Static method in enum org.glassfish.tyrus.core.DebugContext.TracingType
    Returns an array containing the constants of this enum type, in the order they are declared.
    -
    values() - Static method in enum org.glassfish.tyrus.core.DebugContext.Type
    +
    values() - Static method in enum org.glassfish.tyrus.core.DebugContext.Type
    Returns an array containing the constants of this enum type, in the order they are declared.
    -
    values() - Static method in enum org.glassfish.tyrus.core.frame.TyrusFrame.FrameType
    +
    values() - Static method in enum org.glassfish.tyrus.core.frame.TyrusFrame.FrameType
    Returns an array containing the constants of this enum type, in the order they are declared.
    -
    values() - Static method in enum org.glassfish.tyrus.core.TyrusEndpointWrapper.SessionListener.OnOpenResult
    +
    values() - Static method in enum org.glassfish.tyrus.core.TyrusEndpointWrapper.SessionListener.OnOpenResult
    Returns an array containing the constants of this enum type, in the order they are declared.
    -
    values() - Method in class org.glassfish.tyrus.core.uri.internal.AbstractMultivaluedMap
    +
    values() - Method in class org.glassfish.tyrus.core.uri.internal.AbstractMultivaluedMap
     
    -
    values() - Static method in enum org.glassfish.tyrus.core.uri.internal.PathPattern.RightHandPath
    +
    values() - Static method in enum org.glassfish.tyrus.core.uri.internal.PathPattern.RightHandPath
    Returns an array containing the constants of this enum type, in the order they are declared.
    -
    values() - Static method in enum org.glassfish.tyrus.core.uri.internal.UriComponent.Type
    +
    values() - Static method in enum org.glassfish.tyrus.core.uri.internal.UriComponent.Type
    Returns an array containing the constants of this enum type, in the order they are declared.
    -
    values() - Static method in enum org.glassfish.tyrus.core.Version
    +
    values() - Static method in enum org.glassfish.tyrus.core.Version
    Returns an array containing the constants of this enum type, in the order they are declared.
    -
    values() - Static method in enum org.glassfish.tyrus.spi.ClientEngine.ClientUpgradeStatus
    +
    values() - Static method in enum org.glassfish.tyrus.spi.ClientEngine.ClientUpgradeStatus
    Returns an array containing the constants of this enum type, in the order they are declared.
    -
    values() - Static method in enum org.glassfish.tyrus.spi.WebSocketEngine.UpgradeStatus
    +
    values() - Static method in enum org.glassfish.tyrus.spi.WebSocketEngine.UpgradeStatus
    Returns an array containing the constants of this enum type, in the order they are declared.
    -
    values() - Static method in enum org.glassfish.tyrus.spi.WriterInfo.MessageType
    +
    values() - Static method in enum org.glassfish.tyrus.spi.WriterInfo.MessageType
    Returns an array containing the constants of this enum type, in the order they are declared.
    -
    values() - Static method in enum org.glassfish.tyrus.spi.WriterInfo.RemoteEndpointType
    +
    values() - Static method in enum org.glassfish.tyrus.spi.WriterInfo.RemoteEndpointType
    Returns an array containing the constants of this enum type, in the order they are declared.
    +
    Values - Class in org.glassfish.tyrus.core.collection
    +
    +
    A collection of Value provider factory & utility methods.
    +
    Version - Enum in org.glassfish.tyrus.core
    TODO
    +
    VIOLATED_POLICY - javax.websocket.CloseReason.CloseCodes
    +
    +
    1008 indicates that an endpoint is terminating the connection + because it has received a message that violates its policy.
    +
    +
    VIOLATED_POLICY - org.glassfish.tyrus.core.CloseReasons
    +
    +
    1008 indicates that an endpoint is terminating the connection + because it has received a message that violates its policy.
    +
    - +

    W

    @@ -6283,29 +6812,29 @@ the order they are declared.
    WebSocketException can be thrown during runtime (after handshake).
    -
    WebSocketException(String) - Constructor for exception org.glassfish.tyrus.core.WebSocketException
    +
    WebSocketException(String) - Constructor for exception org.glassfish.tyrus.core.WebSocketException
    Create new WebSocketException.
    -
    willDecode(ByteBuffer) - Method in interface javax.websocket.Decoder.Binary
    -
    -
    Answer whether the given bytes can be decoded into an object of type T.
    -
    -
    willDecode(String) - Method in interface javax.websocket.Decoder.Text
    +
    willDecode(String) - Method in interface javax.websocket.Decoder.Text
    Answer whether the given String can be decoded into an object of type T.
    -
    willDecode(ByteBuffer) - Method in class org.glassfish.tyrus.core.coder.InputStreamDecoder
    +
    willDecode(String) - Method in class org.glassfish.tyrus.core.coder.NoOpTextCoder
     
    -
    willDecode(ByteBuffer) - Method in class org.glassfish.tyrus.core.coder.NoOpByteArrayCoder
    +
    willDecode(String) - Method in class org.glassfish.tyrus.core.coder.PrimitiveDecoders
     
    -
    willDecode(ByteBuffer) - Method in class org.glassfish.tyrus.core.coder.NoOpByteBufferCoder
    +
    willDecode(String) - Method in class org.glassfish.tyrus.core.coder.ReaderDecoder
     
    -
    willDecode(String) - Method in class org.glassfish.tyrus.core.coder.NoOpTextCoder
    +
    willDecode(ByteBuffer) - Method in interface javax.websocket.Decoder.Binary
    +
    +
    Answer whether the given bytes can be decoded into an object of type T.
    +
    +
    willDecode(ByteBuffer) - Method in class org.glassfish.tyrus.core.coder.InputStreamDecoder
     
    -
    willDecode(String) - Method in class org.glassfish.tyrus.core.coder.PrimitiveDecoders
    +
    willDecode(ByteBuffer) - Method in class org.glassfish.tyrus.core.coder.NoOpByteArrayCoder
     
    -
    willDecode(String) - Method in class org.glassfish.tyrus.core.coder.ReaderDecoder
    +
    willDecode(ByteBuffer) - Method in class org.glassfish.tyrus.core.coder.NoOpByteBufferCoder
     
    WLS_HOSTNAME_VERIFIER_CLASS - Static variable in class org.glassfish.tyrus.client.ClientManager
     
    @@ -6313,7 +6842,7 @@ the order they are declared.
     
    WLS_INCOMING_BUFFER_SIZE - Static variable in interface org.glassfish.tyrus.spi.ClientContainer
    - +
    WLS version of INCOMING_BUFFER_SIZE.
    WLS_MAX_THREADS - Static variable in class org.glassfish.tyrus.client.ClientManager
     
    @@ -6341,28 +6870,28 @@ the order they are declared.
    WORKER_THREAD_POOL_CONFIG - Static variable in class org.glassfish.tyrus.container.grizzly.client.GrizzlyClientSocket
    -
    WORKER_THREAD_POOL_CONFIG - Static variable in class org.glassfish.tyrus.container.grizzly.server.GrizzlyServerContainer
    Server-side property to set custom worker ThreadPoolConfig.
    -
    wrap(Frame, byte, ByteBuffer) - Static method in class org.glassfish.tyrus.core.frame.TyrusFrame
    +
    wrap(Frame, byte, ByteBuffer) - Static method in class org.glassfish.tyrus.core.frame.TyrusFrame
    TyrusFrame factory method.
    -
    write(ByteBuffer, CompletionHandler<ByteBuffer>) - Method in class org.glassfish.tyrus.container.grizzly.client.GrizzlyWriter
    +
    write(ByteBuffer, CompletionHandler<ByteBuffer>) - Method in class org.glassfish.tyrus.container.grizzly.client.GrizzlyWriter
     
    -
    write(ByteBuffer, CompletionHandler<ByteBuffer>) - Method in class org.glassfish.tyrus.spi.Writer
    +
    write(ByteBuffer, CompletionHandler<ByteBuffer>) - Method in class org.glassfish.tyrus.spi.Writer
    - A backward compatible method called from Writer.write(ByteBuffer, CompletionHandler, WriterInfo) + A backward compatible method called from Writer.write(ByteBuffer, CompletionHandler, WriterInfo) to handover the data for a connection to the transport.
    -
    write(ByteBuffer, CompletionHandler<ByteBuffer>, WriterInfo) - Method in class org.glassfish.tyrus.spi.Writer
    +
    write(ByteBuffer, CompletionHandler<ByteBuffer>, WriterInfo) - Method in class org.glassfish.tyrus.spi.Writer
    Tyrus runtime calls this method to handover the data for a connection to the transport.
    @@ -6372,13 +6901,13 @@ the order they are declared.
    Writer class that is used by tyrus runtime to pass outbound websocket data for a connection to a transport.
    -
    Writer() - Constructor for class org.glassfish.tyrus.spi.Writer
    +
    Writer() - Constructor for class org.glassfish.tyrus.spi.Writer
     
    WriterInfo - Class in org.glassfish.tyrus.spi
    Additional data for the transport.
    -
    WriterInfo(WriterInfo.MessageType, WriterInfo.RemoteEndpointType) - Constructor for class org.glassfish.tyrus.spi.WriterInfo
    +
    WriterInfo(WriterInfo.MessageType, WriterInfo.RemoteEndpointType) - Constructor for class org.glassfish.tyrus.spi.WriterInfo
    Create new WriterData instance
    @@ -6397,17 +6926,20 @@ the order they are declared.
    Header containing challenge with authentication scheme and parameters.
    -A B C D E F G H I J K L M N O P Q R S T U V W  +A B C D E F G H I J K L M N O P Q R S T U V W 
    All Classes All Packages +
    + diff --git a/apidocs/latest1x/index.html b/apidocs/latest1x/index.html index e42603fb..e1a65d5d 100644 --- a/apidocs/latest1x/index.html +++ b/apidocs/latest1x/index.html @@ -1,76 +1,289 @@ - + - + +Overview (Tyrus 1.19 API) -Tyrus 1.18 API - + + + + + + + + + + +
    + +
    +
    +

    Tyrus 1.19 API Documentation

    +
    +
    +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    Packages 
    PackageDescription
    javax.websocket +
    This package contains all the WebSocket APIs common to both the client + and server side.
    +
    javax.websocket.server +
    This package contains all the WebSocket APIs used only by server side + applications.
    +
    org.glassfish.tyrus.client +
    Common Client.
    +
    org.glassfish.tyrus.client.auth 
    org.glassfish.tyrus.container.grizzly.client +
    Grizzly Client container.
    +
    org.glassfish.tyrus.container.grizzly.server +
    Grizzly Server container.
    +
    org.glassfish.tyrus.core +
    Core classes.
    +
    org.glassfish.tyrus.core.cluster +
    Cluster relates classes and interfaces.
    +
    org.glassfish.tyrus.core.coder +
    Encoder and decoder adapters and built-in implementations.
    +
    org.glassfish.tyrus.core.collection 
    org.glassfish.tyrus.core.extension +
    WebSocket Extension support.
    +
    org.glassfish.tyrus.core.frame +
    WebSocket frame representations.
    +
    org.glassfish.tyrus.core.l10n +
    Common internal localization utility classes.
    +
    org.glassfish.tyrus.core.monitoring +
    Monitoring interfaces.
    +
    org.glassfish.tyrus.core.uri +
    URI matching.
    +
    org.glassfish.tyrus.core.uri.internal +
    Common classes that provide support for URI templates, + encoding/decoding of URI components and multivalued collections.
    +
    org.glassfish.tyrus.core.wsadl.model 
    org.glassfish.tyrus.gf.cdi +
    Tyrus CDI integration with Glassfish (and possibly other compatible containers).
    +
    org.glassfish.tyrus.gf.ejb +
    Tyrus EJB integration with Glassfish (and possibly other compatible containers).
    +
    org.glassfish.tyrus.server +
    Server implementation.
    +
    org.glassfish.tyrus.servlet +
    Servlet 3.1 integration.
    +
    org.glassfish.tyrus.spi +
    Tyrus SPI.
    +
    +
    +
    +
    + +

    Copyright © 2012–2022 Oracle Corporation. All rights reserved.

    +
    + diff --git a/apidocs/latest1x/javadoc.sh b/apidocs/latest1x/javadoc.sh index 006b6f2a..1f01d1d2 100755 --- a/apidocs/latest1x/javadoc.sh +++ b/apidocs/latest1x/javadoc.sh @@ -1 +1 @@ -/opt/tools/java/oracle/jdk-8/1.8.0_202/jre/../bin/javadoc -J-Xmx512m -J-Xms128m @options @packages \ No newline at end of file +/opt/tools/java/openjdk/jdk-11/latest/bin/javadoc -J-Xmx512m -J-Xms128m @options @packages \ No newline at end of file diff --git a/apidocs/latest1x/javax/websocket/ClientEndpoint.html b/apidocs/latest1x/javax/websocket/ClientEndpoint.html index aeb3ec1e..610b9a7e 100644 --- a/apidocs/latest1x/javax/websocket/ClientEndpoint.html +++ b/apidocs/latest1x/javax/websocket/ClientEndpoint.html @@ -1,38 +1,52 @@ - + - + +ClientEndpoint (Tyrus 1.19 API) -ClientEndpoint (Tyrus 1.18 API) - + + + + + + + + +var pathtoroot = "../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
    + +
    +
    -
    javax.websocket
    +

    Annotation Type ClientEndpoint

    @@ -93,13 +117,12 @@

    • -
      -
      @Retention(value=RUNTIME)
      - @Target(value=TYPE)
      +
      @Retention(RUNTIME)
      +@Target(TYPE)
       public @interface ClientEndpoint
      The ClientEndpoint annotation a class level annotation is used to denote that a POJO is a web socket client and can be deployed as such. Similar to - ServerEndpoint, POJOs that are + ServerEndpoint, POJOs that are annotated with this annotation can have methods that, using the web socket method level annotations, are web socket lifecycle methods.

      @@ -126,46 +149,53 @@ public @interface ClientEndpoint

      • +
          -
        • +
        • Optional Element Summary

          - +
          - + + - - + + - - + + - - + + - +
          Optional Elements 
          Modifier and TypeOptional Element and DescriptionOptional ElementDescription
          java.lang.Class<? extends ClientEndpointConfig.Configurator>configurator +java.lang.Class<? extends ClientEndpointConfig.Configurator>configurator
          An optional custom configurator class that the developer would like to use to provide custom configuration of new instances of this endpoint.
          java.lang.Class<? extends Decoder>[]decoders +java.lang.Class<? extends Decoder>[]decoders
          The array of Java classes that are to act as Decoders for messages coming into the client.
          java.lang.Class<? extends Encoder>[]encoders +java.lang.Class<? extends Encoder>[]encoders
          The array of Java classes that are to act as Encoders for messages sent by the client.
          java.lang.String[]subprotocols +subprotocols
          The names of the subprotocols this client supports.
        +
    @@ -173,18 +203,19 @@ public @interface ClientEndpoint
    • +
        -
      • +
      • Element Detail

        - +
        • subprotocols

          -
          public abstract java.lang.String[] subprotocols
          +
          java.lang.String[] subprotocols
          The names of the subprotocols this client supports.
          Returns:
          @@ -198,14 +229,16 @@ public @interface ClientEndpoint
      +
      +
        -
      • +
        • decoders

          -
          public abstract java.lang.Class<? extends Decoder>[] decoders
          +
          java.lang.Class<? extends Decoder>[] decoders
          The array of Java classes that are to act as Decoders for messages coming into the client.
          @@ -220,14 +253,16 @@ public @interface ClientEndpoint
      +
      +
        -
      • +
        • encoders

          -
          public abstract java.lang.Class<? extends Encoder>[] encoders
          +
          java.lang.Class<? extends Encoder>[] encoders
          The array of Java classes that are to act as Encoders for messages sent by the client.
          Returns:
          @@ -241,14 +276,16 @@ public @interface ClientEndpoint
      +
      +
        -
      • +
        • configurator

          -
          public abstract java.lang.Class<? extends ClientEndpointConfig.Configurator> configurator
          +
          java.lang.Class<? extends ClientEndpointConfig.Configurator> configurator
          An optional custom configurator class that the developer would like to use to provide custom configuration of new instances of this endpoint. The implementation creates a new instance of the configurator per logical endpoint.
          @@ -265,21 +302,25 @@ public @interface ClientEndpoint
      +
    +
    + diff --git a/apidocs/latest1x/javax/websocket/ClientEndpointConfig.Builder.html b/apidocs/latest1x/javax/websocket/ClientEndpointConfig.Builder.html index c50aedf6..671d3e87 100644 --- a/apidocs/latest1x/javax/websocket/ClientEndpointConfig.Builder.html +++ b/apidocs/latest1x/javax/websocket/ClientEndpointConfig.Builder.html @@ -1,44 +1,58 @@ - + - + +ClientEndpointConfig.Builder (Tyrus 1.19 API) -ClientEndpointConfig.Builder (Tyrus 1.18 API) - + + + + + + + + +var pathtoroot = "../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
    + +
    +
    -
    javax.websocket
    +

    Class ClientEndpointConfig.Builder

    @@ -110,14 +134,13 @@ var activeTableTab = "activeTableTab";
  • Enclosing interface:
    -
    ClientEndpointConfig
    +
    ClientEndpointConfig

    -
    public static final class ClientEndpointConfig.Builder
     extends java.lang.Object
    The ClientEndpointConfig.Builder is a class used for creating - ClientEndpointConfig objects for the purposes of + ClientEndpointConfig objects for the purposes of deploying a client endpoint. Here are some examples: Building a plain configuration with no encoders, decoders, subprotocols or extensions. @@ -143,64 +166,73 @@ extends java.lang.Object
    @@ -215,18 +248,19 @@ extends java.lang.Object
  • +
    + diff --git a/apidocs/latest1x/javax/websocket/ClientEndpointConfig.Configurator.html b/apidocs/latest1x/javax/websocket/ClientEndpointConfig.Configurator.html index fec8bddd..372d0e80 100644 --- a/apidocs/latest1x/javax/websocket/ClientEndpointConfig.Configurator.html +++ b/apidocs/latest1x/javax/websocket/ClientEndpointConfig.Configurator.html @@ -1,44 +1,58 @@ - + - + +ClientEndpointConfig.Configurator (Tyrus 1.19 API) -ClientEndpointConfig.Configurator (Tyrus 1.18 API) - + + + + + + + + +var pathtoroot = "../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
    + +
    +
    -
    javax.websocket
    +

    Class ClientEndpointConfig.Configurator

    @@ -110,10 +134,9 @@ var activeTableTab = "activeTableTab";
  • Enclosing interface:
    -
    ClientEndpointConfig
    +
    ClientEndpointConfig

    -
    public static class ClientEndpointConfig.Configurator
     extends java.lang.Object
    The Configurator class may be extended by developers who want to @@ -127,44 +150,52 @@ extends java.lang.Object
    • +
        -
      • +
      • Constructor Summary

        - +
        - + + - + +
        Constructors 
        Constructor and DescriptionConstructorDescription
        Configurator() Configurator() 
      +
      +
        -
      • +
      • Method Summary

        - +
        - + + - + - +
        All Methods Instance Methods Concrete Methods 
        Modifier and TypeMethod and DescriptionMethodDescription
        voidafterResponse(HandshakeResponse hr) +afterResponse​(HandshakeResponse hr)
        This method is called by the implementation after it has received a handshake response from the server as a result of a handshake interaction it initiated.
        voidbeforeRequest(java.util.Map<java.lang.String,java.util.List<java.lang.String>> headers) +beforeRequest​(java.util.Map<java.lang.String,​java.util.List<java.lang.String>> headers)
        This method is called by the implementation after it has formulated the handshake request that will be used to initiate the connection to the server, but before it has sent any part of the request.
        @@ -172,7 +203,7 @@ extends java.lang.Object
          -
        • +
        • Methods inherited from class java.lang.Object

          @@ -180,6 +211,7 @@ extends java.lang.Object
      +
    @@ -187,12 +219,13 @@ extends java.lang.Object
    • +
        -
      • +
      • Constructor Detail

        - +
          @@ -203,19 +236,21 @@ extends java.lang.Object
      +
      +
        -
      • +
      • Method Detail

        - +
        • beforeRequest

          -
          public void beforeRequest(java.util.Map<java.lang.String,java.util.List<java.lang.String>> headers)
          +
          public void beforeRequest​(java.util.Map<java.lang.String,​java.util.List<java.lang.String>> headers)
          This method is called by the implementation after it has formulated the handshake request that will be used to initiate the connection to the server, but before it has sent any part of the request. This allows the developer to inspect and modify the @@ -227,13 +262,13 @@ extends java.lang.Object
        - +
        • afterResponse

          -
          public void afterResponse(HandshakeResponse hr)
          +
          public void afterResponse​(HandshakeResponse hr)
          This method is called by the implementation after it has received a handshake response from the server as a result of a handshake interaction it initiated. The developer may implement this method in order to inspect the returning handshake response.
          @@ -245,21 +280,25 @@ extends java.lang.Object
      +
  • +
    + diff --git a/apidocs/latest1x/javax/websocket/ClientEndpointConfig.html b/apidocs/latest1x/javax/websocket/ClientEndpointConfig.html index 030b9ce4..0a3c60fb 100644 --- a/apidocs/latest1x/javax/websocket/ClientEndpointConfig.html +++ b/apidocs/latest1x/javax/websocket/ClientEndpointConfig.html @@ -1,44 +1,58 @@ - + - + +ClientEndpointConfig (Tyrus 1.19 API) -ClientEndpointConfig (Tyrus 1.18 API) - + + + + + + + + +var pathtoroot = "../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
    + +
    +
    -
    javax.websocket
    +

    Interface ClientEndpointConfig

    @@ -102,18 +126,17 @@ var activeTableTab = "activeTableTab";
  • All Superinterfaces:
    -
    EndpointConfig
    +
    EndpointConfig

    -
    public interface ClientEndpointConfig
    -extends EndpointConfig
    +extends EndpointConfig
    The ClientEndpointConfig is a special kind of endpoint configuration object that contains web socket configuration information specific only to client endpoints. Developers deploying programmatic client endpoints can create instances of this configuration by - using a ClientEndpointConfig.Builder. Developers can override some + using a ClientEndpointConfig.Builder. Developers can override some of the configuration operations by providing an implementation of - ClientEndpointConfig.Configurator.
    + ClientEndpointConfig.Configurator.
  • Author:
    dannycoward
    @@ -125,28 +148,32 @@ extends
  • +
      -
    • +
    • Nested Class Summary

      - +
      - + + - + - +
      Nested Classes 
      Modifier and TypeInterface and DescriptionInterfaceDescription
      static class ClientEndpointConfig.Builder +ClientEndpointConfig.Builder
      The ClientEndpointConfig.Builder is a class used for creating - ClientEndpointConfig objects for the purposes of + ClientEndpointConfig objects for the purposes of deploying a client endpoint.
      static class ClientEndpointConfig.Configurator +ClientEndpointConfig.Configurator
      The Configurator class may be extended by developers who want to provide custom configuration algorithms, such as intercepting the opening handshake, or providing arbitrary methods and algorithms that can be accessed from each endpoint @@ -156,34 +183,40 @@ extends
        -
      • +
      • Method Summary

        - +
        - + + - - + + - - + + - +
        All Methods Instance Methods Abstract Methods 
        Modifier and TypeMethod and DescriptionMethodDescription
        ClientEndpointConfig.ConfiguratorgetConfigurator() +ClientEndpointConfig.ConfiguratorgetConfigurator()
        Return the custom configurator for this configuration.
        java.util.List<Extension>getExtensions() +java.util.List<Extension>getExtensions()
        Return the extensions, in order of preference, favorite first, that this client would like to use for its sessions.
        java.util.List<java.lang.String>getPreferredSubprotocols() +getPreferredSubprotocols()
        Return the ordered list of sub protocols a client endpoint would like to use, in order of preference, favorite first that this client would like to use for its sessions.
        @@ -191,14 +224,15 @@ extends -
      • +
      • -

        Methods inherited from interface javax.websocket.EndpointConfig

        -getDecoders, getEncoders, getUserProperties
      • +

        Methods inherited from interface javax.websocket.EndpointConfig

        +getDecoders, getEncoders, getUserProperties + @@ -206,18 +240,19 @@ extends
      • +
          -
        • +
        • Method Detail

          - +
          • getPreferredSubprotocols

            -
            java.util.List<java.lang.String> getPreferredSubprotocols()
            +
            java.util.List<java.lang.String> getPreferredSubprotocols()
            Return the ordered list of sub protocols a client endpoint would like to use, in order of preference, favorite first that this client would like to use for its sessions. @@ -230,13 +265,13 @@ extends +
            • getExtensions

              -
              java.util.List<Extension> getExtensions()
              +
              java.util.List<Extension> getExtensions()
              Return the extensions, in order of preference, favorite first, that this client would like to use for its sessions. These are the extensions that will be used to populate the Sec-WebSocket-Extensions header in the opening handshake for clients @@ -248,13 +283,13 @@ extends +
              • getConfigurator

                -
                ClientEndpointConfig.Configurator getConfigurator()
                +
                ClientEndpointConfig.Configurator getConfigurator()
                Return the custom configurator for this configuration. If the developer did not provide one, the platform default configurator is returned.
                @@ -265,21 +300,25 @@ extends +

                Copyright © 2012–2022 Oracle Corporation. All rights reserved.

                + diff --git a/apidocs/latest1x/javax/websocket/CloseReason.CloseCode.html b/apidocs/latest1x/javax/websocket/CloseReason.CloseCode.html index db1985be..56012a14 100644 --- a/apidocs/latest1x/javax/websocket/CloseReason.CloseCode.html +++ b/apidocs/latest1x/javax/websocket/CloseReason.CloseCode.html @@ -1,44 +1,58 @@ - + - + +CloseReason.CloseCode (Tyrus 1.19 API) -CloseReason.CloseCode (Tyrus 1.18 API) - + + + + + + + + +var pathtoroot = "../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
                + +
                +
                -
                javax.websocket
                +

                Interface CloseReason.CloseCode

                @@ -102,14 +126,13 @@ var activeTableTab = "activeTableTab";
              • All Known Implementing Classes:
                -
                CloseReason.CloseCodes
                +
                CloseReason.CloseCodes
                Enclosing class:
                -
                CloseReason
                +
                CloseReason

                -
                public static interface CloseReason.CloseCode
                A marker interface for the close codes. This interface may be implemented by enumerations that contain web socket close codes, for @@ -124,26 +147,30 @@ var activeTableTab = "activeTableTab";
                • +
                  +
                @@ -151,18 +178,19 @@ var activeTableTab = "activeTableTab";
                • +
                    -
                  • +
                  • Method Detail

                    - +
                    • getCode

                      -
                      int getCode()
                      +
                      int getCode()
                      Returns the code number, for example the integer '1000' for normal closure.
                      Returns:
                      @@ -172,21 +200,25 @@ var activeTableTab = "activeTableTab";
                  +
              + + diff --git a/apidocs/latest1x/javax/websocket/CloseReason.CloseCodes.html b/apidocs/latest1x/javax/websocket/CloseReason.CloseCodes.html index b36139d9..3effd37c 100644 --- a/apidocs/latest1x/javax/websocket/CloseReason.CloseCodes.html +++ b/apidocs/latest1x/javax/websocket/CloseReason.CloseCodes.html @@ -1,44 +1,58 @@ - + - + +CloseReason.CloseCodes (Tyrus 1.19 API) -CloseReason.CloseCodes (Tyrus 1.18 API) - + + + + + + + + +var pathtoroot = "../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
              + +
              +
              -
              javax.websocket
              +

              Enum CloseReason.CloseCodes

              @@ -101,7 +125,7 @@ var activeTableTab = "activeTableTab";
            • java.lang.Object
          +
      • @@ -304,87 +352,88 @@ the order they are declared.
        • +
            -
          • +
          • Enum Constant Detail

            - +
            • NORMAL_CLOSURE

              -
              public static final CloseReason.CloseCodes NORMAL_CLOSURE
              +
              public static final CloseReason.CloseCodes NORMAL_CLOSURE
              1000 indicates a normal closure, meaning that the purpose for which the connection was established has been fulfilled.
            - +
            • GOING_AWAY

              -
              public static final CloseReason.CloseCodes GOING_AWAY
              +
              public static final CloseReason.CloseCodes GOING_AWAY
              1001 indicates that an endpoint is "going away", such as a server going down or a browser having navigated away from a page.
            - +
            • PROTOCOL_ERROR

              -
              public static final CloseReason.CloseCodes PROTOCOL_ERROR
              +
              public static final CloseReason.CloseCodes PROTOCOL_ERROR
              1002 indicates that an endpoint is terminating the connection due to a protocol error.
            - +
            • CANNOT_ACCEPT

              -
              public static final CloseReason.CloseCodes CANNOT_ACCEPT
              +
              public static final CloseReason.CloseCodes CANNOT_ACCEPT
              1003 indicates that an endpoint is terminating the connection because it has received a type of data it cannot accept (e.g., an endpoint that understands only text data MAY send this if it receives a binary message).
            - + - +
            • NO_STATUS_CODE

              -
              public static final CloseReason.CloseCodes NO_STATUS_CODE
              +
              public static final CloseReason.CloseCodes NO_STATUS_CODE
              1005 is a reserved value and MUST NOT be set as a status code in a Close control frame by an endpoint. It is designated for use in applications expecting a status code to indicate that no status code was actually present.
            - +
            • CLOSED_ABNORMALLY

              -
              public static final CloseReason.CloseCodes CLOSED_ABNORMALLY
              +
              public static final CloseReason.CloseCodes CLOSED_ABNORMALLY
              1006 is a reserved value and MUST NOT be set as a status code in a Close control frame by an endpoint. It is designated for use in applications expecting a status code to indicate that the @@ -392,26 +441,26 @@ the order they are declared.
              receiving a Close control frame.
            - +
            • NOT_CONSISTENT

              -
              public static final CloseReason.CloseCodes NOT_CONSISTENT
              +
              public static final CloseReason.CloseCodes NOT_CONSISTENT
              1007 indicates that an endpoint is terminating the connection because it has received data within a message that was not consistent with the type of the message (e.g., non-UTF-8 data within a text message).
            - +
            • VIOLATED_POLICY

              -
              public static final CloseReason.CloseCodes VIOLATED_POLICY
              +
              public static final CloseReason.CloseCodes VIOLATED_POLICY
              1008 indicates that an endpoint is terminating the connection because it has received a message that violates its policy. This is a generic status code that can be returned when there is no @@ -419,25 +468,25 @@ the order they are declared.
              is a need to hide specific details about the policy.
            - +
            • TOO_BIG

              -
              public static final CloseReason.CloseCodes TOO_BIG
              +
              public static final CloseReason.CloseCodes TOO_BIG
              1009 indicates that an endpoint is terminating the connection because it has received a message that is too big for it to process.
            - +
            • NO_EXTENSION

              -
              public static final CloseReason.CloseCodes NO_EXTENSION
              +
              public static final CloseReason.CloseCodes NO_EXTENSION
              1010 indicates that an endpoint (client) is terminating the connection because it has expected the server to negotiate one or more extension, but the server didn't return them in the response @@ -447,45 +496,45 @@ the order they are declared.
              can fail the WebSocket handshake instead.
            - +
            • UNEXPECTED_CONDITION

              -
              public static final CloseReason.CloseCodes UNEXPECTED_CONDITION
              +
              public static final CloseReason.CloseCodes UNEXPECTED_CONDITION
              1011 indicates that a server is terminating the connection because it encountered an unexpected condition that prevented it from fulfilling the request.
            - + - + - +
            • TLS_HANDSHAKE_FAILURE

              -
              public static final CloseReason.CloseCodes TLS_HANDSHAKE_FAILURE
              +
              public static final CloseReason.CloseCodes TLS_HANDSHAKE_FAILURE
              1015 is a reserved value and MUST NOT be set as a status code in a Close control frame by an endpoint. It is designated for use in applications expecting a status code to indicate that the @@ -495,21 +544,23 @@ the order they are declared.
          +
          +
            -
          • +
          • Method Detail

            - +
            • values

              -
              public static CloseReason.CloseCodes[] values()
              +
              public static CloseReason.CloseCodes[] values()
              Returns an array containing the constants of this enum type, in -the order they are declared. This method may be used to iterate +the order they are declared. This method may be used to iterate over the constants as follows:
               for (CloseReason.CloseCodes c : CloseReason.CloseCodes.values())
              @@ -521,13 +572,13 @@ for (CloseReason.CloseCodes c : CloseReason.CloseCodes.values())
               
               
            - +
            • valueOf

              -
              public static CloseReason.CloseCodes valueOf(java.lang.String name)
              +
              public static CloseReason.CloseCodes valueOf​(java.lang.String name)
              Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are @@ -543,13 +594,13 @@ not permitted.)
            - +
            • getCloseCode

              -
              public static CloseReason.CloseCode getCloseCode(int code)
              +
              public static CloseReason.CloseCode getCloseCode​(int code)
              Creates a CloseCode from the given int code number. This method throws an IllegalArgumentException if the int is not one of the
              @@ -562,17 +613,17 @@ not permitted.)
            - +
          +
        + + diff --git a/apidocs/latest1x/javax/websocket/CloseReason.html b/apidocs/latest1x/javax/websocket/CloseReason.html index ffcb54ad..4a957e5c 100644 --- a/apidocs/latest1x/javax/websocket/CloseReason.html +++ b/apidocs/latest1x/javax/websocket/CloseReason.html @@ -1,44 +1,58 @@ - + - + +CloseReason (Tyrus 1.19 API) -CloseReason (Tyrus 1.18 API) - + + + + + + + + +var pathtoroot = "../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
        + +
        +
        -
        javax.websocket
        +

        Class CloseReason

        @@ -109,7 +133,6 @@ var activeTableTab = "activeTableTab";

        • -
          public class CloseReason
           extends java.lang.Object
          A class encapsulating the reason why a web socket has been closed, or why it is being asked to @@ -126,26 +149,30 @@ extends java.lang.Object
          @@ -221,18 +259,19 @@ extends java.lang.Object
          • +
              -
            • +
            • Constructor Detail

              - +
              • CloseReason

                -
                public CloseReason(CloseReason.CloseCode closeCode,
                +
                public CloseReason​(CloseReason.CloseCode closeCode,
                                    java.lang.String reasonPhrase)
                Creates a reason for closing a web socket connection with the given code and reason phrase.
                @@ -245,19 +284,21 @@ extends java.lang.Object
            +
            +
              -
            • +
            • Method Detail

              - +
              • getCloseCode

                -
                public CloseReason.CloseCode getCloseCode()
                +
                public CloseReason.CloseCode getCloseCode()
                The Close code associated with this CloseReason.
                Returns:
                @@ -265,13 +306,13 @@ extends java.lang.Object
              - +
              • getReasonPhrase

                -
                public java.lang.String getReasonPhrase()
                +
                public java.lang.String getReasonPhrase()
                The reason phrase associated with this CloseReason.
                Returns:
                @@ -280,13 +321,13 @@ extends java.lang.Object
              - +
              • toString

                -
                public java.lang.String toString()
                +
                public java.lang.String toString()
                Converts the CloseReason to a debug-friendly string. The exact format is not defined by the specification and may change in future releases.
                @@ -299,21 +340,25 @@ extends java.lang.Object
            +
        +
        + diff --git a/apidocs/latest1x/javax/websocket/ContainerProvider.html b/apidocs/latest1x/javax/websocket/ContainerProvider.html index 90378e96..ba4b55f9 100644 --- a/apidocs/latest1x/javax/websocket/ContainerProvider.html +++ b/apidocs/latest1x/javax/websocket/ContainerProvider.html @@ -1,44 +1,58 @@ - + - + +ContainerProvider (Tyrus 1.19 API) -ContainerProvider (Tyrus 1.18 API) - + + + + + + + + +var pathtoroot = "../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
        + +
        +
        -
        javax.websocket
        +

        Class ContainerProvider

        @@ -110,10 +134,9 @@ var activeTableTab = "activeTableTab";
      • Direct Known Subclasses:
        -
        GrizzlyContainerProvider
        +
        GrizzlyContainerProvider

        -
        public abstract class ContainerProvider
         extends java.lang.Object
        Provider class that allows the developer to get a reference to @@ -134,49 +157,57 @@ extends java.lang.Object
        @@ -191,12 +223,13 @@ extends java.lang.Object
        • +
            -
          • +
          • Constructor Detail

            - +
              @@ -207,19 +240,21 @@ extends java.lang.Object
          +
          +
            -
          • +
          • Method Detail

            - +
            • getWebSocketContainer

              -
              public static WebSocketContainer getWebSocketContainer()
              +
              public static WebSocketContainer getWebSocketContainer()
              Obtain a new instance of a WebSocketContainer. The method looks for the ContainerProvider implementation class in the order listed in the META-INF/services/javax.websocket.ContainerProvider file, returning the WebSocketContainer implementation from the ContainerProvider implementation @@ -230,13 +265,13 @@ extends java.lang.Object
            - +
            • getContainer

              -
              protected abstract WebSocketContainer getContainer()
              +
              protected abstract WebSocketContainer getContainer()
              Load the container implementation.
              Returns:
              @@ -246,21 +281,25 @@ extends java.lang.Object
          +
      • +
        + diff --git a/apidocs/latest1x/javax/websocket/DecodeException.html b/apidocs/latest1x/javax/websocket/DecodeException.html index 613e50f0..3cb24b6e 100644 --- a/apidocs/latest1x/javax/websocket/DecodeException.html +++ b/apidocs/latest1x/javax/websocket/DecodeException.html @@ -1,44 +1,58 @@ - + - + +DecodeException (Tyrus 1.19 API) -DecodeException (Tyrus 1.18 API) - + + + + + + + + +var pathtoroot = "../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
        + +
        +
        -
        javax.websocket
        +

        Class DecodeException

        @@ -120,10 +144,9 @@ var activeTableTab = "activeTableTab";
      • All Implemented Interfaces:
        -
        java.io.Serializable
        +
        java.io.Serializable

        -
        public class DecodeException
         extends java.lang.Exception
        A general exception that occurs when trying to decode a custom object from a text or binary message.
        @@ -140,64 +163,74 @@ extends java.lang.Exception
        • +
            -
          • +
          • Constructor Summary

            - +
            - + + - + - + - + - +
            Constructors 
            Constructor and DescriptionConstructorDescription
            DecodeException(java.nio.ByteBuffer bb, - java.lang.String message) -
            Constructs a DecodedException with the given ByteBuffer that cannot +
            DecodeException​(java.lang.String encodedString, + java.lang.String message) +
            Constructs a DecodedException with the given encoded string that cannot be decoded, and reason why.
            DecodeException(java.nio.ByteBuffer bb, +DecodeException​(java.lang.String encodedString, java.lang.String message, - java.lang.Throwable cause) -
            Constructor with the binary data that could not be decoded, and the - reason why it failed to be, and the cause.
            + java.lang.Throwable cause)
            +
            Constructor with the text data that could not be decoded, and the reason + why it failed to be, and the cause.
            DecodeException(java.lang.String encodedString, - java.lang.String message) -
            Constructs a DecodedException with the given encoded string that cannot +
            DecodeException​(java.nio.ByteBuffer bb, + java.lang.String message) +
            Constructs a DecodedException with the given ByteBuffer that cannot be decoded, and reason why.
            DecodeException(java.lang.String encodedString, +DecodeException​(java.nio.ByteBuffer bb, java.lang.String message, - java.lang.Throwable cause) -
            Constructor with the text data that could not be decoded, and the reason - why it failed to be, and the cause.
            + java.lang.Throwable cause)
            +
            Constructor with the binary data that could not be decoded, and the + reason why it failed to be, and the cause.
          +
          +
            -
          • +
          • Method Summary

            - +
            - + + - + - +
            All Methods Instance Methods Concrete Methods 
            Modifier and TypeMethod and DescriptionMethodDescription
            java.nio.ByteBuffergetBytes() +getBytes()
            Return the ByteBuffer containing either the whole message, or the partial message, that could not be decoded, or null if this exception arose from a failure to decode a text message.
            @@ -205,7 +238,8 @@ extends java.lang.Exception
            java.lang.StringgetText() +getText()
            Return the encoded string that is either the whole message, or the partial message that could not be decoded, or null if this exception arose from a failure to decode a binary message..
            @@ -213,14 +247,14 @@ extends java.lang.Exception
              -
            • +
            • Methods inherited from class java.lang.Throwable

              addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
              -
            • +
            • Methods inherited from class java.lang.Object

              @@ -228,6 +262,7 @@ extends java.lang.Exception
          +
      • @@ -235,18 +270,19 @@ extends java.lang.Exception
        • +
            -
          • +
          • Constructor Detail

            - +
            • DecodeException

              -
              public DecodeException(java.nio.ByteBuffer bb,
              +
              public DecodeException​(java.nio.ByteBuffer bb,
                                      java.lang.String message,
                                      java.lang.Throwable cause)
              Constructor with the binary data that could not be decoded, and the @@ -263,13 +299,13 @@ extends java.lang.Exception
            - +
            • DecodeException

              -
              public DecodeException(java.lang.String encodedString,
              +
              public DecodeException​(java.lang.String encodedString,
                                      java.lang.String message,
                                      java.lang.Throwable cause)
              Constructor with the text data that could not be decoded, and the reason @@ -285,13 +321,13 @@ extends java.lang.Exception
            - +
            • DecodeException

              -
              public DecodeException(java.nio.ByteBuffer bb,
              +
              public DecodeException​(java.nio.ByteBuffer bb,
                                      java.lang.String message)
              Constructs a DecodedException with the given ByteBuffer that cannot be decoded, and reason why. The buffer may represent the @@ -306,13 +342,13 @@ extends java.lang.Exception
            - +
            • DecodeException

              -
              public DecodeException(java.lang.String encodedString,
              +
              public DecodeException​(java.lang.String encodedString,
                                      java.lang.String message)
              Constructs a DecodedException with the given encoded string that cannot be decoded, and reason why. The encoded string may represent the whole message, @@ -329,19 +365,21 @@ extends java.lang.Exception
          +
          +
            -
          • +
          • Method Detail

            - +
            • getBytes

              -
              public java.nio.ByteBuffer getBytes()
              +
              public java.nio.ByteBuffer getBytes()
              Return the ByteBuffer containing either the whole message, or the partial message, that could not be decoded, or null if this exception arose from a failure to decode a text message.
              @@ -351,13 +389,13 @@ extends java.lang.Exception
            - +
            • getText

              -
              public java.lang.String getText()
              +
              public java.lang.String getText()
              Return the encoded string that is either the whole message, or the partial message that could not be decoded, or null if this exception arose from a failure to decode a binary message..
              @@ -369,21 +407,25 @@ extends java.lang.Exception
          +
        +
        + diff --git a/apidocs/latest1x/javax/websocket/Decoder.Binary.html b/apidocs/latest1x/javax/websocket/Decoder.Binary.html index 8b96556a..629e4dd2 100644 --- a/apidocs/latest1x/javax/websocket/Decoder.Binary.html +++ b/apidocs/latest1x/javax/websocket/Decoder.Binary.html @@ -1,44 +1,58 @@ - + - + +Decoder.Binary (Tyrus 1.19 API) -Decoder.Binary (Tyrus 1.18 API) - + + + + + + + + +var pathtoroot = "../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
        + +
        +
        -
        javax.websocket
        +

        Interface Decoder.Binary<T>

        @@ -102,20 +126,19 @@ var activeTableTab = "activeTableTab";
      • All Superinterfaces:
        -
        Decoder
        +
        Decoder
        All Known Implementing Classes:
        -
        InputStreamDecoder, NoOpByteArrayCoder, NoOpByteBufferCoder
        +
        InputStreamDecoder, NoOpByteArrayCoder, NoOpByteBufferCoder
        Enclosing interface:
        -
        Decoder
        +
        Decoder

        -
        public static interface Decoder.Binary<T>
        -extends Decoder
        +extends Decoder
        This interface defines how a custom object (of type T) is decoded from a web socket message in the form of a byte buffer.
      • @@ -125,54 +148,61 @@ extends
      • +
        +
        +
          -
        • +
        • Method Summary

          - +
          - + + - - + + - +
          All Methods Instance Methods Abstract Methods 
          Modifier and TypeMethod and DescriptionMethodDescription
          Tdecode(java.nio.ByteBuffer bytes) +Tdecode​(java.nio.ByteBuffer bytes)
          Decode the given bytes into an object of type T.
          booleanwillDecode(java.nio.ByteBuffer bytes) +willDecode​(java.nio.ByteBuffer bytes)
          Answer whether the given bytes can be decoded into an object of type T.
        +
      • @@ -180,19 +210,20 @@ extends
      • +
          -
        • +
        • Method Detail

          - + - +
          • willDecode

            -
            boolean willDecode(java.nio.ByteBuffer bytes)
            +
            boolean willDecode​(java.nio.ByteBuffer bytes)
            Answer whether the given bytes can be decoded into an object of type T.
            Parameters:
            @@ -222,21 +253,25 @@ extends +

            Copyright © 2012–2022 Oracle Corporation. All rights reserved.

            + diff --git a/apidocs/latest1x/javax/websocket/Decoder.BinaryStream.html b/apidocs/latest1x/javax/websocket/Decoder.BinaryStream.html index aa929d87..8f5c5abb 100644 --- a/apidocs/latest1x/javax/websocket/Decoder.BinaryStream.html +++ b/apidocs/latest1x/javax/websocket/Decoder.BinaryStream.html @@ -1,44 +1,58 @@ - + - + +Decoder.BinaryStream (Tyrus 1.19 API) -Decoder.BinaryStream (Tyrus 1.18 API) - + + + + + + + + +var pathtoroot = "../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
            + +
            +
            -
            javax.websocket
            +

            Interface Decoder.BinaryStream<T>

            @@ -102,16 +126,15 @@ var activeTableTab = "activeTableTab";
          • All Superinterfaces:
            -
            Decoder
            +
            Decoder
            Enclosing interface:
            -
            Decoder
            +
            Decoder

            -
            public static interface Decoder.BinaryStream<T>
            -extends Decoder
            +extends Decoder
            This interface defines how a custom object is decoded from a web socket message in the form of a binary stream.
          • @@ -121,48 +144,54 @@ extends
          • +
            +
            +
              -
            • +
            • Method Summary

              - +
              - + + - - + +
              All Methods Instance Methods Abstract Methods 
              Modifier and TypeMethod and DescriptionMethodDescription
              Tdecode(java.io.InputStream is) +Tdecode​(java.io.InputStream is)
              Decode the given bytes read from the input stream into an object of type T.
            +
          @@ -170,19 +199,20 @@ extends
        • +
          +
        +
      • + diff --git a/apidocs/latest1x/javax/websocket/Decoder.Text.html b/apidocs/latest1x/javax/websocket/Decoder.Text.html index 7aa7395b..53c9f8cd 100644 --- a/apidocs/latest1x/javax/websocket/Decoder.Text.html +++ b/apidocs/latest1x/javax/websocket/Decoder.Text.html @@ -1,44 +1,58 @@ - + - + +Decoder.Text (Tyrus 1.19 API) -Decoder.Text (Tyrus 1.18 API) - + + + + + + + + +var pathtoroot = "../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
        + +
        +
        -
        javax.websocket
        +

        Interface Decoder.Text<T>

        @@ -102,20 +126,19 @@ var activeTableTab = "activeTableTab";
      • All Superinterfaces:
        -
        Decoder
        +
        Decoder
        All Known Implementing Classes:
        -
        NoOpTextCoder, PrimitiveDecoders, PrimitiveDecoders.BooleanDecoder, PrimitiveDecoders.ByteDecoder, PrimitiveDecoders.CharacterDecoder, PrimitiveDecoders.DoubleDecoder, PrimitiveDecoders.FloatDecoder, PrimitiveDecoders.IntegerDecoder, PrimitiveDecoders.LongDecoder, PrimitiveDecoders.ShortDecoder, ReaderDecoder
        +
        NoOpTextCoder, PrimitiveDecoders, PrimitiveDecoders.BooleanDecoder, PrimitiveDecoders.ByteDecoder, PrimitiveDecoders.CharacterDecoder, PrimitiveDecoders.DoubleDecoder, PrimitiveDecoders.FloatDecoder, PrimitiveDecoders.IntegerDecoder, PrimitiveDecoders.LongDecoder, PrimitiveDecoders.ShortDecoder, ReaderDecoder
        Enclosing interface:
        -
        Decoder
        +
        Decoder

        -
        public static interface Decoder.Text<T>
        -extends Decoder
        +extends Decoder
        This interface defines how a custom object is decoded from a web socket message in the form of a string.
      • @@ -125,54 +148,61 @@ extends
      • +
        +
        +
          -
        • +
        • Method Summary

          - +
          - + + - - + + - +
          All Methods Instance Methods Abstract Methods 
          Modifier and TypeMethod and DescriptionMethodDescription
          Tdecode(java.lang.String s) +Tdecode​(java.lang.String s)
          Decode the given String into an object of type T.
          booleanwillDecode(java.lang.String s) +willDecode​(java.lang.String s)
          Answer whether the given String can be decoded into an object of type T.
        +
      • @@ -180,19 +210,20 @@ extends
      • +
        +
      • + diff --git a/apidocs/latest1x/javax/websocket/Decoder.html b/apidocs/latest1x/javax/websocket/Decoder.html index 429e7b8c..f8dc1fcd 100644 --- a/apidocs/latest1x/javax/websocket/Decoder.html +++ b/apidocs/latest1x/javax/websocket/Decoder.html @@ -1,44 +1,58 @@ - + - + +Decoder (Tyrus 1.19 API) -Decoder (Tyrus 1.18 API) - + + + + + + + + +var pathtoroot = "../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
        + +
        +
        -
        javax.websocket
        +

        Interface Decoder

        @@ -102,21 +126,20 @@ var activeTableTab = "activeTableTab";
      • All Known Subinterfaces:
        -
        Decoder.Binary<T>, Decoder.BinaryStream<T>, Decoder.Text<T>, Decoder.TextStream<T>
        +
        Decoder.Binary<T>, Decoder.BinaryStream<T>, Decoder.Text<T>, Decoder.TextStream<T>
        All Known Implementing Classes:
        -
        CoderWrapper, InputStreamDecoder, NoOpByteArrayCoder, NoOpByteBufferCoder, NoOpTextCoder, PrimitiveDecoders, PrimitiveDecoders.BooleanDecoder, PrimitiveDecoders.ByteDecoder, PrimitiveDecoders.CharacterDecoder, PrimitiveDecoders.DoubleDecoder, PrimitiveDecoders.FloatDecoder, PrimitiveDecoders.IntegerDecoder, PrimitiveDecoders.LongDecoder, PrimitiveDecoders.ShortDecoder, ReaderDecoder
        +
        CoderWrapper, InputStreamDecoder, NoOpByteArrayCoder, NoOpByteBufferCoder, NoOpTextCoder, PrimitiveDecoders, PrimitiveDecoders.BooleanDecoder, PrimitiveDecoders.ByteDecoder, PrimitiveDecoders.CharacterDecoder, PrimitiveDecoders.DoubleDecoder, PrimitiveDecoders.FloatDecoder, PrimitiveDecoders.IntegerDecoder, PrimitiveDecoders.LongDecoder, PrimitiveDecoders.ShortDecoder, ReaderDecoder

        -
        public interface Decoder
        The Decoder interface holds member interfaces that define how a developer can provide the web socket container a way web socket messages into developer defined custom objects. The websocket implementation creates a new instance of the decoder per endpoint instance per connection. The lifecycle of the Decoder instance is governed by the container calls to the - init(javax.websocket.EndpointConfig) and destroy() + init(javax.websocket.EndpointConfig) and destroy() methods.
        Author:
        @@ -129,41 +152,47 @@ var activeTableTab = "activeTableTab";
        • +
            -
          • +
          • Nested Class Summary

            - +
            - + + - + - + - + - + @@ -171,21 +200,25 @@ var activeTableTab = "activeTableTab";
            Nested Classes 
            Modifier and TypeInterface and DescriptionInterfaceDescription
            static interface Decoder.Binary<T> +Decoder.Binary<T>
            This interface defines how a custom object (of type T) is decoded from a web socket message in the form of a byte buffer.
            static interface Decoder.BinaryStream<T> +Decoder.BinaryStream<T>
            This interface defines how a custom object is decoded from a web socket message in the form of a binary stream.
            static interface Decoder.Text<T> +Decoder.Text<T>
            This interface defines how a custom object is decoded from a web socket message in the form of a string.
            static interface Decoder.TextStream<T> +Decoder.TextStream<T>
            This interface defines how a custom object of type T is decoded from a web socket message in the form of a character stream.
          +
          +
            -
          • +
          • Method Summary

            - +
            - + + - + - +
            All Methods Instance Methods Abstract Methods 
            Modifier and TypeMethod and DescriptionMethodDescription
            voiddestroy() +destroy()
            This method is called when the decoder is about to be removed from service in order that any resources the encoder used may be closed gracefully.
            @@ -193,7 +226,8 @@ var activeTableTab = "activeTableTab";
            voidinit(EndpointConfig config) +init​(EndpointConfig config)
            This method is called with the endpoint configuration object of the endpoint this decoder is intended for when it is about to be brought into service.
            @@ -202,6 +236,7 @@ var activeTableTab = "activeTableTab";
          +
      • @@ -209,18 +244,19 @@ var activeTableTab = "activeTableTab";
        • +
            -
          • +
          • Method Detail

            - +
            • init

              -
              void init(EndpointConfig config)
              +
              void init​(EndpointConfig config)
              This method is called with the endpoint configuration object of the endpoint this decoder is intended for when it is about to be brought into service.
              @@ -231,13 +267,13 @@ var activeTableTab = "activeTableTab";
            - +
            • destroy

              -
              void destroy()
              +
              void destroy()
              This method is called when the decoder is about to be removed from service in order that any resources the encoder used may be closed gracefully.
              @@ -245,21 +281,25 @@ var activeTableTab = "activeTableTab";
          +
        +
        + diff --git a/apidocs/latest1x/javax/websocket/DeploymentException.html b/apidocs/latest1x/javax/websocket/DeploymentException.html index 11dab876..0f35814b 100644 --- a/apidocs/latest1x/javax/websocket/DeploymentException.html +++ b/apidocs/latest1x/javax/websocket/DeploymentException.html @@ -1,38 +1,52 @@ - + - + +DeploymentException (Tyrus 1.19 API) -DeploymentException (Tyrus 1.18 API) - + + + + + + + + +var pathtoroot = "../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
        + +
        +
        -
        javax.websocket
        +

        Class DeploymentException

        @@ -114,10 +138,9 @@
      • All Implemented Interfaces:
        -
        java.io.Serializable
        +
        java.io.Serializable

        -
        public class DeploymentException
         extends java.lang.Exception
        Checked exception indicating some kind of failure either to publish @@ -135,25 +158,29 @@ extends java.lang.Exception
        • +
            -
          • +
          • Constructor Summary

            - +
            - + + - + - + @@ -161,21 +188,23 @@ extends java.lang.Exception
            Constructors 
            Constructor and DescriptionConstructorDescription
            DeploymentException(java.lang.String message) +DeploymentException​(java.lang.String message)
            Creates a deployment exception with the given reason for the deployment failure.
            DeploymentException(java.lang.String message, - java.lang.Throwable cause) +DeploymentException​(java.lang.String message, + java.lang.Throwable cause)
            Creates a deployment exception with the given reason for the deployment failure and wrapped cause of the failure.
          +
          +
            -
          • +
          • Method Summary

              -
            • +
            • Methods inherited from class java.lang.Throwable

              addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
              -
            • +
            • Methods inherited from class java.lang.Object

              @@ -183,6 +212,7 @@ extends java.lang.Exception
          +
        @@ -190,18 +220,19 @@ extends java.lang.Exception
        • +
            -
          • +
          • Constructor Detail

            - +
            • DeploymentException

              -
              public DeploymentException(java.lang.String message)
              +
              public DeploymentException​(java.lang.String message)
              Creates a deployment exception with the given reason for the deployment failure.
              @@ -210,13 +241,13 @@ extends java.lang.Exception
            - +
            • DeploymentException

              -
              public DeploymentException(java.lang.String message,
              +
              public DeploymentException​(java.lang.String message,
                                          java.lang.Throwable cause)
              Creates a deployment exception with the given reason for the deployment failure and wrapped cause of the failure.
              @@ -229,21 +260,25 @@ extends java.lang.Exception
          +
      • +
        + diff --git a/apidocs/latest1x/javax/websocket/EncodeException.html b/apidocs/latest1x/javax/websocket/EncodeException.html index 210a2789..14aa56c9 100644 --- a/apidocs/latest1x/javax/websocket/EncodeException.html +++ b/apidocs/latest1x/javax/websocket/EncodeException.html @@ -1,44 +1,58 @@ - + - + +EncodeException (Tyrus 1.19 API) -EncodeException (Tyrus 1.18 API) - + + + + + + + + +var pathtoroot = "../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
        + +
        +
        -
        javax.websocket
        +

        Class EncodeException

        @@ -120,10 +144,9 @@ var activeTableTab = "activeTableTab";
      • All Implemented Interfaces:
        -
        java.io.Serializable
        +
        java.io.Serializable

        -
        public class EncodeException
         extends java.lang.Exception
        A general exception that occurs when trying to encode a custom object to a string or binary message.
        @@ -140,60 +163,68 @@ extends java.lang.Exception
        • +
            -
          • +
          • Constructor Summary

            - +
            - + + - + - +
            Constructors 
            Constructor and DescriptionConstructorDescription
            EncodeException(java.lang.Object object, - java.lang.String message) +EncodeException​(java.lang.Object object, + java.lang.String message)
            Constructor with the object being encoded, and the reason why it failed to be.
            EncodeException(java.lang.Object object, +EncodeException​(java.lang.Object object, java.lang.String message, - java.lang.Throwable cause) + java.lang.Throwable cause)
            Constructor with the object being encoded, and the reason why it failed to be, and the cause.
          +
          +
            -
          • +
          • Method Summary

            - +
            - + + - +
            All Methods Instance Methods Concrete Methods 
            Modifier and TypeMethod and DescriptionMethodDescription
            java.lang.ObjectgetObject() +getObject()
            Return the Object that could not be encoded.
              -
            • +
            • Methods inherited from class java.lang.Throwable

              addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
              -
            • +
            • Methods inherited from class java.lang.Object

              @@ -201,6 +232,7 @@ extends java.lang.Exception
          +
      • @@ -208,18 +240,19 @@ extends java.lang.Exception
        • +
            -
          • +
          • Constructor Detail

            - +
            • EncodeException

              -
              public EncodeException(java.lang.Object object,
              +
              public EncodeException​(java.lang.Object object,
                                      java.lang.String message)
              Constructor with the object being encoded, and the reason why it failed to be.
              @@ -229,13 +262,13 @@ extends java.lang.Exception
            - +
            • EncodeException

              -
              public EncodeException(java.lang.Object object,
              +
              public EncodeException​(java.lang.Object object,
                                      java.lang.String message,
                                      java.lang.Throwable cause)
              Constructor with the object being encoded, and the reason why it failed to be, and the cause.
              @@ -249,19 +282,21 @@ extends java.lang.Exception
          +
          +
            -
          • +
          • Method Detail

            - +
            • getObject

              -
              public java.lang.Object getObject()
              +
              public java.lang.Object getObject()
              Return the Object that could not be encoded.
              Returns:
              @@ -271,21 +306,25 @@ extends java.lang.Exception
          +
        +
        + diff --git a/apidocs/latest1x/javax/websocket/Encoder.Binary.html b/apidocs/latest1x/javax/websocket/Encoder.Binary.html index 46ab11cb..bb2a35cd 100644 --- a/apidocs/latest1x/javax/websocket/Encoder.Binary.html +++ b/apidocs/latest1x/javax/websocket/Encoder.Binary.html @@ -1,44 +1,58 @@ - + - + +Encoder.Binary (Tyrus 1.19 API) -Encoder.Binary (Tyrus 1.18 API) - + + + + + + + + +var pathtoroot = "../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
        + +
        +
        -
        javax.websocket
        +

        Interface Encoder.Binary<T>

        @@ -106,20 +130,19 @@ var activeTableTab = "activeTableTab";
        All Superinterfaces:
        -
        Encoder
        +
        Encoder
        All Known Implementing Classes:
        -
        NoOpByteArrayCoder, NoOpByteBufferCoder
        +
        NoOpByteArrayCoder, NoOpByteBufferCoder
        Enclosing interface:
        -
        Encoder
        +
        Encoder

        -
        public static interface Encoder.Binary<T>
        -extends Encoder
        +extends Encoder
        This interface defines how to provide a way to convert a custom object into a binary message.
        @@ -129,48 +152,54 @@ extends
      • +
        +
        +
        +
      • @@ -178,21 +207,22 @@ extends
      • +
        +
      • +
        + diff --git a/apidocs/latest1x/javax/websocket/Encoder.BinaryStream.html b/apidocs/latest1x/javax/websocket/Encoder.BinaryStream.html index 05b74b74..26eef1e2 100644 --- a/apidocs/latest1x/javax/websocket/Encoder.BinaryStream.html +++ b/apidocs/latest1x/javax/websocket/Encoder.BinaryStream.html @@ -1,44 +1,58 @@ - + - + +Encoder.BinaryStream (Tyrus 1.19 API) -Encoder.BinaryStream (Tyrus 1.18 API) - + + + + + + + + +var pathtoroot = "../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
        + +
        +
        -
        javax.websocket
        +

        Interface Encoder.BinaryStream<T>

        @@ -106,16 +130,15 @@ var activeTableTab = "activeTableTab";
        All Superinterfaces:
        -
        Encoder
        +
        Encoder
        Enclosing interface:
        -
        Encoder
        +
        Encoder

        -
        public static interface Encoder.BinaryStream<T>
        -extends Encoder
        +extends Encoder
        This interface may be implemented by encoding algorithms that want to write the encoded object to a binary stream.
        @@ -125,50 +148,56 @@ extends
      • +
        +
        +
          -
        • +
        • Method Summary

          - +
          - + + - +
          All Methods Instance Methods Abstract Methods 
          Modifier and TypeMethod and DescriptionMethodDescription
          voidencode(T object, - java.io.OutputStream os) +encode​(T object, + java.io.OutputStream os)
          Encode the given object into a binary stream written to the implementation provided OutputStream.
        +
      • @@ -176,22 +205,23 @@ extends
      • +
        +
      • +
        + diff --git a/apidocs/latest1x/javax/websocket/Encoder.Text.html b/apidocs/latest1x/javax/websocket/Encoder.Text.html index 13eb5ebf..00ae1779 100644 --- a/apidocs/latest1x/javax/websocket/Encoder.Text.html +++ b/apidocs/latest1x/javax/websocket/Encoder.Text.html @@ -1,44 +1,58 @@ - + - + +Encoder.Text (Tyrus 1.19 API) -Encoder.Text (Tyrus 1.18 API) - + + + + + + + + +var pathtoroot = "../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
        + +
        +
        -
        javax.websocket
        +

        Interface Encoder.Text<T>

        @@ -106,20 +130,19 @@ var activeTableTab = "activeTableTab";
        All Superinterfaces:
        -
        Encoder
        +
        Encoder
        All Known Implementing Classes:
        -
        NoOpTextCoder, ToStringEncoder
        +
        NoOpTextCoder, ToStringEncoder
        Enclosing interface:
        -
        Encoder
        +
        Encoder

        -
        public static interface Encoder.Text<T>
        -extends Encoder
        +extends Encoder
        This interface defines how to provide a way to convert a custom object into a text message.
        @@ -129,48 +152,54 @@ extends
      • +
        +
        +
        +
      • @@ -178,21 +207,22 @@ extends
      • +
        +
      • +
        + diff --git a/apidocs/latest1x/javax/websocket/Encoder.TextStream.html b/apidocs/latest1x/javax/websocket/Encoder.TextStream.html index 43a6cc0d..a33d8ff8 100644 --- a/apidocs/latest1x/javax/websocket/Encoder.TextStream.html +++ b/apidocs/latest1x/javax/websocket/Encoder.TextStream.html @@ -1,44 +1,58 @@ - + - + +Encoder.TextStream (Tyrus 1.19 API) -Encoder.TextStream (Tyrus 1.18 API) - + + + + + + + + +var pathtoroot = "../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
        + +
        +
        -
        javax.websocket
        +

        Interface Encoder.TextStream<T>

        @@ -106,16 +130,15 @@ var activeTableTab = "activeTableTab";
        All Superinterfaces:
        -
        Encoder
        +
        Encoder
        Enclosing interface:
        -
        Encoder
        +
        Encoder

        -
        public static interface Encoder.TextStream<T>
        -extends Encoder
        +extends Encoder
        This interface may be implemented by encoding algorithms that want to write the encoded object to a character stream.
        @@ -125,50 +148,56 @@ extends
      • +
        +
        +
          -
        • +
        • Method Summary

          - +
          - + + - +
          All Methods Instance Methods Abstract Methods 
          Modifier and TypeMethod and DescriptionMethodDescription
          voidencode(T object, - java.io.Writer writer) +encode​(T object, + java.io.Writer writer)
          Encode the given object to a character stream writing it to the supplied Writer.
        +
      • @@ -176,22 +205,23 @@ extends
      • +
          -
        • +
        • Method Detail

          - + - +
          • encode

            -
            void encode(T object,
            +
            void encode​(T object,
                         java.io.Writer writer)
            -     throws EncodeException,
            +     throws EncodeException,
                         java.io.IOException
            Encode the given object to a character stream writing it to the supplied Writer. Implementations of this method may use the EncodeException @@ -203,28 +233,32 @@ extends Throws: -
            EncodeException - if there was an error encoding the object due to its state.
            +
            EncodeException - if there was an error encoding the object due to its state.
            java.io.IOException - if there was an exception writing to the writer.
        +
      • +
        + diff --git a/apidocs/latest1x/javax/websocket/Encoder.html b/apidocs/latest1x/javax/websocket/Encoder.html index 09bf7c8d..b9848d1b 100644 --- a/apidocs/latest1x/javax/websocket/Encoder.html +++ b/apidocs/latest1x/javax/websocket/Encoder.html @@ -1,44 +1,58 @@ - + - + +Encoder (Tyrus 1.19 API) -Encoder (Tyrus 1.18 API) - + + + + + + + + +var pathtoroot = "../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
        + +
        +
        -
        javax.websocket
        +

        Interface Encoder

        @@ -102,14 +126,13 @@ var activeTableTab = "activeTableTab";
      • All Known Subinterfaces:
        -
        Encoder.Binary<T>, Encoder.BinaryStream<T>, Encoder.Text<T>, Encoder.TextStream<T>
        +
        Encoder.Binary<T>, Encoder.BinaryStream<T>, Encoder.Text<T>, Encoder.TextStream<T>
        All Known Implementing Classes:
        -
        CoderWrapper, NoOpByteArrayCoder, NoOpByteBufferCoder, NoOpTextCoder, ToStringEncoder
        +
        CoderWrapper, NoOpByteArrayCoder, NoOpByteBufferCoder, NoOpTextCoder, ToStringEncoder

        -
        public interface Encoder
        The Encoder interface defines how developers can provide a way to convert their custom objects into web socket messages. The Encoder interface contains @@ -119,7 +142,7 @@ var activeTableTab = "activeTableTab"; endpoint instance per connection. This means that each encoder instance has at most one calling thread at a time. The lifecycle of the Encoder instance is governed by the container calls to the - init(javax.websocket.EndpointConfig) and destroy() + init(javax.websocket.EndpointConfig) and destroy() methods.
        Author:
        @@ -132,41 +155,47 @@ var activeTableTab = "activeTableTab";
        • +
            -
          • +
          • Nested Class Summary

            - +
            - + + - + - + - + - + @@ -174,21 +203,25 @@ var activeTableTab = "activeTableTab";
            Nested Classes 
            Modifier and TypeInterface and DescriptionInterfaceDescription
            static interface Encoder.Binary<T> +Encoder.Binary<T>
            This interface defines how to provide a way to convert a custom object into a binary message.
            static interface Encoder.BinaryStream<T> +Encoder.BinaryStream<T>
            This interface may be implemented by encoding algorithms that want to write the encoded object to a binary stream.
            static interface Encoder.Text<T> +Encoder.Text<T>
            This interface defines how to provide a way to convert a custom object into a text message.
            static interface Encoder.TextStream<T> +Encoder.TextStream<T>
            This interface may be implemented by encoding algorithms that want to write the encoded object to a character stream.
          +
          +
            -
          • +
          • Method Summary

            - +
            - + + - + - +
            All Methods Instance Methods Abstract Methods 
            Modifier and TypeMethod and DescriptionMethodDescription
            voiddestroy() +destroy()
            This method is called when the encoder is about to be removed from service in order that any resources the encoder used may be closed gracefully.
            @@ -196,7 +229,8 @@ var activeTableTab = "activeTableTab";
            voidinit(EndpointConfig config) +init​(EndpointConfig config)
            This method is called with the endpoint configuration object of the endpoint this encoder is intended for when it is about to be brought into service.
            @@ -205,6 +239,7 @@ var activeTableTab = "activeTableTab";
          +
      • @@ -212,18 +247,19 @@ var activeTableTab = "activeTableTab";
        • +
            -
          • +
          • Method Detail

            - +
            • init

              -
              void init(EndpointConfig config)
              +
              void init​(EndpointConfig config)
              This method is called with the endpoint configuration object of the endpoint this encoder is intended for when it is about to be brought into service.
              @@ -234,13 +270,13 @@ var activeTableTab = "activeTableTab";
            - +
            • destroy

              -
              void destroy()
              +
              void destroy()
              This method is called when the encoder is about to be removed from service in order that any resources the encoder used may be closed gracefully.
              @@ -248,21 +284,25 @@ var activeTableTab = "activeTableTab";
          +
        +
        + diff --git a/apidocs/latest1x/javax/websocket/Endpoint.html b/apidocs/latest1x/javax/websocket/Endpoint.html index 0308a8df..a723125b 100644 --- a/apidocs/latest1x/javax/websocket/Endpoint.html +++ b/apidocs/latest1x/javax/websocket/Endpoint.html @@ -1,44 +1,58 @@ - + - + +Endpoint (Tyrus 1.19 API) -Endpoint (Tyrus 1.18 API) - + + + + + + + + +var pathtoroot = "../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
        + +
        +
        -
        javax.websocket
        +

        Class Endpoint

        @@ -110,18 +134,17 @@ var activeTableTab = "activeTableTab";
      • Direct Known Subclasses:
        -
        AnnotatedEndpoint
        +
        AnnotatedEndpoint

        -
        public abstract class Endpoint
         extends java.lang.Object
        The Web Socket Endpoint represents an object that can handle websocket conversations. Developers may extend this class in order to implement a programmatic websocket endpoint. The Endpoint class holds lifecycle methods that may be overridden to intercept websocket open, error and close events. By implementing - the onOpen method, the programmatic endpoint gains access to the Session object, - to which the developer may add MessageHandler implementations in order to + the onOpen method, the programmatic endpoint gains access to the Session object, + to which the developer may add MessageHandler implementations in order to intercept incoming websocket messages. Each instance of a websocket endpoint is guaranteed not to be called by more than one thread at a time per active connection. @@ -130,17 +153,17 @@ extends java.lang.Object single connection to the server.

        When deployed as a server endpoint, the implementation uses the - ServerEndpointConfig.Configurator.getEndpointInstance(java.lang.Class<T>) + ServerEndpointConfig.Configurator.getEndpointInstance(java.lang.Class<T>) method to obtain the endpoint instance it will use for each new client connection. If the developer uses - the default ServerEndpointConfig.Configurator, + the default ServerEndpointConfig.Configurator, there will be precisely one endpoint instance per active client connection. Consequently, in this typical case, when implementing/overriding the methods of Endpoint, the developer is guaranteed that there will be at most one thread calling each endpoint instance at a time. -

        If the developer provides a custom ServerEndpointConfig.Configurator +

        If the developer provides a custom ServerEndpointConfig.Configurator which overrides the default policy for endpoint instance creation, for example, using a single Endpoint instance for multiple client connections, the developer may need to write code that can execute concurrently. @@ -175,61 +198,70 @@ extends java.lang.Object

        • +
            -
          • +
          • Constructor Summary

            - +
            - + + - + +
            Constructors 
            Constructor and DescriptionConstructorDescription
            Endpoint() Endpoint() 
          +
          +
            -
          • +
          • Method Summary

            - +
            - + + - + - + - +
            All Methods Instance Methods Abstract Methods Concrete Methods 
            Modifier and TypeMethod and DescriptionMethodDescription
            voidonClose(Session session, - CloseReason closeReason) +onClose​(Session session, + CloseReason closeReason)
            This method is called immediately prior to the session with the remote peer being closed.
            voidonError(Session session, - java.lang.Throwable thr) +onError​(Session session, + java.lang.Throwable thr)
            Developers may implement this method when the web socket session creates some kind of error that is not modeled in the web socket protocol.
            abstract voidonOpen(Session session, - EndpointConfig config) +onOpen​(Session session, + EndpointConfig config)
            Developers must implement this method to be notified when a new conversation has just begun.
              -
            • +
            • Methods inherited from class java.lang.Object

              @@ -237,6 +269,7 @@ extends java.lang.Object
          +
        @@ -244,12 +277,13 @@ extends java.lang.Object
        • +
            -
          • +
          • Constructor Detail

            - +
              @@ -260,20 +294,22 @@ extends java.lang.Object
          +
          +
            -
          • +
          • Method Detail

            - +
            • onOpen

              -
              public abstract void onOpen(Session session,
              -                            EndpointConfig config)
              +
              public abstract void onOpen​(Session session,
              +                            EndpointConfig config)
              Developers must implement this method to be notified when a new conversation has just begun.
              @@ -283,14 +319,14 @@ extends java.lang.Object
            - +
            • onClose

              -
              public void onClose(Session session,
              -                    CloseReason closeReason)
              +
              public void onClose​(Session session,
              +                    CloseReason closeReason)
              This method is called immediately prior to the session with the remote peer being closed. It is called whether the session is being closed because the remote peer initiated a close and sent a close frame, or @@ -308,13 +344,13 @@ extends java.lang.Object
            - +
            • onError

              -
              public void onError(Session session,
              +
              public void onError​(Session session,
                                   java.lang.Throwable thr)
              Developers may implement this method when the web socket session creates some kind of error that is not modeled in the web socket protocol. This may for example @@ -324,10 +360,10 @@ extends java.lang.Object
              • connection problems, for example, a socket failure that occurs before the web socket connection can be formally closed. These are modeled as - SessionExceptions
              • + SessionExceptions
              • runtime errors thrown by developer created message handlers calls.
              • conversion errors encoding incoming messages before any message handler has been called. These - are modeled as DecodeExceptions
              • + are modeled as DecodeExceptions
      • Parameters:
        @@ -338,21 +374,25 @@ extends java.lang.Object + +
        + diff --git a/apidocs/latest1x/javax/websocket/EndpointConfig.html b/apidocs/latest1x/javax/websocket/EndpointConfig.html index e61d5934..a6d9faa3 100644 --- a/apidocs/latest1x/javax/websocket/EndpointConfig.html +++ b/apidocs/latest1x/javax/websocket/EndpointConfig.html @@ -1,44 +1,58 @@ - + - + +EndpointConfig (Tyrus 1.19 API) -EndpointConfig (Tyrus 1.18 API) - + + + + + + + + +var pathtoroot = "../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
        + +
        +
        -
        javax.websocket
        +

        Interface EndpointConfig

        @@ -102,10 +126,9 @@ var activeTableTab = "activeTableTab";
      • All Known Subinterfaces:
        -
        ClientEndpointConfig, ServerEndpointConfig, TyrusServerEndpointConfig
        +
        ClientEndpointConfig, ServerEndpointConfig, TyrusServerEndpointConfig

        -
        public interface EndpointConfig
        The endpoint configuration contains all the information needed during the handshake process for this end point. All endpoints specify, for example, a URI. In the case of a server endpoint, @@ -122,32 +145,37 @@ var activeTableTab = "activeTableTab";
        • +
            -
          • +
          • Method Summary

            - +
            - + + - - + + - - + + - - + +
            All Methods Instance Methods Abstract Methods 
            Modifier and TypeMethod and DescriptionMethodDescription
            java.util.List<java.lang.Class<? extends Decoder>>getDecoders() +java.util.List<java.lang.Class<? extends Decoder>>getDecoders()
            Return the Decoder implementation classes configured.
            java.util.List<java.lang.Class<? extends Encoder>>getEncoders() +java.util.List<java.lang.Class<? extends Encoder>>getEncoders()
            Return the Encoder implementation classes configured.
            java.util.Map<java.lang.String,java.lang.Object>getUserProperties() +java.util.Map<java.lang.String,​java.lang.Object>getUserProperties()
            This method returns a modifiable Map that the developer may use to store application specific information relating to the endpoint that uses this configuration instance.
            @@ -156,6 +184,7 @@ var activeTableTab = "activeTableTab";
          +
        @@ -163,18 +192,19 @@ var activeTableTab = "activeTableTab";
        • +
            -
          • +
          • Method Detail

            - +
            • getEncoders

              -
              java.util.List<java.lang.Class<? extends Encoder>> getEncoders()
              +
              java.util.List<java.lang.Class<? extends Encoder>> getEncoders()
              Return the Encoder implementation classes configured. These will be instantiated by the container to encode custom objects passed into the send() methods on remote endpoints.
              @@ -184,16 +214,16 @@ var activeTableTab = "activeTableTab";
            - +
            • getDecoders

              -
              java.util.List<java.lang.Class<? extends Decoder>> getDecoders()
              +
              java.util.List<java.lang.Class<? extends Decoder>> getDecoders()
              Return the Decoder implementation classes configured. These will be instantiated by the container to decode incoming messages - into the expected custom objects on MessageHandler.Whole.onMessage(Object) + into the expected custom objects on MessageHandler.Whole.onMessage(Object) callbacks.
              Returns:
              @@ -201,13 +231,13 @@ var activeTableTab = "activeTableTab";
            - +
            • getUserProperties

              -
              java.util.Map<java.lang.String,java.lang.Object> getUserProperties()
              +
              java.util.Map<java.lang.String,​java.lang.Object> getUserProperties()
              This method returns a modifiable Map that the developer may use to store application specific information relating to the endpoint that uses this configuration instance. Web socket applications running on distributed @@ -222,21 +252,25 @@ var activeTableTab = "activeTableTab";
          +
      • +
        + diff --git a/apidocs/latest1x/javax/websocket/Extension.Parameter.html b/apidocs/latest1x/javax/websocket/Extension.Parameter.html index 7afc60b3..7857d51f 100644 --- a/apidocs/latest1x/javax/websocket/Extension.Parameter.html +++ b/apidocs/latest1x/javax/websocket/Extension.Parameter.html @@ -1,44 +1,58 @@ - + - + +Extension.Parameter (Tyrus 1.19 API) -Extension.Parameter (Tyrus 1.18 API) - + + + + + + + + +var pathtoroot = "../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
        + +
        +
        -
        javax.websocket
        +

        Interface Extension.Parameter

        @@ -102,14 +126,13 @@ var activeTableTab = "activeTableTab";
      • All Known Implementing Classes:
        -
        TyrusExtension.TyrusParameter
        +
        TyrusExtension.TyrusParameter
        Enclosing interface:
        -
        Extension
        +
        Extension

        -
        public static interface Extension.Parameter
        This member interface defines a single websocket extension parameter.
      • @@ -119,32 +142,37 @@ var activeTableTab = "activeTableTab";
        @@ -152,18 +180,19 @@ var activeTableTab = "activeTableTab";
        • +
            -
          • +
          • Method Detail

            - +
            • getName

              -
              java.lang.String getName()
              +
              java.lang.String getName()
              Return the name of the extension parameter.
              Returns:
              @@ -171,13 +200,13 @@ var activeTableTab = "activeTableTab";
            - +
            • getValue

              -
              java.lang.String getValue()
              +
              java.lang.String getValue()
              Return the value of the extension parameter.
              Returns:
              @@ -187,21 +216,25 @@ var activeTableTab = "activeTableTab";
          +
        +
        + diff --git a/apidocs/latest1x/javax/websocket/Extension.html b/apidocs/latest1x/javax/websocket/Extension.html index 92026356..982d803b 100644 --- a/apidocs/latest1x/javax/websocket/Extension.html +++ b/apidocs/latest1x/javax/websocket/Extension.html @@ -1,44 +1,58 @@ - + - + +Extension (Tyrus 1.19 API) -Extension (Tyrus 1.18 API) - + + + + + + + + +var pathtoroot = "../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
        + +
        +
        -
        javax.websocket
        +

        Interface Extension

        @@ -102,14 +126,13 @@ var activeTableTab = "activeTableTab";
      • All Known Subinterfaces:
        -
        ExtendedExtension
        +
        ExtendedExtension
        All Known Implementing Classes:
        -
        TyrusExtension
        +
        TyrusExtension

        -
        public interface Extension
        A simple representation of a websocket extension as a name and map of extension parameters.
        @@ -123,47 +146,55 @@ var activeTableTab = "activeTableTab";
      • @@ -178,18 +210,19 @@ var activeTableTab = "activeTableTab";
        • +
            -
          • +
          • Method Detail

            - +
            • getName

              -
              java.lang.String getName()
              +
              java.lang.String getName()
              The name of the extension.
              Returns:
              @@ -197,13 +230,13 @@ var activeTableTab = "activeTableTab";
            - +
            • getParameters

              -
              java.util.List<Extension.Parameter> getParameters()
              +
              java.util.List<Extension.Parameter> getParameters()
              The extension parameters for this extension in the order they appear in the http headers.
              @@ -214,21 +247,25 @@ var activeTableTab = "activeTableTab";
          +
        +
        + diff --git a/apidocs/latest1x/javax/websocket/HandshakeResponse.html b/apidocs/latest1x/javax/websocket/HandshakeResponse.html index d55ecf9c..1f2aab5b 100644 --- a/apidocs/latest1x/javax/websocket/HandshakeResponse.html +++ b/apidocs/latest1x/javax/websocket/HandshakeResponse.html @@ -1,44 +1,58 @@ - + - + +HandshakeResponse (Tyrus 1.19 API) -HandshakeResponse (Tyrus 1.18 API) - + + + + + + + + +var pathtoroot = "../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
        + +
        +
        -
        javax.websocket
        +

        Interface HandshakeResponse

        @@ -102,10 +126,9 @@ var activeTableTab = "activeTableTab";
      • All Known Implementing Classes:
        -
        TyrusUpgradeResponse, UpgradeResponse
        +
        TyrusUpgradeResponse, UpgradeResponse

        -
        public interface HandshakeResponse
        The handshake response represents the web socket-defined Http response that is the response to the opening handshake request.
        @@ -120,47 +143,55 @@ var activeTableTab = "activeTableTab";
        • +
          +
          +
            -
          • +
          • Method Summary

            - +
            - + + - - + +
            All Methods Instance Methods Abstract Methods 
            Modifier and TypeMethod and DescriptionMethodDescription
            java.util.Map<java.lang.String,java.util.List<java.lang.String>>getHeaders() +java.util.Map<java.lang.String,​java.util.List<java.lang.String>>getHeaders()
            Return the list of Http headers sent by the web socket server.
          +
      • @@ -168,12 +199,13 @@ var activeTableTab = "activeTableTab";
        • +
            -
          • +
          • Field Detail

            - +
              @@ -189,19 +221,21 @@ var activeTableTab = "activeTableTab";
          +
          +
            -
          • +
          • Method Detail

            - +
            • getHeaders

              -
              java.util.Map<java.lang.String,java.util.List<java.lang.String>> getHeaders()
              +
              java.util.Map<java.lang.String,​java.util.List<java.lang.String>> getHeaders()
              Return the list of Http headers sent by the web socket server.
              Returns:
              @@ -211,21 +245,25 @@ var activeTableTab = "activeTableTab";
          +
        +
        + diff --git a/apidocs/latest1x/javax/websocket/MessageHandler.Partial.html b/apidocs/latest1x/javax/websocket/MessageHandler.Partial.html index 2acfc0db..dacd0c49 100644 --- a/apidocs/latest1x/javax/websocket/MessageHandler.Partial.html +++ b/apidocs/latest1x/javax/websocket/MessageHandler.Partial.html @@ -1,44 +1,58 @@ - + - + +MessageHandler.Partial (Tyrus 1.19 API) -MessageHandler.Partial (Tyrus 1.18 API) - + + + + + + + + +var pathtoroot = "../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
        + +
        +
        -
        javax.websocket
        +

        Interface MessageHandler.Partial<T>

        @@ -106,16 +130,15 @@ var activeTableTab = "activeTableTab";
        All Superinterfaces:
        -
        MessageHandler
        +
        MessageHandler
        Enclosing interface:
        -
        MessageHandler
        +
        MessageHandler

        -
        public static interface MessageHandler.Partial<T>
        -extends MessageHandler
        +extends MessageHandler
        This kind of handler is notified by the implementation as it becomes ready to deliver parts of a whole message. @@ -141,42 +164,48 @@ extends
      • +
        +
        +
          -
        • +
        • Method Summary

          - +
          - + + - +
          All Methods Instance Methods Abstract Methods 
          Modifier and TypeMethod and DescriptionMethodDescription
          voidonMessage(T partialMessage, - boolean last) +onMessage​(T partialMessage, + boolean last)
          Called when the next part of a message has been fully received.
        +
      • @@ -184,20 +213,21 @@ extends
      • +
          -
        • +
        • Method Detail

          - + - +
          • onMessage

            -
            void onMessage(T partialMessage,
            +
            void onMessage​(T partialMessage,
                            boolean last)
            Called when the next part of a message has been fully received.
            @@ -209,21 +239,25 @@ extends +

            Copyright © 2012–2022 Oracle Corporation. All rights reserved.

            + diff --git a/apidocs/latest1x/javax/websocket/MessageHandler.Whole.html b/apidocs/latest1x/javax/websocket/MessageHandler.Whole.html index 53cc4afa..96eecb87 100644 --- a/apidocs/latest1x/javax/websocket/MessageHandler.Whole.html +++ b/apidocs/latest1x/javax/websocket/MessageHandler.Whole.html @@ -1,44 +1,58 @@ - + - + +MessageHandler.Whole (Tyrus 1.19 API) -MessageHandler.Whole (Tyrus 1.18 API) - + + + + + + + + +var pathtoroot = "../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
            + +
            +
            -
            javax.websocket
            +

            Interface MessageHandler.Whole<T>

            @@ -106,16 +130,15 @@ var activeTableTab = "activeTableTab";
            All Superinterfaces:
            -
            MessageHandler
            +
            MessageHandler
            Enclosing interface:
            -
            MessageHandler
            +
            MessageHandler

            -
            public static interface MessageHandler.Whole<T>
            -extends MessageHandler
            +extends MessageHandler
            This kind of handler is notified by the container on arrival of a complete message. If the message is received in parts, the container buffers it until it is has been fully received before this method is called. @@ -123,8 +146,8 @@ extends Decoder.Text or - Decoder.TextStream configured
          • +
          • any developer object for which there is a corresponding Decoder.Text or + Decoder.TextStream configured

          For handling incoming binary messages, the allowed types for T are @@ -132,11 +155,11 @@ extends Decoder.Binary or - Decoder.BinaryStream configured +

        • any developer object for which there is a corresponding Decoder.Binary or + Decoder.BinaryStream configured
        -

        For handling incoming pong messages, the type of T is PongMessage +

        For handling incoming pong messages, the type of T is PongMessage

        Developers should not continue to reference message objects of type Reader, ByteBuffer or InputStream after the completion of the onMessage() call, since they @@ -148,41 +171,47 @@ extends

      • +
        +
        +
        +
      • @@ -190,20 +219,21 @@ extends
      • +
          -
        • +
        • Method Detail

          - + - +
          • onMessage

            -
            void onMessage(T message)
            +
            void onMessage​(T message)
            Called when the message has been fully received.
            Parameters:
            @@ -213,21 +243,25 @@ extends +

            Copyright © 2012–2022 Oracle Corporation. All rights reserved.

            + diff --git a/apidocs/latest1x/javax/websocket/MessageHandler.html b/apidocs/latest1x/javax/websocket/MessageHandler.html index 8c91d2e2..12a9fe9c 100644 --- a/apidocs/latest1x/javax/websocket/MessageHandler.html +++ b/apidocs/latest1x/javax/websocket/MessageHandler.html @@ -1,38 +1,52 @@ - + - + +MessageHandler (Tyrus 1.19 API) -MessageHandler (Tyrus 1.18 API) - + + + + + + + + +var pathtoroot = "../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
            + +
            +
            -
            javax.websocket
            +

            Interface MessageHandler

            @@ -96,10 +120,9 @@
          • All Known Subinterfaces:
            -
            MessageHandler.Partial<T>, MessageHandler.Whole<T>
            +
            MessageHandler.Partial<T>, MessageHandler.Whole<T>

            -
            public interface MessageHandler
            Developers implement MessageHandlers in order to receive incoming messages during a web socket conversation. @@ -110,7 +133,7 @@ objects for the clients. In that case, they will need to code with the possibility of their MessageHandler being called concurrently by multiple threads, each one arising from a different client session. -

            See Endpoint for a usage example.

            +

            See Endpoint for a usage example.

          • Author:
            dannycoward
            @@ -122,48 +145,56 @@
            • +
                -
              • +
              • Nested Class Summary

                - +
                - + + - + - +
                Nested Classes 
                Modifier and TypeInterface and DescriptionInterfaceDescription
                static interface MessageHandler.Partial<T> +MessageHandler.Partial<T>
                This kind of handler is notified by the implementation as it becomes ready to deliver parts of a whole message.
                static interface MessageHandler.Whole<T> +MessageHandler.Whole<T>
                This kind of handler is notified by the container on arrival of a complete message.
              +
            +
            + diff --git a/apidocs/latest1x/javax/websocket/OnClose.html b/apidocs/latest1x/javax/websocket/OnClose.html index 505a754b..3ef10ad0 100644 --- a/apidocs/latest1x/javax/websocket/OnClose.html +++ b/apidocs/latest1x/javax/websocket/OnClose.html @@ -1,38 +1,52 @@ - + - + +OnClose (Tyrus 1.19 API) -OnClose (Tyrus 1.18 API) - + + + + + + + + +var pathtoroot = "../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
            + +
            +
            -
            javax.websocket
            +

            Annotation Type OnClose

            @@ -93,23 +117,22 @@
            +
            + diff --git a/apidocs/latest1x/javax/websocket/OnError.html b/apidocs/latest1x/javax/websocket/OnError.html index 85c70cc5..5b67e8d6 100644 --- a/apidocs/latest1x/javax/websocket/OnError.html +++ b/apidocs/latest1x/javax/websocket/OnError.html @@ -1,38 +1,52 @@ - + - + +OnError (Tyrus 1.19 API) -OnError (Tyrus 1.18 API) - + + + + + + + + +var pathtoroot = "../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
            + +
            +
            -
            javax.websocket
            +

            Annotation Type OnError

            @@ -93,19 +117,18 @@

            • -
              -
              @Retention(value=RUNTIME)
              - @Target(value=METHOD)
              +
              @Retention(RUNTIME)
              +@Target(METHOD)
               public @interface OnError
              This method level annotation can be used to decorate a Java method that wishes to be called in order - to handle errors. See Endpoint.onError(javax.websocket.Session, java.lang.Throwable) for + to handle errors. See Endpoint.onError(javax.websocket.Session, java.lang.Throwable) for a description of the different categories of error.

              The method may only take the following parameters:-

                -
              • optional Session parameter
              • +
              • optional Session parameter
              • a Throwable parameter
              • -
              • Zero to n String parameters annotated with the PathParam annotation
              • +
              • Zero to n String parameters annotated with the PathParam annotation

              The parameters may appear in any order.

              @@ -117,17 +140,20 @@ public @interface OnError
            +
            + diff --git a/apidocs/latest1x/javax/websocket/OnMessage.html b/apidocs/latest1x/javax/websocket/OnMessage.html index 488b116c..7194ce57 100644 --- a/apidocs/latest1x/javax/websocket/OnMessage.html +++ b/apidocs/latest1x/javax/websocket/OnMessage.html @@ -1,38 +1,52 @@ - + - + +OnMessage (Tyrus 1.19 API) -OnMessage (Tyrus 1.18 API) - + + + + + + + + +var pathtoroot = "../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
            + +
            +
            -
            javax.websocket
            +

            Annotation Type OnMessage

            @@ -93,9 +117,8 @@

            • -
              -
              @Retention(value=RUNTIME)
              - @Target(value=METHOD)
              +
              @Retention(RUNTIME)
              +@Target(METHOD)
               public @interface OnMessage
              This method level annotation can be used to make a Java method receive incoming web socket messages. Each websocket endpoint may only have one message handling method for each of the native websocket message formats: text, binary and pong. Methods @@ -111,8 +134,8 @@ public @interface OnMessage
            • Java primitive or class equivalent to receive the whole message converted to that type
            • String and boolean pair to receive the message in parts
            • Reader to receive the whole message as a blocking stream
            • -
            • any object parameter for which the endpoint has a text decoder (Decoder.Text or - Decoder.TextStream).
            • +
            • any object parameter for which the endpoint has a text decoder (Decoder.Text or + Decoder.TextStream).
          • if the method is handling binary messages: @@ -120,20 +143,20 @@ public @interface OnMessage
          • byte[] or ByteBuffer to receive the whole message
          • byte[] and boolean pair, or ByteBuffer and boolean pair to receive the message in parts
          • InputStream to receive the whole message as a blocking stream
          • -
          • any object parameter for which the endpoint has a binary decoder (Decoder.Binary or - Decoder.BinaryStream).
          • +
          • any object parameter for which the endpoint has a binary decoder (Decoder.Binary or + Decoder.BinaryStream).
        • if the method is handling pong messages:
      • and Zero to n String or Java primitive parameters - annotated with the PathParam annotation for server endpoints.
      • -
      • and an optional Session parameter
      • + annotated with the PathParam annotation for server endpoints. +
      • and an optional Session parameter
      • The parameters may be listed in any order. @@ -183,20 +206,23 @@ public @interface OnMessage

        • +
            -
          • +
          • Optional Element Summary

            - +
            - + + - +
            Optional Elements 
            Modifier and TypeOptional Element and DescriptionOptional ElementDescription
            longmaxMessageSize +maxMessageSize
            Specifies the maximum size of message in bytes that the method this annotates will be able to process, or -1 to indicate that there is no maximum.
            @@ -205,6 +231,7 @@ public @interface OnMessage
          +
        @@ -212,18 +239,19 @@ public @interface OnMessage
        • +
            -
          • +
          • Element Detail

            - +
            • maxMessageSize

              -
              public abstract long maxMessageSize
              +
              long maxMessageSize
              Specifies the maximum size of message in bytes that the method this annotates will be able to process, or -1 to indicate that there is no maximum. The default is -1. This attribute only @@ -245,21 +273,25 @@ public @interface OnMessage
          +
        +
        + diff --git a/apidocs/latest1x/javax/websocket/OnOpen.html b/apidocs/latest1x/javax/websocket/OnOpen.html index 80f2d82f..ad4ca61a 100644 --- a/apidocs/latest1x/javax/websocket/OnOpen.html +++ b/apidocs/latest1x/javax/websocket/OnOpen.html @@ -1,38 +1,52 @@ - + - + +OnOpen (Tyrus 1.19 API) -OnOpen (Tyrus 1.18 API) - + + + + + + + + +var pathtoroot = "../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
        + +
        +
        -
        javax.websocket
        +

        Annotation Type OnOpen

        @@ -93,18 +117,17 @@

        • -
          -
          @Retention(value=RUNTIME)
          - @Target(value=METHOD)
          +
          @Retention(RUNTIME)
          +@Target(METHOD)
           public @interface OnOpen
          This method level annotation can be used to decorate a Java method that wishes to be called when a new web socket session is open.

          The method may only take the following parameters:-

          The parameters may appear in any order.

          @@ -116,17 +139,20 @@ public @interface OnOpen
        +
        + diff --git a/apidocs/latest1x/javax/websocket/PongMessage.html b/apidocs/latest1x/javax/websocket/PongMessage.html index 048b4268..45503ec9 100644 --- a/apidocs/latest1x/javax/websocket/PongMessage.html +++ b/apidocs/latest1x/javax/websocket/PongMessage.html @@ -1,44 +1,58 @@ - + - + +PongMessage (Tyrus 1.19 API) -PongMessage (Tyrus 1.18 API) - + + + + + + + + +var pathtoroot = "../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
        + +
        +
        -
        javax.websocket
        +

        Interface PongMessage

        @@ -101,7 +125,6 @@ var activeTableTab = "activeTableTab";

        • -
          public interface PongMessage
          The PongMessage interface represents a web socket pong. PongMessages may be received by using a MessageHandler.Basic<PongMessage>. The payload of the PongMessage is the application data sent by the peer.
          @@ -116,26 +139,30 @@ var activeTableTab = "activeTableTab";
        @@ -143,18 +170,19 @@ var activeTableTab = "activeTableTab";
        • +
            -
          • +
          • Method Detail

            - +
            • getApplicationData

              -
              java.nio.ByteBuffer getApplicationData()
              +
              java.nio.ByteBuffer getApplicationData()
              The application data inside the pong message from the peer.
              Returns:
              @@ -164,21 +192,25 @@ var activeTableTab = "activeTableTab";
          +
        +
        + diff --git a/apidocs/latest1x/javax/websocket/RemoteEndpoint.Async.html b/apidocs/latest1x/javax/websocket/RemoteEndpoint.Async.html index 4b92468b..d5b51f42 100644 --- a/apidocs/latest1x/javax/websocket/RemoteEndpoint.Async.html +++ b/apidocs/latest1x/javax/websocket/RemoteEndpoint.Async.html @@ -1,44 +1,58 @@ - + - + +RemoteEndpoint.Async (Tyrus 1.19 API) -RemoteEndpoint.Async (Tyrus 1.18 API) - + + + + + + + + +var pathtoroot = "../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
        + +
        +
        -
        javax.websocket
        +

        Interface RemoteEndpoint.Async

        @@ -102,16 +126,15 @@ var activeTableTab = "activeTableTab";
      • All Superinterfaces:
        -
        RemoteEndpoint
        +
        RemoteEndpoint
        Enclosing interface:
        -
        RemoteEndpoint
        +
        RemoteEndpoint

        -
        public static interface RemoteEndpoint.Async
        -extends RemoteEndpoint
        +extends RemoteEndpoint
        This representation of the peer of a web socket conversation has the ability to send messages asynchronously. The point of completion of the send is defined when all the supplied data has been written to the underlying connection. @@ -124,95 +147,108 @@ extends
      • +
        +
        +
        +
      • @@ -220,18 +256,19 @@ extends
      • +
          -
        • +
        • Method Detail

          - +
          • getSendTimeout

            -
            long getSendTimeout()
            +
            long getSendTimeout()
            Return the number of milliseconds the implementation will timeout attempting to send a websocket message. A non-positive number indicates the implementation will not timeout attempting to send a websocket message @@ -243,13 +280,13 @@ extends +
            • setSendTimeout

              -
              void setSendTimeout(long timeoutmillis)
              +
              void setSendTimeout​(long timeoutmillis)
              Sets the number of milliseconds the implementation will timeout attempting to send a websocket message. A non-positive number indicates the implementation will not timeout attempting to send a websocket message @@ -262,14 +299,14 @@ extends +
              • sendText

                -
                void sendText(java.lang.String text,
                -              SendHandler handler)
                +
                void sendText​(java.lang.String text,
                +              SendHandler handler)
                Initiates the asynchronous transmission of a text message. This method returns before the message is transmitted. Developers provide a callback to be notified when the message has been transmitted. Errors @@ -283,13 +320,13 @@ extends +
                • sendText

                  -
                  java.util.concurrent.Future<java.lang.Void> sendText(java.lang.String text)
                  +
                  java.util.concurrent.Future<java.lang.Void> sendText​(java.lang.String text)
                  Initiates the asynchronous transmission of a text message. This method returns before the message is transmitted. Developers use the returned Future object to track progress of the transmission. The @@ -306,13 +343,13 @@ extends +
                  • sendBinary

                    -
                    java.util.concurrent.Future<java.lang.Void> sendBinary(java.nio.ByteBuffer data)
                    +
                    java.util.concurrent.Future<java.lang.Void> sendBinary​(java.nio.ByteBuffer data)
                    Initiates the asynchronous transmission of a binary message. This method returns before the message is transmitted. Developers use the returned Future object to track progress of the transmission. The Future's get() method returns null upon successful completion. Errors @@ -328,14 +365,14 @@ extends +
                    • sendBinary

                      -
                      void sendBinary(java.nio.ByteBuffer data,
                      -                SendHandler handler)
                      +
                      void sendBinary​(java.nio.ByteBuffer data,
                      +                SendHandler handler)
                      Initiates the asynchronous transmission of a binary message. This method returns before the message is transmitted. Developers provide a callback to be notified when the message has been transmitted. Errors in transmission are given to the developer in the SendResult object.
                      @@ -348,13 +385,13 @@ extends +
                      • sendObject

                        -
                        java.util.concurrent.Future<java.lang.Void> sendObject(java.lang.Object data)
                        +
                        java.util.concurrent.Future<java.lang.Void> sendObject​(java.lang.Object data)
                        Initiates the asynchronous transmission of a custom developer object. The developer will have provided an encoder for this object type in the endpoint configuration. Containers will by default be able @@ -374,14 +411,14 @@ extends +
                        • sendObject

                          -
                          void sendObject(java.lang.Object data,
                          -                SendHandler handler)
                          +
                          void sendObject​(java.lang.Object data,
                          +                SendHandler handler)
                          Initiates the asynchronous transmission of a custom developer object. Containers will by default be able to encode java primitive types and their object equivalents, otherwise the developer must have provided an encoder @@ -398,21 +435,25 @@ extends +

                          Copyright © 2012–2022 Oracle Corporation. All rights reserved.

                          + diff --git a/apidocs/latest1x/javax/websocket/RemoteEndpoint.Basic.html b/apidocs/latest1x/javax/websocket/RemoteEndpoint.Basic.html index b59ea767..ea183d7a 100644 --- a/apidocs/latest1x/javax/websocket/RemoteEndpoint.Basic.html +++ b/apidocs/latest1x/javax/websocket/RemoteEndpoint.Basic.html @@ -1,44 +1,58 @@ - + - + +RemoteEndpoint.Basic (Tyrus 1.19 API) -RemoteEndpoint.Basic (Tyrus 1.18 API) - + + + + + + + + +var pathtoroot = "../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
                          + +
                          +
                          -
                          javax.websocket
                          +

                          Interface RemoteEndpoint.Basic

                          @@ -102,22 +126,21 @@ var activeTableTab = "activeTableTab";
                        • All Superinterfaces:
                          -
                          RemoteEndpoint
                          +
                          RemoteEndpoint
                          Enclosing interface:
                          -
                          RemoteEndpoint
                          +
                          RemoteEndpoint

                          -
                          public static interface RemoteEndpoint.Basic
                          -extends RemoteEndpoint
                          +extends RemoteEndpoint
                          This representation of the peer of a web socket conversation has the ability to send messages synchronously. The point of completion of the send is defined when all the supplied data has been written to the underlying connection. The methods for sending messages on the RemoteEndpoint.Basic block until this - point of completion is reached, except for getSendStream - and getSendWriter which present + point of completion is reached, except for getSendStream + and getSendWriter which present traditional blocking I/O streams to write messages.

                          If the websocket connection underlying this RemoteEndpoint is busy sending a message when a call is made @@ -132,86 +155,98 @@ extends

                        • +
                          +
                          +
                          +
                        @@ -219,18 +254,19 @@ extends
                      • +
                          -
                        • +
                        • Method Detail

                          - +
                          • sendText

                            -
                            void sendText(java.lang.String text)
                            +
                            void sendText​(java.lang.String text)
                                    throws java.io.IOException
                            Send a text message, blocking until all of the message has been transmitted.
                            @@ -242,13 +278,13 @@ extends +
                            • sendBinary

                              -
                              void sendBinary(java.nio.ByteBuffer data)
                              +
                              void sendBinary​(java.nio.ByteBuffer data)
                                        throws java.io.IOException
                              Send a binary message, returning when all of the message has been transmitted.
                              @@ -260,13 +296,13 @@ extends +
                              • sendText

                                -
                                void sendText(java.lang.String partialMessage,
                                +
                                void sendText​(java.lang.String partialMessage,
                                               boolean isLast)
                                        throws java.io.IOException
                                Send a text message in parts, blocking until all of the message has been transmitted. The runtime @@ -282,13 +318,13 @@ extends +
                                • sendBinary

                                  -
                                  void sendBinary(java.nio.ByteBuffer partialByte,
                                  +
                                  void sendBinary​(java.nio.ByteBuffer partialByte,
                                                   boolean isLast)
                                            throws java.io.IOException
                                  Send a binary message in parts, blocking until all of the message has been transmitted. The runtime @@ -304,13 +340,13 @@ extends +
                                  • getSendStream

                                    -
                                    java.io.OutputStream getSendStream()
                                    +
                                    java.io.OutputStream getSendStream()
                                                                 throws java.io.IOException
                                    Opens an output stream on which a binary message may be sent. The developer must close the output stream in order to indicate that the complete message has been placed into the output stream.
                                    @@ -322,13 +358,13 @@ extends +
                                    • getSendWriter

                                      -
                                      java.io.Writer getSendWriter()
                                      +
                                      java.io.Writer getSendWriter()
                                                             throws java.io.IOException
                                      Opens an character stream on which a text message may be sent. The developer must close the writer in order to indicate that the complete message has been placed into the character stream.
                                      @@ -340,15 +376,15 @@ extends +
                                      • sendObject

                                        -
                                        void sendObject(java.lang.Object data)
                                        +
                                        void sendObject​(java.lang.Object data)
                                                  throws java.io.IOException,
                                        -                EncodeException
                                        + EncodeException
                                        Sends a custom developer object, blocking until it has been transmitted. Containers will by default be able to encode java primitive types and their object equivalents, otherwise the developer must have provided an encoder @@ -360,28 +396,32 @@ extends Throws:
                                        java.io.IOException - if there is a communication error sending the message object.
                                        -
                                        EncodeException - if there was a problem encoding the message object into the form of a native websocket message.
                                        +
                                        EncodeException - if there was a problem encoding the message object into the form of a native websocket message.
                                        java.lang.IllegalArgumentException - if the data parameter is null
                          +
                  +
      • + diff --git a/apidocs/latest1x/javax/websocket/RemoteEndpoint.html b/apidocs/latest1x/javax/websocket/RemoteEndpoint.html index 1e9430c4..80cb8ca4 100644 --- a/apidocs/latest1x/javax/websocket/RemoteEndpoint.html +++ b/apidocs/latest1x/javax/websocket/RemoteEndpoint.html @@ -1,44 +1,58 @@ - + - + +RemoteEndpoint (Tyrus 1.19 API) -RemoteEndpoint (Tyrus 1.18 API) - + + + + + + + + +var pathtoroot = "../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
        + +
        +
        -
        javax.websocket
        +

        Interface RemoteEndpoint

        @@ -102,19 +126,18 @@ var activeTableTab = "activeTableTab";
      • All Known Subinterfaces:
        -
        RemoteEndpoint.Async, RemoteEndpoint.Basic
        +
        RemoteEndpoint.Async, RemoteEndpoint.Basic
        All Known Implementing Classes:
        -
        TyrusRemoteEndpoint
        +
        TyrusRemoteEndpoint

        -
        public interface RemoteEndpoint
        The RemoteEndpoint object is supplied by the container and represents the 'other end' or peer of the Web Socket conversation. Instances of the RemoteEndpoint - are obtained from the Session using Session.getBasicRemote() or - Session.getAsyncRemote(). + are obtained from the Session using Session.getBasicRemote() or + Session.getAsyncRemote(). Objects of this kind include numerous ways to send web socket messages. There are two kinds of RemoteEndpoint objects: RemoteEndpoint.Basic for synchronous sending of websocket messages, and RemoteEndpoint.Async for sending messages @@ -128,7 +151,7 @@ var activeTableTab = "activeTableTab";

        Implementations may or may not support batching of messages. More detail of the expected semantics - of implementations that do support batching are laid out in setBatchingAllowed(boolean). + of implementations that do support batching are laid out in setBatchingAllowed(boolean).

        Note: Implementations may choose their own schemes for sending large messages in smaller parts. These schemes may or may not bear a relationship to the underlying websocket dataframes in which the message @@ -148,27 +171,31 @@ var activeTableTab = "activeTableTab";

        • +
            -
          • +
          • Nested Class Summary

            - +
            - + + - + - + @@ -176,40 +203,47 @@ var activeTableTab = "activeTableTab";
            Nested Classes 
            Modifier and TypeInterface and DescriptionInterfaceDescription
            static interface RemoteEndpoint.Async +RemoteEndpoint.Async
            This representation of the peer of a web socket conversation has the ability to send messages asynchronously.
            static interface RemoteEndpoint.Basic +RemoteEndpoint.Basic
            This representation of the peer of a web socket conversation has the ability to send messages synchronously.
          +
          +
            -
          • +
          • Method Summary

            - +
            - + + - + - + - + - + - + @@ -225,6 +260,7 @@ var activeTableTab = "activeTableTab";
            All Methods Instance Methods Abstract Methods 
            Modifier and TypeMethod and DescriptionMethodDescription
            voidflushBatch() +flushBatch()
            This method is only used when batching is allowed for this RemoteEndpint.
            booleangetBatchingAllowed() +getBatchingAllowed()
            Return whether the implementation is allowed to batch outgoing messages before sending.
            voidsendPing(java.nio.ByteBuffer applicationData) +sendPing​(java.nio.ByteBuffer applicationData)
            Send a Ping message containing the given application data to the remote endpoint.
            voidsendPong(java.nio.ByteBuffer applicationData) +sendPong​(java.nio.ByteBuffer applicationData)
            Allows the developer to send an unsolicited Pong message containing the given application data in order to serve as a unidirectional heartbeat for the session.
            @@ -217,7 +251,8 @@ var activeTableTab = "activeTableTab";
            voidsetBatchingAllowed(boolean allowed) +setBatchingAllowed​(boolean allowed)
            Indicate to the implementation that it is allowed to batch outgoing messages before sending.
          +
        @@ -232,18 +268,19 @@ var activeTableTab = "activeTableTab";
        • +
            -
          • +
          • Method Detail

            - +
            • setBatchingAllowed

              -
              void setBatchingAllowed(boolean allowed)
              +
              void setBatchingAllowed​(boolean allowed)
                                throws java.io.IOException
              Indicate to the implementation that it is allowed to batch outgoing messages before sending. Not all implementations support batching of outgoing messages. @@ -275,25 +312,25 @@ var activeTableTab = "activeTableTab";
            - +
            • getBatchingAllowed

              -
              boolean getBatchingAllowed()
              +
              boolean getBatchingAllowed()
              Return whether the implementation is allowed to batch outgoing messages before sending. The default mode for RemoteEndpoints is false. The value - may be changed by calling setBatchingAllowed.
              + may be changed by calling setBatchingAllowed.
      • - +
        • flushBatch

          -
          void flushBatch()
          +
          void flushBatch()
                    throws java.io.IOException
          This method is only used when batching is allowed for this RemoteEndpint. Calling this method forces the implementation to send any unsent messages it has been batching.
          @@ -303,13 +340,13 @@ var activeTableTab = "activeTableTab";
        - +
        • sendPing

          -
          void sendPing(java.nio.ByteBuffer applicationData)
          +
          void sendPing​(java.nio.ByteBuffer applicationData)
                  throws java.io.IOException,
                         java.lang.IllegalArgumentException
          Send a Ping message containing the given application data to the remote endpoint. The corresponding Pong message may be picked @@ -323,13 +360,13 @@ var activeTableTab = "activeTableTab";
        - +
        • sendPong

          -
          void sendPong(java.nio.ByteBuffer applicationData)
          +
          void sendPong​(java.nio.ByteBuffer applicationData)
                  throws java.io.IOException,
                         java.lang.IllegalArgumentException
          Allows the developer to send an unsolicited Pong message containing the given application @@ -346,21 +383,25 @@ var activeTableTab = "activeTableTab";
        + +
        + diff --git a/apidocs/latest1x/javax/websocket/SendHandler.html b/apidocs/latest1x/javax/websocket/SendHandler.html index f1087a1d..cda967f8 100644 --- a/apidocs/latest1x/javax/websocket/SendHandler.html +++ b/apidocs/latest1x/javax/websocket/SendHandler.html @@ -1,44 +1,58 @@ - + - + +SendHandler (Tyrus 1.19 API) -SendHandler (Tyrus 1.18 API) - + + + + + + + + +var pathtoroot = "../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
        + +
        +
        -
        javax.websocket
        +

        Interface SendHandler

        @@ -101,7 +125,6 @@ var activeTableTab = "activeTableTab";

        • -
          public interface SendHandler
          A simple callback object for asynchronous sending of web socket messages.
          @@ -115,26 +138,30 @@ var activeTableTab = "activeTableTab";
        @@ -142,18 +169,19 @@ var activeTableTab = "activeTableTab";
        • +
            -
          • +
          • Method Detail

            - +
            • onResult

              -
              void onResult(SendResult result)
              +
              void onResult​(SendResult result)
              Called once the message has been transmitted.
              Parameters:
              @@ -163,21 +191,25 @@ var activeTableTab = "activeTableTab";
          +
        +
        + diff --git a/apidocs/latest1x/javax/websocket/SendResult.html b/apidocs/latest1x/javax/websocket/SendResult.html index ee8cfbed..b8b8fa6e 100644 --- a/apidocs/latest1x/javax/websocket/SendResult.html +++ b/apidocs/latest1x/javax/websocket/SendResult.html @@ -1,44 +1,58 @@ - + - + +SendResult (Tyrus 1.19 API) -SendResult (Tyrus 1.18 API) - + + + + + + + + +var pathtoroot = "../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
        + +
        +
        -
        javax.websocket
        +

        Class SendResult

        @@ -109,7 +133,6 @@ var activeTableTab = "activeTableTab";

        • -
          public final class SendResult
           extends java.lang.Object
          The result of asynchronously sending a web socket message. A SendResult is either @@ -126,56 +149,65 @@ extends java.lang.Object
          • +
              -
            • +
            • Constructor Summary

              - +
              - + + - + - +
              Constructors 
              Constructor and DescriptionConstructorDescription
              SendResult() +SendResult()
              Construct a SendResult signifying a successful send carrying no exception.
              SendResult(java.lang.Throwable exception) +SendResult​(java.lang.Throwable exception)
              Construct a SendResult carrying an exception.
            +
            +
              -
            • +
            • Method Summary

              - +
              - + + - + - +
              All Methods Instance Methods Concrete Methods 
              Modifier and TypeMethod and DescriptionMethodDescription
              java.lang.ThrowablegetException() +getException()
              The problem sending the message.
              booleanisOK() +isOK()
              Determines if this result is ok or not.
                -
              • +
              • Methods inherited from class java.lang.Object

                @@ -183,6 +215,7 @@ extends java.lang.Object
            +
          @@ -190,18 +223,19 @@ extends java.lang.Object
          • +
              -
            • +
            • Constructor Detail

              - +
              • SendResult

                -
                public SendResult(java.lang.Throwable exception)
                +
                public SendResult​(java.lang.Throwable exception)
                Construct a SendResult carrying an exception.
                Parameters:
                @@ -209,7 +243,7 @@ extends java.lang.Object
              - +
                @@ -221,19 +255,21 @@ extends java.lang.Object
            +
            +
              -
            • +
            • Method Detail

              - +
              • getException

                -
                public java.lang.Throwable getException()
                +
                public java.lang.Throwable getException()
                The problem sending the message.
                Returns:
                @@ -241,13 +277,13 @@ extends java.lang.Object
              - +
              • isOK

                -
                public boolean isOK()
                +
                public boolean isOK()
                Determines if this result is ok or not.
                Returns:
                @@ -257,21 +293,25 @@ extends java.lang.Object
            +
        +
        + diff --git a/apidocs/latest1x/javax/websocket/Session.html b/apidocs/latest1x/javax/websocket/Session.html index b20b811c..cc8d777f 100644 --- a/apidocs/latest1x/javax/websocket/Session.html +++ b/apidocs/latest1x/javax/websocket/Session.html @@ -1,44 +1,58 @@ - + - + +Session (Tyrus 1.19 API) -Session (Tyrus 1.18 API) - + + + + + + + + +var pathtoroot = "../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
        + +
        +
        -
        javax.websocket
        +

        Interface Session

        @@ -102,18 +126,17 @@ var activeTableTab = "activeTableTab";
      • All Superinterfaces:
        -
        java.lang.AutoCloseable, java.io.Closeable
        +
        java.lang.AutoCloseable, java.io.Closeable
        All Known Subinterfaces:
        -
        DistributedSession
        +
        DistributedSession
        All Known Implementing Classes:
        -
        RemoteSession, TyrusSession
        +
        RemoteSession, TyrusSession

        -
        public interface Session
         extends java.io.Closeable
        A Web Socket session represents a conversation between two web socket endpoints. As soon @@ -127,7 +150,7 @@ extends java.io.Closeable its methods (with the exception of the close() methods) once the session has been closed will result in an IllegalStateException being thrown. Developers should retrieve any information from the session during the - Endpoint.onClose(javax.websocket.Session, javax.websocket.CloseReason) method. Following the convention of Closeable + Endpoint.onClose(javax.websocket.Session, javax.websocket.CloseReason) method. Following the convention of Closeable calling the Session close() methods after the Session has been closed has no effect.

        @@ -144,162 +167,187 @@ extends java.io.Closeable

        @@ -352,18 +407,19 @@ extends java.io.Closeable
      • Parameters:
        handler - the MessageHandler to be added.
        @@ -402,20 +458,20 @@ extends java.io.Closeable
        - +
        • addMessageHandler

          -
          <T> void addMessageHandler(java.lang.Class<T> clazz,
          -                           MessageHandler.Whole<T> handler)
          +
          <T> void addMessageHandler​(java.lang.Class<T> clazz,
          +                           MessageHandler.Whole<T> handler)
          Register to handle to incoming messages in this conversation. A maximum of one message handler per native websocket message type (text, binary, pong) may be added to each Session. I.e. a maximum of one message handler to handle incoming text messages a maximum of one message handler for handling incoming binary messages, and a maximum of one for handling incoming pong messages. For further details of which message handlers handle which of the native websocket - message types please see MessageHandler.Whole and MessageHandler.Partial. + message types please see MessageHandler.Whole and MessageHandler.Partial. Adding more than one of any one type will result in a runtime exception.
          Parameters:
          @@ -429,20 +485,20 @@ extends java.io.Closeable
        - +
        • addMessageHandler

          -
          <T> void addMessageHandler(java.lang.Class<T> clazz,
          -                           MessageHandler.Partial<T> handler)
          +
          <T> void addMessageHandler​(java.lang.Class<T> clazz,
          +                           MessageHandler.Partial<T> handler)
          Register to handle to incoming messages in this conversation. A maximum of one message handler per native websocket message type (text, binary, pong) may be added to each Session. I.e. a maximum of one message handler to handle incoming text messages a maximum of one message handler for handling incoming binary messages, and a maximum of one for handling incoming pong messages. For further details of which message handlers handle which of the native websocket - message types please see MessageHandler.Whole and MessageHandler.Partial. + message types please see MessageHandler.Whole and MessageHandler.Partial. Adding more than one of any one type will result in a runtime exception.
          Parameters:
          @@ -456,13 +512,13 @@ extends java.io.Closeable
        - +
        • getMessageHandlers

          -
          java.util.Set<MessageHandler> getMessageHandlers()
          +
          java.util.Set<MessageHandler> getMessageHandlers()
          Return an unmodifiable copy of the set of MessageHandlers for this Session.
          Returns:
          @@ -470,13 +526,13 @@ extends java.io.Closeable
        - +
        • removeMessageHandler

          -
          void removeMessageHandler(MessageHandler handler)
          +
          void removeMessageHandler​(MessageHandler handler)
          Remove the given MessageHandler from the set belonging to this session. This method may block if the given handler is processing a message until it is no longer in use.
          @@ -485,13 +541,13 @@ extends java.io.Closeable
        - +
        • getProtocolVersion

          -
          java.lang.String getProtocolVersion()
          +
          java.lang.String getProtocolVersion()
          Returns the version of the websocket protocol currently being used. This is taken as the value of the Sec-WebSocket-Version header used in the opening handshake. i.e. "13".
          @@ -500,13 +556,13 @@ extends java.io.Closeable
        - +
        • getNegotiatedSubprotocol

          -
          java.lang.String getNegotiatedSubprotocol()
          +
          java.lang.String getNegotiatedSubprotocol()
          Return the sub protocol agreed during the websocket handshake for this conversation.
          Returns:
          @@ -514,13 +570,13 @@ extends java.io.Closeable
        - +
        • getNegotiatedExtensions

          -
          java.util.List<Extension> getNegotiatedExtensions()
          +
          java.util.List<Extension> getNegotiatedExtensions()
          Return the list of extensions currently in use for this conversation.
          Returns:
          @@ -528,13 +584,13 @@ extends java.io.Closeable
        - +
        • isSecure

          -
          boolean isSecure()
          +
          boolean isSecure()
          Return true if and only if the underlying socket is using a secure transport.
          Returns:
          @@ -542,13 +598,13 @@ extends java.io.Closeable
        - +
        • isOpen

          -
          boolean isOpen()
          +
          boolean isOpen()
          Return true if and only if the underlying socket is open.
          Returns:
          @@ -556,13 +612,13 @@ extends java.io.Closeable
        - +
        • getMaxIdleTimeout

          -
          long getMaxIdleTimeout()
          +
          long getMaxIdleTimeout()
          Return the number of milliseconds before this conversation may be closed by the container if it is inactive, i.e. no messages are either sent or received in that time.
          @@ -571,13 +627,13 @@ extends java.io.Closeable
        - +
        • setMaxIdleTimeout

          -
          void setMaxIdleTimeout(long milliseconds)
          +
          void setMaxIdleTimeout​(long milliseconds)
          Set the non-zero number of milliseconds before this session will be closed by the container if it is inactive, ie no messages are either sent or received. A value that is 0 or negative indicates the session will never timeout due to inactivity.
          @@ -587,13 +643,13 @@ extends java.io.Closeable
        - +
        • setMaxBinaryMessageBufferSize

          -
          void setMaxBinaryMessageBufferSize(int length)
          +
          void setMaxBinaryMessageBufferSize​(int length)
          Sets the maximum length of incoming binary messages that this Session can buffer.
          Parameters:
          @@ -601,29 +657,29 @@ extends java.io.Closeable
        - +
        • getMaxBinaryMessageBufferSize

          -
          int getMaxBinaryMessageBufferSize()
          +
          int getMaxBinaryMessageBufferSize()
          The maximum length of incoming binary messages that this Session can buffer. If the implementation receives a binary message that it cannot buffer because it - is too large, it must close the session with a close code of CloseReason.CloseCodes.TOO_BIG.
          + is too large, it must close the session with a close code of CloseReason.CloseCodes.TOO_BIG.
          Returns:
          the maximum binary message size that can be buffered.
        - +
        • setMaxTextMessageBufferSize

          -
          void setMaxTextMessageBufferSize(int length)
          +
          void setMaxTextMessageBufferSize​(int length)
          Sets the maximum length of incoming text messages that this Session can buffer.
          Parameters:
          @@ -631,29 +687,29 @@ extends java.io.Closeable
        - +
        • getMaxTextMessageBufferSize

          -
          int getMaxTextMessageBufferSize()
          +
          int getMaxTextMessageBufferSize()
          The maximum length of incoming text messages that this Session can buffer. If the implementation receives a text message that it cannot buffer because it - is too large, it must close the session with a close code of CloseReason.CloseCodes.TOO_BIG.
          + is too large, it must close the session with a close code of CloseReason.CloseCodes.TOO_BIG.
          Returns:
          the maximum text message size that can be buffered.
        - +
        • getAsyncRemote

          -
          RemoteEndpoint.Async getAsyncRemote()
          +
          RemoteEndpoint.Async getAsyncRemote()
          Return a reference a RemoteEndpoint object representing the peer of this conversation that is able to send messages asynchronously to the peer.
          @@ -662,13 +718,13 @@ extends java.io.Closeable
        - +
        • getBasicRemote

          -
          RemoteEndpoint.Basic getBasicRemote()
          +
          RemoteEndpoint.Basic getBasicRemote()
          Return a reference a RemoteEndpoint object representing the peer of this conversation that is able to send messages synchronously to the peer.
          @@ -677,13 +733,13 @@ extends java.io.Closeable
        - +
        • getId

          -
          java.lang.String getId()
          +
          java.lang.String getId()
          Returns a string containing the unique identifier assigned to this session. The identifier is assigned by the web socket implementation and is implementation dependent.
          @@ -692,13 +748,13 @@ extends java.io.Closeable
        - +
        • close

          -
          void close()
          +
          void close()
               throws java.io.IOException
          Close the current conversation with a normal status code and no reason phrase.
          @@ -711,13 +767,13 @@ extends java.io.Closeable
        - +
        • close

          -
          void close(CloseReason closeReason)
          +
          void close​(CloseReason closeReason)
               throws java.io.IOException
          Close the current conversation, giving a reason for the closure. The close call causes the implementation to attempt notify the client of the close as @@ -727,7 +783,7 @@ extends java.io.Closeable
          specification defines the acceptable uses of status codes and reason phrases. If the application cannot determine a suitable close code to use for the closeReason, it is recommended - to use CloseReason.CloseCodes.NO_STATUS_CODE. + to use CloseReason.CloseCodes.NO_STATUS_CODE.
          Parameters:
          closeReason - the reason for the closure.
          @@ -736,13 +792,13 @@ extends java.io.Closeable
        - +
        • getRequestURI

          -
          java.net.URI getRequestURI()
          +
          java.net.URI getRequestURI()
          Return the URI under which this session was opened, including the query string if there is one.
          @@ -751,13 +807,13 @@ extends java.io.Closeable
        - +
        • getRequestParameterMap

          -
          java.util.Map<java.lang.String,java.util.List<java.lang.String>> getRequestParameterMap()
          +
          java.util.Map<java.lang.String,​java.util.List<java.lang.String>> getRequestParameterMap()
          Return the request parameters associated with the request this session was opened under.
          @@ -766,13 +822,13 @@ extends java.io.Closeable
        - +
        • getQueryString

          -
          java.lang.String getQueryString()
          +
          java.lang.String getQueryString()
          Return the query string associated with the request this session was opened under.
          @@ -781,13 +837,13 @@ extends java.io.Closeable
        - +
        • getPathParameters

          -
          java.util.Map<java.lang.String,java.lang.String> getPathParameters()
          +
          java.util.Map<java.lang.String,​java.lang.String> getPathParameters()
          Return a map of the path parameter names and values used associated with the request this session was opened under.
          @@ -797,13 +853,13 @@ extends java.io.Closeable
        - +
        • getUserProperties

          -
          java.util.Map<java.lang.String,java.lang.Object> getUserProperties()
          +
          java.util.Map<java.lang.String,​java.lang.Object> getUserProperties()
          While the session is open, this method returns a Map that the developer may use to store application specific information relating to this session instance. The developer may retrieve information from this Map at any time @@ -818,13 +874,13 @@ extends java.io.Closeable
        - +
        • getUserPrincipal

          -
          java.security.Principal getUserPrincipal()
          +
          java.security.Principal getUserPrincipal()
          Return the authenticated user for this Session or null if no user is authenticated for this session.
          Returns:
          @@ -832,13 +888,13 @@ extends java.io.Closeable
        - +
        • getOpenSessions

          -
          java.util.Set<Session> getOpenSessions()
          +
          java.util.Set<Session> getOpenSessions()
          Return a copy of the Set of all the open web socket sessions that represent connections to the same endpoint to which this session represents a connection. The Set includes the session this method is called on. These @@ -853,21 +909,25 @@ extends java.io.Closeable
        + +
        + diff --git a/apidocs/latest1x/javax/websocket/SessionException.html b/apidocs/latest1x/javax/websocket/SessionException.html index 470d6d55..f65b4e83 100644 --- a/apidocs/latest1x/javax/websocket/SessionException.html +++ b/apidocs/latest1x/javax/websocket/SessionException.html @@ -1,44 +1,58 @@ - + - + +SessionException (Tyrus 1.19 API) -SessionException (Tyrus 1.18 API) - + + + + + + + + +var pathtoroot = "../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
        + +
        +
        -
        javax.websocket
        +

        Class SessionException

        @@ -120,10 +144,9 @@ var activeTableTab = "activeTableTab";
      • All Implemented Interfaces:
        -
        java.io.Serializable
        +
        java.io.Serializable

        -
        public class SessionException
         extends java.lang.Exception
        A SessionException represents a general exception type reporting problems @@ -141,20 +164,23 @@ extends java.lang.Exception
        • +
            -
          • +
          • Constructor Summary

            - +
            - + + - +
            Constructors 
            Constructor and DescriptionConstructorDescription
            SessionException(java.lang.String message, +SessionException​(java.lang.String message, java.lang.Throwable cause, - Session session) + Session session)
            Creates a new instance of this exception with the given message, the wrapped cause of the exception and the session with which the problem is associated.
            @@ -163,34 +189,38 @@ extends java.lang.Exception
          +
          +
            -
          • +
          • Method Summary

            - +
            - + + - - + +
            All Methods Instance Methods Concrete Methods 
            Modifier and TypeMethod and DescriptionMethodDescription
            SessiongetSession() +SessiongetSession()
            Return the Session on which the problem occurred.
              -
            • +
            • Methods inherited from class java.lang.Throwable

              addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
              -
            • +
            • Methods inherited from class java.lang.Object

              @@ -198,6 +228,7 @@ extends java.lang.Exception
          +
        @@ -205,20 +236,21 @@ extends java.lang.Exception
        • +
            -
          • +
          • Constructor Detail

            - +
            • SessionException

              -
              public SessionException(java.lang.String message,
              +
              public SessionException​(java.lang.String message,
                                       java.lang.Throwable cause,
              -                        Session session)
              + Session session)
              Creates a new instance of this exception with the given message, the wrapped cause of the exception and the session with which the problem is associated.
              @@ -232,19 +264,21 @@ extends java.lang.Exception
          +
          +
            -
          • +
          • Method Detail

            - +
            • getSession

              -
              public Session getSession()
              +
              public Session getSession()
              Return the Session on which the problem occurred.
              Returns:
              @@ -254,21 +288,25 @@ extends java.lang.Exception
          +
      • +
        + diff --git a/apidocs/latest1x/javax/websocket/WebSocketContainer.html b/apidocs/latest1x/javax/websocket/WebSocketContainer.html index fa76b5cc..f173544a 100644 --- a/apidocs/latest1x/javax/websocket/WebSocketContainer.html +++ b/apidocs/latest1x/javax/websocket/WebSocketContainer.html @@ -1,44 +1,58 @@ - + - + +WebSocketContainer (Tyrus 1.19 API) -WebSocketContainer (Tyrus 1.18 API) - + + + + + + + + +var pathtoroot = "../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
        + +
        +
        -
        javax.websocket
        +

        Interface WebSocketContainer

        @@ -102,14 +126,13 @@ var activeTableTab = "activeTableTab";
      • All Known Subinterfaces:
        -
        ServerContainer, ServerContainer
        +
        ServerContainer, ServerContainer
        All Known Implementing Classes:
        -
        BaseContainer, ClientManager, TyrusServerContainer
        +
        BaseContainer, ClientManager, TyrusServerContainer

        -
        public interface WebSocketContainer
        A WebSocketContainer is an implementation provided object that provides applications a view on the container running it. The WebSocketContainer container various @@ -133,52 +156,59 @@ var activeTableTab = "activeTableTab";
        @@ -250,18 +289,19 @@ var activeTableTab = "activeTableTab";
        • +
            -
          • +
          • Method Detail

            - +
            • getDefaultAsyncSendTimeout

              -
              long getDefaultAsyncSendTimeout()
              +
              long getDefaultAsyncSendTimeout()
              Return the number of milliseconds the implementation will timeout attempting to send a websocket message for all RemoteEndpoints associated with this container. A non-positive number indicates @@ -273,13 +313,13 @@ var activeTableTab = "activeTableTab";
            - +
            • setAsyncSendTimeout

              -
              void setAsyncSendTimeout(long timeoutmillis)
              +
              void setAsyncSendTimeout​(long timeoutmillis)
              Sets the number of milliseconds the implementation will timeout attempting to send a websocket message for all RemoteEndpoints associated with this container. A non-positive number indicates @@ -287,26 +327,26 @@ var activeTableTab = "activeTableTab"; asynchronously. Note this default may be overridden in each RemoteEndpoint.
            - +
            • connectToServer

              -
              Session connectToServer(java.lang.Object annotatedEndpointInstance,
              +
              Session connectToServer​(java.lang.Object annotatedEndpointInstance,
                                       java.net.URI path)
              -                 throws DeploymentException,
              +                 throws DeploymentException,
                                       java.io.IOException
              Connect the supplied annotated endpoint instance to its server. The supplied object must be a class decorated with the class level - ServerEndpoint annotation. This method + ServerEndpoint annotation. This method blocks until the connection is established, or throws an error if either the connection could not be made or there was a problem with the supplied endpoint class. If the developer uses this method to deploy the client endpoint, services like dependency injection that are supported, for example, when the implementation is part of the Java EE platform may not be available. If the client endpoint uses dependency injection, - use connectToServer(java.lang.Class, java.net.URI) + use connectToServer(java.lang.Class, java.net.URI) instead.
              Parameters:
              @@ -316,7 +356,7 @@ var activeTableTab = "activeTableTab";
              Returns:
              the Session created if the connection is successful.
              Throws:
              -
              DeploymentException - if the annotated endpoint instance is not valid.
              +
              DeploymentException - if the annotated endpoint instance is not valid.
              java.io.IOException - if there was a network or protocol problem that prevented the client endpoint being connected to its server.
              java.lang.IllegalStateException - if called during the deployment phase @@ -324,19 +364,19 @@ var activeTableTab = "activeTableTab";
            - +
            • connectToServer

              -
              Session connectToServer(java.lang.Class<?> annotatedEndpointClass,
              +
              Session connectToServer​(java.lang.Class<?> annotatedEndpointClass,
                                       java.net.URI path)
              -                 throws DeploymentException,
              +                 throws DeploymentException,
                                       java.io.IOException
              Connect the supplied annotated endpoint to its server. The supplied object must be a class decorated with the class level - ServerEndpoint annotation. This method blocks until the connection + ServerEndpoint annotation. This method blocks until the connection is established, or throws an error if either the connection could not be made or there was a problem with the supplied endpoint class.
              @@ -346,7 +386,7 @@ var activeTableTab = "activeTableTab";
              Returns:
              the Session created if the connection is successful.
              Throws:
              -
              DeploymentException - if the class is not a valid annotated endpoint class.
              +
              DeploymentException - if the class is not a valid annotated endpoint class.
              java.io.IOException - if there was a network or protocol problem that prevented the client endpoint being connected to its server.
              java.lang.IllegalStateException - if called during the deployment phase @@ -354,16 +394,16 @@ var activeTableTab = "activeTableTab";
            - + - +
            • connectToServer

              -
              Session connectToServer(java.lang.Class<? extends Endpoint> endpointClass,
              -                        ClientEndpointConfig cec,
              +
              Session connectToServer​(java.lang.Class<? extends Endpoint> endpointClass,
              +                        ClientEndpointConfig cec,
                                       java.net.URI path)
              -                 throws DeploymentException,
              +                 throws DeploymentException,
                                       java.io.IOException
              Connect the supplied programmatic endpoint to its server with the given configuration. This method blocks until the connection is established, or throws an error if the connection could not be made.
              Parameters:
              -
              endpointClass - the programmatic client endpoint class Endpoint.
              +
              endpointClass - the programmatic client endpoint class Endpoint.
              path - the complete path to the server endpoint.
              cec - the configuration used to configure the programmatic endpoint.
              Returns:
              the Session created if the connection is successful.
              Throws:
              -
              DeploymentException - if the configuration is not valid
              +
              DeploymentException - if the configuration is not valid
              java.io.IOException - if there was a network or protocol problem that prevented the client endpoint being connected to its server
              java.lang.IllegalStateException - if called during the deployment phase of the containing application.
            - +
            • getDefaultMaxSessionIdleTimeout

              -
              long getDefaultMaxSessionIdleTimeout()
              +
              long getDefaultMaxSessionIdleTimeout()
              Return the default time in milliseconds after which any web socket sessions in this container will be closed if it has been inactive. A value that is 0 or negative indicates the sessions will never timeout due to inactivity. The value may be overridden on a per session basis using - Session.setMaxIdleTimeout(long)
              + Session.setMaxIdleTimeout(long)
      • Returns:
        the default number of milliseconds after which an idle session in this container @@ -438,47 +478,47 @@ var activeTableTab = "activeTableTab";
        - +
        • setDefaultMaxSessionIdleTimeout

          -
          void setDefaultMaxSessionIdleTimeout(long timeout)
          +
          void setDefaultMaxSessionIdleTimeout​(long timeout)
          Sets the default time in milliseconds after which any web socket sessions in this container will be closed if it has been inactive. A value that is 0 or negative indicates the sessions will never timeout due to inactivity. The value may be overridden on a per session basis using - Session.setMaxIdleTimeout(long)
          + Session.setMaxIdleTimeout(long)
          Parameters:
          timeout - the maximum time in milliseconds.
        - +
        • getDefaultMaxBinaryMessageBufferSize

          -
          int getDefaultMaxBinaryMessageBufferSize()
          +
          int getDefaultMaxBinaryMessageBufferSize()
          Returns the default maximum size of incoming binary message that this container will buffer. This default may be overridden on a per session basis using - Session.setMaxBinaryMessageBufferSize(int)
          + Session.setMaxBinaryMessageBufferSize(int)
          Returns:
          the maximum size of incoming binary message in number of bytes.
        - +
        • setDefaultMaxBinaryMessageBufferSize

          -
          void setDefaultMaxBinaryMessageBufferSize(int max)
          +
          void setDefaultMaxBinaryMessageBufferSize​(int max)
          Sets the default maximum size of incoming binary message that this container will buffer.
          @@ -487,29 +527,29 @@ var activeTableTab = "activeTableTab";
        - +
        • getDefaultMaxTextMessageBufferSize

          -
          int getDefaultMaxTextMessageBufferSize()
          +
          int getDefaultMaxTextMessageBufferSize()
          Returns the default maximum size of incoming text message that this container will buffer. This default may be overridden on a per session basis using - Session.setMaxTextMessageBufferSize(int)
          + Session.setMaxTextMessageBufferSize(int)
          Returns:
          the maximum size of incoming text message in number of bytes.
        - +
        • setDefaultMaxTextMessageBufferSize

          -
          void setDefaultMaxTextMessageBufferSize(int max)
          +
          void setDefaultMaxTextMessageBufferSize​(int max)
          Sets the maximum size of incoming text message that this container will buffer.
          @@ -518,13 +558,13 @@ var activeTableTab = "activeTableTab";
        - +
        • getInstalledExtensions

          -
          java.util.Set<Extension> getInstalledExtensions()
          +
          java.util.Set<Extension> getInstalledExtensions()
          Return the set of Extensions installed in the container.
          Returns:
          @@ -534,21 +574,25 @@ var activeTableTab = "activeTableTab";
        + +
        + diff --git a/apidocs/latest1x/javax/websocket/class-use/ClientEndpoint.html b/apidocs/latest1x/javax/websocket/class-use/ClientEndpoint.html index 35b2a485..a9635920 100644 --- a/apidocs/latest1x/javax/websocket/class-use/ClientEndpoint.html +++ b/apidocs/latest1x/javax/websocket/class-use/ClientEndpoint.html @@ -1,40 +1,54 @@ - + - + +Uses of Class javax.websocket.ClientEndpoint (Tyrus 1.19 API) -Uses of Class javax.websocket.ClientEndpoint (Tyrus 1.18 API) - + + + + + + + + +var pathtoroot = "../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
        + +
        +

        Uses of Class
        javax.websocket.ClientEndpoint

        No usage of javax.websocket.ClientEndpoint
        +
        + diff --git a/apidocs/latest1x/javax/websocket/class-use/ClientEndpointConfig.Builder.html b/apidocs/latest1x/javax/websocket/class-use/ClientEndpointConfig.Builder.html index e88d48fd..d5176e09 100644 --- a/apidocs/latest1x/javax/websocket/class-use/ClientEndpointConfig.Builder.html +++ b/apidocs/latest1x/javax/websocket/class-use/ClientEndpointConfig.Builder.html @@ -1,40 +1,54 @@ - + - + +Uses of Class javax.websocket.ClientEndpointConfig.Builder (Tyrus 1.19 API) -Uses of Class javax.websocket.ClientEndpointConfig.Builder (Tyrus 1.18 API) - + + + + + + + + +var pathtoroot = "../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
        + +
        +

        Uses of Class
        javax.websocket.ClientEndpointConfig.Builder

        • - - +
          Packages that use ClientEndpointConfig.Builder 
          + - +
          Packages that use ClientEndpointConfig.Builder 
          Package Description
          javax.websocketjavax.websocket
          This package contains all the WebSocket APIs common to both the client and server side.
          @@ -95,73 +119,85 @@
        • + + diff --git a/apidocs/latest1x/javax/websocket/class-use/ClientEndpointConfig.Configurator.html b/apidocs/latest1x/javax/websocket/class-use/ClientEndpointConfig.Configurator.html index a167098e..69ef9448 100644 --- a/apidocs/latest1x/javax/websocket/class-use/ClientEndpointConfig.Configurator.html +++ b/apidocs/latest1x/javax/websocket/class-use/ClientEndpointConfig.Configurator.html @@ -1,40 +1,54 @@ - + - + +Uses of Class javax.websocket.ClientEndpointConfig.Configurator (Tyrus 1.19 API) -Uses of Class javax.websocket.ClientEndpointConfig.Configurator (Tyrus 1.18 API) - + + + + + + + + +var pathtoroot = "../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
          + +
          +

          Uses of Class
          javax.websocket.ClientEndpointConfig.Configurator

          • - - +
            Packages that use ClientEndpointConfig.Configurator 
            + - +
            Packages that use ClientEndpointConfig.Configurator 
            Package Description
            javax.websocketjavax.websocket
            This package contains all the WebSocket APIs common to both the client and server side.
            @@ -95,57 +119,84 @@
          • + + diff --git a/apidocs/latest1x/javax/websocket/class-use/ClientEndpointConfig.html b/apidocs/latest1x/javax/websocket/class-use/ClientEndpointConfig.html index 2453297d..5bbc61e4 100644 --- a/apidocs/latest1x/javax/websocket/class-use/ClientEndpointConfig.html +++ b/apidocs/latest1x/javax/websocket/class-use/ClientEndpointConfig.html @@ -1,40 +1,54 @@ - + - + +Uses of Interface javax.websocket.ClientEndpointConfig (Tyrus 1.19 API) -Uses of Interface javax.websocket.ClientEndpointConfig (Tyrus 1.18 API) - + + + + + + + + +var pathtoroot = "../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
            + +
            +

            Uses of Interface
            javax.websocket.ClientEndpointConfig

            +
            + diff --git a/apidocs/latest1x/javax/websocket/class-use/CloseReason.CloseCode.html b/apidocs/latest1x/javax/websocket/class-use/CloseReason.CloseCode.html index 51e817f7..b4e63def 100644 --- a/apidocs/latest1x/javax/websocket/class-use/CloseReason.CloseCode.html +++ b/apidocs/latest1x/javax/websocket/class-use/CloseReason.CloseCode.html @@ -1,40 +1,54 @@ - + - + +Uses of Interface javax.websocket.CloseReason.CloseCode (Tyrus 1.19 API) -Uses of Interface javax.websocket.CloseReason.CloseCode (Tyrus 1.18 API) - + + + + + + + + +var pathtoroot = "../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
            + +
            +

            Uses of Interface
            javax.websocket.CloseReason.CloseCode

            +
            + diff --git a/apidocs/latest1x/javax/websocket/class-use/CloseReason.CloseCodes.html b/apidocs/latest1x/javax/websocket/class-use/CloseReason.CloseCodes.html index 1f7367b3..3ea9d763 100644 --- a/apidocs/latest1x/javax/websocket/class-use/CloseReason.CloseCodes.html +++ b/apidocs/latest1x/javax/websocket/class-use/CloseReason.CloseCodes.html @@ -1,40 +1,54 @@ - + - + +Uses of Class javax.websocket.CloseReason.CloseCodes (Tyrus 1.19 API) -Uses of Class javax.websocket.CloseReason.CloseCodes (Tyrus 1.18 API) - + + + + + + + + +var pathtoroot = "../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
            + +
            +

            Uses of Class
            javax.websocket.CloseReason.CloseCodes

            • - - +
              Packages that use CloseReason.CloseCodes 
              + - +
              Packages that use CloseReason.CloseCodes 
              Package Description
              javax.websocketjavax.websocket
              This package contains all the WebSocket APIs common to both the client and server side.
              @@ -95,49 +119,57 @@
            • + + diff --git a/apidocs/latest1x/javax/websocket/class-use/CloseReason.html b/apidocs/latest1x/javax/websocket/class-use/CloseReason.html index 0e9663aa..97c9e9c0 100644 --- a/apidocs/latest1x/javax/websocket/class-use/CloseReason.html +++ b/apidocs/latest1x/javax/websocket/class-use/CloseReason.html @@ -1,40 +1,54 @@ - + - + +Uses of Class javax.websocket.CloseReason (Tyrus 1.19 API) -Uses of Class javax.websocket.CloseReason (Tyrus 1.18 API) - + + + + + + + + +var pathtoroot = "../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
              + +
              +

              Uses of Class
              javax.websocket.CloseReason

              +
              + diff --git a/apidocs/latest1x/javax/websocket/class-use/ContainerProvider.html b/apidocs/latest1x/javax/websocket/class-use/ContainerProvider.html index e2849793..f3a42561 100644 --- a/apidocs/latest1x/javax/websocket/class-use/ContainerProvider.html +++ b/apidocs/latest1x/javax/websocket/class-use/ContainerProvider.html @@ -1,40 +1,54 @@ - + - + +Uses of Class javax.websocket.ContainerProvider (Tyrus 1.19 API) -Uses of Class javax.websocket.ContainerProvider (Tyrus 1.18 API) - + + + + + + + + +var pathtoroot = "../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
              + +
              +

              Uses of Class
              javax.websocket.ContainerProvider

              +
              + diff --git a/apidocs/latest1x/javax/websocket/class-use/DecodeException.html b/apidocs/latest1x/javax/websocket/class-use/DecodeException.html index ea550421..071679d0 100644 --- a/apidocs/latest1x/javax/websocket/class-use/DecodeException.html +++ b/apidocs/latest1x/javax/websocket/class-use/DecodeException.html @@ -1,40 +1,54 @@ - + - + +Uses of Class javax.websocket.DecodeException (Tyrus 1.19 API) -Uses of Class javax.websocket.DecodeException (Tyrus 1.18 API) - + + + + + + + + +var pathtoroot = "../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
              + +
              +

              Uses of Class
              javax.websocket.DecodeException

              • - - +
                Packages that use DecodeException 
                + - + - + @@ -101,127 +125,153 @@
              • Packages that use DecodeException 
                Package Description
                javax.websocketjavax.websocket
                This package contains all the WebSocket APIs common to both the client and server side.
                org.glassfish.tyrus.core.coderorg.glassfish.tyrus.core.coder
                Encoder and decoder adapters and built-in implementations.
                - +

                Uses of DecodeException in javax.websocket

                +
                Methods in javax.websocket that throw DecodeException 
                + - + + - - + + - - + + - - + + - - + +
                Methods in javax.websocket that throw DecodeException 
                Modifier and TypeMethod and DescriptionMethodDescription
                TDecoder.Binary.decode(java.nio.ByteBuffer bytes) +TDecoder.Binary.decode​(java.nio.ByteBuffer bytes)
                Decode the given bytes into an object of type T.
                TDecoder.BinaryStream.decode(java.io.InputStream is) +TDecoder.BinaryStream.decode​(java.io.InputStream is)
                Decode the given bytes read from the input stream into an object of type T.
                TDecoder.TextStream.decode(java.io.Reader reader) -
                Reads the websocket message from the implementation provided - Reader and decodes it into an instance of the supplied object type.
                +
                TDecoder.Text.decode​(java.lang.String s) +
                Decode the given String into an object of type T.
                TDecoder.Text.decode(java.lang.String s) -
                Decode the given String into an object of type T.
                +
                TDecoder.TextStream.decode​(java.io.Reader reader) +
                Reads the websocket message from the implementation provided + Reader and decodes it into an instance of the supplied object type.
                +
              • -
              • +
              • +
                -

                Uses of DecodeException in org.glassfish.tyrus.core.coder

                - - +

                Uses of DecodeException in org.glassfish.tyrus.core.coder

                +
                Methods in org.glassfish.tyrus.core.coder that throw DecodeException 
                + - + + - - + + + - - + + + - - + + + - - + + + - + + - + + - + + - + + - + + - + + - + + - + + - - + + +
                Methods in org.glassfish.tyrus.core.coder that throw DecodeException 
                Modifier and TypeMethod and DescriptionMethodDescription
                byte[]NoOpByteArrayCoder.decode(java.nio.ByteBuffer bytes) java.io.InputStreamInputStreamDecoder.decode​(java.nio.ByteBuffer bytes) 
                java.nio.ByteBufferNoOpByteBufferCoder.decode(java.nio.ByteBuffer bytes) byte[]NoOpByteArrayCoder.decode​(java.nio.ByteBuffer bytes) 
                java.io.InputStreamInputStreamDecoder.decode(java.nio.ByteBuffer bytes) java.nio.ByteBufferNoOpByteBufferCoder.decode​(java.nio.ByteBuffer bytes) 
                java.io.ReaderReaderDecoder.decode(java.lang.String s) java.lang.StringNoOpTextCoder.decode​(java.lang.String s) 
                java.lang.BooleanPrimitiveDecoders.BooleanDecoder.decode(java.lang.String s) PrimitiveDecoders.BooleanDecoder.decode​(java.lang.String s) 
                java.lang.BytePrimitiveDecoders.ByteDecoder.decode(java.lang.String s) PrimitiveDecoders.ByteDecoder.decode​(java.lang.String s) 
                java.lang.CharacterPrimitiveDecoders.CharacterDecoder.decode(java.lang.String s) PrimitiveDecoders.CharacterDecoder.decode​(java.lang.String s) 
                java.lang.DoublePrimitiveDecoders.DoubleDecoder.decode(java.lang.String s) PrimitiveDecoders.DoubleDecoder.decode​(java.lang.String s) 
                java.lang.FloatPrimitiveDecoders.FloatDecoder.decode(java.lang.String s) PrimitiveDecoders.FloatDecoder.decode​(java.lang.String s) 
                java.lang.IntegerPrimitiveDecoders.IntegerDecoder.decode(java.lang.String s) PrimitiveDecoders.IntegerDecoder.decode​(java.lang.String s) 
                java.lang.LongPrimitiveDecoders.LongDecoder.decode(java.lang.String s) PrimitiveDecoders.LongDecoder.decode​(java.lang.String s) 
                java.lang.ShortPrimitiveDecoders.ShortDecoder.decode(java.lang.String s) PrimitiveDecoders.ShortDecoder.decode​(java.lang.String s) 
                java.lang.StringNoOpTextCoder.decode(java.lang.String s) java.io.ReaderReaderDecoder.decode​(java.lang.String s) 
                +
              +
              + diff --git a/apidocs/latest1x/javax/websocket/class-use/Decoder.Binary.html b/apidocs/latest1x/javax/websocket/class-use/Decoder.Binary.html index f33915c4..41095763 100644 --- a/apidocs/latest1x/javax/websocket/class-use/Decoder.Binary.html +++ b/apidocs/latest1x/javax/websocket/class-use/Decoder.Binary.html @@ -1,40 +1,54 @@ - + - + +Uses of Interface javax.websocket.Decoder.Binary (Tyrus 1.19 API) -Uses of Interface javax.websocket.Decoder.Binary (Tyrus 1.18 API) - + + + + + + + + +var pathtoroot = "../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
              + +
              +

              Uses of Interface
              javax.websocket.Decoder.Binary

              +
              + diff --git a/apidocs/latest1x/javax/websocket/class-use/Decoder.BinaryStream.html b/apidocs/latest1x/javax/websocket/class-use/Decoder.BinaryStream.html index 6c5557d5..43be948f 100644 --- a/apidocs/latest1x/javax/websocket/class-use/Decoder.BinaryStream.html +++ b/apidocs/latest1x/javax/websocket/class-use/Decoder.BinaryStream.html @@ -1,40 +1,54 @@ - + - + +Uses of Interface javax.websocket.Decoder.BinaryStream (Tyrus 1.19 API) -Uses of Interface javax.websocket.Decoder.BinaryStream (Tyrus 1.18 API) - + + + + + + + + +var pathtoroot = "../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
              + +
              +

              Uses of Interface
              javax.websocket.Decoder.BinaryStream

              No usage of javax.websocket.Decoder.BinaryStream
              +
              + diff --git a/apidocs/latest1x/javax/websocket/class-use/Decoder.Text.html b/apidocs/latest1x/javax/websocket/class-use/Decoder.Text.html index 94cdf84b..c1b653d4 100644 --- a/apidocs/latest1x/javax/websocket/class-use/Decoder.Text.html +++ b/apidocs/latest1x/javax/websocket/class-use/Decoder.Text.html @@ -1,40 +1,54 @@ - + - + +Uses of Interface javax.websocket.Decoder.Text (Tyrus 1.19 API) -Uses of Interface javax.websocket.Decoder.Text (Tyrus 1.18 API) - + + + + + + + + +var pathtoroot = "../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
              + +
              +

              Uses of Interface
              javax.websocket.Decoder.Text

              +
              + diff --git a/apidocs/latest1x/javax/websocket/class-use/Decoder.TextStream.html b/apidocs/latest1x/javax/websocket/class-use/Decoder.TextStream.html index 35f37a65..895b7e55 100644 --- a/apidocs/latest1x/javax/websocket/class-use/Decoder.TextStream.html +++ b/apidocs/latest1x/javax/websocket/class-use/Decoder.TextStream.html @@ -1,40 +1,54 @@ - + - + +Uses of Interface javax.websocket.Decoder.TextStream (Tyrus 1.19 API) -Uses of Interface javax.websocket.Decoder.TextStream (Tyrus 1.18 API) - + + + + + + + + +var pathtoroot = "../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
              + +
              +

              Uses of Interface
              javax.websocket.Decoder.TextStream

              No usage of javax.websocket.Decoder.TextStream
              +
              + diff --git a/apidocs/latest1x/javax/websocket/class-use/Decoder.html b/apidocs/latest1x/javax/websocket/class-use/Decoder.html index 1efd7688..a8d5ddc0 100644 --- a/apidocs/latest1x/javax/websocket/class-use/Decoder.html +++ b/apidocs/latest1x/javax/websocket/class-use/Decoder.html @@ -1,40 +1,54 @@ - + - + +Uses of Interface javax.websocket.Decoder (Tyrus 1.19 API) -Uses of Interface javax.websocket.Decoder (Tyrus 1.18 API) - + + + + + + + + +var pathtoroot = "../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
              + +
              +

              Uses of Interface
              javax.websocket.Decoder

              +
              + diff --git a/apidocs/latest1x/javax/websocket/class-use/DeploymentException.html b/apidocs/latest1x/javax/websocket/class-use/DeploymentException.html index 4c01d86f..eba38633 100644 --- a/apidocs/latest1x/javax/websocket/class-use/DeploymentException.html +++ b/apidocs/latest1x/javax/websocket/class-use/DeploymentException.html @@ -1,40 +1,54 @@ - + - + +Uses of Class javax.websocket.DeploymentException (Tyrus 1.19 API) -Uses of Class javax.websocket.DeploymentException (Tyrus 1.18 API) - + + + + + + + + +var pathtoroot = "../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
              + +
              +

              Uses of Class
              javax.websocket.DeploymentException

              +
              + diff --git a/apidocs/latest1x/javax/websocket/class-use/EncodeException.html b/apidocs/latest1x/javax/websocket/class-use/EncodeException.html index 48130096..41fa0484 100644 --- a/apidocs/latest1x/javax/websocket/class-use/EncodeException.html +++ b/apidocs/latest1x/javax/websocket/class-use/EncodeException.html @@ -1,40 +1,54 @@ - + - + +Uses of Class javax.websocket.EncodeException (Tyrus 1.19 API) -Uses of Class javax.websocket.EncodeException (Tyrus 1.18 API) - + + + + + + + + +var pathtoroot = "../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
              + +
              +

              Uses of Class
              javax.websocket.EncodeException

              +
              + diff --git a/apidocs/latest1x/javax/websocket/class-use/Encoder.Binary.html b/apidocs/latest1x/javax/websocket/class-use/Encoder.Binary.html index 89bd7251..1562a38c 100644 --- a/apidocs/latest1x/javax/websocket/class-use/Encoder.Binary.html +++ b/apidocs/latest1x/javax/websocket/class-use/Encoder.Binary.html @@ -1,40 +1,54 @@ - + - + +Uses of Interface javax.websocket.Encoder.Binary (Tyrus 1.19 API) -Uses of Interface javax.websocket.Encoder.Binary (Tyrus 1.18 API) - + + + + + + + + +var pathtoroot = "../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
              + +
              +

              Uses of Interface
              javax.websocket.Encoder.Binary

              +
              + diff --git a/apidocs/latest1x/javax/websocket/class-use/Encoder.BinaryStream.html b/apidocs/latest1x/javax/websocket/class-use/Encoder.BinaryStream.html index 761f5586..605086b8 100644 --- a/apidocs/latest1x/javax/websocket/class-use/Encoder.BinaryStream.html +++ b/apidocs/latest1x/javax/websocket/class-use/Encoder.BinaryStream.html @@ -1,40 +1,54 @@ - + - + +Uses of Interface javax.websocket.Encoder.BinaryStream (Tyrus 1.19 API) -Uses of Interface javax.websocket.Encoder.BinaryStream (Tyrus 1.18 API) - + + + + + + + + +var pathtoroot = "../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
              + +
              +

              Uses of Interface
              javax.websocket.Encoder.BinaryStream

              No usage of javax.websocket.Encoder.BinaryStream
              +
              + diff --git a/apidocs/latest1x/javax/websocket/class-use/Encoder.Text.html b/apidocs/latest1x/javax/websocket/class-use/Encoder.Text.html index 9de70a4b..e4a3dfb0 100644 --- a/apidocs/latest1x/javax/websocket/class-use/Encoder.Text.html +++ b/apidocs/latest1x/javax/websocket/class-use/Encoder.Text.html @@ -1,40 +1,54 @@ - + - + +Uses of Interface javax.websocket.Encoder.Text (Tyrus 1.19 API) -Uses of Interface javax.websocket.Encoder.Text (Tyrus 1.18 API) - + + + + + + + + +var pathtoroot = "../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
              + +
              +

              Uses of Interface
              javax.websocket.Encoder.Text

              +
              + diff --git a/apidocs/latest1x/javax/websocket/class-use/Encoder.TextStream.html b/apidocs/latest1x/javax/websocket/class-use/Encoder.TextStream.html index 9881232d..1fe617ed 100644 --- a/apidocs/latest1x/javax/websocket/class-use/Encoder.TextStream.html +++ b/apidocs/latest1x/javax/websocket/class-use/Encoder.TextStream.html @@ -1,40 +1,54 @@ - + - + +Uses of Interface javax.websocket.Encoder.TextStream (Tyrus 1.19 API) -Uses of Interface javax.websocket.Encoder.TextStream (Tyrus 1.18 API) - + + + + + + + + +var pathtoroot = "../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
              + +
              +

              Uses of Interface
              javax.websocket.Encoder.TextStream

              No usage of javax.websocket.Encoder.TextStream
              +
              + diff --git a/apidocs/latest1x/javax/websocket/class-use/Encoder.html b/apidocs/latest1x/javax/websocket/class-use/Encoder.html index 09ecec0e..c2f2c024 100644 --- a/apidocs/latest1x/javax/websocket/class-use/Encoder.html +++ b/apidocs/latest1x/javax/websocket/class-use/Encoder.html @@ -1,40 +1,54 @@ - + - + +Uses of Interface javax.websocket.Encoder (Tyrus 1.19 API) -Uses of Interface javax.websocket.Encoder (Tyrus 1.18 API) - + + + + + + + + +var pathtoroot = "../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
              + +
              +

              Uses of Interface
              javax.websocket.Encoder

              +
              + diff --git a/apidocs/latest1x/javax/websocket/class-use/Endpoint.html b/apidocs/latest1x/javax/websocket/class-use/Endpoint.html index e3f31f7f..2462c61e 100644 --- a/apidocs/latest1x/javax/websocket/class-use/Endpoint.html +++ b/apidocs/latest1x/javax/websocket/class-use/Endpoint.html @@ -1,40 +1,54 @@ - + - + +Uses of Class javax.websocket.Endpoint (Tyrus 1.19 API) -Uses of Class javax.websocket.Endpoint (Tyrus 1.18 API) - + + + + + + + + +var pathtoroot = "../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
              + +
              +

              Uses of Class
              javax.websocket.Endpoint

              +
              + diff --git a/apidocs/latest1x/javax/websocket/class-use/EndpointConfig.html b/apidocs/latest1x/javax/websocket/class-use/EndpointConfig.html index 1f4f0cd8..3293260d 100644 --- a/apidocs/latest1x/javax/websocket/class-use/EndpointConfig.html +++ b/apidocs/latest1x/javax/websocket/class-use/EndpointConfig.html @@ -1,40 +1,54 @@ - + - + +Uses of Interface javax.websocket.EndpointConfig (Tyrus 1.19 API) -Uses of Interface javax.websocket.EndpointConfig (Tyrus 1.18 API) - + + + + + + + + +var pathtoroot = "../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
              + +
              +

              Uses of Interface
              javax.websocket.EndpointConfig

              +
              + diff --git a/apidocs/latest1x/javax/websocket/class-use/Extension.Parameter.html b/apidocs/latest1x/javax/websocket/class-use/Extension.Parameter.html index d08954a1..bdc8c809 100644 --- a/apidocs/latest1x/javax/websocket/class-use/Extension.Parameter.html +++ b/apidocs/latest1x/javax/websocket/class-use/Extension.Parameter.html @@ -1,40 +1,54 @@ - + - + +Uses of Interface javax.websocket.Extension.Parameter (Tyrus 1.19 API) -Uses of Interface javax.websocket.Extension.Parameter (Tyrus 1.18 API) - + + + + + + + + +var pathtoroot = "../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
              + +
              +

              Uses of Interface
              javax.websocket.Extension.Parameter

              +
              + diff --git a/apidocs/latest1x/javax/websocket/class-use/Extension.html b/apidocs/latest1x/javax/websocket/class-use/Extension.html index 26a6ddf9..c44536a6 100644 --- a/apidocs/latest1x/javax/websocket/class-use/Extension.html +++ b/apidocs/latest1x/javax/websocket/class-use/Extension.html @@ -1,40 +1,54 @@ - + - + +Uses of Interface javax.websocket.Extension (Tyrus 1.19 API) -Uses of Interface javax.websocket.Extension (Tyrus 1.18 API) - + + + + + + + + +var pathtoroot = "../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
              + +
              +

              Uses of Interface
              javax.websocket.Extension

              +
              + diff --git a/apidocs/latest1x/javax/websocket/class-use/HandshakeResponse.html b/apidocs/latest1x/javax/websocket/class-use/HandshakeResponse.html index fc03c6e9..5f889cd6 100644 --- a/apidocs/latest1x/javax/websocket/class-use/HandshakeResponse.html +++ b/apidocs/latest1x/javax/websocket/class-use/HandshakeResponse.html @@ -1,40 +1,54 @@ - + - + +Uses of Interface javax.websocket.HandshakeResponse (Tyrus 1.19 API) -Uses of Interface javax.websocket.HandshakeResponse (Tyrus 1.18 API) - + + + + + + + + +var pathtoroot = "../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
              + +
              +

              Uses of Interface
              javax.websocket.HandshakeResponse

              +
              + diff --git a/apidocs/latest1x/javax/websocket/class-use/MessageHandler.Partial.html b/apidocs/latest1x/javax/websocket/class-use/MessageHandler.Partial.html index 23d116e0..bd54102a 100644 --- a/apidocs/latest1x/javax/websocket/class-use/MessageHandler.Partial.html +++ b/apidocs/latest1x/javax/websocket/class-use/MessageHandler.Partial.html @@ -1,40 +1,54 @@ - + - + +Uses of Interface javax.websocket.MessageHandler.Partial (Tyrus 1.19 API) -Uses of Interface javax.websocket.MessageHandler.Partial (Tyrus 1.18 API) - + + + + + + + + +var pathtoroot = "../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
              + +
              +

              Uses of Interface
              javax.websocket.MessageHandler.Partial

              +
              + diff --git a/apidocs/latest1x/javax/websocket/class-use/MessageHandler.Whole.html b/apidocs/latest1x/javax/websocket/class-use/MessageHandler.Whole.html index d27d8c94..c2d0042e 100644 --- a/apidocs/latest1x/javax/websocket/class-use/MessageHandler.Whole.html +++ b/apidocs/latest1x/javax/websocket/class-use/MessageHandler.Whole.html @@ -1,40 +1,54 @@ - + - + +Uses of Interface javax.websocket.MessageHandler.Whole (Tyrus 1.19 API) -Uses of Interface javax.websocket.MessageHandler.Whole (Tyrus 1.18 API) - + + + + + + + + +var pathtoroot = "../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
              + +
              +

              Uses of Interface
              javax.websocket.MessageHandler.Whole

              +
              + diff --git a/apidocs/latest1x/javax/websocket/class-use/MessageHandler.html b/apidocs/latest1x/javax/websocket/class-use/MessageHandler.html index 7f65d9e6..ce225b4d 100644 --- a/apidocs/latest1x/javax/websocket/class-use/MessageHandler.html +++ b/apidocs/latest1x/javax/websocket/class-use/MessageHandler.html @@ -1,40 +1,54 @@ - + - + +Uses of Interface javax.websocket.MessageHandler (Tyrus 1.19 API) -Uses of Interface javax.websocket.MessageHandler (Tyrus 1.18 API) - + + + + + + + + +var pathtoroot = "../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
              + +
              +

              Uses of Interface
              javax.websocket.MessageHandler

              +
              + diff --git a/apidocs/latest1x/javax/websocket/class-use/OnClose.html b/apidocs/latest1x/javax/websocket/class-use/OnClose.html index 6a6ee69e..b25f44d5 100644 --- a/apidocs/latest1x/javax/websocket/class-use/OnClose.html +++ b/apidocs/latest1x/javax/websocket/class-use/OnClose.html @@ -1,40 +1,54 @@ - + - + +Uses of Class javax.websocket.OnClose (Tyrus 1.19 API) -Uses of Class javax.websocket.OnClose (Tyrus 1.18 API) - + + + + + + + + +var pathtoroot = "../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
              + +
              +

              Uses of Class
              javax.websocket.OnClose

              No usage of javax.websocket.OnClose
              +
              + diff --git a/apidocs/latest1x/javax/websocket/class-use/OnError.html b/apidocs/latest1x/javax/websocket/class-use/OnError.html index 04a56083..0dba5c8f 100644 --- a/apidocs/latest1x/javax/websocket/class-use/OnError.html +++ b/apidocs/latest1x/javax/websocket/class-use/OnError.html @@ -1,40 +1,54 @@ - + - + +Uses of Class javax.websocket.OnError (Tyrus 1.19 API) -Uses of Class javax.websocket.OnError (Tyrus 1.18 API) - + + + + + + + + +var pathtoroot = "../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
              + +
              +

              Uses of Class
              javax.websocket.OnError

              No usage of javax.websocket.OnError
              +
              + diff --git a/apidocs/latest1x/javax/websocket/class-use/OnMessage.html b/apidocs/latest1x/javax/websocket/class-use/OnMessage.html index 896b6c24..e72c7941 100644 --- a/apidocs/latest1x/javax/websocket/class-use/OnMessage.html +++ b/apidocs/latest1x/javax/websocket/class-use/OnMessage.html @@ -1,40 +1,54 @@ - + - + +Uses of Class javax.websocket.OnMessage (Tyrus 1.19 API) -Uses of Class javax.websocket.OnMessage (Tyrus 1.18 API) - + + + + + + + + +var pathtoroot = "../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
              + +
              +

              Uses of Class
              javax.websocket.OnMessage

              No usage of javax.websocket.OnMessage
              +
              + diff --git a/apidocs/latest1x/javax/websocket/class-use/OnOpen.html b/apidocs/latest1x/javax/websocket/class-use/OnOpen.html index cc411162..ed94d569 100644 --- a/apidocs/latest1x/javax/websocket/class-use/OnOpen.html +++ b/apidocs/latest1x/javax/websocket/class-use/OnOpen.html @@ -1,40 +1,54 @@ - + - + +Uses of Class javax.websocket.OnOpen (Tyrus 1.19 API) -Uses of Class javax.websocket.OnOpen (Tyrus 1.18 API) - + + + + + + + + +var pathtoroot = "../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
              + +
              +

              Uses of Class
              javax.websocket.OnOpen

              No usage of javax.websocket.OnOpen
              +
              + diff --git a/apidocs/latest1x/javax/websocket/class-use/PongMessage.html b/apidocs/latest1x/javax/websocket/class-use/PongMessage.html index a7158844..f87e672b 100644 --- a/apidocs/latest1x/javax/websocket/class-use/PongMessage.html +++ b/apidocs/latest1x/javax/websocket/class-use/PongMessage.html @@ -1,40 +1,54 @@ - + - + +Uses of Interface javax.websocket.PongMessage (Tyrus 1.19 API) -Uses of Interface javax.websocket.PongMessage (Tyrus 1.18 API) - + + + + + + + + +var pathtoroot = "../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
              + +
              +

              Uses of Interface
              javax.websocket.PongMessage

              No usage of javax.websocket.PongMessage
              +
              + diff --git a/apidocs/latest1x/javax/websocket/class-use/RemoteEndpoint.Async.html b/apidocs/latest1x/javax/websocket/class-use/RemoteEndpoint.Async.html index 6a3b5a63..55b0f3e4 100644 --- a/apidocs/latest1x/javax/websocket/class-use/RemoteEndpoint.Async.html +++ b/apidocs/latest1x/javax/websocket/class-use/RemoteEndpoint.Async.html @@ -1,40 +1,54 @@ - + - + +Uses of Interface javax.websocket.RemoteEndpoint.Async (Tyrus 1.19 API) -Uses of Interface javax.websocket.RemoteEndpoint.Async (Tyrus 1.18 API) - + + + + + + + + +var pathtoroot = "../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
              + +
              +

              Uses of Interface
              javax.websocket.RemoteEndpoint.Async

              +
              + diff --git a/apidocs/latest1x/javax/websocket/class-use/RemoteEndpoint.Basic.html b/apidocs/latest1x/javax/websocket/class-use/RemoteEndpoint.Basic.html index e4a5bea1..c8b73ac9 100644 --- a/apidocs/latest1x/javax/websocket/class-use/RemoteEndpoint.Basic.html +++ b/apidocs/latest1x/javax/websocket/class-use/RemoteEndpoint.Basic.html @@ -1,40 +1,54 @@ - + - + +Uses of Interface javax.websocket.RemoteEndpoint.Basic (Tyrus 1.19 API) -Uses of Interface javax.websocket.RemoteEndpoint.Basic (Tyrus 1.18 API) - + + + + + + + + +var pathtoroot = "../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
              + +
              +

              Uses of Interface
              javax.websocket.RemoteEndpoint.Basic

              +
              + diff --git a/apidocs/latest1x/javax/websocket/class-use/RemoteEndpoint.html b/apidocs/latest1x/javax/websocket/class-use/RemoteEndpoint.html index f0fa630c..918b01f4 100644 --- a/apidocs/latest1x/javax/websocket/class-use/RemoteEndpoint.html +++ b/apidocs/latest1x/javax/websocket/class-use/RemoteEndpoint.html @@ -1,40 +1,54 @@ - + - + +Uses of Interface javax.websocket.RemoteEndpoint (Tyrus 1.19 API) -Uses of Interface javax.websocket.RemoteEndpoint (Tyrus 1.18 API) - + + + + + + + + +var pathtoroot = "../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
              + +
              +

              Uses of Interface
              javax.websocket.RemoteEndpoint

              +
              + diff --git a/apidocs/latest1x/javax/websocket/class-use/SendHandler.html b/apidocs/latest1x/javax/websocket/class-use/SendHandler.html index f8de258e..bebefcdd 100644 --- a/apidocs/latest1x/javax/websocket/class-use/SendHandler.html +++ b/apidocs/latest1x/javax/websocket/class-use/SendHandler.html @@ -1,40 +1,54 @@ - + - + +Uses of Interface javax.websocket.SendHandler (Tyrus 1.19 API) -Uses of Interface javax.websocket.SendHandler (Tyrus 1.18 API) - + + + + + + + + +var pathtoroot = "../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
              + +
              +

              Uses of Interface
              javax.websocket.SendHandler

              +
              + diff --git a/apidocs/latest1x/javax/websocket/class-use/SendResult.html b/apidocs/latest1x/javax/websocket/class-use/SendResult.html index 49df4b56..454950bd 100644 --- a/apidocs/latest1x/javax/websocket/class-use/SendResult.html +++ b/apidocs/latest1x/javax/websocket/class-use/SendResult.html @@ -1,40 +1,54 @@ - + - + +Uses of Class javax.websocket.SendResult (Tyrus 1.19 API) -Uses of Class javax.websocket.SendResult (Tyrus 1.18 API) - + + + + + + + + +var pathtoroot = "../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
              + +
              +

              Uses of Class
              javax.websocket.SendResult

              • - - +
                Packages that use SendResult 
                + - +
                Packages that use SendResult 
                Package Description
                javax.websocketjavax.websocket
                This package contains all the WebSocket APIs common to both the client and server side.
                @@ -95,42 +119,49 @@
              • + + diff --git a/apidocs/latest1x/javax/websocket/class-use/Session.html b/apidocs/latest1x/javax/websocket/class-use/Session.html index e5461b2f..e85a046c 100644 --- a/apidocs/latest1x/javax/websocket/class-use/Session.html +++ b/apidocs/latest1x/javax/websocket/class-use/Session.html @@ -1,40 +1,54 @@ - + - + +Uses of Interface javax.websocket.Session (Tyrus 1.19 API) -Uses of Interface javax.websocket.Session (Tyrus 1.18 API) - + + + + + + + + +var pathtoroot = "../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
                + +
                +

                Uses of Interface
                javax.websocket.Session

                +
                + diff --git a/apidocs/latest1x/javax/websocket/class-use/SessionException.html b/apidocs/latest1x/javax/websocket/class-use/SessionException.html index afb897b1..9c74e540 100644 --- a/apidocs/latest1x/javax/websocket/class-use/SessionException.html +++ b/apidocs/latest1x/javax/websocket/class-use/SessionException.html @@ -1,40 +1,54 @@ - + - + +Uses of Class javax.websocket.SessionException (Tyrus 1.19 API) -Uses of Class javax.websocket.SessionException (Tyrus 1.18 API) - + + + + + + + + +var pathtoroot = "../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
                + +
                +

                Uses of Class
                javax.websocket.SessionException

                No usage of javax.websocket.SessionException
                +
                + diff --git a/apidocs/latest1x/javax/websocket/class-use/WebSocketContainer.html b/apidocs/latest1x/javax/websocket/class-use/WebSocketContainer.html index 768f0ed3..11cb92e3 100644 --- a/apidocs/latest1x/javax/websocket/class-use/WebSocketContainer.html +++ b/apidocs/latest1x/javax/websocket/class-use/WebSocketContainer.html @@ -1,40 +1,54 @@ - + - + +Uses of Interface javax.websocket.WebSocketContainer (Tyrus 1.19 API) -Uses of Interface javax.websocket.WebSocketContainer (Tyrus 1.18 API) - + + + + + + + + +var pathtoroot = "../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
                + +
                +

                Uses of Interface
                javax.websocket.WebSocketContainer

                +
                + diff --git a/apidocs/latest1x/javax/websocket/package-frame.html b/apidocs/latest1x/javax/websocket/package-frame.html deleted file mode 100644 index 52a3a284..00000000 --- a/apidocs/latest1x/javax/websocket/package-frame.html +++ /dev/null @@ -1,74 +0,0 @@ - - - - - - -javax.websocket (Tyrus 1.18 API) - - - - - -

                javax.websocket

                - - - diff --git a/apidocs/latest1x/javax/websocket/package-summary.html b/apidocs/latest1x/javax/websocket/package-summary.html index 151b513d..5599d28b 100644 --- a/apidocs/latest1x/javax/websocket/package-summary.html +++ b/apidocs/latest1x/javax/websocket/package-summary.html @@ -1,38 +1,52 @@ - + - + +javax.websocket (Tyrus 1.19 API) -javax.websocket (Tyrus 1.18 API) - + + + + + + + + +var pathtoroot = "../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
                + +
                +

                Package javax.websocket

                -
                -
                This package contains all the WebSocket APIs common to both the client - and server side.
                -
                -

                See: Description

                +
                + + +
                This package contains all the WebSocket APIs common to both the client + and server side.
                +
                • - +
                  @@ -89,175 +114,175 @@ - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - +
                  Interface Summary 
                  Interface
                  ClientEndpointConfigClientEndpointConfig
                  The ClientEndpointConfig is a special kind of endpoint configuration object that contains web socket configuration information specific only to client endpoints.
                  CloseReason.CloseCodeCloseReason.CloseCode
                  A marker interface for the close codes.
                  DecoderDecoder
                  The Decoder interface holds member interfaces that define how a developer can provide the web socket container a way web socket messages into developer defined custom objects.
                  Decoder.Binary<T>Decoder.Binary<T>
                  This interface defines how a custom object (of type T) is decoded from a web socket message in the form of a byte buffer.
                  Decoder.BinaryStream<T>Decoder.BinaryStream<T>
                  This interface defines how a custom object is decoded from a web socket message in the form of a binary stream.
                  Decoder.Text<T>Decoder.Text<T>
                  This interface defines how a custom object is decoded from a web socket message in the form of a string.
                  Decoder.TextStream<T>Decoder.TextStream<T>
                  This interface defines how a custom object of type T is decoded from a web socket message in the form of a character stream.
                  EncoderEncoder
                  The Encoder interface defines how developers can provide a way to convert their custom objects into web socket messages.
                  Encoder.Binary<T>Encoder.Binary<T>
                  This interface defines how to provide a way to convert a custom object into a binary message.
                  Encoder.BinaryStream<T>Encoder.BinaryStream<T>
                  This interface may be implemented by encoding algorithms that want to write the encoded object to a binary stream.
                  Encoder.Text<T>Encoder.Text<T>
                  This interface defines how to provide a way to convert a custom object into a text message.
                  Encoder.TextStream<T>Encoder.TextStream<T>
                  This interface may be implemented by encoding algorithms that want to write the encoded object to a character stream.
                  EndpointConfigEndpointConfig
                  The endpoint configuration contains all the information needed during the handshake process for this end point.
                  ExtensionExtension
                  A simple representation of a websocket extension as a name and map of extension parameters.
                  Extension.ParameterExtension.Parameter
                  This member interface defines a single websocket extension parameter.
                  HandshakeResponseHandshakeResponse
                  The handshake response represents the web socket-defined Http response that is the response to the opening handshake request.
                  MessageHandlerMessageHandler
                  Developers implement MessageHandlers in order to receive incoming messages during a web socket conversation.
                  MessageHandler.Partial<T>MessageHandler.Partial<T>
                  This kind of handler is notified by the implementation as it becomes ready to deliver parts of a whole message.
                  MessageHandler.Whole<T>MessageHandler.Whole<T>
                  This kind of handler is notified by the container on arrival of a complete message.
                  PongMessagePongMessage
                  The PongMessage interface represents a web socket pong.
                  RemoteEndpointRemoteEndpoint
                  The RemoteEndpoint object is supplied by the container and represents the 'other end' or peer of the Web Socket conversation.
                  RemoteEndpoint.AsyncRemoteEndpoint.Async
                  This representation of the peer of a web socket conversation has the ability to send messages asynchronously.
                  RemoteEndpoint.BasicRemoteEndpoint.Basic
                  This representation of the peer of a web socket conversation has the ability to send messages synchronously.
                  SendHandlerSendHandler
                  A simple callback object for asynchronous sending of web socket messages.
                  SessionSession
                  A Web Socket session represents a conversation between two web socket endpoints.
                  WebSocketContainerWebSocketContainer
                  A WebSocketContainer is an implementation provided object that provides applications a view on the container running it.
                  @@ -267,7 +292,7 @@
                • - +
                  @@ -275,15 +300,15 @@ - + - + - + - + - + - + @@ -321,7 +346,7 @@
                  Class Summary 
                  Class
                  ClientEndpointConfig.BuilderClientEndpointConfig.Builder
                  The ClientEndpointConfig.Builder is a class used for creating - ClientEndpointConfig objects for the purposes of + ClientEndpointConfig objects for the purposes of deploying a client endpoint.
                  ClientEndpointConfig.ConfiguratorClientEndpointConfig.Configurator
                  The Configurator class may be extended by developers who want to provide custom configuration algorithms, such as intercepting the opening handshake, or @@ -292,27 +317,27 @@
                  CloseReasonCloseReason
                  A class encapsulating the reason why a web socket has been closed, or why it is being asked to close.
                  ContainerProviderContainerProvider
                  Provider class that allows the developer to get a reference to the implementation of the WebSocketContainer.
                  EndpointEndpoint
                  The Web Socket Endpoint represents an object that can handle websocket conversations.
                  SendResultSendResult
                  The result of asynchronously sending a web socket message.
                • - +
                  @@ -329,7 +354,7 @@ - +
                  Enum Summary 
                  Enum
                  CloseReason.CloseCodesCloseReason.CloseCodes
                  An Enumeration of status codes for a web socket close that are defined in the specification.
                  @@ -339,7 +364,7 @@
                • - +
                  @@ -347,26 +372,26 @@ - + - + - + - +
                  Exception Summary 
                  Exception
                  DecodeExceptionDecodeException
                  A general exception that occurs when trying to decode a custom object from a text or binary message.
                  DeploymentExceptionDeploymentException
                  Checked exception indicating some kind of failure either to publish an endpoint on its server, or a failure to connect a client to its server.
                  EncodeExceptionEncodeException
                  A general exception that occurs when trying to encode a custom object to a string or binary message.
                  SessionExceptionSessionException
                  A SessionException represents a general exception type reporting problems occurring on a websocket session.
                  @@ -376,7 +401,7 @@
                • - +
                  @@ -384,34 +409,34 @@ - + - + - + - + - +
                  Annotation Types Summary 
                  Annotation Type
                  ClientEndpointClientEndpoint
                  The ClientEndpoint annotation a class level annotation is used to denote that a POJO is a web socket client and can be deployed as such.
                  OnCloseOnClose
                  This method level annotation can be used to decorate a Java method that wishes to be called when a web socket session is closing.
                  OnErrorOnError
                  This method level annotation can be used to decorate a Java method that wishes to be called in order to handle errors.
                  OnMessageOnMessage
                  This method level annotation can be used to make a Java method receive incoming web socket messages.
                  OnOpenOnOpen
                  This method level annotation can be used to decorate a Java method that wishes to be called when a new web socket session is open.
                  @@ -421,23 +446,20 @@
                - - - -

                Package javax.websocket Description

                -
                This package contains all the WebSocket APIs common to both the client - and server side.
                +
                + diff --git a/apidocs/latest1x/javax/websocket/package-tree.html b/apidocs/latest1x/javax/websocket/package-tree.html index 76215088..c53c1389 100644 --- a/apidocs/latest1x/javax/websocket/package-tree.html +++ b/apidocs/latest1x/javax/websocket/package-tree.html @@ -1,38 +1,52 @@ - + - + +javax.websocket Class Hierarchy (Tyrus 1.19 API) -javax.websocket Class Hierarchy (Tyrus 1.18 API) - + + + + + + + + +var pathtoroot = "../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
                + +
                +

                Hierarchy For Package javax.websocket

                Package Hierarchies: @@ -78,24 +102,25 @@
                +

                Class Hierarchy

                +
                +

                Interface Hierarchy

                +
                +

                Annotation Type Hierarchy

                  -
                • javax.websocket.OnError (implements java.lang.annotation.Annotation)
                • -
                • javax.websocket.ClientEndpoint (implements java.lang.annotation.Annotation)
                • -
                • javax.websocket.OnMessage (implements java.lang.annotation.Annotation)
                • -
                • javax.websocket.OnClose (implements java.lang.annotation.Annotation)
                • -
                • javax.websocket.OnOpen (implements java.lang.annotation.Annotation)
                • +
                • javax.websocket.ClientEndpoint (implements java.lang.annotation.Annotation)
                • +
                • javax.websocket.OnClose (implements java.lang.annotation.Annotation)
                • +
                • javax.websocket.OnError (implements java.lang.annotation.Annotation)
                • +
                • javax.websocket.OnMessage (implements java.lang.annotation.Annotation)
                • +
                • javax.websocket.OnOpen (implements java.lang.annotation.Annotation)
                +
                +

                Enum Hierarchy

                +
                +
                + diff --git a/apidocs/latest1x/javax/websocket/package-use.html b/apidocs/latest1x/javax/websocket/package-use.html index 56dcb6f4..2fd622ff 100644 --- a/apidocs/latest1x/javax/websocket/package-use.html +++ b/apidocs/latest1x/javax/websocket/package-use.html @@ -1,38 +1,52 @@ - + - + +Uses of Package javax.websocket (Tyrus 1.19 API) -Uses of Package javax.websocket (Tyrus 1.18 API) - + + + + + + + + +var pathtoroot = "../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
                + +
                +

                Uses of Package
                javax.websocket

                +
                + diff --git a/apidocs/latest1x/javax/websocket/server/HandshakeRequest.html b/apidocs/latest1x/javax/websocket/server/HandshakeRequest.html index be1a11c9..5f4f7587 100644 --- a/apidocs/latest1x/javax/websocket/server/HandshakeRequest.html +++ b/apidocs/latest1x/javax/websocket/server/HandshakeRequest.html @@ -1,44 +1,58 @@ - + - + +HandshakeRequest (Tyrus 1.19 API) -HandshakeRequest (Tyrus 1.18 API) - + + + + + + + + +var pathtoroot = "../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
                + +
                +
                -
                javax.websocket.server
                +

                Interface HandshakeRequest

                @@ -102,10 +126,9 @@ var activeTableTab = "activeTableTab";
              • All Known Implementing Classes:
                -
                RequestContext, UpgradeRequest
                +
                RequestContext, UpgradeRequest

                -
                public interface HandshakeRequest
                The handshake request represents the web socket defined Http GET request for the opening handshake of a web socket session.
                @@ -120,104 +143,121 @@ var activeTableTab = "activeTableTab";
              • @@ -225,12 +265,13 @@ var activeTableTab = "activeTableTab";
                • +
                    -
                  • +
                  • Field Detail

                    - +
                      @@ -244,7 +285,7 @@ var activeTableTab = "activeTableTab";
                    - +
                      @@ -258,7 +299,7 @@ var activeTableTab = "activeTableTab";
                    - +
                      @@ -272,7 +313,7 @@ var activeTableTab = "activeTableTab";
                    - +
                      @@ -288,19 +329,21 @@ var activeTableTab = "activeTableTab";
                  +
                  +
                    -
                  • +
                  • Method Detail

                    - +
                    • getHeaders

                      -
                      java.util.Map<java.lang.String,java.util.List<java.lang.String>> getHeaders()
                      +
                      java.util.Map<java.lang.String,​java.util.List<java.lang.String>> getHeaders()
                      Return the read only Map of Http Headers that came with the handshake request. The header names are case insensitive.
                      @@ -309,13 +352,13 @@ var activeTableTab = "activeTableTab";
                    - +
                    • getUserPrincipal

                      -
                      java.security.Principal getUserPrincipal()
                      +
                      java.security.Principal getUserPrincipal()
                      Return the authenticated user or null if no user is authenticated for this handshake.
                      @@ -324,13 +367,13 @@ var activeTableTab = "activeTableTab";
                    - +
                    • getRequestURI

                      -
                      java.net.URI getRequestURI()
                      +
                      java.net.URI getRequestURI()
                      Return the request URI of the handshake request.
                      Returns:
                      @@ -338,13 +381,13 @@ var activeTableTab = "activeTableTab";
                    - +
                    • isUserInRole

                      -
                      boolean isUserInRole(java.lang.String role)
                      +
                      boolean isUserInRole​(java.lang.String role)
                      Checks whether the current user is in the given role. Roles and role membership can be defined using deployment descriptors of the containing WAR file, if running in a Java EE web container. If the user has @@ -358,13 +401,13 @@ var activeTableTab = "activeTableTab";
                    - +
                    • getHttpSession

                      -
                      java.lang.Object getHttpSession()
                      +
                      java.lang.Object getHttpSession()
                      Return a reference to the HttpSession that the web socket handshake that started this conversation was part of, if the implementation is part of a Java EE web container.
                      @@ -376,13 +419,13 @@ var activeTableTab = "activeTableTab";
                    - +
                    • getParameterMap

                      -
                      java.util.Map<java.lang.String,java.util.List<java.lang.String>> getParameterMap()
                      +
                      java.util.Map<java.lang.String,​java.util.List<java.lang.String>> getParameterMap()
                      Return the request parameters associated with the request.
                      Returns:
                      @@ -390,13 +433,13 @@ var activeTableTab = "activeTableTab";
                    - +
                    • getQueryString

                      -
                      java.lang.String getQueryString()
                      +
                      java.lang.String getQueryString()
                      Return the query string associated with the request.
                      Returns:
                      @@ -406,21 +449,25 @@ var activeTableTab = "activeTableTab";
                  +
                +
                + diff --git a/apidocs/latest1x/javax/websocket/server/PathParam.html b/apidocs/latest1x/javax/websocket/server/PathParam.html index bac963fa..737c1916 100644 --- a/apidocs/latest1x/javax/websocket/server/PathParam.html +++ b/apidocs/latest1x/javax/websocket/server/PathParam.html @@ -1,38 +1,52 @@ - + - + +PathParam (Tyrus 1.19 API) -PathParam (Tyrus 1.18 API) - + + + + + + + + +var pathtoroot = "../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
                + +
                +
                -
                javax.websocket.server
                +

                Annotation Type PathParam

                @@ -93,12 +117,11 @@

                • -
                  -
                  @Retention(value=RUNTIME)
                  - @Target(value=PARAMETER)
                  +
                  @Retention(RUNTIME)
                  +@Target(PARAMETER)
                   public @interface PathParam
                  This annotation may be used to annotate method parameters on server endpoints - where a URI-template has been used in the path-mapping of the ServerEndpoint + where a URI-template has been used in the path-mapping of the ServerEndpoint annotation. The method parameter may be of type String, any Java primitive type or any boxed version thereof. If a client URI matches the URI-template, but the requested path parameter cannot be decoded, then the websocket's error @@ -138,26 +161,30 @@ public @interface PathParam
                  • +
                      -
                    • +
                    • Required Element Summary

                      - +
                      - + + - +
                      Required Elements 
                      Modifier and TypeRequired Element and DescriptionRequired ElementDescription
                      java.lang.Stringvalue +value
                      The name of the variable used in the URI-template.
                    +
                @@ -165,18 +192,19 @@ public @interface PathParam
                • +
                    -
                  • +
                  • Element Detail

                    - +
                    • value

                      -
                      public abstract java.lang.String value
                      +
                      java.lang.String value
                      The name of the variable used in the URI-template. If the name does not match a path variable in the URI-template, the value of the method parameter this annotation annotates is null.
                      @@ -188,21 +216,25 @@ public @interface PathParam
                  +
                +
                + diff --git a/apidocs/latest1x/javax/websocket/server/ServerApplicationConfig.html b/apidocs/latest1x/javax/websocket/server/ServerApplicationConfig.html index 8349a424..7df2364b 100644 --- a/apidocs/latest1x/javax/websocket/server/ServerApplicationConfig.html +++ b/apidocs/latest1x/javax/websocket/server/ServerApplicationConfig.html @@ -1,44 +1,58 @@ - + - + +ServerApplicationConfig (Tyrus 1.19 API) -ServerApplicationConfig (Tyrus 1.18 API) - + + + + + + + + +var pathtoroot = "../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
                + +
                +
                -
                javax.websocket.server
                +

                Interface ServerApplicationConfig

                @@ -102,10 +126,9 @@ var activeTableTab = "activeTableTab";
              • All Known Implementing Classes:
                -
                TyrusServerConfiguration
                +
                TyrusServerConfiguration

                -
                public interface ServerApplicationConfig
                Developers include implementations of ServerApplicationConfig in an archive containing websocket endpoints (WAR file, or JAR file within the WAR file) in order to specify the websocket @@ -122,27 +145,31 @@ var activeTableTab = "activeTableTab";
                @@ -157,18 +185,19 @@ var activeTableTab = "activeTableTab";
                • +
                    -
                  • +
                  • Method Detail

                    - +
                    • getEndpointConfigs

                      -
                      java.util.Set<ServerEndpointConfig> getEndpointConfigs(java.util.Set<java.lang.Class<? extends Endpoint>> endpointClasses)
                      +
                      java.util.Set<ServerEndpointConfig> getEndpointConfigs​(java.util.Set<java.lang.Class<? extends Endpoint>> endpointClasses)
                      Return a set of ServerEndpointConfig instances that the server container will use to deploy the programmatic endpoints. The set of Endpoint classes passed in to this method is the set obtained by scanning the archive containing the implementation @@ -185,13 +214,13 @@ var activeTableTab = "activeTableTab";
                    - +
                    • getAnnotatedEndpointClasses

                      -
                      java.util.Set<java.lang.Class<?>> getAnnotatedEndpointClasses(java.util.Set<java.lang.Class<?>> scanned)
                      +
                      java.util.Set<java.lang.Class<?>> getAnnotatedEndpointClasses​(java.util.Set<java.lang.Class<?>> scanned)
                      Return a set of annotated endpoint classes that the server container must deploy. The set of classes passed in to this method is the set obtained by scanning the archive containing the implementation @@ -210,21 +239,25 @@ var activeTableTab = "activeTableTab";
                  +
              • +
                + diff --git a/apidocs/latest1x/javax/websocket/server/ServerContainer.html b/apidocs/latest1x/javax/websocket/server/ServerContainer.html index 6322ef2f..73cc73d5 100644 --- a/apidocs/latest1x/javax/websocket/server/ServerContainer.html +++ b/apidocs/latest1x/javax/websocket/server/ServerContainer.html @@ -1,44 +1,58 @@ - + - + +ServerContainer (Tyrus 1.19 API) -ServerContainer (Tyrus 1.18 API) - + + + + + + + + +var pathtoroot = "../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
                + +
                +
                -
                javax.websocket.server
                +

                Interface ServerContainer

                @@ -102,20 +126,19 @@ var activeTableTab = "activeTableTab";
              • All Superinterfaces:
                -
                WebSocketContainer
                +
                WebSocketContainer
                All Known Subinterfaces:
                -
                ServerContainer
                +
                ServerContainer
                All Known Implementing Classes:
                -
                TyrusServerContainer
                +
                TyrusServerContainer

                -
                public interface ServerContainer
                -extends WebSocketContainer
                +extends WebSocketContainer
                The ServerContainer is the specialized view of the WebSocketContainer available in server-side deployments. There is one ServerContainer instance per websocket application. The ServerContainer holds the methods to be able to @@ -147,38 +170,43 @@ extends
              • +
                +
              • @@ -186,45 +214,46 @@ extends
              • +
                  -
                • +
                • Method Detail

                  - +
                  • addEndpoint

                    -
                    void addEndpoint(java.lang.Class<?> endpointClass)
                    -          throws DeploymentException
                    +
                    void addEndpoint​(java.lang.Class<?> endpointClass)
                    +          throws DeploymentException
                    Deploys the given annotated endpoint into this ServerContainer during the initialization phase of deploying the application.
                    Parameters:
                    endpointClass - the class of the annotated endpoint
                    Throws:
                    -
                    DeploymentException - if the annotated endpoint was badly formed.
                    +
                    DeploymentException - if the annotated endpoint was badly formed.
                    java.lang.IllegalStateException - if the containing websocket application has already been deployed.
                  - +
                  • addEndpoint

                    -
                    void addEndpoint(ServerEndpointConfig serverConfig)
                    -          throws DeploymentException
                    +
                    void addEndpoint​(ServerEndpointConfig serverConfig)
                    +          throws DeploymentException
                    Parameters:
                    serverConfig - the configuration instance representing the logical endpoint that will be registered.
                    Throws:
                    -
                    DeploymentException - if the endpoint was badly formed.
                    +
                    DeploymentException - if the endpoint was badly formed.
                    java.lang.IllegalStateException - if the containing websocket application has already been deployed.
                    @@ -232,21 +261,25 @@ extends +

                    Copyright © 2012–2022 Oracle Corporation. All rights reserved.

                    + diff --git a/apidocs/latest1x/javax/websocket/server/ServerEndpoint.html b/apidocs/latest1x/javax/websocket/server/ServerEndpoint.html index 7750640a..0e887a92 100644 --- a/apidocs/latest1x/javax/websocket/server/ServerEndpoint.html +++ b/apidocs/latest1x/javax/websocket/server/ServerEndpoint.html @@ -1,38 +1,52 @@ - + - + +ServerEndpoint (Tyrus 1.19 API) -ServerEndpoint (Tyrus 1.18 API) - + + + + + + + + +var pathtoroot = "../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
                    + +
                    +
                    -
                    javax.websocket.server
                    +

                    Annotation Type ServerEndpoint

                    @@ -93,9 +117,8 @@

                    • -
                      -
                      @Retention(value=RUNTIME)
                      - @Target(value=TYPE)
                      +
                      @Retention(RUNTIME)
                      +@Target(TYPE)
                       public @interface ServerEndpoint
                      This class level annotation declares that the class it decorates is a web socket endpoint that will be deployed and made available in the URI-space @@ -130,66 +153,77 @@ public @interface ServerEndpoint
                      • +
                          -
                        • +
                        • Required Element Summary

                          - +
                          - + + - +
                          Required Elements 
                          Modifier and TypeRequired Element and DescriptionRequired ElementDescription
                          java.lang.Stringvalue +value
                          The URI or URI-template, level-1 (See RFC 6570) where the endpoint will be deployed.
                        +
                        +
                        +
                    @@ -197,18 +231,19 @@ public @interface ServerEndpoint
                    • +
                        -
                      • +
                      • Element Detail

                        - +
                        • value

                          -
                          public abstract java.lang.String value
                          +
                          java.lang.String value
                          The URI or URI-template, level-1 (See RFC 6570) where the endpoint will be deployed. The URI us relative to the root of the web socket container and must begin with a leading "/". Trailing "/"'s are ignored. Examples:
                          
                          @@ -224,15 +259,17 @@ public @interface ServerEndpoint
                      +
                      +
                        -
                      • +
                        • subprotocols

                          -
                          public abstract java.lang.String[] subprotocols
                          +
                          java.lang.String[] subprotocols
                          The ordered array of web socket protocols this endpoint supports. For example, {"superchat", "chat"}.
                          @@ -247,14 +284,16 @@ public @interface ServerEndpoint
                      +
                      +
                        -
                      • +
                        • decoders

                          -
                          public abstract java.lang.Class<? extends Decoder>[] decoders
                          +
                          java.lang.Class<? extends Decoder>[] decoders
                          The ordered array of decoder classes this endpoint will use. For example, if the developer has provided a MysteryObject decoder, this endpoint will be able to receive MysteryObjects as web socket messages. The websocket runtime will use the first @@ -271,14 +310,16 @@ public @interface ServerEndpoint
                      +
                      +
                        -
                      • +
                        • encoders

                          -
                          public abstract java.lang.Class<? extends Encoder>[] encoders
                          +
                          java.lang.Class<? extends Encoder>[] encoders
                          The ordered array of encoder classes this endpoint will use. For example, if the developer has provided a MysteryObject encoder, this class will be able to send web socket messages in the form of MysteryObjects. The websocket runtime will use the first @@ -295,14 +336,16 @@ public @interface ServerEndpoint
                      +
                      +
                        -
                      • +
                        • configurator

                          -
                          public abstract java.lang.Class<? extends ServerEndpointConfig.Configurator> configurator
                          +
                          java.lang.Class<? extends ServerEndpointConfig.Configurator> configurator
                          The optional custom configurator class that the developer would like to use to further configure new instances of this endpoint. If no configurator class is provided, the implementation uses its own. The implementation @@ -320,21 +363,25 @@ public @interface ServerEndpoint
                      +
                    +
                    + diff --git a/apidocs/latest1x/javax/websocket/server/ServerEndpointConfig.Builder.html b/apidocs/latest1x/javax/websocket/server/ServerEndpointConfig.Builder.html index 499445b0..52300b72 100644 --- a/apidocs/latest1x/javax/websocket/server/ServerEndpointConfig.Builder.html +++ b/apidocs/latest1x/javax/websocket/server/ServerEndpointConfig.Builder.html @@ -1,44 +1,58 @@ - + - + +ServerEndpointConfig.Builder (Tyrus 1.19 API) -ServerEndpointConfig.Builder (Tyrus 1.18 API) - + + + + + + + + +var pathtoroot = "../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
                    + +
                    +
                    -
                    javax.websocket.server
                    +

                    Class ServerEndpointConfig.Builder

                    @@ -110,14 +134,13 @@ var activeTableTab = "activeTableTab";
                  • Enclosing interface:
                    -
                    ServerEndpointConfig
                    +
                    ServerEndpointConfig

                    -
                    public static final class ServerEndpointConfig.Builder
                     extends java.lang.Object
                    The ServerEndpointConfig.Builder is a class used for creating - ServerEndpointConfig.Builder objects for the purposes of + ServerEndpointConfig.Builder objects for the purposes of deploying a server endpoint.

                    Here are some examples: @@ -145,35 +168,40 @@ extends java.lang.Object

                    @@ -221,18 +254,19 @@ extends java.lang.Object
                  • +
                    + diff --git a/apidocs/latest1x/javax/websocket/server/ServerEndpointConfig.Configurator.html b/apidocs/latest1x/javax/websocket/server/ServerEndpointConfig.Configurator.html index 282923ee..2a34398d 100644 --- a/apidocs/latest1x/javax/websocket/server/ServerEndpointConfig.Configurator.html +++ b/apidocs/latest1x/javax/websocket/server/ServerEndpointConfig.Configurator.html @@ -1,44 +1,58 @@ - + - + +ServerEndpointConfig.Configurator (Tyrus 1.19 API) -ServerEndpointConfig.Configurator (Tyrus 1.18 API) - + + + + + + + + +var pathtoroot = "../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
                    + +
                    +
                    -
                    javax.websocket.server
                    +

                    Class ServerEndpointConfig.Configurator

                    @@ -110,14 +134,13 @@ var activeTableTab = "activeTableTab";
                  • Direct Known Subclasses:
                    -
                    TyrusServerEndpointConfigurator
                    +
                    TyrusServerEndpointConfigurator
                    Enclosing interface:
                    -
                    ServerEndpointConfig
                    +
                    ServerEndpointConfig

                    -
                    public static class ServerEndpointConfig.Configurator
                     extends java.lang.Object
                    The ServerEndpointConfig.Configurator class may be extended by developers who want to @@ -134,60 +157,70 @@ extends java.lang.Object
                    @@ -219,12 +254,13 @@ extends java.lang.Object
                    • +
                        -
                      • +
                      • Constructor Detail

                        - +
                          @@ -235,19 +271,21 @@ extends java.lang.Object
                      +
                      +
                        -
                      • +
                      • Method Detail

                        - +
                        • getNegotiatedSubprotocol

                          -
                          public java.lang.String getNegotiatedSubprotocol(java.util.List<java.lang.String> supported,
                          +
                          public java.lang.String getNegotiatedSubprotocol​(java.util.List<java.lang.String> supported,
                                                                            java.util.List<java.lang.String> requested)
                          Return the subprotocol the server endpoint has chosen from the requested list supplied by a client who wishes to connect, or none if there wasn't one @@ -268,14 +306,14 @@ extends java.lang.Object
                        - +
                        • getNegotiatedExtensions

                          -
                          public java.util.List<Extension> getNegotiatedExtensions(java.util.List<Extension> installed,
                          -                                                         java.util.List<Extension> requested)
                          +
                          public java.util.List<Extension> getNegotiatedExtensions​(java.util.List<Extension> installed,
                          +                                                         java.util.List<Extension> requested)
                          Return the ordered list of extensions that t server endpoint will support given the requested extension list passed in, the empty list if none. See Negotiating Extensions @@ -294,13 +332,13 @@ extends java.lang.Object
                        - +
                        • checkOrigin

                          -
                          public boolean checkOrigin(java.lang.String originHeaderValue)
                          +
                          public boolean checkOrigin​(java.lang.String originHeaderValue)
                          Check the value of the Origin header (See Origin Header) the client passed during the opening handshake. @@ -318,15 +356,15 @@ extends java.lang.Object
                        - + - +
                        • getEndpointInstance

                          -
                          public <T> T getEndpointInstance(java.lang.Class<T> endpointClass)
                          +
                          public <T> T getEndpointInstance​(java.lang.Class<T> endpointClass)
                                                     throws java.lang.InstantiationException
                          This method is called by the container each time a new client connects to the logical endpoint this configurator configures. @@ -382,21 +420,25 @@ extends java.lang.Object
                      +
                  • +
                    + diff --git a/apidocs/latest1x/javax/websocket/server/ServerEndpointConfig.html b/apidocs/latest1x/javax/websocket/server/ServerEndpointConfig.html index 2cd794be..f1a3539e 100644 --- a/apidocs/latest1x/javax/websocket/server/ServerEndpointConfig.html +++ b/apidocs/latest1x/javax/websocket/server/ServerEndpointConfig.html @@ -1,44 +1,58 @@ - + - + +ServerEndpointConfig (Tyrus 1.19 API) -ServerEndpointConfig (Tyrus 1.18 API) - + + + + + + + + +var pathtoroot = "../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
                    + +
                    +
                    -
                    javax.websocket.server
                    +

                    Interface ServerEndpointConfig

                    @@ -102,21 +126,20 @@ var activeTableTab = "activeTableTab";
                  • All Superinterfaces:
                    -
                    EndpointConfig
                    +
                    EndpointConfig
                    All Known Subinterfaces:
                    -
                    TyrusServerEndpointConfig
                    +
                    TyrusServerEndpointConfig

                    -
                    public interface ServerEndpointConfig
                    -extends EndpointConfig
                    +extends EndpointConfig
                    The ServerEndpointConfig is a special kind of endpoint configuration object that contains web socket configuration information specific only to server endpoints. For developers deploying programmatic endpoints, ServerEndpointConfig objects - can be created using a ServerEndpointConfig.Builder. Certain configuration - operations can be customized by providing a ServerEndpointConfig.Configurator
                    + can be created using a ServerEndpointConfig.Builder. Certain configuration + operations can be customized by providing a ServerEndpointConfig.Configurator
                  • Author:
                    dannycoward
                    @@ -128,28 +151,32 @@ extends
                  • +
                      -
                    • +
                    • Nested Class Summary

                      - +
                      - + + - + - +
                      Nested Classes 
                      Modifier and TypeInterface and DescriptionInterfaceDescription
                      static class ServerEndpointConfig.Builder +ServerEndpointConfig.Builder
                      The ServerEndpointConfig.Builder is a class used for creating - ServerEndpointConfig.Builder objects for the purposes of + ServerEndpointConfig.Builder objects for the purposes of deploying a server endpoint.
                      static class ServerEndpointConfig.Configurator +ServerEndpointConfig.Configurator
                      The ServerEndpointConfig.Configurator class may be extended by developers who want to provide custom configuration algorithms, such as intercepting the opening handshake, or providing arbitrary methods and algorithms that can be accessed from each endpoint @@ -159,59 +186,68 @@ extends +
                      @@ -219,18 +255,19 @@ extends
                    • +
                    • -
                    • +
                    • +
                      -

                      Uses of HandshakeRequest in org.glassfish.tyrus.core

                      - - +

                      Uses of HandshakeRequest in org.glassfish.tyrus.core

                      +
                      Classes in org.glassfish.tyrus.core that implement HandshakeRequest 
                      + - + + - +
                      Classes in org.glassfish.tyrus.core that implement HandshakeRequest 
                      Modifier and TypeClass and DescriptionClassDescription
                      class RequestContext +RequestContext
                      Implementation of all possible request interfaces.
                      - - +
                      Methods in org.glassfish.tyrus.core with parameters of type HandshakeRequest 
                      + - + + - + +
                      Methods in org.glassfish.tyrus.core with parameters of type HandshakeRequest 
                      Modifier and TypeMethod and DescriptionMethodDescription
                      voidTyrusServerEndpointConfigurator.modifyHandshake(ServerEndpointConfig sec, - HandshakeRequest request, - HandshakeResponse response) TyrusServerEndpointConfigurator.modifyHandshake​(ServerEndpointConfig sec, + HandshakeRequest request, + HandshakeResponse response) 
                      +
                    • -
                    • +
                    • +
                      -

                      Uses of HandshakeRequest in org.glassfish.tyrus.spi

                      - - +

                      Uses of HandshakeRequest in org.glassfish.tyrus.spi

                      +
                      Classes in org.glassfish.tyrus.spi that implement HandshakeRequest 
                      + - + + - +
                      Classes in org.glassfish.tyrus.spi that implement HandshakeRequest 
                      Modifier and TypeClass and DescriptionClassDescription
                      class UpgradeRequest +UpgradeRequest
                      Abstraction for a HTTP upgrade request.
                      +
                    • + + diff --git a/apidocs/latest1x/javax/websocket/server/class-use/PathParam.html b/apidocs/latest1x/javax/websocket/server/class-use/PathParam.html index 870c6e9a..04ca16c6 100644 --- a/apidocs/latest1x/javax/websocket/server/class-use/PathParam.html +++ b/apidocs/latest1x/javax/websocket/server/class-use/PathParam.html @@ -1,40 +1,54 @@ - + - + +Uses of Class javax.websocket.server.PathParam (Tyrus 1.19 API) -Uses of Class javax.websocket.server.PathParam (Tyrus 1.18 API) - + + + + + + + + +var pathtoroot = "../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
                      + +
                      +

                      Uses of Class
                      javax.websocket.server.PathParam

                      No usage of javax.websocket.server.PathParam
                      +
                      + diff --git a/apidocs/latest1x/javax/websocket/server/class-use/ServerApplicationConfig.html b/apidocs/latest1x/javax/websocket/server/class-use/ServerApplicationConfig.html index 7c72842e..91f93787 100644 --- a/apidocs/latest1x/javax/websocket/server/class-use/ServerApplicationConfig.html +++ b/apidocs/latest1x/javax/websocket/server/class-use/ServerApplicationConfig.html @@ -1,40 +1,54 @@ - + - + +Uses of Interface javax.websocket.server.ServerApplicationConfig (Tyrus 1.19 API) -Uses of Interface javax.websocket.server.ServerApplicationConfig (Tyrus 1.18 API) - + + + + + + + + +var pathtoroot = "../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
                      + +
                      +

                      Uses of Interface
                      javax.websocket.server.ServerApplicationConfig

                      +
                      + diff --git a/apidocs/latest1x/javax/websocket/server/class-use/ServerContainer.html b/apidocs/latest1x/javax/websocket/server/class-use/ServerContainer.html index be072a89..51800b2b 100644 --- a/apidocs/latest1x/javax/websocket/server/class-use/ServerContainer.html +++ b/apidocs/latest1x/javax/websocket/server/class-use/ServerContainer.html @@ -1,40 +1,54 @@ - + - + +Uses of Interface javax.websocket.server.ServerContainer (Tyrus 1.19 API) -Uses of Interface javax.websocket.server.ServerContainer (Tyrus 1.18 API) - + + + + + + + + +var pathtoroot = "../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
                      + +
                      +

                      Uses of Interface
                      javax.websocket.server.ServerContainer

                      +
                      + diff --git a/apidocs/latest1x/javax/websocket/server/class-use/ServerEndpoint.html b/apidocs/latest1x/javax/websocket/server/class-use/ServerEndpoint.html index ffcba436..c93be3e1 100644 --- a/apidocs/latest1x/javax/websocket/server/class-use/ServerEndpoint.html +++ b/apidocs/latest1x/javax/websocket/server/class-use/ServerEndpoint.html @@ -1,40 +1,54 @@ - + - + +Uses of Class javax.websocket.server.ServerEndpoint (Tyrus 1.19 API) -Uses of Class javax.websocket.server.ServerEndpoint (Tyrus 1.18 API) - + + + + + + + + +var pathtoroot = "../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
                      + +
                      +

                      Uses of Class
                      javax.websocket.server.ServerEndpoint

                      No usage of javax.websocket.server.ServerEndpoint
                      +
                      + diff --git a/apidocs/latest1x/javax/websocket/server/class-use/ServerEndpointConfig.Builder.html b/apidocs/latest1x/javax/websocket/server/class-use/ServerEndpointConfig.Builder.html index 12c97de8..d3062cef 100644 --- a/apidocs/latest1x/javax/websocket/server/class-use/ServerEndpointConfig.Builder.html +++ b/apidocs/latest1x/javax/websocket/server/class-use/ServerEndpointConfig.Builder.html @@ -1,40 +1,54 @@ - + - + +Uses of Class javax.websocket.server.ServerEndpointConfig.Builder (Tyrus 1.19 API) -Uses of Class javax.websocket.server.ServerEndpointConfig.Builder (Tyrus 1.18 API) - + + + + + + + + +var pathtoroot = "../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
                      + +
                      +

                      Uses of Class
                      javax.websocket.server.ServerEndpointConfig.Builder

                      • - - +
                        Packages that use ServerEndpointConfig.Builder 
                        + - +
                        Packages that use ServerEndpointConfig.Builder 
                        Package Description
                        javax.websocket.serverjavax.websocket.server
                        This package contains all the WebSocket APIs used only by server side applications.
                        @@ -95,28 +119,32 @@
                      • + + diff --git a/apidocs/latest1x/javax/websocket/server/class-use/ServerEndpointConfig.Configurator.html b/apidocs/latest1x/javax/websocket/server/class-use/ServerEndpointConfig.Configurator.html index 763fbaf3..3d0f403b 100644 --- a/apidocs/latest1x/javax/websocket/server/class-use/ServerEndpointConfig.Configurator.html +++ b/apidocs/latest1x/javax/websocket/server/class-use/ServerEndpointConfig.Configurator.html @@ -1,40 +1,54 @@ - + - + +Uses of Class javax.websocket.server.ServerEndpointConfig.Configurator (Tyrus 1.19 API) -Uses of Class javax.websocket.server.ServerEndpointConfig.Configurator (Tyrus 1.18 API) - + + + + + + + + +var pathtoroot = "../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
                        + +
                        +

                        Uses of Class
                        javax.websocket.server.ServerEndpointConfig.Configurator

                        +
                        + diff --git a/apidocs/latest1x/javax/websocket/server/class-use/ServerEndpointConfig.html b/apidocs/latest1x/javax/websocket/server/class-use/ServerEndpointConfig.html index 57801ccc..f7d2afcb 100644 --- a/apidocs/latest1x/javax/websocket/server/class-use/ServerEndpointConfig.html +++ b/apidocs/latest1x/javax/websocket/server/class-use/ServerEndpointConfig.html @@ -1,40 +1,54 @@ - + - + +Uses of Interface javax.websocket.server.ServerEndpointConfig (Tyrus 1.19 API) -Uses of Interface javax.websocket.server.ServerEndpointConfig (Tyrus 1.18 API) - + + + + + + + + +var pathtoroot = "../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
                        + +
                        +

                        Uses of Interface
                        javax.websocket.server.ServerEndpointConfig

                        +
                        + diff --git a/apidocs/latest1x/javax/websocket/server/package-frame.html b/apidocs/latest1x/javax/websocket/server/package-frame.html deleted file mode 100644 index 56e54de7..00000000 --- a/apidocs/latest1x/javax/websocket/server/package-frame.html +++ /dev/null @@ -1,34 +0,0 @@ - - - - - - -javax.websocket.server (Tyrus 1.18 API) - - - - - -

                        javax.websocket.server

                        - - - diff --git a/apidocs/latest1x/javax/websocket/server/package-summary.html b/apidocs/latest1x/javax/websocket/server/package-summary.html index 2a9f9f83..75fd7dce 100644 --- a/apidocs/latest1x/javax/websocket/server/package-summary.html +++ b/apidocs/latest1x/javax/websocket/server/package-summary.html @@ -1,38 +1,52 @@ - + - + +javax.websocket.server (Tyrus 1.19 API) -javax.websocket.server (Tyrus 1.18 API) - + + + + + + + + +var pathtoroot = "../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
                        + +
                        +

                        Package javax.websocket.server

                        -
                        -
                        This package contains all the WebSocket APIs used only by server side - applications.
                        -
                        -

                        See: Description

                        +
                        + + +
                        This package contains all the WebSocket APIs used only by server side + applications.
                        +
                        - - - -

                        Package javax.websocket.server Description

                        -
                        This package contains all the WebSocket APIs used only by server side - applications.
                        +
                        + diff --git a/apidocs/latest1x/javax/websocket/server/package-tree.html b/apidocs/latest1x/javax/websocket/server/package-tree.html index 911e6f7b..195e96b2 100644 --- a/apidocs/latest1x/javax/websocket/server/package-tree.html +++ b/apidocs/latest1x/javax/websocket/server/package-tree.html @@ -1,38 +1,52 @@ - + - + +javax.websocket.server Class Hierarchy (Tyrus 1.19 API) -javax.websocket.server Class Hierarchy (Tyrus 1.18 API) - + + + + + + + + +var pathtoroot = "../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
                        + +
                        +

                        Hierarchy For Package javax.websocket.server

                        Package Hierarchies: @@ -78,46 +102,55 @@
                        +

                        Class Hierarchy

                        +
                        +

                        Interface Hierarchy

                        +
                        +

                        Annotation Type Hierarchy

                          -
                        • javax.websocket.server.PathParam (implements java.lang.annotation.Annotation)
                        • -
                        • javax.websocket.server.ServerEndpoint (implements java.lang.annotation.Annotation)
                        • +
                        • javax.websocket.server.PathParam (implements java.lang.annotation.Annotation)
                        • +
                        • javax.websocket.server.ServerEndpoint (implements java.lang.annotation.Annotation)
                        +
                        +
                        + diff --git a/apidocs/latest1x/javax/websocket/server/package-use.html b/apidocs/latest1x/javax/websocket/server/package-use.html index bfdfcdcb..cedd5646 100644 --- a/apidocs/latest1x/javax/websocket/server/package-use.html +++ b/apidocs/latest1x/javax/websocket/server/package-use.html @@ -1,38 +1,52 @@ - + - + +Uses of Package javax.websocket.server (Tyrus 1.19 API) -Uses of Package javax.websocket.server (Tyrus 1.18 API) - + + + + + + + + +var pathtoroot = "../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
                        + +
                        +

                        Uses of Package
                        javax.websocket.server

                        • - - +
                          Packages that use javax.websocket.server 
                          + - + - + - + - + @@ -111,36 +135,41 @@
                          Packages that use javax.websocket.server 
                          Package Description
                          javax.websocket.serverjavax.websocket.server
                          This package contains all the WebSocket APIs used only by server side applications.
                          org.glassfish.tyrus.coreorg.glassfish.tyrus.core
                          Core classes.
                          org.glassfish.tyrus.serverorg.glassfish.tyrus.server
                          Server implementation.
                          org.glassfish.tyrus.spiorg.glassfish.tyrus.spi
                          Tyrus SPI.
                        • -
                        • +
                        • - - +
                          Classes in javax.websocket.server used by javax.websocket.server 
                          + - + + - + - + - + - +
                          Classes in javax.websocket.server used by javax.websocket.server 
                          Class and DescriptionClassDescription
                          HandshakeRequest +HandshakeRequest
                          The handshake request represents the web socket defined Http GET request for the opening handshake of a web socket session.
                          ServerEndpointConfig +ServerEndpointConfig
                          The ServerEndpointConfig is a special kind of endpoint configuration object that contains web socket configuration information specific only to server endpoints.
                          ServerEndpointConfig.Builder +ServerEndpointConfig.Builder
                          The ServerEndpointConfig.Builder is a class used for creating - ServerEndpointConfig.Builder objects for the purposes of + ServerEndpointConfig.Builder objects for the purposes of deploying a server endpoint.
                          ServerEndpointConfig.Configurator +ServerEndpointConfig.Configurator
                          The ServerEndpointConfig.Configurator class may be extended by developers who want to provide custom configuration algorithms, such as intercepting the opening handshake, or providing arbitrary methods and algorithms that can be accessed from each endpoint @@ -150,29 +179,33 @@
                        • -
                        • +
                        • - - +
                          Classes in javax.websocket.server used by org.glassfish.tyrus.core 
                          + - + + - + - + - +
                          Classes in javax.websocket.server used by org.glassfish.tyrus.core 
                          Class and DescriptionClassDescription
                          HandshakeRequest +HandshakeRequest
                          The handshake request represents the web socket defined Http GET request for the opening handshake of a web socket session.
                          ServerEndpointConfig +ServerEndpointConfig
                          The ServerEndpointConfig is a special kind of endpoint configuration object that contains web socket configuration information specific only to server endpoints.
                          ServerEndpointConfig.Configurator +ServerEndpointConfig.Configurator
                          The ServerEndpointConfig.Configurator class may be extended by developers who want to provide custom configuration algorithms, such as intercepting the opening handshake, or providing arbitrary methods and algorithms that can be accessed from each endpoint @@ -182,30 +215,34 @@
                        • -
                        • +
                        • - - +
                          Classes in javax.websocket.server used by org.glassfish.tyrus.server 
                          + - + + - + - + - + @@ -213,29 +250,33 @@
                          Classes in javax.websocket.server used by org.glassfish.tyrus.server 
                          Class and DescriptionClassDescription
                          ServerApplicationConfig +ServerApplicationConfig
                          Developers include implementations of ServerApplicationConfig in an archive containing websocket endpoints (WAR file, or JAR file within the WAR file) in order to specify the websocket endpoints within the archive the implementation must deploy.
                          ServerContainer +ServerContainer
                          The ServerContainer is the specialized view of the WebSocketContainer available in server-side deployments.
                          ServerEndpointConfig +ServerEndpointConfig
                          The ServerEndpointConfig is a special kind of endpoint configuration object that contains web socket configuration information specific only to server endpoints.
                        • -
                        • +
                        • - - +
                          Classes in javax.websocket.server used by org.glassfish.tyrus.spi 
                          + - + + - + - + - + @@ -245,16 +286,19 @@ + + diff --git a/apidocs/latest1x/jquery/external/jquery/jquery.js b/apidocs/latest1x/jquery/external/jquery/jquery.js new file mode 100644 index 00000000..9b5206bc --- /dev/null +++ b/apidocs/latest1x/jquery/external/jquery/jquery.js @@ -0,0 +1,10364 @@ +/*! + * jQuery JavaScript Library v3.3.1 + * https://jquery.com/ + * + * Includes Sizzle.js + * https://sizzlejs.com/ + * + * Copyright JS Foundation and other contributors + * Released under the MIT license + * https://jquery.org/license + * + * Date: 2018-01-20T17:24Z + */ +( function( global, factory ) { + + "use strict"; + + if ( typeof module === "object" && typeof module.exports === "object" ) { + + // For CommonJS and CommonJS-like environments where a proper `window` + // is present, execute the factory and get jQuery. + // For environments that do not have a `window` with a `document` + // (such as Node.js), expose a factory as module.exports. + // This accentuates the need for the creation of a real `window`. + // e.g. var jQuery = require("jquery")(window); + // See ticket #14549 for more info. + module.exports = global.document ? + factory( global, true ) : + function( w ) { + if ( !w.document ) { + throw new Error( "jQuery requires a window with a document" ); + } + return factory( w ); + }; + } else { + factory( global ); + } + +// Pass this if window is not defined yet +} )( typeof window !== "undefined" ? window : this, function( window, noGlobal ) { + +// Edge <= 12 - 13+, Firefox <=18 - 45+, IE 10 - 11, Safari 5.1 - 9+, iOS 6 - 9.1 +// throw exceptions when non-strict code (e.g., ASP.NET 4.5) accesses strict mode +// arguments.callee.caller (trac-13335). But as of jQuery 3.0 (2016), strict mode should be common +// enough that all such attempts are guarded in a try block. +"use strict"; + +var arr = []; + +var document = window.document; + +var getProto = Object.getPrototypeOf; + +var slice = arr.slice; + +var concat = arr.concat; + +var push = arr.push; + +var indexOf = arr.indexOf; + +var class2type = {}; + +var toString = class2type.toString; + +var hasOwn = class2type.hasOwnProperty; + +var fnToString = hasOwn.toString; + +var ObjectFunctionString = fnToString.call( Object ); + +var support = {}; + +var isFunction = function isFunction( obj ) { + + // Support: Chrome <=57, Firefox <=52 + // In some browsers, typeof returns "function" for HTML elements + // (i.e., `typeof document.createElement( "object" ) === "function"`). + // We don't want to classify *any* DOM node as a function. + return typeof obj === "function" && typeof obj.nodeType !== "number"; + }; + + +var isWindow = function isWindow( obj ) { + return obj != null && obj === obj.window; + }; + + + + + var preservedScriptAttributes = { + type: true, + src: true, + noModule: true + }; + + function DOMEval( code, doc, node ) { + doc = doc || document; + + var i, + script = doc.createElement( "script" ); + + script.text = code; + if ( node ) { + for ( i in preservedScriptAttributes ) { + if ( node[ i ] ) { + script[ i ] = node[ i ]; + } + } + } + doc.head.appendChild( script ).parentNode.removeChild( script ); + } + + +function toType( obj ) { + if ( obj == null ) { + return obj + ""; + } + + // Support: Android <=2.3 only (functionish RegExp) + return typeof obj === "object" || typeof obj === "function" ? + class2type[ toString.call( obj ) ] || "object" : + typeof obj; +} +/* global Symbol */ +// Defining this global in .eslintrc.json would create a danger of using the global +// unguarded in another place, it seems safer to define global only for this module + + + +var + version = "3.3.1", + + // Define a local copy of jQuery + jQuery = function( selector, context ) { + + // The jQuery object is actually just the init constructor 'enhanced' + // Need init if jQuery is called (just allow error to be thrown if not included) + return new jQuery.fn.init( selector, context ); + }, + + // Support: Android <=4.0 only + // Make sure we trim BOM and NBSP + rtrim = /^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g; + +jQuery.fn = jQuery.prototype = { + + // The current version of jQuery being used + jquery: version, + + constructor: jQuery, + + // The default length of a jQuery object is 0 + length: 0, + + toArray: function() { + return slice.call( this ); + }, + + // Get the Nth element in the matched element set OR + // Get the whole matched element set as a clean array + get: function( num ) { + + // Return all the elements in a clean array + if ( num == null ) { + return slice.call( this ); + } + + // Return just the one element from the set + return num < 0 ? this[ num + this.length ] : this[ num ]; + }, + + // Take an array of elements and push it onto the stack + // (returning the new matched element set) + pushStack: function( elems ) { + + // Build a new jQuery matched element set + var ret = jQuery.merge( this.constructor(), elems ); + + // Add the old object onto the stack (as a reference) + ret.prevObject = this; + + // Return the newly-formed element set + return ret; + }, + + // Execute a callback for every element in the matched set. + each: function( callback ) { + return jQuery.each( this, callback ); + }, + + map: function( callback ) { + return this.pushStack( jQuery.map( this, function( elem, i ) { + return callback.call( elem, i, elem ); + } ) ); + }, + + slice: function() { + return this.pushStack( slice.apply( this, arguments ) ); + }, + + first: function() { + return this.eq( 0 ); + }, + + last: function() { + return this.eq( -1 ); + }, + + eq: function( i ) { + var len = this.length, + j = +i + ( i < 0 ? len : 0 ); + return this.pushStack( j >= 0 && j < len ? [ this[ j ] ] : [] ); + }, + + end: function() { + return this.prevObject || this.constructor(); + }, + + // For internal use only. + // Behaves like an Array's method, not like a jQuery method. + push: push, + sort: arr.sort, + splice: arr.splice +}; + +jQuery.extend = jQuery.fn.extend = function() { + var options, name, src, copy, copyIsArray, clone, + target = arguments[ 0 ] || {}, + i = 1, + length = arguments.length, + deep = false; + + // Handle a deep copy situation + if ( typeof target === "boolean" ) { + deep = target; + + // Skip the boolean and the target + target = arguments[ i ] || {}; + i++; + } + + // Handle case when target is a string or something (possible in deep copy) + if ( typeof target !== "object" && !isFunction( target ) ) { + target = {}; + } + + // Extend jQuery itself if only one argument is passed + if ( i === length ) { + target = this; + i--; + } + + for ( ; i < length; i++ ) { + + // Only deal with non-null/undefined values + if ( ( options = arguments[ i ] ) != null ) { + + // Extend the base object + for ( name in options ) { + src = target[ name ]; + copy = options[ name ]; + + // Prevent never-ending loop + if ( target === copy ) { + continue; + } + + // Recurse if we're merging plain objects or arrays + if ( deep && copy && ( jQuery.isPlainObject( copy ) || + ( copyIsArray = Array.isArray( copy ) ) ) ) { + + if ( copyIsArray ) { + copyIsArray = false; + clone = src && Array.isArray( src ) ? src : []; + + } else { + clone = src && jQuery.isPlainObject( src ) ? src : {}; + } + + // Never move original objects, clone them + target[ name ] = jQuery.extend( deep, clone, copy ); + + // Don't bring in undefined values + } else if ( copy !== undefined ) { + target[ name ] = copy; + } + } + } + } + + // Return the modified object + return target; +}; + +jQuery.extend( { + + // Unique for each copy of jQuery on the page + expando: "jQuery" + ( version + Math.random() ).replace( /\D/g, "" ), + + // Assume jQuery is ready without the ready module + isReady: true, + + error: function( msg ) { + throw new Error( msg ); + }, + + noop: function() {}, + + isPlainObject: function( obj ) { + var proto, Ctor; + + // Detect obvious negatives + // Use toString instead of jQuery.type to catch host objects + if ( !obj || toString.call( obj ) !== "[object Object]" ) { + return false; + } + + proto = getProto( obj ); + + // Objects with no prototype (e.g., `Object.create( null )`) are plain + if ( !proto ) { + return true; + } + + // Objects with prototype are plain iff they were constructed by a global Object function + Ctor = hasOwn.call( proto, "constructor" ) && proto.constructor; + return typeof Ctor === "function" && fnToString.call( Ctor ) === ObjectFunctionString; + }, + + isEmptyObject: function( obj ) { + + /* eslint-disable no-unused-vars */ + // See https://github.com/eslint/eslint/issues/6125 + var name; + + for ( name in obj ) { + return false; + } + return true; + }, + + // Evaluates a script in a global context + globalEval: function( code ) { + DOMEval( code ); + }, + + each: function( obj, callback ) { + var length, i = 0; + + if ( isArrayLike( obj ) ) { + length = obj.length; + for ( ; i < length; i++ ) { + if ( callback.call( obj[ i ], i, obj[ i ] ) === false ) { + break; + } + } + } else { + for ( i in obj ) { + if ( callback.call( obj[ i ], i, obj[ i ] ) === false ) { + break; + } + } + } + + return obj; + }, + + // Support: Android <=4.0 only + trim: function( text ) { + return text == null ? + "" : + ( text + "" ).replace( rtrim, "" ); + }, + + // results is for internal usage only + makeArray: function( arr, results ) { + var ret = results || []; + + if ( arr != null ) { + if ( isArrayLike( Object( arr ) ) ) { + jQuery.merge( ret, + typeof arr === "string" ? + [ arr ] : arr + ); + } else { + push.call( ret, arr ); + } + } + + return ret; + }, + + inArray: function( elem, arr, i ) { + return arr == null ? -1 : indexOf.call( arr, elem, i ); + }, + + // Support: Android <=4.0 only, PhantomJS 1 only + // push.apply(_, arraylike) throws on ancient WebKit + merge: function( first, second ) { + var len = +second.length, + j = 0, + i = first.length; + + for ( ; j < len; j++ ) { + first[ i++ ] = second[ j ]; + } + + first.length = i; + + return first; + }, + + grep: function( elems, callback, invert ) { + var callbackInverse, + matches = [], + i = 0, + length = elems.length, + callbackExpect = !invert; + + // Go through the array, only saving the items + // that pass the validator function + for ( ; i < length; i++ ) { + callbackInverse = !callback( elems[ i ], i ); + if ( callbackInverse !== callbackExpect ) { + matches.push( elems[ i ] ); + } + } + + return matches; + }, + + // arg is for internal usage only + map: function( elems, callback, arg ) { + var length, value, + i = 0, + ret = []; + + // Go through the array, translating each of the items to their new values + if ( isArrayLike( elems ) ) { + length = elems.length; + for ( ; i < length; i++ ) { + value = callback( elems[ i ], i, arg ); + + if ( value != null ) { + ret.push( value ); + } + } + + // Go through every key on the object, + } else { + for ( i in elems ) { + value = callback( elems[ i ], i, arg ); + + if ( value != null ) { + ret.push( value ); + } + } + } + + // Flatten any nested arrays + return concat.apply( [], ret ); + }, + + // A global GUID counter for objects + guid: 1, + + // jQuery.support is not used in Core but other projects attach their + // properties to it so it needs to exist. + support: support +} ); + +if ( typeof Symbol === "function" ) { + jQuery.fn[ Symbol.iterator ] = arr[ Symbol.iterator ]; +} + +// Populate the class2type map +jQuery.each( "Boolean Number String Function Array Date RegExp Object Error Symbol".split( " " ), +function( i, name ) { + class2type[ "[object " + name + "]" ] = name.toLowerCase(); +} ); + +function isArrayLike( obj ) { + + // Support: real iOS 8.2 only (not reproducible in simulator) + // `in` check used to prevent JIT error (gh-2145) + // hasOwn isn't used here due to false negatives + // regarding Nodelist length in IE + var length = !!obj && "length" in obj && obj.length, + type = toType( obj ); + + if ( isFunction( obj ) || isWindow( obj ) ) { + return false; + } + + return type === "array" || length === 0 || + typeof length === "number" && length > 0 && ( length - 1 ) in obj; +} +var Sizzle = +/*! + * Sizzle CSS Selector Engine v2.3.3 + * https://sizzlejs.com/ + * + * Copyright jQuery Foundation and other contributors + * Released under the MIT license + * http://jquery.org/license + * + * Date: 2016-08-08 + */ +(function( window ) { + +var i, + support, + Expr, + getText, + isXML, + tokenize, + compile, + select, + outermostContext, + sortInput, + hasDuplicate, + + // Local document vars + setDocument, + document, + docElem, + documentIsHTML, + rbuggyQSA, + rbuggyMatches, + matches, + contains, + + // Instance-specific data + expando = "sizzle" + 1 * new Date(), + preferredDoc = window.document, + dirruns = 0, + done = 0, + classCache = createCache(), + tokenCache = createCache(), + compilerCache = createCache(), + sortOrder = function( a, b ) { + if ( a === b ) { + hasDuplicate = true; + } + return 0; + }, + + // Instance methods + hasOwn = ({}).hasOwnProperty, + arr = [], + pop = arr.pop, + push_native = arr.push, + push = arr.push, + slice = arr.slice, + // Use a stripped-down indexOf as it's faster than native + // https://jsperf.com/thor-indexof-vs-for/5 + indexOf = function( list, elem ) { + var i = 0, + len = list.length; + for ( ; i < len; i++ ) { + if ( list[i] === elem ) { + return i; + } + } + return -1; + }, + + booleans = "checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped", + + // Regular expressions + + // http://www.w3.org/TR/css3-selectors/#whitespace + whitespace = "[\\x20\\t\\r\\n\\f]", + + // http://www.w3.org/TR/CSS21/syndata.html#value-def-identifier + identifier = "(?:\\\\.|[\\w-]|[^\0-\\xa0])+", + + // Attribute selectors: http://www.w3.org/TR/selectors/#attribute-selectors + attributes = "\\[" + whitespace + "*(" + identifier + ")(?:" + whitespace + + // Operator (capture 2) + "*([*^$|!~]?=)" + whitespace + + // "Attribute values must be CSS identifiers [capture 5] or strings [capture 3 or capture 4]" + "*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|(" + identifier + "))|)" + whitespace + + "*\\]", + + pseudos = ":(" + identifier + ")(?:\\((" + + // To reduce the number of selectors needing tokenize in the preFilter, prefer arguments: + // 1. quoted (capture 3; capture 4 or capture 5) + "('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|" + + // 2. simple (capture 6) + "((?:\\\\.|[^\\\\()[\\]]|" + attributes + ")*)|" + + // 3. anything else (capture 2) + ".*" + + ")\\)|)", + + // Leading and non-escaped trailing whitespace, capturing some non-whitespace characters preceding the latter + rwhitespace = new RegExp( whitespace + "+", "g" ), + rtrim = new RegExp( "^" + whitespace + "+|((?:^|[^\\\\])(?:\\\\.)*)" + whitespace + "+$", "g" ), + + rcomma = new RegExp( "^" + whitespace + "*," + whitespace + "*" ), + rcombinators = new RegExp( "^" + whitespace + "*([>+~]|" + whitespace + ")" + whitespace + "*" ), + + rattributeQuotes = new RegExp( "=" + whitespace + "*([^\\]'\"]*?)" + whitespace + "*\\]", "g" ), + + rpseudo = new RegExp( pseudos ), + ridentifier = new RegExp( "^" + identifier + "$" ), + + matchExpr = { + "ID": new RegExp( "^#(" + identifier + ")" ), + "CLASS": new RegExp( "^\\.(" + identifier + ")" ), + "TAG": new RegExp( "^(" + identifier + "|[*])" ), + "ATTR": new RegExp( "^" + attributes ), + "PSEUDO": new RegExp( "^" + pseudos ), + "CHILD": new RegExp( "^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\(" + whitespace + + "*(even|odd|(([+-]|)(\\d*)n|)" + whitespace + "*(?:([+-]|)" + whitespace + + "*(\\d+)|))" + whitespace + "*\\)|)", "i" ), + "bool": new RegExp( "^(?:" + booleans + ")$", "i" ), + // For use in libraries implementing .is() + // We use this for POS matching in `select` + "needsContext": new RegExp( "^" + whitespace + "*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\(" + + whitespace + "*((?:-\\d)?\\d*)" + whitespace + "*\\)|)(?=[^-]|$)", "i" ) + }, + + rinputs = /^(?:input|select|textarea|button)$/i, + rheader = /^h\d$/i, + + rnative = /^[^{]+\{\s*\[native \w/, + + // Easily-parseable/retrievable ID or TAG or CLASS selectors + rquickExpr = /^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/, + + rsibling = /[+~]/, + + // CSS escapes + // http://www.w3.org/TR/CSS21/syndata.html#escaped-characters + runescape = new RegExp( "\\\\([\\da-f]{1,6}" + whitespace + "?|(" + whitespace + ")|.)", "ig" ), + funescape = function( _, escaped, escapedWhitespace ) { + var high = "0x" + escaped - 0x10000; + // NaN means non-codepoint + // Support: Firefox<24 + // Workaround erroneous numeric interpretation of +"0x" + return high !== high || escapedWhitespace ? + escaped : + high < 0 ? + // BMP codepoint + String.fromCharCode( high + 0x10000 ) : + // Supplemental Plane codepoint (surrogate pair) + String.fromCharCode( high >> 10 | 0xD800, high & 0x3FF | 0xDC00 ); + }, + + // CSS string/identifier serialization + // https://drafts.csswg.org/cssom/#common-serializing-idioms + rcssescape = /([\0-\x1f\x7f]|^-?\d)|^-$|[^\0-\x1f\x7f-\uFFFF\w-]/g, + fcssescape = function( ch, asCodePoint ) { + if ( asCodePoint ) { + + // U+0000 NULL becomes U+FFFD REPLACEMENT CHARACTER + if ( ch === "\0" ) { + return "\uFFFD"; + } + + // Control characters and (dependent upon position) numbers get escaped as code points + return ch.slice( 0, -1 ) + "\\" + ch.charCodeAt( ch.length - 1 ).toString( 16 ) + " "; + } + + // Other potentially-special ASCII characters get backslash-escaped + return "\\" + ch; + }, + + // Used for iframes + // See setDocument() + // Removing the function wrapper causes a "Permission Denied" + // error in IE + unloadHandler = function() { + setDocument(); + }, + + disabledAncestor = addCombinator( + function( elem ) { + return elem.disabled === true && ("form" in elem || "label" in elem); + }, + { dir: "parentNode", next: "legend" } + ); + +// Optimize for push.apply( _, NodeList ) +try { + push.apply( + (arr = slice.call( preferredDoc.childNodes )), + preferredDoc.childNodes + ); + // Support: Android<4.0 + // Detect silently failing push.apply + arr[ preferredDoc.childNodes.length ].nodeType; +} catch ( e ) { + push = { apply: arr.length ? + + // Leverage slice if possible + function( target, els ) { + push_native.apply( target, slice.call(els) ); + } : + + // Support: IE<9 + // Otherwise append directly + function( target, els ) { + var j = target.length, + i = 0; + // Can't trust NodeList.length + while ( (target[j++] = els[i++]) ) {} + target.length = j - 1; + } + }; +} + +function Sizzle( selector, context, results, seed ) { + var m, i, elem, nid, match, groups, newSelector, + newContext = context && context.ownerDocument, + + // nodeType defaults to 9, since context defaults to document + nodeType = context ? context.nodeType : 9; + + results = results || []; + + // Return early from calls with invalid selector or context + if ( typeof selector !== "string" || !selector || + nodeType !== 1 && nodeType !== 9 && nodeType !== 11 ) { + + return results; + } + + // Try to shortcut find operations (as opposed to filters) in HTML documents + if ( !seed ) { + + if ( ( context ? context.ownerDocument || context : preferredDoc ) !== document ) { + setDocument( context ); + } + context = context || document; + + if ( documentIsHTML ) { + + // If the selector is sufficiently simple, try using a "get*By*" DOM method + // (excepting DocumentFragment context, where the methods don't exist) + if ( nodeType !== 11 && (match = rquickExpr.exec( selector )) ) { + + // ID selector + if ( (m = match[1]) ) { + + // Document context + if ( nodeType === 9 ) { + if ( (elem = context.getElementById( m )) ) { + + // Support: IE, Opera, Webkit + // TODO: identify versions + // getElementById can match elements by name instead of ID + if ( elem.id === m ) { + results.push( elem ); + return results; + } + } else { + return results; + } + + // Element context + } else { + + // Support: IE, Opera, Webkit + // TODO: identify versions + // getElementById can match elements by name instead of ID + if ( newContext && (elem = newContext.getElementById( m )) && + contains( context, elem ) && + elem.id === m ) { + + results.push( elem ); + return results; + } + } + + // Type selector + } else if ( match[2] ) { + push.apply( results, context.getElementsByTagName( selector ) ); + return results; + + // Class selector + } else if ( (m = match[3]) && support.getElementsByClassName && + context.getElementsByClassName ) { + + push.apply( results, context.getElementsByClassName( m ) ); + return results; + } + } + + // Take advantage of querySelectorAll + if ( support.qsa && + !compilerCache[ selector + " " ] && + (!rbuggyQSA || !rbuggyQSA.test( selector )) ) { + + if ( nodeType !== 1 ) { + newContext = context; + newSelector = selector; + + // qSA looks outside Element context, which is not what we want + // Thanks to Andrew Dupont for this workaround technique + // Support: IE <=8 + // Exclude object elements + } else if ( context.nodeName.toLowerCase() !== "object" ) { + + // Capture the context ID, setting it first if necessary + if ( (nid = context.getAttribute( "id" )) ) { + nid = nid.replace( rcssescape, fcssescape ); + } else { + context.setAttribute( "id", (nid = expando) ); + } + + // Prefix every selector in the list + groups = tokenize( selector ); + i = groups.length; + while ( i-- ) { + groups[i] = "#" + nid + " " + toSelector( groups[i] ); + } + newSelector = groups.join( "," ); + + // Expand context for sibling selectors + newContext = rsibling.test( selector ) && testContext( context.parentNode ) || + context; + } + + if ( newSelector ) { + try { + push.apply( results, + newContext.querySelectorAll( newSelector ) + ); + return results; + } catch ( qsaError ) { + } finally { + if ( nid === expando ) { + context.removeAttribute( "id" ); + } + } + } + } + } + } + + // All others + return select( selector.replace( rtrim, "$1" ), context, results, seed ); +} + +/** + * Create key-value caches of limited size + * @returns {function(string, object)} Returns the Object data after storing it on itself with + * property name the (space-suffixed) string and (if the cache is larger than Expr.cacheLength) + * deleting the oldest entry + */ +function createCache() { + var keys = []; + + function cache( key, value ) { + // Use (key + " ") to avoid collision with native prototype properties (see Issue #157) + if ( keys.push( key + " " ) > Expr.cacheLength ) { + // Only keep the most recent entries + delete cache[ keys.shift() ]; + } + return (cache[ key + " " ] = value); + } + return cache; +} + +/** + * Mark a function for special use by Sizzle + * @param {Function} fn The function to mark + */ +function markFunction( fn ) { + fn[ expando ] = true; + return fn; +} + +/** + * Support testing using an element + * @param {Function} fn Passed the created element and returns a boolean result + */ +function assert( fn ) { + var el = document.createElement("fieldset"); + + try { + return !!fn( el ); + } catch (e) { + return false; + } finally { + // Remove from its parent by default + if ( el.parentNode ) { + el.parentNode.removeChild( el ); + } + // release memory in IE + el = null; + } +} + +/** + * Adds the same handler for all of the specified attrs + * @param {String} attrs Pipe-separated list of attributes + * @param {Function} handler The method that will be applied + */ +function addHandle( attrs, handler ) { + var arr = attrs.split("|"), + i = arr.length; + + while ( i-- ) { + Expr.attrHandle[ arr[i] ] = handler; + } +} + +/** + * Checks document order of two siblings + * @param {Element} a + * @param {Element} b + * @returns {Number} Returns less than 0 if a precedes b, greater than 0 if a follows b + */ +function siblingCheck( a, b ) { + var cur = b && a, + diff = cur && a.nodeType === 1 && b.nodeType === 1 && + a.sourceIndex - b.sourceIndex; + + // Use IE sourceIndex if available on both nodes + if ( diff ) { + return diff; + } + + // Check if b follows a + if ( cur ) { + while ( (cur = cur.nextSibling) ) { + if ( cur === b ) { + return -1; + } + } + } + + return a ? 1 : -1; +} + +/** + * Returns a function to use in pseudos for input types + * @param {String} type + */ +function createInputPseudo( type ) { + return function( elem ) { + var name = elem.nodeName.toLowerCase(); + return name === "input" && elem.type === type; + }; +} + +/** + * Returns a function to use in pseudos for buttons + * @param {String} type + */ +function createButtonPseudo( type ) { + return function( elem ) { + var name = elem.nodeName.toLowerCase(); + return (name === "input" || name === "button") && elem.type === type; + }; +} + +/** + * Returns a function to use in pseudos for :enabled/:disabled + * @param {Boolean} disabled true for :disabled; false for :enabled + */ +function createDisabledPseudo( disabled ) { + + // Known :disabled false positives: fieldset[disabled] > legend:nth-of-type(n+2) :can-disable + return function( elem ) { + + // Only certain elements can match :enabled or :disabled + // https://html.spec.whatwg.org/multipage/scripting.html#selector-enabled + // https://html.spec.whatwg.org/multipage/scripting.html#selector-disabled + if ( "form" in elem ) { + + // Check for inherited disabledness on relevant non-disabled elements: + // * listed form-associated elements in a disabled fieldset + // https://html.spec.whatwg.org/multipage/forms.html#category-listed + // https://html.spec.whatwg.org/multipage/forms.html#concept-fe-disabled + // * option elements in a disabled optgroup + // https://html.spec.whatwg.org/multipage/forms.html#concept-option-disabled + // All such elements have a "form" property. + if ( elem.parentNode && elem.disabled === false ) { + + // Option elements defer to a parent optgroup if present + if ( "label" in elem ) { + if ( "label" in elem.parentNode ) { + return elem.parentNode.disabled === disabled; + } else { + return elem.disabled === disabled; + } + } + + // Support: IE 6 - 11 + // Use the isDisabled shortcut property to check for disabled fieldset ancestors + return elem.isDisabled === disabled || + + // Where there is no isDisabled, check manually + /* jshint -W018 */ + elem.isDisabled !== !disabled && + disabledAncestor( elem ) === disabled; + } + + return elem.disabled === disabled; + + // Try to winnow out elements that can't be disabled before trusting the disabled property. + // Some victims get caught in our net (label, legend, menu, track), but it shouldn't + // even exist on them, let alone have a boolean value. + } else if ( "label" in elem ) { + return elem.disabled === disabled; + } + + // Remaining elements are neither :enabled nor :disabled + return false; + }; +} + +/** + * Returns a function to use in pseudos for positionals + * @param {Function} fn + */ +function createPositionalPseudo( fn ) { + return markFunction(function( argument ) { + argument = +argument; + return markFunction(function( seed, matches ) { + var j, + matchIndexes = fn( [], seed.length, argument ), + i = matchIndexes.length; + + // Match elements found at the specified indexes + while ( i-- ) { + if ( seed[ (j = matchIndexes[i]) ] ) { + seed[j] = !(matches[j] = seed[j]); + } + } + }); + }); +} + +/** + * Checks a node for validity as a Sizzle context + * @param {Element|Object=} context + * @returns {Element|Object|Boolean} The input node if acceptable, otherwise a falsy value + */ +function testContext( context ) { + return context && typeof context.getElementsByTagName !== "undefined" && context; +} + +// Expose support vars for convenience +support = Sizzle.support = {}; + +/** + * Detects XML nodes + * @param {Element|Object} elem An element or a document + * @returns {Boolean} True iff elem is a non-HTML XML node + */ +isXML = Sizzle.isXML = function( elem ) { + // documentElement is verified for cases where it doesn't yet exist + // (such as loading iframes in IE - #4833) + var documentElement = elem && (elem.ownerDocument || elem).documentElement; + return documentElement ? documentElement.nodeName !== "HTML" : false; +}; + +/** + * Sets document-related variables once based on the current document + * @param {Element|Object} [doc] An element or document object to use to set the document + * @returns {Object} Returns the current document + */ +setDocument = Sizzle.setDocument = function( node ) { + var hasCompare, subWindow, + doc = node ? node.ownerDocument || node : preferredDoc; + + // Return early if doc is invalid or already selected + if ( doc === document || doc.nodeType !== 9 || !doc.documentElement ) { + return document; + } + + // Update global variables + document = doc; + docElem = document.documentElement; + documentIsHTML = !isXML( document ); + + // Support: IE 9-11, Edge + // Accessing iframe documents after unload throws "permission denied" errors (jQuery #13936) + if ( preferredDoc !== document && + (subWindow = document.defaultView) && subWindow.top !== subWindow ) { + + // Support: IE 11, Edge + if ( subWindow.addEventListener ) { + subWindow.addEventListener( "unload", unloadHandler, false ); + + // Support: IE 9 - 10 only + } else if ( subWindow.attachEvent ) { + subWindow.attachEvent( "onunload", unloadHandler ); + } + } + + /* Attributes + ---------------------------------------------------------------------- */ + + // Support: IE<8 + // Verify that getAttribute really returns attributes and not properties + // (excepting IE8 booleans) + support.attributes = assert(function( el ) { + el.className = "i"; + return !el.getAttribute("className"); + }); + + /* getElement(s)By* + ---------------------------------------------------------------------- */ + + // Check if getElementsByTagName("*") returns only elements + support.getElementsByTagName = assert(function( el ) { + el.appendChild( document.createComment("") ); + return !el.getElementsByTagName("*").length; + }); + + // Support: IE<9 + support.getElementsByClassName = rnative.test( document.getElementsByClassName ); + + // Support: IE<10 + // Check if getElementById returns elements by name + // The broken getElementById methods don't pick up programmatically-set names, + // so use a roundabout getElementsByName test + support.getById = assert(function( el ) { + docElem.appendChild( el ).id = expando; + return !document.getElementsByName || !document.getElementsByName( expando ).length; + }); + + // ID filter and find + if ( support.getById ) { + Expr.filter["ID"] = function( id ) { + var attrId = id.replace( runescape, funescape ); + return function( elem ) { + return elem.getAttribute("id") === attrId; + }; + }; + Expr.find["ID"] = function( id, context ) { + if ( typeof context.getElementById !== "undefined" && documentIsHTML ) { + var elem = context.getElementById( id ); + return elem ? [ elem ] : []; + } + }; + } else { + Expr.filter["ID"] = function( id ) { + var attrId = id.replace( runescape, funescape ); + return function( elem ) { + var node = typeof elem.getAttributeNode !== "undefined" && + elem.getAttributeNode("id"); + return node && node.value === attrId; + }; + }; + + // Support: IE 6 - 7 only + // getElementById is not reliable as a find shortcut + Expr.find["ID"] = function( id, context ) { + if ( typeof context.getElementById !== "undefined" && documentIsHTML ) { + var node, i, elems, + elem = context.getElementById( id ); + + if ( elem ) { + + // Verify the id attribute + node = elem.getAttributeNode("id"); + if ( node && node.value === id ) { + return [ elem ]; + } + + // Fall back on getElementsByName + elems = context.getElementsByName( id ); + i = 0; + while ( (elem = elems[i++]) ) { + node = elem.getAttributeNode("id"); + if ( node && node.value === id ) { + return [ elem ]; + } + } + } + + return []; + } + }; + } + + // Tag + Expr.find["TAG"] = support.getElementsByTagName ? + function( tag, context ) { + if ( typeof context.getElementsByTagName !== "undefined" ) { + return context.getElementsByTagName( tag ); + + // DocumentFragment nodes don't have gEBTN + } else if ( support.qsa ) { + return context.querySelectorAll( tag ); + } + } : + + function( tag, context ) { + var elem, + tmp = [], + i = 0, + // By happy coincidence, a (broken) gEBTN appears on DocumentFragment nodes too + results = context.getElementsByTagName( tag ); + + // Filter out possible comments + if ( tag === "*" ) { + while ( (elem = results[i++]) ) { + if ( elem.nodeType === 1 ) { + tmp.push( elem ); + } + } + + return tmp; + } + return results; + }; + + // Class + Expr.find["CLASS"] = support.getElementsByClassName && function( className, context ) { + if ( typeof context.getElementsByClassName !== "undefined" && documentIsHTML ) { + return context.getElementsByClassName( className ); + } + }; + + /* QSA/matchesSelector + ---------------------------------------------------------------------- */ + + // QSA and matchesSelector support + + // matchesSelector(:active) reports false when true (IE9/Opera 11.5) + rbuggyMatches = []; + + // qSa(:focus) reports false when true (Chrome 21) + // We allow this because of a bug in IE8/9 that throws an error + // whenever `document.activeElement` is accessed on an iframe + // So, we allow :focus to pass through QSA all the time to avoid the IE error + // See https://bugs.jquery.com/ticket/13378 + rbuggyQSA = []; + + if ( (support.qsa = rnative.test( document.querySelectorAll )) ) { + // Build QSA regex + // Regex strategy adopted from Diego Perini + assert(function( el ) { + // Select is set to empty string on purpose + // This is to test IE's treatment of not explicitly + // setting a boolean content attribute, + // since its presence should be enough + // https://bugs.jquery.com/ticket/12359 + docElem.appendChild( el ).innerHTML = "" + + ""; + + // Support: IE8, Opera 11-12.16 + // Nothing should be selected when empty strings follow ^= or $= or *= + // The test attribute must be unknown in Opera but "safe" for WinRT + // https://msdn.microsoft.com/en-us/library/ie/hh465388.aspx#attribute_section + if ( el.querySelectorAll("[msallowcapture^='']").length ) { + rbuggyQSA.push( "[*^$]=" + whitespace + "*(?:''|\"\")" ); + } + + // Support: IE8 + // Boolean attributes and "value" are not treated correctly + if ( !el.querySelectorAll("[selected]").length ) { + rbuggyQSA.push( "\\[" + whitespace + "*(?:value|" + booleans + ")" ); + } + + // Support: Chrome<29, Android<4.4, Safari<7.0+, iOS<7.0+, PhantomJS<1.9.8+ + if ( !el.querySelectorAll( "[id~=" + expando + "-]" ).length ) { + rbuggyQSA.push("~="); + } + + // Webkit/Opera - :checked should return selected option elements + // http://www.w3.org/TR/2011/REC-css3-selectors-20110929/#checked + // IE8 throws error here and will not see later tests + if ( !el.querySelectorAll(":checked").length ) { + rbuggyQSA.push(":checked"); + } + + // Support: Safari 8+, iOS 8+ + // https://bugs.webkit.org/show_bug.cgi?id=136851 + // In-page `selector#id sibling-combinator selector` fails + if ( !el.querySelectorAll( "a#" + expando + "+*" ).length ) { + rbuggyQSA.push(".#.+[+~]"); + } + }); + + assert(function( el ) { + el.innerHTML = "" + + ""; + + // Support: Windows 8 Native Apps + // The type and name attributes are restricted during .innerHTML assignment + var input = document.createElement("input"); + input.setAttribute( "type", "hidden" ); + el.appendChild( input ).setAttribute( "name", "D" ); + + // Support: IE8 + // Enforce case-sensitivity of name attribute + if ( el.querySelectorAll("[name=d]").length ) { + rbuggyQSA.push( "name" + whitespace + "*[*^$|!~]?=" ); + } + + // FF 3.5 - :enabled/:disabled and hidden elements (hidden elements are still enabled) + // IE8 throws error here and will not see later tests + if ( el.querySelectorAll(":enabled").length !== 2 ) { + rbuggyQSA.push( ":enabled", ":disabled" ); + } + + // Support: IE9-11+ + // IE's :disabled selector does not pick up the children of disabled fieldsets + docElem.appendChild( el ).disabled = true; + if ( el.querySelectorAll(":disabled").length !== 2 ) { + rbuggyQSA.push( ":enabled", ":disabled" ); + } + + // Opera 10-11 does not throw on post-comma invalid pseudos + el.querySelectorAll("*,:x"); + rbuggyQSA.push(",.*:"); + }); + } + + if ( (support.matchesSelector = rnative.test( (matches = docElem.matches || + docElem.webkitMatchesSelector || + docElem.mozMatchesSelector || + docElem.oMatchesSelector || + docElem.msMatchesSelector) )) ) { + + assert(function( el ) { + // Check to see if it's possible to do matchesSelector + // on a disconnected node (IE 9) + support.disconnectedMatch = matches.call( el, "*" ); + + // This should fail with an exception + // Gecko does not error, returns false instead + matches.call( el, "[s!='']:x" ); + rbuggyMatches.push( "!=", pseudos ); + }); + } + + rbuggyQSA = rbuggyQSA.length && new RegExp( rbuggyQSA.join("|") ); + rbuggyMatches = rbuggyMatches.length && new RegExp( rbuggyMatches.join("|") ); + + /* Contains + ---------------------------------------------------------------------- */ + hasCompare = rnative.test( docElem.compareDocumentPosition ); + + // Element contains another + // Purposefully self-exclusive + // As in, an element does not contain itself + contains = hasCompare || rnative.test( docElem.contains ) ? + function( a, b ) { + var adown = a.nodeType === 9 ? a.documentElement : a, + bup = b && b.parentNode; + return a === bup || !!( bup && bup.nodeType === 1 && ( + adown.contains ? + adown.contains( bup ) : + a.compareDocumentPosition && a.compareDocumentPosition( bup ) & 16 + )); + } : + function( a, b ) { + if ( b ) { + while ( (b = b.parentNode) ) { + if ( b === a ) { + return true; + } + } + } + return false; + }; + + /* Sorting + ---------------------------------------------------------------------- */ + + // Document order sorting + sortOrder = hasCompare ? + function( a, b ) { + + // Flag for duplicate removal + if ( a === b ) { + hasDuplicate = true; + return 0; + } + + // Sort on method existence if only one input has compareDocumentPosition + var compare = !a.compareDocumentPosition - !b.compareDocumentPosition; + if ( compare ) { + return compare; + } + + // Calculate position if both inputs belong to the same document + compare = ( a.ownerDocument || a ) === ( b.ownerDocument || b ) ? + a.compareDocumentPosition( b ) : + + // Otherwise we know they are disconnected + 1; + + // Disconnected nodes + if ( compare & 1 || + (!support.sortDetached && b.compareDocumentPosition( a ) === compare) ) { + + // Choose the first element that is related to our preferred document + if ( a === document || a.ownerDocument === preferredDoc && contains(preferredDoc, a) ) { + return -1; + } + if ( b === document || b.ownerDocument === preferredDoc && contains(preferredDoc, b) ) { + return 1; + } + + // Maintain original order + return sortInput ? + ( indexOf( sortInput, a ) - indexOf( sortInput, b ) ) : + 0; + } + + return compare & 4 ? -1 : 1; + } : + function( a, b ) { + // Exit early if the nodes are identical + if ( a === b ) { + hasDuplicate = true; + return 0; + } + + var cur, + i = 0, + aup = a.parentNode, + bup = b.parentNode, + ap = [ a ], + bp = [ b ]; + + // Parentless nodes are either documents or disconnected + if ( !aup || !bup ) { + return a === document ? -1 : + b === document ? 1 : + aup ? -1 : + bup ? 1 : + sortInput ? + ( indexOf( sortInput, a ) - indexOf( sortInput, b ) ) : + 0; + + // If the nodes are siblings, we can do a quick check + } else if ( aup === bup ) { + return siblingCheck( a, b ); + } + + // Otherwise we need full lists of their ancestors for comparison + cur = a; + while ( (cur = cur.parentNode) ) { + ap.unshift( cur ); + } + cur = b; + while ( (cur = cur.parentNode) ) { + bp.unshift( cur ); + } + + // Walk down the tree looking for a discrepancy + while ( ap[i] === bp[i] ) { + i++; + } + + return i ? + // Do a sibling check if the nodes have a common ancestor + siblingCheck( ap[i], bp[i] ) : + + // Otherwise nodes in our document sort first + ap[i] === preferredDoc ? -1 : + bp[i] === preferredDoc ? 1 : + 0; + }; + + return document; +}; + +Sizzle.matches = function( expr, elements ) { + return Sizzle( expr, null, null, elements ); +}; + +Sizzle.matchesSelector = function( elem, expr ) { + // Set document vars if needed + if ( ( elem.ownerDocument || elem ) !== document ) { + setDocument( elem ); + } + + // Make sure that attribute selectors are quoted + expr = expr.replace( rattributeQuotes, "='$1']" ); + + if ( support.matchesSelector && documentIsHTML && + !compilerCache[ expr + " " ] && + ( !rbuggyMatches || !rbuggyMatches.test( expr ) ) && + ( !rbuggyQSA || !rbuggyQSA.test( expr ) ) ) { + + try { + var ret = matches.call( elem, expr ); + + // IE 9's matchesSelector returns false on disconnected nodes + if ( ret || support.disconnectedMatch || + // As well, disconnected nodes are said to be in a document + // fragment in IE 9 + elem.document && elem.document.nodeType !== 11 ) { + return ret; + } + } catch (e) {} + } + + return Sizzle( expr, document, null, [ elem ] ).length > 0; +}; + +Sizzle.contains = function( context, elem ) { + // Set document vars if needed + if ( ( context.ownerDocument || context ) !== document ) { + setDocument( context ); + } + return contains( context, elem ); +}; + +Sizzle.attr = function( elem, name ) { + // Set document vars if needed + if ( ( elem.ownerDocument || elem ) !== document ) { + setDocument( elem ); + } + + var fn = Expr.attrHandle[ name.toLowerCase() ], + // Don't get fooled by Object.prototype properties (jQuery #13807) + val = fn && hasOwn.call( Expr.attrHandle, name.toLowerCase() ) ? + fn( elem, name, !documentIsHTML ) : + undefined; + + return val !== undefined ? + val : + support.attributes || !documentIsHTML ? + elem.getAttribute( name ) : + (val = elem.getAttributeNode(name)) && val.specified ? + val.value : + null; +}; + +Sizzle.escape = function( sel ) { + return (sel + "").replace( rcssescape, fcssescape ); +}; + +Sizzle.error = function( msg ) { + throw new Error( "Syntax error, unrecognized expression: " + msg ); +}; + +/** + * Document sorting and removing duplicates + * @param {ArrayLike} results + */ +Sizzle.uniqueSort = function( results ) { + var elem, + duplicates = [], + j = 0, + i = 0; + + // Unless we *know* we can detect duplicates, assume their presence + hasDuplicate = !support.detectDuplicates; + sortInput = !support.sortStable && results.slice( 0 ); + results.sort( sortOrder ); + + if ( hasDuplicate ) { + while ( (elem = results[i++]) ) { + if ( elem === results[ i ] ) { + j = duplicates.push( i ); + } + } + while ( j-- ) { + results.splice( duplicates[ j ], 1 ); + } + } + + // Clear input after sorting to release objects + // See https://github.com/jquery/sizzle/pull/225 + sortInput = null; + + return results; +}; + +/** + * Utility function for retrieving the text value of an array of DOM nodes + * @param {Array|Element} elem + */ +getText = Sizzle.getText = function( elem ) { + var node, + ret = "", + i = 0, + nodeType = elem.nodeType; + + if ( !nodeType ) { + // If no nodeType, this is expected to be an array + while ( (node = elem[i++]) ) { + // Do not traverse comment nodes + ret += getText( node ); + } + } else if ( nodeType === 1 || nodeType === 9 || nodeType === 11 ) { + // Use textContent for elements + // innerText usage removed for consistency of new lines (jQuery #11153) + if ( typeof elem.textContent === "string" ) { + return elem.textContent; + } else { + // Traverse its children + for ( elem = elem.firstChild; elem; elem = elem.nextSibling ) { + ret += getText( elem ); + } + } + } else if ( nodeType === 3 || nodeType === 4 ) { + return elem.nodeValue; + } + // Do not include comment or processing instruction nodes + + return ret; +}; + +Expr = Sizzle.selectors = { + + // Can be adjusted by the user + cacheLength: 50, + + createPseudo: markFunction, + + match: matchExpr, + + attrHandle: {}, + + find: {}, + + relative: { + ">": { dir: "parentNode", first: true }, + " ": { dir: "parentNode" }, + "+": { dir: "previousSibling", first: true }, + "~": { dir: "previousSibling" } + }, + + preFilter: { + "ATTR": function( match ) { + match[1] = match[1].replace( runescape, funescape ); + + // Move the given value to match[3] whether quoted or unquoted + match[3] = ( match[3] || match[4] || match[5] || "" ).replace( runescape, funescape ); + + if ( match[2] === "~=" ) { + match[3] = " " + match[3] + " "; + } + + return match.slice( 0, 4 ); + }, + + "CHILD": function( match ) { + /* matches from matchExpr["CHILD"] + 1 type (only|nth|...) + 2 what (child|of-type) + 3 argument (even|odd|\d*|\d*n([+-]\d+)?|...) + 4 xn-component of xn+y argument ([+-]?\d*n|) + 5 sign of xn-component + 6 x of xn-component + 7 sign of y-component + 8 y of y-component + */ + match[1] = match[1].toLowerCase(); + + if ( match[1].slice( 0, 3 ) === "nth" ) { + // nth-* requires argument + if ( !match[3] ) { + Sizzle.error( match[0] ); + } + + // numeric x and y parameters for Expr.filter.CHILD + // remember that false/true cast respectively to 0/1 + match[4] = +( match[4] ? match[5] + (match[6] || 1) : 2 * ( match[3] === "even" || match[3] === "odd" ) ); + match[5] = +( ( match[7] + match[8] ) || match[3] === "odd" ); + + // other types prohibit arguments + } else if ( match[3] ) { + Sizzle.error( match[0] ); + } + + return match; + }, + + "PSEUDO": function( match ) { + var excess, + unquoted = !match[6] && match[2]; + + if ( matchExpr["CHILD"].test( match[0] ) ) { + return null; + } + + // Accept quoted arguments as-is + if ( match[3] ) { + match[2] = match[4] || match[5] || ""; + + // Strip excess characters from unquoted arguments + } else if ( unquoted && rpseudo.test( unquoted ) && + // Get excess from tokenize (recursively) + (excess = tokenize( unquoted, true )) && + // advance to the next closing parenthesis + (excess = unquoted.indexOf( ")", unquoted.length - excess ) - unquoted.length) ) { + + // excess is a negative index + match[0] = match[0].slice( 0, excess ); + match[2] = unquoted.slice( 0, excess ); + } + + // Return only captures needed by the pseudo filter method (type and argument) + return match.slice( 0, 3 ); + } + }, + + filter: { + + "TAG": function( nodeNameSelector ) { + var nodeName = nodeNameSelector.replace( runescape, funescape ).toLowerCase(); + return nodeNameSelector === "*" ? + function() { return true; } : + function( elem ) { + return elem.nodeName && elem.nodeName.toLowerCase() === nodeName; + }; + }, + + "CLASS": function( className ) { + var pattern = classCache[ className + " " ]; + + return pattern || + (pattern = new RegExp( "(^|" + whitespace + ")" + className + "(" + whitespace + "|$)" )) && + classCache( className, function( elem ) { + return pattern.test( typeof elem.className === "string" && elem.className || typeof elem.getAttribute !== "undefined" && elem.getAttribute("class") || "" ); + }); + }, + + "ATTR": function( name, operator, check ) { + return function( elem ) { + var result = Sizzle.attr( elem, name ); + + if ( result == null ) { + return operator === "!="; + } + if ( !operator ) { + return true; + } + + result += ""; + + return operator === "=" ? result === check : + operator === "!=" ? result !== check : + operator === "^=" ? check && result.indexOf( check ) === 0 : + operator === "*=" ? check && result.indexOf( check ) > -1 : + operator === "$=" ? check && result.slice( -check.length ) === check : + operator === "~=" ? ( " " + result.replace( rwhitespace, " " ) + " " ).indexOf( check ) > -1 : + operator === "|=" ? result === check || result.slice( 0, check.length + 1 ) === check + "-" : + false; + }; + }, + + "CHILD": function( type, what, argument, first, last ) { + var simple = type.slice( 0, 3 ) !== "nth", + forward = type.slice( -4 ) !== "last", + ofType = what === "of-type"; + + return first === 1 && last === 0 ? + + // Shortcut for :nth-*(n) + function( elem ) { + return !!elem.parentNode; + } : + + function( elem, context, xml ) { + var cache, uniqueCache, outerCache, node, nodeIndex, start, + dir = simple !== forward ? "nextSibling" : "previousSibling", + parent = elem.parentNode, + name = ofType && elem.nodeName.toLowerCase(), + useCache = !xml && !ofType, + diff = false; + + if ( parent ) { + + // :(first|last|only)-(child|of-type) + if ( simple ) { + while ( dir ) { + node = elem; + while ( (node = node[ dir ]) ) { + if ( ofType ? + node.nodeName.toLowerCase() === name : + node.nodeType === 1 ) { + + return false; + } + } + // Reverse direction for :only-* (if we haven't yet done so) + start = dir = type === "only" && !start && "nextSibling"; + } + return true; + } + + start = [ forward ? parent.firstChild : parent.lastChild ]; + + // non-xml :nth-child(...) stores cache data on `parent` + if ( forward && useCache ) { + + // Seek `elem` from a previously-cached index + + // ...in a gzip-friendly way + node = parent; + outerCache = node[ expando ] || (node[ expando ] = {}); + + // Support: IE <9 only + // Defend against cloned attroperties (jQuery gh-1709) + uniqueCache = outerCache[ node.uniqueID ] || + (outerCache[ node.uniqueID ] = {}); + + cache = uniqueCache[ type ] || []; + nodeIndex = cache[ 0 ] === dirruns && cache[ 1 ]; + diff = nodeIndex && cache[ 2 ]; + node = nodeIndex && parent.childNodes[ nodeIndex ]; + + while ( (node = ++nodeIndex && node && node[ dir ] || + + // Fallback to seeking `elem` from the start + (diff = nodeIndex = 0) || start.pop()) ) { + + // When found, cache indexes on `parent` and break + if ( node.nodeType === 1 && ++diff && node === elem ) { + uniqueCache[ type ] = [ dirruns, nodeIndex, diff ]; + break; + } + } + + } else { + // Use previously-cached element index if available + if ( useCache ) { + // ...in a gzip-friendly way + node = elem; + outerCache = node[ expando ] || (node[ expando ] = {}); + + // Support: IE <9 only + // Defend against cloned attroperties (jQuery gh-1709) + uniqueCache = outerCache[ node.uniqueID ] || + (outerCache[ node.uniqueID ] = {}); + + cache = uniqueCache[ type ] || []; + nodeIndex = cache[ 0 ] === dirruns && cache[ 1 ]; + diff = nodeIndex; + } + + // xml :nth-child(...) + // or :nth-last-child(...) or :nth(-last)?-of-type(...) + if ( diff === false ) { + // Use the same loop as above to seek `elem` from the start + while ( (node = ++nodeIndex && node && node[ dir ] || + (diff = nodeIndex = 0) || start.pop()) ) { + + if ( ( ofType ? + node.nodeName.toLowerCase() === name : + node.nodeType === 1 ) && + ++diff ) { + + // Cache the index of each encountered element + if ( useCache ) { + outerCache = node[ expando ] || (node[ expando ] = {}); + + // Support: IE <9 only + // Defend against cloned attroperties (jQuery gh-1709) + uniqueCache = outerCache[ node.uniqueID ] || + (outerCache[ node.uniqueID ] = {}); + + uniqueCache[ type ] = [ dirruns, diff ]; + } + + if ( node === elem ) { + break; + } + } + } + } + } + + // Incorporate the offset, then check against cycle size + diff -= last; + return diff === first || ( diff % first === 0 && diff / first >= 0 ); + } + }; + }, + + "PSEUDO": function( pseudo, argument ) { + // pseudo-class names are case-insensitive + // http://www.w3.org/TR/selectors/#pseudo-classes + // Prioritize by case sensitivity in case custom pseudos are added with uppercase letters + // Remember that setFilters inherits from pseudos + var args, + fn = Expr.pseudos[ pseudo ] || Expr.setFilters[ pseudo.toLowerCase() ] || + Sizzle.error( "unsupported pseudo: " + pseudo ); + + // The user may use createPseudo to indicate that + // arguments are needed to create the filter function + // just as Sizzle does + if ( fn[ expando ] ) { + return fn( argument ); + } + + // But maintain support for old signatures + if ( fn.length > 1 ) { + args = [ pseudo, pseudo, "", argument ]; + return Expr.setFilters.hasOwnProperty( pseudo.toLowerCase() ) ? + markFunction(function( seed, matches ) { + var idx, + matched = fn( seed, argument ), + i = matched.length; + while ( i-- ) { + idx = indexOf( seed, matched[i] ); + seed[ idx ] = !( matches[ idx ] = matched[i] ); + } + }) : + function( elem ) { + return fn( elem, 0, args ); + }; + } + + return fn; + } + }, + + pseudos: { + // Potentially complex pseudos + "not": markFunction(function( selector ) { + // Trim the selector passed to compile + // to avoid treating leading and trailing + // spaces as combinators + var input = [], + results = [], + matcher = compile( selector.replace( rtrim, "$1" ) ); + + return matcher[ expando ] ? + markFunction(function( seed, matches, context, xml ) { + var elem, + unmatched = matcher( seed, null, xml, [] ), + i = seed.length; + + // Match elements unmatched by `matcher` + while ( i-- ) { + if ( (elem = unmatched[i]) ) { + seed[i] = !(matches[i] = elem); + } + } + }) : + function( elem, context, xml ) { + input[0] = elem; + matcher( input, null, xml, results ); + // Don't keep the element (issue #299) + input[0] = null; + return !results.pop(); + }; + }), + + "has": markFunction(function( selector ) { + return function( elem ) { + return Sizzle( selector, elem ).length > 0; + }; + }), + + "contains": markFunction(function( text ) { + text = text.replace( runescape, funescape ); + return function( elem ) { + return ( elem.textContent || elem.innerText || getText( elem ) ).indexOf( text ) > -1; + }; + }), + + // "Whether an element is represented by a :lang() selector + // is based solely on the element's language value + // being equal to the identifier C, + // or beginning with the identifier C immediately followed by "-". + // The matching of C against the element's language value is performed case-insensitively. + // The identifier C does not have to be a valid language name." + // http://www.w3.org/TR/selectors/#lang-pseudo + "lang": markFunction( function( lang ) { + // lang value must be a valid identifier + if ( !ridentifier.test(lang || "") ) { + Sizzle.error( "unsupported lang: " + lang ); + } + lang = lang.replace( runescape, funescape ).toLowerCase(); + return function( elem ) { + var elemLang; + do { + if ( (elemLang = documentIsHTML ? + elem.lang : + elem.getAttribute("xml:lang") || elem.getAttribute("lang")) ) { + + elemLang = elemLang.toLowerCase(); + return elemLang === lang || elemLang.indexOf( lang + "-" ) === 0; + } + } while ( (elem = elem.parentNode) && elem.nodeType === 1 ); + return false; + }; + }), + + // Miscellaneous + "target": function( elem ) { + var hash = window.location && window.location.hash; + return hash && hash.slice( 1 ) === elem.id; + }, + + "root": function( elem ) { + return elem === docElem; + }, + + "focus": function( elem ) { + return elem === document.activeElement && (!document.hasFocus || document.hasFocus()) && !!(elem.type || elem.href || ~elem.tabIndex); + }, + + // Boolean properties + "enabled": createDisabledPseudo( false ), + "disabled": createDisabledPseudo( true ), + + "checked": function( elem ) { + // In CSS3, :checked should return both checked and selected elements + // http://www.w3.org/TR/2011/REC-css3-selectors-20110929/#checked + var nodeName = elem.nodeName.toLowerCase(); + return (nodeName === "input" && !!elem.checked) || (nodeName === "option" && !!elem.selected); + }, + + "selected": function( elem ) { + // Accessing this property makes selected-by-default + // options in Safari work properly + if ( elem.parentNode ) { + elem.parentNode.selectedIndex; + } + + return elem.selected === true; + }, + + // Contents + "empty": function( elem ) { + // http://www.w3.org/TR/selectors/#empty-pseudo + // :empty is negated by element (1) or content nodes (text: 3; cdata: 4; entity ref: 5), + // but not by others (comment: 8; processing instruction: 7; etc.) + // nodeType < 6 works because attributes (2) do not appear as children + for ( elem = elem.firstChild; elem; elem = elem.nextSibling ) { + if ( elem.nodeType < 6 ) { + return false; + } + } + return true; + }, + + "parent": function( elem ) { + return !Expr.pseudos["empty"]( elem ); + }, + + // Element/input types + "header": function( elem ) { + return rheader.test( elem.nodeName ); + }, + + "input": function( elem ) { + return rinputs.test( elem.nodeName ); + }, + + "button": function( elem ) { + var name = elem.nodeName.toLowerCase(); + return name === "input" && elem.type === "button" || name === "button"; + }, + + "text": function( elem ) { + var attr; + return elem.nodeName.toLowerCase() === "input" && + elem.type === "text" && + + // Support: IE<8 + // New HTML5 attribute values (e.g., "search") appear with elem.type === "text" + ( (attr = elem.getAttribute("type")) == null || attr.toLowerCase() === "text" ); + }, + + // Position-in-collection + "first": createPositionalPseudo(function() { + return [ 0 ]; + }), + + "last": createPositionalPseudo(function( matchIndexes, length ) { + return [ length - 1 ]; + }), + + "eq": createPositionalPseudo(function( matchIndexes, length, argument ) { + return [ argument < 0 ? argument + length : argument ]; + }), + + "even": createPositionalPseudo(function( matchIndexes, length ) { + var i = 0; + for ( ; i < length; i += 2 ) { + matchIndexes.push( i ); + } + return matchIndexes; + }), + + "odd": createPositionalPseudo(function( matchIndexes, length ) { + var i = 1; + for ( ; i < length; i += 2 ) { + matchIndexes.push( i ); + } + return matchIndexes; + }), + + "lt": createPositionalPseudo(function( matchIndexes, length, argument ) { + var i = argument < 0 ? argument + length : argument; + for ( ; --i >= 0; ) { + matchIndexes.push( i ); + } + return matchIndexes; + }), + + "gt": createPositionalPseudo(function( matchIndexes, length, argument ) { + var i = argument < 0 ? argument + length : argument; + for ( ; ++i < length; ) { + matchIndexes.push( i ); + } + return matchIndexes; + }) + } +}; + +Expr.pseudos["nth"] = Expr.pseudos["eq"]; + +// Add button/input type pseudos +for ( i in { radio: true, checkbox: true, file: true, password: true, image: true } ) { + Expr.pseudos[ i ] = createInputPseudo( i ); +} +for ( i in { submit: true, reset: true } ) { + Expr.pseudos[ i ] = createButtonPseudo( i ); +} + +// Easy API for creating new setFilters +function setFilters() {} +setFilters.prototype = Expr.filters = Expr.pseudos; +Expr.setFilters = new setFilters(); + +tokenize = Sizzle.tokenize = function( selector, parseOnly ) { + var matched, match, tokens, type, + soFar, groups, preFilters, + cached = tokenCache[ selector + " " ]; + + if ( cached ) { + return parseOnly ? 0 : cached.slice( 0 ); + } + + soFar = selector; + groups = []; + preFilters = Expr.preFilter; + + while ( soFar ) { + + // Comma and first run + if ( !matched || (match = rcomma.exec( soFar )) ) { + if ( match ) { + // Don't consume trailing commas as valid + soFar = soFar.slice( match[0].length ) || soFar; + } + groups.push( (tokens = []) ); + } + + matched = false; + + // Combinators + if ( (match = rcombinators.exec( soFar )) ) { + matched = match.shift(); + tokens.push({ + value: matched, + // Cast descendant combinators to space + type: match[0].replace( rtrim, " " ) + }); + soFar = soFar.slice( matched.length ); + } + + // Filters + for ( type in Expr.filter ) { + if ( (match = matchExpr[ type ].exec( soFar )) && (!preFilters[ type ] || + (match = preFilters[ type ]( match ))) ) { + matched = match.shift(); + tokens.push({ + value: matched, + type: type, + matches: match + }); + soFar = soFar.slice( matched.length ); + } + } + + if ( !matched ) { + break; + } + } + + // Return the length of the invalid excess + // if we're just parsing + // Otherwise, throw an error or return tokens + return parseOnly ? + soFar.length : + soFar ? + Sizzle.error( selector ) : + // Cache the tokens + tokenCache( selector, groups ).slice( 0 ); +}; + +function toSelector( tokens ) { + var i = 0, + len = tokens.length, + selector = ""; + for ( ; i < len; i++ ) { + selector += tokens[i].value; + } + return selector; +} + +function addCombinator( matcher, combinator, base ) { + var dir = combinator.dir, + skip = combinator.next, + key = skip || dir, + checkNonElements = base && key === "parentNode", + doneName = done++; + + return combinator.first ? + // Check against closest ancestor/preceding element + function( elem, context, xml ) { + while ( (elem = elem[ dir ]) ) { + if ( elem.nodeType === 1 || checkNonElements ) { + return matcher( elem, context, xml ); + } + } + return false; + } : + + // Check against all ancestor/preceding elements + function( elem, context, xml ) { + var oldCache, uniqueCache, outerCache, + newCache = [ dirruns, doneName ]; + + // We can't set arbitrary data on XML nodes, so they don't benefit from combinator caching + if ( xml ) { + while ( (elem = elem[ dir ]) ) { + if ( elem.nodeType === 1 || checkNonElements ) { + if ( matcher( elem, context, xml ) ) { + return true; + } + } + } + } else { + while ( (elem = elem[ dir ]) ) { + if ( elem.nodeType === 1 || checkNonElements ) { + outerCache = elem[ expando ] || (elem[ expando ] = {}); + + // Support: IE <9 only + // Defend against cloned attroperties (jQuery gh-1709) + uniqueCache = outerCache[ elem.uniqueID ] || (outerCache[ elem.uniqueID ] = {}); + + if ( skip && skip === elem.nodeName.toLowerCase() ) { + elem = elem[ dir ] || elem; + } else if ( (oldCache = uniqueCache[ key ]) && + oldCache[ 0 ] === dirruns && oldCache[ 1 ] === doneName ) { + + // Assign to newCache so results back-propagate to previous elements + return (newCache[ 2 ] = oldCache[ 2 ]); + } else { + // Reuse newcache so results back-propagate to previous elements + uniqueCache[ key ] = newCache; + + // A match means we're done; a fail means we have to keep checking + if ( (newCache[ 2 ] = matcher( elem, context, xml )) ) { + return true; + } + } + } + } + } + return false; + }; +} + +function elementMatcher( matchers ) { + return matchers.length > 1 ? + function( elem, context, xml ) { + var i = matchers.length; + while ( i-- ) { + if ( !matchers[i]( elem, context, xml ) ) { + return false; + } + } + return true; + } : + matchers[0]; +} + +function multipleContexts( selector, contexts, results ) { + var i = 0, + len = contexts.length; + for ( ; i < len; i++ ) { + Sizzle( selector, contexts[i], results ); + } + return results; +} + +function condense( unmatched, map, filter, context, xml ) { + var elem, + newUnmatched = [], + i = 0, + len = unmatched.length, + mapped = map != null; + + for ( ; i < len; i++ ) { + if ( (elem = unmatched[i]) ) { + if ( !filter || filter( elem, context, xml ) ) { + newUnmatched.push( elem ); + if ( mapped ) { + map.push( i ); + } + } + } + } + + return newUnmatched; +} + +function setMatcher( preFilter, selector, matcher, postFilter, postFinder, postSelector ) { + if ( postFilter && !postFilter[ expando ] ) { + postFilter = setMatcher( postFilter ); + } + if ( postFinder && !postFinder[ expando ] ) { + postFinder = setMatcher( postFinder, postSelector ); + } + return markFunction(function( seed, results, context, xml ) { + var temp, i, elem, + preMap = [], + postMap = [], + preexisting = results.length, + + // Get initial elements from seed or context + elems = seed || multipleContexts( selector || "*", context.nodeType ? [ context ] : context, [] ), + + // Prefilter to get matcher input, preserving a map for seed-results synchronization + matcherIn = preFilter && ( seed || !selector ) ? + condense( elems, preMap, preFilter, context, xml ) : + elems, + + matcherOut = matcher ? + // If we have a postFinder, or filtered seed, or non-seed postFilter or preexisting results, + postFinder || ( seed ? preFilter : preexisting || postFilter ) ? + + // ...intermediate processing is necessary + [] : + + // ...otherwise use results directly + results : + matcherIn; + + // Find primary matches + if ( matcher ) { + matcher( matcherIn, matcherOut, context, xml ); + } + + // Apply postFilter + if ( postFilter ) { + temp = condense( matcherOut, postMap ); + postFilter( temp, [], context, xml ); + + // Un-match failing elements by moving them back to matcherIn + i = temp.length; + while ( i-- ) { + if ( (elem = temp[i]) ) { + matcherOut[ postMap[i] ] = !(matcherIn[ postMap[i] ] = elem); + } + } + } + + if ( seed ) { + if ( postFinder || preFilter ) { + if ( postFinder ) { + // Get the final matcherOut by condensing this intermediate into postFinder contexts + temp = []; + i = matcherOut.length; + while ( i-- ) { + if ( (elem = matcherOut[i]) ) { + // Restore matcherIn since elem is not yet a final match + temp.push( (matcherIn[i] = elem) ); + } + } + postFinder( null, (matcherOut = []), temp, xml ); + } + + // Move matched elements from seed to results to keep them synchronized + i = matcherOut.length; + while ( i-- ) { + if ( (elem = matcherOut[i]) && + (temp = postFinder ? indexOf( seed, elem ) : preMap[i]) > -1 ) { + + seed[temp] = !(results[temp] = elem); + } + } + } + + // Add elements to results, through postFinder if defined + } else { + matcherOut = condense( + matcherOut === results ? + matcherOut.splice( preexisting, matcherOut.length ) : + matcherOut + ); + if ( postFinder ) { + postFinder( null, results, matcherOut, xml ); + } else { + push.apply( results, matcherOut ); + } + } + }); +} + +function matcherFromTokens( tokens ) { + var checkContext, matcher, j, + len = tokens.length, + leadingRelative = Expr.relative[ tokens[0].type ], + implicitRelative = leadingRelative || Expr.relative[" "], + i = leadingRelative ? 1 : 0, + + // The foundational matcher ensures that elements are reachable from top-level context(s) + matchContext = addCombinator( function( elem ) { + return elem === checkContext; + }, implicitRelative, true ), + matchAnyContext = addCombinator( function( elem ) { + return indexOf( checkContext, elem ) > -1; + }, implicitRelative, true ), + matchers = [ function( elem, context, xml ) { + var ret = ( !leadingRelative && ( xml || context !== outermostContext ) ) || ( + (checkContext = context).nodeType ? + matchContext( elem, context, xml ) : + matchAnyContext( elem, context, xml ) ); + // Avoid hanging onto element (issue #299) + checkContext = null; + return ret; + } ]; + + for ( ; i < len; i++ ) { + if ( (matcher = Expr.relative[ tokens[i].type ]) ) { + matchers = [ addCombinator(elementMatcher( matchers ), matcher) ]; + } else { + matcher = Expr.filter[ tokens[i].type ].apply( null, tokens[i].matches ); + + // Return special upon seeing a positional matcher + if ( matcher[ expando ] ) { + // Find the next relative operator (if any) for proper handling + j = ++i; + for ( ; j < len; j++ ) { + if ( Expr.relative[ tokens[j].type ] ) { + break; + } + } + return setMatcher( + i > 1 && elementMatcher( matchers ), + i > 1 && toSelector( + // If the preceding token was a descendant combinator, insert an implicit any-element `*` + tokens.slice( 0, i - 1 ).concat({ value: tokens[ i - 2 ].type === " " ? "*" : "" }) + ).replace( rtrim, "$1" ), + matcher, + i < j && matcherFromTokens( tokens.slice( i, j ) ), + j < len && matcherFromTokens( (tokens = tokens.slice( j )) ), + j < len && toSelector( tokens ) + ); + } + matchers.push( matcher ); + } + } + + return elementMatcher( matchers ); +} + +function matcherFromGroupMatchers( elementMatchers, setMatchers ) { + var bySet = setMatchers.length > 0, + byElement = elementMatchers.length > 0, + superMatcher = function( seed, context, xml, results, outermost ) { + var elem, j, matcher, + matchedCount = 0, + i = "0", + unmatched = seed && [], + setMatched = [], + contextBackup = outermostContext, + // We must always have either seed elements or outermost context + elems = seed || byElement && Expr.find["TAG"]( "*", outermost ), + // Use integer dirruns iff this is the outermost matcher + dirrunsUnique = (dirruns += contextBackup == null ? 1 : Math.random() || 0.1), + len = elems.length; + + if ( outermost ) { + outermostContext = context === document || context || outermost; + } + + // Add elements passing elementMatchers directly to results + // Support: IE<9, Safari + // Tolerate NodeList properties (IE: "length"; Safari: ) matching elements by id + for ( ; i !== len && (elem = elems[i]) != null; i++ ) { + if ( byElement && elem ) { + j = 0; + if ( !context && elem.ownerDocument !== document ) { + setDocument( elem ); + xml = !documentIsHTML; + } + while ( (matcher = elementMatchers[j++]) ) { + if ( matcher( elem, context || document, xml) ) { + results.push( elem ); + break; + } + } + if ( outermost ) { + dirruns = dirrunsUnique; + } + } + + // Track unmatched elements for set filters + if ( bySet ) { + // They will have gone through all possible matchers + if ( (elem = !matcher && elem) ) { + matchedCount--; + } + + // Lengthen the array for every element, matched or not + if ( seed ) { + unmatched.push( elem ); + } + } + } + + // `i` is now the count of elements visited above, and adding it to `matchedCount` + // makes the latter nonnegative. + matchedCount += i; + + // Apply set filters to unmatched elements + // NOTE: This can be skipped if there are no unmatched elements (i.e., `matchedCount` + // equals `i`), unless we didn't visit _any_ elements in the above loop because we have + // no element matchers and no seed. + // Incrementing an initially-string "0" `i` allows `i` to remain a string only in that + // case, which will result in a "00" `matchedCount` that differs from `i` but is also + // numerically zero. + if ( bySet && i !== matchedCount ) { + j = 0; + while ( (matcher = setMatchers[j++]) ) { + matcher( unmatched, setMatched, context, xml ); + } + + if ( seed ) { + // Reintegrate element matches to eliminate the need for sorting + if ( matchedCount > 0 ) { + while ( i-- ) { + if ( !(unmatched[i] || setMatched[i]) ) { + setMatched[i] = pop.call( results ); + } + } + } + + // Discard index placeholder values to get only actual matches + setMatched = condense( setMatched ); + } + + // Add matches to results + push.apply( results, setMatched ); + + // Seedless set matches succeeding multiple successful matchers stipulate sorting + if ( outermost && !seed && setMatched.length > 0 && + ( matchedCount + setMatchers.length ) > 1 ) { + + Sizzle.uniqueSort( results ); + } + } + + // Override manipulation of globals by nested matchers + if ( outermost ) { + dirruns = dirrunsUnique; + outermostContext = contextBackup; + } + + return unmatched; + }; + + return bySet ? + markFunction( superMatcher ) : + superMatcher; +} + +compile = Sizzle.compile = function( selector, match /* Internal Use Only */ ) { + var i, + setMatchers = [], + elementMatchers = [], + cached = compilerCache[ selector + " " ]; + + if ( !cached ) { + // Generate a function of recursive functions that can be used to check each element + if ( !match ) { + match = tokenize( selector ); + } + i = match.length; + while ( i-- ) { + cached = matcherFromTokens( match[i] ); + if ( cached[ expando ] ) { + setMatchers.push( cached ); + } else { + elementMatchers.push( cached ); + } + } + + // Cache the compiled function + cached = compilerCache( selector, matcherFromGroupMatchers( elementMatchers, setMatchers ) ); + + // Save selector and tokenization + cached.selector = selector; + } + return cached; +}; + +/** + * A low-level selection function that works with Sizzle's compiled + * selector functions + * @param {String|Function} selector A selector or a pre-compiled + * selector function built with Sizzle.compile + * @param {Element} context + * @param {Array} [results] + * @param {Array} [seed] A set of elements to match against + */ +select = Sizzle.select = function( selector, context, results, seed ) { + var i, tokens, token, type, find, + compiled = typeof selector === "function" && selector, + match = !seed && tokenize( (selector = compiled.selector || selector) ); + + results = results || []; + + // Try to minimize operations if there is only one selector in the list and no seed + // (the latter of which guarantees us context) + if ( match.length === 1 ) { + + // Reduce context if the leading compound selector is an ID + tokens = match[0] = match[0].slice( 0 ); + if ( tokens.length > 2 && (token = tokens[0]).type === "ID" && + context.nodeType === 9 && documentIsHTML && Expr.relative[ tokens[1].type ] ) { + + context = ( Expr.find["ID"]( token.matches[0].replace(runescape, funescape), context ) || [] )[0]; + if ( !context ) { + return results; + + // Precompiled matchers will still verify ancestry, so step up a level + } else if ( compiled ) { + context = context.parentNode; + } + + selector = selector.slice( tokens.shift().value.length ); + } + + // Fetch a seed set for right-to-left matching + i = matchExpr["needsContext"].test( selector ) ? 0 : tokens.length; + while ( i-- ) { + token = tokens[i]; + + // Abort if we hit a combinator + if ( Expr.relative[ (type = token.type) ] ) { + break; + } + if ( (find = Expr.find[ type ]) ) { + // Search, expanding context for leading sibling combinators + if ( (seed = find( + token.matches[0].replace( runescape, funescape ), + rsibling.test( tokens[0].type ) && testContext( context.parentNode ) || context + )) ) { + + // If seed is empty or no tokens remain, we can return early + tokens.splice( i, 1 ); + selector = seed.length && toSelector( tokens ); + if ( !selector ) { + push.apply( results, seed ); + return results; + } + + break; + } + } + } + } + + // Compile and execute a filtering function if one is not provided + // Provide `match` to avoid retokenization if we modified the selector above + ( compiled || compile( selector, match ) )( + seed, + context, + !documentIsHTML, + results, + !context || rsibling.test( selector ) && testContext( context.parentNode ) || context + ); + return results; +}; + +// One-time assignments + +// Sort stability +support.sortStable = expando.split("").sort( sortOrder ).join("") === expando; + +// Support: Chrome 14-35+ +// Always assume duplicates if they aren't passed to the comparison function +support.detectDuplicates = !!hasDuplicate; + +// Initialize against the default document +setDocument(); + +// Support: Webkit<537.32 - Safari 6.0.3/Chrome 25 (fixed in Chrome 27) +// Detached nodes confoundingly follow *each other* +support.sortDetached = assert(function( el ) { + // Should return 1, but returns 4 (following) + return el.compareDocumentPosition( document.createElement("fieldset") ) & 1; +}); + +// Support: IE<8 +// Prevent attribute/property "interpolation" +// https://msdn.microsoft.com/en-us/library/ms536429%28VS.85%29.aspx +if ( !assert(function( el ) { + el.innerHTML = ""; + return el.firstChild.getAttribute("href") === "#" ; +}) ) { + addHandle( "type|href|height|width", function( elem, name, isXML ) { + if ( !isXML ) { + return elem.getAttribute( name, name.toLowerCase() === "type" ? 1 : 2 ); + } + }); +} + +// Support: IE<9 +// Use defaultValue in place of getAttribute("value") +if ( !support.attributes || !assert(function( el ) { + el.innerHTML = ""; + el.firstChild.setAttribute( "value", "" ); + return el.firstChild.getAttribute( "value" ) === ""; +}) ) { + addHandle( "value", function( elem, name, isXML ) { + if ( !isXML && elem.nodeName.toLowerCase() === "input" ) { + return elem.defaultValue; + } + }); +} + +// Support: IE<9 +// Use getAttributeNode to fetch booleans when getAttribute lies +if ( !assert(function( el ) { + return el.getAttribute("disabled") == null; +}) ) { + addHandle( booleans, function( elem, name, isXML ) { + var val; + if ( !isXML ) { + return elem[ name ] === true ? name.toLowerCase() : + (val = elem.getAttributeNode( name )) && val.specified ? + val.value : + null; + } + }); +} + +return Sizzle; + +})( window ); + + + +jQuery.find = Sizzle; +jQuery.expr = Sizzle.selectors; + +// Deprecated +jQuery.expr[ ":" ] = jQuery.expr.pseudos; +jQuery.uniqueSort = jQuery.unique = Sizzle.uniqueSort; +jQuery.text = Sizzle.getText; +jQuery.isXMLDoc = Sizzle.isXML; +jQuery.contains = Sizzle.contains; +jQuery.escapeSelector = Sizzle.escape; + + + + +var dir = function( elem, dir, until ) { + var matched = [], + truncate = until !== undefined; + + while ( ( elem = elem[ dir ] ) && elem.nodeType !== 9 ) { + if ( elem.nodeType === 1 ) { + if ( truncate && jQuery( elem ).is( until ) ) { + break; + } + matched.push( elem ); + } + } + return matched; +}; + + +var siblings = function( n, elem ) { + var matched = []; + + for ( ; n; n = n.nextSibling ) { + if ( n.nodeType === 1 && n !== elem ) { + matched.push( n ); + } + } + + return matched; +}; + + +var rneedsContext = jQuery.expr.match.needsContext; + + + +function nodeName( elem, name ) { + + return elem.nodeName && elem.nodeName.toLowerCase() === name.toLowerCase(); + +}; +var rsingleTag = ( /^<([a-z][^\/\0>:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i ); + + + +// Implement the identical functionality for filter and not +function winnow( elements, qualifier, not ) { + if ( isFunction( qualifier ) ) { + return jQuery.grep( elements, function( elem, i ) { + return !!qualifier.call( elem, i, elem ) !== not; + } ); + } + + // Single element + if ( qualifier.nodeType ) { + return jQuery.grep( elements, function( elem ) { + return ( elem === qualifier ) !== not; + } ); + } + + // Arraylike of elements (jQuery, arguments, Array) + if ( typeof qualifier !== "string" ) { + return jQuery.grep( elements, function( elem ) { + return ( indexOf.call( qualifier, elem ) > -1 ) !== not; + } ); + } + + // Filtered directly for both simple and complex selectors + return jQuery.filter( qualifier, elements, not ); +} + +jQuery.filter = function( expr, elems, not ) { + var elem = elems[ 0 ]; + + if ( not ) { + expr = ":not(" + expr + ")"; + } + + if ( elems.length === 1 && elem.nodeType === 1 ) { + return jQuery.find.matchesSelector( elem, expr ) ? [ elem ] : []; + } + + return jQuery.find.matches( expr, jQuery.grep( elems, function( elem ) { + return elem.nodeType === 1; + } ) ); +}; + +jQuery.fn.extend( { + find: function( selector ) { + var i, ret, + len = this.length, + self = this; + + if ( typeof selector !== "string" ) { + return this.pushStack( jQuery( selector ).filter( function() { + for ( i = 0; i < len; i++ ) { + if ( jQuery.contains( self[ i ], this ) ) { + return true; + } + } + } ) ); + } + + ret = this.pushStack( [] ); + + for ( i = 0; i < len; i++ ) { + jQuery.find( selector, self[ i ], ret ); + } + + return len > 1 ? jQuery.uniqueSort( ret ) : ret; + }, + filter: function( selector ) { + return this.pushStack( winnow( this, selector || [], false ) ); + }, + not: function( selector ) { + return this.pushStack( winnow( this, selector || [], true ) ); + }, + is: function( selector ) { + return !!winnow( + this, + + // If this is a positional/relative selector, check membership in the returned set + // so $("p:first").is("p:last") won't return true for a doc with two "p". + typeof selector === "string" && rneedsContext.test( selector ) ? + jQuery( selector ) : + selector || [], + false + ).length; + } +} ); + + +// Initialize a jQuery object + + +// A central reference to the root jQuery(document) +var rootjQuery, + + // A simple way to check for HTML strings + // Prioritize #id over to avoid XSS via location.hash (#9521) + // Strict HTML recognition (#11290: must start with <) + // Shortcut simple #id case for speed + rquickExpr = /^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]+))$/, + + init = jQuery.fn.init = function( selector, context, root ) { + var match, elem; + + // HANDLE: $(""), $(null), $(undefined), $(false) + if ( !selector ) { + return this; + } + + // Method init() accepts an alternate rootjQuery + // so migrate can support jQuery.sub (gh-2101) + root = root || rootjQuery; + + // Handle HTML strings + if ( typeof selector === "string" ) { + if ( selector[ 0 ] === "<" && + selector[ selector.length - 1 ] === ">" && + selector.length >= 3 ) { + + // Assume that strings that start and end with <> are HTML and skip the regex check + match = [ null, selector, null ]; + + } else { + match = rquickExpr.exec( selector ); + } + + // Match html or make sure no context is specified for #id + if ( match && ( match[ 1 ] || !context ) ) { + + // HANDLE: $(html) -> $(array) + if ( match[ 1 ] ) { + context = context instanceof jQuery ? context[ 0 ] : context; + + // Option to run scripts is true for back-compat + // Intentionally let the error be thrown if parseHTML is not present + jQuery.merge( this, jQuery.parseHTML( + match[ 1 ], + context && context.nodeType ? context.ownerDocument || context : document, + true + ) ); + + // HANDLE: $(html, props) + if ( rsingleTag.test( match[ 1 ] ) && jQuery.isPlainObject( context ) ) { + for ( match in context ) { + + // Properties of context are called as methods if possible + if ( isFunction( this[ match ] ) ) { + this[ match ]( context[ match ] ); + + // ...and otherwise set as attributes + } else { + this.attr( match, context[ match ] ); + } + } + } + + return this; + + // HANDLE: $(#id) + } else { + elem = document.getElementById( match[ 2 ] ); + + if ( elem ) { + + // Inject the element directly into the jQuery object + this[ 0 ] = elem; + this.length = 1; + } + return this; + } + + // HANDLE: $(expr, $(...)) + } else if ( !context || context.jquery ) { + return ( context || root ).find( selector ); + + // HANDLE: $(expr, context) + // (which is just equivalent to: $(context).find(expr) + } else { + return this.constructor( context ).find( selector ); + } + + // HANDLE: $(DOMElement) + } else if ( selector.nodeType ) { + this[ 0 ] = selector; + this.length = 1; + return this; + + // HANDLE: $(function) + // Shortcut for document ready + } else if ( isFunction( selector ) ) { + return root.ready !== undefined ? + root.ready( selector ) : + + // Execute immediately if ready is not present + selector( jQuery ); + } + + return jQuery.makeArray( selector, this ); + }; + +// Give the init function the jQuery prototype for later instantiation +init.prototype = jQuery.fn; + +// Initialize central reference +rootjQuery = jQuery( document ); + + +var rparentsprev = /^(?:parents|prev(?:Until|All))/, + + // Methods guaranteed to produce a unique set when starting from a unique set + guaranteedUnique = { + children: true, + contents: true, + next: true, + prev: true + }; + +jQuery.fn.extend( { + has: function( target ) { + var targets = jQuery( target, this ), + l = targets.length; + + return this.filter( function() { + var i = 0; + for ( ; i < l; i++ ) { + if ( jQuery.contains( this, targets[ i ] ) ) { + return true; + } + } + } ); + }, + + closest: function( selectors, context ) { + var cur, + i = 0, + l = this.length, + matched = [], + targets = typeof selectors !== "string" && jQuery( selectors ); + + // Positional selectors never match, since there's no _selection_ context + if ( !rneedsContext.test( selectors ) ) { + for ( ; i < l; i++ ) { + for ( cur = this[ i ]; cur && cur !== context; cur = cur.parentNode ) { + + // Always skip document fragments + if ( cur.nodeType < 11 && ( targets ? + targets.index( cur ) > -1 : + + // Don't pass non-elements to Sizzle + cur.nodeType === 1 && + jQuery.find.matchesSelector( cur, selectors ) ) ) { + + matched.push( cur ); + break; + } + } + } + } + + return this.pushStack( matched.length > 1 ? jQuery.uniqueSort( matched ) : matched ); + }, + + // Determine the position of an element within the set + index: function( elem ) { + + // No argument, return index in parent + if ( !elem ) { + return ( this[ 0 ] && this[ 0 ].parentNode ) ? this.first().prevAll().length : -1; + } + + // Index in selector + if ( typeof elem === "string" ) { + return indexOf.call( jQuery( elem ), this[ 0 ] ); + } + + // Locate the position of the desired element + return indexOf.call( this, + + // If it receives a jQuery object, the first element is used + elem.jquery ? elem[ 0 ] : elem + ); + }, + + add: function( selector, context ) { + return this.pushStack( + jQuery.uniqueSort( + jQuery.merge( this.get(), jQuery( selector, context ) ) + ) + ); + }, + + addBack: function( selector ) { + return this.add( selector == null ? + this.prevObject : this.prevObject.filter( selector ) + ); + } +} ); + +function sibling( cur, dir ) { + while ( ( cur = cur[ dir ] ) && cur.nodeType !== 1 ) {} + return cur; +} + +jQuery.each( { + parent: function( elem ) { + var parent = elem.parentNode; + return parent && parent.nodeType !== 11 ? parent : null; + }, + parents: function( elem ) { + return dir( elem, "parentNode" ); + }, + parentsUntil: function( elem, i, until ) { + return dir( elem, "parentNode", until ); + }, + next: function( elem ) { + return sibling( elem, "nextSibling" ); + }, + prev: function( elem ) { + return sibling( elem, "previousSibling" ); + }, + nextAll: function( elem ) { + return dir( elem, "nextSibling" ); + }, + prevAll: function( elem ) { + return dir( elem, "previousSibling" ); + }, + nextUntil: function( elem, i, until ) { + return dir( elem, "nextSibling", until ); + }, + prevUntil: function( elem, i, until ) { + return dir( elem, "previousSibling", until ); + }, + siblings: function( elem ) { + return siblings( ( elem.parentNode || {} ).firstChild, elem ); + }, + children: function( elem ) { + return siblings( elem.firstChild ); + }, + contents: function( elem ) { + if ( nodeName( elem, "iframe" ) ) { + return elem.contentDocument; + } + + // Support: IE 9 - 11 only, iOS 7 only, Android Browser <=4.3 only + // Treat the template element as a regular one in browsers that + // don't support it. + if ( nodeName( elem, "template" ) ) { + elem = elem.content || elem; + } + + return jQuery.merge( [], elem.childNodes ); + } +}, function( name, fn ) { + jQuery.fn[ name ] = function( until, selector ) { + var matched = jQuery.map( this, fn, until ); + + if ( name.slice( -5 ) !== "Until" ) { + selector = until; + } + + if ( selector && typeof selector === "string" ) { + matched = jQuery.filter( selector, matched ); + } + + if ( this.length > 1 ) { + + // Remove duplicates + if ( !guaranteedUnique[ name ] ) { + jQuery.uniqueSort( matched ); + } + + // Reverse order for parents* and prev-derivatives + if ( rparentsprev.test( name ) ) { + matched.reverse(); + } + } + + return this.pushStack( matched ); + }; +} ); +var rnothtmlwhite = ( /[^\x20\t\r\n\f]+/g ); + + + +// Convert String-formatted options into Object-formatted ones +function createOptions( options ) { + var object = {}; + jQuery.each( options.match( rnothtmlwhite ) || [], function( _, flag ) { + object[ flag ] = true; + } ); + return object; +} + +/* + * Create a callback list using the following parameters: + * + * options: an optional list of space-separated options that will change how + * the callback list behaves or a more traditional option object + * + * By default a callback list will act like an event callback list and can be + * "fired" multiple times. + * + * Possible options: + * + * once: will ensure the callback list can only be fired once (like a Deferred) + * + * memory: will keep track of previous values and will call any callback added + * after the list has been fired right away with the latest "memorized" + * values (like a Deferred) + * + * unique: will ensure a callback can only be added once (no duplicate in the list) + * + * stopOnFalse: interrupt callings when a callback returns false + * + */ +jQuery.Callbacks = function( options ) { + + // Convert options from String-formatted to Object-formatted if needed + // (we check in cache first) + options = typeof options === "string" ? + createOptions( options ) : + jQuery.extend( {}, options ); + + var // Flag to know if list is currently firing + firing, + + // Last fire value for non-forgettable lists + memory, + + // Flag to know if list was already fired + fired, + + // Flag to prevent firing + locked, + + // Actual callback list + list = [], + + // Queue of execution data for repeatable lists + queue = [], + + // Index of currently firing callback (modified by add/remove as needed) + firingIndex = -1, + + // Fire callbacks + fire = function() { + + // Enforce single-firing + locked = locked || options.once; + + // Execute callbacks for all pending executions, + // respecting firingIndex overrides and runtime changes + fired = firing = true; + for ( ; queue.length; firingIndex = -1 ) { + memory = queue.shift(); + while ( ++firingIndex < list.length ) { + + // Run callback and check for early termination + if ( list[ firingIndex ].apply( memory[ 0 ], memory[ 1 ] ) === false && + options.stopOnFalse ) { + + // Jump to end and forget the data so .add doesn't re-fire + firingIndex = list.length; + memory = false; + } + } + } + + // Forget the data if we're done with it + if ( !options.memory ) { + memory = false; + } + + firing = false; + + // Clean up if we're done firing for good + if ( locked ) { + + // Keep an empty list if we have data for future add calls + if ( memory ) { + list = []; + + // Otherwise, this object is spent + } else { + list = ""; + } + } + }, + + // Actual Callbacks object + self = { + + // Add a callback or a collection of callbacks to the list + add: function() { + if ( list ) { + + // If we have memory from a past run, we should fire after adding + if ( memory && !firing ) { + firingIndex = list.length - 1; + queue.push( memory ); + } + + ( function add( args ) { + jQuery.each( args, function( _, arg ) { + if ( isFunction( arg ) ) { + if ( !options.unique || !self.has( arg ) ) { + list.push( arg ); + } + } else if ( arg && arg.length && toType( arg ) !== "string" ) { + + // Inspect recursively + add( arg ); + } + } ); + } )( arguments ); + + if ( memory && !firing ) { + fire(); + } + } + return this; + }, + + // Remove a callback from the list + remove: function() { + jQuery.each( arguments, function( _, arg ) { + var index; + while ( ( index = jQuery.inArray( arg, list, index ) ) > -1 ) { + list.splice( index, 1 ); + + // Handle firing indexes + if ( index <= firingIndex ) { + firingIndex--; + } + } + } ); + return this; + }, + + // Check if a given callback is in the list. + // If no argument is given, return whether or not list has callbacks attached. + has: function( fn ) { + return fn ? + jQuery.inArray( fn, list ) > -1 : + list.length > 0; + }, + + // Remove all callbacks from the list + empty: function() { + if ( list ) { + list = []; + } + return this; + }, + + // Disable .fire and .add + // Abort any current/pending executions + // Clear all callbacks and values + disable: function() { + locked = queue = []; + list = memory = ""; + return this; + }, + disabled: function() { + return !list; + }, + + // Disable .fire + // Also disable .add unless we have memory (since it would have no effect) + // Abort any pending executions + lock: function() { + locked = queue = []; + if ( !memory && !firing ) { + list = memory = ""; + } + return this; + }, + locked: function() { + return !!locked; + }, + + // Call all callbacks with the given context and arguments + fireWith: function( context, args ) { + if ( !locked ) { + args = args || []; + args = [ context, args.slice ? args.slice() : args ]; + queue.push( args ); + if ( !firing ) { + fire(); + } + } + return this; + }, + + // Call all the callbacks with the given arguments + fire: function() { + self.fireWith( this, arguments ); + return this; + }, + + // To know if the callbacks have already been called at least once + fired: function() { + return !!fired; + } + }; + + return self; +}; + + +function Identity( v ) { + return v; +} +function Thrower( ex ) { + throw ex; +} + +function adoptValue( value, resolve, reject, noValue ) { + var method; + + try { + + // Check for promise aspect first to privilege synchronous behavior + if ( value && isFunction( ( method = value.promise ) ) ) { + method.call( value ).done( resolve ).fail( reject ); + + // Other thenables + } else if ( value && isFunction( ( method = value.then ) ) ) { + method.call( value, resolve, reject ); + + // Other non-thenables + } else { + + // Control `resolve` arguments by letting Array#slice cast boolean `noValue` to integer: + // * false: [ value ].slice( 0 ) => resolve( value ) + // * true: [ value ].slice( 1 ) => resolve() + resolve.apply( undefined, [ value ].slice( noValue ) ); + } + + // For Promises/A+, convert exceptions into rejections + // Since jQuery.when doesn't unwrap thenables, we can skip the extra checks appearing in + // Deferred#then to conditionally suppress rejection. + } catch ( value ) { + + // Support: Android 4.0 only + // Strict mode functions invoked without .call/.apply get global-object context + reject.apply( undefined, [ value ] ); + } +} + +jQuery.extend( { + + Deferred: function( func ) { + var tuples = [ + + // action, add listener, callbacks, + // ... .then handlers, argument index, [final state] + [ "notify", "progress", jQuery.Callbacks( "memory" ), + jQuery.Callbacks( "memory" ), 2 ], + [ "resolve", "done", jQuery.Callbacks( "once memory" ), + jQuery.Callbacks( "once memory" ), 0, "resolved" ], + [ "reject", "fail", jQuery.Callbacks( "once memory" ), + jQuery.Callbacks( "once memory" ), 1, "rejected" ] + ], + state = "pending", + promise = { + state: function() { + return state; + }, + always: function() { + deferred.done( arguments ).fail( arguments ); + return this; + }, + "catch": function( fn ) { + return promise.then( null, fn ); + }, + + // Keep pipe for back-compat + pipe: function( /* fnDone, fnFail, fnProgress */ ) { + var fns = arguments; + + return jQuery.Deferred( function( newDefer ) { + jQuery.each( tuples, function( i, tuple ) { + + // Map tuples (progress, done, fail) to arguments (done, fail, progress) + var fn = isFunction( fns[ tuple[ 4 ] ] ) && fns[ tuple[ 4 ] ]; + + // deferred.progress(function() { bind to newDefer or newDefer.notify }) + // deferred.done(function() { bind to newDefer or newDefer.resolve }) + // deferred.fail(function() { bind to newDefer or newDefer.reject }) + deferred[ tuple[ 1 ] ]( function() { + var returned = fn && fn.apply( this, arguments ); + if ( returned && isFunction( returned.promise ) ) { + returned.promise() + .progress( newDefer.notify ) + .done( newDefer.resolve ) + .fail( newDefer.reject ); + } else { + newDefer[ tuple[ 0 ] + "With" ]( + this, + fn ? [ returned ] : arguments + ); + } + } ); + } ); + fns = null; + } ).promise(); + }, + then: function( onFulfilled, onRejected, onProgress ) { + var maxDepth = 0; + function resolve( depth, deferred, handler, special ) { + return function() { + var that = this, + args = arguments, + mightThrow = function() { + var returned, then; + + // Support: Promises/A+ section 2.3.3.3.3 + // https://promisesaplus.com/#point-59 + // Ignore double-resolution attempts + if ( depth < maxDepth ) { + return; + } + + returned = handler.apply( that, args ); + + // Support: Promises/A+ section 2.3.1 + // https://promisesaplus.com/#point-48 + if ( returned === deferred.promise() ) { + throw new TypeError( "Thenable self-resolution" ); + } + + // Support: Promises/A+ sections 2.3.3.1, 3.5 + // https://promisesaplus.com/#point-54 + // https://promisesaplus.com/#point-75 + // Retrieve `then` only once + then = returned && + + // Support: Promises/A+ section 2.3.4 + // https://promisesaplus.com/#point-64 + // Only check objects and functions for thenability + ( typeof returned === "object" || + typeof returned === "function" ) && + returned.then; + + // Handle a returned thenable + if ( isFunction( then ) ) { + + // Special processors (notify) just wait for resolution + if ( special ) { + then.call( + returned, + resolve( maxDepth, deferred, Identity, special ), + resolve( maxDepth, deferred, Thrower, special ) + ); + + // Normal processors (resolve) also hook into progress + } else { + + // ...and disregard older resolution values + maxDepth++; + + then.call( + returned, + resolve( maxDepth, deferred, Identity, special ), + resolve( maxDepth, deferred, Thrower, special ), + resolve( maxDepth, deferred, Identity, + deferred.notifyWith ) + ); + } + + // Handle all other returned values + } else { + + // Only substitute handlers pass on context + // and multiple values (non-spec behavior) + if ( handler !== Identity ) { + that = undefined; + args = [ returned ]; + } + + // Process the value(s) + // Default process is resolve + ( special || deferred.resolveWith )( that, args ); + } + }, + + // Only normal processors (resolve) catch and reject exceptions + process = special ? + mightThrow : + function() { + try { + mightThrow(); + } catch ( e ) { + + if ( jQuery.Deferred.exceptionHook ) { + jQuery.Deferred.exceptionHook( e, + process.stackTrace ); + } + + // Support: Promises/A+ section 2.3.3.3.4.1 + // https://promisesaplus.com/#point-61 + // Ignore post-resolution exceptions + if ( depth + 1 >= maxDepth ) { + + // Only substitute handlers pass on context + // and multiple values (non-spec behavior) + if ( handler !== Thrower ) { + that = undefined; + args = [ e ]; + } + + deferred.rejectWith( that, args ); + } + } + }; + + // Support: Promises/A+ section 2.3.3.3.1 + // https://promisesaplus.com/#point-57 + // Re-resolve promises immediately to dodge false rejection from + // subsequent errors + if ( depth ) { + process(); + } else { + + // Call an optional hook to record the stack, in case of exception + // since it's otherwise lost when execution goes async + if ( jQuery.Deferred.getStackHook ) { + process.stackTrace = jQuery.Deferred.getStackHook(); + } + window.setTimeout( process ); + } + }; + } + + return jQuery.Deferred( function( newDefer ) { + + // progress_handlers.add( ... ) + tuples[ 0 ][ 3 ].add( + resolve( + 0, + newDefer, + isFunction( onProgress ) ? + onProgress : + Identity, + newDefer.notifyWith + ) + ); + + // fulfilled_handlers.add( ... ) + tuples[ 1 ][ 3 ].add( + resolve( + 0, + newDefer, + isFunction( onFulfilled ) ? + onFulfilled : + Identity + ) + ); + + // rejected_handlers.add( ... ) + tuples[ 2 ][ 3 ].add( + resolve( + 0, + newDefer, + isFunction( onRejected ) ? + onRejected : + Thrower + ) + ); + } ).promise(); + }, + + // Get a promise for this deferred + // If obj is provided, the promise aspect is added to the object + promise: function( obj ) { + return obj != null ? jQuery.extend( obj, promise ) : promise; + } + }, + deferred = {}; + + // Add list-specific methods + jQuery.each( tuples, function( i, tuple ) { + var list = tuple[ 2 ], + stateString = tuple[ 5 ]; + + // promise.progress = list.add + // promise.done = list.add + // promise.fail = list.add + promise[ tuple[ 1 ] ] = list.add; + + // Handle state + if ( stateString ) { + list.add( + function() { + + // state = "resolved" (i.e., fulfilled) + // state = "rejected" + state = stateString; + }, + + // rejected_callbacks.disable + // fulfilled_callbacks.disable + tuples[ 3 - i ][ 2 ].disable, + + // rejected_handlers.disable + // fulfilled_handlers.disable + tuples[ 3 - i ][ 3 ].disable, + + // progress_callbacks.lock + tuples[ 0 ][ 2 ].lock, + + // progress_handlers.lock + tuples[ 0 ][ 3 ].lock + ); + } + + // progress_handlers.fire + // fulfilled_handlers.fire + // rejected_handlers.fire + list.add( tuple[ 3 ].fire ); + + // deferred.notify = function() { deferred.notifyWith(...) } + // deferred.resolve = function() { deferred.resolveWith(...) } + // deferred.reject = function() { deferred.rejectWith(...) } + deferred[ tuple[ 0 ] ] = function() { + deferred[ tuple[ 0 ] + "With" ]( this === deferred ? undefined : this, arguments ); + return this; + }; + + // deferred.notifyWith = list.fireWith + // deferred.resolveWith = list.fireWith + // deferred.rejectWith = list.fireWith + deferred[ tuple[ 0 ] + "With" ] = list.fireWith; + } ); + + // Make the deferred a promise + promise.promise( deferred ); + + // Call given func if any + if ( func ) { + func.call( deferred, deferred ); + } + + // All done! + return deferred; + }, + + // Deferred helper + when: function( singleValue ) { + var + + // count of uncompleted subordinates + remaining = arguments.length, + + // count of unprocessed arguments + i = remaining, + + // subordinate fulfillment data + resolveContexts = Array( i ), + resolveValues = slice.call( arguments ), + + // the master Deferred + master = jQuery.Deferred(), + + // subordinate callback factory + updateFunc = function( i ) { + return function( value ) { + resolveContexts[ i ] = this; + resolveValues[ i ] = arguments.length > 1 ? slice.call( arguments ) : value; + if ( !( --remaining ) ) { + master.resolveWith( resolveContexts, resolveValues ); + } + }; + }; + + // Single- and empty arguments are adopted like Promise.resolve + if ( remaining <= 1 ) { + adoptValue( singleValue, master.done( updateFunc( i ) ).resolve, master.reject, + !remaining ); + + // Use .then() to unwrap secondary thenables (cf. gh-3000) + if ( master.state() === "pending" || + isFunction( resolveValues[ i ] && resolveValues[ i ].then ) ) { + + return master.then(); + } + } + + // Multiple arguments are aggregated like Promise.all array elements + while ( i-- ) { + adoptValue( resolveValues[ i ], updateFunc( i ), master.reject ); + } + + return master.promise(); + } +} ); + + +// These usually indicate a programmer mistake during development, +// warn about them ASAP rather than swallowing them by default. +var rerrorNames = /^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/; + +jQuery.Deferred.exceptionHook = function( error, stack ) { + + // Support: IE 8 - 9 only + // Console exists when dev tools are open, which can happen at any time + if ( window.console && window.console.warn && error && rerrorNames.test( error.name ) ) { + window.console.warn( "jQuery.Deferred exception: " + error.message, error.stack, stack ); + } +}; + + + + +jQuery.readyException = function( error ) { + window.setTimeout( function() { + throw error; + } ); +}; + + + + +// The deferred used on DOM ready +var readyList = jQuery.Deferred(); + +jQuery.fn.ready = function( fn ) { + + readyList + .then( fn ) + + // Wrap jQuery.readyException in a function so that the lookup + // happens at the time of error handling instead of callback + // registration. + .catch( function( error ) { + jQuery.readyException( error ); + } ); + + return this; +}; + +jQuery.extend( { + + // Is the DOM ready to be used? Set to true once it occurs. + isReady: false, + + // A counter to track how many items to wait for before + // the ready event fires. See #6781 + readyWait: 1, + + // Handle when the DOM is ready + ready: function( wait ) { + + // Abort if there are pending holds or we're already ready + if ( wait === true ? --jQuery.readyWait : jQuery.isReady ) { + return; + } + + // Remember that the DOM is ready + jQuery.isReady = true; + + // If a normal DOM Ready event fired, decrement, and wait if need be + if ( wait !== true && --jQuery.readyWait > 0 ) { + return; + } + + // If there are functions bound, to execute + readyList.resolveWith( document, [ jQuery ] ); + } +} ); + +jQuery.ready.then = readyList.then; + +// The ready event handler and self cleanup method +function completed() { + document.removeEventListener( "DOMContentLoaded", completed ); + window.removeEventListener( "load", completed ); + jQuery.ready(); +} + +// Catch cases where $(document).ready() is called +// after the browser event has already occurred. +// Support: IE <=9 - 10 only +// Older IE sometimes signals "interactive" too soon +if ( document.readyState === "complete" || + ( document.readyState !== "loading" && !document.documentElement.doScroll ) ) { + + // Handle it asynchronously to allow scripts the opportunity to delay ready + window.setTimeout( jQuery.ready ); + +} else { + + // Use the handy event callback + document.addEventListener( "DOMContentLoaded", completed ); + + // A fallback to window.onload, that will always work + window.addEventListener( "load", completed ); +} + + + + +// Multifunctional method to get and set values of a collection +// The value/s can optionally be executed if it's a function +var access = function( elems, fn, key, value, chainable, emptyGet, raw ) { + var i = 0, + len = elems.length, + bulk = key == null; + + // Sets many values + if ( toType( key ) === "object" ) { + chainable = true; + for ( i in key ) { + access( elems, fn, i, key[ i ], true, emptyGet, raw ); + } + + // Sets one value + } else if ( value !== undefined ) { + chainable = true; + + if ( !isFunction( value ) ) { + raw = true; + } + + if ( bulk ) { + + // Bulk operations run against the entire set + if ( raw ) { + fn.call( elems, value ); + fn = null; + + // ...except when executing function values + } else { + bulk = fn; + fn = function( elem, key, value ) { + return bulk.call( jQuery( elem ), value ); + }; + } + } + + if ( fn ) { + for ( ; i < len; i++ ) { + fn( + elems[ i ], key, raw ? + value : + value.call( elems[ i ], i, fn( elems[ i ], key ) ) + ); + } + } + } + + if ( chainable ) { + return elems; + } + + // Gets + if ( bulk ) { + return fn.call( elems ); + } + + return len ? fn( elems[ 0 ], key ) : emptyGet; +}; + + +// Matches dashed string for camelizing +var rmsPrefix = /^-ms-/, + rdashAlpha = /-([a-z])/g; + +// Used by camelCase as callback to replace() +function fcamelCase( all, letter ) { + return letter.toUpperCase(); +} + +// Convert dashed to camelCase; used by the css and data modules +// Support: IE <=9 - 11, Edge 12 - 15 +// Microsoft forgot to hump their vendor prefix (#9572) +function camelCase( string ) { + return string.replace( rmsPrefix, "ms-" ).replace( rdashAlpha, fcamelCase ); +} +var acceptData = function( owner ) { + + // Accepts only: + // - Node + // - Node.ELEMENT_NODE + // - Node.DOCUMENT_NODE + // - Object + // - Any + return owner.nodeType === 1 || owner.nodeType === 9 || !( +owner.nodeType ); +}; + + + + +function Data() { + this.expando = jQuery.expando + Data.uid++; +} + +Data.uid = 1; + +Data.prototype = { + + cache: function( owner ) { + + // Check if the owner object already has a cache + var value = owner[ this.expando ]; + + // If not, create one + if ( !value ) { + value = {}; + + // We can accept data for non-element nodes in modern browsers, + // but we should not, see #8335. + // Always return an empty object. + if ( acceptData( owner ) ) { + + // If it is a node unlikely to be stringify-ed or looped over + // use plain assignment + if ( owner.nodeType ) { + owner[ this.expando ] = value; + + // Otherwise secure it in a non-enumerable property + // configurable must be true to allow the property to be + // deleted when data is removed + } else { + Object.defineProperty( owner, this.expando, { + value: value, + configurable: true + } ); + } + } + } + + return value; + }, + set: function( owner, data, value ) { + var prop, + cache = this.cache( owner ); + + // Handle: [ owner, key, value ] args + // Always use camelCase key (gh-2257) + if ( typeof data === "string" ) { + cache[ camelCase( data ) ] = value; + + // Handle: [ owner, { properties } ] args + } else { + + // Copy the properties one-by-one to the cache object + for ( prop in data ) { + cache[ camelCase( prop ) ] = data[ prop ]; + } + } + return cache; + }, + get: function( owner, key ) { + return key === undefined ? + this.cache( owner ) : + + // Always use camelCase key (gh-2257) + owner[ this.expando ] && owner[ this.expando ][ camelCase( key ) ]; + }, + access: function( owner, key, value ) { + + // In cases where either: + // + // 1. No key was specified + // 2. A string key was specified, but no value provided + // + // Take the "read" path and allow the get method to determine + // which value to return, respectively either: + // + // 1. The entire cache object + // 2. The data stored at the key + // + if ( key === undefined || + ( ( key && typeof key === "string" ) && value === undefined ) ) { + + return this.get( owner, key ); + } + + // When the key is not a string, or both a key and value + // are specified, set or extend (existing objects) with either: + // + // 1. An object of properties + // 2. A key and value + // + this.set( owner, key, value ); + + // Since the "set" path can have two possible entry points + // return the expected data based on which path was taken[*] + return value !== undefined ? value : key; + }, + remove: function( owner, key ) { + var i, + cache = owner[ this.expando ]; + + if ( cache === undefined ) { + return; + } + + if ( key !== undefined ) { + + // Support array or space separated string of keys + if ( Array.isArray( key ) ) { + + // If key is an array of keys... + // We always set camelCase keys, so remove that. + key = key.map( camelCase ); + } else { + key = camelCase( key ); + + // If a key with the spaces exists, use it. + // Otherwise, create an array by matching non-whitespace + key = key in cache ? + [ key ] : + ( key.match( rnothtmlwhite ) || [] ); + } + + i = key.length; + + while ( i-- ) { + delete cache[ key[ i ] ]; + } + } + + // Remove the expando if there's no more data + if ( key === undefined || jQuery.isEmptyObject( cache ) ) { + + // Support: Chrome <=35 - 45 + // Webkit & Blink performance suffers when deleting properties + // from DOM nodes, so set to undefined instead + // https://bugs.chromium.org/p/chromium/issues/detail?id=378607 (bug restricted) + if ( owner.nodeType ) { + owner[ this.expando ] = undefined; + } else { + delete owner[ this.expando ]; + } + } + }, + hasData: function( owner ) { + var cache = owner[ this.expando ]; + return cache !== undefined && !jQuery.isEmptyObject( cache ); + } +}; +var dataPriv = new Data(); + +var dataUser = new Data(); + + + +// Implementation Summary +// +// 1. Enforce API surface and semantic compatibility with 1.9.x branch +// 2. Improve the module's maintainability by reducing the storage +// paths to a single mechanism. +// 3. Use the same single mechanism to support "private" and "user" data. +// 4. _Never_ expose "private" data to user code (TODO: Drop _data, _removeData) +// 5. Avoid exposing implementation details on user objects (eg. expando properties) +// 6. Provide a clear path for implementation upgrade to WeakMap in 2014 + +var rbrace = /^(?:\{[\w\W]*\}|\[[\w\W]*\])$/, + rmultiDash = /[A-Z]/g; + +function getData( data ) { + if ( data === "true" ) { + return true; + } + + if ( data === "false" ) { + return false; + } + + if ( data === "null" ) { + return null; + } + + // Only convert to a number if it doesn't change the string + if ( data === +data + "" ) { + return +data; + } + + if ( rbrace.test( data ) ) { + return JSON.parse( data ); + } + + return data; +} + +function dataAttr( elem, key, data ) { + var name; + + // If nothing was found internally, try to fetch any + // data from the HTML5 data-* attribute + if ( data === undefined && elem.nodeType === 1 ) { + name = "data-" + key.replace( rmultiDash, "-$&" ).toLowerCase(); + data = elem.getAttribute( name ); + + if ( typeof data === "string" ) { + try { + data = getData( data ); + } catch ( e ) {} + + // Make sure we set the data so it isn't changed later + dataUser.set( elem, key, data ); + } else { + data = undefined; + } + } + return data; +} + +jQuery.extend( { + hasData: function( elem ) { + return dataUser.hasData( elem ) || dataPriv.hasData( elem ); + }, + + data: function( elem, name, data ) { + return dataUser.access( elem, name, data ); + }, + + removeData: function( elem, name ) { + dataUser.remove( elem, name ); + }, + + // TODO: Now that all calls to _data and _removeData have been replaced + // with direct calls to dataPriv methods, these can be deprecated. + _data: function( elem, name, data ) { + return dataPriv.access( elem, name, data ); + }, + + _removeData: function( elem, name ) { + dataPriv.remove( elem, name ); + } +} ); + +jQuery.fn.extend( { + data: function( key, value ) { + var i, name, data, + elem = this[ 0 ], + attrs = elem && elem.attributes; + + // Gets all values + if ( key === undefined ) { + if ( this.length ) { + data = dataUser.get( elem ); + + if ( elem.nodeType === 1 && !dataPriv.get( elem, "hasDataAttrs" ) ) { + i = attrs.length; + while ( i-- ) { + + // Support: IE 11 only + // The attrs elements can be null (#14894) + if ( attrs[ i ] ) { + name = attrs[ i ].name; + if ( name.indexOf( "data-" ) === 0 ) { + name = camelCase( name.slice( 5 ) ); + dataAttr( elem, name, data[ name ] ); + } + } + } + dataPriv.set( elem, "hasDataAttrs", true ); + } + } + + return data; + } + + // Sets multiple values + if ( typeof key === "object" ) { + return this.each( function() { + dataUser.set( this, key ); + } ); + } + + return access( this, function( value ) { + var data; + + // The calling jQuery object (element matches) is not empty + // (and therefore has an element appears at this[ 0 ]) and the + // `value` parameter was not undefined. An empty jQuery object + // will result in `undefined` for elem = this[ 0 ] which will + // throw an exception if an attempt to read a data cache is made. + if ( elem && value === undefined ) { + + // Attempt to get data from the cache + // The key will always be camelCased in Data + data = dataUser.get( elem, key ); + if ( data !== undefined ) { + return data; + } + + // Attempt to "discover" the data in + // HTML5 custom data-* attrs + data = dataAttr( elem, key ); + if ( data !== undefined ) { + return data; + } + + // We tried really hard, but the data doesn't exist. + return; + } + + // Set the data... + this.each( function() { + + // We always store the camelCased key + dataUser.set( this, key, value ); + } ); + }, null, value, arguments.length > 1, null, true ); + }, + + removeData: function( key ) { + return this.each( function() { + dataUser.remove( this, key ); + } ); + } +} ); + + +jQuery.extend( { + queue: function( elem, type, data ) { + var queue; + + if ( elem ) { + type = ( type || "fx" ) + "queue"; + queue = dataPriv.get( elem, type ); + + // Speed up dequeue by getting out quickly if this is just a lookup + if ( data ) { + if ( !queue || Array.isArray( data ) ) { + queue = dataPriv.access( elem, type, jQuery.makeArray( data ) ); + } else { + queue.push( data ); + } + } + return queue || []; + } + }, + + dequeue: function( elem, type ) { + type = type || "fx"; + + var queue = jQuery.queue( elem, type ), + startLength = queue.length, + fn = queue.shift(), + hooks = jQuery._queueHooks( elem, type ), + next = function() { + jQuery.dequeue( elem, type ); + }; + + // If the fx queue is dequeued, always remove the progress sentinel + if ( fn === "inprogress" ) { + fn = queue.shift(); + startLength--; + } + + if ( fn ) { + + // Add a progress sentinel to prevent the fx queue from being + // automatically dequeued + if ( type === "fx" ) { + queue.unshift( "inprogress" ); + } + + // Clear up the last queue stop function + delete hooks.stop; + fn.call( elem, next, hooks ); + } + + if ( !startLength && hooks ) { + hooks.empty.fire(); + } + }, + + // Not public - generate a queueHooks object, or return the current one + _queueHooks: function( elem, type ) { + var key = type + "queueHooks"; + return dataPriv.get( elem, key ) || dataPriv.access( elem, key, { + empty: jQuery.Callbacks( "once memory" ).add( function() { + dataPriv.remove( elem, [ type + "queue", key ] ); + } ) + } ); + } +} ); + +jQuery.fn.extend( { + queue: function( type, data ) { + var setter = 2; + + if ( typeof type !== "string" ) { + data = type; + type = "fx"; + setter--; + } + + if ( arguments.length < setter ) { + return jQuery.queue( this[ 0 ], type ); + } + + return data === undefined ? + this : + this.each( function() { + var queue = jQuery.queue( this, type, data ); + + // Ensure a hooks for this queue + jQuery._queueHooks( this, type ); + + if ( type === "fx" && queue[ 0 ] !== "inprogress" ) { + jQuery.dequeue( this, type ); + } + } ); + }, + dequeue: function( type ) { + return this.each( function() { + jQuery.dequeue( this, type ); + } ); + }, + clearQueue: function( type ) { + return this.queue( type || "fx", [] ); + }, + + // Get a promise resolved when queues of a certain type + // are emptied (fx is the type by default) + promise: function( type, obj ) { + var tmp, + count = 1, + defer = jQuery.Deferred(), + elements = this, + i = this.length, + resolve = function() { + if ( !( --count ) ) { + defer.resolveWith( elements, [ elements ] ); + } + }; + + if ( typeof type !== "string" ) { + obj = type; + type = undefined; + } + type = type || "fx"; + + while ( i-- ) { + tmp = dataPriv.get( elements[ i ], type + "queueHooks" ); + if ( tmp && tmp.empty ) { + count++; + tmp.empty.add( resolve ); + } + } + resolve(); + return defer.promise( obj ); + } +} ); +var pnum = ( /[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/ ).source; + +var rcssNum = new RegExp( "^(?:([+-])=|)(" + pnum + ")([a-z%]*)$", "i" ); + + +var cssExpand = [ "Top", "Right", "Bottom", "Left" ]; + +var isHiddenWithinTree = function( elem, el ) { + + // isHiddenWithinTree might be called from jQuery#filter function; + // in that case, element will be second argument + elem = el || elem; + + // Inline style trumps all + return elem.style.display === "none" || + elem.style.display === "" && + + // Otherwise, check computed style + // Support: Firefox <=43 - 45 + // Disconnected elements can have computed display: none, so first confirm that elem is + // in the document. + jQuery.contains( elem.ownerDocument, elem ) && + + jQuery.css( elem, "display" ) === "none"; + }; + +var swap = function( elem, options, callback, args ) { + var ret, name, + old = {}; + + // Remember the old values, and insert the new ones + for ( name in options ) { + old[ name ] = elem.style[ name ]; + elem.style[ name ] = options[ name ]; + } + + ret = callback.apply( elem, args || [] ); + + // Revert the old values + for ( name in options ) { + elem.style[ name ] = old[ name ]; + } + + return ret; +}; + + + + +function adjustCSS( elem, prop, valueParts, tween ) { + var adjusted, scale, + maxIterations = 20, + currentValue = tween ? + function() { + return tween.cur(); + } : + function() { + return jQuery.css( elem, prop, "" ); + }, + initial = currentValue(), + unit = valueParts && valueParts[ 3 ] || ( jQuery.cssNumber[ prop ] ? "" : "px" ), + + // Starting value computation is required for potential unit mismatches + initialInUnit = ( jQuery.cssNumber[ prop ] || unit !== "px" && +initial ) && + rcssNum.exec( jQuery.css( elem, prop ) ); + + if ( initialInUnit && initialInUnit[ 3 ] !== unit ) { + + // Support: Firefox <=54 + // Halve the iteration target value to prevent interference from CSS upper bounds (gh-2144) + initial = initial / 2; + + // Trust units reported by jQuery.css + unit = unit || initialInUnit[ 3 ]; + + // Iteratively approximate from a nonzero starting point + initialInUnit = +initial || 1; + + while ( maxIterations-- ) { + + // Evaluate and update our best guess (doubling guesses that zero out). + // Finish if the scale equals or crosses 1 (making the old*new product non-positive). + jQuery.style( elem, prop, initialInUnit + unit ); + if ( ( 1 - scale ) * ( 1 - ( scale = currentValue() / initial || 0.5 ) ) <= 0 ) { + maxIterations = 0; + } + initialInUnit = initialInUnit / scale; + + } + + initialInUnit = initialInUnit * 2; + jQuery.style( elem, prop, initialInUnit + unit ); + + // Make sure we update the tween properties later on + valueParts = valueParts || []; + } + + if ( valueParts ) { + initialInUnit = +initialInUnit || +initial || 0; + + // Apply relative offset (+=/-=) if specified + adjusted = valueParts[ 1 ] ? + initialInUnit + ( valueParts[ 1 ] + 1 ) * valueParts[ 2 ] : + +valueParts[ 2 ]; + if ( tween ) { + tween.unit = unit; + tween.start = initialInUnit; + tween.end = adjusted; + } + } + return adjusted; +} + + +var defaultDisplayMap = {}; + +function getDefaultDisplay( elem ) { + var temp, + doc = elem.ownerDocument, + nodeName = elem.nodeName, + display = defaultDisplayMap[ nodeName ]; + + if ( display ) { + return display; + } + + temp = doc.body.appendChild( doc.createElement( nodeName ) ); + display = jQuery.css( temp, "display" ); + + temp.parentNode.removeChild( temp ); + + if ( display === "none" ) { + display = "block"; + } + defaultDisplayMap[ nodeName ] = display; + + return display; +} + +function showHide( elements, show ) { + var display, elem, + values = [], + index = 0, + length = elements.length; + + // Determine new display value for elements that need to change + for ( ; index < length; index++ ) { + elem = elements[ index ]; + if ( !elem.style ) { + continue; + } + + display = elem.style.display; + if ( show ) { + + // Since we force visibility upon cascade-hidden elements, an immediate (and slow) + // check is required in this first loop unless we have a nonempty display value (either + // inline or about-to-be-restored) + if ( display === "none" ) { + values[ index ] = dataPriv.get( elem, "display" ) || null; + if ( !values[ index ] ) { + elem.style.display = ""; + } + } + if ( elem.style.display === "" && isHiddenWithinTree( elem ) ) { + values[ index ] = getDefaultDisplay( elem ); + } + } else { + if ( display !== "none" ) { + values[ index ] = "none"; + + // Remember what we're overwriting + dataPriv.set( elem, "display", display ); + } + } + } + + // Set the display of the elements in a second loop to avoid constant reflow + for ( index = 0; index < length; index++ ) { + if ( values[ index ] != null ) { + elements[ index ].style.display = values[ index ]; + } + } + + return elements; +} + +jQuery.fn.extend( { + show: function() { + return showHide( this, true ); + }, + hide: function() { + return showHide( this ); + }, + toggle: function( state ) { + if ( typeof state === "boolean" ) { + return state ? this.show() : this.hide(); + } + + return this.each( function() { + if ( isHiddenWithinTree( this ) ) { + jQuery( this ).show(); + } else { + jQuery( this ).hide(); + } + } ); + } +} ); +var rcheckableType = ( /^(?:checkbox|radio)$/i ); + +var rtagName = ( /<([a-z][^\/\0>\x20\t\r\n\f]+)/i ); + +var rscriptType = ( /^$|^module$|\/(?:java|ecma)script/i ); + + + +// We have to close these tags to support XHTML (#13200) +var wrapMap = { + + // Support: IE <=9 only + option: [ 1, "" ], + + // XHTML parsers do not magically insert elements in the + // same way that tag soup parsers do. So we cannot shorten + // this by omitting or other required elements. + thead: [ 1, "
                          Classes in javax.websocket.server used by org.glassfish.tyrus.spi 
                          Class and DescriptionClassDescription
                          HandshakeRequest +HandshakeRequest
                          The handshake request represents the web socket defined Http GET request for the opening handshake of a web socket session.
                          ServerContainer +ServerContainer
                          The ServerContainer is the specialized view of the WebSocketContainer available in server-side deployments.
                          ServerEndpointConfig +ServerEndpointConfig
                          The ServerEndpointConfig is a special kind of endpoint configuration object that contains web socket configuration information specific only to server endpoints.
                          ", "
                          " ], + col: [ 2, "", "
                          " ], + tr: [ 2, "", "
                          " ], + td: [ 3, "", "
                          " ], + + _default: [ 0, "", "" ] +}; + +// Support: IE <=9 only +wrapMap.optgroup = wrapMap.option; + +wrapMap.tbody = wrapMap.tfoot = wrapMap.colgroup = wrapMap.caption = wrapMap.thead; +wrapMap.th = wrapMap.td; + + +function getAll( context, tag ) { + + // Support: IE <=9 - 11 only + // Use typeof to avoid zero-argument method invocation on host objects (#15151) + var ret; + + if ( typeof context.getElementsByTagName !== "undefined" ) { + ret = context.getElementsByTagName( tag || "*" ); + + } else if ( typeof context.querySelectorAll !== "undefined" ) { + ret = context.querySelectorAll( tag || "*" ); + + } else { + ret = []; + } + + if ( tag === undefined || tag && nodeName( context, tag ) ) { + return jQuery.merge( [ context ], ret ); + } + + return ret; +} + + +// Mark scripts as having already been evaluated +function setGlobalEval( elems, refElements ) { + var i = 0, + l = elems.length; + + for ( ; i < l; i++ ) { + dataPriv.set( + elems[ i ], + "globalEval", + !refElements || dataPriv.get( refElements[ i ], "globalEval" ) + ); + } +} + + +var rhtml = /<|&#?\w+;/; + +function buildFragment( elems, context, scripts, selection, ignored ) { + var elem, tmp, tag, wrap, contains, j, + fragment = context.createDocumentFragment(), + nodes = [], + i = 0, + l = elems.length; + + for ( ; i < l; i++ ) { + elem = elems[ i ]; + + if ( elem || elem === 0 ) { + + // Add nodes directly + if ( toType( elem ) === "object" ) { + + // Support: Android <=4.0 only, PhantomJS 1 only + // push.apply(_, arraylike) throws on ancient WebKit + jQuery.merge( nodes, elem.nodeType ? [ elem ] : elem ); + + // Convert non-html into a text node + } else if ( !rhtml.test( elem ) ) { + nodes.push( context.createTextNode( elem ) ); + + // Convert html into DOM nodes + } else { + tmp = tmp || fragment.appendChild( context.createElement( "div" ) ); + + // Deserialize a standard representation + tag = ( rtagName.exec( elem ) || [ "", "" ] )[ 1 ].toLowerCase(); + wrap = wrapMap[ tag ] || wrapMap._default; + tmp.innerHTML = wrap[ 1 ] + jQuery.htmlPrefilter( elem ) + wrap[ 2 ]; + + // Descend through wrappers to the right content + j = wrap[ 0 ]; + while ( j-- ) { + tmp = tmp.lastChild; + } + + // Support: Android <=4.0 only, PhantomJS 1 only + // push.apply(_, arraylike) throws on ancient WebKit + jQuery.merge( nodes, tmp.childNodes ); + + // Remember the top-level container + tmp = fragment.firstChild; + + // Ensure the created nodes are orphaned (#12392) + tmp.textContent = ""; + } + } + } + + // Remove wrapper from fragment + fragment.textContent = ""; + + i = 0; + while ( ( elem = nodes[ i++ ] ) ) { + + // Skip elements already in the context collection (trac-4087) + if ( selection && jQuery.inArray( elem, selection ) > -1 ) { + if ( ignored ) { + ignored.push( elem ); + } + continue; + } + + contains = jQuery.contains( elem.ownerDocument, elem ); + + // Append to fragment + tmp = getAll( fragment.appendChild( elem ), "script" ); + + // Preserve script evaluation history + if ( contains ) { + setGlobalEval( tmp ); + } + + // Capture executables + if ( scripts ) { + j = 0; + while ( ( elem = tmp[ j++ ] ) ) { + if ( rscriptType.test( elem.type || "" ) ) { + scripts.push( elem ); + } + } + } + } + + return fragment; +} + + +( function() { + var fragment = document.createDocumentFragment(), + div = fragment.appendChild( document.createElement( "div" ) ), + input = document.createElement( "input" ); + + // Support: Android 4.0 - 4.3 only + // Check state lost if the name is set (#11217) + // Support: Windows Web Apps (WWA) + // `name` and `type` must use .setAttribute for WWA (#14901) + input.setAttribute( "type", "radio" ); + input.setAttribute( "checked", "checked" ); + input.setAttribute( "name", "t" ); + + div.appendChild( input ); + + // Support: Android <=4.1 only + // Older WebKit doesn't clone checked state correctly in fragments + support.checkClone = div.cloneNode( true ).cloneNode( true ).lastChild.checked; + + // Support: IE <=11 only + // Make sure textarea (and checkbox) defaultValue is properly cloned + div.innerHTML = ""; + support.noCloneChecked = !!div.cloneNode( true ).lastChild.defaultValue; +} )(); +var documentElement = document.documentElement; + + + +var + rkeyEvent = /^key/, + rmouseEvent = /^(?:mouse|pointer|contextmenu|drag|drop)|click/, + rtypenamespace = /^([^.]*)(?:\.(.+)|)/; + +function returnTrue() { + return true; +} + +function returnFalse() { + return false; +} + +// Support: IE <=9 only +// See #13393 for more info +function safeActiveElement() { + try { + return document.activeElement; + } catch ( err ) { } +} + +function on( elem, types, selector, data, fn, one ) { + var origFn, type; + + // Types can be a map of types/handlers + if ( typeof types === "object" ) { + + // ( types-Object, selector, data ) + if ( typeof selector !== "string" ) { + + // ( types-Object, data ) + data = data || selector; + selector = undefined; + } + for ( type in types ) { + on( elem, type, selector, data, types[ type ], one ); + } + return elem; + } + + if ( data == null && fn == null ) { + + // ( types, fn ) + fn = selector; + data = selector = undefined; + } else if ( fn == null ) { + if ( typeof selector === "string" ) { + + // ( types, selector, fn ) + fn = data; + data = undefined; + } else { + + // ( types, data, fn ) + fn = data; + data = selector; + selector = undefined; + } + } + if ( fn === false ) { + fn = returnFalse; + } else if ( !fn ) { + return elem; + } + + if ( one === 1 ) { + origFn = fn; + fn = function( event ) { + + // Can use an empty set, since event contains the info + jQuery().off( event ); + return origFn.apply( this, arguments ); + }; + + // Use same guid so caller can remove using origFn + fn.guid = origFn.guid || ( origFn.guid = jQuery.guid++ ); + } + return elem.each( function() { + jQuery.event.add( this, types, fn, data, selector ); + } ); +} + +/* + * Helper functions for managing events -- not part of the public interface. + * Props to Dean Edwards' addEvent library for many of the ideas. + */ +jQuery.event = { + + global: {}, + + add: function( elem, types, handler, data, selector ) { + + var handleObjIn, eventHandle, tmp, + events, t, handleObj, + special, handlers, type, namespaces, origType, + elemData = dataPriv.get( elem ); + + // Don't attach events to noData or text/comment nodes (but allow plain objects) + if ( !elemData ) { + return; + } + + // Caller can pass in an object of custom data in lieu of the handler + if ( handler.handler ) { + handleObjIn = handler; + handler = handleObjIn.handler; + selector = handleObjIn.selector; + } + + // Ensure that invalid selectors throw exceptions at attach time + // Evaluate against documentElement in case elem is a non-element node (e.g., document) + if ( selector ) { + jQuery.find.matchesSelector( documentElement, selector ); + } + + // Make sure that the handler has a unique ID, used to find/remove it later + if ( !handler.guid ) { + handler.guid = jQuery.guid++; + } + + // Init the element's event structure and main handler, if this is the first + if ( !( events = elemData.events ) ) { + events = elemData.events = {}; + } + if ( !( eventHandle = elemData.handle ) ) { + eventHandle = elemData.handle = function( e ) { + + // Discard the second event of a jQuery.event.trigger() and + // when an event is called after a page has unloaded + return typeof jQuery !== "undefined" && jQuery.event.triggered !== e.type ? + jQuery.event.dispatch.apply( elem, arguments ) : undefined; + }; + } + + // Handle multiple events separated by a space + types = ( types || "" ).match( rnothtmlwhite ) || [ "" ]; + t = types.length; + while ( t-- ) { + tmp = rtypenamespace.exec( types[ t ] ) || []; + type = origType = tmp[ 1 ]; + namespaces = ( tmp[ 2 ] || "" ).split( "." ).sort(); + + // There *must* be a type, no attaching namespace-only handlers + if ( !type ) { + continue; + } + + // If event changes its type, use the special event handlers for the changed type + special = jQuery.event.special[ type ] || {}; + + // If selector defined, determine special event api type, otherwise given type + type = ( selector ? special.delegateType : special.bindType ) || type; + + // Update special based on newly reset type + special = jQuery.event.special[ type ] || {}; + + // handleObj is passed to all event handlers + handleObj = jQuery.extend( { + type: type, + origType: origType, + data: data, + handler: handler, + guid: handler.guid, + selector: selector, + needsContext: selector && jQuery.expr.match.needsContext.test( selector ), + namespace: namespaces.join( "." ) + }, handleObjIn ); + + // Init the event handler queue if we're the first + if ( !( handlers = events[ type ] ) ) { + handlers = events[ type ] = []; + handlers.delegateCount = 0; + + // Only use addEventListener if the special events handler returns false + if ( !special.setup || + special.setup.call( elem, data, namespaces, eventHandle ) === false ) { + + if ( elem.addEventListener ) { + elem.addEventListener( type, eventHandle ); + } + } + } + + if ( special.add ) { + special.add.call( elem, handleObj ); + + if ( !handleObj.handler.guid ) { + handleObj.handler.guid = handler.guid; + } + } + + // Add to the element's handler list, delegates in front + if ( selector ) { + handlers.splice( handlers.delegateCount++, 0, handleObj ); + } else { + handlers.push( handleObj ); + } + + // Keep track of which events have ever been used, for event optimization + jQuery.event.global[ type ] = true; + } + + }, + + // Detach an event or set of events from an element + remove: function( elem, types, handler, selector, mappedTypes ) { + + var j, origCount, tmp, + events, t, handleObj, + special, handlers, type, namespaces, origType, + elemData = dataPriv.hasData( elem ) && dataPriv.get( elem ); + + if ( !elemData || !( events = elemData.events ) ) { + return; + } + + // Once for each type.namespace in types; type may be omitted + types = ( types || "" ).match( rnothtmlwhite ) || [ "" ]; + t = types.length; + while ( t-- ) { + tmp = rtypenamespace.exec( types[ t ] ) || []; + type = origType = tmp[ 1 ]; + namespaces = ( tmp[ 2 ] || "" ).split( "." ).sort(); + + // Unbind all events (on this namespace, if provided) for the element + if ( !type ) { + for ( type in events ) { + jQuery.event.remove( elem, type + types[ t ], handler, selector, true ); + } + continue; + } + + special = jQuery.event.special[ type ] || {}; + type = ( selector ? special.delegateType : special.bindType ) || type; + handlers = events[ type ] || []; + tmp = tmp[ 2 ] && + new RegExp( "(^|\\.)" + namespaces.join( "\\.(?:.*\\.|)" ) + "(\\.|$)" ); + + // Remove matching events + origCount = j = handlers.length; + while ( j-- ) { + handleObj = handlers[ j ]; + + if ( ( mappedTypes || origType === handleObj.origType ) && + ( !handler || handler.guid === handleObj.guid ) && + ( !tmp || tmp.test( handleObj.namespace ) ) && + ( !selector || selector === handleObj.selector || + selector === "**" && handleObj.selector ) ) { + handlers.splice( j, 1 ); + + if ( handleObj.selector ) { + handlers.delegateCount--; + } + if ( special.remove ) { + special.remove.call( elem, handleObj ); + } + } + } + + // Remove generic event handler if we removed something and no more handlers exist + // (avoids potential for endless recursion during removal of special event handlers) + if ( origCount && !handlers.length ) { + if ( !special.teardown || + special.teardown.call( elem, namespaces, elemData.handle ) === false ) { + + jQuery.removeEvent( elem, type, elemData.handle ); + } + + delete events[ type ]; + } + } + + // Remove data and the expando if it's no longer used + if ( jQuery.isEmptyObject( events ) ) { + dataPriv.remove( elem, "handle events" ); + } + }, + + dispatch: function( nativeEvent ) { + + // Make a writable jQuery.Event from the native event object + var event = jQuery.event.fix( nativeEvent ); + + var i, j, ret, matched, handleObj, handlerQueue, + args = new Array( arguments.length ), + handlers = ( dataPriv.get( this, "events" ) || {} )[ event.type ] || [], + special = jQuery.event.special[ event.type ] || {}; + + // Use the fix-ed jQuery.Event rather than the (read-only) native event + args[ 0 ] = event; + + for ( i = 1; i < arguments.length; i++ ) { + args[ i ] = arguments[ i ]; + } + + event.delegateTarget = this; + + // Call the preDispatch hook for the mapped type, and let it bail if desired + if ( special.preDispatch && special.preDispatch.call( this, event ) === false ) { + return; + } + + // Determine handlers + handlerQueue = jQuery.event.handlers.call( this, event, handlers ); + + // Run delegates first; they may want to stop propagation beneath us + i = 0; + while ( ( matched = handlerQueue[ i++ ] ) && !event.isPropagationStopped() ) { + event.currentTarget = matched.elem; + + j = 0; + while ( ( handleObj = matched.handlers[ j++ ] ) && + !event.isImmediatePropagationStopped() ) { + + // Triggered event must either 1) have no namespace, or 2) have namespace(s) + // a subset or equal to those in the bound event (both can have no namespace). + if ( !event.rnamespace || event.rnamespace.test( handleObj.namespace ) ) { + + event.handleObj = handleObj; + event.data = handleObj.data; + + ret = ( ( jQuery.event.special[ handleObj.origType ] || {} ).handle || + handleObj.handler ).apply( matched.elem, args ); + + if ( ret !== undefined ) { + if ( ( event.result = ret ) === false ) { + event.preventDefault(); + event.stopPropagation(); + } + } + } + } + } + + // Call the postDispatch hook for the mapped type + if ( special.postDispatch ) { + special.postDispatch.call( this, event ); + } + + return event.result; + }, + + handlers: function( event, handlers ) { + var i, handleObj, sel, matchedHandlers, matchedSelectors, + handlerQueue = [], + delegateCount = handlers.delegateCount, + cur = event.target; + + // Find delegate handlers + if ( delegateCount && + + // Support: IE <=9 + // Black-hole SVG instance trees (trac-13180) + cur.nodeType && + + // Support: Firefox <=42 + // Suppress spec-violating clicks indicating a non-primary pointer button (trac-3861) + // https://www.w3.org/TR/DOM-Level-3-Events/#event-type-click + // Support: IE 11 only + // ...but not arrow key "clicks" of radio inputs, which can have `button` -1 (gh-2343) + !( event.type === "click" && event.button >= 1 ) ) { + + for ( ; cur !== this; cur = cur.parentNode || this ) { + + // Don't check non-elements (#13208) + // Don't process clicks on disabled elements (#6911, #8165, #11382, #11764) + if ( cur.nodeType === 1 && !( event.type === "click" && cur.disabled === true ) ) { + matchedHandlers = []; + matchedSelectors = {}; + for ( i = 0; i < delegateCount; i++ ) { + handleObj = handlers[ i ]; + + // Don't conflict with Object.prototype properties (#13203) + sel = handleObj.selector + " "; + + if ( matchedSelectors[ sel ] === undefined ) { + matchedSelectors[ sel ] = handleObj.needsContext ? + jQuery( sel, this ).index( cur ) > -1 : + jQuery.find( sel, this, null, [ cur ] ).length; + } + if ( matchedSelectors[ sel ] ) { + matchedHandlers.push( handleObj ); + } + } + if ( matchedHandlers.length ) { + handlerQueue.push( { elem: cur, handlers: matchedHandlers } ); + } + } + } + } + + // Add the remaining (directly-bound) handlers + cur = this; + if ( delegateCount < handlers.length ) { + handlerQueue.push( { elem: cur, handlers: handlers.slice( delegateCount ) } ); + } + + return handlerQueue; + }, + + addProp: function( name, hook ) { + Object.defineProperty( jQuery.Event.prototype, name, { + enumerable: true, + configurable: true, + + get: isFunction( hook ) ? + function() { + if ( this.originalEvent ) { + return hook( this.originalEvent ); + } + } : + function() { + if ( this.originalEvent ) { + return this.originalEvent[ name ]; + } + }, + + set: function( value ) { + Object.defineProperty( this, name, { + enumerable: true, + configurable: true, + writable: true, + value: value + } ); + } + } ); + }, + + fix: function( originalEvent ) { + return originalEvent[ jQuery.expando ] ? + originalEvent : + new jQuery.Event( originalEvent ); + }, + + special: { + load: { + + // Prevent triggered image.load events from bubbling to window.load + noBubble: true + }, + focus: { + + // Fire native event if possible so blur/focus sequence is correct + trigger: function() { + if ( this !== safeActiveElement() && this.focus ) { + this.focus(); + return false; + } + }, + delegateType: "focusin" + }, + blur: { + trigger: function() { + if ( this === safeActiveElement() && this.blur ) { + this.blur(); + return false; + } + }, + delegateType: "focusout" + }, + click: { + + // For checkbox, fire native event so checked state will be right + trigger: function() { + if ( this.type === "checkbox" && this.click && nodeName( this, "input" ) ) { + this.click(); + return false; + } + }, + + // For cross-browser consistency, don't fire native .click() on links + _default: function( event ) { + return nodeName( event.target, "a" ); + } + }, + + beforeunload: { + postDispatch: function( event ) { + + // Support: Firefox 20+ + // Firefox doesn't alert if the returnValue field is not set. + if ( event.result !== undefined && event.originalEvent ) { + event.originalEvent.returnValue = event.result; + } + } + } + } +}; + +jQuery.removeEvent = function( elem, type, handle ) { + + // This "if" is needed for plain objects + if ( elem.removeEventListener ) { + elem.removeEventListener( type, handle ); + } +}; + +jQuery.Event = function( src, props ) { + + // Allow instantiation without the 'new' keyword + if ( !( this instanceof jQuery.Event ) ) { + return new jQuery.Event( src, props ); + } + + // Event object + if ( src && src.type ) { + this.originalEvent = src; + this.type = src.type; + + // Events bubbling up the document may have been marked as prevented + // by a handler lower down the tree; reflect the correct value. + this.isDefaultPrevented = src.defaultPrevented || + src.defaultPrevented === undefined && + + // Support: Android <=2.3 only + src.returnValue === false ? + returnTrue : + returnFalse; + + // Create target properties + // Support: Safari <=6 - 7 only + // Target should not be a text node (#504, #13143) + this.target = ( src.target && src.target.nodeType === 3 ) ? + src.target.parentNode : + src.target; + + this.currentTarget = src.currentTarget; + this.relatedTarget = src.relatedTarget; + + // Event type + } else { + this.type = src; + } + + // Put explicitly provided properties onto the event object + if ( props ) { + jQuery.extend( this, props ); + } + + // Create a timestamp if incoming event doesn't have one + this.timeStamp = src && src.timeStamp || Date.now(); + + // Mark it as fixed + this[ jQuery.expando ] = true; +}; + +// jQuery.Event is based on DOM3 Events as specified by the ECMAScript Language Binding +// https://www.w3.org/TR/2003/WD-DOM-Level-3-Events-20030331/ecma-script-binding.html +jQuery.Event.prototype = { + constructor: jQuery.Event, + isDefaultPrevented: returnFalse, + isPropagationStopped: returnFalse, + isImmediatePropagationStopped: returnFalse, + isSimulated: false, + + preventDefault: function() { + var e = this.originalEvent; + + this.isDefaultPrevented = returnTrue; + + if ( e && !this.isSimulated ) { + e.preventDefault(); + } + }, + stopPropagation: function() { + var e = this.originalEvent; + + this.isPropagationStopped = returnTrue; + + if ( e && !this.isSimulated ) { + e.stopPropagation(); + } + }, + stopImmediatePropagation: function() { + var e = this.originalEvent; + + this.isImmediatePropagationStopped = returnTrue; + + if ( e && !this.isSimulated ) { + e.stopImmediatePropagation(); + } + + this.stopPropagation(); + } +}; + +// Includes all common event props including KeyEvent and MouseEvent specific props +jQuery.each( { + altKey: true, + bubbles: true, + cancelable: true, + changedTouches: true, + ctrlKey: true, + detail: true, + eventPhase: true, + metaKey: true, + pageX: true, + pageY: true, + shiftKey: true, + view: true, + "char": true, + charCode: true, + key: true, + keyCode: true, + button: true, + buttons: true, + clientX: true, + clientY: true, + offsetX: true, + offsetY: true, + pointerId: true, + pointerType: true, + screenX: true, + screenY: true, + targetTouches: true, + toElement: true, + touches: true, + + which: function( event ) { + var button = event.button; + + // Add which for key events + if ( event.which == null && rkeyEvent.test( event.type ) ) { + return event.charCode != null ? event.charCode : event.keyCode; + } + + // Add which for click: 1 === left; 2 === middle; 3 === right + if ( !event.which && button !== undefined && rmouseEvent.test( event.type ) ) { + if ( button & 1 ) { + return 1; + } + + if ( button & 2 ) { + return 3; + } + + if ( button & 4 ) { + return 2; + } + + return 0; + } + + return event.which; + } +}, jQuery.event.addProp ); + +// Create mouseenter/leave events using mouseover/out and event-time checks +// so that event delegation works in jQuery. +// Do the same for pointerenter/pointerleave and pointerover/pointerout +// +// Support: Safari 7 only +// Safari sends mouseenter too often; see: +// https://bugs.chromium.org/p/chromium/issues/detail?id=470258 +// for the description of the bug (it existed in older Chrome versions as well). +jQuery.each( { + mouseenter: "mouseover", + mouseleave: "mouseout", + pointerenter: "pointerover", + pointerleave: "pointerout" +}, function( orig, fix ) { + jQuery.event.special[ orig ] = { + delegateType: fix, + bindType: fix, + + handle: function( event ) { + var ret, + target = this, + related = event.relatedTarget, + handleObj = event.handleObj; + + // For mouseenter/leave call the handler if related is outside the target. + // NB: No relatedTarget if the mouse left/entered the browser window + if ( !related || ( related !== target && !jQuery.contains( target, related ) ) ) { + event.type = handleObj.origType; + ret = handleObj.handler.apply( this, arguments ); + event.type = fix; + } + return ret; + } + }; +} ); + +jQuery.fn.extend( { + + on: function( types, selector, data, fn ) { + return on( this, types, selector, data, fn ); + }, + one: function( types, selector, data, fn ) { + return on( this, types, selector, data, fn, 1 ); + }, + off: function( types, selector, fn ) { + var handleObj, type; + if ( types && types.preventDefault && types.handleObj ) { + + // ( event ) dispatched jQuery.Event + handleObj = types.handleObj; + jQuery( types.delegateTarget ).off( + handleObj.namespace ? + handleObj.origType + "." + handleObj.namespace : + handleObj.origType, + handleObj.selector, + handleObj.handler + ); + return this; + } + if ( typeof types === "object" ) { + + // ( types-object [, selector] ) + for ( type in types ) { + this.off( type, selector, types[ type ] ); + } + return this; + } + if ( selector === false || typeof selector === "function" ) { + + // ( types [, fn] ) + fn = selector; + selector = undefined; + } + if ( fn === false ) { + fn = returnFalse; + } + return this.each( function() { + jQuery.event.remove( this, types, fn, selector ); + } ); + } +} ); + + +var + + /* eslint-disable max-len */ + + // See https://github.com/eslint/eslint/issues/3229 + rxhtmlTag = /<(?!area|br|col|embed|hr|img|input|link|meta|param)(([a-z][^\/\0>\x20\t\r\n\f]*)[^>]*)\/>/gi, + + /* eslint-enable */ + + // Support: IE <=10 - 11, Edge 12 - 13 only + // In IE/Edge using regex groups here causes severe slowdowns. + // See https://connect.microsoft.com/IE/feedback/details/1736512/ + rnoInnerhtml = /\s*$/g; + +// Prefer a tbody over its parent table for containing new rows +function manipulationTarget( elem, content ) { + if ( nodeName( elem, "table" ) && + nodeName( content.nodeType !== 11 ? content : content.firstChild, "tr" ) ) { + + return jQuery( elem ).children( "tbody" )[ 0 ] || elem; + } + + return elem; +} + +// Replace/restore the type attribute of script elements for safe DOM manipulation +function disableScript( elem ) { + elem.type = ( elem.getAttribute( "type" ) !== null ) + "/" + elem.type; + return elem; +} +function restoreScript( elem ) { + if ( ( elem.type || "" ).slice( 0, 5 ) === "true/" ) { + elem.type = elem.type.slice( 5 ); + } else { + elem.removeAttribute( "type" ); + } + + return elem; +} + +function cloneCopyEvent( src, dest ) { + var i, l, type, pdataOld, pdataCur, udataOld, udataCur, events; + + if ( dest.nodeType !== 1 ) { + return; + } + + // 1. Copy private data: events, handlers, etc. + if ( dataPriv.hasData( src ) ) { + pdataOld = dataPriv.access( src ); + pdataCur = dataPriv.set( dest, pdataOld ); + events = pdataOld.events; + + if ( events ) { + delete pdataCur.handle; + pdataCur.events = {}; + + for ( type in events ) { + for ( i = 0, l = events[ type ].length; i < l; i++ ) { + jQuery.event.add( dest, type, events[ type ][ i ] ); + } + } + } + } + + // 2. Copy user data + if ( dataUser.hasData( src ) ) { + udataOld = dataUser.access( src ); + udataCur = jQuery.extend( {}, udataOld ); + + dataUser.set( dest, udataCur ); + } +} + +// Fix IE bugs, see support tests +function fixInput( src, dest ) { + var nodeName = dest.nodeName.toLowerCase(); + + // Fails to persist the checked state of a cloned checkbox or radio button. + if ( nodeName === "input" && rcheckableType.test( src.type ) ) { + dest.checked = src.checked; + + // Fails to return the selected option to the default selected state when cloning options + } else if ( nodeName === "input" || nodeName === "textarea" ) { + dest.defaultValue = src.defaultValue; + } +} + +function domManip( collection, args, callback, ignored ) { + + // Flatten any nested arrays + args = concat.apply( [], args ); + + var fragment, first, scripts, hasScripts, node, doc, + i = 0, + l = collection.length, + iNoClone = l - 1, + value = args[ 0 ], + valueIsFunction = isFunction( value ); + + // We can't cloneNode fragments that contain checked, in WebKit + if ( valueIsFunction || + ( l > 1 && typeof value === "string" && + !support.checkClone && rchecked.test( value ) ) ) { + return collection.each( function( index ) { + var self = collection.eq( index ); + if ( valueIsFunction ) { + args[ 0 ] = value.call( this, index, self.html() ); + } + domManip( self, args, callback, ignored ); + } ); + } + + if ( l ) { + fragment = buildFragment( args, collection[ 0 ].ownerDocument, false, collection, ignored ); + first = fragment.firstChild; + + if ( fragment.childNodes.length === 1 ) { + fragment = first; + } + + // Require either new content or an interest in ignored elements to invoke the callback + if ( first || ignored ) { + scripts = jQuery.map( getAll( fragment, "script" ), disableScript ); + hasScripts = scripts.length; + + // Use the original fragment for the last item + // instead of the first because it can end up + // being emptied incorrectly in certain situations (#8070). + for ( ; i < l; i++ ) { + node = fragment; + + if ( i !== iNoClone ) { + node = jQuery.clone( node, true, true ); + + // Keep references to cloned scripts for later restoration + if ( hasScripts ) { + + // Support: Android <=4.0 only, PhantomJS 1 only + // push.apply(_, arraylike) throws on ancient WebKit + jQuery.merge( scripts, getAll( node, "script" ) ); + } + } + + callback.call( collection[ i ], node, i ); + } + + if ( hasScripts ) { + doc = scripts[ scripts.length - 1 ].ownerDocument; + + // Reenable scripts + jQuery.map( scripts, restoreScript ); + + // Evaluate executable scripts on first document insertion + for ( i = 0; i < hasScripts; i++ ) { + node = scripts[ i ]; + if ( rscriptType.test( node.type || "" ) && + !dataPriv.access( node, "globalEval" ) && + jQuery.contains( doc, node ) ) { + + if ( node.src && ( node.type || "" ).toLowerCase() !== "module" ) { + + // Optional AJAX dependency, but won't run scripts if not present + if ( jQuery._evalUrl ) { + jQuery._evalUrl( node.src ); + } + } else { + DOMEval( node.textContent.replace( rcleanScript, "" ), doc, node ); + } + } + } + } + } + } + + return collection; +} + +function remove( elem, selector, keepData ) { + var node, + nodes = selector ? jQuery.filter( selector, elem ) : elem, + i = 0; + + for ( ; ( node = nodes[ i ] ) != null; i++ ) { + if ( !keepData && node.nodeType === 1 ) { + jQuery.cleanData( getAll( node ) ); + } + + if ( node.parentNode ) { + if ( keepData && jQuery.contains( node.ownerDocument, node ) ) { + setGlobalEval( getAll( node, "script" ) ); + } + node.parentNode.removeChild( node ); + } + } + + return elem; +} + +jQuery.extend( { + htmlPrefilter: function( html ) { + return html.replace( rxhtmlTag, "<$1>" ); + }, + + clone: function( elem, dataAndEvents, deepDataAndEvents ) { + var i, l, srcElements, destElements, + clone = elem.cloneNode( true ), + inPage = jQuery.contains( elem.ownerDocument, elem ); + + // Fix IE cloning issues + if ( !support.noCloneChecked && ( elem.nodeType === 1 || elem.nodeType === 11 ) && + !jQuery.isXMLDoc( elem ) ) { + + // We eschew Sizzle here for performance reasons: https://jsperf.com/getall-vs-sizzle/2 + destElements = getAll( clone ); + srcElements = getAll( elem ); + + for ( i = 0, l = srcElements.length; i < l; i++ ) { + fixInput( srcElements[ i ], destElements[ i ] ); + } + } + + // Copy the events from the original to the clone + if ( dataAndEvents ) { + if ( deepDataAndEvents ) { + srcElements = srcElements || getAll( elem ); + destElements = destElements || getAll( clone ); + + for ( i = 0, l = srcElements.length; i < l; i++ ) { + cloneCopyEvent( srcElements[ i ], destElements[ i ] ); + } + } else { + cloneCopyEvent( elem, clone ); + } + } + + // Preserve script evaluation history + destElements = getAll( clone, "script" ); + if ( destElements.length > 0 ) { + setGlobalEval( destElements, !inPage && getAll( elem, "script" ) ); + } + + // Return the cloned set + return clone; + }, + + cleanData: function( elems ) { + var data, elem, type, + special = jQuery.event.special, + i = 0; + + for ( ; ( elem = elems[ i ] ) !== undefined; i++ ) { + if ( acceptData( elem ) ) { + if ( ( data = elem[ dataPriv.expando ] ) ) { + if ( data.events ) { + for ( type in data.events ) { + if ( special[ type ] ) { + jQuery.event.remove( elem, type ); + + // This is a shortcut to avoid jQuery.event.remove's overhead + } else { + jQuery.removeEvent( elem, type, data.handle ); + } + } + } + + // Support: Chrome <=35 - 45+ + // Assign undefined instead of using delete, see Data#remove + elem[ dataPriv.expando ] = undefined; + } + if ( elem[ dataUser.expando ] ) { + + // Support: Chrome <=35 - 45+ + // Assign undefined instead of using delete, see Data#remove + elem[ dataUser.expando ] = undefined; + } + } + } + } +} ); + +jQuery.fn.extend( { + detach: function( selector ) { + return remove( this, selector, true ); + }, + + remove: function( selector ) { + return remove( this, selector ); + }, + + text: function( value ) { + return access( this, function( value ) { + return value === undefined ? + jQuery.text( this ) : + this.empty().each( function() { + if ( this.nodeType === 1 || this.nodeType === 11 || this.nodeType === 9 ) { + this.textContent = value; + } + } ); + }, null, value, arguments.length ); + }, + + append: function() { + return domManip( this, arguments, function( elem ) { + if ( this.nodeType === 1 || this.nodeType === 11 || this.nodeType === 9 ) { + var target = manipulationTarget( this, elem ); + target.appendChild( elem ); + } + } ); + }, + + prepend: function() { + return domManip( this, arguments, function( elem ) { + if ( this.nodeType === 1 || this.nodeType === 11 || this.nodeType === 9 ) { + var target = manipulationTarget( this, elem ); + target.insertBefore( elem, target.firstChild ); + } + } ); + }, + + before: function() { + return domManip( this, arguments, function( elem ) { + if ( this.parentNode ) { + this.parentNode.insertBefore( elem, this ); + } + } ); + }, + + after: function() { + return domManip( this, arguments, function( elem ) { + if ( this.parentNode ) { + this.parentNode.insertBefore( elem, this.nextSibling ); + } + } ); + }, + + empty: function() { + var elem, + i = 0; + + for ( ; ( elem = this[ i ] ) != null; i++ ) { + if ( elem.nodeType === 1 ) { + + // Prevent memory leaks + jQuery.cleanData( getAll( elem, false ) ); + + // Remove any remaining nodes + elem.textContent = ""; + } + } + + return this; + }, + + clone: function( dataAndEvents, deepDataAndEvents ) { + dataAndEvents = dataAndEvents == null ? false : dataAndEvents; + deepDataAndEvents = deepDataAndEvents == null ? dataAndEvents : deepDataAndEvents; + + return this.map( function() { + return jQuery.clone( this, dataAndEvents, deepDataAndEvents ); + } ); + }, + + html: function( value ) { + return access( this, function( value ) { + var elem = this[ 0 ] || {}, + i = 0, + l = this.length; + + if ( value === undefined && elem.nodeType === 1 ) { + return elem.innerHTML; + } + + // See if we can take a shortcut and just use innerHTML + if ( typeof value === "string" && !rnoInnerhtml.test( value ) && + !wrapMap[ ( rtagName.exec( value ) || [ "", "" ] )[ 1 ].toLowerCase() ] ) { + + value = jQuery.htmlPrefilter( value ); + + try { + for ( ; i < l; i++ ) { + elem = this[ i ] || {}; + + // Remove element nodes and prevent memory leaks + if ( elem.nodeType === 1 ) { + jQuery.cleanData( getAll( elem, false ) ); + elem.innerHTML = value; + } + } + + elem = 0; + + // If using innerHTML throws an exception, use the fallback method + } catch ( e ) {} + } + + if ( elem ) { + this.empty().append( value ); + } + }, null, value, arguments.length ); + }, + + replaceWith: function() { + var ignored = []; + + // Make the changes, replacing each non-ignored context element with the new content + return domManip( this, arguments, function( elem ) { + var parent = this.parentNode; + + if ( jQuery.inArray( this, ignored ) < 0 ) { + jQuery.cleanData( getAll( this ) ); + if ( parent ) { + parent.replaceChild( elem, this ); + } + } + + // Force callback invocation + }, ignored ); + } +} ); + +jQuery.each( { + appendTo: "append", + prependTo: "prepend", + insertBefore: "before", + insertAfter: "after", + replaceAll: "replaceWith" +}, function( name, original ) { + jQuery.fn[ name ] = function( selector ) { + var elems, + ret = [], + insert = jQuery( selector ), + last = insert.length - 1, + i = 0; + + for ( ; i <= last; i++ ) { + elems = i === last ? this : this.clone( true ); + jQuery( insert[ i ] )[ original ]( elems ); + + // Support: Android <=4.0 only, PhantomJS 1 only + // .get() because push.apply(_, arraylike) throws on ancient WebKit + push.apply( ret, elems.get() ); + } + + return this.pushStack( ret ); + }; +} ); +var rnumnonpx = new RegExp( "^(" + pnum + ")(?!px)[a-z%]+$", "i" ); + +var getStyles = function( elem ) { + + // Support: IE <=11 only, Firefox <=30 (#15098, #14150) + // IE throws on elements created in popups + // FF meanwhile throws on frame elements through "defaultView.getComputedStyle" + var view = elem.ownerDocument.defaultView; + + if ( !view || !view.opener ) { + view = window; + } + + return view.getComputedStyle( elem ); + }; + +var rboxStyle = new RegExp( cssExpand.join( "|" ), "i" ); + + + +( function() { + + // Executing both pixelPosition & boxSizingReliable tests require only one layout + // so they're executed at the same time to save the second computation. + function computeStyleTests() { + + // This is a singleton, we need to execute it only once + if ( !div ) { + return; + } + + container.style.cssText = "position:absolute;left:-11111px;width:60px;" + + "margin-top:1px;padding:0;border:0"; + div.style.cssText = + "position:relative;display:block;box-sizing:border-box;overflow:scroll;" + + "margin:auto;border:1px;padding:1px;" + + "width:60%;top:1%"; + documentElement.appendChild( container ).appendChild( div ); + + var divStyle = window.getComputedStyle( div ); + pixelPositionVal = divStyle.top !== "1%"; + + // Support: Android 4.0 - 4.3 only, Firefox <=3 - 44 + reliableMarginLeftVal = roundPixelMeasures( divStyle.marginLeft ) === 12; + + // Support: Android 4.0 - 4.3 only, Safari <=9.1 - 10.1, iOS <=7.0 - 9.3 + // Some styles come back with percentage values, even though they shouldn't + div.style.right = "60%"; + pixelBoxStylesVal = roundPixelMeasures( divStyle.right ) === 36; + + // Support: IE 9 - 11 only + // Detect misreporting of content dimensions for box-sizing:border-box elements + boxSizingReliableVal = roundPixelMeasures( divStyle.width ) === 36; + + // Support: IE 9 only + // Detect overflow:scroll screwiness (gh-3699) + div.style.position = "absolute"; + scrollboxSizeVal = div.offsetWidth === 36 || "absolute"; + + documentElement.removeChild( container ); + + // Nullify the div so it wouldn't be stored in the memory and + // it will also be a sign that checks already performed + div = null; + } + + function roundPixelMeasures( measure ) { + return Math.round( parseFloat( measure ) ); + } + + var pixelPositionVal, boxSizingReliableVal, scrollboxSizeVal, pixelBoxStylesVal, + reliableMarginLeftVal, + container = document.createElement( "div" ), + div = document.createElement( "div" ); + + // Finish early in limited (non-browser) environments + if ( !div.style ) { + return; + } + + // Support: IE <=9 - 11 only + // Style of cloned element affects source element cloned (#8908) + div.style.backgroundClip = "content-box"; + div.cloneNode( true ).style.backgroundClip = ""; + support.clearCloneStyle = div.style.backgroundClip === "content-box"; + + jQuery.extend( support, { + boxSizingReliable: function() { + computeStyleTests(); + return boxSizingReliableVal; + }, + pixelBoxStyles: function() { + computeStyleTests(); + return pixelBoxStylesVal; + }, + pixelPosition: function() { + computeStyleTests(); + return pixelPositionVal; + }, + reliableMarginLeft: function() { + computeStyleTests(); + return reliableMarginLeftVal; + }, + scrollboxSize: function() { + computeStyleTests(); + return scrollboxSizeVal; + } + } ); +} )(); + + +function curCSS( elem, name, computed ) { + var width, minWidth, maxWidth, ret, + + // Support: Firefox 51+ + // Retrieving style before computed somehow + // fixes an issue with getting wrong values + // on detached elements + style = elem.style; + + computed = computed || getStyles( elem ); + + // getPropertyValue is needed for: + // .css('filter') (IE 9 only, #12537) + // .css('--customProperty) (#3144) + if ( computed ) { + ret = computed.getPropertyValue( name ) || computed[ name ]; + + if ( ret === "" && !jQuery.contains( elem.ownerDocument, elem ) ) { + ret = jQuery.style( elem, name ); + } + + // A tribute to the "awesome hack by Dean Edwards" + // Android Browser returns percentage for some values, + // but width seems to be reliably pixels. + // This is against the CSSOM draft spec: + // https://drafts.csswg.org/cssom/#resolved-values + if ( !support.pixelBoxStyles() && rnumnonpx.test( ret ) && rboxStyle.test( name ) ) { + + // Remember the original values + width = style.width; + minWidth = style.minWidth; + maxWidth = style.maxWidth; + + // Put in the new values to get a computed value out + style.minWidth = style.maxWidth = style.width = ret; + ret = computed.width; + + // Revert the changed values + style.width = width; + style.minWidth = minWidth; + style.maxWidth = maxWidth; + } + } + + return ret !== undefined ? + + // Support: IE <=9 - 11 only + // IE returns zIndex value as an integer. + ret + "" : + ret; +} + + +function addGetHookIf( conditionFn, hookFn ) { + + // Define the hook, we'll check on the first run if it's really needed. + return { + get: function() { + if ( conditionFn() ) { + + // Hook not needed (or it's not possible to use it due + // to missing dependency), remove it. + delete this.get; + return; + } + + // Hook needed; redefine it so that the support test is not executed again. + return ( this.get = hookFn ).apply( this, arguments ); + } + }; +} + + +var + + // Swappable if display is none or starts with table + // except "table", "table-cell", or "table-caption" + // See here for display values: https://developer.mozilla.org/en-US/docs/CSS/display + rdisplayswap = /^(none|table(?!-c[ea]).+)/, + rcustomProp = /^--/, + cssShow = { position: "absolute", visibility: "hidden", display: "block" }, + cssNormalTransform = { + letterSpacing: "0", + fontWeight: "400" + }, + + cssPrefixes = [ "Webkit", "Moz", "ms" ], + emptyStyle = document.createElement( "div" ).style; + +// Return a css property mapped to a potentially vendor prefixed property +function vendorPropName( name ) { + + // Shortcut for names that are not vendor prefixed + if ( name in emptyStyle ) { + return name; + } + + // Check for vendor prefixed names + var capName = name[ 0 ].toUpperCase() + name.slice( 1 ), + i = cssPrefixes.length; + + while ( i-- ) { + name = cssPrefixes[ i ] + capName; + if ( name in emptyStyle ) { + return name; + } + } +} + +// Return a property mapped along what jQuery.cssProps suggests or to +// a vendor prefixed property. +function finalPropName( name ) { + var ret = jQuery.cssProps[ name ]; + if ( !ret ) { + ret = jQuery.cssProps[ name ] = vendorPropName( name ) || name; + } + return ret; +} + +function setPositiveNumber( elem, value, subtract ) { + + // Any relative (+/-) values have already been + // normalized at this point + var matches = rcssNum.exec( value ); + return matches ? + + // Guard against undefined "subtract", e.g., when used as in cssHooks + Math.max( 0, matches[ 2 ] - ( subtract || 0 ) ) + ( matches[ 3 ] || "px" ) : + value; +} + +function boxModelAdjustment( elem, dimension, box, isBorderBox, styles, computedVal ) { + var i = dimension === "width" ? 1 : 0, + extra = 0, + delta = 0; + + // Adjustment may not be necessary + if ( box === ( isBorderBox ? "border" : "content" ) ) { + return 0; + } + + for ( ; i < 4; i += 2 ) { + + // Both box models exclude margin + if ( box === "margin" ) { + delta += jQuery.css( elem, box + cssExpand[ i ], true, styles ); + } + + // If we get here with a content-box, we're seeking "padding" or "border" or "margin" + if ( !isBorderBox ) { + + // Add padding + delta += jQuery.css( elem, "padding" + cssExpand[ i ], true, styles ); + + // For "border" or "margin", add border + if ( box !== "padding" ) { + delta += jQuery.css( elem, "border" + cssExpand[ i ] + "Width", true, styles ); + + // But still keep track of it otherwise + } else { + extra += jQuery.css( elem, "border" + cssExpand[ i ] + "Width", true, styles ); + } + + // If we get here with a border-box (content + padding + border), we're seeking "content" or + // "padding" or "margin" + } else { + + // For "content", subtract padding + if ( box === "content" ) { + delta -= jQuery.css( elem, "padding" + cssExpand[ i ], true, styles ); + } + + // For "content" or "padding", subtract border + if ( box !== "margin" ) { + delta -= jQuery.css( elem, "border" + cssExpand[ i ] + "Width", true, styles ); + } + } + } + + // Account for positive content-box scroll gutter when requested by providing computedVal + if ( !isBorderBox && computedVal >= 0 ) { + + // offsetWidth/offsetHeight is a rounded sum of content, padding, scroll gutter, and border + // Assuming integer scroll gutter, subtract the rest and round down + delta += Math.max( 0, Math.ceil( + elem[ "offset" + dimension[ 0 ].toUpperCase() + dimension.slice( 1 ) ] - + computedVal - + delta - + extra - + 0.5 + ) ); + } + + return delta; +} + +function getWidthOrHeight( elem, dimension, extra ) { + + // Start with computed style + var styles = getStyles( elem ), + val = curCSS( elem, dimension, styles ), + isBorderBox = jQuery.css( elem, "boxSizing", false, styles ) === "border-box", + valueIsBorderBox = isBorderBox; + + // Support: Firefox <=54 + // Return a confounding non-pixel value or feign ignorance, as appropriate. + if ( rnumnonpx.test( val ) ) { + if ( !extra ) { + return val; + } + val = "auto"; + } + + // Check for style in case a browser which returns unreliable values + // for getComputedStyle silently falls back to the reliable elem.style + valueIsBorderBox = valueIsBorderBox && + ( support.boxSizingReliable() || val === elem.style[ dimension ] ); + + // Fall back to offsetWidth/offsetHeight when value is "auto" + // This happens for inline elements with no explicit setting (gh-3571) + // Support: Android <=4.1 - 4.3 only + // Also use offsetWidth/offsetHeight for misreported inline dimensions (gh-3602) + if ( val === "auto" || + !parseFloat( val ) && jQuery.css( elem, "display", false, styles ) === "inline" ) { + + val = elem[ "offset" + dimension[ 0 ].toUpperCase() + dimension.slice( 1 ) ]; + + // offsetWidth/offsetHeight provide border-box values + valueIsBorderBox = true; + } + + // Normalize "" and auto + val = parseFloat( val ) || 0; + + // Adjust for the element's box model + return ( val + + boxModelAdjustment( + elem, + dimension, + extra || ( isBorderBox ? "border" : "content" ), + valueIsBorderBox, + styles, + + // Provide the current computed size to request scroll gutter calculation (gh-3589) + val + ) + ) + "px"; +} + +jQuery.extend( { + + // Add in style property hooks for overriding the default + // behavior of getting and setting a style property + cssHooks: { + opacity: { + get: function( elem, computed ) { + if ( computed ) { + + // We should always get a number back from opacity + var ret = curCSS( elem, "opacity" ); + return ret === "" ? "1" : ret; + } + } + } + }, + + // Don't automatically add "px" to these possibly-unitless properties + cssNumber: { + "animationIterationCount": true, + "columnCount": true, + "fillOpacity": true, + "flexGrow": true, + "flexShrink": true, + "fontWeight": true, + "lineHeight": true, + "opacity": true, + "order": true, + "orphans": true, + "widows": true, + "zIndex": true, + "zoom": true + }, + + // Add in properties whose names you wish to fix before + // setting or getting the value + cssProps: {}, + + // Get and set the style property on a DOM Node + style: function( elem, name, value, extra ) { + + // Don't set styles on text and comment nodes + if ( !elem || elem.nodeType === 3 || elem.nodeType === 8 || !elem.style ) { + return; + } + + // Make sure that we're working with the right name + var ret, type, hooks, + origName = camelCase( name ), + isCustomProp = rcustomProp.test( name ), + style = elem.style; + + // Make sure that we're working with the right name. We don't + // want to query the value if it is a CSS custom property + // since they are user-defined. + if ( !isCustomProp ) { + name = finalPropName( origName ); + } + + // Gets hook for the prefixed version, then unprefixed version + hooks = jQuery.cssHooks[ name ] || jQuery.cssHooks[ origName ]; + + // Check if we're setting a value + if ( value !== undefined ) { + type = typeof value; + + // Convert "+=" or "-=" to relative numbers (#7345) + if ( type === "string" && ( ret = rcssNum.exec( value ) ) && ret[ 1 ] ) { + value = adjustCSS( elem, name, ret ); + + // Fixes bug #9237 + type = "number"; + } + + // Make sure that null and NaN values aren't set (#7116) + if ( value == null || value !== value ) { + return; + } + + // If a number was passed in, add the unit (except for certain CSS properties) + if ( type === "number" ) { + value += ret && ret[ 3 ] || ( jQuery.cssNumber[ origName ] ? "" : "px" ); + } + + // background-* props affect original clone's values + if ( !support.clearCloneStyle && value === "" && name.indexOf( "background" ) === 0 ) { + style[ name ] = "inherit"; + } + + // If a hook was provided, use that value, otherwise just set the specified value + if ( !hooks || !( "set" in hooks ) || + ( value = hooks.set( elem, value, extra ) ) !== undefined ) { + + if ( isCustomProp ) { + style.setProperty( name, value ); + } else { + style[ name ] = value; + } + } + + } else { + + // If a hook was provided get the non-computed value from there + if ( hooks && "get" in hooks && + ( ret = hooks.get( elem, false, extra ) ) !== undefined ) { + + return ret; + } + + // Otherwise just get the value from the style object + return style[ name ]; + } + }, + + css: function( elem, name, extra, styles ) { + var val, num, hooks, + origName = camelCase( name ), + isCustomProp = rcustomProp.test( name ); + + // Make sure that we're working with the right name. We don't + // want to modify the value if it is a CSS custom property + // since they are user-defined. + if ( !isCustomProp ) { + name = finalPropName( origName ); + } + + // Try prefixed name followed by the unprefixed name + hooks = jQuery.cssHooks[ name ] || jQuery.cssHooks[ origName ]; + + // If a hook was provided get the computed value from there + if ( hooks && "get" in hooks ) { + val = hooks.get( elem, true, extra ); + } + + // Otherwise, if a way to get the computed value exists, use that + if ( val === undefined ) { + val = curCSS( elem, name, styles ); + } + + // Convert "normal" to computed value + if ( val === "normal" && name in cssNormalTransform ) { + val = cssNormalTransform[ name ]; + } + + // Make numeric if forced or a qualifier was provided and val looks numeric + if ( extra === "" || extra ) { + num = parseFloat( val ); + return extra === true || isFinite( num ) ? num || 0 : val; + } + + return val; + } +} ); + +jQuery.each( [ "height", "width" ], function( i, dimension ) { + jQuery.cssHooks[ dimension ] = { + get: function( elem, computed, extra ) { + if ( computed ) { + + // Certain elements can have dimension info if we invisibly show them + // but it must have a current display style that would benefit + return rdisplayswap.test( jQuery.css( elem, "display" ) ) && + + // Support: Safari 8+ + // Table columns in Safari have non-zero offsetWidth & zero + // getBoundingClientRect().width unless display is changed. + // Support: IE <=11 only + // Running getBoundingClientRect on a disconnected node + // in IE throws an error. + ( !elem.getClientRects().length || !elem.getBoundingClientRect().width ) ? + swap( elem, cssShow, function() { + return getWidthOrHeight( elem, dimension, extra ); + } ) : + getWidthOrHeight( elem, dimension, extra ); + } + }, + + set: function( elem, value, extra ) { + var matches, + styles = getStyles( elem ), + isBorderBox = jQuery.css( elem, "boxSizing", false, styles ) === "border-box", + subtract = extra && boxModelAdjustment( + elem, + dimension, + extra, + isBorderBox, + styles + ); + + // Account for unreliable border-box dimensions by comparing offset* to computed and + // faking a content-box to get border and padding (gh-3699) + if ( isBorderBox && support.scrollboxSize() === styles.position ) { + subtract -= Math.ceil( + elem[ "offset" + dimension[ 0 ].toUpperCase() + dimension.slice( 1 ) ] - + parseFloat( styles[ dimension ] ) - + boxModelAdjustment( elem, dimension, "border", false, styles ) - + 0.5 + ); + } + + // Convert to pixels if value adjustment is needed + if ( subtract && ( matches = rcssNum.exec( value ) ) && + ( matches[ 3 ] || "px" ) !== "px" ) { + + elem.style[ dimension ] = value; + value = jQuery.css( elem, dimension ); + } + + return setPositiveNumber( elem, value, subtract ); + } + }; +} ); + +jQuery.cssHooks.marginLeft = addGetHookIf( support.reliableMarginLeft, + function( elem, computed ) { + if ( computed ) { + return ( parseFloat( curCSS( elem, "marginLeft" ) ) || + elem.getBoundingClientRect().left - + swap( elem, { marginLeft: 0 }, function() { + return elem.getBoundingClientRect().left; + } ) + ) + "px"; + } + } +); + +// These hooks are used by animate to expand properties +jQuery.each( { + margin: "", + padding: "", + border: "Width" +}, function( prefix, suffix ) { + jQuery.cssHooks[ prefix + suffix ] = { + expand: function( value ) { + var i = 0, + expanded = {}, + + // Assumes a single number if not a string + parts = typeof value === "string" ? value.split( " " ) : [ value ]; + + for ( ; i < 4; i++ ) { + expanded[ prefix + cssExpand[ i ] + suffix ] = + parts[ i ] || parts[ i - 2 ] || parts[ 0 ]; + } + + return expanded; + } + }; + + if ( prefix !== "margin" ) { + jQuery.cssHooks[ prefix + suffix ].set = setPositiveNumber; + } +} ); + +jQuery.fn.extend( { + css: function( name, value ) { + return access( this, function( elem, name, value ) { + var styles, len, + map = {}, + i = 0; + + if ( Array.isArray( name ) ) { + styles = getStyles( elem ); + len = name.length; + + for ( ; i < len; i++ ) { + map[ name[ i ] ] = jQuery.css( elem, name[ i ], false, styles ); + } + + return map; + } + + return value !== undefined ? + jQuery.style( elem, name, value ) : + jQuery.css( elem, name ); + }, name, value, arguments.length > 1 ); + } +} ); + + +function Tween( elem, options, prop, end, easing ) { + return new Tween.prototype.init( elem, options, prop, end, easing ); +} +jQuery.Tween = Tween; + +Tween.prototype = { + constructor: Tween, + init: function( elem, options, prop, end, easing, unit ) { + this.elem = elem; + this.prop = prop; + this.easing = easing || jQuery.easing._default; + this.options = options; + this.start = this.now = this.cur(); + this.end = end; + this.unit = unit || ( jQuery.cssNumber[ prop ] ? "" : "px" ); + }, + cur: function() { + var hooks = Tween.propHooks[ this.prop ]; + + return hooks && hooks.get ? + hooks.get( this ) : + Tween.propHooks._default.get( this ); + }, + run: function( percent ) { + var eased, + hooks = Tween.propHooks[ this.prop ]; + + if ( this.options.duration ) { + this.pos = eased = jQuery.easing[ this.easing ]( + percent, this.options.duration * percent, 0, 1, this.options.duration + ); + } else { + this.pos = eased = percent; + } + this.now = ( this.end - this.start ) * eased + this.start; + + if ( this.options.step ) { + this.options.step.call( this.elem, this.now, this ); + } + + if ( hooks && hooks.set ) { + hooks.set( this ); + } else { + Tween.propHooks._default.set( this ); + } + return this; + } +}; + +Tween.prototype.init.prototype = Tween.prototype; + +Tween.propHooks = { + _default: { + get: function( tween ) { + var result; + + // Use a property on the element directly when it is not a DOM element, + // or when there is no matching style property that exists. + if ( tween.elem.nodeType !== 1 || + tween.elem[ tween.prop ] != null && tween.elem.style[ tween.prop ] == null ) { + return tween.elem[ tween.prop ]; + } + + // Passing an empty string as a 3rd parameter to .css will automatically + // attempt a parseFloat and fallback to a string if the parse fails. + // Simple values such as "10px" are parsed to Float; + // complex values such as "rotate(1rad)" are returned as-is. + result = jQuery.css( tween.elem, tween.prop, "" ); + + // Empty strings, null, undefined and "auto" are converted to 0. + return !result || result === "auto" ? 0 : result; + }, + set: function( tween ) { + + // Use step hook for back compat. + // Use cssHook if its there. + // Use .style if available and use plain properties where available. + if ( jQuery.fx.step[ tween.prop ] ) { + jQuery.fx.step[ tween.prop ]( tween ); + } else if ( tween.elem.nodeType === 1 && + ( tween.elem.style[ jQuery.cssProps[ tween.prop ] ] != null || + jQuery.cssHooks[ tween.prop ] ) ) { + jQuery.style( tween.elem, tween.prop, tween.now + tween.unit ); + } else { + tween.elem[ tween.prop ] = tween.now; + } + } + } +}; + +// Support: IE <=9 only +// Panic based approach to setting things on disconnected nodes +Tween.propHooks.scrollTop = Tween.propHooks.scrollLeft = { + set: function( tween ) { + if ( tween.elem.nodeType && tween.elem.parentNode ) { + tween.elem[ tween.prop ] = tween.now; + } + } +}; + +jQuery.easing = { + linear: function( p ) { + return p; + }, + swing: function( p ) { + return 0.5 - Math.cos( p * Math.PI ) / 2; + }, + _default: "swing" +}; + +jQuery.fx = Tween.prototype.init; + +// Back compat <1.8 extension point +jQuery.fx.step = {}; + + + + +var + fxNow, inProgress, + rfxtypes = /^(?:toggle|show|hide)$/, + rrun = /queueHooks$/; + +function schedule() { + if ( inProgress ) { + if ( document.hidden === false && window.requestAnimationFrame ) { + window.requestAnimationFrame( schedule ); + } else { + window.setTimeout( schedule, jQuery.fx.interval ); + } + + jQuery.fx.tick(); + } +} + +// Animations created synchronously will run synchronously +function createFxNow() { + window.setTimeout( function() { + fxNow = undefined; + } ); + return ( fxNow = Date.now() ); +} + +// Generate parameters to create a standard animation +function genFx( type, includeWidth ) { + var which, + i = 0, + attrs = { height: type }; + + // If we include width, step value is 1 to do all cssExpand values, + // otherwise step value is 2 to skip over Left and Right + includeWidth = includeWidth ? 1 : 0; + for ( ; i < 4; i += 2 - includeWidth ) { + which = cssExpand[ i ]; + attrs[ "margin" + which ] = attrs[ "padding" + which ] = type; + } + + if ( includeWidth ) { + attrs.opacity = attrs.width = type; + } + + return attrs; +} + +function createTween( value, prop, animation ) { + var tween, + collection = ( Animation.tweeners[ prop ] || [] ).concat( Animation.tweeners[ "*" ] ), + index = 0, + length = collection.length; + for ( ; index < length; index++ ) { + if ( ( tween = collection[ index ].call( animation, prop, value ) ) ) { + + // We're done with this property + return tween; + } + } +} + +function defaultPrefilter( elem, props, opts ) { + var prop, value, toggle, hooks, oldfire, propTween, restoreDisplay, display, + isBox = "width" in props || "height" in props, + anim = this, + orig = {}, + style = elem.style, + hidden = elem.nodeType && isHiddenWithinTree( elem ), + dataShow = dataPriv.get( elem, "fxshow" ); + + // Queue-skipping animations hijack the fx hooks + if ( !opts.queue ) { + hooks = jQuery._queueHooks( elem, "fx" ); + if ( hooks.unqueued == null ) { + hooks.unqueued = 0; + oldfire = hooks.empty.fire; + hooks.empty.fire = function() { + if ( !hooks.unqueued ) { + oldfire(); + } + }; + } + hooks.unqueued++; + + anim.always( function() { + + // Ensure the complete handler is called before this completes + anim.always( function() { + hooks.unqueued--; + if ( !jQuery.queue( elem, "fx" ).length ) { + hooks.empty.fire(); + } + } ); + } ); + } + + // Detect show/hide animations + for ( prop in props ) { + value = props[ prop ]; + if ( rfxtypes.test( value ) ) { + delete props[ prop ]; + toggle = toggle || value === "toggle"; + if ( value === ( hidden ? "hide" : "show" ) ) { + + // Pretend to be hidden if this is a "show" and + // there is still data from a stopped show/hide + if ( value === "show" && dataShow && dataShow[ prop ] !== undefined ) { + hidden = true; + + // Ignore all other no-op show/hide data + } else { + continue; + } + } + orig[ prop ] = dataShow && dataShow[ prop ] || jQuery.style( elem, prop ); + } + } + + // Bail out if this is a no-op like .hide().hide() + propTween = !jQuery.isEmptyObject( props ); + if ( !propTween && jQuery.isEmptyObject( orig ) ) { + return; + } + + // Restrict "overflow" and "display" styles during box animations + if ( isBox && elem.nodeType === 1 ) { + + // Support: IE <=9 - 11, Edge 12 - 15 + // Record all 3 overflow attributes because IE does not infer the shorthand + // from identically-valued overflowX and overflowY and Edge just mirrors + // the overflowX value there. + opts.overflow = [ style.overflow, style.overflowX, style.overflowY ]; + + // Identify a display type, preferring old show/hide data over the CSS cascade + restoreDisplay = dataShow && dataShow.display; + if ( restoreDisplay == null ) { + restoreDisplay = dataPriv.get( elem, "display" ); + } + display = jQuery.css( elem, "display" ); + if ( display === "none" ) { + if ( restoreDisplay ) { + display = restoreDisplay; + } else { + + // Get nonempty value(s) by temporarily forcing visibility + showHide( [ elem ], true ); + restoreDisplay = elem.style.display || restoreDisplay; + display = jQuery.css( elem, "display" ); + showHide( [ elem ] ); + } + } + + // Animate inline elements as inline-block + if ( display === "inline" || display === "inline-block" && restoreDisplay != null ) { + if ( jQuery.css( elem, "float" ) === "none" ) { + + // Restore the original display value at the end of pure show/hide animations + if ( !propTween ) { + anim.done( function() { + style.display = restoreDisplay; + } ); + if ( restoreDisplay == null ) { + display = style.display; + restoreDisplay = display === "none" ? "" : display; + } + } + style.display = "inline-block"; + } + } + } + + if ( opts.overflow ) { + style.overflow = "hidden"; + anim.always( function() { + style.overflow = opts.overflow[ 0 ]; + style.overflowX = opts.overflow[ 1 ]; + style.overflowY = opts.overflow[ 2 ]; + } ); + } + + // Implement show/hide animations + propTween = false; + for ( prop in orig ) { + + // General show/hide setup for this element animation + if ( !propTween ) { + if ( dataShow ) { + if ( "hidden" in dataShow ) { + hidden = dataShow.hidden; + } + } else { + dataShow = dataPriv.access( elem, "fxshow", { display: restoreDisplay } ); + } + + // Store hidden/visible for toggle so `.stop().toggle()` "reverses" + if ( toggle ) { + dataShow.hidden = !hidden; + } + + // Show elements before animating them + if ( hidden ) { + showHide( [ elem ], true ); + } + + /* eslint-disable no-loop-func */ + + anim.done( function() { + + /* eslint-enable no-loop-func */ + + // The final step of a "hide" animation is actually hiding the element + if ( !hidden ) { + showHide( [ elem ] ); + } + dataPriv.remove( elem, "fxshow" ); + for ( prop in orig ) { + jQuery.style( elem, prop, orig[ prop ] ); + } + } ); + } + + // Per-property setup + propTween = createTween( hidden ? dataShow[ prop ] : 0, prop, anim ); + if ( !( prop in dataShow ) ) { + dataShow[ prop ] = propTween.start; + if ( hidden ) { + propTween.end = propTween.start; + propTween.start = 0; + } + } + } +} + +function propFilter( props, specialEasing ) { + var index, name, easing, value, hooks; + + // camelCase, specialEasing and expand cssHook pass + for ( index in props ) { + name = camelCase( index ); + easing = specialEasing[ name ]; + value = props[ index ]; + if ( Array.isArray( value ) ) { + easing = value[ 1 ]; + value = props[ index ] = value[ 0 ]; + } + + if ( index !== name ) { + props[ name ] = value; + delete props[ index ]; + } + + hooks = jQuery.cssHooks[ name ]; + if ( hooks && "expand" in hooks ) { + value = hooks.expand( value ); + delete props[ name ]; + + // Not quite $.extend, this won't overwrite existing keys. + // Reusing 'index' because we have the correct "name" + for ( index in value ) { + if ( !( index in props ) ) { + props[ index ] = value[ index ]; + specialEasing[ index ] = easing; + } + } + } else { + specialEasing[ name ] = easing; + } + } +} + +function Animation( elem, properties, options ) { + var result, + stopped, + index = 0, + length = Animation.prefilters.length, + deferred = jQuery.Deferred().always( function() { + + // Don't match elem in the :animated selector + delete tick.elem; + } ), + tick = function() { + if ( stopped ) { + return false; + } + var currentTime = fxNow || createFxNow(), + remaining = Math.max( 0, animation.startTime + animation.duration - currentTime ), + + // Support: Android 2.3 only + // Archaic crash bug won't allow us to use `1 - ( 0.5 || 0 )` (#12497) + temp = remaining / animation.duration || 0, + percent = 1 - temp, + index = 0, + length = animation.tweens.length; + + for ( ; index < length; index++ ) { + animation.tweens[ index ].run( percent ); + } + + deferred.notifyWith( elem, [ animation, percent, remaining ] ); + + // If there's more to do, yield + if ( percent < 1 && length ) { + return remaining; + } + + // If this was an empty animation, synthesize a final progress notification + if ( !length ) { + deferred.notifyWith( elem, [ animation, 1, 0 ] ); + } + + // Resolve the animation and report its conclusion + deferred.resolveWith( elem, [ animation ] ); + return false; + }, + animation = deferred.promise( { + elem: elem, + props: jQuery.extend( {}, properties ), + opts: jQuery.extend( true, { + specialEasing: {}, + easing: jQuery.easing._default + }, options ), + originalProperties: properties, + originalOptions: options, + startTime: fxNow || createFxNow(), + duration: options.duration, + tweens: [], + createTween: function( prop, end ) { + var tween = jQuery.Tween( elem, animation.opts, prop, end, + animation.opts.specialEasing[ prop ] || animation.opts.easing ); + animation.tweens.push( tween ); + return tween; + }, + stop: function( gotoEnd ) { + var index = 0, + + // If we are going to the end, we want to run all the tweens + // otherwise we skip this part + length = gotoEnd ? animation.tweens.length : 0; + if ( stopped ) { + return this; + } + stopped = true; + for ( ; index < length; index++ ) { + animation.tweens[ index ].run( 1 ); + } + + // Resolve when we played the last frame; otherwise, reject + if ( gotoEnd ) { + deferred.notifyWith( elem, [ animation, 1, 0 ] ); + deferred.resolveWith( elem, [ animation, gotoEnd ] ); + } else { + deferred.rejectWith( elem, [ animation, gotoEnd ] ); + } + return this; + } + } ), + props = animation.props; + + propFilter( props, animation.opts.specialEasing ); + + for ( ; index < length; index++ ) { + result = Animation.prefilters[ index ].call( animation, elem, props, animation.opts ); + if ( result ) { + if ( isFunction( result.stop ) ) { + jQuery._queueHooks( animation.elem, animation.opts.queue ).stop = + result.stop.bind( result ); + } + return result; + } + } + + jQuery.map( props, createTween, animation ); + + if ( isFunction( animation.opts.start ) ) { + animation.opts.start.call( elem, animation ); + } + + // Attach callbacks from options + animation + .progress( animation.opts.progress ) + .done( animation.opts.done, animation.opts.complete ) + .fail( animation.opts.fail ) + .always( animation.opts.always ); + + jQuery.fx.timer( + jQuery.extend( tick, { + elem: elem, + anim: animation, + queue: animation.opts.queue + } ) + ); + + return animation; +} + +jQuery.Animation = jQuery.extend( Animation, { + + tweeners: { + "*": [ function( prop, value ) { + var tween = this.createTween( prop, value ); + adjustCSS( tween.elem, prop, rcssNum.exec( value ), tween ); + return tween; + } ] + }, + + tweener: function( props, callback ) { + if ( isFunction( props ) ) { + callback = props; + props = [ "*" ]; + } else { + props = props.match( rnothtmlwhite ); + } + + var prop, + index = 0, + length = props.length; + + for ( ; index < length; index++ ) { + prop = props[ index ]; + Animation.tweeners[ prop ] = Animation.tweeners[ prop ] || []; + Animation.tweeners[ prop ].unshift( callback ); + } + }, + + prefilters: [ defaultPrefilter ], + + prefilter: function( callback, prepend ) { + if ( prepend ) { + Animation.prefilters.unshift( callback ); + } else { + Animation.prefilters.push( callback ); + } + } +} ); + +jQuery.speed = function( speed, easing, fn ) { + var opt = speed && typeof speed === "object" ? jQuery.extend( {}, speed ) : { + complete: fn || !fn && easing || + isFunction( speed ) && speed, + duration: speed, + easing: fn && easing || easing && !isFunction( easing ) && easing + }; + + // Go to the end state if fx are off + if ( jQuery.fx.off ) { + opt.duration = 0; + + } else { + if ( typeof opt.duration !== "number" ) { + if ( opt.duration in jQuery.fx.speeds ) { + opt.duration = jQuery.fx.speeds[ opt.duration ]; + + } else { + opt.duration = jQuery.fx.speeds._default; + } + } + } + + // Normalize opt.queue - true/undefined/null -> "fx" + if ( opt.queue == null || opt.queue === true ) { + opt.queue = "fx"; + } + + // Queueing + opt.old = opt.complete; + + opt.complete = function() { + if ( isFunction( opt.old ) ) { + opt.old.call( this ); + } + + if ( opt.queue ) { + jQuery.dequeue( this, opt.queue ); + } + }; + + return opt; +}; + +jQuery.fn.extend( { + fadeTo: function( speed, to, easing, callback ) { + + // Show any hidden elements after setting opacity to 0 + return this.filter( isHiddenWithinTree ).css( "opacity", 0 ).show() + + // Animate to the value specified + .end().animate( { opacity: to }, speed, easing, callback ); + }, + animate: function( prop, speed, easing, callback ) { + var empty = jQuery.isEmptyObject( prop ), + optall = jQuery.speed( speed, easing, callback ), + doAnimation = function() { + + // Operate on a copy of prop so per-property easing won't be lost + var anim = Animation( this, jQuery.extend( {}, prop ), optall ); + + // Empty animations, or finishing resolves immediately + if ( empty || dataPriv.get( this, "finish" ) ) { + anim.stop( true ); + } + }; + doAnimation.finish = doAnimation; + + return empty || optall.queue === false ? + this.each( doAnimation ) : + this.queue( optall.queue, doAnimation ); + }, + stop: function( type, clearQueue, gotoEnd ) { + var stopQueue = function( hooks ) { + var stop = hooks.stop; + delete hooks.stop; + stop( gotoEnd ); + }; + + if ( typeof type !== "string" ) { + gotoEnd = clearQueue; + clearQueue = type; + type = undefined; + } + if ( clearQueue && type !== false ) { + this.queue( type || "fx", [] ); + } + + return this.each( function() { + var dequeue = true, + index = type != null && type + "queueHooks", + timers = jQuery.timers, + data = dataPriv.get( this ); + + if ( index ) { + if ( data[ index ] && data[ index ].stop ) { + stopQueue( data[ index ] ); + } + } else { + for ( index in data ) { + if ( data[ index ] && data[ index ].stop && rrun.test( index ) ) { + stopQueue( data[ index ] ); + } + } + } + + for ( index = timers.length; index--; ) { + if ( timers[ index ].elem === this && + ( type == null || timers[ index ].queue === type ) ) { + + timers[ index ].anim.stop( gotoEnd ); + dequeue = false; + timers.splice( index, 1 ); + } + } + + // Start the next in the queue if the last step wasn't forced. + // Timers currently will call their complete callbacks, which + // will dequeue but only if they were gotoEnd. + if ( dequeue || !gotoEnd ) { + jQuery.dequeue( this, type ); + } + } ); + }, + finish: function( type ) { + if ( type !== false ) { + type = type || "fx"; + } + return this.each( function() { + var index, + data = dataPriv.get( this ), + queue = data[ type + "queue" ], + hooks = data[ type + "queueHooks" ], + timers = jQuery.timers, + length = queue ? queue.length : 0; + + // Enable finishing flag on private data + data.finish = true; + + // Empty the queue first + jQuery.queue( this, type, [] ); + + if ( hooks && hooks.stop ) { + hooks.stop.call( this, true ); + } + + // Look for any active animations, and finish them + for ( index = timers.length; index--; ) { + if ( timers[ index ].elem === this && timers[ index ].queue === type ) { + timers[ index ].anim.stop( true ); + timers.splice( index, 1 ); + } + } + + // Look for any animations in the old queue and finish them + for ( index = 0; index < length; index++ ) { + if ( queue[ index ] && queue[ index ].finish ) { + queue[ index ].finish.call( this ); + } + } + + // Turn off finishing flag + delete data.finish; + } ); + } +} ); + +jQuery.each( [ "toggle", "show", "hide" ], function( i, name ) { + var cssFn = jQuery.fn[ name ]; + jQuery.fn[ name ] = function( speed, easing, callback ) { + return speed == null || typeof speed === "boolean" ? + cssFn.apply( this, arguments ) : + this.animate( genFx( name, true ), speed, easing, callback ); + }; +} ); + +// Generate shortcuts for custom animations +jQuery.each( { + slideDown: genFx( "show" ), + slideUp: genFx( "hide" ), + slideToggle: genFx( "toggle" ), + fadeIn: { opacity: "show" }, + fadeOut: { opacity: "hide" }, + fadeToggle: { opacity: "toggle" } +}, function( name, props ) { + jQuery.fn[ name ] = function( speed, easing, callback ) { + return this.animate( props, speed, easing, callback ); + }; +} ); + +jQuery.timers = []; +jQuery.fx.tick = function() { + var timer, + i = 0, + timers = jQuery.timers; + + fxNow = Date.now(); + + for ( ; i < timers.length; i++ ) { + timer = timers[ i ]; + + // Run the timer and safely remove it when done (allowing for external removal) + if ( !timer() && timers[ i ] === timer ) { + timers.splice( i--, 1 ); + } + } + + if ( !timers.length ) { + jQuery.fx.stop(); + } + fxNow = undefined; +}; + +jQuery.fx.timer = function( timer ) { + jQuery.timers.push( timer ); + jQuery.fx.start(); +}; + +jQuery.fx.interval = 13; +jQuery.fx.start = function() { + if ( inProgress ) { + return; + } + + inProgress = true; + schedule(); +}; + +jQuery.fx.stop = function() { + inProgress = null; +}; + +jQuery.fx.speeds = { + slow: 600, + fast: 200, + + // Default speed + _default: 400 +}; + + +// Based off of the plugin by Clint Helfers, with permission. +// https://web.archive.org/web/20100324014747/http://blindsignals.com/index.php/2009/07/jquery-delay/ +jQuery.fn.delay = function( time, type ) { + time = jQuery.fx ? jQuery.fx.speeds[ time ] || time : time; + type = type || "fx"; + + return this.queue( type, function( next, hooks ) { + var timeout = window.setTimeout( next, time ); + hooks.stop = function() { + window.clearTimeout( timeout ); + }; + } ); +}; + + +( function() { + var input = document.createElement( "input" ), + select = document.createElement( "select" ), + opt = select.appendChild( document.createElement( "option" ) ); + + input.type = "checkbox"; + + // Support: Android <=4.3 only + // Default value for a checkbox should be "on" + support.checkOn = input.value !== ""; + + // Support: IE <=11 only + // Must access selectedIndex to make default options select + support.optSelected = opt.selected; + + // Support: IE <=11 only + // An input loses its value after becoming a radio + input = document.createElement( "input" ); + input.value = "t"; + input.type = "radio"; + support.radioValue = input.value === "t"; +} )(); + + +var boolHook, + attrHandle = jQuery.expr.attrHandle; + +jQuery.fn.extend( { + attr: function( name, value ) { + return access( this, jQuery.attr, name, value, arguments.length > 1 ); + }, + + removeAttr: function( name ) { + return this.each( function() { + jQuery.removeAttr( this, name ); + } ); + } +} ); + +jQuery.extend( { + attr: function( elem, name, value ) { + var ret, hooks, + nType = elem.nodeType; + + // Don't get/set attributes on text, comment and attribute nodes + if ( nType === 3 || nType === 8 || nType === 2 ) { + return; + } + + // Fallback to prop when attributes are not supported + if ( typeof elem.getAttribute === "undefined" ) { + return jQuery.prop( elem, name, value ); + } + + // Attribute hooks are determined by the lowercase version + // Grab necessary hook if one is defined + if ( nType !== 1 || !jQuery.isXMLDoc( elem ) ) { + hooks = jQuery.attrHooks[ name.toLowerCase() ] || + ( jQuery.expr.match.bool.test( name ) ? boolHook : undefined ); + } + + if ( value !== undefined ) { + if ( value === null ) { + jQuery.removeAttr( elem, name ); + return; + } + + if ( hooks && "set" in hooks && + ( ret = hooks.set( elem, value, name ) ) !== undefined ) { + return ret; + } + + elem.setAttribute( name, value + "" ); + return value; + } + + if ( hooks && "get" in hooks && ( ret = hooks.get( elem, name ) ) !== null ) { + return ret; + } + + ret = jQuery.find.attr( elem, name ); + + // Non-existent attributes return null, we normalize to undefined + return ret == null ? undefined : ret; + }, + + attrHooks: { + type: { + set: function( elem, value ) { + if ( !support.radioValue && value === "radio" && + nodeName( elem, "input" ) ) { + var val = elem.value; + elem.setAttribute( "type", value ); + if ( val ) { + elem.value = val; + } + return value; + } + } + } + }, + + removeAttr: function( elem, value ) { + var name, + i = 0, + + // Attribute names can contain non-HTML whitespace characters + // https://html.spec.whatwg.org/multipage/syntax.html#attributes-2 + attrNames = value && value.match( rnothtmlwhite ); + + if ( attrNames && elem.nodeType === 1 ) { + while ( ( name = attrNames[ i++ ] ) ) { + elem.removeAttribute( name ); + } + } + } +} ); + +// Hooks for boolean attributes +boolHook = { + set: function( elem, value, name ) { + if ( value === false ) { + + // Remove boolean attributes when set to false + jQuery.removeAttr( elem, name ); + } else { + elem.setAttribute( name, name ); + } + return name; + } +}; + +jQuery.each( jQuery.expr.match.bool.source.match( /\w+/g ), function( i, name ) { + var getter = attrHandle[ name ] || jQuery.find.attr; + + attrHandle[ name ] = function( elem, name, isXML ) { + var ret, handle, + lowercaseName = name.toLowerCase(); + + if ( !isXML ) { + + // Avoid an infinite loop by temporarily removing this function from the getter + handle = attrHandle[ lowercaseName ]; + attrHandle[ lowercaseName ] = ret; + ret = getter( elem, name, isXML ) != null ? + lowercaseName : + null; + attrHandle[ lowercaseName ] = handle; + } + return ret; + }; +} ); + + + + +var rfocusable = /^(?:input|select|textarea|button)$/i, + rclickable = /^(?:a|area)$/i; + +jQuery.fn.extend( { + prop: function( name, value ) { + return access( this, jQuery.prop, name, value, arguments.length > 1 ); + }, + + removeProp: function( name ) { + return this.each( function() { + delete this[ jQuery.propFix[ name ] || name ]; + } ); + } +} ); + +jQuery.extend( { + prop: function( elem, name, value ) { + var ret, hooks, + nType = elem.nodeType; + + // Don't get/set properties on text, comment and attribute nodes + if ( nType === 3 || nType === 8 || nType === 2 ) { + return; + } + + if ( nType !== 1 || !jQuery.isXMLDoc( elem ) ) { + + // Fix name and attach hooks + name = jQuery.propFix[ name ] || name; + hooks = jQuery.propHooks[ name ]; + } + + if ( value !== undefined ) { + if ( hooks && "set" in hooks && + ( ret = hooks.set( elem, value, name ) ) !== undefined ) { + return ret; + } + + return ( elem[ name ] = value ); + } + + if ( hooks && "get" in hooks && ( ret = hooks.get( elem, name ) ) !== null ) { + return ret; + } + + return elem[ name ]; + }, + + propHooks: { + tabIndex: { + get: function( elem ) { + + // Support: IE <=9 - 11 only + // elem.tabIndex doesn't always return the + // correct value when it hasn't been explicitly set + // https://web.archive.org/web/20141116233347/http://fluidproject.org/blog/2008/01/09/getting-setting-and-removing-tabindex-values-with-javascript/ + // Use proper attribute retrieval(#12072) + var tabindex = jQuery.find.attr( elem, "tabindex" ); + + if ( tabindex ) { + return parseInt( tabindex, 10 ); + } + + if ( + rfocusable.test( elem.nodeName ) || + rclickable.test( elem.nodeName ) && + elem.href + ) { + return 0; + } + + return -1; + } + } + }, + + propFix: { + "for": "htmlFor", + "class": "className" + } +} ); + +// Support: IE <=11 only +// Accessing the selectedIndex property +// forces the browser to respect setting selected +// on the option +// The getter ensures a default option is selected +// when in an optgroup +// eslint rule "no-unused-expressions" is disabled for this code +// since it considers such accessions noop +if ( !support.optSelected ) { + jQuery.propHooks.selected = { + get: function( elem ) { + + /* eslint no-unused-expressions: "off" */ + + var parent = elem.parentNode; + if ( parent && parent.parentNode ) { + parent.parentNode.selectedIndex; + } + return null; + }, + set: function( elem ) { + + /* eslint no-unused-expressions: "off" */ + + var parent = elem.parentNode; + if ( parent ) { + parent.selectedIndex; + + if ( parent.parentNode ) { + parent.parentNode.selectedIndex; + } + } + } + }; +} + +jQuery.each( [ + "tabIndex", + "readOnly", + "maxLength", + "cellSpacing", + "cellPadding", + "rowSpan", + "colSpan", + "useMap", + "frameBorder", + "contentEditable" +], function() { + jQuery.propFix[ this.toLowerCase() ] = this; +} ); + + + + + // Strip and collapse whitespace according to HTML spec + // https://infra.spec.whatwg.org/#strip-and-collapse-ascii-whitespace + function stripAndCollapse( value ) { + var tokens = value.match( rnothtmlwhite ) || []; + return tokens.join( " " ); + } + + +function getClass( elem ) { + return elem.getAttribute && elem.getAttribute( "class" ) || ""; +} + +function classesToArray( value ) { + if ( Array.isArray( value ) ) { + return value; + } + if ( typeof value === "string" ) { + return value.match( rnothtmlwhite ) || []; + } + return []; +} + +jQuery.fn.extend( { + addClass: function( value ) { + var classes, elem, cur, curValue, clazz, j, finalValue, + i = 0; + + if ( isFunction( value ) ) { + return this.each( function( j ) { + jQuery( this ).addClass( value.call( this, j, getClass( this ) ) ); + } ); + } + + classes = classesToArray( value ); + + if ( classes.length ) { + while ( ( elem = this[ i++ ] ) ) { + curValue = getClass( elem ); + cur = elem.nodeType === 1 && ( " " + stripAndCollapse( curValue ) + " " ); + + if ( cur ) { + j = 0; + while ( ( clazz = classes[ j++ ] ) ) { + if ( cur.indexOf( " " + clazz + " " ) < 0 ) { + cur += clazz + " "; + } + } + + // Only assign if different to avoid unneeded rendering. + finalValue = stripAndCollapse( cur ); + if ( curValue !== finalValue ) { + elem.setAttribute( "class", finalValue ); + } + } + } + } + + return this; + }, + + removeClass: function( value ) { + var classes, elem, cur, curValue, clazz, j, finalValue, + i = 0; + + if ( isFunction( value ) ) { + return this.each( function( j ) { + jQuery( this ).removeClass( value.call( this, j, getClass( this ) ) ); + } ); + } + + if ( !arguments.length ) { + return this.attr( "class", "" ); + } + + classes = classesToArray( value ); + + if ( classes.length ) { + while ( ( elem = this[ i++ ] ) ) { + curValue = getClass( elem ); + + // This expression is here for better compressibility (see addClass) + cur = elem.nodeType === 1 && ( " " + stripAndCollapse( curValue ) + " " ); + + if ( cur ) { + j = 0; + while ( ( clazz = classes[ j++ ] ) ) { + + // Remove *all* instances + while ( cur.indexOf( " " + clazz + " " ) > -1 ) { + cur = cur.replace( " " + clazz + " ", " " ); + } + } + + // Only assign if different to avoid unneeded rendering. + finalValue = stripAndCollapse( cur ); + if ( curValue !== finalValue ) { + elem.setAttribute( "class", finalValue ); + } + } + } + } + + return this; + }, + + toggleClass: function( value, stateVal ) { + var type = typeof value, + isValidValue = type === "string" || Array.isArray( value ); + + if ( typeof stateVal === "boolean" && isValidValue ) { + return stateVal ? this.addClass( value ) : this.removeClass( value ); + } + + if ( isFunction( value ) ) { + return this.each( function( i ) { + jQuery( this ).toggleClass( + value.call( this, i, getClass( this ), stateVal ), + stateVal + ); + } ); + } + + return this.each( function() { + var className, i, self, classNames; + + if ( isValidValue ) { + + // Toggle individual class names + i = 0; + self = jQuery( this ); + classNames = classesToArray( value ); + + while ( ( className = classNames[ i++ ] ) ) { + + // Check each className given, space separated list + if ( self.hasClass( className ) ) { + self.removeClass( className ); + } else { + self.addClass( className ); + } + } + + // Toggle whole class name + } else if ( value === undefined || type === "boolean" ) { + className = getClass( this ); + if ( className ) { + + // Store className if set + dataPriv.set( this, "__className__", className ); + } + + // If the element has a class name or if we're passed `false`, + // then remove the whole classname (if there was one, the above saved it). + // Otherwise bring back whatever was previously saved (if anything), + // falling back to the empty string if nothing was stored. + if ( this.setAttribute ) { + this.setAttribute( "class", + className || value === false ? + "" : + dataPriv.get( this, "__className__" ) || "" + ); + } + } + } ); + }, + + hasClass: function( selector ) { + var className, elem, + i = 0; + + className = " " + selector + " "; + while ( ( elem = this[ i++ ] ) ) { + if ( elem.nodeType === 1 && + ( " " + stripAndCollapse( getClass( elem ) ) + " " ).indexOf( className ) > -1 ) { + return true; + } + } + + return false; + } +} ); + + + + +var rreturn = /\r/g; + +jQuery.fn.extend( { + val: function( value ) { + var hooks, ret, valueIsFunction, + elem = this[ 0 ]; + + if ( !arguments.length ) { + if ( elem ) { + hooks = jQuery.valHooks[ elem.type ] || + jQuery.valHooks[ elem.nodeName.toLowerCase() ]; + + if ( hooks && + "get" in hooks && + ( ret = hooks.get( elem, "value" ) ) !== undefined + ) { + return ret; + } + + ret = elem.value; + + // Handle most common string cases + if ( typeof ret === "string" ) { + return ret.replace( rreturn, "" ); + } + + // Handle cases where value is null/undef or number + return ret == null ? "" : ret; + } + + return; + } + + valueIsFunction = isFunction( value ); + + return this.each( function( i ) { + var val; + + if ( this.nodeType !== 1 ) { + return; + } + + if ( valueIsFunction ) { + val = value.call( this, i, jQuery( this ).val() ); + } else { + val = value; + } + + // Treat null/undefined as ""; convert numbers to string + if ( val == null ) { + val = ""; + + } else if ( typeof val === "number" ) { + val += ""; + + } else if ( Array.isArray( val ) ) { + val = jQuery.map( val, function( value ) { + return value == null ? "" : value + ""; + } ); + } + + hooks = jQuery.valHooks[ this.type ] || jQuery.valHooks[ this.nodeName.toLowerCase() ]; + + // If set returns undefined, fall back to normal setting + if ( !hooks || !( "set" in hooks ) || hooks.set( this, val, "value" ) === undefined ) { + this.value = val; + } + } ); + } +} ); + +jQuery.extend( { + valHooks: { + option: { + get: function( elem ) { + + var val = jQuery.find.attr( elem, "value" ); + return val != null ? + val : + + // Support: IE <=10 - 11 only + // option.text throws exceptions (#14686, #14858) + // Strip and collapse whitespace + // https://html.spec.whatwg.org/#strip-and-collapse-whitespace + stripAndCollapse( jQuery.text( elem ) ); + } + }, + select: { + get: function( elem ) { + var value, option, i, + options = elem.options, + index = elem.selectedIndex, + one = elem.type === "select-one", + values = one ? null : [], + max = one ? index + 1 : options.length; + + if ( index < 0 ) { + i = max; + + } else { + i = one ? index : 0; + } + + // Loop through all the selected options + for ( ; i < max; i++ ) { + option = options[ i ]; + + // Support: IE <=9 only + // IE8-9 doesn't update selected after form reset (#2551) + if ( ( option.selected || i === index ) && + + // Don't return options that are disabled or in a disabled optgroup + !option.disabled && + ( !option.parentNode.disabled || + !nodeName( option.parentNode, "optgroup" ) ) ) { + + // Get the specific value for the option + value = jQuery( option ).val(); + + // We don't need an array for one selects + if ( one ) { + return value; + } + + // Multi-Selects return an array + values.push( value ); + } + } + + return values; + }, + + set: function( elem, value ) { + var optionSet, option, + options = elem.options, + values = jQuery.makeArray( value ), + i = options.length; + + while ( i-- ) { + option = options[ i ]; + + /* eslint-disable no-cond-assign */ + + if ( option.selected = + jQuery.inArray( jQuery.valHooks.option.get( option ), values ) > -1 + ) { + optionSet = true; + } + + /* eslint-enable no-cond-assign */ + } + + // Force browsers to behave consistently when non-matching value is set + if ( !optionSet ) { + elem.selectedIndex = -1; + } + return values; + } + } + } +} ); + +// Radios and checkboxes getter/setter +jQuery.each( [ "radio", "checkbox" ], function() { + jQuery.valHooks[ this ] = { + set: function( elem, value ) { + if ( Array.isArray( value ) ) { + return ( elem.checked = jQuery.inArray( jQuery( elem ).val(), value ) > -1 ); + } + } + }; + if ( !support.checkOn ) { + jQuery.valHooks[ this ].get = function( elem ) { + return elem.getAttribute( "value" ) === null ? "on" : elem.value; + }; + } +} ); + + + + +// Return jQuery for attributes-only inclusion + + +support.focusin = "onfocusin" in window; + + +var rfocusMorph = /^(?:focusinfocus|focusoutblur)$/, + stopPropagationCallback = function( e ) { + e.stopPropagation(); + }; + +jQuery.extend( jQuery.event, { + + trigger: function( event, data, elem, onlyHandlers ) { + + var i, cur, tmp, bubbleType, ontype, handle, special, lastElement, + eventPath = [ elem || document ], + type = hasOwn.call( event, "type" ) ? event.type : event, + namespaces = hasOwn.call( event, "namespace" ) ? event.namespace.split( "." ) : []; + + cur = lastElement = tmp = elem = elem || document; + + // Don't do events on text and comment nodes + if ( elem.nodeType === 3 || elem.nodeType === 8 ) { + return; + } + + // focus/blur morphs to focusin/out; ensure we're not firing them right now + if ( rfocusMorph.test( type + jQuery.event.triggered ) ) { + return; + } + + if ( type.indexOf( "." ) > -1 ) { + + // Namespaced trigger; create a regexp to match event type in handle() + namespaces = type.split( "." ); + type = namespaces.shift(); + namespaces.sort(); + } + ontype = type.indexOf( ":" ) < 0 && "on" + type; + + // Caller can pass in a jQuery.Event object, Object, or just an event type string + event = event[ jQuery.expando ] ? + event : + new jQuery.Event( type, typeof event === "object" && event ); + + // Trigger bitmask: & 1 for native handlers; & 2 for jQuery (always true) + event.isTrigger = onlyHandlers ? 2 : 3; + event.namespace = namespaces.join( "." ); + event.rnamespace = event.namespace ? + new RegExp( "(^|\\.)" + namespaces.join( "\\.(?:.*\\.|)" ) + "(\\.|$)" ) : + null; + + // Clean up the event in case it is being reused + event.result = undefined; + if ( !event.target ) { + event.target = elem; + } + + // Clone any incoming data and prepend the event, creating the handler arg list + data = data == null ? + [ event ] : + jQuery.makeArray( data, [ event ] ); + + // Allow special events to draw outside the lines + special = jQuery.event.special[ type ] || {}; + if ( !onlyHandlers && special.trigger && special.trigger.apply( elem, data ) === false ) { + return; + } + + // Determine event propagation path in advance, per W3C events spec (#9951) + // Bubble up to document, then to window; watch for a global ownerDocument var (#9724) + if ( !onlyHandlers && !special.noBubble && !isWindow( elem ) ) { + + bubbleType = special.delegateType || type; + if ( !rfocusMorph.test( bubbleType + type ) ) { + cur = cur.parentNode; + } + for ( ; cur; cur = cur.parentNode ) { + eventPath.push( cur ); + tmp = cur; + } + + // Only add window if we got to document (e.g., not plain obj or detached DOM) + if ( tmp === ( elem.ownerDocument || document ) ) { + eventPath.push( tmp.defaultView || tmp.parentWindow || window ); + } + } + + // Fire handlers on the event path + i = 0; + while ( ( cur = eventPath[ i++ ] ) && !event.isPropagationStopped() ) { + lastElement = cur; + event.type = i > 1 ? + bubbleType : + special.bindType || type; + + // jQuery handler + handle = ( dataPriv.get( cur, "events" ) || {} )[ event.type ] && + dataPriv.get( cur, "handle" ); + if ( handle ) { + handle.apply( cur, data ); + } + + // Native handler + handle = ontype && cur[ ontype ]; + if ( handle && handle.apply && acceptData( cur ) ) { + event.result = handle.apply( cur, data ); + if ( event.result === false ) { + event.preventDefault(); + } + } + } + event.type = type; + + // If nobody prevented the default action, do it now + if ( !onlyHandlers && !event.isDefaultPrevented() ) { + + if ( ( !special._default || + special._default.apply( eventPath.pop(), data ) === false ) && + acceptData( elem ) ) { + + // Call a native DOM method on the target with the same name as the event. + // Don't do default actions on window, that's where global variables be (#6170) + if ( ontype && isFunction( elem[ type ] ) && !isWindow( elem ) ) { + + // Don't re-trigger an onFOO event when we call its FOO() method + tmp = elem[ ontype ]; + + if ( tmp ) { + elem[ ontype ] = null; + } + + // Prevent re-triggering of the same event, since we already bubbled it above + jQuery.event.triggered = type; + + if ( event.isPropagationStopped() ) { + lastElement.addEventListener( type, stopPropagationCallback ); + } + + elem[ type ](); + + if ( event.isPropagationStopped() ) { + lastElement.removeEventListener( type, stopPropagationCallback ); + } + + jQuery.event.triggered = undefined; + + if ( tmp ) { + elem[ ontype ] = tmp; + } + } + } + } + + return event.result; + }, + + // Piggyback on a donor event to simulate a different one + // Used only for `focus(in | out)` events + simulate: function( type, elem, event ) { + var e = jQuery.extend( + new jQuery.Event(), + event, + { + type: type, + isSimulated: true + } + ); + + jQuery.event.trigger( e, null, elem ); + } + +} ); + +jQuery.fn.extend( { + + trigger: function( type, data ) { + return this.each( function() { + jQuery.event.trigger( type, data, this ); + } ); + }, + triggerHandler: function( type, data ) { + var elem = this[ 0 ]; + if ( elem ) { + return jQuery.event.trigger( type, data, elem, true ); + } + } +} ); + + +// Support: Firefox <=44 +// Firefox doesn't have focus(in | out) events +// Related ticket - https://bugzilla.mozilla.org/show_bug.cgi?id=687787 +// +// Support: Chrome <=48 - 49, Safari <=9.0 - 9.1 +// focus(in | out) events fire after focus & blur events, +// which is spec violation - http://www.w3.org/TR/DOM-Level-3-Events/#events-focusevent-event-order +// Related ticket - https://bugs.chromium.org/p/chromium/issues/detail?id=449857 +if ( !support.focusin ) { + jQuery.each( { focus: "focusin", blur: "focusout" }, function( orig, fix ) { + + // Attach a single capturing handler on the document while someone wants focusin/focusout + var handler = function( event ) { + jQuery.event.simulate( fix, event.target, jQuery.event.fix( event ) ); + }; + + jQuery.event.special[ fix ] = { + setup: function() { + var doc = this.ownerDocument || this, + attaches = dataPriv.access( doc, fix ); + + if ( !attaches ) { + doc.addEventListener( orig, handler, true ); + } + dataPriv.access( doc, fix, ( attaches || 0 ) + 1 ); + }, + teardown: function() { + var doc = this.ownerDocument || this, + attaches = dataPriv.access( doc, fix ) - 1; + + if ( !attaches ) { + doc.removeEventListener( orig, handler, true ); + dataPriv.remove( doc, fix ); + + } else { + dataPriv.access( doc, fix, attaches ); + } + } + }; + } ); +} +var location = window.location; + +var nonce = Date.now(); + +var rquery = ( /\?/ ); + + + +// Cross-browser xml parsing +jQuery.parseXML = function( data ) { + var xml; + if ( !data || typeof data !== "string" ) { + return null; + } + + // Support: IE 9 - 11 only + // IE throws on parseFromString with invalid input. + try { + xml = ( new window.DOMParser() ).parseFromString( data, "text/xml" ); + } catch ( e ) { + xml = undefined; + } + + if ( !xml || xml.getElementsByTagName( "parsererror" ).length ) { + jQuery.error( "Invalid XML: " + data ); + } + return xml; +}; + + +var + rbracket = /\[\]$/, + rCRLF = /\r?\n/g, + rsubmitterTypes = /^(?:submit|button|image|reset|file)$/i, + rsubmittable = /^(?:input|select|textarea|keygen)/i; + +function buildParams( prefix, obj, traditional, add ) { + var name; + + if ( Array.isArray( obj ) ) { + + // Serialize array item. + jQuery.each( obj, function( i, v ) { + if ( traditional || rbracket.test( prefix ) ) { + + // Treat each array item as a scalar. + add( prefix, v ); + + } else { + + // Item is non-scalar (array or object), encode its numeric index. + buildParams( + prefix + "[" + ( typeof v === "object" && v != null ? i : "" ) + "]", + v, + traditional, + add + ); + } + } ); + + } else if ( !traditional && toType( obj ) === "object" ) { + + // Serialize object item. + for ( name in obj ) { + buildParams( prefix + "[" + name + "]", obj[ name ], traditional, add ); + } + + } else { + + // Serialize scalar item. + add( prefix, obj ); + } +} + +// Serialize an array of form elements or a set of +// key/values into a query string +jQuery.param = function( a, traditional ) { + var prefix, + s = [], + add = function( key, valueOrFunction ) { + + // If value is a function, invoke it and use its return value + var value = isFunction( valueOrFunction ) ? + valueOrFunction() : + valueOrFunction; + + s[ s.length ] = encodeURIComponent( key ) + "=" + + encodeURIComponent( value == null ? "" : value ); + }; + + // If an array was passed in, assume that it is an array of form elements. + if ( Array.isArray( a ) || ( a.jquery && !jQuery.isPlainObject( a ) ) ) { + + // Serialize the form elements + jQuery.each( a, function() { + add( this.name, this.value ); + } ); + + } else { + + // If traditional, encode the "old" way (the way 1.3.2 or older + // did it), otherwise encode params recursively. + for ( prefix in a ) { + buildParams( prefix, a[ prefix ], traditional, add ); + } + } + + // Return the resulting serialization + return s.join( "&" ); +}; + +jQuery.fn.extend( { + serialize: function() { + return jQuery.param( this.serializeArray() ); + }, + serializeArray: function() { + return this.map( function() { + + // Can add propHook for "elements" to filter or add form elements + var elements = jQuery.prop( this, "elements" ); + return elements ? jQuery.makeArray( elements ) : this; + } ) + .filter( function() { + var type = this.type; + + // Use .is( ":disabled" ) so that fieldset[disabled] works + return this.name && !jQuery( this ).is( ":disabled" ) && + rsubmittable.test( this.nodeName ) && !rsubmitterTypes.test( type ) && + ( this.checked || !rcheckableType.test( type ) ); + } ) + .map( function( i, elem ) { + var val = jQuery( this ).val(); + + if ( val == null ) { + return null; + } + + if ( Array.isArray( val ) ) { + return jQuery.map( val, function( val ) { + return { name: elem.name, value: val.replace( rCRLF, "\r\n" ) }; + } ); + } + + return { name: elem.name, value: val.replace( rCRLF, "\r\n" ) }; + } ).get(); + } +} ); + + +var + r20 = /%20/g, + rhash = /#.*$/, + rantiCache = /([?&])_=[^&]*/, + rheaders = /^(.*?):[ \t]*([^\r\n]*)$/mg, + + // #7653, #8125, #8152: local protocol detection + rlocalProtocol = /^(?:about|app|app-storage|.+-extension|file|res|widget):$/, + rnoContent = /^(?:GET|HEAD)$/, + rprotocol = /^\/\//, + + /* Prefilters + * 1) They are useful to introduce custom dataTypes (see ajax/jsonp.js for an example) + * 2) These are called: + * - BEFORE asking for a transport + * - AFTER param serialization (s.data is a string if s.processData is true) + * 3) key is the dataType + * 4) the catchall symbol "*" can be used + * 5) execution will start with transport dataType and THEN continue down to "*" if needed + */ + prefilters = {}, + + /* Transports bindings + * 1) key is the dataType + * 2) the catchall symbol "*" can be used + * 3) selection will start with transport dataType and THEN go to "*" if needed + */ + transports = {}, + + // Avoid comment-prolog char sequence (#10098); must appease lint and evade compression + allTypes = "*/".concat( "*" ), + + // Anchor tag for parsing the document origin + originAnchor = document.createElement( "a" ); + originAnchor.href = location.href; + +// Base "constructor" for jQuery.ajaxPrefilter and jQuery.ajaxTransport +function addToPrefiltersOrTransports( structure ) { + + // dataTypeExpression is optional and defaults to "*" + return function( dataTypeExpression, func ) { + + if ( typeof dataTypeExpression !== "string" ) { + func = dataTypeExpression; + dataTypeExpression = "*"; + } + + var dataType, + i = 0, + dataTypes = dataTypeExpression.toLowerCase().match( rnothtmlwhite ) || []; + + if ( isFunction( func ) ) { + + // For each dataType in the dataTypeExpression + while ( ( dataType = dataTypes[ i++ ] ) ) { + + // Prepend if requested + if ( dataType[ 0 ] === "+" ) { + dataType = dataType.slice( 1 ) || "*"; + ( structure[ dataType ] = structure[ dataType ] || [] ).unshift( func ); + + // Otherwise append + } else { + ( structure[ dataType ] = structure[ dataType ] || [] ).push( func ); + } + } + } + }; +} + +// Base inspection function for prefilters and transports +function inspectPrefiltersOrTransports( structure, options, originalOptions, jqXHR ) { + + var inspected = {}, + seekingTransport = ( structure === transports ); + + function inspect( dataType ) { + var selected; + inspected[ dataType ] = true; + jQuery.each( structure[ dataType ] || [], function( _, prefilterOrFactory ) { + var dataTypeOrTransport = prefilterOrFactory( options, originalOptions, jqXHR ); + if ( typeof dataTypeOrTransport === "string" && + !seekingTransport && !inspected[ dataTypeOrTransport ] ) { + + options.dataTypes.unshift( dataTypeOrTransport ); + inspect( dataTypeOrTransport ); + return false; + } else if ( seekingTransport ) { + return !( selected = dataTypeOrTransport ); + } + } ); + return selected; + } + + return inspect( options.dataTypes[ 0 ] ) || !inspected[ "*" ] && inspect( "*" ); +} + +// A special extend for ajax options +// that takes "flat" options (not to be deep extended) +// Fixes #9887 +function ajaxExtend( target, src ) { + var key, deep, + flatOptions = jQuery.ajaxSettings.flatOptions || {}; + + for ( key in src ) { + if ( src[ key ] !== undefined ) { + ( flatOptions[ key ] ? target : ( deep || ( deep = {} ) ) )[ key ] = src[ key ]; + } + } + if ( deep ) { + jQuery.extend( true, target, deep ); + } + + return target; +} + +/* Handles responses to an ajax request: + * - finds the right dataType (mediates between content-type and expected dataType) + * - returns the corresponding response + */ +function ajaxHandleResponses( s, jqXHR, responses ) { + + var ct, type, finalDataType, firstDataType, + contents = s.contents, + dataTypes = s.dataTypes; + + // Remove auto dataType and get content-type in the process + while ( dataTypes[ 0 ] === "*" ) { + dataTypes.shift(); + if ( ct === undefined ) { + ct = s.mimeType || jqXHR.getResponseHeader( "Content-Type" ); + } + } + + // Check if we're dealing with a known content-type + if ( ct ) { + for ( type in contents ) { + if ( contents[ type ] && contents[ type ].test( ct ) ) { + dataTypes.unshift( type ); + break; + } + } + } + + // Check to see if we have a response for the expected dataType + if ( dataTypes[ 0 ] in responses ) { + finalDataType = dataTypes[ 0 ]; + } else { + + // Try convertible dataTypes + for ( type in responses ) { + if ( !dataTypes[ 0 ] || s.converters[ type + " " + dataTypes[ 0 ] ] ) { + finalDataType = type; + break; + } + if ( !firstDataType ) { + firstDataType = type; + } + } + + // Or just use first one + finalDataType = finalDataType || firstDataType; + } + + // If we found a dataType + // We add the dataType to the list if needed + // and return the corresponding response + if ( finalDataType ) { + if ( finalDataType !== dataTypes[ 0 ] ) { + dataTypes.unshift( finalDataType ); + } + return responses[ finalDataType ]; + } +} + +/* Chain conversions given the request and the original response + * Also sets the responseXXX fields on the jqXHR instance + */ +function ajaxConvert( s, response, jqXHR, isSuccess ) { + var conv2, current, conv, tmp, prev, + converters = {}, + + // Work with a copy of dataTypes in case we need to modify it for conversion + dataTypes = s.dataTypes.slice(); + + // Create converters map with lowercased keys + if ( dataTypes[ 1 ] ) { + for ( conv in s.converters ) { + converters[ conv.toLowerCase() ] = s.converters[ conv ]; + } + } + + current = dataTypes.shift(); + + // Convert to each sequential dataType + while ( current ) { + + if ( s.responseFields[ current ] ) { + jqXHR[ s.responseFields[ current ] ] = response; + } + + // Apply the dataFilter if provided + if ( !prev && isSuccess && s.dataFilter ) { + response = s.dataFilter( response, s.dataType ); + } + + prev = current; + current = dataTypes.shift(); + + if ( current ) { + + // There's only work to do if current dataType is non-auto + if ( current === "*" ) { + + current = prev; + + // Convert response if prev dataType is non-auto and differs from current + } else if ( prev !== "*" && prev !== current ) { + + // Seek a direct converter + conv = converters[ prev + " " + current ] || converters[ "* " + current ]; + + // If none found, seek a pair + if ( !conv ) { + for ( conv2 in converters ) { + + // If conv2 outputs current + tmp = conv2.split( " " ); + if ( tmp[ 1 ] === current ) { + + // If prev can be converted to accepted input + conv = converters[ prev + " " + tmp[ 0 ] ] || + converters[ "* " + tmp[ 0 ] ]; + if ( conv ) { + + // Condense equivalence converters + if ( conv === true ) { + conv = converters[ conv2 ]; + + // Otherwise, insert the intermediate dataType + } else if ( converters[ conv2 ] !== true ) { + current = tmp[ 0 ]; + dataTypes.unshift( tmp[ 1 ] ); + } + break; + } + } + } + } + + // Apply converter (if not an equivalence) + if ( conv !== true ) { + + // Unless errors are allowed to bubble, catch and return them + if ( conv && s.throws ) { + response = conv( response ); + } else { + try { + response = conv( response ); + } catch ( e ) { + return { + state: "parsererror", + error: conv ? e : "No conversion from " + prev + " to " + current + }; + } + } + } + } + } + } + + return { state: "success", data: response }; +} + +jQuery.extend( { + + // Counter for holding the number of active queries + active: 0, + + // Last-Modified header cache for next request + lastModified: {}, + etag: {}, + + ajaxSettings: { + url: location.href, + type: "GET", + isLocal: rlocalProtocol.test( location.protocol ), + global: true, + processData: true, + async: true, + contentType: "application/x-www-form-urlencoded; charset=UTF-8", + + /* + timeout: 0, + data: null, + dataType: null, + username: null, + password: null, + cache: null, + throws: false, + traditional: false, + headers: {}, + */ + + accepts: { + "*": allTypes, + text: "text/plain", + html: "text/html", + xml: "application/xml, text/xml", + json: "application/json, text/javascript" + }, + + contents: { + xml: /\bxml\b/, + html: /\bhtml/, + json: /\bjson\b/ + }, + + responseFields: { + xml: "responseXML", + text: "responseText", + json: "responseJSON" + }, + + // Data converters + // Keys separate source (or catchall "*") and destination types with a single space + converters: { + + // Convert anything to text + "* text": String, + + // Text to html (true = no transformation) + "text html": true, + + // Evaluate text as a json expression + "text json": JSON.parse, + + // Parse text as xml + "text xml": jQuery.parseXML + }, + + // For options that shouldn't be deep extended: + // you can add your own custom options here if + // and when you create one that shouldn't be + // deep extended (see ajaxExtend) + flatOptions: { + url: true, + context: true + } + }, + + // Creates a full fledged settings object into target + // with both ajaxSettings and settings fields. + // If target is omitted, writes into ajaxSettings. + ajaxSetup: function( target, settings ) { + return settings ? + + // Building a settings object + ajaxExtend( ajaxExtend( target, jQuery.ajaxSettings ), settings ) : + + // Extending ajaxSettings + ajaxExtend( jQuery.ajaxSettings, target ); + }, + + ajaxPrefilter: addToPrefiltersOrTransports( prefilters ), + ajaxTransport: addToPrefiltersOrTransports( transports ), + + // Main method + ajax: function( url, options ) { + + // If url is an object, simulate pre-1.5 signature + if ( typeof url === "object" ) { + options = url; + url = undefined; + } + + // Force options to be an object + options = options || {}; + + var transport, + + // URL without anti-cache param + cacheURL, + + // Response headers + responseHeadersString, + responseHeaders, + + // timeout handle + timeoutTimer, + + // Url cleanup var + urlAnchor, + + // Request state (becomes false upon send and true upon completion) + completed, + + // To know if global events are to be dispatched + fireGlobals, + + // Loop variable + i, + + // uncached part of the url + uncached, + + // Create the final options object + s = jQuery.ajaxSetup( {}, options ), + + // Callbacks context + callbackContext = s.context || s, + + // Context for global events is callbackContext if it is a DOM node or jQuery collection + globalEventContext = s.context && + ( callbackContext.nodeType || callbackContext.jquery ) ? + jQuery( callbackContext ) : + jQuery.event, + + // Deferreds + deferred = jQuery.Deferred(), + completeDeferred = jQuery.Callbacks( "once memory" ), + + // Status-dependent callbacks + statusCode = s.statusCode || {}, + + // Headers (they are sent all at once) + requestHeaders = {}, + requestHeadersNames = {}, + + // Default abort message + strAbort = "canceled", + + // Fake xhr + jqXHR = { + readyState: 0, + + // Builds headers hashtable if needed + getResponseHeader: function( key ) { + var match; + if ( completed ) { + if ( !responseHeaders ) { + responseHeaders = {}; + while ( ( match = rheaders.exec( responseHeadersString ) ) ) { + responseHeaders[ match[ 1 ].toLowerCase() ] = match[ 2 ]; + } + } + match = responseHeaders[ key.toLowerCase() ]; + } + return match == null ? null : match; + }, + + // Raw string + getAllResponseHeaders: function() { + return completed ? responseHeadersString : null; + }, + + // Caches the header + setRequestHeader: function( name, value ) { + if ( completed == null ) { + name = requestHeadersNames[ name.toLowerCase() ] = + requestHeadersNames[ name.toLowerCase() ] || name; + requestHeaders[ name ] = value; + } + return this; + }, + + // Overrides response content-type header + overrideMimeType: function( type ) { + if ( completed == null ) { + s.mimeType = type; + } + return this; + }, + + // Status-dependent callbacks + statusCode: function( map ) { + var code; + if ( map ) { + if ( completed ) { + + // Execute the appropriate callbacks + jqXHR.always( map[ jqXHR.status ] ); + } else { + + // Lazy-add the new callbacks in a way that preserves old ones + for ( code in map ) { + statusCode[ code ] = [ statusCode[ code ], map[ code ] ]; + } + } + } + return this; + }, + + // Cancel the request + abort: function( statusText ) { + var finalText = statusText || strAbort; + if ( transport ) { + transport.abort( finalText ); + } + done( 0, finalText ); + return this; + } + }; + + // Attach deferreds + deferred.promise( jqXHR ); + + // Add protocol if not provided (prefilters might expect it) + // Handle falsy url in the settings object (#10093: consistency with old signature) + // We also use the url parameter if available + s.url = ( ( url || s.url || location.href ) + "" ) + .replace( rprotocol, location.protocol + "//" ); + + // Alias method option to type as per ticket #12004 + s.type = options.method || options.type || s.method || s.type; + + // Extract dataTypes list + s.dataTypes = ( s.dataType || "*" ).toLowerCase().match( rnothtmlwhite ) || [ "" ]; + + // A cross-domain request is in order when the origin doesn't match the current origin. + if ( s.crossDomain == null ) { + urlAnchor = document.createElement( "a" ); + + // Support: IE <=8 - 11, Edge 12 - 15 + // IE throws exception on accessing the href property if url is malformed, + // e.g. http://example.com:80x/ + try { + urlAnchor.href = s.url; + + // Support: IE <=8 - 11 only + // Anchor's host property isn't correctly set when s.url is relative + urlAnchor.href = urlAnchor.href; + s.crossDomain = originAnchor.protocol + "//" + originAnchor.host !== + urlAnchor.protocol + "//" + urlAnchor.host; + } catch ( e ) { + + // If there is an error parsing the URL, assume it is crossDomain, + // it can be rejected by the transport if it is invalid + s.crossDomain = true; + } + } + + // Convert data if not already a string + if ( s.data && s.processData && typeof s.data !== "string" ) { + s.data = jQuery.param( s.data, s.traditional ); + } + + // Apply prefilters + inspectPrefiltersOrTransports( prefilters, s, options, jqXHR ); + + // If request was aborted inside a prefilter, stop there + if ( completed ) { + return jqXHR; + } + + // We can fire global events as of now if asked to + // Don't fire events if jQuery.event is undefined in an AMD-usage scenario (#15118) + fireGlobals = jQuery.event && s.global; + + // Watch for a new set of requests + if ( fireGlobals && jQuery.active++ === 0 ) { + jQuery.event.trigger( "ajaxStart" ); + } + + // Uppercase the type + s.type = s.type.toUpperCase(); + + // Determine if request has content + s.hasContent = !rnoContent.test( s.type ); + + // Save the URL in case we're toying with the If-Modified-Since + // and/or If-None-Match header later on + // Remove hash to simplify url manipulation + cacheURL = s.url.replace( rhash, "" ); + + // More options handling for requests with no content + if ( !s.hasContent ) { + + // Remember the hash so we can put it back + uncached = s.url.slice( cacheURL.length ); + + // If data is available and should be processed, append data to url + if ( s.data && ( s.processData || typeof s.data === "string" ) ) { + cacheURL += ( rquery.test( cacheURL ) ? "&" : "?" ) + s.data; + + // #9682: remove data so that it's not used in an eventual retry + delete s.data; + } + + // Add or update anti-cache param if needed + if ( s.cache === false ) { + cacheURL = cacheURL.replace( rantiCache, "$1" ); + uncached = ( rquery.test( cacheURL ) ? "&" : "?" ) + "_=" + ( nonce++ ) + uncached; + } + + // Put hash and anti-cache on the URL that will be requested (gh-1732) + s.url = cacheURL + uncached; + + // Change '%20' to '+' if this is encoded form body content (gh-2658) + } else if ( s.data && s.processData && + ( s.contentType || "" ).indexOf( "application/x-www-form-urlencoded" ) === 0 ) { + s.data = s.data.replace( r20, "+" ); + } + + // Set the If-Modified-Since and/or If-None-Match header, if in ifModified mode. + if ( s.ifModified ) { + if ( jQuery.lastModified[ cacheURL ] ) { + jqXHR.setRequestHeader( "If-Modified-Since", jQuery.lastModified[ cacheURL ] ); + } + if ( jQuery.etag[ cacheURL ] ) { + jqXHR.setRequestHeader( "If-None-Match", jQuery.etag[ cacheURL ] ); + } + } + + // Set the correct header, if data is being sent + if ( s.data && s.hasContent && s.contentType !== false || options.contentType ) { + jqXHR.setRequestHeader( "Content-Type", s.contentType ); + } + + // Set the Accepts header for the server, depending on the dataType + jqXHR.setRequestHeader( + "Accept", + s.dataTypes[ 0 ] && s.accepts[ s.dataTypes[ 0 ] ] ? + s.accepts[ s.dataTypes[ 0 ] ] + + ( s.dataTypes[ 0 ] !== "*" ? ", " + allTypes + "; q=0.01" : "" ) : + s.accepts[ "*" ] + ); + + // Check for headers option + for ( i in s.headers ) { + jqXHR.setRequestHeader( i, s.headers[ i ] ); + } + + // Allow custom headers/mimetypes and early abort + if ( s.beforeSend && + ( s.beforeSend.call( callbackContext, jqXHR, s ) === false || completed ) ) { + + // Abort if not done already and return + return jqXHR.abort(); + } + + // Aborting is no longer a cancellation + strAbort = "abort"; + + // Install callbacks on deferreds + completeDeferred.add( s.complete ); + jqXHR.done( s.success ); + jqXHR.fail( s.error ); + + // Get transport + transport = inspectPrefiltersOrTransports( transports, s, options, jqXHR ); + + // If no transport, we auto-abort + if ( !transport ) { + done( -1, "No Transport" ); + } else { + jqXHR.readyState = 1; + + // Send global event + if ( fireGlobals ) { + globalEventContext.trigger( "ajaxSend", [ jqXHR, s ] ); + } + + // If request was aborted inside ajaxSend, stop there + if ( completed ) { + return jqXHR; + } + + // Timeout + if ( s.async && s.timeout > 0 ) { + timeoutTimer = window.setTimeout( function() { + jqXHR.abort( "timeout" ); + }, s.timeout ); + } + + try { + completed = false; + transport.send( requestHeaders, done ); + } catch ( e ) { + + // Rethrow post-completion exceptions + if ( completed ) { + throw e; + } + + // Propagate others as results + done( -1, e ); + } + } + + // Callback for when everything is done + function done( status, nativeStatusText, responses, headers ) { + var isSuccess, success, error, response, modified, + statusText = nativeStatusText; + + // Ignore repeat invocations + if ( completed ) { + return; + } + + completed = true; + + // Clear timeout if it exists + if ( timeoutTimer ) { + window.clearTimeout( timeoutTimer ); + } + + // Dereference transport for early garbage collection + // (no matter how long the jqXHR object will be used) + transport = undefined; + + // Cache response headers + responseHeadersString = headers || ""; + + // Set readyState + jqXHR.readyState = status > 0 ? 4 : 0; + + // Determine if successful + isSuccess = status >= 200 && status < 300 || status === 304; + + // Get response data + if ( responses ) { + response = ajaxHandleResponses( s, jqXHR, responses ); + } + + // Convert no matter what (that way responseXXX fields are always set) + response = ajaxConvert( s, response, jqXHR, isSuccess ); + + // If successful, handle type chaining + if ( isSuccess ) { + + // Set the If-Modified-Since and/or If-None-Match header, if in ifModified mode. + if ( s.ifModified ) { + modified = jqXHR.getResponseHeader( "Last-Modified" ); + if ( modified ) { + jQuery.lastModified[ cacheURL ] = modified; + } + modified = jqXHR.getResponseHeader( "etag" ); + if ( modified ) { + jQuery.etag[ cacheURL ] = modified; + } + } + + // if no content + if ( status === 204 || s.type === "HEAD" ) { + statusText = "nocontent"; + + // if not modified + } else if ( status === 304 ) { + statusText = "notmodified"; + + // If we have data, let's convert it + } else { + statusText = response.state; + success = response.data; + error = response.error; + isSuccess = !error; + } + } else { + + // Extract error from statusText and normalize for non-aborts + error = statusText; + if ( status || !statusText ) { + statusText = "error"; + if ( status < 0 ) { + status = 0; + } + } + } + + // Set data for the fake xhr object + jqXHR.status = status; + jqXHR.statusText = ( nativeStatusText || statusText ) + ""; + + // Success/Error + if ( isSuccess ) { + deferred.resolveWith( callbackContext, [ success, statusText, jqXHR ] ); + } else { + deferred.rejectWith( callbackContext, [ jqXHR, statusText, error ] ); + } + + // Status-dependent callbacks + jqXHR.statusCode( statusCode ); + statusCode = undefined; + + if ( fireGlobals ) { + globalEventContext.trigger( isSuccess ? "ajaxSuccess" : "ajaxError", + [ jqXHR, s, isSuccess ? success : error ] ); + } + + // Complete + completeDeferred.fireWith( callbackContext, [ jqXHR, statusText ] ); + + if ( fireGlobals ) { + globalEventContext.trigger( "ajaxComplete", [ jqXHR, s ] ); + + // Handle the global AJAX counter + if ( !( --jQuery.active ) ) { + jQuery.event.trigger( "ajaxStop" ); + } + } + } + + return jqXHR; + }, + + getJSON: function( url, data, callback ) { + return jQuery.get( url, data, callback, "json" ); + }, + + getScript: function( url, callback ) { + return jQuery.get( url, undefined, callback, "script" ); + } +} ); + +jQuery.each( [ "get", "post" ], function( i, method ) { + jQuery[ method ] = function( url, data, callback, type ) { + + // Shift arguments if data argument was omitted + if ( isFunction( data ) ) { + type = type || callback; + callback = data; + data = undefined; + } + + // The url can be an options object (which then must have .url) + return jQuery.ajax( jQuery.extend( { + url: url, + type: method, + dataType: type, + data: data, + success: callback + }, jQuery.isPlainObject( url ) && url ) ); + }; +} ); + + +jQuery._evalUrl = function( url ) { + return jQuery.ajax( { + url: url, + + // Make this explicit, since user can override this through ajaxSetup (#11264) + type: "GET", + dataType: "script", + cache: true, + async: false, + global: false, + "throws": true + } ); +}; + + +jQuery.fn.extend( { + wrapAll: function( html ) { + var wrap; + + if ( this[ 0 ] ) { + if ( isFunction( html ) ) { + html = html.call( this[ 0 ] ); + } + + // The elements to wrap the target around + wrap = jQuery( html, this[ 0 ].ownerDocument ).eq( 0 ).clone( true ); + + if ( this[ 0 ].parentNode ) { + wrap.insertBefore( this[ 0 ] ); + } + + wrap.map( function() { + var elem = this; + + while ( elem.firstElementChild ) { + elem = elem.firstElementChild; + } + + return elem; + } ).append( this ); + } + + return this; + }, + + wrapInner: function( html ) { + if ( isFunction( html ) ) { + return this.each( function( i ) { + jQuery( this ).wrapInner( html.call( this, i ) ); + } ); + } + + return this.each( function() { + var self = jQuery( this ), + contents = self.contents(); + + if ( contents.length ) { + contents.wrapAll( html ); + + } else { + self.append( html ); + } + } ); + }, + + wrap: function( html ) { + var htmlIsFunction = isFunction( html ); + + return this.each( function( i ) { + jQuery( this ).wrapAll( htmlIsFunction ? html.call( this, i ) : html ); + } ); + }, + + unwrap: function( selector ) { + this.parent( selector ).not( "body" ).each( function() { + jQuery( this ).replaceWith( this.childNodes ); + } ); + return this; + } +} ); + + +jQuery.expr.pseudos.hidden = function( elem ) { + return !jQuery.expr.pseudos.visible( elem ); +}; +jQuery.expr.pseudos.visible = function( elem ) { + return !!( elem.offsetWidth || elem.offsetHeight || elem.getClientRects().length ); +}; + + + + +jQuery.ajaxSettings.xhr = function() { + try { + return new window.XMLHttpRequest(); + } catch ( e ) {} +}; + +var xhrSuccessStatus = { + + // File protocol always yields status code 0, assume 200 + 0: 200, + + // Support: IE <=9 only + // #1450: sometimes IE returns 1223 when it should be 204 + 1223: 204 + }, + xhrSupported = jQuery.ajaxSettings.xhr(); + +support.cors = !!xhrSupported && ( "withCredentials" in xhrSupported ); +support.ajax = xhrSupported = !!xhrSupported; + +jQuery.ajaxTransport( function( options ) { + var callback, errorCallback; + + // Cross domain only allowed if supported through XMLHttpRequest + if ( support.cors || xhrSupported && !options.crossDomain ) { + return { + send: function( headers, complete ) { + var i, + xhr = options.xhr(); + + xhr.open( + options.type, + options.url, + options.async, + options.username, + options.password + ); + + // Apply custom fields if provided + if ( options.xhrFields ) { + for ( i in options.xhrFields ) { + xhr[ i ] = options.xhrFields[ i ]; + } + } + + // Override mime type if needed + if ( options.mimeType && xhr.overrideMimeType ) { + xhr.overrideMimeType( options.mimeType ); + } + + // X-Requested-With header + // For cross-domain requests, seeing as conditions for a preflight are + // akin to a jigsaw puzzle, we simply never set it to be sure. + // (it can always be set on a per-request basis or even using ajaxSetup) + // For same-domain requests, won't change header if already provided. + if ( !options.crossDomain && !headers[ "X-Requested-With" ] ) { + headers[ "X-Requested-With" ] = "XMLHttpRequest"; + } + + // Set headers + for ( i in headers ) { + xhr.setRequestHeader( i, headers[ i ] ); + } + + // Callback + callback = function( type ) { + return function() { + if ( callback ) { + callback = errorCallback = xhr.onload = + xhr.onerror = xhr.onabort = xhr.ontimeout = + xhr.onreadystatechange = null; + + if ( type === "abort" ) { + xhr.abort(); + } else if ( type === "error" ) { + + // Support: IE <=9 only + // On a manual native abort, IE9 throws + // errors on any property access that is not readyState + if ( typeof xhr.status !== "number" ) { + complete( 0, "error" ); + } else { + complete( + + // File: protocol always yields status 0; see #8605, #14207 + xhr.status, + xhr.statusText + ); + } + } else { + complete( + xhrSuccessStatus[ xhr.status ] || xhr.status, + xhr.statusText, + + // Support: IE <=9 only + // IE9 has no XHR2 but throws on binary (trac-11426) + // For XHR2 non-text, let the caller handle it (gh-2498) + ( xhr.responseType || "text" ) !== "text" || + typeof xhr.responseText !== "string" ? + { binary: xhr.response } : + { text: xhr.responseText }, + xhr.getAllResponseHeaders() + ); + } + } + }; + }; + + // Listen to events + xhr.onload = callback(); + errorCallback = xhr.onerror = xhr.ontimeout = callback( "error" ); + + // Support: IE 9 only + // Use onreadystatechange to replace onabort + // to handle uncaught aborts + if ( xhr.onabort !== undefined ) { + xhr.onabort = errorCallback; + } else { + xhr.onreadystatechange = function() { + + // Check readyState before timeout as it changes + if ( xhr.readyState === 4 ) { + + // Allow onerror to be called first, + // but that will not handle a native abort + // Also, save errorCallback to a variable + // as xhr.onerror cannot be accessed + window.setTimeout( function() { + if ( callback ) { + errorCallback(); + } + } ); + } + }; + } + + // Create the abort callback + callback = callback( "abort" ); + + try { + + // Do send the request (this may raise an exception) + xhr.send( options.hasContent && options.data || null ); + } catch ( e ) { + + // #14683: Only rethrow if this hasn't been notified as an error yet + if ( callback ) { + throw e; + } + } + }, + + abort: function() { + if ( callback ) { + callback(); + } + } + }; + } +} ); + + + + +// Prevent auto-execution of scripts when no explicit dataType was provided (See gh-2432) +jQuery.ajaxPrefilter( function( s ) { + if ( s.crossDomain ) { + s.contents.script = false; + } +} ); + +// Install script dataType +jQuery.ajaxSetup( { + accepts: { + script: "text/javascript, application/javascript, " + + "application/ecmascript, application/x-ecmascript" + }, + contents: { + script: /\b(?:java|ecma)script\b/ + }, + converters: { + "text script": function( text ) { + jQuery.globalEval( text ); + return text; + } + } +} ); + +// Handle cache's special case and crossDomain +jQuery.ajaxPrefilter( "script", function( s ) { + if ( s.cache === undefined ) { + s.cache = false; + } + if ( s.crossDomain ) { + s.type = "GET"; + } +} ); + +// Bind script tag hack transport +jQuery.ajaxTransport( "script", function( s ) { + + // This transport only deals with cross domain requests + if ( s.crossDomain ) { + var script, callback; + return { + send: function( _, complete ) { + script = jQuery( "\r\n"; + +// inject VBScript +document.write(IEBinaryToArray_ByteStr_Script); + +global.JSZipUtils._getBinaryFromXHR = function (xhr) { + var binary = xhr.responseBody; + var byteMapping = {}; + for ( var i = 0; i < 256; i++ ) { + for ( var j = 0; j < 256; j++ ) { + byteMapping[ String.fromCharCode( i + (j << 8) ) ] = + String.fromCharCode(i) + String.fromCharCode(j); + } + } + var rawBytes = IEBinaryToArray_ByteStr(binary); + var lastChr = IEBinaryToArray_ByteStr_Last(binary); + return rawBytes.replace(/[\s\S]/g, function( match ) { + return byteMapping[match]; + }) + lastChr; +}; + +// enforcing Stuk's coding style +// vim: set shiftwidth=4 softtabstop=4: + +},{}]},{},[1]) +; diff --git a/apidocs/latest1x/jquery/jszip-utils/dist/jszip-utils-ie.min.js b/apidocs/latest1x/jquery/jszip-utils/dist/jszip-utils-ie.min.js new file mode 100644 index 00000000..93d8bc8e --- /dev/null +++ b/apidocs/latest1x/jquery/jszip-utils/dist/jszip-utils-ie.min.js @@ -0,0 +1,10 @@ +/*! + +JSZipUtils - A collection of cross-browser utilities to go along with JSZip. + + +(c) 2014 Stuart Knightley, David Duponchel +Dual licenced under the MIT license or GPLv3. See https://raw.github.com/Stuk/jszip-utils/master/LICENSE.markdown. + +*/ +!function a(b,c,d){function e(g,h){if(!c[g]){if(!b[g]){var i="function"==typeof require&&require;if(!h&&i)return i(g,!0);if(f)return f(g,!0);throw new Error("Cannot find module '"+g+"'")}var j=c[g]={exports:{}};b[g][0].call(j.exports,function(a){var c=b[g][1][a];return e(c?c:a)},j,j.exports,a,b,c,d)}return c[g].exports}for(var f="function"==typeof require&&require,g=0;g\r\n";document.write(b),a.JSZipUtils._getBinaryFromXHR=function(a){for(var b=a.responseBody,c={},d=0;256>d;d++)for(var e=0;256>e;e++)c[String.fromCharCode(d+(e<<8))]=String.fromCharCode(d)+String.fromCharCode(e);var f=IEBinaryToArray_ByteStr(b),g=IEBinaryToArray_ByteStr_Last(b);return f.replace(/[\s\S]/g,function(a){return c[a]})+g}},{}]},{},[1]); diff --git a/apidocs/latest1x/jquery/jszip-utils/dist/jszip-utils.js b/apidocs/latest1x/jquery/jszip-utils/dist/jszip-utils.js new file mode 100644 index 00000000..775895ec --- /dev/null +++ b/apidocs/latest1x/jquery/jszip-utils/dist/jszip-utils.js @@ -0,0 +1,118 @@ +/*! + +JSZipUtils - A collection of cross-browser utilities to go along with JSZip. + + +(c) 2014 Stuart Knightley, David Duponchel +Dual licenced under the MIT license or GPLv3. See https://raw.github.com/Stuk/jszip-utils/master/LICENSE.markdown. + +*/ +!function(e){"object"==typeof exports?module.exports=e():"function"==typeof define&&define.amd?define(e):"undefined"!=typeof window?window.JSZipUtils=e():"undefined"!=typeof global?global.JSZipUtils=e():"undefined"!=typeof self&&(self.JSZipUtils=e())}(function(){var define,module,exports;return (function e(t,n,r){function s(o,u){if(!n[o]){if(!t[o]){var a=typeof require=="function"&&require;if(!u&&a)return a(o,!0);if(i)return i(o,!0);throw new Error("Cannot find module '"+o+"'")}var f=n[o]={exports:{}};t[o][0].call(f.exports,function(e){var n=t[o][1][e];return s(n?n:e)},f,f.exports,e,t,n,r)}return n[o].exports}var i=typeof require=="function"&&require;for(var o=0;o + +(c) 2014 Stuart Knightley, David Duponchel +Dual licenced under the MIT license or GPLv3. See https://raw.github.com/Stuk/jszip-utils/master/LICENSE.markdown. + +*/ +!function(a){"object"==typeof exports?module.exports=a():"function"==typeof define&&define.amd?define(a):"undefined"!=typeof window?window.JSZipUtils=a():"undefined"!=typeof global?global.JSZipUtils=a():"undefined"!=typeof self&&(self.JSZipUtils=a())}(function(){return function a(b,c,d){function e(g,h){if(!c[g]){if(!b[g]){var i="function"==typeof require&&require;if(!h&&i)return i(g,!0);if(f)return f(g,!0);throw new Error("Cannot find module '"+g+"'")}var j=c[g]={exports:{}};b[g][0].call(j.exports,function(a){var c=b[g][1][a];return e(c?c:a)},j,j.exports,a,b,c,d)}return c[g].exports}for(var f="function"==typeof require&&require,g=0;g + +(c) 2009-2016 Stuart Knightley +Dual licenced under the MIT license or GPLv3. See https://raw.github.com/Stuk/jszip/master/LICENSE.markdown. + +JSZip uses the library pako released under the MIT license : +https://github.com/nodeca/pako/blob/master/LICENSE +*/ + +(function(f){if(typeof exports==="object"&&typeof module!=="undefined"){module.exports=f()}else if(typeof define==="function"&&define.amd){define([],f)}else{var g;if(typeof window!=="undefined"){g=window}else if(typeof global!=="undefined"){g=global}else if(typeof self!=="undefined"){g=self}else{g=this}g.JSZip = f()}})(function(){var define,module,exports;return (function e(t,n,r){function s(o,u){if(!n[o]){if(!t[o]){var a=typeof require=="function"&&require;if(!u&&a)return a(o,!0);if(i)return i(o,!0);var f=new Error("Cannot find module '"+o+"'");throw f.code="MODULE_NOT_FOUND",f}var l=n[o]={exports:{}};t[o][0].call(l.exports,function(e){var n=t[o][1][e];return s(n?n:e)},l,l.exports,e,t,n,r)}return n[o].exports}var i=typeof require=="function"&&require;for(var o=0;o> 2; + enc2 = ((chr1 & 3) << 4) | (chr2 >> 4); + enc3 = remainingBytes > 1 ? (((chr2 & 15) << 2) | (chr3 >> 6)) : 64; + enc4 = remainingBytes > 2 ? (chr3 & 63) : 64; + + output.push(_keyStr.charAt(enc1) + _keyStr.charAt(enc2) + _keyStr.charAt(enc3) + _keyStr.charAt(enc4)); + + } + + return output.join(""); +}; + +// public method for decoding +exports.decode = function(input) { + var chr1, chr2, chr3; + var enc1, enc2, enc3, enc4; + var i = 0, resultIndex = 0; + + var dataUrlPrefix = "data:"; + + if (input.substr(0, dataUrlPrefix.length) === dataUrlPrefix) { + // This is a common error: people give a data url + // (data:image/png;base64,iVBOR...) with a {base64: true} and + // wonders why things don't work. + // We can detect that the string input looks like a data url but we + // *can't* be sure it is one: removing everything up to the comma would + // be too dangerous. + throw new Error("Invalid base64 input, it looks like a data url."); + } + + input = input.replace(/[^A-Za-z0-9\+\/\=]/g, ""); + + var totalLength = input.length * 3 / 4; + if(input.charAt(input.length - 1) === _keyStr.charAt(64)) { + totalLength--; + } + if(input.charAt(input.length - 2) === _keyStr.charAt(64)) { + totalLength--; + } + if (totalLength % 1 !== 0) { + // totalLength is not an integer, the length does not match a valid + // base64 content. That can happen if: + // - the input is not a base64 content + // - the input is *almost* a base64 content, with a extra chars at the + // beginning or at the end + // - the input uses a base64 variant (base64url for example) + throw new Error("Invalid base64 input, bad content length."); + } + var output; + if (support.uint8array) { + output = new Uint8Array(totalLength|0); + } else { + output = new Array(totalLength|0); + } + + while (i < input.length) { + + enc1 = _keyStr.indexOf(input.charAt(i++)); + enc2 = _keyStr.indexOf(input.charAt(i++)); + enc3 = _keyStr.indexOf(input.charAt(i++)); + enc4 = _keyStr.indexOf(input.charAt(i++)); + + chr1 = (enc1 << 2) | (enc2 >> 4); + chr2 = ((enc2 & 15) << 4) | (enc3 >> 2); + chr3 = ((enc3 & 3) << 6) | enc4; + + output[resultIndex++] = chr1; + + if (enc3 !== 64) { + output[resultIndex++] = chr2; + } + if (enc4 !== 64) { + output[resultIndex++] = chr3; + } + + } + + return output; +}; + +},{"./support":30,"./utils":32}],2:[function(require,module,exports){ +'use strict'; + +var external = require("./external"); +var DataWorker = require('./stream/DataWorker'); +var DataLengthProbe = require('./stream/DataLengthProbe'); +var Crc32Probe = require('./stream/Crc32Probe'); +var DataLengthProbe = require('./stream/DataLengthProbe'); + +/** + * Represent a compressed object, with everything needed to decompress it. + * @constructor + * @param {number} compressedSize the size of the data compressed. + * @param {number} uncompressedSize the size of the data after decompression. + * @param {number} crc32 the crc32 of the decompressed file. + * @param {object} compression the type of compression, see lib/compressions.js. + * @param {String|ArrayBuffer|Uint8Array|Buffer} data the compressed data. + */ +function CompressedObject(compressedSize, uncompressedSize, crc32, compression, data) { + this.compressedSize = compressedSize; + this.uncompressedSize = uncompressedSize; + this.crc32 = crc32; + this.compression = compression; + this.compressedContent = data; +} + +CompressedObject.prototype = { + /** + * Create a worker to get the uncompressed content. + * @return {GenericWorker} the worker. + */ + getContentWorker : function () { + var worker = new DataWorker(external.Promise.resolve(this.compressedContent)) + .pipe(this.compression.uncompressWorker()) + .pipe(new DataLengthProbe("data_length")); + + var that = this; + worker.on("end", function () { + if(this.streamInfo['data_length'] !== that.uncompressedSize) { + throw new Error("Bug : uncompressed data size mismatch"); + } + }); + return worker; + }, + /** + * Create a worker to get the compressed content. + * @return {GenericWorker} the worker. + */ + getCompressedWorker : function () { + return new DataWorker(external.Promise.resolve(this.compressedContent)) + .withStreamInfo("compressedSize", this.compressedSize) + .withStreamInfo("uncompressedSize", this.uncompressedSize) + .withStreamInfo("crc32", this.crc32) + .withStreamInfo("compression", this.compression) + ; + } +}; + +/** + * Chain the given worker with other workers to compress the content with the + * given compresion. + * @param {GenericWorker} uncompressedWorker the worker to pipe. + * @param {Object} compression the compression object. + * @param {Object} compressionOptions the options to use when compressing. + * @return {GenericWorker} the new worker compressing the content. + */ +CompressedObject.createWorkerFrom = function (uncompressedWorker, compression, compressionOptions) { + return uncompressedWorker + .pipe(new Crc32Probe()) + .pipe(new DataLengthProbe("uncompressedSize")) + .pipe(compression.compressWorker(compressionOptions)) + .pipe(new DataLengthProbe("compressedSize")) + .withStreamInfo("compression", compression); +}; + +module.exports = CompressedObject; + +},{"./external":6,"./stream/Crc32Probe":25,"./stream/DataLengthProbe":26,"./stream/DataWorker":27}],3:[function(require,module,exports){ +'use strict'; + +var GenericWorker = require("./stream/GenericWorker"); + +exports.STORE = { + magic: "\x00\x00", + compressWorker : function (compressionOptions) { + return new GenericWorker("STORE compression"); + }, + uncompressWorker : function () { + return new GenericWorker("STORE decompression"); + } +}; +exports.DEFLATE = require('./flate'); + +},{"./flate":7,"./stream/GenericWorker":28}],4:[function(require,module,exports){ +'use strict'; + +var utils = require('./utils'); + +/** + * The following functions come from pako, from pako/lib/zlib/crc32.js + * released under the MIT license, see pako https://github.com/nodeca/pako/ + */ + +// Use ordinary array, since untyped makes no boost here +function makeTable() { + var c, table = []; + + for(var n =0; n < 256; n++){ + c = n; + for(var k =0; k < 8; k++){ + c = ((c&1) ? (0xEDB88320 ^ (c >>> 1)) : (c >>> 1)); + } + table[n] = c; + } + + return table; +} + +// Create table on load. Just 255 signed longs. Not a problem. +var crcTable = makeTable(); + + +function crc32(crc, buf, len, pos) { + var t = crcTable, end = pos + len; + + crc = crc ^ (-1); + + for (var i = pos; i < end; i++ ) { + crc = (crc >>> 8) ^ t[(crc ^ buf[i]) & 0xFF]; + } + + return (crc ^ (-1)); // >>> 0; +} + +// That's all for the pako functions. + +/** + * Compute the crc32 of a string. + * This is almost the same as the function crc32, but for strings. Using the + * same function for the two use cases leads to horrible performances. + * @param {Number} crc the starting value of the crc. + * @param {String} str the string to use. + * @param {Number} len the length of the string. + * @param {Number} pos the starting position for the crc32 computation. + * @return {Number} the computed crc32. + */ +function crc32str(crc, str, len, pos) { + var t = crcTable, end = pos + len; + + crc = crc ^ (-1); + + for (var i = pos; i < end; i++ ) { + crc = (crc >>> 8) ^ t[(crc ^ str.charCodeAt(i)) & 0xFF]; + } + + return (crc ^ (-1)); // >>> 0; +} + +module.exports = function crc32wrapper(input, crc) { + if (typeof input === "undefined" || !input.length) { + return 0; + } + + var isArray = utils.getTypeOf(input) !== "string"; + + if(isArray) { + return crc32(crc|0, input, input.length, 0); + } else { + return crc32str(crc|0, input, input.length, 0); + } +}; + +},{"./utils":32}],5:[function(require,module,exports){ +'use strict'; +exports.base64 = false; +exports.binary = false; +exports.dir = false; +exports.createFolders = true; +exports.date = null; +exports.compression = null; +exports.compressionOptions = null; +exports.comment = null; +exports.unixPermissions = null; +exports.dosPermissions = null; + +},{}],6:[function(require,module,exports){ +/* global Promise */ +'use strict'; + +// load the global object first: +// - it should be better integrated in the system (unhandledRejection in node) +// - the environment may have a custom Promise implementation (see zone.js) +var ES6Promise = null; +if (typeof Promise !== "undefined") { + ES6Promise = Promise; +} else { + ES6Promise = require("lie"); +} + +/** + * Let the user use/change some implementations. + */ +module.exports = { + Promise: ES6Promise +}; + +},{"lie":58}],7:[function(require,module,exports){ +'use strict'; +var USE_TYPEDARRAY = (typeof Uint8Array !== 'undefined') && (typeof Uint16Array !== 'undefined') && (typeof Uint32Array !== 'undefined'); + +var pako = require("pako"); +var utils = require("./utils"); +var GenericWorker = require("./stream/GenericWorker"); + +var ARRAY_TYPE = USE_TYPEDARRAY ? "uint8array" : "array"; + +exports.magic = "\x08\x00"; + +/** + * Create a worker that uses pako to inflate/deflate. + * @constructor + * @param {String} action the name of the pako function to call : either "Deflate" or "Inflate". + * @param {Object} options the options to use when (de)compressing. + */ +function FlateWorker(action, options) { + GenericWorker.call(this, "FlateWorker/" + action); + + this._pako = null; + this._pakoAction = action; + this._pakoOptions = options; + // the `meta` object from the last chunk received + // this allow this worker to pass around metadata + this.meta = {}; +} + +utils.inherits(FlateWorker, GenericWorker); + +/** + * @see GenericWorker.processChunk + */ +FlateWorker.prototype.processChunk = function (chunk) { + this.meta = chunk.meta; + if (this._pako === null) { + this._createPako(); + } + this._pako.push(utils.transformTo(ARRAY_TYPE, chunk.data), false); +}; + +/** + * @see GenericWorker.flush + */ +FlateWorker.prototype.flush = function () { + GenericWorker.prototype.flush.call(this); + if (this._pako === null) { + this._createPako(); + } + this._pako.push([], true); +}; +/** + * @see GenericWorker.cleanUp + */ +FlateWorker.prototype.cleanUp = function () { + GenericWorker.prototype.cleanUp.call(this); + this._pako = null; +}; + +/** + * Create the _pako object. + * TODO: lazy-loading this object isn't the best solution but it's the + * quickest. The best solution is to lazy-load the worker list. See also the + * issue #446. + */ +FlateWorker.prototype._createPako = function () { + this._pako = new pako[this._pakoAction]({ + raw: true, + level: this._pakoOptions.level || -1 // default compression + }); + var self = this; + this._pako.onData = function(data) { + self.push({ + data : data, + meta : self.meta + }); + }; +}; + +exports.compressWorker = function (compressionOptions) { + return new FlateWorker("Deflate", compressionOptions); +}; +exports.uncompressWorker = function () { + return new FlateWorker("Inflate", {}); +}; + +},{"./stream/GenericWorker":28,"./utils":32,"pako":59}],8:[function(require,module,exports){ +'use strict'; + +var utils = require('../utils'); +var GenericWorker = require('../stream/GenericWorker'); +var utf8 = require('../utf8'); +var crc32 = require('../crc32'); +var signature = require('../signature'); + +/** + * Transform an integer into a string in hexadecimal. + * @private + * @param {number} dec the number to convert. + * @param {number} bytes the number of bytes to generate. + * @returns {string} the result. + */ +var decToHex = function(dec, bytes) { + var hex = "", i; + for (i = 0; i < bytes; i++) { + hex += String.fromCharCode(dec & 0xff); + dec = dec >>> 8; + } + return hex; +}; + +/** + * Generate the UNIX part of the external file attributes. + * @param {Object} unixPermissions the unix permissions or null. + * @param {Boolean} isDir true if the entry is a directory, false otherwise. + * @return {Number} a 32 bit integer. + * + * adapted from http://unix.stackexchange.com/questions/14705/the-zip-formats-external-file-attribute : + * + * TTTTsstrwxrwxrwx0000000000ADVSHR + * ^^^^____________________________ file type, see zipinfo.c (UNX_*) + * ^^^_________________________ setuid, setgid, sticky + * ^^^^^^^^^________________ permissions + * ^^^^^^^^^^______ not used ? + * ^^^^^^ DOS attribute bits : Archive, Directory, Volume label, System file, Hidden, Read only + */ +var generateUnixExternalFileAttr = function (unixPermissions, isDir) { + + var result = unixPermissions; + if (!unixPermissions) { + // I can't use octal values in strict mode, hence the hexa. + // 040775 => 0x41fd + // 0100664 => 0x81b4 + result = isDir ? 0x41fd : 0x81b4; + } + return (result & 0xFFFF) << 16; +}; + +/** + * Generate the DOS part of the external file attributes. + * @param {Object} dosPermissions the dos permissions or null. + * @param {Boolean} isDir true if the entry is a directory, false otherwise. + * @return {Number} a 32 bit integer. + * + * Bit 0 Read-Only + * Bit 1 Hidden + * Bit 2 System + * Bit 3 Volume Label + * Bit 4 Directory + * Bit 5 Archive + */ +var generateDosExternalFileAttr = function (dosPermissions, isDir) { + + // the dir flag is already set for compatibility + return (dosPermissions || 0) & 0x3F; +}; + +/** + * Generate the various parts used in the construction of the final zip file. + * @param {Object} streamInfo the hash with informations about the compressed file. + * @param {Boolean} streamedContent is the content streamed ? + * @param {Boolean} streamingEnded is the stream finished ? + * @param {number} offset the current offset from the start of the zip file. + * @param {String} platform let's pretend we are this platform (change platform dependents fields) + * @param {Function} encodeFileName the function to encode the file name / comment. + * @return {Object} the zip parts. + */ +var generateZipParts = function(streamInfo, streamedContent, streamingEnded, offset, platform, encodeFileName) { + var file = streamInfo['file'], + compression = streamInfo['compression'], + useCustomEncoding = encodeFileName !== utf8.utf8encode, + encodedFileName = utils.transformTo("string", encodeFileName(file.name)), + utfEncodedFileName = utils.transformTo("string", utf8.utf8encode(file.name)), + comment = file.comment, + encodedComment = utils.transformTo("string", encodeFileName(comment)), + utfEncodedComment = utils.transformTo("string", utf8.utf8encode(comment)), + useUTF8ForFileName = utfEncodedFileName.length !== file.name.length, + useUTF8ForComment = utfEncodedComment.length !== comment.length, + dosTime, + dosDate, + extraFields = "", + unicodePathExtraField = "", + unicodeCommentExtraField = "", + dir = file.dir, + date = file.date; + + + var dataInfo = { + crc32 : 0, + compressedSize : 0, + uncompressedSize : 0 + }; + + // if the content is streamed, the sizes/crc32 are only available AFTER + // the end of the stream. + if (!streamedContent || streamingEnded) { + dataInfo.crc32 = streamInfo['crc32']; + dataInfo.compressedSize = streamInfo['compressedSize']; + dataInfo.uncompressedSize = streamInfo['uncompressedSize']; + } + + var bitflag = 0; + if (streamedContent) { + // Bit 3: the sizes/crc32 are set to zero in the local header. + // The correct values are put in the data descriptor immediately + // following the compressed data. + bitflag |= 0x0008; + } + if (!useCustomEncoding && (useUTF8ForFileName || useUTF8ForComment)) { + // Bit 11: Language encoding flag (EFS). + bitflag |= 0x0800; + } + + + var extFileAttr = 0; + var versionMadeBy = 0; + if (dir) { + // dos or unix, we set the dos dir flag + extFileAttr |= 0x00010; + } + if(platform === "UNIX") { + versionMadeBy = 0x031E; // UNIX, version 3.0 + extFileAttr |= generateUnixExternalFileAttr(file.unixPermissions, dir); + } else { // DOS or other, fallback to DOS + versionMadeBy = 0x0014; // DOS, version 2.0 + extFileAttr |= generateDosExternalFileAttr(file.dosPermissions, dir); + } + + // date + // @see http://www.delorie.com/djgpp/doc/rbinter/it/52/13.html + // @see http://www.delorie.com/djgpp/doc/rbinter/it/65/16.html + // @see http://www.delorie.com/djgpp/doc/rbinter/it/66/16.html + + dosTime = date.getUTCHours(); + dosTime = dosTime << 6; + dosTime = dosTime | date.getUTCMinutes(); + dosTime = dosTime << 5; + dosTime = dosTime | date.getUTCSeconds() / 2; + + dosDate = date.getUTCFullYear() - 1980; + dosDate = dosDate << 4; + dosDate = dosDate | (date.getUTCMonth() + 1); + dosDate = dosDate << 5; + dosDate = dosDate | date.getUTCDate(); + + if (useUTF8ForFileName) { + // set the unicode path extra field. unzip needs at least one extra + // field to correctly handle unicode path, so using the path is as good + // as any other information. This could improve the situation with + // other archive managers too. + // This field is usually used without the utf8 flag, with a non + // unicode path in the header (winrar, winzip). This helps (a bit) + // with the messy Windows' default compressed folders feature but + // breaks on p7zip which doesn't seek the unicode path extra field. + // So for now, UTF-8 everywhere ! + unicodePathExtraField = + // Version + decToHex(1, 1) + + // NameCRC32 + decToHex(crc32(encodedFileName), 4) + + // UnicodeName + utfEncodedFileName; + + extraFields += + // Info-ZIP Unicode Path Extra Field + "\x75\x70" + + // size + decToHex(unicodePathExtraField.length, 2) + + // content + unicodePathExtraField; + } + + if(useUTF8ForComment) { + + unicodeCommentExtraField = + // Version + decToHex(1, 1) + + // CommentCRC32 + decToHex(crc32(encodedComment), 4) + + // UnicodeName + utfEncodedComment; + + extraFields += + // Info-ZIP Unicode Path Extra Field + "\x75\x63" + + // size + decToHex(unicodeCommentExtraField.length, 2) + + // content + unicodeCommentExtraField; + } + + var header = ""; + + // version needed to extract + header += "\x0A\x00"; + // general purpose bit flag + header += decToHex(bitflag, 2); + // compression method + header += compression.magic; + // last mod file time + header += decToHex(dosTime, 2); + // last mod file date + header += decToHex(dosDate, 2); + // crc-32 + header += decToHex(dataInfo.crc32, 4); + // compressed size + header += decToHex(dataInfo.compressedSize, 4); + // uncompressed size + header += decToHex(dataInfo.uncompressedSize, 4); + // file name length + header += decToHex(encodedFileName.length, 2); + // extra field length + header += decToHex(extraFields.length, 2); + + + var fileRecord = signature.LOCAL_FILE_HEADER + header + encodedFileName + extraFields; + + var dirRecord = signature.CENTRAL_FILE_HEADER + + // version made by (00: DOS) + decToHex(versionMadeBy, 2) + + // file header (common to file and central directory) + header + + // file comment length + decToHex(encodedComment.length, 2) + + // disk number start + "\x00\x00" + + // internal file attributes TODO + "\x00\x00" + + // external file attributes + decToHex(extFileAttr, 4) + + // relative offset of local header + decToHex(offset, 4) + + // file name + encodedFileName + + // extra field + extraFields + + // file comment + encodedComment; + + return { + fileRecord: fileRecord, + dirRecord: dirRecord + }; +}; + +/** + * Generate the EOCD record. + * @param {Number} entriesCount the number of entries in the zip file. + * @param {Number} centralDirLength the length (in bytes) of the central dir. + * @param {Number} localDirLength the length (in bytes) of the local dir. + * @param {String} comment the zip file comment as a binary string. + * @param {Function} encodeFileName the function to encode the comment. + * @return {String} the EOCD record. + */ +var generateCentralDirectoryEnd = function (entriesCount, centralDirLength, localDirLength, comment, encodeFileName) { + var dirEnd = ""; + var encodedComment = utils.transformTo("string", encodeFileName(comment)); + + // end of central dir signature + dirEnd = signature.CENTRAL_DIRECTORY_END + + // number of this disk + "\x00\x00" + + // number of the disk with the start of the central directory + "\x00\x00" + + // total number of entries in the central directory on this disk + decToHex(entriesCount, 2) + + // total number of entries in the central directory + decToHex(entriesCount, 2) + + // size of the central directory 4 bytes + decToHex(centralDirLength, 4) + + // offset of start of central directory with respect to the starting disk number + decToHex(localDirLength, 4) + + // .ZIP file comment length + decToHex(encodedComment.length, 2) + + // .ZIP file comment + encodedComment; + + return dirEnd; +}; + +/** + * Generate data descriptors for a file entry. + * @param {Object} streamInfo the hash generated by a worker, containing informations + * on the file entry. + * @return {String} the data descriptors. + */ +var generateDataDescriptors = function (streamInfo) { + var descriptor = ""; + descriptor = signature.DATA_DESCRIPTOR + + // crc-32 4 bytes + decToHex(streamInfo['crc32'], 4) + + // compressed size 4 bytes + decToHex(streamInfo['compressedSize'], 4) + + // uncompressed size 4 bytes + decToHex(streamInfo['uncompressedSize'], 4); + + return descriptor; +}; + + +/** + * A worker to concatenate other workers to create a zip file. + * @param {Boolean} streamFiles `true` to stream the content of the files, + * `false` to accumulate it. + * @param {String} comment the comment to use. + * @param {String} platform the platform to use, "UNIX" or "DOS". + * @param {Function} encodeFileName the function to encode file names and comments. + */ +function ZipFileWorker(streamFiles, comment, platform, encodeFileName) { + GenericWorker.call(this, "ZipFileWorker"); + // The number of bytes written so far. This doesn't count accumulated chunks. + this.bytesWritten = 0; + // The comment of the zip file + this.zipComment = comment; + // The platform "generating" the zip file. + this.zipPlatform = platform; + // the function to encode file names and comments. + this.encodeFileName = encodeFileName; + // Should we stream the content of the files ? + this.streamFiles = streamFiles; + // If `streamFiles` is false, we will need to accumulate the content of the + // files to calculate sizes / crc32 (and write them *before* the content). + // This boolean indicates if we are accumulating chunks (it will change a lot + // during the lifetime of this worker). + this.accumulate = false; + // The buffer receiving chunks when accumulating content. + this.contentBuffer = []; + // The list of generated directory records. + this.dirRecords = []; + // The offset (in bytes) from the beginning of the zip file for the current source. + this.currentSourceOffset = 0; + // The total number of entries in this zip file. + this.entriesCount = 0; + // the name of the file currently being added, null when handling the end of the zip file. + // Used for the emited metadata. + this.currentFile = null; + + + + this._sources = []; +} +utils.inherits(ZipFileWorker, GenericWorker); + +/** + * @see GenericWorker.push + */ +ZipFileWorker.prototype.push = function (chunk) { + + var currentFilePercent = chunk.meta.percent || 0; + var entriesCount = this.entriesCount; + var remainingFiles = this._sources.length; + + if(this.accumulate) { + this.contentBuffer.push(chunk); + } else { + this.bytesWritten += chunk.data.length; + + GenericWorker.prototype.push.call(this, { + data : chunk.data, + meta : { + currentFile : this.currentFile, + percent : entriesCount ? (currentFilePercent + 100 * (entriesCount - remainingFiles - 1)) / entriesCount : 100 + } + }); + } +}; + +/** + * The worker started a new source (an other worker). + * @param {Object} streamInfo the streamInfo object from the new source. + */ +ZipFileWorker.prototype.openedSource = function (streamInfo) { + this.currentSourceOffset = this.bytesWritten; + this.currentFile = streamInfo['file'].name; + + var streamedContent = this.streamFiles && !streamInfo['file'].dir; + + // don't stream folders (because they don't have any content) + if(streamedContent) { + var record = generateZipParts(streamInfo, streamedContent, false, this.currentSourceOffset, this.zipPlatform, this.encodeFileName); + this.push({ + data : record.fileRecord, + meta : {percent:0} + }); + } else { + // we need to wait for the whole file before pushing anything + this.accumulate = true; + } +}; + +/** + * The worker finished a source (an other worker). + * @param {Object} streamInfo the streamInfo object from the finished source. + */ +ZipFileWorker.prototype.closedSource = function (streamInfo) { + this.accumulate = false; + var streamedContent = this.streamFiles && !streamInfo['file'].dir; + var record = generateZipParts(streamInfo, streamedContent, true, this.currentSourceOffset, this.zipPlatform, this.encodeFileName); + + this.dirRecords.push(record.dirRecord); + if(streamedContent) { + // after the streamed file, we put data descriptors + this.push({ + data : generateDataDescriptors(streamInfo), + meta : {percent:100} + }); + } else { + // the content wasn't streamed, we need to push everything now + // first the file record, then the content + this.push({ + data : record.fileRecord, + meta : {percent:0} + }); + while(this.contentBuffer.length) { + this.push(this.contentBuffer.shift()); + } + } + this.currentFile = null; +}; + +/** + * @see GenericWorker.flush + */ +ZipFileWorker.prototype.flush = function () { + + var localDirLength = this.bytesWritten; + for(var i = 0; i < this.dirRecords.length; i++) { + this.push({ + data : this.dirRecords[i], + meta : {percent:100} + }); + } + var centralDirLength = this.bytesWritten - localDirLength; + + var dirEnd = generateCentralDirectoryEnd(this.dirRecords.length, centralDirLength, localDirLength, this.zipComment, this.encodeFileName); + + this.push({ + data : dirEnd, + meta : {percent:100} + }); +}; + +/** + * Prepare the next source to be read. + */ +ZipFileWorker.prototype.prepareNextSource = function () { + this.previous = this._sources.shift(); + this.openedSource(this.previous.streamInfo); + if (this.isPaused) { + this.previous.pause(); + } else { + this.previous.resume(); + } +}; + +/** + * @see GenericWorker.registerPrevious + */ +ZipFileWorker.prototype.registerPrevious = function (previous) { + this._sources.push(previous); + var self = this; + + previous.on('data', function (chunk) { + self.processChunk(chunk); + }); + previous.on('end', function () { + self.closedSource(self.previous.streamInfo); + if(self._sources.length) { + self.prepareNextSource(); + } else { + self.end(); + } + }); + previous.on('error', function (e) { + self.error(e); + }); + return this; +}; + +/** + * @see GenericWorker.resume + */ +ZipFileWorker.prototype.resume = function () { + if(!GenericWorker.prototype.resume.call(this)) { + return false; + } + + if (!this.previous && this._sources.length) { + this.prepareNextSource(); + return true; + } + if (!this.previous && !this._sources.length && !this.generatedError) { + this.end(); + return true; + } +}; + +/** + * @see GenericWorker.error + */ +ZipFileWorker.prototype.error = function (e) { + var sources = this._sources; + if(!GenericWorker.prototype.error.call(this, e)) { + return false; + } + for(var i = 0; i < sources.length; i++) { + try { + sources[i].error(e); + } catch(e) { + // the `error` exploded, nothing to do + } + } + return true; +}; + +/** + * @see GenericWorker.lock + */ +ZipFileWorker.prototype.lock = function () { + GenericWorker.prototype.lock.call(this); + var sources = this._sources; + for(var i = 0; i < sources.length; i++) { + sources[i].lock(); + } +}; + +module.exports = ZipFileWorker; + +},{"../crc32":4,"../signature":23,"../stream/GenericWorker":28,"../utf8":31,"../utils":32}],9:[function(require,module,exports){ +'use strict'; + +var compressions = require('../compressions'); +var ZipFileWorker = require('./ZipFileWorker'); + +/** + * Find the compression to use. + * @param {String} fileCompression the compression defined at the file level, if any. + * @param {String} zipCompression the compression defined at the load() level. + * @return {Object} the compression object to use. + */ +var getCompression = function (fileCompression, zipCompression) { + + var compressionName = fileCompression || zipCompression; + var compression = compressions[compressionName]; + if (!compression) { + throw new Error(compressionName + " is not a valid compression method !"); + } + return compression; +}; + +/** + * Create a worker to generate a zip file. + * @param {JSZip} zip the JSZip instance at the right root level. + * @param {Object} options to generate the zip file. + * @param {String} comment the comment to use. + */ +exports.generateWorker = function (zip, options, comment) { + + var zipFileWorker = new ZipFileWorker(options.streamFiles, comment, options.platform, options.encodeFileName); + var entriesCount = 0; + try { + + zip.forEach(function (relativePath, file) { + entriesCount++; + var compression = getCompression(file.options.compression, options.compression); + var compressionOptions = file.options.compressionOptions || options.compressionOptions || {}; + var dir = file.dir, date = file.date; + + file._compressWorker(compression, compressionOptions) + .withStreamInfo("file", { + name : relativePath, + dir : dir, + date : date, + comment : file.comment || "", + unixPermissions : file.unixPermissions, + dosPermissions : file.dosPermissions + }) + .pipe(zipFileWorker); + }); + zipFileWorker.entriesCount = entriesCount; + } catch (e) { + zipFileWorker.error(e); + } + + return zipFileWorker; +}; + +},{"../compressions":3,"./ZipFileWorker":8}],10:[function(require,module,exports){ +'use strict'; + +/** + * Representation a of zip file in js + * @constructor + */ +function JSZip() { + // if this constructor is used without `new`, it adds `new` before itself: + if(!(this instanceof JSZip)) { + return new JSZip(); + } + + if(arguments.length) { + throw new Error("The constructor with parameters has been removed in JSZip 3.0, please check the upgrade guide."); + } + + // object containing the files : + // { + // "folder/" : {...}, + // "folder/data.txt" : {...} + // } + this.files = {}; + + this.comment = null; + + // Where we are in the hierarchy + this.root = ""; + this.clone = function() { + var newObj = new JSZip(); + for (var i in this) { + if (typeof this[i] !== "function") { + newObj[i] = this[i]; + } + } + return newObj; + }; +} +JSZip.prototype = require('./object'); +JSZip.prototype.loadAsync = require('./load'); +JSZip.support = require('./support'); +JSZip.defaults = require('./defaults'); + +// TODO find a better way to handle this version, +// a require('package.json').version doesn't work with webpack, see #327 +JSZip.version = "3.1.5"; + +JSZip.loadAsync = function (content, options) { + return new JSZip().loadAsync(content, options); +}; + +JSZip.external = require("./external"); +module.exports = JSZip; + +},{"./defaults":5,"./external":6,"./load":11,"./object":15,"./support":30}],11:[function(require,module,exports){ +'use strict'; +var utils = require('./utils'); +var external = require("./external"); +var utf8 = require('./utf8'); +var utils = require('./utils'); +var ZipEntries = require('./zipEntries'); +var Crc32Probe = require('./stream/Crc32Probe'); +var nodejsUtils = require("./nodejsUtils"); + +/** + * Check the CRC32 of an entry. + * @param {ZipEntry} zipEntry the zip entry to check. + * @return {Promise} the result. + */ +function checkEntryCRC32(zipEntry) { + return new external.Promise(function (resolve, reject) { + var worker = zipEntry.decompressed.getContentWorker().pipe(new Crc32Probe()); + worker.on("error", function (e) { + reject(e); + }) + .on("end", function () { + if (worker.streamInfo.crc32 !== zipEntry.decompressed.crc32) { + reject(new Error("Corrupted zip : CRC32 mismatch")); + } else { + resolve(); + } + }) + .resume(); + }); +} + +module.exports = function(data, options) { + var zip = this; + options = utils.extend(options || {}, { + base64: false, + checkCRC32: false, + optimizedBinaryString: false, + createFolders: false, + decodeFileName: utf8.utf8decode + }); + + if (nodejsUtils.isNode && nodejsUtils.isStream(data)) { + return external.Promise.reject(new Error("JSZip can't accept a stream when loading a zip file.")); + } + + return utils.prepareContent("the loaded zip file", data, true, options.optimizedBinaryString, options.base64) + .then(function(data) { + var zipEntries = new ZipEntries(options); + zipEntries.load(data); + return zipEntries; + }).then(function checkCRC32(zipEntries) { + var promises = [external.Promise.resolve(zipEntries)]; + var files = zipEntries.files; + if (options.checkCRC32) { + for (var i = 0; i < files.length; i++) { + promises.push(checkEntryCRC32(files[i])); + } + } + return external.Promise.all(promises); + }).then(function addFiles(results) { + var zipEntries = results.shift(); + var files = zipEntries.files; + for (var i = 0; i < files.length; i++) { + var input = files[i]; + zip.file(input.fileNameStr, input.decompressed, { + binary: true, + optimizedBinaryString: true, + date: input.date, + dir: input.dir, + comment : input.fileCommentStr.length ? input.fileCommentStr : null, + unixPermissions : input.unixPermissions, + dosPermissions : input.dosPermissions, + createFolders: options.createFolders + }); + } + if (zipEntries.zipComment.length) { + zip.comment = zipEntries.zipComment; + } + + return zip; + }); +}; + +},{"./external":6,"./nodejsUtils":14,"./stream/Crc32Probe":25,"./utf8":31,"./utils":32,"./zipEntries":33}],12:[function(require,module,exports){ +"use strict"; + +var utils = require('../utils'); +var GenericWorker = require('../stream/GenericWorker'); + +/** + * A worker that use a nodejs stream as source. + * @constructor + * @param {String} filename the name of the file entry for this stream. + * @param {Readable} stream the nodejs stream. + */ +function NodejsStreamInputAdapter(filename, stream) { + GenericWorker.call(this, "Nodejs stream input adapter for " + filename); + this._upstreamEnded = false; + this._bindStream(stream); +} + +utils.inherits(NodejsStreamInputAdapter, GenericWorker); + +/** + * Prepare the stream and bind the callbacks on it. + * Do this ASAP on node 0.10 ! A lazy binding doesn't always work. + * @param {Stream} stream the nodejs stream to use. + */ +NodejsStreamInputAdapter.prototype._bindStream = function (stream) { + var self = this; + this._stream = stream; + stream.pause(); + stream + .on("data", function (chunk) { + self.push({ + data: chunk, + meta : { + percent : 0 + } + }); + }) + .on("error", function (e) { + if(self.isPaused) { + this.generatedError = e; + } else { + self.error(e); + } + }) + .on("end", function () { + if(self.isPaused) { + self._upstreamEnded = true; + } else { + self.end(); + } + }); +}; +NodejsStreamInputAdapter.prototype.pause = function () { + if(!GenericWorker.prototype.pause.call(this)) { + return false; + } + this._stream.pause(); + return true; +}; +NodejsStreamInputAdapter.prototype.resume = function () { + if(!GenericWorker.prototype.resume.call(this)) { + return false; + } + + if(this._upstreamEnded) { + this.end(); + } else { + this._stream.resume(); + } + + return true; +}; + +module.exports = NodejsStreamInputAdapter; + +},{"../stream/GenericWorker":28,"../utils":32}],13:[function(require,module,exports){ +'use strict'; + +var Readable = require('readable-stream').Readable; + +var utils = require('../utils'); +utils.inherits(NodejsStreamOutputAdapter, Readable); + +/** +* A nodejs stream using a worker as source. +* @see the SourceWrapper in http://nodejs.org/api/stream.html +* @constructor +* @param {StreamHelper} helper the helper wrapping the worker +* @param {Object} options the nodejs stream options +* @param {Function} updateCb the update callback. +*/ +function NodejsStreamOutputAdapter(helper, options, updateCb) { + Readable.call(this, options); + this._helper = helper; + + var self = this; + helper.on("data", function (data, meta) { + if (!self.push(data)) { + self._helper.pause(); + } + if(updateCb) { + updateCb(meta); + } + }) + .on("error", function(e) { + self.emit('error', e); + }) + .on("end", function () { + self.push(null); + }); +} + + +NodejsStreamOutputAdapter.prototype._read = function() { + this._helper.resume(); +}; + +module.exports = NodejsStreamOutputAdapter; + +},{"../utils":32,"readable-stream":16}],14:[function(require,module,exports){ +'use strict'; + +module.exports = { + /** + * True if this is running in Nodejs, will be undefined in a browser. + * In a browser, browserify won't include this file and the whole module + * will be resolved an empty object. + */ + isNode : typeof Buffer !== "undefined", + /** + * Create a new nodejs Buffer from an existing content. + * @param {Object} data the data to pass to the constructor. + * @param {String} encoding the encoding to use. + * @return {Buffer} a new Buffer. + */ + newBufferFrom: function(data, encoding) { + // XXX We can't use `Buffer.from` which comes from `Uint8Array.from` + // in nodejs v4 (< v.4.5). It's not the expected implementation (and + // has a different signature). + // see https://github.com/nodejs/node/issues/8053 + // A condition on nodejs' version won't solve the issue as we don't + // control the Buffer polyfills that may or may not be used. + return new Buffer(data, encoding); + }, + /** + * Create a new nodejs Buffer with the specified size. + * @param {Integer} size the size of the buffer. + * @return {Buffer} a new Buffer. + */ + allocBuffer: function (size) { + if (Buffer.alloc) { + return Buffer.alloc(size); + } else { + return new Buffer(size); + } + }, + /** + * Find out if an object is a Buffer. + * @param {Object} b the object to test. + * @return {Boolean} true if the object is a Buffer, false otherwise. + */ + isBuffer : function(b){ + return Buffer.isBuffer(b); + }, + + isStream : function (obj) { + return obj && + typeof obj.on === "function" && + typeof obj.pause === "function" && + typeof obj.resume === "function"; + } +}; + +},{}],15:[function(require,module,exports){ +'use strict'; +var utf8 = require('./utf8'); +var utils = require('./utils'); +var GenericWorker = require('./stream/GenericWorker'); +var StreamHelper = require('./stream/StreamHelper'); +var defaults = require('./defaults'); +var CompressedObject = require('./compressedObject'); +var ZipObject = require('./zipObject'); +var generate = require("./generate"); +var nodejsUtils = require("./nodejsUtils"); +var NodejsStreamInputAdapter = require("./nodejs/NodejsStreamInputAdapter"); + + +/** + * Add a file in the current folder. + * @private + * @param {string} name the name of the file + * @param {String|ArrayBuffer|Uint8Array|Buffer} data the data of the file + * @param {Object} originalOptions the options of the file + * @return {Object} the new file. + */ +var fileAdd = function(name, data, originalOptions) { + // be sure sub folders exist + var dataType = utils.getTypeOf(data), + parent; + + + /* + * Correct options. + */ + + var o = utils.extend(originalOptions || {}, defaults); + o.date = o.date || new Date(); + if (o.compression !== null) { + o.compression = o.compression.toUpperCase(); + } + + if (typeof o.unixPermissions === "string") { + o.unixPermissions = parseInt(o.unixPermissions, 8); + } + + // UNX_IFDIR 0040000 see zipinfo.c + if (o.unixPermissions && (o.unixPermissions & 0x4000)) { + o.dir = true; + } + // Bit 4 Directory + if (o.dosPermissions && (o.dosPermissions & 0x0010)) { + o.dir = true; + } + + if (o.dir) { + name = forceTrailingSlash(name); + } + if (o.createFolders && (parent = parentFolder(name))) { + folderAdd.call(this, parent, true); + } + + var isUnicodeString = dataType === "string" && o.binary === false && o.base64 === false; + if (!originalOptions || typeof originalOptions.binary === "undefined") { + o.binary = !isUnicodeString; + } + + + var isCompressedEmpty = (data instanceof CompressedObject) && data.uncompressedSize === 0; + + if (isCompressedEmpty || o.dir || !data || data.length === 0) { + o.base64 = false; + o.binary = true; + data = ""; + o.compression = "STORE"; + dataType = "string"; + } + + /* + * Convert content to fit. + */ + + var zipObjectContent = null; + if (data instanceof CompressedObject || data instanceof GenericWorker) { + zipObjectContent = data; + } else if (nodejsUtils.isNode && nodejsUtils.isStream(data)) { + zipObjectContent = new NodejsStreamInputAdapter(name, data); + } else { + zipObjectContent = utils.prepareContent(name, data, o.binary, o.optimizedBinaryString, o.base64); + } + + var object = new ZipObject(name, zipObjectContent, o); + this.files[name] = object; + /* + TODO: we can't throw an exception because we have async promises + (we can have a promise of a Date() for example) but returning a + promise is useless because file(name, data) returns the JSZip + object for chaining. Should we break that to allow the user + to catch the error ? + + return external.Promise.resolve(zipObjectContent) + .then(function () { + return object; + }); + */ +}; + +/** + * Find the parent folder of the path. + * @private + * @param {string} path the path to use + * @return {string} the parent folder, or "" + */ +var parentFolder = function (path) { + if (path.slice(-1) === '/') { + path = path.substring(0, path.length - 1); + } + var lastSlash = path.lastIndexOf('/'); + return (lastSlash > 0) ? path.substring(0, lastSlash) : ""; +}; + +/** + * Returns the path with a slash at the end. + * @private + * @param {String} path the path to check. + * @return {String} the path with a trailing slash. + */ +var forceTrailingSlash = function(path) { + // Check the name ends with a / + if (path.slice(-1) !== "/") { + path += "/"; // IE doesn't like substr(-1) + } + return path; +}; + +/** + * Add a (sub) folder in the current folder. + * @private + * @param {string} name the folder's name + * @param {boolean=} [createFolders] If true, automatically create sub + * folders. Defaults to false. + * @return {Object} the new folder. + */ +var folderAdd = function(name, createFolders) { + createFolders = (typeof createFolders !== 'undefined') ? createFolders : defaults.createFolders; + + name = forceTrailingSlash(name); + + // Does this folder already exist? + if (!this.files[name]) { + fileAdd.call(this, name, null, { + dir: true, + createFolders: createFolders + }); + } + return this.files[name]; +}; + +/** +* Cross-window, cross-Node-context regular expression detection +* @param {Object} object Anything +* @return {Boolean} true if the object is a regular expression, +* false otherwise +*/ +function isRegExp(object) { + return Object.prototype.toString.call(object) === "[object RegExp]"; +} + +// return the actual prototype of JSZip +var out = { + /** + * @see loadAsync + */ + load: function() { + throw new Error("This method has been removed in JSZip 3.0, please check the upgrade guide."); + }, + + + /** + * Call a callback function for each entry at this folder level. + * @param {Function} cb the callback function: + * function (relativePath, file) {...} + * It takes 2 arguments : the relative path and the file. + */ + forEach: function(cb) { + var filename, relativePath, file; + for (filename in this.files) { + if (!this.files.hasOwnProperty(filename)) { + continue; + } + file = this.files[filename]; + relativePath = filename.slice(this.root.length, filename.length); + if (relativePath && filename.slice(0, this.root.length) === this.root) { // the file is in the current root + cb(relativePath, file); // TODO reverse the parameters ? need to be clean AND consistent with the filter search fn... + } + } + }, + + /** + * Filter nested files/folders with the specified function. + * @param {Function} search the predicate to use : + * function (relativePath, file) {...} + * It takes 2 arguments : the relative path and the file. + * @return {Array} An array of matching elements. + */ + filter: function(search) { + var result = []; + this.forEach(function (relativePath, entry) { + if (search(relativePath, entry)) { // the file matches the function + result.push(entry); + } + + }); + return result; + }, + + /** + * Add a file to the zip file, or search a file. + * @param {string|RegExp} name The name of the file to add (if data is defined), + * the name of the file to find (if no data) or a regex to match files. + * @param {String|ArrayBuffer|Uint8Array|Buffer} data The file data, either raw or base64 encoded + * @param {Object} o File options + * @return {JSZip|Object|Array} this JSZip object (when adding a file), + * a file (when searching by string) or an array of files (when searching by regex). + */ + file: function(name, data, o) { + if (arguments.length === 1) { + if (isRegExp(name)) { + var regexp = name; + return this.filter(function(relativePath, file) { + return !file.dir && regexp.test(relativePath); + }); + } + else { // text + var obj = this.files[this.root + name]; + if (obj && !obj.dir) { + return obj; + } else { + return null; + } + } + } + else { // more than one argument : we have data ! + name = this.root + name; + fileAdd.call(this, name, data, o); + } + return this; + }, + + /** + * Add a directory to the zip file, or search. + * @param {String|RegExp} arg The name of the directory to add, or a regex to search folders. + * @return {JSZip} an object with the new directory as the root, or an array containing matching folders. + */ + folder: function(arg) { + if (!arg) { + return this; + } + + if (isRegExp(arg)) { + return this.filter(function(relativePath, file) { + return file.dir && arg.test(relativePath); + }); + } + + // else, name is a new folder + var name = this.root + arg; + var newFolder = folderAdd.call(this, name); + + // Allow chaining by returning a new object with this folder as the root + var ret = this.clone(); + ret.root = newFolder.name; + return ret; + }, + + /** + * Delete a file, or a directory and all sub-files, from the zip + * @param {string} name the name of the file to delete + * @return {JSZip} this JSZip object + */ + remove: function(name) { + name = this.root + name; + var file = this.files[name]; + if (!file) { + // Look for any folders + if (name.slice(-1) !== "/") { + name += "/"; + } + file = this.files[name]; + } + + if (file && !file.dir) { + // file + delete this.files[name]; + } else { + // maybe a folder, delete recursively + var kids = this.filter(function(relativePath, file) { + return file.name.slice(0, name.length) === name; + }); + for (var i = 0; i < kids.length; i++) { + delete this.files[kids[i].name]; + } + } + + return this; + }, + + /** + * Generate the complete zip file + * @param {Object} options the options to generate the zip file : + * - compression, "STORE" by default. + * - type, "base64" by default. Values are : string, base64, uint8array, arraybuffer, blob. + * @return {String|Uint8Array|ArrayBuffer|Buffer|Blob} the zip file + */ + generate: function(options) { + throw new Error("This method has been removed in JSZip 3.0, please check the upgrade guide."); + }, + + /** + * Generate the complete zip file as an internal stream. + * @param {Object} options the options to generate the zip file : + * - compression, "STORE" by default. + * - type, "base64" by default. Values are : string, base64, uint8array, arraybuffer, blob. + * @return {StreamHelper} the streamed zip file. + */ + generateInternalStream: function(options) { + var worker, opts = {}; + try { + opts = utils.extend(options || {}, { + streamFiles: false, + compression: "STORE", + compressionOptions : null, + type: "", + platform: "DOS", + comment: null, + mimeType: 'application/zip', + encodeFileName: utf8.utf8encode + }); + + opts.type = opts.type.toLowerCase(); + opts.compression = opts.compression.toUpperCase(); + + // "binarystring" is prefered but the internals use "string". + if(opts.type === "binarystring") { + opts.type = "string"; + } + + if (!opts.type) { + throw new Error("No output type specified."); + } + + utils.checkSupport(opts.type); + + // accept nodejs `process.platform` + if( + opts.platform === 'darwin' || + opts.platform === 'freebsd' || + opts.platform === 'linux' || + opts.platform === 'sunos' + ) { + opts.platform = "UNIX"; + } + if (opts.platform === 'win32') { + opts.platform = "DOS"; + } + + var comment = opts.comment || this.comment || ""; + worker = generate.generateWorker(this, opts, comment); + } catch (e) { + worker = new GenericWorker("error"); + worker.error(e); + } + return new StreamHelper(worker, opts.type || "string", opts.mimeType); + }, + /** + * Generate the complete zip file asynchronously. + * @see generateInternalStream + */ + generateAsync: function(options, onUpdate) { + return this.generateInternalStream(options).accumulate(onUpdate); + }, + /** + * Generate the complete zip file asynchronously. + * @see generateInternalStream + */ + generateNodeStream: function(options, onUpdate) { + options = options || {}; + if (!options.type) { + options.type = "nodebuffer"; + } + return this.generateInternalStream(options).toNodejsStream(onUpdate); + } +}; +module.exports = out; + +},{"./compressedObject":2,"./defaults":5,"./generate":9,"./nodejs/NodejsStreamInputAdapter":12,"./nodejsUtils":14,"./stream/GenericWorker":28,"./stream/StreamHelper":29,"./utf8":31,"./utils":32,"./zipObject":35}],16:[function(require,module,exports){ +/* + * This file is used by module bundlers (browserify/webpack/etc) when + * including a stream implementation. We use "readable-stream" to get a + * consistent behavior between nodejs versions but bundlers often have a shim + * for "stream". Using this shim greatly improve the compatibility and greatly + * reduce the final size of the bundle (only one stream implementation, not + * two). + */ +module.exports = require("stream"); + +},{"stream":undefined}],17:[function(require,module,exports){ +'use strict'; +var DataReader = require('./DataReader'); +var utils = require('../utils'); + +function ArrayReader(data) { + DataReader.call(this, data); + for(var i = 0; i < this.data.length; i++) { + data[i] = data[i] & 0xFF; + } +} +utils.inherits(ArrayReader, DataReader); +/** + * @see DataReader.byteAt + */ +ArrayReader.prototype.byteAt = function(i) { + return this.data[this.zero + i]; +}; +/** + * @see DataReader.lastIndexOfSignature + */ +ArrayReader.prototype.lastIndexOfSignature = function(sig) { + var sig0 = sig.charCodeAt(0), + sig1 = sig.charCodeAt(1), + sig2 = sig.charCodeAt(2), + sig3 = sig.charCodeAt(3); + for (var i = this.length - 4; i >= 0; --i) { + if (this.data[i] === sig0 && this.data[i + 1] === sig1 && this.data[i + 2] === sig2 && this.data[i + 3] === sig3) { + return i - this.zero; + } + } + + return -1; +}; +/** + * @see DataReader.readAndCheckSignature + */ +ArrayReader.prototype.readAndCheckSignature = function (sig) { + var sig0 = sig.charCodeAt(0), + sig1 = sig.charCodeAt(1), + sig2 = sig.charCodeAt(2), + sig3 = sig.charCodeAt(3), + data = this.readData(4); + return sig0 === data[0] && sig1 === data[1] && sig2 === data[2] && sig3 === data[3]; +}; +/** + * @see DataReader.readData + */ +ArrayReader.prototype.readData = function(size) { + this.checkOffset(size); + if(size === 0) { + return []; + } + var result = this.data.slice(this.zero + this.index, this.zero + this.index + size); + this.index += size; + return result; +}; +module.exports = ArrayReader; + +},{"../utils":32,"./DataReader":18}],18:[function(require,module,exports){ +'use strict'; +var utils = require('../utils'); + +function DataReader(data) { + this.data = data; // type : see implementation + this.length = data.length; + this.index = 0; + this.zero = 0; +} +DataReader.prototype = { + /** + * Check that the offset will not go too far. + * @param {string} offset the additional offset to check. + * @throws {Error} an Error if the offset is out of bounds. + */ + checkOffset: function(offset) { + this.checkIndex(this.index + offset); + }, + /** + * Check that the specified index will not be too far. + * @param {string} newIndex the index to check. + * @throws {Error} an Error if the index is out of bounds. + */ + checkIndex: function(newIndex) { + if (this.length < this.zero + newIndex || newIndex < 0) { + throw new Error("End of data reached (data length = " + this.length + ", asked index = " + (newIndex) + "). Corrupted zip ?"); + } + }, + /** + * Change the index. + * @param {number} newIndex The new index. + * @throws {Error} if the new index is out of the data. + */ + setIndex: function(newIndex) { + this.checkIndex(newIndex); + this.index = newIndex; + }, + /** + * Skip the next n bytes. + * @param {number} n the number of bytes to skip. + * @throws {Error} if the new index is out of the data. + */ + skip: function(n) { + this.setIndex(this.index + n); + }, + /** + * Get the byte at the specified index. + * @param {number} i the index to use. + * @return {number} a byte. + */ + byteAt: function(i) { + // see implementations + }, + /** + * Get the next number with a given byte size. + * @param {number} size the number of bytes to read. + * @return {number} the corresponding number. + */ + readInt: function(size) { + var result = 0, + i; + this.checkOffset(size); + for (i = this.index + size - 1; i >= this.index; i--) { + result = (result << 8) + this.byteAt(i); + } + this.index += size; + return result; + }, + /** + * Get the next string with a given byte size. + * @param {number} size the number of bytes to read. + * @return {string} the corresponding string. + */ + readString: function(size) { + return utils.transformTo("string", this.readData(size)); + }, + /** + * Get raw data without conversion, bytes. + * @param {number} size the number of bytes to read. + * @return {Object} the raw data, implementation specific. + */ + readData: function(size) { + // see implementations + }, + /** + * Find the last occurence of a zip signature (4 bytes). + * @param {string} sig the signature to find. + * @return {number} the index of the last occurence, -1 if not found. + */ + lastIndexOfSignature: function(sig) { + // see implementations + }, + /** + * Read the signature (4 bytes) at the current position and compare it with sig. + * @param {string} sig the expected signature + * @return {boolean} true if the signature matches, false otherwise. + */ + readAndCheckSignature: function(sig) { + // see implementations + }, + /** + * Get the next date. + * @return {Date} the date. + */ + readDate: function() { + var dostime = this.readInt(4); + return new Date(Date.UTC( + ((dostime >> 25) & 0x7f) + 1980, // year + ((dostime >> 21) & 0x0f) - 1, // month + (dostime >> 16) & 0x1f, // day + (dostime >> 11) & 0x1f, // hour + (dostime >> 5) & 0x3f, // minute + (dostime & 0x1f) << 1)); // second + } +}; +module.exports = DataReader; + +},{"../utils":32}],19:[function(require,module,exports){ +'use strict'; +var Uint8ArrayReader = require('./Uint8ArrayReader'); +var utils = require('../utils'); + +function NodeBufferReader(data) { + Uint8ArrayReader.call(this, data); +} +utils.inherits(NodeBufferReader, Uint8ArrayReader); + +/** + * @see DataReader.readData + */ +NodeBufferReader.prototype.readData = function(size) { + this.checkOffset(size); + var result = this.data.slice(this.zero + this.index, this.zero + this.index + size); + this.index += size; + return result; +}; +module.exports = NodeBufferReader; + +},{"../utils":32,"./Uint8ArrayReader":21}],20:[function(require,module,exports){ +'use strict'; +var DataReader = require('./DataReader'); +var utils = require('../utils'); + +function StringReader(data) { + DataReader.call(this, data); +} +utils.inherits(StringReader, DataReader); +/** + * @see DataReader.byteAt + */ +StringReader.prototype.byteAt = function(i) { + return this.data.charCodeAt(this.zero + i); +}; +/** + * @see DataReader.lastIndexOfSignature + */ +StringReader.prototype.lastIndexOfSignature = function(sig) { + return this.data.lastIndexOf(sig) - this.zero; +}; +/** + * @see DataReader.readAndCheckSignature + */ +StringReader.prototype.readAndCheckSignature = function (sig) { + var data = this.readData(4); + return sig === data; +}; +/** + * @see DataReader.readData + */ +StringReader.prototype.readData = function(size) { + this.checkOffset(size); + // this will work because the constructor applied the "& 0xff" mask. + var result = this.data.slice(this.zero + this.index, this.zero + this.index + size); + this.index += size; + return result; +}; +module.exports = StringReader; + +},{"../utils":32,"./DataReader":18}],21:[function(require,module,exports){ +'use strict'; +var ArrayReader = require('./ArrayReader'); +var utils = require('../utils'); + +function Uint8ArrayReader(data) { + ArrayReader.call(this, data); +} +utils.inherits(Uint8ArrayReader, ArrayReader); +/** + * @see DataReader.readData + */ +Uint8ArrayReader.prototype.readData = function(size) { + this.checkOffset(size); + if(size === 0) { + // in IE10, when using subarray(idx, idx), we get the array [0x00] instead of []. + return new Uint8Array(0); + } + var result = this.data.subarray(this.zero + this.index, this.zero + this.index + size); + this.index += size; + return result; +}; +module.exports = Uint8ArrayReader; + +},{"../utils":32,"./ArrayReader":17}],22:[function(require,module,exports){ +'use strict'; + +var utils = require('../utils'); +var support = require('../support'); +var ArrayReader = require('./ArrayReader'); +var StringReader = require('./StringReader'); +var NodeBufferReader = require('./NodeBufferReader'); +var Uint8ArrayReader = require('./Uint8ArrayReader'); + +/** + * Create a reader adapted to the data. + * @param {String|ArrayBuffer|Uint8Array|Buffer} data the data to read. + * @return {DataReader} the data reader. + */ +module.exports = function (data) { + var type = utils.getTypeOf(data); + utils.checkSupport(type); + if (type === "string" && !support.uint8array) { + return new StringReader(data); + } + if (type === "nodebuffer") { + return new NodeBufferReader(data); + } + if (support.uint8array) { + return new Uint8ArrayReader(utils.transformTo("uint8array", data)); + } + return new ArrayReader(utils.transformTo("array", data)); +}; + +},{"../support":30,"../utils":32,"./ArrayReader":17,"./NodeBufferReader":19,"./StringReader":20,"./Uint8ArrayReader":21}],23:[function(require,module,exports){ +'use strict'; +exports.LOCAL_FILE_HEADER = "PK\x03\x04"; +exports.CENTRAL_FILE_HEADER = "PK\x01\x02"; +exports.CENTRAL_DIRECTORY_END = "PK\x05\x06"; +exports.ZIP64_CENTRAL_DIRECTORY_LOCATOR = "PK\x06\x07"; +exports.ZIP64_CENTRAL_DIRECTORY_END = "PK\x06\x06"; +exports.DATA_DESCRIPTOR = "PK\x07\x08"; + +},{}],24:[function(require,module,exports){ +'use strict'; + +var GenericWorker = require('./GenericWorker'); +var utils = require('../utils'); + +/** + * A worker which convert chunks to a specified type. + * @constructor + * @param {String} destType the destination type. + */ +function ConvertWorker(destType) { + GenericWorker.call(this, "ConvertWorker to " + destType); + this.destType = destType; +} +utils.inherits(ConvertWorker, GenericWorker); + +/** + * @see GenericWorker.processChunk + */ +ConvertWorker.prototype.processChunk = function (chunk) { + this.push({ + data : utils.transformTo(this.destType, chunk.data), + meta : chunk.meta + }); +}; +module.exports = ConvertWorker; + +},{"../utils":32,"./GenericWorker":28}],25:[function(require,module,exports){ +'use strict'; + +var GenericWorker = require('./GenericWorker'); +var crc32 = require('../crc32'); +var utils = require('../utils'); + +/** + * A worker which calculate the crc32 of the data flowing through. + * @constructor + */ +function Crc32Probe() { + GenericWorker.call(this, "Crc32Probe"); + this.withStreamInfo("crc32", 0); +} +utils.inherits(Crc32Probe, GenericWorker); + +/** + * @see GenericWorker.processChunk + */ +Crc32Probe.prototype.processChunk = function (chunk) { + this.streamInfo.crc32 = crc32(chunk.data, this.streamInfo.crc32 || 0); + this.push(chunk); +}; +module.exports = Crc32Probe; + +},{"../crc32":4,"../utils":32,"./GenericWorker":28}],26:[function(require,module,exports){ +'use strict'; + +var utils = require('../utils'); +var GenericWorker = require('./GenericWorker'); + +/** + * A worker which calculate the total length of the data flowing through. + * @constructor + * @param {String} propName the name used to expose the length + */ +function DataLengthProbe(propName) { + GenericWorker.call(this, "DataLengthProbe for " + propName); + this.propName = propName; + this.withStreamInfo(propName, 0); +} +utils.inherits(DataLengthProbe, GenericWorker); + +/** + * @see GenericWorker.processChunk + */ +DataLengthProbe.prototype.processChunk = function (chunk) { + if(chunk) { + var length = this.streamInfo[this.propName] || 0; + this.streamInfo[this.propName] = length + chunk.data.length; + } + GenericWorker.prototype.processChunk.call(this, chunk); +}; +module.exports = DataLengthProbe; + + +},{"../utils":32,"./GenericWorker":28}],27:[function(require,module,exports){ +'use strict'; + +var utils = require('../utils'); +var GenericWorker = require('./GenericWorker'); + +// the size of the generated chunks +// TODO expose this as a public variable +var DEFAULT_BLOCK_SIZE = 16 * 1024; + +/** + * A worker that reads a content and emits chunks. + * @constructor + * @param {Promise} dataP the promise of the data to split + */ +function DataWorker(dataP) { + GenericWorker.call(this, "DataWorker"); + var self = this; + this.dataIsReady = false; + this.index = 0; + this.max = 0; + this.data = null; + this.type = ""; + + this._tickScheduled = false; + + dataP.then(function (data) { + self.dataIsReady = true; + self.data = data; + self.max = data && data.length || 0; + self.type = utils.getTypeOf(data); + if(!self.isPaused) { + self._tickAndRepeat(); + } + }, function (e) { + self.error(e); + }); +} + +utils.inherits(DataWorker, GenericWorker); + +/** + * @see GenericWorker.cleanUp + */ +DataWorker.prototype.cleanUp = function () { + GenericWorker.prototype.cleanUp.call(this); + this.data = null; +}; + +/** + * @see GenericWorker.resume + */ +DataWorker.prototype.resume = function () { + if(!GenericWorker.prototype.resume.call(this)) { + return false; + } + + if (!this._tickScheduled && this.dataIsReady) { + this._tickScheduled = true; + utils.delay(this._tickAndRepeat, [], this); + } + return true; +}; + +/** + * Trigger a tick a schedule an other call to this function. + */ +DataWorker.prototype._tickAndRepeat = function() { + this._tickScheduled = false; + if(this.isPaused || this.isFinished) { + return; + } + this._tick(); + if(!this.isFinished) { + utils.delay(this._tickAndRepeat, [], this); + this._tickScheduled = true; + } +}; + +/** + * Read and push a chunk. + */ +DataWorker.prototype._tick = function() { + + if(this.isPaused || this.isFinished) { + return false; + } + + var size = DEFAULT_BLOCK_SIZE; + var data = null, nextIndex = Math.min(this.max, this.index + size); + if (this.index >= this.max) { + // EOF + return this.end(); + } else { + switch(this.type) { + case "string": + data = this.data.substring(this.index, nextIndex); + break; + case "uint8array": + data = this.data.subarray(this.index, nextIndex); + break; + case "array": + case "nodebuffer": + data = this.data.slice(this.index, nextIndex); + break; + } + this.index = nextIndex; + return this.push({ + data : data, + meta : { + percent : this.max ? this.index / this.max * 100 : 0 + } + }); + } +}; + +module.exports = DataWorker; + +},{"../utils":32,"./GenericWorker":28}],28:[function(require,module,exports){ +'use strict'; + +/** + * A worker that does nothing but passing chunks to the next one. This is like + * a nodejs stream but with some differences. On the good side : + * - it works on IE 6-9 without any issue / polyfill + * - it weights less than the full dependencies bundled with browserify + * - it forwards errors (no need to declare an error handler EVERYWHERE) + * + * A chunk is an object with 2 attributes : `meta` and `data`. The former is an + * object containing anything (`percent` for example), see each worker for more + * details. The latter is the real data (String, Uint8Array, etc). + * + * @constructor + * @param {String} name the name of the stream (mainly used for debugging purposes) + */ +function GenericWorker(name) { + // the name of the worker + this.name = name || "default"; + // an object containing metadata about the workers chain + this.streamInfo = {}; + // an error which happened when the worker was paused + this.generatedError = null; + // an object containing metadata to be merged by this worker into the general metadata + this.extraStreamInfo = {}; + // true if the stream is paused (and should not do anything), false otherwise + this.isPaused = true; + // true if the stream is finished (and should not do anything), false otherwise + this.isFinished = false; + // true if the stream is locked to prevent further structure updates (pipe), false otherwise + this.isLocked = false; + // the event listeners + this._listeners = { + 'data':[], + 'end':[], + 'error':[] + }; + // the previous worker, if any + this.previous = null; +} + +GenericWorker.prototype = { + /** + * Push a chunk to the next workers. + * @param {Object} chunk the chunk to push + */ + push : function (chunk) { + this.emit("data", chunk); + }, + /** + * End the stream. + * @return {Boolean} true if this call ended the worker, false otherwise. + */ + end : function () { + if (this.isFinished) { + return false; + } + + this.flush(); + try { + this.emit("end"); + this.cleanUp(); + this.isFinished = true; + } catch (e) { + this.emit("error", e); + } + return true; + }, + /** + * End the stream with an error. + * @param {Error} e the error which caused the premature end. + * @return {Boolean} true if this call ended the worker with an error, false otherwise. + */ + error : function (e) { + if (this.isFinished) { + return false; + } + + if(this.isPaused) { + this.generatedError = e; + } else { + this.isFinished = true; + + this.emit("error", e); + + // in the workers chain exploded in the middle of the chain, + // the error event will go downward but we also need to notify + // workers upward that there has been an error. + if(this.previous) { + this.previous.error(e); + } + + this.cleanUp(); + } + return true; + }, + /** + * Add a callback on an event. + * @param {String} name the name of the event (data, end, error) + * @param {Function} listener the function to call when the event is triggered + * @return {GenericWorker} the current object for chainability + */ + on : function (name, listener) { + this._listeners[name].push(listener); + return this; + }, + /** + * Clean any references when a worker is ending. + */ + cleanUp : function () { + this.streamInfo = this.generatedError = this.extraStreamInfo = null; + this._listeners = []; + }, + /** + * Trigger an event. This will call registered callback with the provided arg. + * @param {String} name the name of the event (data, end, error) + * @param {Object} arg the argument to call the callback with. + */ + emit : function (name, arg) { + if (this._listeners[name]) { + for(var i = 0; i < this._listeners[name].length; i++) { + this._listeners[name][i].call(this, arg); + } + } + }, + /** + * Chain a worker with an other. + * @param {Worker} next the worker receiving events from the current one. + * @return {worker} the next worker for chainability + */ + pipe : function (next) { + return next.registerPrevious(this); + }, + /** + * Same as `pipe` in the other direction. + * Using an API with `pipe(next)` is very easy. + * Implementing the API with the point of view of the next one registering + * a source is easier, see the ZipFileWorker. + * @param {Worker} previous the previous worker, sending events to this one + * @return {Worker} the current worker for chainability + */ + registerPrevious : function (previous) { + if (this.isLocked) { + throw new Error("The stream '" + this + "' has already been used."); + } + + // sharing the streamInfo... + this.streamInfo = previous.streamInfo; + // ... and adding our own bits + this.mergeStreamInfo(); + this.previous = previous; + var self = this; + previous.on('data', function (chunk) { + self.processChunk(chunk); + }); + previous.on('end', function () { + self.end(); + }); + previous.on('error', function (e) { + self.error(e); + }); + return this; + }, + /** + * Pause the stream so it doesn't send events anymore. + * @return {Boolean} true if this call paused the worker, false otherwise. + */ + pause : function () { + if(this.isPaused || this.isFinished) { + return false; + } + this.isPaused = true; + + if(this.previous) { + this.previous.pause(); + } + return true; + }, + /** + * Resume a paused stream. + * @return {Boolean} true if this call resumed the worker, false otherwise. + */ + resume : function () { + if(!this.isPaused || this.isFinished) { + return false; + } + this.isPaused = false; + + // if true, the worker tried to resume but failed + var withError = false; + if(this.generatedError) { + this.error(this.generatedError); + withError = true; + } + if(this.previous) { + this.previous.resume(); + } + + return !withError; + }, + /** + * Flush any remaining bytes as the stream is ending. + */ + flush : function () {}, + /** + * Process a chunk. This is usually the method overridden. + * @param {Object} chunk the chunk to process. + */ + processChunk : function(chunk) { + this.push(chunk); + }, + /** + * Add a key/value to be added in the workers chain streamInfo once activated. + * @param {String} key the key to use + * @param {Object} value the associated value + * @return {Worker} the current worker for chainability + */ + withStreamInfo : function (key, value) { + this.extraStreamInfo[key] = value; + this.mergeStreamInfo(); + return this; + }, + /** + * Merge this worker's streamInfo into the chain's streamInfo. + */ + mergeStreamInfo : function () { + for(var key in this.extraStreamInfo) { + if (!this.extraStreamInfo.hasOwnProperty(key)) { + continue; + } + this.streamInfo[key] = this.extraStreamInfo[key]; + } + }, + + /** + * Lock the stream to prevent further updates on the workers chain. + * After calling this method, all calls to pipe will fail. + */ + lock: function () { + if (this.isLocked) { + throw new Error("The stream '" + this + "' has already been used."); + } + this.isLocked = true; + if (this.previous) { + this.previous.lock(); + } + }, + + /** + * + * Pretty print the workers chain. + */ + toString : function () { + var me = "Worker " + this.name; + if (this.previous) { + return this.previous + " -> " + me; + } else { + return me; + } + } +}; + +module.exports = GenericWorker; + +},{}],29:[function(require,module,exports){ +'use strict'; + +var utils = require('../utils'); +var ConvertWorker = require('./ConvertWorker'); +var GenericWorker = require('./GenericWorker'); +var base64 = require('../base64'); +var support = require("../support"); +var external = require("../external"); + +var NodejsStreamOutputAdapter = null; +if (support.nodestream) { + try { + NodejsStreamOutputAdapter = require('../nodejs/NodejsStreamOutputAdapter'); + } catch(e) {} +} + +/** + * Apply the final transformation of the data. If the user wants a Blob for + * example, it's easier to work with an U8intArray and finally do the + * ArrayBuffer/Blob conversion. + * @param {String} type the name of the final type + * @param {String|Uint8Array|Buffer} content the content to transform + * @param {String} mimeType the mime type of the content, if applicable. + * @return {String|Uint8Array|ArrayBuffer|Buffer|Blob} the content in the right format. + */ +function transformZipOutput(type, content, mimeType) { + switch(type) { + case "blob" : + return utils.newBlob(utils.transformTo("arraybuffer", content), mimeType); + case "base64" : + return base64.encode(content); + default : + return utils.transformTo(type, content); + } +} + +/** + * Concatenate an array of data of the given type. + * @param {String} type the type of the data in the given array. + * @param {Array} dataArray the array containing the data chunks to concatenate + * @return {String|Uint8Array|Buffer} the concatenated data + * @throws Error if the asked type is unsupported + */ +function concat (type, dataArray) { + var i, index = 0, res = null, totalLength = 0; + for(i = 0; i < dataArray.length; i++) { + totalLength += dataArray[i].length; + } + switch(type) { + case "string": + return dataArray.join(""); + case "array": + return Array.prototype.concat.apply([], dataArray); + case "uint8array": + res = new Uint8Array(totalLength); + for(i = 0; i < dataArray.length; i++) { + res.set(dataArray[i], index); + index += dataArray[i].length; + } + return res; + case "nodebuffer": + return Buffer.concat(dataArray); + default: + throw new Error("concat : unsupported type '" + type + "'"); + } +} + +/** + * Listen a StreamHelper, accumulate its content and concatenate it into a + * complete block. + * @param {StreamHelper} helper the helper to use. + * @param {Function} updateCallback a callback called on each update. Called + * with one arg : + * - the metadata linked to the update received. + * @return Promise the promise for the accumulation. + */ +function accumulate(helper, updateCallback) { + return new external.Promise(function (resolve, reject){ + var dataArray = []; + var chunkType = helper._internalType, + resultType = helper._outputType, + mimeType = helper._mimeType; + helper + .on('data', function (data, meta) { + dataArray.push(data); + if(updateCallback) { + updateCallback(meta); + } + }) + .on('error', function(err) { + dataArray = []; + reject(err); + }) + .on('end', function (){ + try { + var result = transformZipOutput(resultType, concat(chunkType, dataArray), mimeType); + resolve(result); + } catch (e) { + reject(e); + } + dataArray = []; + }) + .resume(); + }); +} + +/** + * An helper to easily use workers outside of JSZip. + * @constructor + * @param {Worker} worker the worker to wrap + * @param {String} outputType the type of data expected by the use + * @param {String} mimeType the mime type of the content, if applicable. + */ +function StreamHelper(worker, outputType, mimeType) { + var internalType = outputType; + switch(outputType) { + case "blob": + case "arraybuffer": + internalType = "uint8array"; + break; + case "base64": + internalType = "string"; + break; + } + + try { + // the type used internally + this._internalType = internalType; + // the type used to output results + this._outputType = outputType; + // the mime type + this._mimeType = mimeType; + utils.checkSupport(internalType); + this._worker = worker.pipe(new ConvertWorker(internalType)); + // the last workers can be rewired without issues but we need to + // prevent any updates on previous workers. + worker.lock(); + } catch(e) { + this._worker = new GenericWorker("error"); + this._worker.error(e); + } +} + +StreamHelper.prototype = { + /** + * Listen a StreamHelper, accumulate its content and concatenate it into a + * complete block. + * @param {Function} updateCb the update callback. + * @return Promise the promise for the accumulation. + */ + accumulate : function (updateCb) { + return accumulate(this, updateCb); + }, + /** + * Add a listener on an event triggered on a stream. + * @param {String} evt the name of the event + * @param {Function} fn the listener + * @return {StreamHelper} the current helper. + */ + on : function (evt, fn) { + var self = this; + + if(evt === "data") { + this._worker.on(evt, function (chunk) { + fn.call(self, chunk.data, chunk.meta); + }); + } else { + this._worker.on(evt, function () { + utils.delay(fn, arguments, self); + }); + } + return this; + }, + /** + * Resume the flow of chunks. + * @return {StreamHelper} the current helper. + */ + resume : function () { + utils.delay(this._worker.resume, [], this._worker); + return this; + }, + /** + * Pause the flow of chunks. + * @return {StreamHelper} the current helper. + */ + pause : function () { + this._worker.pause(); + return this; + }, + /** + * Return a nodejs stream for this helper. + * @param {Function} updateCb the update callback. + * @return {NodejsStreamOutputAdapter} the nodejs stream. + */ + toNodejsStream : function (updateCb) { + utils.checkSupport("nodestream"); + if (this._outputType !== "nodebuffer") { + // an object stream containing blob/arraybuffer/uint8array/string + // is strange and I don't know if it would be useful. + // I you find this comment and have a good usecase, please open a + // bug report ! + throw new Error(this._outputType + " is not supported by this method"); + } + + return new NodejsStreamOutputAdapter(this, { + objectMode : this._outputType !== "nodebuffer" + }, updateCb); + } +}; + + +module.exports = StreamHelper; + +},{"../base64":1,"../external":6,"../nodejs/NodejsStreamOutputAdapter":13,"../support":30,"../utils":32,"./ConvertWorker":24,"./GenericWorker":28}],30:[function(require,module,exports){ +'use strict'; + +exports.base64 = true; +exports.array = true; +exports.string = true; +exports.arraybuffer = typeof ArrayBuffer !== "undefined" && typeof Uint8Array !== "undefined"; +exports.nodebuffer = typeof Buffer !== "undefined"; +// contains true if JSZip can read/generate Uint8Array, false otherwise. +exports.uint8array = typeof Uint8Array !== "undefined"; + +if (typeof ArrayBuffer === "undefined") { + exports.blob = false; +} +else { + var buffer = new ArrayBuffer(0); + try { + exports.blob = new Blob([buffer], { + type: "application/zip" + }).size === 0; + } + catch (e) { + try { + var Builder = self.BlobBuilder || self.WebKitBlobBuilder || self.MozBlobBuilder || self.MSBlobBuilder; + var builder = new Builder(); + builder.append(buffer); + exports.blob = builder.getBlob('application/zip').size === 0; + } + catch (e) { + exports.blob = false; + } + } +} + +try { + exports.nodestream = !!require('readable-stream').Readable; +} catch(e) { + exports.nodestream = false; +} + +},{"readable-stream":16}],31:[function(require,module,exports){ +'use strict'; + +var utils = require('./utils'); +var support = require('./support'); +var nodejsUtils = require('./nodejsUtils'); +var GenericWorker = require('./stream/GenericWorker'); + +/** + * The following functions come from pako, from pako/lib/utils/strings + * released under the MIT license, see pako https://github.com/nodeca/pako/ + */ + +// Table with utf8 lengths (calculated by first byte of sequence) +// Note, that 5 & 6-byte values and some 4-byte values can not be represented in JS, +// because max possible codepoint is 0x10ffff +var _utf8len = new Array(256); +for (var i=0; i<256; i++) { + _utf8len[i] = (i >= 252 ? 6 : i >= 248 ? 5 : i >= 240 ? 4 : i >= 224 ? 3 : i >= 192 ? 2 : 1); +} +_utf8len[254]=_utf8len[254]=1; // Invalid sequence start + +// convert string to array (typed, when possible) +var string2buf = function (str) { + var buf, c, c2, m_pos, i, str_len = str.length, buf_len = 0; + + // count binary size + for (m_pos = 0; m_pos < str_len; m_pos++) { + c = str.charCodeAt(m_pos); + if ((c & 0xfc00) === 0xd800 && (m_pos+1 < str_len)) { + c2 = str.charCodeAt(m_pos+1); + if ((c2 & 0xfc00) === 0xdc00) { + c = 0x10000 + ((c - 0xd800) << 10) + (c2 - 0xdc00); + m_pos++; + } + } + buf_len += c < 0x80 ? 1 : c < 0x800 ? 2 : c < 0x10000 ? 3 : 4; + } + + // allocate buffer + if (support.uint8array) { + buf = new Uint8Array(buf_len); + } else { + buf = new Array(buf_len); + } + + // convert + for (i=0, m_pos = 0; i < buf_len; m_pos++) { + c = str.charCodeAt(m_pos); + if ((c & 0xfc00) === 0xd800 && (m_pos+1 < str_len)) { + c2 = str.charCodeAt(m_pos+1); + if ((c2 & 0xfc00) === 0xdc00) { + c = 0x10000 + ((c - 0xd800) << 10) + (c2 - 0xdc00); + m_pos++; + } + } + if (c < 0x80) { + /* one byte */ + buf[i++] = c; + } else if (c < 0x800) { + /* two bytes */ + buf[i++] = 0xC0 | (c >>> 6); + buf[i++] = 0x80 | (c & 0x3f); + } else if (c < 0x10000) { + /* three bytes */ + buf[i++] = 0xE0 | (c >>> 12); + buf[i++] = 0x80 | (c >>> 6 & 0x3f); + buf[i++] = 0x80 | (c & 0x3f); + } else { + /* four bytes */ + buf[i++] = 0xf0 | (c >>> 18); + buf[i++] = 0x80 | (c >>> 12 & 0x3f); + buf[i++] = 0x80 | (c >>> 6 & 0x3f); + buf[i++] = 0x80 | (c & 0x3f); + } + } + + return buf; +}; + +// Calculate max possible position in utf8 buffer, +// that will not break sequence. If that's not possible +// - (very small limits) return max size as is. +// +// buf[] - utf8 bytes array +// max - length limit (mandatory); +var utf8border = function(buf, max) { + var pos; + + max = max || buf.length; + if (max > buf.length) { max = buf.length; } + + // go back from last position, until start of sequence found + pos = max-1; + while (pos >= 0 && (buf[pos] & 0xC0) === 0x80) { pos--; } + + // Fuckup - very small and broken sequence, + // return max, because we should return something anyway. + if (pos < 0) { return max; } + + // If we came to start of buffer - that means vuffer is too small, + // return max too. + if (pos === 0) { return max; } + + return (pos + _utf8len[buf[pos]] > max) ? pos : max; +}; + +// convert array to string +var buf2string = function (buf) { + var str, i, out, c, c_len; + var len = buf.length; + + // Reserve max possible length (2 words per char) + // NB: by unknown reasons, Array is significantly faster for + // String.fromCharCode.apply than Uint16Array. + var utf16buf = new Array(len*2); + + for (out=0, i=0; i 4) { utf16buf[out++] = 0xfffd; i += c_len-1; continue; } + + // apply mask on first byte + c &= c_len === 2 ? 0x1f : c_len === 3 ? 0x0f : 0x07; + // join the rest + while (c_len > 1 && i < len) { + c = (c << 6) | (buf[i++] & 0x3f); + c_len--; + } + + // terminated by end of string? + if (c_len > 1) { utf16buf[out++] = 0xfffd; continue; } + + if (c < 0x10000) { + utf16buf[out++] = c; + } else { + c -= 0x10000; + utf16buf[out++] = 0xd800 | ((c >> 10) & 0x3ff); + utf16buf[out++] = 0xdc00 | (c & 0x3ff); + } + } + + // shrinkBuf(utf16buf, out) + if (utf16buf.length !== out) { + if(utf16buf.subarray) { + utf16buf = utf16buf.subarray(0, out); + } else { + utf16buf.length = out; + } + } + + // return String.fromCharCode.apply(null, utf16buf); + return utils.applyFromCharCode(utf16buf); +}; + + +// That's all for the pako functions. + + +/** + * Transform a javascript string into an array (typed if possible) of bytes, + * UTF-8 encoded. + * @param {String} str the string to encode + * @return {Array|Uint8Array|Buffer} the UTF-8 encoded string. + */ +exports.utf8encode = function utf8encode(str) { + if (support.nodebuffer) { + return nodejsUtils.newBufferFrom(str, "utf-8"); + } + + return string2buf(str); +}; + + +/** + * Transform a bytes array (or a representation) representing an UTF-8 encoded + * string into a javascript string. + * @param {Array|Uint8Array|Buffer} buf the data de decode + * @return {String} the decoded string. + */ +exports.utf8decode = function utf8decode(buf) { + if (support.nodebuffer) { + return utils.transformTo("nodebuffer", buf).toString("utf-8"); + } + + buf = utils.transformTo(support.uint8array ? "uint8array" : "array", buf); + + return buf2string(buf); +}; + +/** + * A worker to decode utf8 encoded binary chunks into string chunks. + * @constructor + */ +function Utf8DecodeWorker() { + GenericWorker.call(this, "utf-8 decode"); + // the last bytes if a chunk didn't end with a complete codepoint. + this.leftOver = null; +} +utils.inherits(Utf8DecodeWorker, GenericWorker); + +/** + * @see GenericWorker.processChunk + */ +Utf8DecodeWorker.prototype.processChunk = function (chunk) { + + var data = utils.transformTo(support.uint8array ? "uint8array" : "array", chunk.data); + + // 1st step, re-use what's left of the previous chunk + if (this.leftOver && this.leftOver.length) { + if(support.uint8array) { + var previousData = data; + data = new Uint8Array(previousData.length + this.leftOver.length); + data.set(this.leftOver, 0); + data.set(previousData, this.leftOver.length); + } else { + data = this.leftOver.concat(data); + } + this.leftOver = null; + } + + var nextBoundary = utf8border(data); + var usableData = data; + if (nextBoundary !== data.length) { + if (support.uint8array) { + usableData = data.subarray(0, nextBoundary); + this.leftOver = data.subarray(nextBoundary, data.length); + } else { + usableData = data.slice(0, nextBoundary); + this.leftOver = data.slice(nextBoundary, data.length); + } + } + + this.push({ + data : exports.utf8decode(usableData), + meta : chunk.meta + }); +}; + +/** + * @see GenericWorker.flush + */ +Utf8DecodeWorker.prototype.flush = function () { + if(this.leftOver && this.leftOver.length) { + this.push({ + data : exports.utf8decode(this.leftOver), + meta : {} + }); + this.leftOver = null; + } +}; +exports.Utf8DecodeWorker = Utf8DecodeWorker; + +/** + * A worker to endcode string chunks into utf8 encoded binary chunks. + * @constructor + */ +function Utf8EncodeWorker() { + GenericWorker.call(this, "utf-8 encode"); +} +utils.inherits(Utf8EncodeWorker, GenericWorker); + +/** + * @see GenericWorker.processChunk + */ +Utf8EncodeWorker.prototype.processChunk = function (chunk) { + this.push({ + data : exports.utf8encode(chunk.data), + meta : chunk.meta + }); +}; +exports.Utf8EncodeWorker = Utf8EncodeWorker; + +},{"./nodejsUtils":14,"./stream/GenericWorker":28,"./support":30,"./utils":32}],32:[function(require,module,exports){ +'use strict'; + +var support = require('./support'); +var base64 = require('./base64'); +var nodejsUtils = require('./nodejsUtils'); +var setImmediate = require('core-js/library/fn/set-immediate'); +var external = require("./external"); + + +/** + * Convert a string that pass as a "binary string": it should represent a byte + * array but may have > 255 char codes. Be sure to take only the first byte + * and returns the byte array. + * @param {String} str the string to transform. + * @return {Array|Uint8Array} the string in a binary format. + */ +function string2binary(str) { + var result = null; + if (support.uint8array) { + result = new Uint8Array(str.length); + } else { + result = new Array(str.length); + } + return stringToArrayLike(str, result); +} + +/** + * Create a new blob with the given content and the given type. + * @param {String|ArrayBuffer} part the content to put in the blob. DO NOT use + * an Uint8Array because the stock browser of android 4 won't accept it (it + * will be silently converted to a string, "[object Uint8Array]"). + * + * Use only ONE part to build the blob to avoid a memory leak in IE11 / Edge: + * when a large amount of Array is used to create the Blob, the amount of + * memory consumed is nearly 100 times the original data amount. + * + * @param {String} type the mime type of the blob. + * @return {Blob} the created blob. + */ +exports.newBlob = function(part, type) { + exports.checkSupport("blob"); + + try { + // Blob constructor + return new Blob([part], { + type: type + }); + } + catch (e) { + + try { + // deprecated, browser only, old way + var Builder = self.BlobBuilder || self.WebKitBlobBuilder || self.MozBlobBuilder || self.MSBlobBuilder; + var builder = new Builder(); + builder.append(part); + return builder.getBlob(type); + } + catch (e) { + + // well, fuck ?! + throw new Error("Bug : can't construct the Blob."); + } + } + + +}; +/** + * The identity function. + * @param {Object} input the input. + * @return {Object} the same input. + */ +function identity(input) { + return input; +} + +/** + * Fill in an array with a string. + * @param {String} str the string to use. + * @param {Array|ArrayBuffer|Uint8Array|Buffer} array the array to fill in (will be mutated). + * @return {Array|ArrayBuffer|Uint8Array|Buffer} the updated array. + */ +function stringToArrayLike(str, array) { + for (var i = 0; i < str.length; ++i) { + array[i] = str.charCodeAt(i) & 0xFF; + } + return array; +} + +/** + * An helper for the function arrayLikeToString. + * This contains static informations and functions that + * can be optimized by the browser JIT compiler. + */ +var arrayToStringHelper = { + /** + * Transform an array of int into a string, chunk by chunk. + * See the performances notes on arrayLikeToString. + * @param {Array|ArrayBuffer|Uint8Array|Buffer} array the array to transform. + * @param {String} type the type of the array. + * @param {Integer} chunk the chunk size. + * @return {String} the resulting string. + * @throws Error if the chunk is too big for the stack. + */ + stringifyByChunk: function(array, type, chunk) { + var result = [], k = 0, len = array.length; + // shortcut + if (len <= chunk) { + return String.fromCharCode.apply(null, array); + } + while (k < len) { + if (type === "array" || type === "nodebuffer") { + result.push(String.fromCharCode.apply(null, array.slice(k, Math.min(k + chunk, len)))); + } + else { + result.push(String.fromCharCode.apply(null, array.subarray(k, Math.min(k + chunk, len)))); + } + k += chunk; + } + return result.join(""); + }, + /** + * Call String.fromCharCode on every item in the array. + * This is the naive implementation, which generate A LOT of intermediate string. + * This should be used when everything else fail. + * @param {Array|ArrayBuffer|Uint8Array|Buffer} array the array to transform. + * @return {String} the result. + */ + stringifyByChar: function(array){ + var resultStr = ""; + for(var i = 0; i < array.length; i++) { + resultStr += String.fromCharCode(array[i]); + } + return resultStr; + }, + applyCanBeUsed : { + /** + * true if the browser accepts to use String.fromCharCode on Uint8Array + */ + uint8array : (function () { + try { + return support.uint8array && String.fromCharCode.apply(null, new Uint8Array(1)).length === 1; + } catch (e) { + return false; + } + })(), + /** + * true if the browser accepts to use String.fromCharCode on nodejs Buffer. + */ + nodebuffer : (function () { + try { + return support.nodebuffer && String.fromCharCode.apply(null, nodejsUtils.allocBuffer(1)).length === 1; + } catch (e) { + return false; + } + })() + } +}; + +/** + * Transform an array-like object to a string. + * @param {Array|ArrayBuffer|Uint8Array|Buffer} array the array to transform. + * @return {String} the result. + */ +function arrayLikeToString(array) { + // Performances notes : + // -------------------- + // String.fromCharCode.apply(null, array) is the fastest, see + // see http://jsperf.com/converting-a-uint8array-to-a-string/2 + // but the stack is limited (and we can get huge arrays !). + // + // result += String.fromCharCode(array[i]); generate too many strings ! + // + // This code is inspired by http://jsperf.com/arraybuffer-to-string-apply-performance/2 + // TODO : we now have workers that split the work. Do we still need that ? + var chunk = 65536, + type = exports.getTypeOf(array), + canUseApply = true; + if (type === "uint8array") { + canUseApply = arrayToStringHelper.applyCanBeUsed.uint8array; + } else if (type === "nodebuffer") { + canUseApply = arrayToStringHelper.applyCanBeUsed.nodebuffer; + } + + if (canUseApply) { + while (chunk > 1) { + try { + return arrayToStringHelper.stringifyByChunk(array, type, chunk); + } catch (e) { + chunk = Math.floor(chunk / 2); + } + } + } + + // no apply or chunk error : slow and painful algorithm + // default browser on android 4.* + return arrayToStringHelper.stringifyByChar(array); +} + +exports.applyFromCharCode = arrayLikeToString; + + +/** + * Copy the data from an array-like to an other array-like. + * @param {Array|ArrayBuffer|Uint8Array|Buffer} arrayFrom the origin array. + * @param {Array|ArrayBuffer|Uint8Array|Buffer} arrayTo the destination array which will be mutated. + * @return {Array|ArrayBuffer|Uint8Array|Buffer} the updated destination array. + */ +function arrayLikeToArrayLike(arrayFrom, arrayTo) { + for (var i = 0; i < arrayFrom.length; i++) { + arrayTo[i] = arrayFrom[i]; + } + return arrayTo; +} + +// a matrix containing functions to transform everything into everything. +var transform = {}; + +// string to ? +transform["string"] = { + "string": identity, + "array": function(input) { + return stringToArrayLike(input, new Array(input.length)); + }, + "arraybuffer": function(input) { + return transform["string"]["uint8array"](input).buffer; + }, + "uint8array": function(input) { + return stringToArrayLike(input, new Uint8Array(input.length)); + }, + "nodebuffer": function(input) { + return stringToArrayLike(input, nodejsUtils.allocBuffer(input.length)); + } +}; + +// array to ? +transform["array"] = { + "string": arrayLikeToString, + "array": identity, + "arraybuffer": function(input) { + return (new Uint8Array(input)).buffer; + }, + "uint8array": function(input) { + return new Uint8Array(input); + }, + "nodebuffer": function(input) { + return nodejsUtils.newBufferFrom(input); + } +}; + +// arraybuffer to ? +transform["arraybuffer"] = { + "string": function(input) { + return arrayLikeToString(new Uint8Array(input)); + }, + "array": function(input) { + return arrayLikeToArrayLike(new Uint8Array(input), new Array(input.byteLength)); + }, + "arraybuffer": identity, + "uint8array": function(input) { + return new Uint8Array(input); + }, + "nodebuffer": function(input) { + return nodejsUtils.newBufferFrom(new Uint8Array(input)); + } +}; + +// uint8array to ? +transform["uint8array"] = { + "string": arrayLikeToString, + "array": function(input) { + return arrayLikeToArrayLike(input, new Array(input.length)); + }, + "arraybuffer": function(input) { + return input.buffer; + }, + "uint8array": identity, + "nodebuffer": function(input) { + return nodejsUtils.newBufferFrom(input); + } +}; + +// nodebuffer to ? +transform["nodebuffer"] = { + "string": arrayLikeToString, + "array": function(input) { + return arrayLikeToArrayLike(input, new Array(input.length)); + }, + "arraybuffer": function(input) { + return transform["nodebuffer"]["uint8array"](input).buffer; + }, + "uint8array": function(input) { + return arrayLikeToArrayLike(input, new Uint8Array(input.length)); + }, + "nodebuffer": identity +}; + +/** + * Transform an input into any type. + * The supported output type are : string, array, uint8array, arraybuffer, nodebuffer. + * If no output type is specified, the unmodified input will be returned. + * @param {String} outputType the output type. + * @param {String|Array|ArrayBuffer|Uint8Array|Buffer} input the input to convert. + * @throws {Error} an Error if the browser doesn't support the requested output type. + */ +exports.transformTo = function(outputType, input) { + if (!input) { + // undefined, null, etc + // an empty string won't harm. + input = ""; + } + if (!outputType) { + return input; + } + exports.checkSupport(outputType); + var inputType = exports.getTypeOf(input); + var result = transform[inputType][outputType](input); + return result; +}; + +/** + * Return the type of the input. + * The type will be in a format valid for JSZip.utils.transformTo : string, array, uint8array, arraybuffer. + * @param {Object} input the input to identify. + * @return {String} the (lowercase) type of the input. + */ +exports.getTypeOf = function(input) { + if (typeof input === "string") { + return "string"; + } + if (Object.prototype.toString.call(input) === "[object Array]") { + return "array"; + } + if (support.nodebuffer && nodejsUtils.isBuffer(input)) { + return "nodebuffer"; + } + if (support.uint8array && input instanceof Uint8Array) { + return "uint8array"; + } + if (support.arraybuffer && input instanceof ArrayBuffer) { + return "arraybuffer"; + } +}; + +/** + * Throw an exception if the type is not supported. + * @param {String} type the type to check. + * @throws {Error} an Error if the browser doesn't support the requested type. + */ +exports.checkSupport = function(type) { + var supported = support[type.toLowerCase()]; + if (!supported) { + throw new Error(type + " is not supported by this platform"); + } +}; + +exports.MAX_VALUE_16BITS = 65535; +exports.MAX_VALUE_32BITS = -1; // well, "\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF" is parsed as -1 + +/** + * Prettify a string read as binary. + * @param {string} str the string to prettify. + * @return {string} a pretty string. + */ +exports.pretty = function(str) { + var res = '', + code, i; + for (i = 0; i < (str || "").length; i++) { + code = str.charCodeAt(i); + res += '\\x' + (code < 16 ? "0" : "") + code.toString(16).toUpperCase(); + } + return res; +}; + +/** + * Defer the call of a function. + * @param {Function} callback the function to call asynchronously. + * @param {Array} args the arguments to give to the callback. + */ +exports.delay = function(callback, args, self) { + setImmediate(function () { + callback.apply(self || null, args || []); + }); +}; + +/** + * Extends a prototype with an other, without calling a constructor with + * side effects. Inspired by nodejs' `utils.inherits` + * @param {Function} ctor the constructor to augment + * @param {Function} superCtor the parent constructor to use + */ +exports.inherits = function (ctor, superCtor) { + var Obj = function() {}; + Obj.prototype = superCtor.prototype; + ctor.prototype = new Obj(); +}; + +/** + * Merge the objects passed as parameters into a new one. + * @private + * @param {...Object} var_args All objects to merge. + * @return {Object} a new object with the data of the others. + */ +exports.extend = function() { + var result = {}, i, attr; + for (i = 0; i < arguments.length; i++) { // arguments is not enumerable in some browsers + for (attr in arguments[i]) { + if (arguments[i].hasOwnProperty(attr) && typeof result[attr] === "undefined") { + result[attr] = arguments[i][attr]; + } + } + } + return result; +}; + +/** + * Transform arbitrary content into a Promise. + * @param {String} name a name for the content being processed. + * @param {Object} inputData the content to process. + * @param {Boolean} isBinary true if the content is not an unicode string + * @param {Boolean} isOptimizedBinaryString true if the string content only has one byte per character. + * @param {Boolean} isBase64 true if the string content is encoded with base64. + * @return {Promise} a promise in a format usable by JSZip. + */ +exports.prepareContent = function(name, inputData, isBinary, isOptimizedBinaryString, isBase64) { + + // if inputData is already a promise, this flatten it. + var promise = external.Promise.resolve(inputData).then(function(data) { + + + var isBlob = support.blob && (data instanceof Blob || ['[object File]', '[object Blob]'].indexOf(Object.prototype.toString.call(data)) !== -1); + + if (isBlob && typeof FileReader !== "undefined") { + return new external.Promise(function (resolve, reject) { + var reader = new FileReader(); + + reader.onload = function(e) { + resolve(e.target.result); + }; + reader.onerror = function(e) { + reject(e.target.error); + }; + reader.readAsArrayBuffer(data); + }); + } else { + return data; + } + }); + + return promise.then(function(data) { + var dataType = exports.getTypeOf(data); + + if (!dataType) { + return external.Promise.reject( + new Error("Can't read the data of '" + name + "'. Is it " + + "in a supported JavaScript type (String, Blob, ArrayBuffer, etc) ?") + ); + } + // special case : it's way easier to work with Uint8Array than with ArrayBuffer + if (dataType === "arraybuffer") { + data = exports.transformTo("uint8array", data); + } else if (dataType === "string") { + if (isBase64) { + data = base64.decode(data); + } + else if (isBinary) { + // optimizedBinaryString === true means that the file has already been filtered with a 0xFF mask + if (isOptimizedBinaryString !== true) { + // this is a string, not in a base64 format. + // Be sure that this is a correct "binary string" + data = string2binary(data); + } + } + } + return data; + }); +}; + +},{"./base64":1,"./external":6,"./nodejsUtils":14,"./support":30,"core-js/library/fn/set-immediate":36}],33:[function(require,module,exports){ +'use strict'; +var readerFor = require('./reader/readerFor'); +var utils = require('./utils'); +var sig = require('./signature'); +var ZipEntry = require('./zipEntry'); +var utf8 = require('./utf8'); +var support = require('./support'); +// class ZipEntries {{{ +/** + * All the entries in the zip file. + * @constructor + * @param {Object} loadOptions Options for loading the stream. + */ +function ZipEntries(loadOptions) { + this.files = []; + this.loadOptions = loadOptions; +} +ZipEntries.prototype = { + /** + * Check that the reader is on the specified signature. + * @param {string} expectedSignature the expected signature. + * @throws {Error} if it is an other signature. + */ + checkSignature: function(expectedSignature) { + if (!this.reader.readAndCheckSignature(expectedSignature)) { + this.reader.index -= 4; + var signature = this.reader.readString(4); + throw new Error("Corrupted zip or bug: unexpected signature " + "(" + utils.pretty(signature) + ", expected " + utils.pretty(expectedSignature) + ")"); + } + }, + /** + * Check if the given signature is at the given index. + * @param {number} askedIndex the index to check. + * @param {string} expectedSignature the signature to expect. + * @return {boolean} true if the signature is here, false otherwise. + */ + isSignature: function(askedIndex, expectedSignature) { + var currentIndex = this.reader.index; + this.reader.setIndex(askedIndex); + var signature = this.reader.readString(4); + var result = signature === expectedSignature; + this.reader.setIndex(currentIndex); + return result; + }, + /** + * Read the end of the central directory. + */ + readBlockEndOfCentral: function() { + this.diskNumber = this.reader.readInt(2); + this.diskWithCentralDirStart = this.reader.readInt(2); + this.centralDirRecordsOnThisDisk = this.reader.readInt(2); + this.centralDirRecords = this.reader.readInt(2); + this.centralDirSize = this.reader.readInt(4); + this.centralDirOffset = this.reader.readInt(4); + + this.zipCommentLength = this.reader.readInt(2); + // warning : the encoding depends of the system locale + // On a linux machine with LANG=en_US.utf8, this field is utf8 encoded. + // On a windows machine, this field is encoded with the localized windows code page. + var zipComment = this.reader.readData(this.zipCommentLength); + var decodeParamType = support.uint8array ? "uint8array" : "array"; + // To get consistent behavior with the generation part, we will assume that + // this is utf8 encoded unless specified otherwise. + var decodeContent = utils.transformTo(decodeParamType, zipComment); + this.zipComment = this.loadOptions.decodeFileName(decodeContent); + }, + /** + * Read the end of the Zip 64 central directory. + * Not merged with the method readEndOfCentral : + * The end of central can coexist with its Zip64 brother, + * I don't want to read the wrong number of bytes ! + */ + readBlockZip64EndOfCentral: function() { + this.zip64EndOfCentralSize = this.reader.readInt(8); + this.reader.skip(4); + // this.versionMadeBy = this.reader.readString(2); + // this.versionNeeded = this.reader.readInt(2); + this.diskNumber = this.reader.readInt(4); + this.diskWithCentralDirStart = this.reader.readInt(4); + this.centralDirRecordsOnThisDisk = this.reader.readInt(8); + this.centralDirRecords = this.reader.readInt(8); + this.centralDirSize = this.reader.readInt(8); + this.centralDirOffset = this.reader.readInt(8); + + this.zip64ExtensibleData = {}; + var extraDataSize = this.zip64EndOfCentralSize - 44, + index = 0, + extraFieldId, + extraFieldLength, + extraFieldValue; + while (index < extraDataSize) { + extraFieldId = this.reader.readInt(2); + extraFieldLength = this.reader.readInt(4); + extraFieldValue = this.reader.readData(extraFieldLength); + this.zip64ExtensibleData[extraFieldId] = { + id: extraFieldId, + length: extraFieldLength, + value: extraFieldValue + }; + } + }, + /** + * Read the end of the Zip 64 central directory locator. + */ + readBlockZip64EndOfCentralLocator: function() { + this.diskWithZip64CentralDirStart = this.reader.readInt(4); + this.relativeOffsetEndOfZip64CentralDir = this.reader.readInt(8); + this.disksCount = this.reader.readInt(4); + if (this.disksCount > 1) { + throw new Error("Multi-volumes zip are not supported"); + } + }, + /** + * Read the local files, based on the offset read in the central part. + */ + readLocalFiles: function() { + var i, file; + for (i = 0; i < this.files.length; i++) { + file = this.files[i]; + this.reader.setIndex(file.localHeaderOffset); + this.checkSignature(sig.LOCAL_FILE_HEADER); + file.readLocalPart(this.reader); + file.handleUTF8(); + file.processAttributes(); + } + }, + /** + * Read the central directory. + */ + readCentralDir: function() { + var file; + + this.reader.setIndex(this.centralDirOffset); + while (this.reader.readAndCheckSignature(sig.CENTRAL_FILE_HEADER)) { + file = new ZipEntry({ + zip64: this.zip64 + }, this.loadOptions); + file.readCentralPart(this.reader); + this.files.push(file); + } + + if (this.centralDirRecords !== this.files.length) { + if (this.centralDirRecords !== 0 && this.files.length === 0) { + // We expected some records but couldn't find ANY. + // This is really suspicious, as if something went wrong. + throw new Error("Corrupted zip or bug: expected " + this.centralDirRecords + " records in central dir, got " + this.files.length); + } else { + // We found some records but not all. + // Something is wrong but we got something for the user: no error here. + // console.warn("expected", this.centralDirRecords, "records in central dir, got", this.files.length); + } + } + }, + /** + * Read the end of central directory. + */ + readEndOfCentral: function() { + var offset = this.reader.lastIndexOfSignature(sig.CENTRAL_DIRECTORY_END); + if (offset < 0) { + // Check if the content is a truncated zip or complete garbage. + // A "LOCAL_FILE_HEADER" is not required at the beginning (auto + // extractible zip for example) but it can give a good hint. + // If an ajax request was used without responseType, we will also + // get unreadable data. + var isGarbage = !this.isSignature(0, sig.LOCAL_FILE_HEADER); + + if (isGarbage) { + throw new Error("Can't find end of central directory : is this a zip file ? " + + "If it is, see https://stuk.github.io/jszip/documentation/howto/read_zip.html"); + } else { + throw new Error("Corrupted zip: can't find end of central directory"); + } + + } + this.reader.setIndex(offset); + var endOfCentralDirOffset = offset; + this.checkSignature(sig.CENTRAL_DIRECTORY_END); + this.readBlockEndOfCentral(); + + + /* extract from the zip spec : + 4) If one of the fields in the end of central directory + record is too small to hold required data, the field + should be set to -1 (0xFFFF or 0xFFFFFFFF) and the + ZIP64 format record should be created. + 5) The end of central directory record and the + Zip64 end of central directory locator record must + reside on the same disk when splitting or spanning + an archive. + */ + if (this.diskNumber === utils.MAX_VALUE_16BITS || this.diskWithCentralDirStart === utils.MAX_VALUE_16BITS || this.centralDirRecordsOnThisDisk === utils.MAX_VALUE_16BITS || this.centralDirRecords === utils.MAX_VALUE_16BITS || this.centralDirSize === utils.MAX_VALUE_32BITS || this.centralDirOffset === utils.MAX_VALUE_32BITS) { + this.zip64 = true; + + /* + Warning : the zip64 extension is supported, but ONLY if the 64bits integer read from + the zip file can fit into a 32bits integer. This cannot be solved : JavaScript represents + all numbers as 64-bit double precision IEEE 754 floating point numbers. + So, we have 53bits for integers and bitwise operations treat everything as 32bits. + see https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Operators/Bitwise_Operators + and http://www.ecma-international.org/publications/files/ECMA-ST/ECMA-262.pdf section 8.5 + */ + + // should look for a zip64 EOCD locator + offset = this.reader.lastIndexOfSignature(sig.ZIP64_CENTRAL_DIRECTORY_LOCATOR); + if (offset < 0) { + throw new Error("Corrupted zip: can't find the ZIP64 end of central directory locator"); + } + this.reader.setIndex(offset); + this.checkSignature(sig.ZIP64_CENTRAL_DIRECTORY_LOCATOR); + this.readBlockZip64EndOfCentralLocator(); + + // now the zip64 EOCD record + if (!this.isSignature(this.relativeOffsetEndOfZip64CentralDir, sig.ZIP64_CENTRAL_DIRECTORY_END)) { + // console.warn("ZIP64 end of central directory not where expected."); + this.relativeOffsetEndOfZip64CentralDir = this.reader.lastIndexOfSignature(sig.ZIP64_CENTRAL_DIRECTORY_END); + if (this.relativeOffsetEndOfZip64CentralDir < 0) { + throw new Error("Corrupted zip: can't find the ZIP64 end of central directory"); + } + } + this.reader.setIndex(this.relativeOffsetEndOfZip64CentralDir); + this.checkSignature(sig.ZIP64_CENTRAL_DIRECTORY_END); + this.readBlockZip64EndOfCentral(); + } + + var expectedEndOfCentralDirOffset = this.centralDirOffset + this.centralDirSize; + if (this.zip64) { + expectedEndOfCentralDirOffset += 20; // end of central dir 64 locator + expectedEndOfCentralDirOffset += 12 /* should not include the leading 12 bytes */ + this.zip64EndOfCentralSize; + } + + var extraBytes = endOfCentralDirOffset - expectedEndOfCentralDirOffset; + + if (extraBytes > 0) { + // console.warn(extraBytes, "extra bytes at beginning or within zipfile"); + if (this.isSignature(endOfCentralDirOffset, sig.CENTRAL_FILE_HEADER)) { + // The offsets seem wrong, but we have something at the specified offset. + // So… we keep it. + } else { + // the offset is wrong, update the "zero" of the reader + // this happens if data has been prepended (crx files for example) + this.reader.zero = extraBytes; + } + } else if (extraBytes < 0) { + throw new Error("Corrupted zip: missing " + Math.abs(extraBytes) + " bytes."); + } + }, + prepareReader: function(data) { + this.reader = readerFor(data); + }, + /** + * Read a zip file and create ZipEntries. + * @param {String|ArrayBuffer|Uint8Array|Buffer} data the binary string representing a zip file. + */ + load: function(data) { + this.prepareReader(data); + this.readEndOfCentral(); + this.readCentralDir(); + this.readLocalFiles(); + } +}; +// }}} end of ZipEntries +module.exports = ZipEntries; + +},{"./reader/readerFor":22,"./signature":23,"./support":30,"./utf8":31,"./utils":32,"./zipEntry":34}],34:[function(require,module,exports){ +'use strict'; +var readerFor = require('./reader/readerFor'); +var utils = require('./utils'); +var CompressedObject = require('./compressedObject'); +var crc32fn = require('./crc32'); +var utf8 = require('./utf8'); +var compressions = require('./compressions'); +var support = require('./support'); + +var MADE_BY_DOS = 0x00; +var MADE_BY_UNIX = 0x03; + +/** + * Find a compression registered in JSZip. + * @param {string} compressionMethod the method magic to find. + * @return {Object|null} the JSZip compression object, null if none found. + */ +var findCompression = function(compressionMethod) { + for (var method in compressions) { + if (!compressions.hasOwnProperty(method)) { + continue; + } + if (compressions[method].magic === compressionMethod) { + return compressions[method]; + } + } + return null; +}; + +// class ZipEntry {{{ +/** + * An entry in the zip file. + * @constructor + * @param {Object} options Options of the current file. + * @param {Object} loadOptions Options for loading the stream. + */ +function ZipEntry(options, loadOptions) { + this.options = options; + this.loadOptions = loadOptions; +} +ZipEntry.prototype = { + /** + * say if the file is encrypted. + * @return {boolean} true if the file is encrypted, false otherwise. + */ + isEncrypted: function() { + // bit 1 is set + return (this.bitFlag & 0x0001) === 0x0001; + }, + /** + * say if the file has utf-8 filename/comment. + * @return {boolean} true if the filename/comment is in utf-8, false otherwise. + */ + useUTF8: function() { + // bit 11 is set + return (this.bitFlag & 0x0800) === 0x0800; + }, + /** + * Read the local part of a zip file and add the info in this object. + * @param {DataReader} reader the reader to use. + */ + readLocalPart: function(reader) { + var compression, localExtraFieldsLength; + + // we already know everything from the central dir ! + // If the central dir data are false, we are doomed. + // On the bright side, the local part is scary : zip64, data descriptors, both, etc. + // The less data we get here, the more reliable this should be. + // Let's skip the whole header and dash to the data ! + reader.skip(22); + // in some zip created on windows, the filename stored in the central dir contains \ instead of /. + // Strangely, the filename here is OK. + // I would love to treat these zip files as corrupted (see http://www.info-zip.org/FAQ.html#backslashes + // or APPNOTE#4.4.17.1, "All slashes MUST be forward slashes '/'") but there are a lot of bad zip generators... + // Search "unzip mismatching "local" filename continuing with "central" filename version" on + // the internet. + // + // I think I see the logic here : the central directory is used to display + // content and the local directory is used to extract the files. Mixing / and \ + // may be used to display \ to windows users and use / when extracting the files. + // Unfortunately, this lead also to some issues : http://seclists.org/fulldisclosure/2009/Sep/394 + this.fileNameLength = reader.readInt(2); + localExtraFieldsLength = reader.readInt(2); // can't be sure this will be the same as the central dir + // the fileName is stored as binary data, the handleUTF8 method will take care of the encoding. + this.fileName = reader.readData(this.fileNameLength); + reader.skip(localExtraFieldsLength); + + if (this.compressedSize === -1 || this.uncompressedSize === -1) { + throw new Error("Bug or corrupted zip : didn't get enough informations from the central directory " + "(compressedSize === -1 || uncompressedSize === -1)"); + } + + compression = findCompression(this.compressionMethod); + if (compression === null) { // no compression found + throw new Error("Corrupted zip : compression " + utils.pretty(this.compressionMethod) + " unknown (inner file : " + utils.transformTo("string", this.fileName) + ")"); + } + this.decompressed = new CompressedObject(this.compressedSize, this.uncompressedSize, this.crc32, compression, reader.readData(this.compressedSize)); + }, + + /** + * Read the central part of a zip file and add the info in this object. + * @param {DataReader} reader the reader to use. + */ + readCentralPart: function(reader) { + this.versionMadeBy = reader.readInt(2); + reader.skip(2); + // this.versionNeeded = reader.readInt(2); + this.bitFlag = reader.readInt(2); + this.compressionMethod = reader.readString(2); + this.date = reader.readDate(); + this.crc32 = reader.readInt(4); + this.compressedSize = reader.readInt(4); + this.uncompressedSize = reader.readInt(4); + var fileNameLength = reader.readInt(2); + this.extraFieldsLength = reader.readInt(2); + this.fileCommentLength = reader.readInt(2); + this.diskNumberStart = reader.readInt(2); + this.internalFileAttributes = reader.readInt(2); + this.externalFileAttributes = reader.readInt(4); + this.localHeaderOffset = reader.readInt(4); + + if (this.isEncrypted()) { + throw new Error("Encrypted zip are not supported"); + } + + // will be read in the local part, see the comments there + reader.skip(fileNameLength); + this.readExtraFields(reader); + this.parseZIP64ExtraField(reader); + this.fileComment = reader.readData(this.fileCommentLength); + }, + + /** + * Parse the external file attributes and get the unix/dos permissions. + */ + processAttributes: function () { + this.unixPermissions = null; + this.dosPermissions = null; + var madeBy = this.versionMadeBy >> 8; + + // Check if we have the DOS directory flag set. + // We look for it in the DOS and UNIX permissions + // but some unknown platform could set it as a compatibility flag. + this.dir = this.externalFileAttributes & 0x0010 ? true : false; + + if(madeBy === MADE_BY_DOS) { + // first 6 bits (0 to 5) + this.dosPermissions = this.externalFileAttributes & 0x3F; + } + + if(madeBy === MADE_BY_UNIX) { + this.unixPermissions = (this.externalFileAttributes >> 16) & 0xFFFF; + // the octal permissions are in (this.unixPermissions & 0x01FF).toString(8); + } + + // fail safe : if the name ends with a / it probably means a folder + if (!this.dir && this.fileNameStr.slice(-1) === '/') { + this.dir = true; + } + }, + + /** + * Parse the ZIP64 extra field and merge the info in the current ZipEntry. + * @param {DataReader} reader the reader to use. + */ + parseZIP64ExtraField: function(reader) { + + if (!this.extraFields[0x0001]) { + return; + } + + // should be something, preparing the extra reader + var extraReader = readerFor(this.extraFields[0x0001].value); + + // I really hope that these 64bits integer can fit in 32 bits integer, because js + // won't let us have more. + if (this.uncompressedSize === utils.MAX_VALUE_32BITS) { + this.uncompressedSize = extraReader.readInt(8); + } + if (this.compressedSize === utils.MAX_VALUE_32BITS) { + this.compressedSize = extraReader.readInt(8); + } + if (this.localHeaderOffset === utils.MAX_VALUE_32BITS) { + this.localHeaderOffset = extraReader.readInt(8); + } + if (this.diskNumberStart === utils.MAX_VALUE_32BITS) { + this.diskNumberStart = extraReader.readInt(4); + } + }, + /** + * Read the central part of a zip file and add the info in this object. + * @param {DataReader} reader the reader to use. + */ + readExtraFields: function(reader) { + var end = reader.index + this.extraFieldsLength, + extraFieldId, + extraFieldLength, + extraFieldValue; + + if (!this.extraFields) { + this.extraFields = {}; + } + + while (reader.index < end) { + extraFieldId = reader.readInt(2); + extraFieldLength = reader.readInt(2); + extraFieldValue = reader.readData(extraFieldLength); + + this.extraFields[extraFieldId] = { + id: extraFieldId, + length: extraFieldLength, + value: extraFieldValue + }; + } + }, + /** + * Apply an UTF8 transformation if needed. + */ + handleUTF8: function() { + var decodeParamType = support.uint8array ? "uint8array" : "array"; + if (this.useUTF8()) { + this.fileNameStr = utf8.utf8decode(this.fileName); + this.fileCommentStr = utf8.utf8decode(this.fileComment); + } else { + var upath = this.findExtraFieldUnicodePath(); + if (upath !== null) { + this.fileNameStr = upath; + } else { + // ASCII text or unsupported code page + var fileNameByteArray = utils.transformTo(decodeParamType, this.fileName); + this.fileNameStr = this.loadOptions.decodeFileName(fileNameByteArray); + } + + var ucomment = this.findExtraFieldUnicodeComment(); + if (ucomment !== null) { + this.fileCommentStr = ucomment; + } else { + // ASCII text or unsupported code page + var commentByteArray = utils.transformTo(decodeParamType, this.fileComment); + this.fileCommentStr = this.loadOptions.decodeFileName(commentByteArray); + } + } + }, + + /** + * Find the unicode path declared in the extra field, if any. + * @return {String} the unicode path, null otherwise. + */ + findExtraFieldUnicodePath: function() { + var upathField = this.extraFields[0x7075]; + if (upathField) { + var extraReader = readerFor(upathField.value); + + // wrong version + if (extraReader.readInt(1) !== 1) { + return null; + } + + // the crc of the filename changed, this field is out of date. + if (crc32fn(this.fileName) !== extraReader.readInt(4)) { + return null; + } + + return utf8.utf8decode(extraReader.readData(upathField.length - 5)); + } + return null; + }, + + /** + * Find the unicode comment declared in the extra field, if any. + * @return {String} the unicode comment, null otherwise. + */ + findExtraFieldUnicodeComment: function() { + var ucommentField = this.extraFields[0x6375]; + if (ucommentField) { + var extraReader = readerFor(ucommentField.value); + + // wrong version + if (extraReader.readInt(1) !== 1) { + return null; + } + + // the crc of the comment changed, this field is out of date. + if (crc32fn(this.fileComment) !== extraReader.readInt(4)) { + return null; + } + + return utf8.utf8decode(extraReader.readData(ucommentField.length - 5)); + } + return null; + } +}; +module.exports = ZipEntry; + +},{"./compressedObject":2,"./compressions":3,"./crc32":4,"./reader/readerFor":22,"./support":30,"./utf8":31,"./utils":32}],35:[function(require,module,exports){ +'use strict'; + +var StreamHelper = require('./stream/StreamHelper'); +var DataWorker = require('./stream/DataWorker'); +var utf8 = require('./utf8'); +var CompressedObject = require('./compressedObject'); +var GenericWorker = require('./stream/GenericWorker'); + +/** + * A simple object representing a file in the zip file. + * @constructor + * @param {string} name the name of the file + * @param {String|ArrayBuffer|Uint8Array|Buffer} data the data + * @param {Object} options the options of the file + */ +var ZipObject = function(name, data, options) { + this.name = name; + this.dir = options.dir; + this.date = options.date; + this.comment = options.comment; + this.unixPermissions = options.unixPermissions; + this.dosPermissions = options.dosPermissions; + + this._data = data; + this._dataBinary = options.binary; + // keep only the compression + this.options = { + compression : options.compression, + compressionOptions : options.compressionOptions + }; +}; + +ZipObject.prototype = { + /** + * Create an internal stream for the content of this object. + * @param {String} type the type of each chunk. + * @return StreamHelper the stream. + */ + internalStream: function (type) { + var result = null, outputType = "string"; + try { + if (!type) { + throw new Error("No output type specified."); + } + outputType = type.toLowerCase(); + var askUnicodeString = outputType === "string" || outputType === "text"; + if (outputType === "binarystring" || outputType === "text") { + outputType = "string"; + } + result = this._decompressWorker(); + + var isUnicodeString = !this._dataBinary; + + if (isUnicodeString && !askUnicodeString) { + result = result.pipe(new utf8.Utf8EncodeWorker()); + } + if (!isUnicodeString && askUnicodeString) { + result = result.pipe(new utf8.Utf8DecodeWorker()); + } + } catch (e) { + result = new GenericWorker("error"); + result.error(e); + } + + return new StreamHelper(result, outputType, ""); + }, + + /** + * Prepare the content in the asked type. + * @param {String} type the type of the result. + * @param {Function} onUpdate a function to call on each internal update. + * @return Promise the promise of the result. + */ + async: function (type, onUpdate) { + return this.internalStream(type).accumulate(onUpdate); + }, + + /** + * Prepare the content as a nodejs stream. + * @param {String} type the type of each chunk. + * @param {Function} onUpdate a function to call on each internal update. + * @return Stream the stream. + */ + nodeStream: function (type, onUpdate) { + return this.internalStream(type || "nodebuffer").toNodejsStream(onUpdate); + }, + + /** + * Return a worker for the compressed content. + * @private + * @param {Object} compression the compression object to use. + * @param {Object} compressionOptions the options to use when compressing. + * @return Worker the worker. + */ + _compressWorker: function (compression, compressionOptions) { + if ( + this._data instanceof CompressedObject && + this._data.compression.magic === compression.magic + ) { + return this._data.getCompressedWorker(); + } else { + var result = this._decompressWorker(); + if(!this._dataBinary) { + result = result.pipe(new utf8.Utf8EncodeWorker()); + } + return CompressedObject.createWorkerFrom(result, compression, compressionOptions); + } + }, + /** + * Return a worker for the decompressed content. + * @private + * @return Worker the worker. + */ + _decompressWorker : function () { + if (this._data instanceof CompressedObject) { + return this._data.getContentWorker(); + } else if (this._data instanceof GenericWorker) { + return this._data; + } else { + return new DataWorker(this._data); + } + } +}; + +var removedMethods = ["asText", "asBinary", "asNodeBuffer", "asUint8Array", "asArrayBuffer"]; +var removedFn = function () { + throw new Error("This method has been removed in JSZip 3.0, please check the upgrade guide."); +}; + +for(var i = 0; i < removedMethods.length; i++) { + ZipObject.prototype[removedMethods[i]] = removedFn; +} +module.exports = ZipObject; + +},{"./compressedObject":2,"./stream/DataWorker":27,"./stream/GenericWorker":28,"./stream/StreamHelper":29,"./utf8":31}],36:[function(require,module,exports){ +require('../modules/web.immediate'); +module.exports = require('../modules/_core').setImmediate; +},{"../modules/_core":40,"../modules/web.immediate":56}],37:[function(require,module,exports){ +module.exports = function(it){ + if(typeof it != 'function')throw TypeError(it + ' is not a function!'); + return it; +}; +},{}],38:[function(require,module,exports){ +var isObject = require('./_is-object'); +module.exports = function(it){ + if(!isObject(it))throw TypeError(it + ' is not an object!'); + return it; +}; +},{"./_is-object":51}],39:[function(require,module,exports){ +var toString = {}.toString; + +module.exports = function(it){ + return toString.call(it).slice(8, -1); +}; +},{}],40:[function(require,module,exports){ +var core = module.exports = {version: '2.3.0'}; +if(typeof __e == 'number')__e = core; // eslint-disable-line no-undef +},{}],41:[function(require,module,exports){ +// optional / simple context binding +var aFunction = require('./_a-function'); +module.exports = function(fn, that, length){ + aFunction(fn); + if(that === undefined)return fn; + switch(length){ + case 1: return function(a){ + return fn.call(that, a); + }; + case 2: return function(a, b){ + return fn.call(that, a, b); + }; + case 3: return function(a, b, c){ + return fn.call(that, a, b, c); + }; + } + return function(/* ...args */){ + return fn.apply(that, arguments); + }; +}; +},{"./_a-function":37}],42:[function(require,module,exports){ +// Thank's IE8 for his funny defineProperty +module.exports = !require('./_fails')(function(){ + return Object.defineProperty({}, 'a', {get: function(){ return 7; }}).a != 7; +}); +},{"./_fails":45}],43:[function(require,module,exports){ +var isObject = require('./_is-object') + , document = require('./_global').document + // in old IE typeof document.createElement is 'object' + , is = isObject(document) && isObject(document.createElement); +module.exports = function(it){ + return is ? document.createElement(it) : {}; +}; +},{"./_global":46,"./_is-object":51}],44:[function(require,module,exports){ +var global = require('./_global') + , core = require('./_core') + , ctx = require('./_ctx') + , hide = require('./_hide') + , PROTOTYPE = 'prototype'; + +var $export = function(type, name, source){ + var IS_FORCED = type & $export.F + , IS_GLOBAL = type & $export.G + , IS_STATIC = type & $export.S + , IS_PROTO = type & $export.P + , IS_BIND = type & $export.B + , IS_WRAP = type & $export.W + , exports = IS_GLOBAL ? core : core[name] || (core[name] = {}) + , expProto = exports[PROTOTYPE] + , target = IS_GLOBAL ? global : IS_STATIC ? global[name] : (global[name] || {})[PROTOTYPE] + , key, own, out; + if(IS_GLOBAL)source = name; + for(key in source){ + // contains in native + own = !IS_FORCED && target && target[key] !== undefined; + if(own && key in exports)continue; + // export native or passed + out = own ? target[key] : source[key]; + // prevent global pollution for namespaces + exports[key] = IS_GLOBAL && typeof target[key] != 'function' ? source[key] + // bind timers to global for call from export context + : IS_BIND && own ? ctx(out, global) + // wrap global constructors for prevent change them in library + : IS_WRAP && target[key] == out ? (function(C){ + var F = function(a, b, c){ + if(this instanceof C){ + switch(arguments.length){ + case 0: return new C; + case 1: return new C(a); + case 2: return new C(a, b); + } return new C(a, b, c); + } return C.apply(this, arguments); + }; + F[PROTOTYPE] = C[PROTOTYPE]; + return F; + // make static versions for prototype methods + })(out) : IS_PROTO && typeof out == 'function' ? ctx(Function.call, out) : out; + // export proto methods to core.%CONSTRUCTOR%.methods.%NAME% + if(IS_PROTO){ + (exports.virtual || (exports.virtual = {}))[key] = out; + // export proto methods to core.%CONSTRUCTOR%.prototype.%NAME% + if(type & $export.R && expProto && !expProto[key])hide(expProto, key, out); + } + } +}; +// type bitmap +$export.F = 1; // forced +$export.G = 2; // global +$export.S = 4; // static +$export.P = 8; // proto +$export.B = 16; // bind +$export.W = 32; // wrap +$export.U = 64; // safe +$export.R = 128; // real proto method for `library` +module.exports = $export; +},{"./_core":40,"./_ctx":41,"./_global":46,"./_hide":47}],45:[function(require,module,exports){ +module.exports = function(exec){ + try { + return !!exec(); + } catch(e){ + return true; + } +}; +},{}],46:[function(require,module,exports){ +// https://github.com/zloirock/core-js/issues/86#issuecomment-115759028 +var global = module.exports = typeof window != 'undefined' && window.Math == Math + ? window : typeof self != 'undefined' && self.Math == Math ? self : Function('return this')(); +if(typeof __g == 'number')__g = global; // eslint-disable-line no-undef +},{}],47:[function(require,module,exports){ +var dP = require('./_object-dp') + , createDesc = require('./_property-desc'); +module.exports = require('./_descriptors') ? function(object, key, value){ + return dP.f(object, key, createDesc(1, value)); +} : function(object, key, value){ + object[key] = value; + return object; +}; +},{"./_descriptors":42,"./_object-dp":52,"./_property-desc":53}],48:[function(require,module,exports){ +module.exports = require('./_global').document && document.documentElement; +},{"./_global":46}],49:[function(require,module,exports){ +module.exports = !require('./_descriptors') && !require('./_fails')(function(){ + return Object.defineProperty(require('./_dom-create')('div'), 'a', {get: function(){ return 7; }}).a != 7; +}); +},{"./_descriptors":42,"./_dom-create":43,"./_fails":45}],50:[function(require,module,exports){ +// fast apply, http://jsperf.lnkit.com/fast-apply/5 +module.exports = function(fn, args, that){ + var un = that === undefined; + switch(args.length){ + case 0: return un ? fn() + : fn.call(that); + case 1: return un ? fn(args[0]) + : fn.call(that, args[0]); + case 2: return un ? fn(args[0], args[1]) + : fn.call(that, args[0], args[1]); + case 3: return un ? fn(args[0], args[1], args[2]) + : fn.call(that, args[0], args[1], args[2]); + case 4: return un ? fn(args[0], args[1], args[2], args[3]) + : fn.call(that, args[0], args[1], args[2], args[3]); + } return fn.apply(that, args); +}; +},{}],51:[function(require,module,exports){ +module.exports = function(it){ + return typeof it === 'object' ? it !== null : typeof it === 'function'; +}; +},{}],52:[function(require,module,exports){ +var anObject = require('./_an-object') + , IE8_DOM_DEFINE = require('./_ie8-dom-define') + , toPrimitive = require('./_to-primitive') + , dP = Object.defineProperty; + +exports.f = require('./_descriptors') ? Object.defineProperty : function defineProperty(O, P, Attributes){ + anObject(O); + P = toPrimitive(P, true); + anObject(Attributes); + if(IE8_DOM_DEFINE)try { + return dP(O, P, Attributes); + } catch(e){ /* empty */ } + if('get' in Attributes || 'set' in Attributes)throw TypeError('Accessors not supported!'); + if('value' in Attributes)O[P] = Attributes.value; + return O; +}; +},{"./_an-object":38,"./_descriptors":42,"./_ie8-dom-define":49,"./_to-primitive":55}],53:[function(require,module,exports){ +module.exports = function(bitmap, value){ + return { + enumerable : !(bitmap & 1), + configurable: !(bitmap & 2), + writable : !(bitmap & 4), + value : value + }; +}; +},{}],54:[function(require,module,exports){ +var ctx = require('./_ctx') + , invoke = require('./_invoke') + , html = require('./_html') + , cel = require('./_dom-create') + , global = require('./_global') + , process = global.process + , setTask = global.setImmediate + , clearTask = global.clearImmediate + , MessageChannel = global.MessageChannel + , counter = 0 + , queue = {} + , ONREADYSTATECHANGE = 'onreadystatechange' + , defer, channel, port; +var run = function(){ + var id = +this; + if(queue.hasOwnProperty(id)){ + var fn = queue[id]; + delete queue[id]; + fn(); + } +}; +var listener = function(event){ + run.call(event.data); +}; +// Node.js 0.9+ & IE10+ has setImmediate, otherwise: +if(!setTask || !clearTask){ + setTask = function setImmediate(fn){ + var args = [], i = 1; + while(arguments.length > i)args.push(arguments[i++]); + queue[++counter] = function(){ + invoke(typeof fn == 'function' ? fn : Function(fn), args); + }; + defer(counter); + return counter; + }; + clearTask = function clearImmediate(id){ + delete queue[id]; + }; + // Node.js 0.8- + if(require('./_cof')(process) == 'process'){ + defer = function(id){ + process.nextTick(ctx(run, id, 1)); + }; + // Browsers with MessageChannel, includes WebWorkers + } else if(MessageChannel){ + channel = new MessageChannel; + port = channel.port2; + channel.port1.onmessage = listener; + defer = ctx(port.postMessage, port, 1); + // Browsers with postMessage, skip WebWorkers + // IE8 has postMessage, but it's sync & typeof its postMessage is 'object' + } else if(global.addEventListener && typeof postMessage == 'function' && !global.importScripts){ + defer = function(id){ + global.postMessage(id + '', '*'); + }; + global.addEventListener('message', listener, false); + // IE8- + } else if(ONREADYSTATECHANGE in cel('script')){ + defer = function(id){ + html.appendChild(cel('script'))[ONREADYSTATECHANGE] = function(){ + html.removeChild(this); + run.call(id); + }; + }; + // Rest old browsers + } else { + defer = function(id){ + setTimeout(ctx(run, id, 1), 0); + }; + } +} +module.exports = { + set: setTask, + clear: clearTask +}; +},{"./_cof":39,"./_ctx":41,"./_dom-create":43,"./_global":46,"./_html":48,"./_invoke":50}],55:[function(require,module,exports){ +// 7.1.1 ToPrimitive(input [, PreferredType]) +var isObject = require('./_is-object'); +// instead of the ES6 spec version, we didn't implement @@toPrimitive case +// and the second argument - flag - preferred type is a string +module.exports = function(it, S){ + if(!isObject(it))return it; + var fn, val; + if(S && typeof (fn = it.toString) == 'function' && !isObject(val = fn.call(it)))return val; + if(typeof (fn = it.valueOf) == 'function' && !isObject(val = fn.call(it)))return val; + if(!S && typeof (fn = it.toString) == 'function' && !isObject(val = fn.call(it)))return val; + throw TypeError("Can't convert object to primitive value"); +}; +},{"./_is-object":51}],56:[function(require,module,exports){ +var $export = require('./_export') + , $task = require('./_task'); +$export($export.G + $export.B, { + setImmediate: $task.set, + clearImmediate: $task.clear +}); +},{"./_export":44,"./_task":54}],57:[function(require,module,exports){ +(function (global){ +'use strict'; +var Mutation = global.MutationObserver || global.WebKitMutationObserver; + +var scheduleDrain; + +{ + if (Mutation) { + var called = 0; + var observer = new Mutation(nextTick); + var element = global.document.createTextNode(''); + observer.observe(element, { + characterData: true + }); + scheduleDrain = function () { + element.data = (called = ++called % 2); + }; + } else if (!global.setImmediate && typeof global.MessageChannel !== 'undefined') { + var channel = new global.MessageChannel(); + channel.port1.onmessage = nextTick; + scheduleDrain = function () { + channel.port2.postMessage(0); + }; + } else if ('document' in global && 'onreadystatechange' in global.document.createElement('script')) { + scheduleDrain = function () { + + // Create a + + + + + + +var pathtoroot = "../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
                          + +
                          +
                          -
                          org.glassfish.tyrus.client
                          +

                          Class ClientManager.ReconnectHandler

                          @@ -110,15 +134,14 @@ var activeTableTab = "activeTableTab";
                        • Enclosing class:
                          -
                          ClientManager
                          +
                          ClientManager

                          -
                          public static class ClientManager.ReconnectHandler
                           extends java.lang.Object
                          Reconnect handler.

                          - When implementing, be sure that you do have enough logic behind cancelling reconnect feature - even Session.close() call will be treated just like any other disconnect resulting in reconnect.

                          + When implementing, be sure that you do have enough logic behind cancelling reconnect feature - even Session.close() call will be treated just like any other disconnect resulting in reconnect.
                        @@ -126,55 +149,64 @@ extends java.lang.Object @@ -189,12 +222,13 @@ extends java.lang.Object +
                        + diff --git a/apidocs/latest1x/org/glassfish/tyrus/client/ClientManager.html b/apidocs/latest1x/org/glassfish/tyrus/client/ClientManager.html index 81b376d3..ac34193e 100644 --- a/apidocs/latest1x/org/glassfish/tyrus/client/ClientManager.html +++ b/apidocs/latest1x/org/glassfish/tyrus/client/ClientManager.html @@ -1,44 +1,58 @@ - + - + +ClientManager (Tyrus 1.19 API) -ClientManager (Tyrus 1.18 API) - + + + + + + + + +var pathtoroot = "../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
                        + +
                        +
                        -
                        org.glassfish.tyrus.client
                        +

                        Class ClientManager

                        @@ -101,10 +125,10 @@ var activeTableTab = "activeTableTab";
                      • java.lang.Object
                      • Parameters:
                        webSocketContainer - websocket container.
                        Returns:
                        created client manager.
                        See Also:
                        -
                        createClient(String)
                        +
                        createClient(String)
                        - + - + - + - + + +
                        + diff --git a/apidocs/latest1x/org/glassfish/tyrus/client/ClientProperties.html b/apidocs/latest1x/org/glassfish/tyrus/client/ClientProperties.html index 39a1cfb5..ab7424f7 100644 --- a/apidocs/latest1x/org/glassfish/tyrus/client/ClientProperties.html +++ b/apidocs/latest1x/org/glassfish/tyrus/client/ClientProperties.html @@ -1,38 +1,52 @@ - + - + +ClientProperties (Tyrus 1.19 API) -ClientProperties (Tyrus 1.18 API) - + + + + + + + + +var pathtoroot = "../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
                        + +
                        +
                        -
                        org.glassfish.tyrus.client
                        +

                        Class ClientProperties

                        @@ -103,7 +127,6 @@
                        @@ -274,19 +323,20 @@ extends java.lang.Object +
                        + diff --git a/apidocs/latest1x/org/glassfish/tyrus/client/RedirectException.html b/apidocs/latest1x/org/glassfish/tyrus/client/RedirectException.html index 9722b1cf..8d6dbf80 100644 --- a/apidocs/latest1x/org/glassfish/tyrus/client/RedirectException.html +++ b/apidocs/latest1x/org/glassfish/tyrus/client/RedirectException.html @@ -1,38 +1,52 @@ - + - + +RedirectException (Tyrus 1.19 API) -RedirectException (Tyrus 1.18 API) - + + + + + + + + +var pathtoroot = "../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
                        + +
                        +
                        -
                        org.glassfish.tyrus.client
                        +

                        Class RedirectException

                        @@ -101,7 +125,7 @@
                      • java.lang.Exception
                      • @@ -212,18 +241,19 @@ extends
                      • +
                          -
                        • +
                        • Constructor Detail

                          - +
                          • RedirectException

                            -
                            public RedirectException(int httpStatusCode,
                            +
                            public RedirectException​(int httpStatusCode,
                                                      java.lang.String message)
                            Constructor.
                            @@ -235,21 +265,25 @@ extends
                          +
                      • +
                        + diff --git a/apidocs/latest1x/org/glassfish/tyrus/client/RetryAfterException.html b/apidocs/latest1x/org/glassfish/tyrus/client/RetryAfterException.html index 6d263ba8..7a13040a 100644 --- a/apidocs/latest1x/org/glassfish/tyrus/client/RetryAfterException.html +++ b/apidocs/latest1x/org/glassfish/tyrus/client/RetryAfterException.html @@ -1,44 +1,58 @@ - + - + +RetryAfterException (Tyrus 1.19 API) -RetryAfterException (Tyrus 1.18 API) - + + + + + + + + +var pathtoroot = "../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
                        + +
                        +
                        -
                        org.glassfish.tyrus.client
                        +

                        Class RetryAfterException

                        @@ -107,7 +131,7 @@ var activeTableTab = "activeTableTab";
                      • java.lang.Exception
                      • @@ -216,18 +247,19 @@ extends
                      • +
                          -
                        • +
                        • Constructor Detail

                          - +
                          • RetryAfterException

                            -
                            public RetryAfterException(java.lang.String message,
                            +
                            public RetryAfterException​(java.lang.String message,
                                                        java.lang.Long delay)
                            Constructor.
                            @@ -240,44 +272,50 @@ extends
                          +
                        +
                          -
                        • +
                        • Method Detail

                          - +
                          • getDelay

                            -
                            public java.lang.Long getDelay()
                            -
                            Get a delay specified in response header in seconds.
                            +
                            public java.lang.Long getDelay()
                            +
                            Get a delay specified in "Retry-After" response header in seconds.
                            Returns:
                            -
                            a delay in seconds or null when response does not contain or +
                            a delay in seconds or null when response does not contain "Retry-After" or the value cannot be parsed as long ot http-date.
                        +
                      • +
                        + diff --git a/apidocs/latest1x/org/glassfish/tyrus/client/SslContextConfigurator.html b/apidocs/latest1x/org/glassfish/tyrus/client/SslContextConfigurator.html index 7974ef7e..f437b53c 100644 --- a/apidocs/latest1x/org/glassfish/tyrus/client/SslContextConfigurator.html +++ b/apidocs/latest1x/org/glassfish/tyrus/client/SslContextConfigurator.html @@ -1,44 +1,58 @@ - + - + +SslContextConfigurator (Tyrus 1.19 API) -SslContextConfigurator (Tyrus 1.18 API) - + + + + + + + + +var pathtoroot = "../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
                        + +
                        +
                        -
                        org.glassfish.tyrus.client
                        +

                        Class SslContextConfigurator

                        @@ -109,12 +133,11 @@ var activeTableTab = "activeTableTab";
                        + +
                          -
                        • +
                        • Constructor Detail

                          - + - +
                          • SslContextConfigurator

                            -
                            public SslContextConfigurator(boolean readSystemProperties)
                            +
                            public SslContextConfigurator​(boolean readSystemProperties)
                            Constructor that allows you creating empty configuration.
                            Parameters:
                            @@ -649,287 +717,289 @@ extends java.lang.Object
                        +
                        +
                        +
                        +
                        + diff --git a/apidocs/latest1x/org/glassfish/tyrus/client/SslEngineConfigurator.html b/apidocs/latest1x/org/glassfish/tyrus/client/SslEngineConfigurator.html index 605d4ea1..b14c49c9 100644 --- a/apidocs/latest1x/org/glassfish/tyrus/client/SslEngineConfigurator.html +++ b/apidocs/latest1x/org/glassfish/tyrus/client/SslEngineConfigurator.html @@ -1,44 +1,58 @@ - + - + +SslEngineConfigurator (Tyrus 1.19 API) -SslEngineConfigurator (Tyrus 1.18 API) - + + + + + + + + +var pathtoroot = "../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
                        + +
                        +
                        -
                        org.glassfish.tyrus.client
                        +

                        Class SslEngineConfigurator

                        @@ -109,7 +133,6 @@ var activeTableTab = "activeTableTab";
                        +
                        + diff --git a/apidocs/latest1x/org/glassfish/tyrus/client/ThreadPoolConfig.html b/apidocs/latest1x/org/glassfish/tyrus/client/ThreadPoolConfig.html index 54f17ed9..ee4ce2f1 100644 --- a/apidocs/latest1x/org/glassfish/tyrus/client/ThreadPoolConfig.html +++ b/apidocs/latest1x/org/glassfish/tyrus/client/ThreadPoolConfig.html @@ -1,44 +1,58 @@ - + - + +ThreadPoolConfig (Tyrus 1.19 API) -ThreadPoolConfig (Tyrus 1.18 API) - + + + + + + + + +var pathtoroot = "../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
                        + +
                        +
                        -
                        org.glassfish.tyrus.client
                        +

                        Class ThreadPoolConfig

                        @@ -109,12 +133,11 @@ var activeTableTab = "activeTableTab";
                        Returns:
                        ThreadFactory that will be used to create thread pool threads.
                        - +
                        • setThreadFactory

                          -
                          public ThreadPoolConfig setThreadFactory(java.util.concurrent.ThreadFactory threadFactory)
                          +
                          public ThreadPoolConfig setThreadFactory​(java.util.concurrent.ThreadFactory threadFactory)
                          Set ThreadFactory that will be used to create thread pool threads.
                          Parameters:
                          threadFactory - custom ThreadFactory If - ThreadFactory is set, then priority, isDaemon, poolName settings will not be considered when creating new threads.
                          + ThreadFactory is set, then priority, isDaemon, poolName settings will not be considered when creating new threads.
                          Returns:
                          -
                          the ThreadPoolConfig with the new ThreadFactory
                          +
                          the ThreadPoolConfig with the new ThreadFactory
                        - +
                        • getPoolName

                          -
                          public java.lang.String getPoolName()
                          +
                          public java.lang.String getPoolName()
                          Return thread pool name. The default is "Tyrus-client".
                          Returns:
                          @@ -423,29 +475,29 @@ extends java.lang.Object
                        - +
                        • setPoolName

                          -
                          public ThreadPoolConfig setPoolName(java.lang.String poolName)
                          +
                          public ThreadPoolConfig setPoolName​(java.lang.String poolName)
                          Set thread pool name. The default is "Tyrus-client".
                          Parameters:
                          poolName - the thread pool name.
                          Returns:
                          -
                          the ThreadPoolConfig with the new thread pool name.
                          +
                          the ThreadPoolConfig with the new thread pool name.
                        - +
                        • getPriority

                          -
                          public int getPriority()
                          +
                          public int getPriority()
                          Get priority of the threads in thread pool. The default is Thread.NORM_PRIORITY.
                          Returns:
                          @@ -453,29 +505,29 @@ extends java.lang.Object
                        - +
                        • setPriority

                          -
                          public ThreadPoolConfig setPriority(int priority)
                          +
                          public ThreadPoolConfig setPriority​(int priority)
                          Set priority of the threads in thread pool. The default is Thread.NORM_PRIORITY.
                          Parameters:
                          priority - of the threads in thread pool.
                          Returns:
                          -
                          the ThreadPoolConfig with the new thread priority.
                          +
                          the ThreadPoolConfig with the new thread priority.
                        - +
                        • isDaemon

                          -
                          public boolean isDaemon()
                          +
                          public boolean isDaemon()
                          Return true if thread pool threads are daemons. The default is true.
                          Returns:
                          @@ -483,29 +535,29 @@ extends java.lang.Object
                        - +
                        • setDaemon

                          -
                          public ThreadPoolConfig setDaemon(boolean isDaemon)
                          +
                          public ThreadPoolConfig setDaemon​(boolean isDaemon)
                          Set true if thread pool threads are daemons. The default is true.
                          Parameters:
                          isDaemon - true if thread pool threads are daemons.
                          Returns:
                          -
                          the ThreadPoolConfig with the daemon property set.
                          +
                          the ThreadPoolConfig with the daemon property set.
                        - +
                        • getMaxPoolSize

                          -
                          public int getMaxPoolSize()
                          +
                          public int getMaxPoolSize()
                          Get max thread pool size. The default is Math.max(Runtime.getRuntime().availableProcessors(), 20)
                          Returns:
                          @@ -513,31 +565,32 @@ extends java.lang.Object
                        - +
                        • setMaxPoolSize

                          -
                          public ThreadPoolConfig setMaxPoolSize(int maxPoolSize)
                          -
                          Set max thread pool size. The default is The default is Math.max(Runtime.getRuntime().availableProcessors(), 20). +
                          public ThreadPoolConfig setMaxPoolSize​(int maxPoolSize)
                          +
                          Set max thread pool size. The default is The default is + Math.max(Runtime.getRuntime().availableProcessors(), 20).

                          Cannot be smaller than 3.

                          Parameters:
                          maxPoolSize - the max thread pool size.
                          Returns:
                          -
                          the ThreadPoolConfig with the new max pool size set.
                          +
                          the ThreadPoolConfig with the new max pool size set.
                        - +
                        • getCorePoolSize

                          -
                          public int getCorePoolSize()
                          +
                          public int getCorePoolSize()
                          Get the core thread pool size - the size of the thread pool will never bee smaller than this.

                          The default is 1.

                          @@ -547,13 +600,13 @@ extends java.lang.Object
                        - +
                        • setCorePoolSize

                          -
                          public ThreadPoolConfig setCorePoolSize(int corePoolSize)
                          +
                          public ThreadPoolConfig setCorePoolSize​(int corePoolSize)
                          Set the core thread pool size - the size of the thread pool will never bee smaller than this.

                          The default is 1.

                          @@ -561,17 +614,17 @@ extends java.lang.Object
                          Parameters:
                          corePoolSize - the core thread pool size - the size of the thread pool will never bee smaller than this.
                          Returns:
                          -
                          the ThreadPoolConfig with the new core pool size set.
                          +
                          the ThreadPoolConfig with the new core pool size set.
                        - +
                        • getQueueLimit

                          -
                          public int getQueueLimit()
                          +
                          public int getQueueLimit()
                          Get the limit of the queue, where tasks are temporarily stored when all threads are busy.

                          Value less than 0 means unlimited queue. The default is -1.

                          @@ -581,13 +634,13 @@ extends java.lang.Object
                        - +
                        • setQueueLimit

                          -
                          public ThreadPoolConfig setQueueLimit(int queueLimit)
                          +
                          public ThreadPoolConfig setQueueLimit​(int queueLimit)
                          Set the limit of the queue, where tasks are temporarily stored when all threads are busy.

                          Value less than 0 means unlimited queue. The default is -1.

                          @@ -595,22 +648,22 @@ extends java.lang.Object
                          Parameters:
                          queueLimit - the thread pool queue limit. The queueLimit value less than 0 means unlimited queue.
                          Returns:
                          -
                          the ThreadPoolConfig with the new queue limit.
                          +
                          the ThreadPoolConfig with the new queue limit.
                        - +
                        • setKeepAliveTime

                          -
                          public ThreadPoolConfig setKeepAliveTime(long time,
                          +
                          public ThreadPoolConfig setKeepAliveTime​(long time,
                                                                    java.util.concurrent.TimeUnit unit)
                          The max period of time a thread will wait for a new task to process.

                          - If the timeout expires and the thread is not a core one (see setCorePoolSize(int), - setMaxPoolSize(int)) - then the thread will be terminated and removed from the thread pool. + If the timeout expires and the thread is not a core one (see setCorePoolSize(int), + setMaxPoolSize(int)) - then the thread will be terminated and removed from the thread pool.

                          The default is 10s.

                          @@ -618,20 +671,20 @@ extends java.lang.Object
                          time - max keep alive timeout. The value less than 0 means no timeout.
                          unit - time unit.
                          Returns:
                          -
                          the ThreadPoolConfig with the new keep alive time.
                          +
                          the ThreadPoolConfig with the new keep alive time.
                        - +
                        • getKeepAliveTime

                          -
                          public long getKeepAliveTime(java.util.concurrent.TimeUnit timeUnit)
                          +
                          public long getKeepAliveTime​(java.util.concurrent.TimeUnit timeUnit)
                          Get the max period of time a thread will wait for a new task to process.

                          - If the timeout expires and the thread is not a core one (see setCorePoolSize(int), setMaxPoolSize(int)) - then the thread will be terminated and removed from the thread pool. + If the timeout expires and the thread is not a core one (see setCorePoolSize(int), setMaxPoolSize(int)) - then the thread will be terminated and removed from the thread pool.

                          The default is 10s.

                          @@ -642,13 +695,13 @@ extends java.lang.Object
                        - +
                        • getInitialClassLoader

                          -
                          public java.lang.ClassLoader getInitialClassLoader()
                          +
                          public java.lang.ClassLoader getInitialClassLoader()
                          Get the class loader (if any) to be initially exposed by threads from this pool.

                          If not specified, the class loader of the parent thread that initialized the pool will be used.Authen

                          @@ -658,13 +711,13 @@ extends java.lang.Object
                        - +
                        • setInitialClassLoader

                          -
                          public ThreadPoolConfig setInitialClassLoader(java.lang.ClassLoader initialClassLoader)
                          +
                          public ThreadPoolConfig setInitialClassLoader​(java.lang.ClassLoader initialClassLoader)
                          Specifies the context class loader that will be used by threads in this pool.

                          If not specified, the class loader of the parent thread that initialized the pool will be used.

                          @@ -672,45 +725,45 @@ extends java.lang.Object
                          Parameters:
                          initialClassLoader - the class loader to be exposed by threads of this pool.
                          Returns:
                          -
                          the ThreadPoolConfig with the class loader set.
                          +
                          the ThreadPoolConfig with the class loader set.
                          See Also:
                          Thread.getContextClassLoader()
                        - +
                        • toString

                          -
                          public java.lang.String toString()
                          +
                          public java.lang.String toString()
                          Overrides:
                          toString in class java.lang.Object
                        - +
                        • equals

                          -
                          public boolean equals(java.lang.Object o)
                          +
                          public boolean equals​(java.lang.Object o)
                          Overrides:
                          equals in class java.lang.Object
                        - +
                        • hashCode

                          -
                          public int hashCode()
                          +
                          public int hashCode()
                          Overrides:
                          hashCode in class java.lang.Object
                          @@ -719,21 +772,25 @@ extends java.lang.Object
                        + +
                        + diff --git a/apidocs/latest1x/org/glassfish/tyrus/client/TyrusClientEngine.ClientHandshakeListener.html b/apidocs/latest1x/org/glassfish/tyrus/client/TyrusClientEngine.ClientHandshakeListener.html index bd3a8902..6514e585 100644 --- a/apidocs/latest1x/org/glassfish/tyrus/client/TyrusClientEngine.ClientHandshakeListener.html +++ b/apidocs/latest1x/org/glassfish/tyrus/client/TyrusClientEngine.ClientHandshakeListener.html @@ -1,44 +1,58 @@ - + - + +TyrusClientEngine.ClientHandshakeListener (Tyrus 1.19 API) -TyrusClientEngine.ClientHandshakeListener (Tyrus 1.18 API) - + + + + + + + + +var pathtoroot = "../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
                        + +
                        +
                        -
                        org.glassfish.tyrus.client
                        +

                        Interface TyrusClientEngine.ClientHandshakeListener

                        @@ -102,10 +126,9 @@ var activeTableTab = "activeTableTab";
                      • Enclosing class:
                        -
                        TyrusClientEngine
                        +
                        TyrusClientEngine

                        -
                        public static interface TyrusClientEngine.ClientHandshakeListener
                        Called when response is received from the server.
                      • @@ -115,34 +138,39 @@ var activeTableTab = "activeTableTab";
                        @@ -150,20 +178,21 @@ var activeTableTab = "activeTableTab"; +
                        + diff --git a/apidocs/latest1x/org/glassfish/tyrus/client/TyrusClientEngine.html b/apidocs/latest1x/org/glassfish/tyrus/client/TyrusClientEngine.html index 01663ed3..b97cb027 100644 --- a/apidocs/latest1x/org/glassfish/tyrus/client/TyrusClientEngine.html +++ b/apidocs/latest1x/org/glassfish/tyrus/client/TyrusClientEngine.html @@ -1,44 +1,58 @@ - + - + +TyrusClientEngine (Tyrus 1.19 API) -TyrusClientEngine (Tyrus 1.18 API) - + + + + + + + + +var pathtoroot = "../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
                        + +
                        +
                        -
                        org.glassfish.tyrus.client
                        +

                        Class TyrusClientEngine

                        @@ -110,14 +134,13 @@ var activeTableTab = "activeTableTab";
                      • All Implemented Interfaces:
                        -
                        ClientEngine
                        +
                        ClientEngine

                        -
                        public class TyrusClientEngine
                         extends java.lang.Object
                        -implements ClientEngine
                        -
                        Tyrus ClientEngine implementation.
                        +implements ClientEngine +
                        Tyrus ClientEngine implementation.
                        Author:
                        Pavel Bucek (pavel.bucek at oracle.com)
                        @@ -129,95 +152,109 @@ implements
                      • +
                        +
                        +
                        +
                        +
                      • @@ -232,12 +270,13 @@ implements
                      • +
                          -
                        • +
                        • Field Detail

                          - +
                            @@ -253,26 +292,28 @@ implements
                          +
                        +
                      • +
                        + diff --git a/apidocs/latest1x/org/glassfish/tyrus/client/auth/AuthConfig.Builder.html b/apidocs/latest1x/org/glassfish/tyrus/client/auth/AuthConfig.Builder.html index 0e49512c..b9fb87d0 100644 --- a/apidocs/latest1x/org/glassfish/tyrus/client/auth/AuthConfig.Builder.html +++ b/apidocs/latest1x/org/glassfish/tyrus/client/auth/AuthConfig.Builder.html @@ -1,44 +1,58 @@ - + - + +AuthConfig.Builder (Tyrus 1.19 API) -AuthConfig.Builder (Tyrus 1.18 API) - + + + + + + + + +var pathtoroot = "../../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
                        + +
                        +
                        -
                        org.glassfish.tyrus.client.auth
                        +

                        Class AuthConfig.Builder

                        @@ -110,13 +134,12 @@ var activeTableTab = "activeTableTab";
                      • Enclosing class:
                        -
                        AuthConfig
                        +
                        AuthConfig

                        -
                        public static final class AuthConfig.Builder
                         extends java.lang.Object
                        -
                        The AuthConfig.Builder is a class used for creating an instance of AuthConfig for purpose of HTTP +
                        The AuthConfig.Builder is a class used for creating an instance of AuthConfig for purpose of HTTP Authentication.

                        Example 1 - building an authentication configuration enhanced with user defined NTLM authentication and @@ -135,8 +158,8 @@ extends java.lang.Object

                        See Also:
                        -
                        Credentials, -Authenticator
                        +
                        Credentials, +Authenticator
                      • @@ -145,51 +168,58 @@ extends java.lang.Object
                        @@ -204,107 +235,112 @@ extends java.lang.Object +
                        + diff --git a/apidocs/latest1x/org/glassfish/tyrus/client/auth/AuthConfig.html b/apidocs/latest1x/org/glassfish/tyrus/client/auth/AuthConfig.html index b8e50ea8..cda6fa15 100644 --- a/apidocs/latest1x/org/glassfish/tyrus/client/auth/AuthConfig.html +++ b/apidocs/latest1x/org/glassfish/tyrus/client/auth/AuthConfig.html @@ -1,44 +1,58 @@ - + - + +AuthConfig (Tyrus 1.19 API) -AuthConfig (Tyrus 1.18 API) - + + + + + + + + +var pathtoroot = "../../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
                        + +
                        +
                        -
                        org.glassfish.tyrus.client.auth
                        +

                        Class AuthConfig

                        @@ -109,19 +133,18 @@ var activeTableTab = "activeTableTab";

                        • -
                          -
                          @Beta
                          +
                          @Beta
                           public class AuthConfig
                           extends java.lang.Object
                          AuthConfig serves as a configuration of HTTP authentication.

                          - An instance of this class can be created by AuthConfig and it must be registered to property bag in ClientManager.

                          + An instance of this class can be created by AuthConfig and it must be registered to property bag in ClientManager.
                        Author:
                        Ondrej Kosatka (ondrej.kosatka at oracle.com)
                        See Also:
                        -
                        Authenticator, -ClientManager.getProperties()
                        +
                        Authenticator, +ClientManager.getProperties()
                        @@ -130,58 +153,67 @@ extends java.lang.Object @@ -196,46 +229,47 @@ extends java.lang.Object
                        • +
                            -
                          • +
                          • Method Detail

                            - +
                            • getAuthenticators

                              -
                              public java.util.Map<java.lang.String,Authenticator> getAuthenticators()
                              -
                              Get an unmodifiable map of authenticators, where case insensitive authentication scheme to Authenticator.
                              +
                              public java.util.Map<java.lang.String,​Authenticator> getAuthenticators()
                              +
                              Get an unmodifiable map of authenticators, where case insensitive authentication scheme to Authenticator.
                              Returns:
                              -
                              unmodifiable map of authenticators. Case insensitive authentication scheme is mapped to Authenticator.
                              +
                              unmodifiable map of authenticators. Case insensitive authentication scheme is mapped to Authenticator.
                            - + - +
                            • toString

                              -
                              public java.lang.String toString()
                              +
                              public java.lang.String toString()
                              Overrides:
                              toString in class java.lang.Object
                              @@ -244,21 +278,25 @@ extends java.lang.Object
                          +
                        +
                        + diff --git a/apidocs/latest1x/org/glassfish/tyrus/client/auth/AuthenticationException.html b/apidocs/latest1x/org/glassfish/tyrus/client/auth/AuthenticationException.html index fc612ef6..09928e76 100644 --- a/apidocs/latest1x/org/glassfish/tyrus/client/auth/AuthenticationException.html +++ b/apidocs/latest1x/org/glassfish/tyrus/client/auth/AuthenticationException.html @@ -1,38 +1,52 @@ - + - + +AuthenticationException (Tyrus 1.19 API) -AuthenticationException (Tyrus 1.18 API) - + + + + + + + + +var pathtoroot = "../../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
                        + +
                        +
                        -
                        org.glassfish.tyrus.client.auth
                        +

                        Class AuthenticationException

                        @@ -101,7 +125,7 @@
                      • java.lang.Exception
                      • Author:
                        Ondrej Kosatka (ondrej.kosatka at oracle.com)
                        See Also:
                        -
                        Authenticator.generateAuthorizationHeader(URI, String, Credentials), -AuthConfig, +
                        Authenticator.generateAuthorizationHeader(URI, String, Credentials), +AuthConfig, Serialized Form
                        @@ -163,46 +186,51 @@ extends
                      • +
                        +
                        +
                          -
                        • +
                        • Method Summary

                            -
                          • +
                          • Methods inherited from class java.lang.Throwable

                            addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
                      • + diff --git a/apidocs/latest1x/org/glassfish/tyrus/client/auth/Credentials.html b/apidocs/latest1x/org/glassfish/tyrus/client/auth/Credentials.html index 1d6ef358..1db33726 100644 --- a/apidocs/latest1x/org/glassfish/tyrus/client/auth/Credentials.html +++ b/apidocs/latest1x/org/glassfish/tyrus/client/auth/Credentials.html @@ -1,44 +1,58 @@ - + - + +Credentials (Tyrus 1.19 API) -Credentials (Tyrus 1.18 API) - + + + + + + + + +var pathtoroot = "../../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
                        + +
                        +
                        -
                        org.glassfish.tyrus.client.auth
                        +

                        Class Credentials

                        @@ -109,8 +133,7 @@ var activeTableTab = "activeTableTab";

                        • -
                          -
                          @Beta
                          +
                          @Beta
                           public final class Credentials
                           extends java.lang.Object
                          Credentials can be used when configuring authentication properties used during client handshake.
                          @@ -118,7 +141,7 @@ extends java.lang.Object
                          Author:
                          Ondrej Kosatka (ondrej.kosatka at oracle.com)
                          See Also:
                          -
                          ClientProperties.CREDENTIALS
                          +
                          ClientProperties.CREDENTIALS
                        @@ -127,62 +150,72 @@ extends java.lang.Object
                        • +
                            -
                          • +
                          • Constructor Summary

                            - +
                            - + + - + - +
                            Constructors 
                            Constructor and DescriptionConstructorDescription
                            Credentials(java.lang.String username, - byte[] password) +Credentials​(java.lang.String username, + byte[] password)
                            Create new credentials.
                            Credentials(java.lang.String username, - java.lang.String password) +Credentials​(java.lang.String username, + java.lang.String password)
                            Create new credentials.
                          +
                          +
                          +
                        @@ -197,18 +231,19 @@ extends java.lang.Object
                        • +
                            -
                          • +
                          • Constructor Detail

                            - +
                            • Credentials

                              -
                              public Credentials(java.lang.String username,
                              +
                              public Credentials​(java.lang.String username,
                                                  byte[] password)
                              Create new credentials.
                              @@ -218,13 +253,13 @@ extends java.lang.Object
                            - +
                            • Credentials

                              -
                              public Credentials(java.lang.String username,
                              +
                              public Credentials​(java.lang.String username,
                                                  java.lang.String password)
                              Create new credentials.
                              @@ -236,19 +271,21 @@ extends java.lang.Object
                          +
                          +
                            -
                          • +
                          • Method Detail

                            - +
                            • getUsername

                              -
                              public java.lang.String getUsername()
                              +
                              public java.lang.String getUsername()
                              Get the username.
                              Returns:
                              @@ -256,13 +293,13 @@ extends java.lang.Object
                            - +
                            • getPassword

                              -
                              public byte[] getPassword()
                              +
                              public byte[] getPassword()
                              Get the password as byte array.
                              Returns:
                              @@ -270,13 +307,13 @@ extends java.lang.Object
                            - +
                            • toString

                              -
                              public java.lang.String toString()
                              +
                              public java.lang.String toString()
                              Overrides:
                              toString in class java.lang.Object
                              @@ -285,21 +322,25 @@ extends java.lang.Object
                          +
                        +
                        + diff --git a/apidocs/latest1x/org/glassfish/tyrus/client/auth/class-use/AuthConfig.Builder.html b/apidocs/latest1x/org/glassfish/tyrus/client/auth/class-use/AuthConfig.Builder.html index 2a8b2cdb..bd21ef8c 100644 --- a/apidocs/latest1x/org/glassfish/tyrus/client/auth/class-use/AuthConfig.Builder.html +++ b/apidocs/latest1x/org/glassfish/tyrus/client/auth/class-use/AuthConfig.Builder.html @@ -1,40 +1,54 @@ - + - + +Uses of Class org.glassfish.tyrus.client.auth.AuthConfig.Builder (Tyrus 1.19 API) -Uses of Class org.glassfish.tyrus.client.auth.AuthConfig.Builder (Tyrus 1.18 API) - + + + + + + + + +var pathtoroot = "../../../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
                        + +
                        +

                        Uses of Class
                        org.glassfish.tyrus.client.auth.AuthConfig.Builder

                        +
                        + diff --git a/apidocs/latest1x/org/glassfish/tyrus/client/auth/class-use/AuthConfig.html b/apidocs/latest1x/org/glassfish/tyrus/client/auth/class-use/AuthConfig.html index 84f5c12b..0da5d5b8 100644 --- a/apidocs/latest1x/org/glassfish/tyrus/client/auth/class-use/AuthConfig.html +++ b/apidocs/latest1x/org/glassfish/tyrus/client/auth/class-use/AuthConfig.html @@ -1,40 +1,54 @@ - + - + +Uses of Class org.glassfish.tyrus.client.auth.AuthConfig (Tyrus 1.19 API) -Uses of Class org.glassfish.tyrus.client.auth.AuthConfig (Tyrus 1.18 API) - + + + + + + + + +var pathtoroot = "../../../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
                        + +
                        +

                        Uses of Class
                        org.glassfish.tyrus.client.auth.AuthConfig

                        +
                        + diff --git a/apidocs/latest1x/org/glassfish/tyrus/client/auth/class-use/AuthenticationException.html b/apidocs/latest1x/org/glassfish/tyrus/client/auth/class-use/AuthenticationException.html index a1f8cf7d..7adb4b6c 100644 --- a/apidocs/latest1x/org/glassfish/tyrus/client/auth/class-use/AuthenticationException.html +++ b/apidocs/latest1x/org/glassfish/tyrus/client/auth/class-use/AuthenticationException.html @@ -1,40 +1,54 @@ - + - + +Uses of Class org.glassfish.tyrus.client.auth.AuthenticationException (Tyrus 1.19 API) -Uses of Class org.glassfish.tyrus.client.auth.AuthenticationException (Tyrus 1.18 API) - + + + + + + + + +var pathtoroot = "../../../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
                        + +
                        +

                        Uses of Class
                        org.glassfish.tyrus.client.auth.AuthenticationException

                        +
                        + diff --git a/apidocs/latest1x/org/glassfish/tyrus/client/auth/class-use/Authenticator.html b/apidocs/latest1x/org/glassfish/tyrus/client/auth/class-use/Authenticator.html index 27108734..9867e42d 100644 --- a/apidocs/latest1x/org/glassfish/tyrus/client/auth/class-use/Authenticator.html +++ b/apidocs/latest1x/org/glassfish/tyrus/client/auth/class-use/Authenticator.html @@ -1,40 +1,54 @@ - + - + +Uses of Class org.glassfish.tyrus.client.auth.Authenticator (Tyrus 1.19 API) -Uses of Class org.glassfish.tyrus.client.auth.Authenticator (Tyrus 1.18 API) - + + + + + + + + +var pathtoroot = "../../../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
                        + +
                        +

                        Uses of Class
                        org.glassfish.tyrus.client.auth.Authenticator

                        +
                        + diff --git a/apidocs/latest1x/org/glassfish/tyrus/client/auth/class-use/Credentials.html b/apidocs/latest1x/org/glassfish/tyrus/client/auth/class-use/Credentials.html index 5391c315..b08e83fe 100644 --- a/apidocs/latest1x/org/glassfish/tyrus/client/auth/class-use/Credentials.html +++ b/apidocs/latest1x/org/glassfish/tyrus/client/auth/class-use/Credentials.html @@ -1,40 +1,54 @@ - + - + +Uses of Class org.glassfish.tyrus.client.auth.Credentials (Tyrus 1.19 API) -Uses of Class org.glassfish.tyrus.client.auth.Credentials (Tyrus 1.18 API) - + + + + + + + + +var pathtoroot = "../../../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
                        + +
                        +

                        Uses of Class
                        org.glassfish.tyrus.client.auth.Credentials

                        +
                        + diff --git a/apidocs/latest1x/org/glassfish/tyrus/client/auth/package-frame.html b/apidocs/latest1x/org/glassfish/tyrus/client/auth/package-frame.html deleted file mode 100644 index 9d31429a..00000000 --- a/apidocs/latest1x/org/glassfish/tyrus/client/auth/package-frame.html +++ /dev/null @@ -1,28 +0,0 @@ - - - - - - -org.glassfish.tyrus.client.auth (Tyrus 1.18 API) - - - - - -

                        org.glassfish.tyrus.client.auth

                        - - - diff --git a/apidocs/latest1x/org/glassfish/tyrus/client/auth/package-summary.html b/apidocs/latest1x/org/glassfish/tyrus/client/auth/package-summary.html index 5bce8bf3..52e086ec 100644 --- a/apidocs/latest1x/org/glassfish/tyrus/client/auth/package-summary.html +++ b/apidocs/latest1x/org/glassfish/tyrus/client/auth/package-summary.html @@ -1,38 +1,52 @@ - + - + +org.glassfish.tyrus.client.auth (Tyrus 1.19 API) -org.glassfish.tyrus.client.auth (Tyrus 1.18 API) - + + + + + + + + +var pathtoroot = "../../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
                        + +
                        +

                        Package org.glassfish.tyrus.client.auth

                        +
                        + diff --git a/apidocs/latest1x/org/glassfish/tyrus/client/class-use/ClientProperties.html b/apidocs/latest1x/org/glassfish/tyrus/client/class-use/ClientProperties.html index cf37a5d3..a117c84d 100644 --- a/apidocs/latest1x/org/glassfish/tyrus/client/class-use/ClientProperties.html +++ b/apidocs/latest1x/org/glassfish/tyrus/client/class-use/ClientProperties.html @@ -1,40 +1,54 @@ - + - + +Uses of Class org.glassfish.tyrus.client.ClientProperties (Tyrus 1.19 API) -Uses of Class org.glassfish.tyrus.client.ClientProperties (Tyrus 1.18 API) - + + + + + + + + +var pathtoroot = "../../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
                        + +
                        +

                        Uses of Class
                        org.glassfish.tyrus.client.ClientProperties

                        No usage of org.glassfish.tyrus.client.ClientProperties
                        +
                        + diff --git a/apidocs/latest1x/org/glassfish/tyrus/client/class-use/RedirectException.html b/apidocs/latest1x/org/glassfish/tyrus/client/class-use/RedirectException.html index e99d0969..bccac088 100644 --- a/apidocs/latest1x/org/glassfish/tyrus/client/class-use/RedirectException.html +++ b/apidocs/latest1x/org/glassfish/tyrus/client/class-use/RedirectException.html @@ -1,40 +1,54 @@ - + - + +Uses of Class org.glassfish.tyrus.client.RedirectException (Tyrus 1.19 API) -Uses of Class org.glassfish.tyrus.client.RedirectException (Tyrus 1.18 API) - + + + + + + + + +var pathtoroot = "../../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
                        + +
                        +

                        Uses of Class
                        org.glassfish.tyrus.client.RedirectException

                        No usage of org.glassfish.tyrus.client.RedirectException
                        +
                        + diff --git a/apidocs/latest1x/org/glassfish/tyrus/client/class-use/RetryAfterException.html b/apidocs/latest1x/org/glassfish/tyrus/client/class-use/RetryAfterException.html index 9a48f08e..701726b8 100644 --- a/apidocs/latest1x/org/glassfish/tyrus/client/class-use/RetryAfterException.html +++ b/apidocs/latest1x/org/glassfish/tyrus/client/class-use/RetryAfterException.html @@ -1,40 +1,54 @@ - + - + +Uses of Class org.glassfish.tyrus.client.RetryAfterException (Tyrus 1.19 API) -Uses of Class org.glassfish.tyrus.client.RetryAfterException (Tyrus 1.18 API) - + + + + + + + + +var pathtoroot = "../../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
                        + +
                        +

                        Uses of Class
                        org.glassfish.tyrus.client.RetryAfterException

                        No usage of org.glassfish.tyrus.client.RetryAfterException
                        +
                        + diff --git a/apidocs/latest1x/org/glassfish/tyrus/client/class-use/SslContextConfigurator.html b/apidocs/latest1x/org/glassfish/tyrus/client/class-use/SslContextConfigurator.html index df1095b0..891857a0 100644 --- a/apidocs/latest1x/org/glassfish/tyrus/client/class-use/SslContextConfigurator.html +++ b/apidocs/latest1x/org/glassfish/tyrus/client/class-use/SslContextConfigurator.html @@ -1,40 +1,54 @@ - + - + +Uses of Class org.glassfish.tyrus.client.SslContextConfigurator (Tyrus 1.19 API) -Uses of Class org.glassfish.tyrus.client.SslContextConfigurator (Tyrus 1.18 API) - + + + + + + + + +var pathtoroot = "../../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
                        + +
                        +

                        Uses of Class
                        org.glassfish.tyrus.client.SslContextConfigurator

                        +
                        + diff --git a/apidocs/latest1x/org/glassfish/tyrus/client/class-use/SslEngineConfigurator.html b/apidocs/latest1x/org/glassfish/tyrus/client/class-use/SslEngineConfigurator.html index 5db64468..9eb547d8 100644 --- a/apidocs/latest1x/org/glassfish/tyrus/client/class-use/SslEngineConfigurator.html +++ b/apidocs/latest1x/org/glassfish/tyrus/client/class-use/SslEngineConfigurator.html @@ -1,40 +1,54 @@ - + - + +Uses of Class org.glassfish.tyrus.client.SslEngineConfigurator (Tyrus 1.19 API) -Uses of Class org.glassfish.tyrus.client.SslEngineConfigurator (Tyrus 1.18 API) - + + + + + + + + +var pathtoroot = "../../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
                        + +
                        +

                        Uses of Class
                        org.glassfish.tyrus.client.SslEngineConfigurator

                        +
                        + diff --git a/apidocs/latest1x/org/glassfish/tyrus/client/class-use/ThreadPoolConfig.html b/apidocs/latest1x/org/glassfish/tyrus/client/class-use/ThreadPoolConfig.html index 88165567..8e58f8d9 100644 --- a/apidocs/latest1x/org/glassfish/tyrus/client/class-use/ThreadPoolConfig.html +++ b/apidocs/latest1x/org/glassfish/tyrus/client/class-use/ThreadPoolConfig.html @@ -1,40 +1,54 @@ - + - + +Uses of Class org.glassfish.tyrus.client.ThreadPoolConfig (Tyrus 1.19 API) -Uses of Class org.glassfish.tyrus.client.ThreadPoolConfig (Tyrus 1.18 API) - + + + + + + + + +var pathtoroot = "../../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
                        + +
                        +

                        Uses of Class
                        org.glassfish.tyrus.client.ThreadPoolConfig

                        +
                        + diff --git a/apidocs/latest1x/org/glassfish/tyrus/client/class-use/TyrusClientEngine.ClientHandshakeListener.html b/apidocs/latest1x/org/glassfish/tyrus/client/class-use/TyrusClientEngine.ClientHandshakeListener.html index 283f2418..c7ee0e83 100644 --- a/apidocs/latest1x/org/glassfish/tyrus/client/class-use/TyrusClientEngine.ClientHandshakeListener.html +++ b/apidocs/latest1x/org/glassfish/tyrus/client/class-use/TyrusClientEngine.ClientHandshakeListener.html @@ -1,40 +1,54 @@ - + - + +Uses of Interface org.glassfish.tyrus.client.TyrusClientEngine.ClientHandshakeListener (Tyrus 1.19 API) -Uses of Interface org.glassfish.tyrus.client.TyrusClientEngine.ClientHandshakeListener (Tyrus 1.18 API) - + + + + + + + + +var pathtoroot = "../../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
                        + +
                        +

                        Uses of Interface
                        org.glassfish.tyrus.client.TyrusClientEngine.ClientHandshakeListener

                        No usage of org.glassfish.tyrus.client.TyrusClientEngine.ClientHandshakeListener
                        +
                        + diff --git a/apidocs/latest1x/org/glassfish/tyrus/client/class-use/TyrusClientEngine.html b/apidocs/latest1x/org/glassfish/tyrus/client/class-use/TyrusClientEngine.html index 1e44c121..ae263c86 100644 --- a/apidocs/latest1x/org/glassfish/tyrus/client/class-use/TyrusClientEngine.html +++ b/apidocs/latest1x/org/glassfish/tyrus/client/class-use/TyrusClientEngine.html @@ -1,40 +1,54 @@ - + - + +Uses of Class org.glassfish.tyrus.client.TyrusClientEngine (Tyrus 1.19 API) -Uses of Class org.glassfish.tyrus.client.TyrusClientEngine (Tyrus 1.18 API) - + + + + + + + + +var pathtoroot = "../../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
                        + +
                        +

                        Uses of Class
                        org.glassfish.tyrus.client.TyrusClientEngine

                        No usage of org.glassfish.tyrus.client.TyrusClientEngine
                        +
                        + diff --git a/apidocs/latest1x/org/glassfish/tyrus/client/package-frame.html b/apidocs/latest1x/org/glassfish/tyrus/client/package-frame.html deleted file mode 100644 index 70198a23..00000000 --- a/apidocs/latest1x/org/glassfish/tyrus/client/package-frame.html +++ /dev/null @@ -1,36 +0,0 @@ - - - - - - -org.glassfish.tyrus.client (Tyrus 1.18 API) - - - - - -

                        org.glassfish.tyrus.client

                        - - - diff --git a/apidocs/latest1x/org/glassfish/tyrus/client/package-summary.html b/apidocs/latest1x/org/glassfish/tyrus/client/package-summary.html index 4ec1b165..4d61f808 100644 --- a/apidocs/latest1x/org/glassfish/tyrus/client/package-summary.html +++ b/apidocs/latest1x/org/glassfish/tyrus/client/package-summary.html @@ -1,38 +1,52 @@ - + - + +org.glassfish.tyrus.client (Tyrus 1.19 API) -org.glassfish.tyrus.client (Tyrus 1.18 API) - + + + + + + + + +var pathtoroot = "../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
                        + +
                        +

                        Package org.glassfish.tyrus.client

                        -
                        -
                        Common Client.
                        -
                        -

                        See: Description

                        +
                        + + +
                        Common Client.
                        +
                        - - - -

                        Package org.glassfish.tyrus.client Description

                        -
                        Common Client.
                        +
                        + diff --git a/apidocs/latest1x/org/glassfish/tyrus/client/package-tree.html b/apidocs/latest1x/org/glassfish/tyrus/client/package-tree.html index 7794068b..0f1e8ecc 100644 --- a/apidocs/latest1x/org/glassfish/tyrus/client/package-tree.html +++ b/apidocs/latest1x/org/glassfish/tyrus/client/package-tree.html @@ -1,38 +1,52 @@ - + - + +org.glassfish.tyrus.client Class Hierarchy (Tyrus 1.19 API) -org.glassfish.tyrus.client Class Hierarchy (Tyrus 1.18 API) - + + + + + + + + +var pathtoroot = "../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
                        + +
                        +

                        Hierarchy For Package org.glassfish.tyrus.client

                        Package Hierarchies: @@ -78,57 +102,64 @@
                        +

                        Class Hierarchy

                        +
                        +

                        Interface Hierarchy

                        +
                        +
                        + diff --git a/apidocs/latest1x/org/glassfish/tyrus/client/package-use.html b/apidocs/latest1x/org/glassfish/tyrus/client/package-use.html index 655386e0..85a32862 100644 --- a/apidocs/latest1x/org/glassfish/tyrus/client/package-use.html +++ b/apidocs/latest1x/org/glassfish/tyrus/client/package-use.html @@ -1,38 +1,52 @@ - + - + +Uses of Package org.glassfish.tyrus.client (Tyrus 1.19 API) -Uses of Package org.glassfish.tyrus.client (Tyrus 1.18 API) - + + + + + + + + +var pathtoroot = "../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
                        + +
                        +

                        Uses of Package
                        org.glassfish.tyrus.client

                        + +
                        +
                        +
                        @@ -183,12 +217,13 @@ extends java.lang.Object
                        • +
                            -
                          • +
                          • Field Detail

                            - + - +
                              @@ -216,7 +252,8 @@ extends java.lang.Object
                              public static final java.lang.String SELECTOR_THREAD_POOL_CONFIG
                              Client-side property to set custom selector ThreadPoolConfig.

                              - Value is expected to be instance of ThreadPoolConfig, can be null (it won't be used).

                              + Value is expected to be instance of ThreadPoolConfig, can be + null (it won't be used).
                              See Also:
                              Constant Field Values
                              @@ -225,13 +262,15 @@ extends java.lang.Object
                          +
                          +
                            -
                          • +
                          • Constructor Detail

                            - +
                              @@ -242,21 +281,25 @@ extends java.lang.Object
                          +
                        +
                        + diff --git a/apidocs/latest1x/org/glassfish/tyrus/container/grizzly/client/GrizzlyClientSocket.html b/apidocs/latest1x/org/glassfish/tyrus/container/grizzly/client/GrizzlyClientSocket.html index f98fbbfb..eb6f2ba0 100644 --- a/apidocs/latest1x/org/glassfish/tyrus/container/grizzly/client/GrizzlyClientSocket.html +++ b/apidocs/latest1x/org/glassfish/tyrus/container/grizzly/client/GrizzlyClientSocket.html @@ -1,44 +1,58 @@ - + - + +GrizzlyClientSocket (Tyrus 1.19 API) -GrizzlyClientSocket (Tyrus 1.18 API) - + + + + + + + + +var pathtoroot = "../../../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
                        + +
                        +
                        -
                        org.glassfish.tyrus.container.grizzly.client
                        +

                        Class GrizzlyClientSocket

                        @@ -109,7 +133,6 @@ var activeTableTab = "activeTableTab";
                        @@ -205,42 +239,47 @@ extends java.lang.Object +
                        + diff --git a/apidocs/latest1x/org/glassfish/tyrus/container/grizzly/client/GrizzlyContainerProvider.html b/apidocs/latest1x/org/glassfish/tyrus/container/grizzly/client/GrizzlyContainerProvider.html index 0d20723e..3334ad99 100644 --- a/apidocs/latest1x/org/glassfish/tyrus/container/grizzly/client/GrizzlyContainerProvider.html +++ b/apidocs/latest1x/org/glassfish/tyrus/container/grizzly/client/GrizzlyContainerProvider.html @@ -1,44 +1,58 @@ - + - + +GrizzlyContainerProvider (Tyrus 1.19 API) -GrizzlyContainerProvider (Tyrus 1.18 API) - + + + + + + + + +var pathtoroot = "../../../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
                        + +
                        +
                        -
                        org.glassfish.tyrus.container.grizzly.client
                        +

                        Class GrizzlyContainerProvider

                        @@ -114,7 +138,6 @@ var activeTableTab = "activeTableTab";
                        @@ -186,12 +217,13 @@ extends
                      • +
                          -
                        • +
                        • Constructor Detail

                          - +
                            @@ -202,24 +234,26 @@ extends
                          +
                        +
                      • +
                        + diff --git a/apidocs/latest1x/org/glassfish/tyrus/container/grizzly/client/GrizzlyWriter.html b/apidocs/latest1x/org/glassfish/tyrus/container/grizzly/client/GrizzlyWriter.html index 32bfe74b..431f0caa 100644 --- a/apidocs/latest1x/org/glassfish/tyrus/container/grizzly/client/GrizzlyWriter.html +++ b/apidocs/latest1x/org/glassfish/tyrus/container/grizzly/client/GrizzlyWriter.html @@ -1,44 +1,58 @@ - + - + +GrizzlyWriter (Tyrus 1.19 API) -GrizzlyWriter (Tyrus 1.18 API) - + + + + + + + + +var pathtoroot = "../../../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
                        + +
                        +
                        -
                        org.glassfish.tyrus.container.grizzly.client
                        +

                        Class GrizzlyWriter

                        @@ -101,7 +125,7 @@ var activeTableTab = "activeTableTab";
                      • java.lang.Object
                        • -
                        • org.glassfish.tyrus.spi.Writer
                        • +
                        • org.glassfish.tyrus.spi.Writer
                          • org.glassfish.tyrus.container.grizzly.client.GrizzlyWriter
                          • @@ -115,12 +139,11 @@ var activeTableTab = "activeTableTab";
                          • All Implemented Interfaces:
                            -
                            java.io.Closeable, java.lang.AutoCloseable
                            +
                            java.io.Closeable, java.lang.AutoCloseable

                            -
                            public class GrizzlyWriter
                            -extends Writer
                            +extends Writer
                            Author:
                            Pavel Bucek (pavel.bucek at oracle.com)
                            @@ -132,70 +155,81 @@ extends
                          • +
                              -
                            • +
                            • Constructor Summary

                              - +
                              - + + - + +
                              Constructors 
                              Constructor and DescriptionConstructorDescription
                              GrizzlyWriter(org.glassfish.grizzly.Connection connection) GrizzlyWriter​(org.glassfish.grizzly.Connection connection) 
                            +
                            +
                          - +
                          • close

                            -
                            public void close()
                            +
                            public void close()
                          - +
                          • hashCode

                            -
                            public int hashCode()
                            +
                            public int hashCode()
                            Overrides:
                            hashCode in class java.lang.Object
                          - +
                          • equals

                            -
                            public boolean equals(java.lang.Object obj)
                            +
                            public boolean equals​(java.lang.Object obj)
                            Overrides:
                            equals in class java.lang.Object
                          - +
                          • toString

                            -
                            public java.lang.String toString()
                            +
                            public java.lang.String toString()
                            Overrides:
                            toString in class java.lang.Object
                            @@ -309,21 +347,25 @@ extends +

                            Copyright © 2012–2022 Oracle Corporation. All rights reserved.

                            + diff --git a/apidocs/latest1x/org/glassfish/tyrus/container/grizzly/client/TaskProcessor.Condition.html b/apidocs/latest1x/org/glassfish/tyrus/container/grizzly/client/TaskProcessor.Condition.html index 90c9e326..81b93020 100644 --- a/apidocs/latest1x/org/glassfish/tyrus/container/grizzly/client/TaskProcessor.Condition.html +++ b/apidocs/latest1x/org/glassfish/tyrus/container/grizzly/client/TaskProcessor.Condition.html @@ -1,44 +1,58 @@ - + - + +TaskProcessor.Condition (Tyrus 1.19 API) -TaskProcessor.Condition (Tyrus 1.18 API) - + + + + + + + + +var pathtoroot = "../../../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
                            + +
                            +
                            -
                            org.glassfish.tyrus.container.grizzly.client
                            +

                            Interface TaskProcessor.Condition

                            @@ -102,12 +126,11 @@ var activeTableTab = "activeTableTab";
                          • Enclosing class:
                            -
                            TaskProcessor
                            +
                            TaskProcessor

                            -
                            public static interface TaskProcessor.Condition
                            - +
                      • @@ -115,26 +138,30 @@ var activeTableTab = "activeTableTab"; @@ -142,18 +169,19 @@ var activeTableTab = "activeTableTab";
                        • +
                            -
                          • +
                          • Method Detail

                            - +
                            • isValid

                              -
                              boolean isValid()
                              +
                              boolean isValid()
                              Check the condition.
                              Returns:
                              @@ -163,21 +191,25 @@ var activeTableTab = "activeTableTab";
                          +
                        +
                        + diff --git a/apidocs/latest1x/org/glassfish/tyrus/container/grizzly/client/TaskProcessor.Task.html b/apidocs/latest1x/org/glassfish/tyrus/container/grizzly/client/TaskProcessor.Task.html index 65ae394f..ec3c263b 100644 --- a/apidocs/latest1x/org/glassfish/tyrus/container/grizzly/client/TaskProcessor.Task.html +++ b/apidocs/latest1x/org/glassfish/tyrus/container/grizzly/client/TaskProcessor.Task.html @@ -1,44 +1,58 @@ - + - + +TaskProcessor.Task (Tyrus 1.19 API) -TaskProcessor.Task (Tyrus 1.18 API) - + + + + + + + + +var pathtoroot = "../../../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
                        + +
                        +
                        -
                        org.glassfish.tyrus.container.grizzly.client
                        +

                        Class TaskProcessor.Task

                        @@ -110,10 +134,9 @@ var activeTableTab = "activeTableTab";
                      • Enclosing class:
                        -
                        TaskProcessor
                        +
                        TaskProcessor

                        -
                        public abstract static class TaskProcessor.Task
                         extends java.lang.Object
                        Generic task representation.
                        @@ -124,43 +147,50 @@ extends java.lang.Object
                        • +
                            -
                          • +
                          • Constructor Summary

                            - +
                            - + + - + +
                            Constructors 
                            Constructor and DescriptionConstructorDescription
                            Task() Task() 
                          +
                          +
                            -
                          • +
                          • Method Summary

                            - +
                            - + + - +
                            All Methods Instance Methods Abstract Methods 
                            Modifier and TypeMethod and DescriptionMethodDescription
                            abstract voidexecute() +execute()
                            To be overridden.
                              -
                            • +
                            • Methods inherited from class java.lang.Object

                              @@ -168,6 +198,7 @@ extends java.lang.Object
                          +
                      • @@ -175,12 +206,13 @@ extends java.lang.Object
                        • +
                            -
                          • +
                          • Constructor Detail

                            - +
                              @@ -191,39 +223,45 @@ extends java.lang.Object
                          +
                          +
                            -
                          • +
                          • Method Detail

                            - +
                            • execute

                              -
                              public abstract void execute()
                              +
                              public abstract void execute()
                              To be overridden.
                          +
                        +
                        + diff --git a/apidocs/latest1x/org/glassfish/tyrus/container/grizzly/client/TaskProcessor.html b/apidocs/latest1x/org/glassfish/tyrus/container/grizzly/client/TaskProcessor.html index de89305b..40a2078c 100644 --- a/apidocs/latest1x/org/glassfish/tyrus/container/grizzly/client/TaskProcessor.html +++ b/apidocs/latest1x/org/glassfish/tyrus/container/grizzly/client/TaskProcessor.html @@ -1,44 +1,58 @@ - + - + +TaskProcessor (Tyrus 1.19 API) -TaskProcessor (Tyrus 1.18 API) - + + + + + + + + +var pathtoroot = "../../../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
                        + +
                        +
                        -
                        org.glassfish.tyrus.container.grizzly.client
                        +

                        Class TaskProcessor

                        @@ -109,10 +133,9 @@ var activeTableTab = "activeTableTab";
                        +
                        + diff --git a/apidocs/latest1x/org/glassfish/tyrus/container/grizzly/client/class-use/GrizzlyClientContainer.html b/apidocs/latest1x/org/glassfish/tyrus/container/grizzly/client/class-use/GrizzlyClientContainer.html index 2db40ea0..1ce9f668 100644 --- a/apidocs/latest1x/org/glassfish/tyrus/container/grizzly/client/class-use/GrizzlyClientContainer.html +++ b/apidocs/latest1x/org/glassfish/tyrus/container/grizzly/client/class-use/GrizzlyClientContainer.html @@ -1,40 +1,54 @@ - + - + +Uses of Class org.glassfish.tyrus.container.grizzly.client.GrizzlyClientContainer (Tyrus 1.19 API) -Uses of Class org.glassfish.tyrus.container.grizzly.client.GrizzlyClientContainer (Tyrus 1.18 API) - + + + + + + + + +var pathtoroot = "../../../../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
                        + +
                        +

                        Uses of Class
                        org.glassfish.tyrus.container.grizzly.client.GrizzlyClientContainer

                        No usage of org.glassfish.tyrus.container.grizzly.client.GrizzlyClientContainer
                        +
                        + diff --git a/apidocs/latest1x/org/glassfish/tyrus/container/grizzly/client/class-use/GrizzlyClientProperties.html b/apidocs/latest1x/org/glassfish/tyrus/container/grizzly/client/class-use/GrizzlyClientProperties.html index a98376d1..cdeaffc2 100644 --- a/apidocs/latest1x/org/glassfish/tyrus/container/grizzly/client/class-use/GrizzlyClientProperties.html +++ b/apidocs/latest1x/org/glassfish/tyrus/container/grizzly/client/class-use/GrizzlyClientProperties.html @@ -1,40 +1,54 @@ - + - + +Uses of Class org.glassfish.tyrus.container.grizzly.client.GrizzlyClientProperties (Tyrus 1.19 API) -Uses of Class org.glassfish.tyrus.container.grizzly.client.GrizzlyClientProperties (Tyrus 1.18 API) - + + + + + + + + +var pathtoroot = "../../../../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
                        + +
                        +

                        Uses of Class
                        org.glassfish.tyrus.container.grizzly.client.GrizzlyClientProperties

                        No usage of org.glassfish.tyrus.container.grizzly.client.GrizzlyClientProperties
                        +
                        + diff --git a/apidocs/latest1x/org/glassfish/tyrus/container/grizzly/client/class-use/GrizzlyClientSocket.html b/apidocs/latest1x/org/glassfish/tyrus/container/grizzly/client/class-use/GrizzlyClientSocket.html index e622089e..65814114 100644 --- a/apidocs/latest1x/org/glassfish/tyrus/container/grizzly/client/class-use/GrizzlyClientSocket.html +++ b/apidocs/latest1x/org/glassfish/tyrus/container/grizzly/client/class-use/GrizzlyClientSocket.html @@ -1,40 +1,54 @@ - + - + +Uses of Class org.glassfish.tyrus.container.grizzly.client.GrizzlyClientSocket (Tyrus 1.19 API) -Uses of Class org.glassfish.tyrus.container.grizzly.client.GrizzlyClientSocket (Tyrus 1.18 API) - + + + + + + + + +var pathtoroot = "../../../../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
                        + +
                        +

                        Uses of Class
                        org.glassfish.tyrus.container.grizzly.client.GrizzlyClientSocket

                        No usage of org.glassfish.tyrus.container.grizzly.client.GrizzlyClientSocket
                        +
                        + diff --git a/apidocs/latest1x/org/glassfish/tyrus/container/grizzly/client/class-use/GrizzlyContainerProvider.html b/apidocs/latest1x/org/glassfish/tyrus/container/grizzly/client/class-use/GrizzlyContainerProvider.html index 8e53b2aa..84062a7a 100644 --- a/apidocs/latest1x/org/glassfish/tyrus/container/grizzly/client/class-use/GrizzlyContainerProvider.html +++ b/apidocs/latest1x/org/glassfish/tyrus/container/grizzly/client/class-use/GrizzlyContainerProvider.html @@ -1,40 +1,54 @@ - + - + +Uses of Class org.glassfish.tyrus.container.grizzly.client.GrizzlyContainerProvider (Tyrus 1.19 API) -Uses of Class org.glassfish.tyrus.container.grizzly.client.GrizzlyContainerProvider (Tyrus 1.18 API) - + + + + + + + + +var pathtoroot = "../../../../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
                        + +
                        +

                        Uses of Class
                        org.glassfish.tyrus.container.grizzly.client.GrizzlyContainerProvider

                        No usage of org.glassfish.tyrus.container.grizzly.client.GrizzlyContainerProvider
                        +
                        + diff --git a/apidocs/latest1x/org/glassfish/tyrus/container/grizzly/client/class-use/GrizzlyWriter.html b/apidocs/latest1x/org/glassfish/tyrus/container/grizzly/client/class-use/GrizzlyWriter.html index c4e3c9a9..d3258edd 100644 --- a/apidocs/latest1x/org/glassfish/tyrus/container/grizzly/client/class-use/GrizzlyWriter.html +++ b/apidocs/latest1x/org/glassfish/tyrus/container/grizzly/client/class-use/GrizzlyWriter.html @@ -1,40 +1,54 @@ - + - + +Uses of Class org.glassfish.tyrus.container.grizzly.client.GrizzlyWriter (Tyrus 1.19 API) -Uses of Class org.glassfish.tyrus.container.grizzly.client.GrizzlyWriter (Tyrus 1.18 API) - + + + + + + + + +var pathtoroot = "../../../../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
                        + +
                        +

                        Uses of Class
                        org.glassfish.tyrus.container.grizzly.client.GrizzlyWriter

                        No usage of org.glassfish.tyrus.container.grizzly.client.GrizzlyWriter
                        +
                        + diff --git a/apidocs/latest1x/org/glassfish/tyrus/container/grizzly/client/class-use/TaskProcessor.Condition.html b/apidocs/latest1x/org/glassfish/tyrus/container/grizzly/client/class-use/TaskProcessor.Condition.html index 923e54ee..2ec5c857 100644 --- a/apidocs/latest1x/org/glassfish/tyrus/container/grizzly/client/class-use/TaskProcessor.Condition.html +++ b/apidocs/latest1x/org/glassfish/tyrus/container/grizzly/client/class-use/TaskProcessor.Condition.html @@ -1,40 +1,54 @@ - + - + +Uses of Interface org.glassfish.tyrus.container.grizzly.client.TaskProcessor.Condition (Tyrus 1.19 API) -Uses of Interface org.glassfish.tyrus.container.grizzly.client.TaskProcessor.Condition (Tyrus 1.18 API) - + + + + + + + + +var pathtoroot = "../../../../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
                        + +
                        +

                        Uses of Interface
                        org.glassfish.tyrus.container.grizzly.client.TaskProcessor.Condition

                        +
                        + diff --git a/apidocs/latest1x/org/glassfish/tyrus/container/grizzly/client/class-use/TaskProcessor.Task.html b/apidocs/latest1x/org/glassfish/tyrus/container/grizzly/client/class-use/TaskProcessor.Task.html index 635a1bcc..5cc1de7a 100644 --- a/apidocs/latest1x/org/glassfish/tyrus/container/grizzly/client/class-use/TaskProcessor.Task.html +++ b/apidocs/latest1x/org/glassfish/tyrus/container/grizzly/client/class-use/TaskProcessor.Task.html @@ -1,40 +1,54 @@ - + - + +Uses of Class org.glassfish.tyrus.container.grizzly.client.TaskProcessor.Task (Tyrus 1.19 API) -Uses of Class org.glassfish.tyrus.container.grizzly.client.TaskProcessor.Task (Tyrus 1.18 API) - + + + + + + + + +var pathtoroot = "../../../../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
                        + +
                        +

                        Uses of Class
                        org.glassfish.tyrus.container.grizzly.client.TaskProcessor.Task

                        +
                        + diff --git a/apidocs/latest1x/org/glassfish/tyrus/container/grizzly/client/class-use/TaskProcessor.html b/apidocs/latest1x/org/glassfish/tyrus/container/grizzly/client/class-use/TaskProcessor.html index d8b369ed..421c1590 100644 --- a/apidocs/latest1x/org/glassfish/tyrus/container/grizzly/client/class-use/TaskProcessor.html +++ b/apidocs/latest1x/org/glassfish/tyrus/container/grizzly/client/class-use/TaskProcessor.html @@ -1,40 +1,54 @@ - + - + +Uses of Class org.glassfish.tyrus.container.grizzly.client.TaskProcessor (Tyrus 1.19 API) -Uses of Class org.glassfish.tyrus.container.grizzly.client.TaskProcessor (Tyrus 1.18 API) - + + + + + + + + +var pathtoroot = "../../../../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
                        + +
                        +

                        Uses of Class
                        org.glassfish.tyrus.container.grizzly.client.TaskProcessor

                        No usage of org.glassfish.tyrus.container.grizzly.client.TaskProcessor
                        +
                        + diff --git a/apidocs/latest1x/org/glassfish/tyrus/container/grizzly/client/package-frame.html b/apidocs/latest1x/org/glassfish/tyrus/container/grizzly/client/package-frame.html deleted file mode 100644 index f036c1b8..00000000 --- a/apidocs/latest1x/org/glassfish/tyrus/container/grizzly/client/package-frame.html +++ /dev/null @@ -1,31 +0,0 @@ - - - - - - -org.glassfish.tyrus.container.grizzly.client (Tyrus 1.18 API) - - - - - -

                        org.glassfish.tyrus.container.grizzly.client

                        - - - diff --git a/apidocs/latest1x/org/glassfish/tyrus/container/grizzly/client/package-summary.html b/apidocs/latest1x/org/glassfish/tyrus/container/grizzly/client/package-summary.html index 8e704cd7..11e1ea01 100644 --- a/apidocs/latest1x/org/glassfish/tyrus/container/grizzly/client/package-summary.html +++ b/apidocs/latest1x/org/glassfish/tyrus/container/grizzly/client/package-summary.html @@ -1,38 +1,52 @@ - + - + +org.glassfish.tyrus.container.grizzly.client (Tyrus 1.19 API) -org.glassfish.tyrus.container.grizzly.client (Tyrus 1.18 API) - + + + + + + + + +var pathtoroot = "../../../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
                        + +
                        +

                        Package org.glassfish.tyrus.container.grizzly.client

                        -
                        -
                        Grizzly Client container.
                        -
                        -

                        See: Description

                        +
                        + + +
                        Grizzly Client container.
                        +
                        - - - -

                        Package org.glassfish.tyrus.container.grizzly.client Description

                        -
                        Grizzly Client container.
                        +
                        + diff --git a/apidocs/latest1x/org/glassfish/tyrus/container/grizzly/client/package-tree.html b/apidocs/latest1x/org/glassfish/tyrus/container/grizzly/client/package-tree.html index c59c09c2..1a0c524a 100644 --- a/apidocs/latest1x/org/glassfish/tyrus/container/grizzly/client/package-tree.html +++ b/apidocs/latest1x/org/glassfish/tyrus/container/grizzly/client/package-tree.html @@ -1,38 +1,52 @@ - + - + +org.glassfish.tyrus.container.grizzly.client Class Hierarchy (Tyrus 1.19 API) -org.glassfish.tyrus.container.grizzly.client Class Hierarchy (Tyrus 1.18 API) - + + + + + + + + +var pathtoroot = "../../../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
                        + +
                        +

                        Hierarchy For Package org.glassfish.tyrus.container.grizzly.client

                        Package Hierarchies: @@ -78,43 +102,50 @@
                        +

                        Class Hierarchy

                        +
                        +

                        Interface Hierarchy

                        +
                        +
                        + diff --git a/apidocs/latest1x/org/glassfish/tyrus/container/grizzly/client/package-use.html b/apidocs/latest1x/org/glassfish/tyrus/container/grizzly/client/package-use.html index b9a09d7a..89f1ba52 100644 --- a/apidocs/latest1x/org/glassfish/tyrus/container/grizzly/client/package-use.html +++ b/apidocs/latest1x/org/glassfish/tyrus/container/grizzly/client/package-use.html @@ -1,38 +1,52 @@ - + - + +Uses of Package org.glassfish.tyrus.container.grizzly.client (Tyrus 1.19 API) -Uses of Package org.glassfish.tyrus.container.grizzly.client (Tyrus 1.18 API) - + + + + + + + + +var pathtoroot = "../../../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
                        + +
                        +

                        Uses of Package
                        org.glassfish.tyrus.container.grizzly.client

                        + +
                        +
                        +
                        Specified by:
                        -
                        createContainer in class ServerContainerFactory
                        +
                        createContainer in class ServerContainerFactory
                        Parameters:
                        properties - configuration passed to created server container.
                        Returns:
                        -
                        new ServerContainer.
                        +
                        new ServerContainer.
                        + +
                        + diff --git a/apidocs/latest1x/org/glassfish/tyrus/container/grizzly/server/WebSocketAddOn.html b/apidocs/latest1x/org/glassfish/tyrus/container/grizzly/server/WebSocketAddOn.html index 034e95f5..3402ab09 100644 --- a/apidocs/latest1x/org/glassfish/tyrus/container/grizzly/server/WebSocketAddOn.html +++ b/apidocs/latest1x/org/glassfish/tyrus/container/grizzly/server/WebSocketAddOn.html @@ -1,44 +1,58 @@ - + - + +WebSocketAddOn (Tyrus 1.19 API) -WebSocketAddOn (Tyrus 1.18 API) - + + + + + + + + +var pathtoroot = "../../../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
                        + +
                        +
                        -
                        org.glassfish.tyrus.container.grizzly.server
                        +

                        Class WebSocketAddOn

                        @@ -110,10 +134,9 @@ var activeTableTab = "activeTableTab";
                      • All Implemented Interfaces:
                        -
                        org.glassfish.grizzly.http.server.AddOn
                        +
                        org.glassfish.grizzly.http.server.AddOn

                        -
                        public class WebSocketAddOn
                         extends java.lang.Object
                         implements org.glassfish.grizzly.http.server.AddOn
                        @@ -129,25 +152,28 @@ implements org.glassfish.grizzly.http.server.AddOn
                        • +
                            -
                          • +
                          • Method Summary

                            - +
                            - + + - + +
                            All Methods Instance Methods Concrete Methods 
                            Modifier and TypeMethod and DescriptionMethodDescription
                            voidsetup(org.glassfish.grizzly.http.server.NetworkListener networkListener, - org.glassfish.grizzly.filterchain.FilterChainBuilder builder) setup​(org.glassfish.grizzly.http.server.NetworkListener networkListener, + org.glassfish.grizzly.filterchain.FilterChainBuilder builder) 
                              -
                            • +
                            • Methods inherited from class java.lang.Object

                              @@ -155,6 +181,7 @@ implements org.glassfish.grizzly.http.server.AddOn
                          +
                      • @@ -162,18 +189,19 @@ implements org.glassfish.grizzly.http.server.AddOn
                        • +
                            -
                          • +
                          • Method Detail

                            - +
                            • setup

                              -
                              public void setup(org.glassfish.grizzly.http.server.NetworkListener networkListener,
                              +
                              public void setup​(org.glassfish.grizzly.http.server.NetworkListener networkListener,
                                                 org.glassfish.grizzly.filterchain.FilterChainBuilder builder)
                              Specified by:
                              @@ -183,21 +211,25 @@ implements org.glassfish.grizzly.http.server.AddOn
                          +
                        +
                        + diff --git a/apidocs/latest1x/org/glassfish/tyrus/container/grizzly/server/class-use/GrizzlyServerContainer.html b/apidocs/latest1x/org/glassfish/tyrus/container/grizzly/server/class-use/GrizzlyServerContainer.html index 20245419..fa38dc07 100644 --- a/apidocs/latest1x/org/glassfish/tyrus/container/grizzly/server/class-use/GrizzlyServerContainer.html +++ b/apidocs/latest1x/org/glassfish/tyrus/container/grizzly/server/class-use/GrizzlyServerContainer.html @@ -1,40 +1,54 @@ - + - + +Uses of Class org.glassfish.tyrus.container.grizzly.server.GrizzlyServerContainer (Tyrus 1.19 API) -Uses of Class org.glassfish.tyrus.container.grizzly.server.GrizzlyServerContainer (Tyrus 1.18 API) - + + + + + + + + +var pathtoroot = "../../../../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
                        + +
                        +

                        Uses of Class
                        org.glassfish.tyrus.container.grizzly.server.GrizzlyServerContainer

                        No usage of org.glassfish.tyrus.container.grizzly.server.GrizzlyServerContainer
                        +
                        + diff --git a/apidocs/latest1x/org/glassfish/tyrus/container/grizzly/server/class-use/WebSocketAddOn.html b/apidocs/latest1x/org/glassfish/tyrus/container/grizzly/server/class-use/WebSocketAddOn.html index 23189397..b14bc851 100644 --- a/apidocs/latest1x/org/glassfish/tyrus/container/grizzly/server/class-use/WebSocketAddOn.html +++ b/apidocs/latest1x/org/glassfish/tyrus/container/grizzly/server/class-use/WebSocketAddOn.html @@ -1,40 +1,54 @@ - + - + +Uses of Class org.glassfish.tyrus.container.grizzly.server.WebSocketAddOn (Tyrus 1.19 API) -Uses of Class org.glassfish.tyrus.container.grizzly.server.WebSocketAddOn (Tyrus 1.18 API) - + + + + + + + + +var pathtoroot = "../../../../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
                        + +
                        +

                        Uses of Class
                        org.glassfish.tyrus.container.grizzly.server.WebSocketAddOn

                        No usage of org.glassfish.tyrus.container.grizzly.server.WebSocketAddOn
                        +
                        + diff --git a/apidocs/latest1x/org/glassfish/tyrus/container/grizzly/server/package-frame.html b/apidocs/latest1x/org/glassfish/tyrus/container/grizzly/server/package-frame.html deleted file mode 100644 index 7aba1f9d..00000000 --- a/apidocs/latest1x/org/glassfish/tyrus/container/grizzly/server/package-frame.html +++ /dev/null @@ -1,22 +0,0 @@ - - - - - - -org.glassfish.tyrus.container.grizzly.server (Tyrus 1.18 API) - - - - - -

                        org.glassfish.tyrus.container.grizzly.server

                        - - - diff --git a/apidocs/latest1x/org/glassfish/tyrus/container/grizzly/server/package-summary.html b/apidocs/latest1x/org/glassfish/tyrus/container/grizzly/server/package-summary.html index c1cd3568..b3840ad7 100644 --- a/apidocs/latest1x/org/glassfish/tyrus/container/grizzly/server/package-summary.html +++ b/apidocs/latest1x/org/glassfish/tyrus/container/grizzly/server/package-summary.html @@ -1,38 +1,52 @@ - + - + +org.glassfish.tyrus.container.grizzly.server (Tyrus 1.19 API) -org.glassfish.tyrus.container.grizzly.server (Tyrus 1.18 API) - + + + + + + + + +var pathtoroot = "../../../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
                        + +
                        +

                        Package org.glassfish.tyrus.container.grizzly.server

                        -
                        -
                        Grizzly Server container.
                        -
                        -

                        See: Description

                        +
                        + + +
                        Grizzly Server container.
                        +
                        - - - -

                        Package org.glassfish.tyrus.container.grizzly.server Description

                        -
                        Grizzly Server container.
                        +
                        + diff --git a/apidocs/latest1x/org/glassfish/tyrus/container/grizzly/server/package-tree.html b/apidocs/latest1x/org/glassfish/tyrus/container/grizzly/server/package-tree.html index 21a44bd2..82633388 100644 --- a/apidocs/latest1x/org/glassfish/tyrus/container/grizzly/server/package-tree.html +++ b/apidocs/latest1x/org/glassfish/tyrus/container/grizzly/server/package-tree.html @@ -1,38 +1,52 @@ - + - + +org.glassfish.tyrus.container.grizzly.server Class Hierarchy (Tyrus 1.19 API) -org.glassfish.tyrus.container.grizzly.server Class Hierarchy (Tyrus 1.18 API) - + + + + + + + + +var pathtoroot = "../../../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
                        + +
                        +

                        Hierarchy For Package org.glassfish.tyrus.container.grizzly.server

                        Package Hierarchies: @@ -78,30 +102,35 @@
                        +

                        Class Hierarchy

                        +
                        +
                        + diff --git a/apidocs/latest1x/org/glassfish/tyrus/container/grizzly/server/package-use.html b/apidocs/latest1x/org/glassfish/tyrus/container/grizzly/server/package-use.html index 03ea7ed7..501de5c0 100644 --- a/apidocs/latest1x/org/glassfish/tyrus/container/grizzly/server/package-use.html +++ b/apidocs/latest1x/org/glassfish/tyrus/container/grizzly/server/package-use.html @@ -1,38 +1,52 @@ - + - + +Uses of Package org.glassfish.tyrus.container.grizzly.server (Tyrus 1.19 API) -Uses of Package org.glassfish.tyrus.container.grizzly.server (Tyrus 1.18 API) - + + + + + + + + +var pathtoroot = "../../../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
                        + +
                        +

                        Uses of Package
                        org.glassfish.tyrus.container.grizzly.server

                        No usage of org.glassfish.tyrus.container.grizzly.server
                        +
                        + diff --git a/apidocs/latest1x/org/glassfish/tyrus/core/AnnotatedEndpoint.html b/apidocs/latest1x/org/glassfish/tyrus/core/AnnotatedEndpoint.html index a4cd4232..55f3039a 100644 --- a/apidocs/latest1x/org/glassfish/tyrus/core/AnnotatedEndpoint.html +++ b/apidocs/latest1x/org/glassfish/tyrus/core/AnnotatedEndpoint.html @@ -1,44 +1,58 @@ - + - + +AnnotatedEndpoint (Tyrus 1.19 API) -AnnotatedEndpoint (Tyrus 1.18 API) - + + + + + + + + +var pathtoroot = "../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
                        + +
                        +
                        -
                        org.glassfish.tyrus.core
                        +

                        Class AnnotatedEndpoint

                        @@ -114,7 +138,6 @@ var activeTableTab = "activeTableTab";
                        @@ -139,37 +166,42 @@ var activeTableTab = "activeTableTab";
                        • +
                            -
                          • +
                          • Method Detail

                            - +
                            • evaluate

                              -
                              boolean evaluate()
                              +
                              boolean evaluate()
                          +
                        +
                        + diff --git a/apidocs/latest1x/org/glassfish/tyrus/core/BaseContainer.html b/apidocs/latest1x/org/glassfish/tyrus/core/BaseContainer.html index dfbadbb7..2141c6eb 100644 --- a/apidocs/latest1x/org/glassfish/tyrus/core/BaseContainer.html +++ b/apidocs/latest1x/org/glassfish/tyrus/core/BaseContainer.html @@ -1,44 +1,58 @@ - + - + +BaseContainer (Tyrus 1.19 API) -BaseContainer (Tyrus 1.18 API) - + + + + + + + + +var pathtoroot = "../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
                        + +
                        +
                        -
                        org.glassfish.tyrus.core
                        +

                        Class BaseContainer

                        @@ -101,7 +125,7 @@ var activeTableTab = "activeTableTab";
                      • java.lang.Object
                      • @@ -241,12 +279,13 @@ implements
                      • +
                          -
                        • +
                        • Constructor Detail

                          - +
                            @@ -257,68 +296,70 @@ implements
                              -
                            • +
                            • Method Detail

                              - +
                              • getExecutorService

                                -
                                public java.util.concurrent.ExecutorService getExecutorService()
                                +
                                public java.util.concurrent.ExecutorService getExecutorService()
                                Returns a container-managed ExecutorService registered under java:comp/DefaultManagedExecutorService or if the lookup has failed, it returns a ExecutorService created and managed by this instance of - BaseContainer.
                                + BaseContainer.
                                Specified by:
                                -
                                getExecutorService in class ExecutorServiceProvider
                                +
                                getExecutorService in class ExecutorServiceProvider
                                Returns:
                                executor service.
                              - +
                              • getScheduledExecutorService

                                -
                                public java.util.concurrent.ScheduledExecutorService getScheduledExecutorService()
                                +
                                public java.util.concurrent.ScheduledExecutorService getScheduledExecutorService()
                                Returns a container-managed ScheduledExecutorService registered under java:comp/DefaultManagedScheduledExecutorService or if the lookup has failed it returns a ScheduledExecutorService created and managed by this instance of - BaseContainer.
                                + BaseContainer.
                                Specified by:
                                -
                                getScheduledExecutorService in class ExecutorServiceProvider
                                +
                                getScheduledExecutorService in class ExecutorServiceProvider
                                Returns:
                                scheduled executor service.
                              - +
                              • shutdown

                                -
                                public void shutdown()
                                +
                                public void shutdown()
                                Release executor services managed by this instance. Executor services obtained via JNDI lookup won't be shut down.
                              - +
                              • shutdown

                                -
                                protected void shutdown(BaseContainer.ShutDownCondition shutDownCondition)
                                +
                                protected void shutdown​(BaseContainer.ShutDownCondition shutDownCondition)
                                Release executor services managed by this instance if the condition passed in the parameter is fulfilled. Executor services obtained via JNDI lookup won't be shut down.
                                @@ -332,21 +373,25 @@ implements +

                                Copyright © 2012–2022 Oracle Corporation. All rights reserved.

                                + diff --git a/apidocs/latest1x/org/glassfish/tyrus/core/Beta.html b/apidocs/latest1x/org/glassfish/tyrus/core/Beta.html index d48c9a5a..6b547151 100644 --- a/apidocs/latest1x/org/glassfish/tyrus/core/Beta.html +++ b/apidocs/latest1x/org/glassfish/tyrus/core/Beta.html @@ -1,38 +1,52 @@ - + - + +Beta (Tyrus 1.19 API) -Beta (Tyrus 1.18 API) - + + + + + + + + +var pathtoroot = "../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
                                + +
                                +
                                -
                                org.glassfish.tyrus.core
                                +

                                Annotation Type Beta

                                @@ -93,10 +117,9 @@

                                • -
                                  -
                                  @Retention(value=CLASS)
                                  - @Documented
                                  - @Target(value={ANNOTATION_TYPE,TYPE,CONSTRUCTOR,METHOD,FIELD,PACKAGE})
                                  +
                                  @Retention(CLASS)
                                  +@Documented
                                  +@Target({ANNOTATION_TYPE,TYPE,CONSTRUCTOR,METHOD,FIELD,PACKAGE})
                                   public @interface Beta
                                  Marker of a public Tyrus API that is still in "beta" non-final version.

                                  @@ -120,17 +143,20 @@ public @interface Beta

                                +
                                + diff --git a/apidocs/latest1x/org/glassfish/tyrus/core/CloseReasons.html b/apidocs/latest1x/org/glassfish/tyrus/core/CloseReasons.html index 97156d75..8a5ebba1 100644 --- a/apidocs/latest1x/org/glassfish/tyrus/core/CloseReasons.html +++ b/apidocs/latest1x/org/glassfish/tyrus/core/CloseReasons.html @@ -1,44 +1,58 @@ - + - + +CloseReasons (Tyrus 1.19 API) -CloseReasons (Tyrus 1.18 API) - + + + + + + + + +var pathtoroot = "../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
                                + +
                                +
                                -
                                org.glassfish.tyrus.core
                                +

                                Enum CloseReasons

                                @@ -101,7 +125,7 @@ var activeTableTab = "activeTableTab";
                              • java.lang.Object
                                • -
                                • java.lang.Enum<CloseReasons>
                                • +
                                • java.lang.Enum<CloseReasons>
                                  • org.glassfish.tyrus.core.CloseReasons
                                  • @@ -115,12 +139,11 @@ var activeTableTab = "activeTableTab";
                                  • All Implemented Interfaces:
                                    -
                                    java.io.Serializable, java.lang.Comparable<CloseReasons>
                                    +
                                    java.io.Serializable, java.lang.Comparable<CloseReasons>

                                    -
                                    public enum CloseReasons
                                    -extends java.lang.Enum<CloseReasons>
                                    +extends java.lang.Enum<CloseReasons>
                                    Enum containing standard CloseReasons defined in RFC 6455, see chapter 7.4.1 Defined Status Codes.
                                    @@ -134,18 +157,21 @@ extends java.lang.Enum<
                                  • +
                                      -
                                    • +
                                    • Enum Constant Summary

                                      - +
                                      - + + - + + - + - + + - + - + + - + - + - + - + - + - + - + @@ -242,47 +282,59 @@ extends java.lang.Enum<
                                      Enum Constants 
                                      Enum Constant and DescriptionEnum ConstantDescription
                                      CANNOT_ACCEPT +CANNOT_ACCEPT
                                      1003 indicates that an endpoint is terminating the connection because it has received a type of data it cannot accept (e.g., an endpoint that understands only text data MAY send this if it @@ -153,19 +179,22 @@ extends java.lang.Enum< -
                                      CLOSED_ABNORMALLY +CLOSED_ABNORMALLY
                                      1006 is a reserved value and MUST NOT be set as a status code in a Close control frame by an endpoint.
                                      GOING_AWAY +GOING_AWAY
                                      1001 indicates that an endpoint is "going away", such as a server going down or a browser having navigated away from a page.
                                      NO_EXTENSION +NO_EXTENSION
                                      1010 indicates that an endpoint (client) is terminating the connection because it has expected the server to negotiate one or more extension, but the server didn't return them in the response @@ -173,19 +202,22 @@ extends java.lang.Enum< -
                                      NO_STATUS_CODE +NO_STATUS_CODE
                                      1005 is a reserved value and MUST NOT be set as a status code in a Close control frame by an endpoint.
                                      NORMAL_CLOSURE +NORMAL_CLOSURE
                                      1000 indicates a normal closure, meaning that the purpose for which the connection was established has been fulfilled.
                                      NOT_CONSISTENT +NOT_CONSISTENT
                                      1007 indicates that an endpoint is terminating the connection because it has received data within a message that was not consistent with the type of the message (e.g., non-UTF-8 @@ -193,48 +225,56 @@ extends java.lang.Enum< -
                                      PROTOCOL_ERROR +PROTOCOL_ERROR
                                      1002 indicates that an endpoint is terminating the connection due to a protocol error.
                                      RESERVED +RESERVED
                                      Reserved.
                                      SERVICE_RESTART +SERVICE_RESTART
                                      1012 indicates that the service will be restarted.
                                      TLS_HANDSHAKE_FAILURE +TLS_HANDSHAKE_FAILURE
                                      1015 is a reserved value and MUST NOT be set as a status code in a Close control frame by an endpoint.
                                      TOO_BIG +TOO_BIG
                                      1009 indicates that an endpoint is terminating the connection because it has received a message that is too big for it to process.
                                      TRY_AGAIN_LATER +TRY_AGAIN_LATER
                                      1013 indicates that the service is experiencing overload
                                      UNEXPECTED_CONDITION +UNEXPECTED_CONDITION
                                      1011 indicates that a server is terminating the connection because it encountered an unexpected condition that prevented it from fulfilling the request.
                                      VIOLATED_POLICY +VIOLATED_POLICY
                                      1008 indicates that an endpoint is terminating the connection because it has received a message that violates its policy.
                                      +
                                      - + + + + + + + - + - - - + + + - - - + + +
                                      All Methods Static Methods Instance Methods Concrete Methods 
                                      Modifier and TypeMethod and DescriptionMethodDescription
                                      static CloseReasoncreate​(CloseReason.CloseCode closeCode, + java.lang.String reasonPhrase) 
                                      CloseReasongetCloseReason() +getCloseReason()
                                      Get close reason.
                                      static CloseReasonsvalueOf(java.lang.String name) +
                                      static CloseReasonsvalueOf​(java.lang.String name)
                                      Returns the enum constant of this type with the specified name.
                                      static CloseReasons[]values() +
                                      static CloseReasons[]values()
                                      Returns an array containing the constants of this enum type, in the order they are declared.
                                        -
                                      • +
                                      • Methods inherited from class java.lang.Enum

                                        clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
                                        -
                                      • +
                                      • Methods inherited from class java.lang.Object

                                        @@ -290,6 +342,7 @@ the order they are declared.
                            +
                      • @@ -297,87 +350,88 @@ the order they are declared.
                        • +
                            -
                          • +
                          • Enum Constant Detail

                            - +
                            • NORMAL_CLOSURE

                              -
                              public static final CloseReasons NORMAL_CLOSURE
                              +
                              public static final CloseReasons NORMAL_CLOSURE
                              1000 indicates a normal closure, meaning that the purpose for which the connection was established has been fulfilled.
                            - +
                            • GOING_AWAY

                              -
                              public static final CloseReasons GOING_AWAY
                              +
                              public static final CloseReasons GOING_AWAY
                              1001 indicates that an endpoint is "going away", such as a server going down or a browser having navigated away from a page.
                            - +
                            • PROTOCOL_ERROR

                              -
                              public static final CloseReasons PROTOCOL_ERROR
                              +
                              public static final CloseReasons PROTOCOL_ERROR
                              1002 indicates that an endpoint is terminating the connection due to a protocol error.
                            - +
                            • CANNOT_ACCEPT

                              -
                              public static final CloseReasons CANNOT_ACCEPT
                              +
                              public static final CloseReasons CANNOT_ACCEPT
                              1003 indicates that an endpoint is terminating the connection because it has received a type of data it cannot accept (e.g., an endpoint that understands only text data MAY send this if it receives a binary message).
                            - +
                            • RESERVED

                              -
                              public static final CloseReasons RESERVED
                              +
                              public static final CloseReasons RESERVED
                              Reserved. The specific meaning might be defined in the future.
                            - +
                            • NO_STATUS_CODE

                              -
                              public static final CloseReasons NO_STATUS_CODE
                              +
                              public static final CloseReasons NO_STATUS_CODE
                              1005 is a reserved value and MUST NOT be set as a status code in a Close control frame by an endpoint. It is designated for use in applications expecting a status code to indicate that no status code was actually present.
                            - +
                            • CLOSED_ABNORMALLY

                              -
                              public static final CloseReasons CLOSED_ABNORMALLY
                              +
                              public static final CloseReasons CLOSED_ABNORMALLY
                              1006 is a reserved value and MUST NOT be set as a status code in a Close control frame by an endpoint. It is designated for use in applications expecting a status code to indicate that the @@ -385,26 +439,26 @@ the order they are declared.
                              receiving a Close control frame.
                            - +
                            • NOT_CONSISTENT

                              -
                              public static final CloseReasons NOT_CONSISTENT
                              +
                              public static final CloseReasons NOT_CONSISTENT
                              1007 indicates that an endpoint is terminating the connection because it has received data within a message that was not consistent with the type of the message (e.g., non-UTF-8 data within a text message).
                            - +
                            • VIOLATED_POLICY

                              -
                              public static final CloseReasons VIOLATED_POLICY
                              +
                              public static final CloseReasons VIOLATED_POLICY
                              1008 indicates that an endpoint is terminating the connection because it has received a message that violates its policy. This is a generic status code that can be returned when there is no @@ -412,25 +466,25 @@ the order they are declared.
                              is a need to hide specific details about the policy.
                            - +
                            • TOO_BIG

                              -
                              public static final CloseReasons TOO_BIG
                              +
                              public static final CloseReasons TOO_BIG
                              1009 indicates that an endpoint is terminating the connection because it has received a message that is too big for it to process.
                            - +
                            • NO_EXTENSION

                              -
                              public static final CloseReasons NO_EXTENSION
                              +
                              public static final CloseReasons NO_EXTENSION
                              1010 indicates that an endpoint (client) is terminating the connection because it has expected the server to negotiate one or more extension, but the server didn't return them in the response @@ -440,45 +494,45 @@ the order they are declared.
                              can fail the WebSocket handshake instead.
                            - +
                            • UNEXPECTED_CONDITION

                              -
                              public static final CloseReasons UNEXPECTED_CONDITION
                              +
                              public static final CloseReasons UNEXPECTED_CONDITION
                              1011 indicates that a server is terminating the connection because it encountered an unexpected condition that prevented it from fulfilling the request.
                            - +
                            • SERVICE_RESTART

                              -
                              public static final CloseReasons SERVICE_RESTART
                              +
                              public static final CloseReasons SERVICE_RESTART
                              1012 indicates that the service will be restarted.
                            - +
                            • TRY_AGAIN_LATER

                              -
                              public static final CloseReasons TRY_AGAIN_LATER
                              +
                              public static final CloseReasons TRY_AGAIN_LATER
                              1013 indicates that the service is experiencing overload
                            - +
                            • TLS_HANDSHAKE_FAILURE

                              -
                              public static final CloseReasons TLS_HANDSHAKE_FAILURE
                              +
                              public static final CloseReasons TLS_HANDSHAKE_FAILURE
                              1015 is a reserved value and MUST NOT be set as a status code in a Close control frame by an endpoint. It is designated for use in applications expecting a status code to indicate that the @@ -488,21 +542,23 @@ the order they are declared.
                          +
                          +
                            -
                          • +
                          • Method Detail

                            - +
                            • values

                              -
                              public static CloseReasons[] values()
                              +
                              public static CloseReasons[] values()
                              Returns an array containing the constants of this enum type, in -the order they are declared. This method may be used to iterate +the order they are declared. This method may be used to iterate over the constants as follows:
                               for (CloseReasons c : CloseReasons.values())
                              @@ -514,13 +570,13 @@ for (CloseReasons c : CloseReasons.values())
                               
                               
                            - +
                            • valueOf

                              -
                              public static CloseReasons valueOf(java.lang.String name)
                              +
                              public static CloseReasons valueOf​(java.lang.String name)
                              Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are @@ -536,13 +592,13 @@ not permitted.)
                            - + - +
                          +
                        • +
                        +
                        + diff --git a/apidocs/latest1x/org/glassfish/tyrus/core/ComponentProvider.html b/apidocs/latest1x/org/glassfish/tyrus/core/ComponentProvider.html index e44cfa9f..103e25eb 100644 --- a/apidocs/latest1x/org/glassfish/tyrus/core/ComponentProvider.html +++ b/apidocs/latest1x/org/glassfish/tyrus/core/ComponentProvider.html @@ -1,44 +1,58 @@ - + - + +ComponentProvider (Tyrus 1.19 API) -ComponentProvider (Tyrus 1.18 API) - + + + + + + + + +var pathtoroot = "../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
                        + +
                        +
                        -
                        org.glassfish.tyrus.core
                        +

                        Class ComponentProvider

                        @@ -110,16 +134,15 @@ var activeTableTab = "activeTableTab";
                      • Direct Known Subclasses:
                        -
                        CdiComponentProvider, DefaultComponentProvider, EjbComponentProvider
                        +
                        CdiComponentProvider, DefaultComponentProvider, EjbComponentProvider

                        -
                        public abstract class ComponentProvider
                         extends java.lang.Object
                        Provides an instance.

                        - Method isApplicable(Class) is called first to check whether the provider is able to provide the given - Class. Method create(Class) is called to get the instance.

                        + Method isApplicable(Class) is called first to check whether the provider is able to provide the given + Class. Method create(Class) is called to get the instance.
                      • Author:
                        Stepan Kopriva (stepan.kopriva at oracle.com), Martin Matula (martin.matula at oracle.com), Pavel Bucek (pavel.bucek at oracle.com)
                        @@ -131,61 +154,71 @@ extends java.lang.Object
                        • +
                          +
                          +
                            -
                          • +
                          • Method Summary

                            - +
                            - + + - + - + - + - +
                            All Methods Instance Methods Abstract Methods Concrete Methods 
                            Modifier and TypeMethod and DescriptionMethodDescription
                            abstract <T> java.lang.Objectcreate(java.lang.Class<T> c) +create​(java.lang.Class<T> c)
                            Create new instance.
                            abstract booleandestroy(java.lang.Object o) +destroy​(java.lang.Object o)
                            Destroys the given managed instance.
                            java.lang.reflect.MethodgetInvocableMethod(java.lang.reflect.Method method) +getInvocableMethod​(java.lang.reflect.Method method)
                            Get the method which should be invoked instead provided one.
                            abstract booleanisApplicable(java.lang.Class<?> c) +isApplicable​(java.lang.Class<?> c)
                            Checks whether this component provider is able to provide an instance of given Class.
                              -
                            • +
                            • Methods inherited from class java.lang.Object

                              @@ -193,6 +226,7 @@ extends java.lang.Object
                          +
                        @@ -200,12 +234,13 @@ extends java.lang.Object
                        • +
                            -
                          • +
                          • Constructor Detail

                            - +
                              @@ -216,35 +251,37 @@ extends java.lang.Object
                          +
                          +
                            -
                          • +
                          • Method Detail

                            - +
                            • isApplicable

                              -
                              public abstract boolean isApplicable(java.lang.Class<?> c)
                              +
                              public abstract boolean isApplicable​(java.lang.Class<?> c)
                              Checks whether this component provider is able to provide an instance of given Class.
                              Parameters:
                              c - Class to be checked.
                              Returns:
                              -
                              true iff this ComponentProvider is able to create an instance of the given Class.
                              +
                              true iff this ComponentProvider is able to create an instance of the given Class.
                            - +
                            • create

                              -
                              public abstract <T> java.lang.Object create(java.lang.Class<T> c)
                              +
                              public abstract <T> java.lang.Object create​(java.lang.Class<T> c)
                              Create new instance.
                              Type Parameters:
                              @@ -256,13 +293,13 @@ extends java.lang.Object
                            - +
                            • getInvocableMethod

                              -
                              public java.lang.reflect.Method getInvocableMethod(java.lang.reflect.Method method)
                              +
                              public java.lang.reflect.Method getInvocableMethod​(java.lang.reflect.Method method)
                              Get the method which should be invoked instead provided one.

                              Useful mainly for EJB container support, where methods from endpoint class cannot be invoked directly - Tyrus @@ -278,39 +315,43 @@ extends java.lang.Object

                        - +
                        • destroy

                          -
                          public abstract boolean destroy(java.lang.Object o)
                          +
                          public abstract boolean destroy​(java.lang.Object o)
                          Destroys the given managed instance.
                          Parameters:
                          o - instance to be destroyed.
                          Returns:
                          -
                          true iff the instance was coupled to this ComponentProvider, false otherwise.
                          +
                          true iff the instance was coupled to this ComponentProvider, false otherwise.
                        + +
                        + diff --git a/apidocs/latest1x/org/glassfish/tyrus/core/ComponentProviderService.html b/apidocs/latest1x/org/glassfish/tyrus/core/ComponentProviderService.html index 8457c359..751c47e7 100644 --- a/apidocs/latest1x/org/glassfish/tyrus/core/ComponentProviderService.html +++ b/apidocs/latest1x/org/glassfish/tyrus/core/ComponentProviderService.html @@ -1,44 +1,58 @@ - + - + +ComponentProviderService (Tyrus 1.19 API) -ComponentProviderService (Tyrus 1.18 API) - + + + + + + + + +var pathtoroot = "../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
                        + +
                        +
                        -
                        org.glassfish.tyrus.core
                        +

                        Class ComponentProviderService

                        @@ -109,10 +133,9 @@ var activeTableTab = "activeTableTab";
                        +
                        + diff --git a/apidocs/latest1x/org/glassfish/tyrus/core/DebugContext.TracingThreshold.html b/apidocs/latest1x/org/glassfish/tyrus/core/DebugContext.TracingThreshold.html index 4fdb1f90..5288f020 100644 --- a/apidocs/latest1x/org/glassfish/tyrus/core/DebugContext.TracingThreshold.html +++ b/apidocs/latest1x/org/glassfish/tyrus/core/DebugContext.TracingThreshold.html @@ -1,44 +1,58 @@ - + - + +DebugContext.TracingThreshold (Tyrus 1.19 API) -DebugContext.TracingThreshold (Tyrus 1.18 API) - + + + + + + + + +var pathtoroot = "../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
                        + +
                        +
                        -
                        org.glassfish.tyrus.core
                        +

                        Enum DebugContext.TracingThreshold

                        @@ -101,7 +125,7 @@ var activeTableTab = "activeTableTab";
                      • java.lang.Object
                      • + @@ -205,28 +238,29 @@ the order they are declared.
                        • +
                          +
                          +
                            -
                          • +
                          • Method Detail

                            - +
                            • values

                              -
                              public static DebugContext.TracingThreshold[] values()
                              +
                              public static DebugContext.TracingThreshold[] values()
                              Returns an array containing the constants of this enum type, in -the order they are declared. This method may be used to iterate +the order they are declared. This method may be used to iterate over the constants as follows:
                               for (DebugContext.TracingThreshold c : DebugContext.TracingThreshold.values())
                              @@ -260,13 +296,13 @@ for (DebugContext.TracingThreshold c : DebugContext.TracingThreshold.values())
                               
                               
                            - +
                            • valueOf

                              -
                              public static DebugContext.TracingThreshold valueOf(java.lang.String name)
                              +
                              public static DebugContext.TracingThreshold valueOf​(java.lang.String name)
                              Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are @@ -284,21 +320,25 @@ not permitted.)
                          +
                        +
                        + diff --git a/apidocs/latest1x/org/glassfish/tyrus/core/DebugContext.TracingType.html b/apidocs/latest1x/org/glassfish/tyrus/core/DebugContext.TracingType.html index efbb1fa2..b4d8ba13 100644 --- a/apidocs/latest1x/org/glassfish/tyrus/core/DebugContext.TracingType.html +++ b/apidocs/latest1x/org/glassfish/tyrus/core/DebugContext.TracingType.html @@ -1,44 +1,58 @@ - + - + +DebugContext.TracingType (Tyrus 1.19 API) -DebugContext.TracingType (Tyrus 1.18 API) - + + + + + + + + +var pathtoroot = "../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
                        + +
                        +
                        -
                        org.glassfish.tyrus.core
                        +

                        Enum DebugContext.TracingType

                        @@ -101,7 +125,7 @@ var activeTableTab = "activeTableTab";
                      • java.lang.Object
                        • -
                        • java.lang.Enum<DebugContext.TracingType>
                        • +
                        • java.lang.Enum<DebugContext.TracingType>
                        • @@ -133,28 +156,33 @@ extends java.lang.Enum<
                        • +
                            -
                          • +
                          • Enum Constant Summary

                            - +
                            - + + - + - + - + @@ -162,41 +190,46 @@ extends java.lang.Enum<
                            Enum Constants 
                            Enum Constant and DescriptionEnum ConstantDescription
                            ALL +ALL
                            Tracing headers will be present in all handshake responses.
                            OFF +OFF
                            No tracing headers will be ever sent in handshake response.
                            ON_DEMAND +ON_DEMAND
                            Tracing headers will be sent in handshake response only if X-Tyrus-Tracing-Accept header is present in handshake request.
                            +
                            - + + - - + + - - + +
                            All Methods Static Methods Concrete Methods 
                            Modifier and TypeMethod and DescriptionMethodDescription
                            static DebugContext.TracingTypevalueOf(java.lang.String name) +static DebugContext.TracingTypevalueOf​(java.lang.String name)
                            Returns the enum constant of this type with the specified name.
                            static DebugContext.TracingType[]values() +static DebugContext.TracingType[]values()
                            Returns an array containing the constants of this enum type, in the order they are declared.
                              -
                            • +
                            • Methods inherited from class java.lang.Enum

                              clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
                              -
                            • +
                            • Methods inherited from class java.lang.Object

                              @@ -204,6 +237,7 @@ the order they are declared.
                      • + @@ -211,59 +245,62 @@ the order they are declared.
                        • +
                          +
                          +
                            -
                          • +
                          • Method Detail

                            - +
                            • values

                              -
                              public static DebugContext.TracingType[] values()
                              +
                              public static DebugContext.TracingType[] values()
                              Returns an array containing the constants of this enum type, in -the order they are declared. This method may be used to iterate +the order they are declared. This method may be used to iterate over the constants as follows:
                               for (DebugContext.TracingType c : DebugContext.TracingType.values())
                              @@ -275,13 +312,13 @@ for (DebugContext.TracingType c : DebugContext.TracingType.values())
                               
                               
                            - +
                            • valueOf

                              -
                              public static DebugContext.TracingType valueOf(java.lang.String name)
                              +
                              public static DebugContext.TracingType valueOf​(java.lang.String name)
                              Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are @@ -299,21 +336,25 @@ not permitted.)
                          +
                        +
                        + diff --git a/apidocs/latest1x/org/glassfish/tyrus/core/DebugContext.Type.html b/apidocs/latest1x/org/glassfish/tyrus/core/DebugContext.Type.html index bd87adcc..8f4eb48d 100644 --- a/apidocs/latest1x/org/glassfish/tyrus/core/DebugContext.Type.html +++ b/apidocs/latest1x/org/glassfish/tyrus/core/DebugContext.Type.html @@ -1,44 +1,58 @@ - + - + +DebugContext.Type (Tyrus 1.19 API) -DebugContext.Type (Tyrus 1.18 API) - + + + + + + + + +var pathtoroot = "../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
                        + +
                        +
                        -
                        org.glassfish.tyrus.core
                        +

                        Enum DebugContext.Type

                        @@ -101,7 +125,7 @@ var activeTableTab = "activeTableTab";
                      • java.lang.Object
                      • + @@ -204,55 +238,58 @@ the order they are declared.
                        • +
                          +
                          +
                            -
                          • +
                          • Method Detail

                            - +
                            • values

                              -
                              public static DebugContext.Type[] values()
                              +
                              public static DebugContext.Type[] values()
                              Returns an array containing the constants of this enum type, in -the order they are declared. This method may be used to iterate +the order they are declared. This method may be used to iterate over the constants as follows:
                               for (DebugContext.Type c : DebugContext.Type.values())
                              @@ -264,13 +301,13 @@ for (DebugContext.Type c : DebugContext.Type.values())
                               
                               
                            - +
                            • valueOf

                              -
                              public static DebugContext.Type valueOf(java.lang.String name)
                              +
                              public static DebugContext.Type valueOf​(java.lang.String name)
                              Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are @@ -288,21 +325,25 @@ not permitted.)
                          +
                        +
                        + diff --git a/apidocs/latest1x/org/glassfish/tyrus/core/DebugContext.html b/apidocs/latest1x/org/glassfish/tyrus/core/DebugContext.html index 8845752d..018723ab 100644 --- a/apidocs/latest1x/org/glassfish/tyrus/core/DebugContext.html +++ b/apidocs/latest1x/org/glassfish/tyrus/core/DebugContext.html @@ -1,44 +1,58 @@ - + - + +DebugContext (Tyrus 1.19 API) -DebugContext (Tyrus 1.18 API) - + + + + + + + + +var pathtoroot = "../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
                        + +
                        +
                        -
                        org.glassfish.tyrus.core
                        +

                        Class DebugContext

                        @@ -109,7 +133,6 @@ var activeTableTab = "activeTableTab";

                        • -
                          public class DebugContext
                           extends java.lang.Object
                          A Logger wrapper that gives logging records a common formatting and temporarily stores log @@ -129,142 +152,163 @@ extends java.lang.Object
                          @@ -279,18 +324,19 @@ extends java.lang.Object
                          • +
                              -
                            • +
                            • Constructor Detail

                              - +
                              • DebugContext

                                -
                                public DebugContext(DebugContext.TracingThreshold tracingThreshold)
                                +
                                public DebugContext​(DebugContext.TracingThreshold tracingThreshold)
                                Constructor that configures tracing to be ON and accepts tracing threshold as a parameter.
                                Parameters:
                                @@ -298,7 +344,7 @@ extends java.lang.Object
                              - +
                                @@ -310,21 +356,23 @@ extends java.lang.Object
                            +
                            +
                              -
                            • +
                            • Method Detail

                              - +
                              • appendLogMessage

                                -
                                public void appendLogMessage(java.util.logging.Logger logger,
                                +
                                public void appendLogMessage​(java.util.logging.Logger logger,
                                                              java.util.logging.Level loggingLevel,
                                -                             DebugContext.Type type,
                                +                             DebugContext.Type type,
                                                              java.lang.Object... messageParts)
                                Append a message to the log, the logging will be postponed until the message can be provided with a session ID. Randomly generated session ID is used if a session has not been created.
                                @@ -337,15 +385,15 @@ extends java.lang.Object
                              - +
                              • appendTraceMessage

                                -
                                public void appendTraceMessage(java.util.logging.Logger logger,
                                +
                                public void appendTraceMessage​(java.util.logging.Logger logger,
                                                                java.util.logging.Level loggingLevel,
                                -                               DebugContext.Type type,
                                +                               DebugContext.Type type,
                                                                java.lang.Object... messageParts)
                                Append a message to the log and to the list of trace messages that are sent in handshake response. The logging will be postponed until the message can be provided with a session ID. Randomly generated session ID @@ -359,15 +407,15 @@ extends java.lang.Object
                              - +
                              • appendLogMessageWithThrowable

                                -
                                public void appendLogMessageWithThrowable(java.util.logging.Logger logger,
                                +
                                public void appendLogMessageWithThrowable​(java.util.logging.Logger logger,
                                                                           java.util.logging.Level loggingLevel,
                                -                                          DebugContext.Type type,
                                +                                          DebugContext.Type type,
                                                                           java.lang.Throwable t,
                                                                           java.lang.Object... messageParts)
                                Append a message to the log, the logging will be postponed until the message can be provided with a session ID. @@ -382,15 +430,15 @@ extends java.lang.Object
                              - +
                              • appendTraceMessageWithThrowable

                                -
                                public void appendTraceMessageWithThrowable(java.util.logging.Logger logger,
                                +
                                public void appendTraceMessageWithThrowable​(java.util.logging.Logger logger,
                                                                             java.util.logging.Level loggingLevel,
                                -                                            DebugContext.Type type,
                                +                                            DebugContext.Type type,
                                                                             java.lang.Throwable t,
                                                                             java.lang.Object... messageParts)
                                Append a message to the log and to the list of trace messages that are sent in handshake response. @@ -406,13 +454,13 @@ extends java.lang.Object
                              - +
                              • appendStandardOutputMessage

                                -
                                public void appendStandardOutputMessage(DebugContext.Type type,
                                +
                                public void appendStandardOutputMessage​(DebugContext.Type type,
                                                                         java.lang.String message)
                                Write a message to the standard output, the logging will be postponed until the message can be provided with a session ID. Randomly generated session ID is used if a session has not been created.
                                @@ -423,13 +471,13 @@ extends java.lang.Object
                              - +
                              • setSessionId

                                -
                                public void setSessionId(java.lang.String sessionId)
                                +
                                public void setSessionId​(java.lang.String sessionId)
                                Set a session ID that will be used as a common identifier for logged messages related to the same upgrade request. Setting the session ID will cause the pending messages to be written into the log.
                                @@ -438,23 +486,23 @@ extends java.lang.Object
                              - +
                              • flush

                                -
                                public void flush()
                                +
                                public void flush()
                                Write pending messages to the log.
                              - +
                              • getTracingHeaders

                                -
                                public java.util.Map<java.lang.String,java.util.List<java.lang.String>> getTracingHeaders()
                                +
                                public java.util.Map<java.lang.String,​java.util.List<java.lang.String>> getTracingHeaders()
                                Get headers containing tracing messages.
                                Returns:
                                @@ -464,21 +512,25 @@ extends java.lang.Object
                            +
                        +
                        + diff --git a/apidocs/latest1x/org/glassfish/tyrus/core/DefaultComponentProvider.html b/apidocs/latest1x/org/glassfish/tyrus/core/DefaultComponentProvider.html index 97f7cf5b..6a850bb0 100644 --- a/apidocs/latest1x/org/glassfish/tyrus/core/DefaultComponentProvider.html +++ b/apidocs/latest1x/org/glassfish/tyrus/core/DefaultComponentProvider.html @@ -1,44 +1,58 @@ - + - + +DefaultComponentProvider (Tyrus 1.19 API) -DefaultComponentProvider (Tyrus 1.18 API) - + + + + + + + + +var pathtoroot = "../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
                        + +
                        +
                        -
                        org.glassfish.tyrus.core
                        +

                        Class DefaultComponentProvider

                        @@ -101,7 +125,7 @@ var activeTableTab = "activeTableTab";
                      • java.lang.Object
                      • @@ -198,12 +232,13 @@ extends
                      • +
                          -
                        • +
                        • Constructor Detail

                          - +
                            @@ -214,43 +249,45 @@ extends
                          +
                        +
                          -
                        • +
                        • Method Detail

                          - + - +
                          • create

                            -
                            public <T> java.lang.Object create(java.lang.Class<T> toLoad)
                            -
                            Description copied from class: ComponentProvider
                            +
                            public <T> java.lang.Object create​(java.lang.Class<T> toLoad)
                            +
                            Description copied from class: ComponentProvider
                            Create new instance.
                            Specified by:
                            -
                            create in class ComponentProvider
                            +
                            create in class ComponentProvider
                            Type Parameters:
                            T - type of the created object.
                            Parameters:
                            @@ -260,33 +297,33 @@ extends
                          - + - +
                          • getInvocableMethod

                            -
                            public java.lang.reflect.Method getInvocableMethod(java.lang.reflect.Method method)
                            -
                            Description copied from class: ComponentProvider
                            +
                            public java.lang.reflect.Method getInvocableMethod​(java.lang.reflect.Method method)
                            +
                            Description copied from class: ComponentProvider
                            Get the method which should be invoked instead provided one.

                            Useful mainly for EJB container support, where methods from endpoint class cannot be invoked directly - Tyrus @@ -296,7 +333,7 @@ extends

                            Overrides:
                            -
                            getInvocableMethod in class ComponentProvider
                            +
                            getInvocableMethod in class ComponentProvider
                            Parameters:
                            method - method from endpoint class.
                            Returns:
                            @@ -306,21 +343,25 @@ extends
                          +
                      • +
                        + diff --git a/apidocs/latest1x/org/glassfish/tyrus/core/ErrorCollector.html b/apidocs/latest1x/org/glassfish/tyrus/core/ErrorCollector.html index 1d66165b..e9e250b6 100644 --- a/apidocs/latest1x/org/glassfish/tyrus/core/ErrorCollector.html +++ b/apidocs/latest1x/org/glassfish/tyrus/core/ErrorCollector.html @@ -1,44 +1,58 @@ - + - + +ErrorCollector (Tyrus 1.19 API) -ErrorCollector (Tyrus 1.18 API) - + + + + + + + + +var pathtoroot = "../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
                        + +
                        +
                        -
                        org.glassfish.tyrus.core
                        +

                        Class ErrorCollector

                        @@ -109,7 +133,6 @@ var activeTableTab = "activeTableTab";
                        @@ -187,12 +220,13 @@ extends java.lang.Object
                        • +
                            -
                          • +
                          • Constructor Detail

                            - +
                              @@ -203,19 +237,21 @@ extends java.lang.Object
                          +
                          +
                            -
                          • +
                          • Method Detail

                            - +
                            • addException

                              -
                              public void addException(java.lang.Exception exception)
                              +
                              public void addException​(java.lang.Exception exception)
                              Add Exception to the collector.
                              Parameters:
                              @@ -223,13 +259,13 @@ extends java.lang.Object
                            - +
                            • composeComprehensiveException

                              -
                              public DeploymentException composeComprehensiveException()
                              +
                              public DeploymentException composeComprehensiveException()
                              Create DeploymentException with message concatenated from collected exceptions.
                              Returns:
                              @@ -237,13 +273,13 @@ extends java.lang.Object
                            - +
                            • isEmpty

                              -
                              public boolean isEmpty()
                              +
                              public boolean isEmpty()
                              Checks whether any exception has been logged.
                              Returns:
                              @@ -253,21 +289,25 @@ extends java.lang.Object
                          +
                        +
                        + diff --git a/apidocs/latest1x/org/glassfish/tyrus/core/ExecutorServiceProvider.html b/apidocs/latest1x/org/glassfish/tyrus/core/ExecutorServiceProvider.html index a8f81aae..84485658 100644 --- a/apidocs/latest1x/org/glassfish/tyrus/core/ExecutorServiceProvider.html +++ b/apidocs/latest1x/org/glassfish/tyrus/core/ExecutorServiceProvider.html @@ -1,44 +1,58 @@ - + - + +ExecutorServiceProvider (Tyrus 1.19 API) -ExecutorServiceProvider (Tyrus 1.18 API) - + + + + + + + + +var pathtoroot = "../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
                        + +
                        +
                        -
                        org.glassfish.tyrus.core
                        +

                        Class ExecutorServiceProvider

                        @@ -110,10 +134,9 @@ var activeTableTab = "activeTableTab";
                      • Direct Known Subclasses:
                        -
                        BaseContainer
                        +
                        BaseContainer

                        -
                        public abstract class ExecutorServiceProvider
                         extends java.lang.Object
                        @@ -127,49 +150,57 @@ extends java.lang.Object
                      • @@ -184,12 +216,13 @@ extends java.lang.Object
                        • +
                            -
                          • +
                          • Constructor Detail

                            - +
                              @@ -200,19 +233,21 @@ extends java.lang.Object
                          +
                          +
                            -
                          • +
                          • Method Detail

                            - +
                            • getExecutorService

                              -
                              public abstract java.util.concurrent.ExecutorService getExecutorService()
                              +
                              public abstract java.util.concurrent.ExecutorService getExecutorService()
                              Get the ExecutorService.
                              Returns:
                              @@ -220,13 +255,13 @@ extends java.lang.Object
                            - +
                            • getScheduledExecutorService

                              -
                              public abstract java.util.concurrent.ScheduledExecutorService getScheduledExecutorService()
                              +
                              public abstract java.util.concurrent.ScheduledExecutorService getScheduledExecutorService()
                              Get the ScheduledExecutorService.
                              Returns:
                              @@ -236,21 +271,25 @@ extends java.lang.Object
                          +
                        +
                        + diff --git a/apidocs/latest1x/org/glassfish/tyrus/core/Handshake.html b/apidocs/latest1x/org/glassfish/tyrus/core/Handshake.html index 1a6dfd91..51a9e1b4 100644 --- a/apidocs/latest1x/org/glassfish/tyrus/core/Handshake.html +++ b/apidocs/latest1x/org/glassfish/tyrus/core/Handshake.html @@ -1,44 +1,58 @@ - + - + +Handshake (Tyrus 1.19 API) -Handshake (Tyrus 1.18 API) - + + + + + + + + +var pathtoroot = "../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
                        + +
                        +
                        -
                        org.glassfish.tyrus.core
                        +

                        Class Handshake

                        @@ -109,7 +133,6 @@ var activeTableTab = "activeTableTab";
                        @@ -194,18 +227,19 @@ extends java.lang.Object
                        • +
                            -
                          • +
                          • Method Detail

                            - +
                            • createClientHandshake

                              -
                              public static Handshake createClientHandshake(RequestContext webSocketRequest)
                              +
                              public static Handshake createClientHandshake​(RequestContext webSocketRequest)
                              Client-side handshake.
                              Parameters:
                              @@ -215,27 +249,27 @@ extends java.lang.Object
                            - + - +
                            • setSubProtocols

                              -
                              public void setSubProtocols(java.util.List<java.lang.String> subProtocols)
                              +
                              public void setSubProtocols​(java.util.List<java.lang.String> subProtocols)
                              Client side only - set the list of supported subprotocols.
                              Parameters:
                              @@ -243,13 +277,13 @@ extends java.lang.Object
                            - +
                            • setExtensions

                              -
                              public void setExtensions(java.util.List<Extension> extensions)
                              +
                              public void setExtensions​(java.util.List<Extension> extensions)
                              Client side only - set the list of supported extensions.
                              Parameters:
                              @@ -257,44 +291,44 @@ extends java.lang.Object
                            - + - + - +
                            • updateHostAndOrigin

                              -
                              public static void updateHostAndOrigin(UpgradeRequest upgradeRequest)
                              +
                              public static void updateHostAndOrigin​(UpgradeRequest upgradeRequest)
                              Client side only - Generate host and origin header and put them to the upgrade request headers.
                              Parameters:
                              @@ -304,21 +338,25 @@ extends java.lang.Object
                          +
                        +
                        + diff --git a/apidocs/latest1x/org/glassfish/tyrus/core/HandshakeException.html b/apidocs/latest1x/org/glassfish/tyrus/core/HandshakeException.html index acfadc0f..fd5e4c59 100644 --- a/apidocs/latest1x/org/glassfish/tyrus/core/HandshakeException.html +++ b/apidocs/latest1x/org/glassfish/tyrus/core/HandshakeException.html @@ -1,44 +1,58 @@ - + - + +HandshakeException (Tyrus 1.19 API) -HandshakeException (Tyrus 1.18 API) - + + + + + + + + +var pathtoroot = "../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
                        + +
                        +
                        -
                        org.glassfish.tyrus.core
                        +

                        Class HandshakeException

                        @@ -120,14 +144,13 @@ var activeTableTab = "activeTableTab";
                      • All Implemented Interfaces:
                        -
                        java.io.Serializable
                        +
                        java.io.Serializable
                        Direct Known Subclasses:
                        -
                        AuthenticationException, RedirectException, RetryAfterException
                        +
                        AuthenticationException, RedirectException, RetryAfterException

                        -
                        public class HandshakeException
                         extends java.lang.Exception
                        Exception, which describes the error, occurred during the handshake phase.
                        @@ -144,58 +167,66 @@ extends java.lang.Exception
                        • +
                            -
                          • +
                          • Constructor Summary

                            - +
                            - + + - + - +
                            Constructors 
                            Constructor and DescriptionConstructorDescription
                            HandshakeException(int httpStatusCode, - java.lang.String message) +HandshakeException​(int httpStatusCode, + java.lang.String message)
                            Constructor.
                            HandshakeException(java.lang.String message) +HandshakeException​(java.lang.String message)
                            Construct a HandshakeException.
                          +
                          +
                            -
                          • +
                          • Method Summary

                            - +
                            - + + - +
                            All Methods Instance Methods Concrete Methods 
                            Modifier and TypeMethod and DescriptionMethodDescription
                            intgetHttpStatusCode() +getHttpStatusCode()
                            Get the error code.
                              -
                            • +
                            • Methods inherited from class java.lang.Throwable

                              addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
                              -
                            • +
                            • Methods inherited from class java.lang.Object

                              @@ -203,6 +234,7 @@ extends java.lang.Exception
                          +
                      • @@ -210,18 +242,19 @@ extends java.lang.Exception
                        • +
                            -
                          • +
                          • Constructor Detail

                            - +
                            • HandshakeException

                              -
                              public HandshakeException(java.lang.String message)
                              +
                              public HandshakeException​(java.lang.String message)
                              Construct a HandshakeException. HTTP status code will be set to 500.
                              Parameters:
                              @@ -229,13 +262,13 @@ extends java.lang.Exception
                            - +
                            • HandshakeException

                              -
                              public HandshakeException(int httpStatusCode,
                              +
                              public HandshakeException​(int httpStatusCode,
                                                         java.lang.String message)
                              Constructor.
                              @@ -247,19 +280,21 @@ extends java.lang.Exception
                          +
                          +
                            -
                          • +
                          • Method Detail

                            - +
                            • getHttpStatusCode

                              -
                              public int getHttpStatusCode()
                              +
                              public int getHttpStatusCode()
                              Get the error code.
                              Returns:
                              @@ -269,21 +304,25 @@ extends java.lang.Exception
                          +
                        +
                        + diff --git a/apidocs/latest1x/org/glassfish/tyrus/core/MaskingKeyGenerator.html b/apidocs/latest1x/org/glassfish/tyrus/core/MaskingKeyGenerator.html index f1ca2b7a..3271da10 100644 --- a/apidocs/latest1x/org/glassfish/tyrus/core/MaskingKeyGenerator.html +++ b/apidocs/latest1x/org/glassfish/tyrus/core/MaskingKeyGenerator.html @@ -1,44 +1,58 @@ - + - + +MaskingKeyGenerator (Tyrus 1.19 API) -MaskingKeyGenerator (Tyrus 1.18 API) - + + + + + + + + +var pathtoroot = "../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
                        + +
                        +
                        -
                        org.glassfish.tyrus.core
                        +

                        Interface MaskingKeyGenerator

                        @@ -101,8 +125,7 @@ var activeTableTab = "activeTableTab";

                        • -
                          -
                          @Beta
                          +
                          @Beta
                           public interface MaskingKeyGenerator
                          Can be implemented to generate masking keys.

                          @@ -130,26 +153,30 @@ public interface MaskingKeyGenerator

                        @@ -157,18 +184,19 @@ public interface MaskingKeyGenerator
                        • +
                            -
                          • +
                          • Method Detail

                            - +
                            • nextInt

                              -
                              int nextInt()
                              +
                              int nextInt()
                              Return next random int similarly to Random.nextInt().
                              Returns:
                              @@ -178,21 +206,25 @@ public interface MaskingKeyGenerator
                          +
                        +
                        + diff --git a/apidocs/latest1x/org/glassfish/tyrus/core/MaxSessions.html b/apidocs/latest1x/org/glassfish/tyrus/core/MaxSessions.html index b3b6bf01..c58c67d5 100644 --- a/apidocs/latest1x/org/glassfish/tyrus/core/MaxSessions.html +++ b/apidocs/latest1x/org/glassfish/tyrus/core/MaxSessions.html @@ -1,38 +1,52 @@ - + - + +MaxSessions (Tyrus 1.19 API) -MaxSessions (Tyrus 1.18 API) - + + + + + + + + +var pathtoroot = "../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
                        + +
                        +
                        -
                        org.glassfish.tyrus.core
                        +

                        Annotation Type MaxSessions

                        @@ -93,9 +117,8 @@
                        Author:
                        @@ -124,26 +147,30 @@ public @interface MaxSessions
                        • +
                            -
                          • +
                          • Required Element Summary

                            - +
                            - + + - +
                            Required Elements 
                            Modifier and TypeRequired Element and DescriptionRequired ElementDescription
                            intvalue +value
                            Maximal number of open sessions.
                          +
                        @@ -151,18 +178,19 @@ public @interface MaxSessions
                        • +
                            -
                          • +
                          • Element Detail

                            - +
                            • value

                              -
                              public abstract int value
                              +
                              int value
                              Maximal number of open sessions.
                              Returns:
                              @@ -172,21 +200,25 @@ public @interface MaxSessions
                          +
                        +
                        + diff --git a/apidocs/latest1x/org/glassfish/tyrus/core/MessageHandlerManager.html b/apidocs/latest1x/org/glassfish/tyrus/core/MessageHandlerManager.html index 84598f02..cbd5aeca 100644 --- a/apidocs/latest1x/org/glassfish/tyrus/core/MessageHandlerManager.html +++ b/apidocs/latest1x/org/glassfish/tyrus/core/MessageHandlerManager.html @@ -1,44 +1,58 @@ - + - + +MessageHandlerManager (Tyrus 1.19 API) -MessageHandlerManager (Tyrus 1.18 API) - + + + + + + + + +var pathtoroot = "../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
                        + +
                        +
                        -
                        org.glassfish.tyrus.core
                        +

                        Class MessageHandlerManager

                        @@ -109,7 +133,6 @@ var activeTableTab = "activeTableTab";
                        @@ -224,12 +263,13 @@ extends java.lang.Object
                        • +
                            -
                          • +
                          • Constructor Detail

                            - +
                              @@ -241,19 +281,21 @@ extends java.lang.Object
                          +
                          +
                            -
                          • +
                          • Method Detail

                            - +
                            • fromDecoderClasses

                              -
                              public static MessageHandlerManager fromDecoderClasses(java.util.List<java.lang.Class<? extends Decoder>> decoderClasses)
                              +
                              public static MessageHandlerManager fromDecoderClasses​(java.util.List<java.lang.Class<? extends Decoder>> decoderClasses)
                              Construct manager.
                              Parameters:
                              @@ -263,13 +305,13 @@ extends java.lang.Object
                            - +
                            • addMessageHandler

                              -
                              public void addMessageHandler(MessageHandler handler)
                              +
                              public void addMessageHandler​(MessageHandler handler)
                                                      throws java.lang.IllegalStateException
                              Add MessageHandler to the manager.
                              @@ -280,16 +322,16 @@ extends java.lang.Object
                            - +
                            • addMessageHandler

                              -
                              public <T> void addMessageHandler(java.lang.Class<T> clazz,
                              +
                              public <T> void addMessageHandler​(java.lang.Class<T> clazz,
                                                                 MessageHandler.Whole<T> handler)
                                                          throws java.lang.IllegalStateException
                              -
                              Add MessageHandler.Whole to the manager.
                              +
                              Add MessageHandler.Whole to the manager.
                              Type Parameters:
                              T - type of message to be handled.
                              @@ -301,16 +343,16 @@ extends java.lang.Object
                            - +
                            • addMessageHandler

                              -
                              public <T> void addMessageHandler(java.lang.Class<T> clazz,
                              +
                              public <T> void addMessageHandler​(java.lang.Class<T> clazz,
                                                                 MessageHandler.Partial<T> handler)
                                                          throws java.lang.IllegalStateException
                              -
                              Add MessageHandler.Partial to the manager.
                              +
                              Add MessageHandler.Partial to the manager.
                              Type Parameters:
                              T - type of message to be handled.
                              @@ -322,13 +364,13 @@ extends java.lang.Object
                            - +
                            • removeMessageHandler

                              -
                              public void removeMessageHandler(MessageHandler handler)
                              +
                              public void removeMessageHandler​(MessageHandler handler)
                              Remove MessageHandler from the manager.
                              Parameters:
                              @@ -336,13 +378,13 @@ extends java.lang.Object
                            - +
                            • getMessageHandlers

                              -
                              public java.util.Set<MessageHandler> getMessageHandlers()
                              +
                              public java.util.Set<MessageHandler> getMessageHandlers()
                              Get all successfully registered MessageHandlers.
                              Returns:
                              @@ -350,50 +392,54 @@ extends java.lang.Object
                            - +
                            • getOrderedWholeMessageHandlers

                              -
                              public java.util.List<java.util.Map.Entry<java.lang.Class<?>,MessageHandler>> getOrderedWholeMessageHandlers()
                              +
                              public java.util.List<java.util.Map.Entry<java.lang.Class<?>,​MessageHandler>> getOrderedWholeMessageHandlers()
                            - +
                            • isReaderHandlerPresent

                              -
                              public boolean isReaderHandlerPresent()
                              +
                              public boolean isReaderHandlerPresent()
                            - +
                            • isInputStreamHandlerPresent

                              -
                              public boolean isInputStreamHandlerPresent()
                              +
                              public boolean isInputStreamHandlerPresent()
                          +
                        +
                        + diff --git a/apidocs/latest1x/org/glassfish/tyrus/core/OsgiRegistry.html b/apidocs/latest1x/org/glassfish/tyrus/core/OsgiRegistry.html index 2b3b1a0d..7f4ea19f 100644 --- a/apidocs/latest1x/org/glassfish/tyrus/core/OsgiRegistry.html +++ b/apidocs/latest1x/org/glassfish/tyrus/core/OsgiRegistry.html @@ -1,44 +1,58 @@ - + - + +OsgiRegistry (Tyrus 1.19 API) -OsgiRegistry (Tyrus 1.18 API) - + + + + + + + + +var pathtoroot = "../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
                        + +
                        +
                        -
                        org.glassfish.tyrus.core
                        +

                        Class OsgiRegistry

                        @@ -110,10 +134,9 @@ var activeTableTab = "activeTableTab";
                      • All Implemented Interfaces:
                        -
                        java.util.EventListener, org.osgi.framework.BundleListener, org.osgi.framework.SynchronousBundleListener
                        +
                        java.util.EventListener, org.osgi.framework.BundleListener, org.osgi.framework.SynchronousBundleListener

                        -
                        public final class OsgiRegistry
                         extends java.lang.Object
                         implements org.osgi.framework.SynchronousBundleListener
                        @@ -121,7 +144,7 @@ implements org.osgi.framework.SynchronousBundleListener This is mainly to handle META-INF/services lookup and generic/application class lookup issue in OSGi.

                        - When OSGi runtime is detected by the ServiceFinder class, + When OSGi runtime is detected by the ServiceFinder class, an instance of OsgiRegistry is created and associated with given OSGi BundleContext. META-INF/services entries are then being accessed via the OSGi Bundle API as direct ClassLoader#getResource() method invocation @@ -137,53 +160,61 @@ implements org.osgi.framework.SynchronousBundleListener

                      • @@ -198,18 +230,19 @@ implements org.osgi.framework.SynchronousBundleListener
                        • +
                            -
                          • +
                          • Method Detail

                            - +
                            • getInstance

                              -
                              public static OsgiRegistry getInstance()
                              +
                              public static OsgiRegistry getInstance()
                              Returns an OsgiRegistry instance. Call this method only if sure that the application is running in OSGi environment, otherwise a call to this method can lead to an ClassNotFoundException.
                              @@ -218,36 +251,36 @@ implements org.osgi.framework.SynchronousBundleListener
                            - +
                            • bundleChanged

                              -
                              public void bundleChanged(org.osgi.framework.BundleEvent event)
                              +
                              public void bundleChanged​(org.osgi.framework.BundleEvent event)
                              Specified by:
                              bundleChanged in interface org.osgi.framework.BundleListener
                            - +
                            • getPackageResources

                              -
                              public java.util.Enumeration<java.net.URL> getPackageResources(java.lang.String packagePath,
                              +
                              public java.util.Enumeration<java.net.URL> getPackageResources​(java.lang.String packagePath,
                                                                                              java.lang.ClassLoader classLoader)
                            - +
                            • classForNameWithException

                              -
                              public java.lang.Class<?> classForNameWithException(java.lang.String className)
                              +
                              public java.lang.Class<?> classForNameWithException​(java.lang.String className)
                                                                            throws java.lang.ClassNotFoundException
                              Get the Class from the class name.

                              @@ -264,13 +297,13 @@ implements org.osgi.framework.SynchronousBundleListener

                            - +
                            • getResourceBundle

                              -
                              public java.util.ResourceBundle getResourceBundle(java.lang.String bundleName)
                              +
                              public java.util.ResourceBundle getResourceBundle​(java.lang.String bundleName)
                              Tries to load resource bundle via OSGi means. No caching involved here, as localization properties are being cached in Localizer class already.
                              @@ -281,13 +314,13 @@ implements org.osgi.framework.SynchronousBundleListener
                            - +
                            • hookUp

                              -
                              public void hookUp()
                              +
                              public void hookUp()
                              Will hook up this instance with the OSGi runtime. This is to actually update SPI provider lookup and class loading mechanisms in Jersey to utilize OSGi features.
                              @@ -295,21 +328,25 @@ implements org.osgi.framework.SynchronousBundleListener
                          +
                        +
                        + diff --git a/apidocs/latest1x/org/glassfish/tyrus/core/ProtocolException.html b/apidocs/latest1x/org/glassfish/tyrus/core/ProtocolException.html index ae6e3f3f..11eca4cb 100644 --- a/apidocs/latest1x/org/glassfish/tyrus/core/ProtocolException.html +++ b/apidocs/latest1x/org/glassfish/tyrus/core/ProtocolException.html @@ -1,44 +1,58 @@ - + - + +ProtocolException (Tyrus 1.19 API) -ProtocolException (Tyrus 1.18 API) - + + + + + + + + +var pathtoroot = "../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
                        + +
                        +
                        -
                        org.glassfish.tyrus.core
                        +

                        Class ProtocolException

                        @@ -110,7 +134,7 @@ var activeTableTab = "activeTableTab";
                      • java.lang.RuntimeException
                      • @@ -208,40 +239,43 @@ extends
                      • +
                          -
                        • +
                        • Constructor Detail

                          - +
                          • ProtocolException

                            -
                            public ProtocolException(java.lang.String reasonPhrase)
                            +
                            public ProtocolException​(java.lang.String reasonPhrase)
                        +
                        +
                      • +
                        + diff --git a/apidocs/latest1x/org/glassfish/tyrus/core/ProtocolHandler.html b/apidocs/latest1x/org/glassfish/tyrus/core/ProtocolHandler.html index 4f7abd8b..ff180396 100644 --- a/apidocs/latest1x/org/glassfish/tyrus/core/ProtocolHandler.html +++ b/apidocs/latest1x/org/glassfish/tyrus/core/ProtocolHandler.html @@ -1,44 +1,58 @@ - + - + +ProtocolHandler (Tyrus 1.19 API) -ProtocolHandler (Tyrus 1.18 API) - + + + + + + + + +var pathtoroot = "../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
                        + +
                        +
                        -
                        org.glassfish.tyrus.core
                        +

                        Class ProtocolHandler

                        @@ -109,7 +133,6 @@ var activeTableTab = "activeTableTab";

                        • -
                          public final class ProtocolHandler
                           extends java.lang.Object
                          Tyrus protocol handler. @@ -122,188 +145,217 @@ extends java.lang.Object
                          @@ -318,12 +371,13 @@ extends java.lang.Object
                          • +
                              -
                            • +
                            • Field Detail

                              - +
                                @@ -339,35 +393,37 @@ extends java.lang.Object
                            +
                            +
                              -
                            • +
                            • Method Detail

                              - +
                              • setWriter

                                -
                                public void setWriter(Writer writer)
                                -
                                Set Writer instance. +
                                public void setWriter​(Writer writer)
                                +
                                Set Writer instance.

                                The set instance is used for "sending" all outgoing WebSocket frames.

                                Parameters:
                                -
                                writer - Writer to be set.
                                +
                                writer - Writer to be set.
                              - +
                              • hasExtensions

                                -
                                public boolean hasExtensions()
                                +
                                public boolean hasExtensions()
                                Returns true when current connection has some negotiated extension.
                                Returns:
                                @@ -376,17 +432,17 @@ extends java.lang.Object
                              - + - +
                              • setExtensions

                                -
                                public void setExtensions(java.util.List<Extension> extensions)
                                +
                                public void setExtensions​(java.util.List<Extension> extensions)
                                Client side. Set extensions negotiated for this WebSocket session/connection.
                                Parameters:
                                @@ -415,13 +471,13 @@ extends java.lang.Object
                              - +
                              • setWebSocket

                                -
                                public void setWebSocket(TyrusWebSocket webSocket)
                                +
                                public void setWebSocket​(TyrusWebSocket webSocket)
                                Client side. Set WebSocket.
                                Parameters:
                                @@ -429,13 +485,13 @@ extends java.lang.Object
                              - + - +
                              • setMessageEventListener

                                -
                                public void setMessageEventListener(MessageEventListener messageEventListener)
                                +
                                public void setMessageEventListener​(MessageEventListener messageEventListener)
                                Set message event listener.
                                Parameters:
                                @@ -457,101 +513,101 @@ extends java.lang.Object
                              - +
                              • send

                                -
                                @Deprecated
                                -public java.util.concurrent.Future<Frame> send(byte[] data)
                                -
                                Deprecated. 
                                +
                                @Deprecated
                                +public java.util.concurrent.Future<Frame> send​(byte[] data)
                                +
                                Deprecated.
                              - +
                              • send

                                -
                                public java.util.concurrent.Future<Frame> send(byte[] data,
                                -                                               WriterInfo writerInfo)
                                +
                                public java.util.concurrent.Future<Frame> send​(byte[] data,
                                +                                               WriterInfo writerInfo)
                              - +
                              • send

                                -
                                @Deprecated
                                -public void send(byte[] data,
                                -                             SendHandler handler)
                                -
                                Deprecated. 
                                +
                                @Deprecated
                                +public void send​(byte[] data,
                                +                 SendHandler handler)
                                +
                                Deprecated.
                              - + - +
                              • send

                                -
                                @Deprecated
                                -public java.util.concurrent.Future<Frame> send(java.lang.String data)
                                -
                                Deprecated. 
                                +
                                @Deprecated
                                +public java.util.concurrent.Future<Frame> send​(java.lang.String data)
                                +
                                Deprecated.
                              - +
                              • send

                                -
                                public java.util.concurrent.Future<Frame> send(java.lang.String data,
                                -                                               WriterInfo writerInfo)
                                +
                                public java.util.concurrent.Future<Frame> send​(java.lang.String data,
                                +                                               WriterInfo writerInfo)
                              - +
                              • send

                                -
                                @Deprecated
                                -public void send(java.lang.String data,
                                -                             SendHandler handler)
                                -
                                Deprecated. 
                                +
                                @Deprecated
                                +public void send​(java.lang.String data,
                                +                 SendHandler handler)
                                +
                                Deprecated.
                              - +
                              • send

                                -
                                public void send(java.lang.String data,
                                +
                                public void send​(java.lang.String data,
                                                  SendHandler handler,
                                -                 WriterInfo writerInfo)
                                + WriterInfo writerInfo)
                              - +
                              • sendRawFrame

                                -
                                public java.util.concurrent.Future<Frame> sendRawFrame(java.nio.ByteBuffer data)
                                +
                                public java.util.concurrent.Future<Frame> sendRawFrame​(java.nio.ByteBuffer data)
                                Raw frame is always whole (not partial).
                                Parameters:
                                @@ -561,73 +617,73 @@ public void send(java.lang.String data,
                              - +
                              • stream

                                -
                                @Deprecated
                                -public java.util.concurrent.Future<Frame> stream(boolean last,
                                -                                                             byte[] bytes,
                                -                                                             int off,
                                -                                                             int len)
                                -
                                Deprecated. 
                                +
                                @Deprecated
                                +public java.util.concurrent.Future<Frame> stream​(boolean last,
                                +                                                 byte[] bytes,
                                +                                                 int off,
                                +                                                 int len)
                                +
                                Deprecated.
                              - +
                              • stream

                                -
                                public java.util.concurrent.Future<Frame> stream(boolean last,
                                +
                                public java.util.concurrent.Future<Frame> stream​(boolean last,
                                                                                  byte[] bytes,
                                                                                  int off,
                                                                                  int len,
                                -                                                 WriterInfo writerInfo)
                                + WriterInfo writerInfo)
                              - +
                              • stream

                                -
                                @Deprecated
                                -public java.util.concurrent.Future<Frame> stream(boolean last,
                                -                                                             java.lang.String fragment)
                                -
                                Deprecated. 
                                +
                                @Deprecated
                                +public java.util.concurrent.Future<Frame> stream​(boolean last,
                                +                                                 java.lang.String fragment)
                                +
                                Deprecated.
                              - +
                              • stream

                                -
                                public java.util.concurrent.Future<Frame> stream(boolean last,
                                +
                                public java.util.concurrent.Future<Frame> stream​(boolean last,
                                                                                  java.lang.String fragment,
                                -                                                 WriterInfo writerInfo)
                                + WriterInfo writerInfo)
                              - +
                              • close

                                -
                                public java.util.concurrent.Future<Frame> close(int code,
                                +
                                public java.util.concurrent.Future<Frame> close​(int code,
                                                                                 java.lang.String reason)
                              - +
                              • unframe

                                -
                                public Frame unframe(java.nio.ByteBuffer buffer)
                                +
                                public Frame unframe​(java.nio.ByteBuffer buffer)
                                TODO!
                                Parameters:
                                @@ -637,14 +693,14 @@ public java.util.concurrent.Future< +
                                • process

                                  -
                                  public void process(Frame frame,
                                  -                    TyrusWebSocket socket)
                                  +
                                  public void process​(Frame frame,
                                  +                    TyrusWebSocket socket)
                                  TODO.

                                  called after Extension execution. @@ -659,21 +715,25 @@ public java.util.concurrent.Future< +

                                  Copyright © 2012–2022 Oracle Corporation. All rights reserved.

                                  + diff --git a/apidocs/latest1x/org/glassfish/tyrus/core/ReflectionHelper.ClassTypePair.html b/apidocs/latest1x/org/glassfish/tyrus/core/ReflectionHelper.ClassTypePair.html index abac952a..c99918d4 100644 --- a/apidocs/latest1x/org/glassfish/tyrus/core/ReflectionHelper.ClassTypePair.html +++ b/apidocs/latest1x/org/glassfish/tyrus/core/ReflectionHelper.ClassTypePair.html @@ -1,38 +1,52 @@ - + - + +ReflectionHelper.ClassTypePair (Tyrus 1.19 API) -ReflectionHelper.ClassTypePair (Tyrus 1.18 API) - + + + + + + + + +var pathtoroot = "../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
                                  + +
                                  +
                                  -
                                  org.glassfish.tyrus.core
                                  +

                                  Class ReflectionHelper.ClassTypePair

                                  @@ -104,10 +128,9 @@
                                • Enclosing class:
                                  -
                                  ReflectionHelper
                                  +
                                  ReflectionHelper

                                  -
                                  public static class ReflectionHelper.ClassTypePair
                                   extends java.lang.Object
                                  A tuple consisting of a class and type of the class.
                                  @@ -118,61 +141,72 @@ extends java.lang.Object
                                  • +
                                      -
                                    • +
                                    • Field Summary

                                      - +
                                      - + + - + - +
                                      Fields 
                                      Modifier and TypeField and DescriptionFieldDescription
                                      java.lang.Classc +c
                                      The class.
                                      java.lang.reflect.Typet +t
                                      The type of the class.
                                    +
                                    +
                                      -
                                    • +
                                    • Constructor Summary

                                      - +
                                      - + + - + + - + +
                                      Constructors 
                                      Constructor and DescriptionConstructorDescription
                                      ClassTypePair(java.lang.Class c) ClassTypePair​(java.lang.Class c) 
                                      ClassTypePair(java.lang.Class c, - java.lang.reflect.Type t) ClassTypePair​(java.lang.Class c, + java.lang.reflect.Type t) 
                                    +
                                    +
                                      -
                                    • +
                                    • Method Summary

                                        -
                                      • +
                                      • Methods inherited from class java.lang.Object

                                        @@ -180,6 +214,7 @@ extends java.lang.Object
                                    +
                                • @@ -187,12 +222,13 @@ extends java.lang.Object
                                  • +
                                      -
                                    • +
                                    • Field Detail

                                      - +
                                        @@ -202,7 +238,7 @@ extends java.lang.Object
                                        The class.
                                      - +
                                        @@ -214,48 +250,54 @@ extends java.lang.Object
                                    +
                                    +
                                      -
                                    • +
                                    • Constructor Detail

                                      - +
                                      • ClassTypePair

                                        -
                                        public ClassTypePair(java.lang.Class c)
                                        +
                                        public ClassTypePair​(java.lang.Class c)
                                      - +
                                      • ClassTypePair

                                        -
                                        public ClassTypePair(java.lang.Class c,
                                        +
                                        public ClassTypePair​(java.lang.Class c,
                                                              java.lang.reflect.Type t)
                                    +
                        +
                        + diff --git a/apidocs/latest1x/org/glassfish/tyrus/core/ReflectionHelper.DeclaringClassInterfacePair.html b/apidocs/latest1x/org/glassfish/tyrus/core/ReflectionHelper.DeclaringClassInterfacePair.html index 56d95ca4..81416b10 100644 --- a/apidocs/latest1x/org/glassfish/tyrus/core/ReflectionHelper.DeclaringClassInterfacePair.html +++ b/apidocs/latest1x/org/glassfish/tyrus/core/ReflectionHelper.DeclaringClassInterfacePair.html @@ -1,38 +1,52 @@ - + - + +ReflectionHelper.DeclaringClassInterfacePair (Tyrus 1.19 API) -ReflectionHelper.DeclaringClassInterfacePair (Tyrus 1.18 API) - + + + + + + + + +var pathtoroot = "../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
                        + +
                        +
                        -
                        org.glassfish.tyrus.core
                        +

                        Class ReflectionHelper.DeclaringClassInterfacePair

                        @@ -104,10 +128,9 @@
                      • Enclosing class:
                        -
                        ReflectionHelper
                        +
                        ReflectionHelper

                        -
                        public static class ReflectionHelper.DeclaringClassInterfacePair
                         extends java.lang.Object
                        A tuple consisting of a concrete class, declaring class that declares a generic interface type.
                        @@ -118,40 +141,47 @@ extends java.lang.Object
                      • @@ -166,12 +197,13 @@ extends java.lang.Object
                        • +
                            -
                          • +
                          • Field Detail

                            - +
                              @@ -180,7 +212,7 @@ extends java.lang.Object
                              public final java.lang.Class concreteClass
                            - +
                              @@ -189,7 +221,7 @@ extends java.lang.Object
                              public final java.lang.Class declaringClass
                            - +
                              @@ -200,21 +232,25 @@ extends java.lang.Object
                          +
                        +
                        + diff --git a/apidocs/latest1x/org/glassfish/tyrus/core/ReflectionHelper.TypeClassPair.html b/apidocs/latest1x/org/glassfish/tyrus/core/ReflectionHelper.TypeClassPair.html index ca84dd44..c9ffbffa 100644 --- a/apidocs/latest1x/org/glassfish/tyrus/core/ReflectionHelper.TypeClassPair.html +++ b/apidocs/latest1x/org/glassfish/tyrus/core/ReflectionHelper.TypeClassPair.html @@ -1,38 +1,52 @@ - + - + +ReflectionHelper.TypeClassPair (Tyrus 1.19 API) -ReflectionHelper.TypeClassPair (Tyrus 1.18 API) - + + + + + + + + +var pathtoroot = "../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
                        + +
                        +
                        -
                        org.glassfish.tyrus.core
                        +

                        Class ReflectionHelper.TypeClassPair

                        @@ -104,10 +128,9 @@
                      • Enclosing class:
                        -
                        ReflectionHelper
                        +
                        ReflectionHelper

                        -
                        public static final class ReflectionHelper.TypeClassPair
                         extends java.lang.Object
                      • @@ -117,54 +140,64 @@ extends java.lang.Object
                        • +
                            -
                          • +
                          • Field Summary

                            - +
                            - + + - + + - + +
                            Fields 
                            Modifier and TypeField and DescriptionFieldDescription
                            java.lang.Classc c 
                            java.lang.reflect.Typet t 
                          +
                          +
                            -
                          • +
                          • Constructor Summary

                            - +
                            - + + - + +
                            Constructors 
                            Constructor and DescriptionConstructorDescription
                            TypeClassPair(java.lang.reflect.Type t, - java.lang.Class c) TypeClassPair​(java.lang.reflect.Type t, + java.lang.Class c) 
                          +
                          +
                            -
                          • +
                          • Method Summary

                              -
                            • +
                            • Methods inherited from class java.lang.Object

                              @@ -172,6 +205,7 @@ extends java.lang.Object
                          +
                        @@ -179,12 +213,13 @@ extends java.lang.Object
                        • +
                            -
                          • +
                          • Field Detail

                            - +
                              @@ -193,7 +228,7 @@ extends java.lang.Object
                              public final java.lang.reflect.Type t
                            - +
                              @@ -204,39 +239,45 @@ extends java.lang.Object
                          +
                          +
                            -
                          • +
                          • Constructor Detail

                            - +
                            • TypeClassPair

                              -
                              public TypeClassPair(java.lang.reflect.Type t,
                              +
                              public TypeClassPair​(java.lang.reflect.Type t,
                                                    java.lang.Class c)
                          +
                        +
                        + diff --git a/apidocs/latest1x/org/glassfish/tyrus/core/ReflectionHelper.html b/apidocs/latest1x/org/glassfish/tyrus/core/ReflectionHelper.html index ca0b9a19..9f28db7e 100644 --- a/apidocs/latest1x/org/glassfish/tyrus/core/ReflectionHelper.html +++ b/apidocs/latest1x/org/glassfish/tyrus/core/ReflectionHelper.html @@ -1,44 +1,58 @@ - + - + +ReflectionHelper (Tyrus 1.19 API) -ReflectionHelper (Tyrus 1.18 API) - + + + + + + + + +var pathtoroot = "../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
                        + +
                        +
                        -
                        org.glassfish.tyrus.core
                        +

                        Class ReflectionHelper

                        @@ -109,7 +133,6 @@ var activeTableTab = "activeTableTab";
                        @@ -365,12 +427,13 @@ extends java.lang.Object
                        • +
                            -
                          • +
                          • Constructor Detail

                            - +
                              @@ -381,19 +444,21 @@ extends java.lang.Object
                          +
                          +
                            -
                          • +
                          • Method Detail

                            - +
                            • getDeclaringClass

                              -
                              public static java.lang.Class getDeclaringClass(java.lang.reflect.AccessibleObject ao)
                              +
                              public static java.lang.Class getDeclaringClass​(java.lang.reflect.AccessibleObject ao)
                              Get declaring class of provided field, method or constructor.
                              Parameters:
                              @@ -403,13 +468,13 @@ extends java.lang.Object
                            - +
                            • objectToString

                              -
                              public static java.lang.String objectToString(java.lang.Object o)
                              +
                              public static java.lang.String objectToString​(java.lang.Object o)
                              Create a string representation of an object.

                              Returns a string consisting of the name of the class of which the @@ -429,13 +494,13 @@ extends java.lang.Object

                            - +
                            • methodInstanceToString

                              -
                              public static java.lang.String methodInstanceToString(java.lang.Object o,
                              +
                              public static java.lang.String methodInstanceToString​(java.lang.Object o,
                                                                                     java.lang.reflect.Method m)
                              Create a string representation of a method and an instance whose class implements the method. @@ -461,13 +526,13 @@ extends java.lang.Object
                            - +
                            • classForName

                              -
                              public static java.lang.Class classForName(java.lang.String name)
                              +
                              public static java.lang.Class classForName​(java.lang.String name)
                              Get the Class from the class name.

                              The context class loader will be utilized if accessible and non-null. @@ -481,13 +546,13 @@ extends java.lang.Object

                            - +
                            • classForName

                              -
                              public static java.lang.Class classForName(java.lang.String name,
                              +
                              public static java.lang.Class classForName​(java.lang.String name,
                                                                          java.lang.ClassLoader cl)
                              Get the Class from the class name.
                              @@ -500,13 +565,13 @@ extends java.lang.Object
                            - +
                            • classForNameWithException

                              -
                              public static java.lang.Class classForNameWithException(java.lang.String name)
                              +
                              public static java.lang.Class classForNameWithException​(java.lang.String name)
                                                                                throws java.lang.ClassNotFoundException
                              Get the Class from the class name.

                              @@ -523,13 +588,13 @@ extends java.lang.Object

                            - +
                            • classForNameWithException

                              -
                              public static java.lang.Class classForNameWithException(java.lang.String name,
                              +
                              public static java.lang.Class classForNameWithException​(java.lang.String name,
                                                                                       java.lang.ClassLoader cl)
                                                                                throws java.lang.ClassNotFoundException
                              Get the Class from the class name.
                              @@ -545,13 +610,13 @@ extends java.lang.Object
                            - +
                            • classForNameWithExceptionPEA

                              -
                              public static <T> java.security.PrivilegedExceptionAction<java.lang.Class<T>> classForNameWithExceptionPEA(java.lang.String name)
                              +
                              public static <T> java.security.PrivilegedExceptionAction<java.lang.Class<T>> classForNameWithExceptionPEA​(java.lang.String name)
                                                                                                                                   throws java.lang.ClassNotFoundException
                              Get privileged exception action to obtain Class from given class name. If run using security manager, the returned privileged exception action @@ -574,13 +639,13 @@ extends java.lang.Object
                            - +
                            • classForNameWithExceptionPEA

                              -
                              public static <T> java.security.PrivilegedExceptionAction<java.lang.Class<T>> classForNameWithExceptionPEA(java.lang.String name,
                              +
                              public static <T> java.security.PrivilegedExceptionAction<java.lang.Class<T>> classForNameWithExceptionPEA​(java.lang.String name,
                                                                                                                                          java.lang.ClassLoader cl)
                                                                                                                                   throws java.lang.ClassNotFoundException
                              Get privileged exception action to obtain Class from given class name. @@ -604,13 +669,13 @@ extends java.lang.Object
                            - +
                            • getContextClassLoaderPA

                              -
                              public static java.security.PrivilegedAction<java.lang.ClassLoader> getContextClassLoaderPA()
                              +
                              public static java.security.PrivilegedAction<java.lang.ClassLoader> getContextClassLoaderPA()
                              Get privileged action to obtain context class loader. If run using security manager, the returned privileged action must be invoked within a doPrivileged block.
                              @@ -623,13 +688,13 @@ extends java.lang.Object
                            - +
                            • setAccessibleMethod

                              -
                              public static void setAccessibleMethod(java.lang.reflect.Method m)
                              +
                              public static void setAccessibleMethod​(java.lang.reflect.Method m)
                              Set a method to be accessible.
                              Parameters:
                              @@ -637,13 +702,13 @@ extends java.lang.Object
                            - +
                            • getGenericClass

                              -
                              public static java.lang.Class getGenericClass(java.lang.reflect.Type parameterizedType)
                              +
                              public static java.lang.Class getGenericClass​(java.lang.reflect.Type parameterizedType)
                                                                      throws java.lang.IllegalArgumentException
                              Get the class that is the type argument of a parameterized type.
                              @@ -667,13 +732,13 @@ extends java.lang.Object
                            - +
                            • getTypeArgumentAndClass

                              -
                              public static ReflectionHelper.TypeClassPair getTypeArgumentAndClass(java.lang.reflect.Type parameterizedType)
                              +
                              public static ReflectionHelper.TypeClassPair getTypeArgumentAndClass​(java.lang.reflect.Type parameterizedType)
                                                                                             throws java.lang.IllegalArgumentException
                              Throws:
                              @@ -681,13 +746,13 @@ extends java.lang.Object
                            - +
                            • getArrayClass

                              -
                              public static java.lang.Class getArrayClass(java.lang.Class c)
                              +
                              public static java.lang.Class getArrayClass​(java.lang.Class c)
                              Get Array class of component class.
                              Parameters:
                              @@ -697,13 +762,13 @@ extends java.lang.Object
                            - +
                            • getValueOfStringMethod

                              -
                              public static java.lang.reflect.Method getValueOfStringMethod(java.lang.Class c)
                              +
                              public static java.lang.reflect.Method getValueOfStringMethod​(java.lang.Class c)
                              Get the static valueOf(String ) method.
                              Parameters:
                              @@ -713,13 +778,13 @@ extends java.lang.Object
                            - +
                            • getFromStringStringMethod

                              -
                              public static java.lang.reflect.Method getFromStringStringMethod(java.lang.Class c)
                              +
                              public static java.lang.reflect.Method getFromStringStringMethod​(java.lang.Class c)
                              Get the static fromString(String ) method.
                              Parameters:
                              @@ -729,13 +794,13 @@ extends java.lang.Object
                            - +
                            • getStringConstructor

                              -
                              public static java.lang.reflect.Constructor getStringConstructor(java.lang.Class c)
                              +
                              public static java.lang.reflect.Constructor getStringConstructor​(java.lang.Class c)
                              Get the constructor that has a single parameter of String.
                              Parameters:
                              @@ -745,13 +810,13 @@ extends java.lang.Object
                            - + - + - + - +
                            • resolveTypeVariable

                              -
                              public static ReflectionHelper.ClassTypePair resolveTypeVariable(java.lang.Class c,
                              +
                              public static ReflectionHelper.ClassTypePair resolveTypeVariable​(java.lang.Class c,
                                                                                                java.lang.Class dc,
                                                                                                java.lang.reflect.TypeVariable tv)
                              Given a type variable resolve the Java class of that variable.
                              @@ -815,13 +880,13 @@ extends java.lang.Object
                            - +
                            • findMethodOnClass

                              -
                              public static java.lang.reflect.Method findMethodOnClass(java.lang.Class c,
                              +
                              public static java.lang.reflect.Method findMethodOnClass​(java.lang.Class c,
                                                                                        java.lang.reflect.Method m)
                              Find a method on a class given an existing method.

                              @@ -844,13 +909,13 @@ extends java.lang.Object

                            - +
                            • getClassType

                              -
                              public static java.lang.Class<?> getClassType(java.lang.Class<?> inspectedClass,
                              +
                              public static java.lang.Class<?> getClassType​(java.lang.Class<?> inspectedClass,
                                                                             java.lang.Class<?> superClass)
                              Find a type of the class given it's Superclass.
                              @@ -862,48 +927,48 @@ extends java.lang.Object
                            - +
                            • getOsgiRegistryInstance

                              -
                              public static OsgiRegistry getOsgiRegistryInstance()
                              -
                              Returns an OsgiRegistry instance.
                              +
                              public static OsgiRegistry getOsgiRegistryInstance()
                              +
                              Returns an OsgiRegistry instance.
                              Returns:
                              -
                              an OsgiRegistry instance or null if the class cannot be instantiated (not in OSGi +
                              an OsgiRegistry instance or null if the class cannot be instantiated (not in OSGi environment).
                            - +
                            • getInstance

                              -
                              public static <T> T getInstance(java.lang.Class<T> c,
                              -                                ErrorCollector collector)
                              -
                              Creates an instance of Class c using Class.newInstance(). Exceptions are logged to ErrorCollector.
                              +
                              public static <T> T getInstance​(java.lang.Class<T> c,
                              +                                ErrorCollector collector)
                              +
                              Creates an instance of Class c using Class.newInstance(). Exceptions are logged to ErrorCollector.
                              Type Parameters:
                              T - type.
                              Parameters:
                              c - Class whose instance is going to be created
                              -
                              collector - ErrorCollector which collects the Exceptions.
                              +
                              collector - ErrorCollector which collects the Exceptions.
                              Returns:
                              new instance of Class.
                            - +
                            • getInstance

                              -
                              public static <T> T getInstance(java.lang.Class<T> c)
                              +
                              public static <T> T getInstance​(java.lang.Class<T> c)
                                                        throws java.lang.IllegalAccessException,
                                                               java.lang.InstantiationException
                              Creates an instance of Class c using Class.newInstance().
                              @@ -926,21 +991,25 @@ extends java.lang.Object
                          +
                        +
                        + diff --git a/apidocs/latest1x/org/glassfish/tyrus/core/RequestContext.Builder.IsUserInRoleDelegate.html b/apidocs/latest1x/org/glassfish/tyrus/core/RequestContext.Builder.IsUserInRoleDelegate.html index b6cb349d..2fab7222 100644 --- a/apidocs/latest1x/org/glassfish/tyrus/core/RequestContext.Builder.IsUserInRoleDelegate.html +++ b/apidocs/latest1x/org/glassfish/tyrus/core/RequestContext.Builder.IsUserInRoleDelegate.html @@ -1,44 +1,58 @@ - + - + +RequestContext.Builder.IsUserInRoleDelegate (Tyrus 1.19 API) -RequestContext.Builder.IsUserInRoleDelegate (Tyrus 1.18 API) - + + + + + + + + +var pathtoroot = "../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
                        + +
                        +
                        -
                        org.glassfish.tyrus.core
                        +

                        Interface RequestContext.Builder.IsUserInRoleDelegate

                        @@ -102,10 +126,9 @@ var activeTableTab = "activeTableTab";
                      • Enclosing class:
                        -
                        RequestContext.Builder
                        +
                        RequestContext.Builder

                        -
                        public static interface RequestContext.Builder.IsUserInRoleDelegate
                        Is user in role delegate.

                        @@ -118,26 +141,30 @@ var activeTableTab = "activeTableTab";

                        • +
                            -
                          • +
                          • Method Summary

                            - +
                            - + + - +
                            All Methods Instance Methods Abstract Methods 
                            Modifier and TypeMethod and DescriptionMethodDescription
                            booleanisUserInRole(java.lang.String role) +isUserInRole​(java.lang.String role)
                            Returns a boolean indicating whether the authenticated user is included in the specified logical "role".
                          +
                        @@ -145,18 +172,19 @@ var activeTableTab = "activeTableTab";
                        • +
                            -
                          • +
                          • Method Detail

                            - +
                            • isUserInRole

                              -
                              boolean isUserInRole(java.lang.String role)
                              +
                              boolean isUserInRole​(java.lang.String role)
                              Returns a boolean indicating whether the authenticated user is included in the specified logical "role". Roles and role membership can be defined using deployment descriptors. If the user has not been authenticated, the method returns false.
                              @@ -171,21 +199,25 @@ var activeTableTab = "activeTableTab";
                          +
                      • +
                        + diff --git a/apidocs/latest1x/org/glassfish/tyrus/core/RequestContext.Builder.html b/apidocs/latest1x/org/glassfish/tyrus/core/RequestContext.Builder.html index bace2427..d2bfd1ac 100644 --- a/apidocs/latest1x/org/glassfish/tyrus/core/RequestContext.Builder.html +++ b/apidocs/latest1x/org/glassfish/tyrus/core/RequestContext.Builder.html @@ -1,44 +1,58 @@ - + - + +RequestContext.Builder (Tyrus 1.19 API) -RequestContext.Builder (Tyrus 1.18 API) - + + + + + + + + +var pathtoroot = "../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
                        + +
                        +
                        -
                        org.glassfish.tyrus.core
                        +

                        Class RequestContext.Builder

                        @@ -110,13 +134,12 @@ var activeTableTab = "activeTableTab";
                      • Enclosing class:
                        -
                        RequestContext
                        +
                        RequestContext

                        -
                        public static final class RequestContext.Builder
                         extends java.lang.Object
                        - +
                      • @@ -124,124 +147,145 @@ extends java.lang.Object @@ -256,12 +301,13 @@ extends java.lang.Object +
                        + diff --git a/apidocs/latest1x/org/glassfish/tyrus/core/RequestContext.html b/apidocs/latest1x/org/glassfish/tyrus/core/RequestContext.html index 46cd02ba..88a5efdb 100644 --- a/apidocs/latest1x/org/glassfish/tyrus/core/RequestContext.html +++ b/apidocs/latest1x/org/glassfish/tyrus/core/RequestContext.html @@ -1,44 +1,58 @@ - + - + +RequestContext (Tyrus 1.19 API) -RequestContext (Tyrus 1.18 API) - + + + + + + + + +var pathtoroot = "../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
                        + +
                        +
                        -
                        org.glassfish.tyrus.core
                        +

                        Class RequestContext

                        @@ -101,7 +125,7 @@ var activeTableTab = "activeTableTab";
                      • java.lang.Object
                      • @@ -281,18 +325,19 @@ extends
                      • +
                          -
                        • +
                        • Method Detail

                          - +
                          • getHeaders

                            -
                            public java.util.Map<java.lang.String,java.util.List<java.lang.String>> getHeaders()
                            +
                            public java.util.Map<java.lang.String,​java.util.List<java.lang.String>> getHeaders()
                            Get headers.
                            Returns:
                            @@ -300,17 +345,17 @@ extends
                          - +
                          • getHeader

                            -
                            public java.lang.String getHeader(java.lang.String name)
                            +
                            public java.lang.String getHeader​(java.lang.String name)
                            Returns the header value corresponding to the name.
                            Specified by:
                            -
                            getHeader in class UpgradeRequest
                            +
                            getHeader in class UpgradeRequest
                            Parameters:
                            name - header name.
                            Returns:
                            @@ -318,24 +363,24 @@ extends
                          - +
                          • lock

                            -
                            public void lock()
                            +
                            public void lock()
                            Make headers and parameter map read-only.
                          - +
                          • getUserPrincipal

                            -
                            public java.security.Principal getUserPrincipal()
                            -
                            Description copied from interface: HandshakeRequest
                            +
                            public java.security.Principal getUserPrincipal()
                            +
                            Description copied from interface: HandshakeRequest
                            Return the authenticated user or null if no user is authenticated for this handshake.
                            @@ -344,14 +389,14 @@ extends
                          - +
                          • getRequestURI

                            -
                            public java.net.URI getRequestURI()
                            -
                            Description copied from interface: HandshakeRequest
                            +
                            public java.net.URI getRequestURI()
                            +
                            Description copied from interface: HandshakeRequest
                            Return the request URI of the handshake request.
                            Returns:
                            @@ -359,14 +404,14 @@ extends
                          - +
                          • isUserInRole

                            -
                            public boolean isUserInRole(java.lang.String role)
                            -
                            Description copied from interface: HandshakeRequest
                            +
                            public boolean isUserInRole​(java.lang.String role)
                            +
                            Description copied from interface: HandshakeRequest
                            Checks whether the current user is in the given role. Roles and role membership can be defined using deployment descriptors of the containing WAR file, if running in a Java EE web container. If the user has @@ -380,14 +425,14 @@ extends
                          - +
                          • getHttpSession

                            -
                            public java.lang.Object getHttpSession()
                            -
                            Description copied from interface: HandshakeRequest
                            +
                            public java.lang.Object getHttpSession()
                            +
                            Description copied from interface: HandshakeRequest
                            Return a reference to the HttpSession that the web socket handshake that started this conversation was part of, if the implementation is part of a Java EE web container.
                            @@ -399,14 +444,14 @@ extends
                          - +
                          • getParameterMap

                            -
                            public java.util.Map<java.lang.String,java.util.List<java.lang.String>> getParameterMap()
                            -
                            Description copied from interface: HandshakeRequest
                            +
                            public java.util.Map<java.lang.String,​java.util.List<java.lang.String>> getParameterMap()
                            +
                            Description copied from interface: HandshakeRequest
                            Return the request parameters associated with the request.
                            Returns:
                            @@ -414,14 +459,14 @@ extends
                          - +
                          • getQueryString

                            -
                            public java.lang.String getQueryString()
                            -
                            Description copied from interface: HandshakeRequest
                            +
                            public java.lang.String getQueryString()
                            +
                            Description copied from interface: HandshakeRequest
                            Return the query string associated with the request.
                            Returns:
                            @@ -429,50 +474,50 @@ extends
                          - + - +
                          • isSecure

                            -
                            public boolean isSecure()
                            -
                            Description copied from class: UpgradeRequest
                            +
                            public boolean isSecure()
                            +
                            Description copied from class: UpgradeRequest
                            Indicates whether this request was made using a secure channel (such as HTTPS).
                            Specified by:
                            -
                            isSecure in class UpgradeRequest
                            +
                            isSecure in class UpgradeRequest
                            Returns:
                            true if the request was made using secure channel, false otherwise.
                          - +
                          • getRemoteAddr

                            -
                            public java.lang.String getRemoteAddr()
                            +
                            public java.lang.String getRemoteAddr()
                            Get the Internet Protocol (IP) address of the client or last proxy that sent the request.
                            Returns:
                            @@ -483,21 +528,25 @@ extends
                          +
                      • +
                        + diff --git a/apidocs/latest1x/org/glassfish/tyrus/core/ServiceConfigurationError.html b/apidocs/latest1x/org/glassfish/tyrus/core/ServiceConfigurationError.html index 936b6eae..eccea14f 100644 --- a/apidocs/latest1x/org/glassfish/tyrus/core/ServiceConfigurationError.html +++ b/apidocs/latest1x/org/glassfish/tyrus/core/ServiceConfigurationError.html @@ -1,38 +1,52 @@ - + - + +ServiceConfigurationError (Tyrus 1.19 API) -ServiceConfigurationError (Tyrus 1.18 API) - + + + + + + + + +var pathtoroot = "../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
                        + +
                        +
                        -
                        org.glassfish.tyrus.core
                        +

                        Class ServiceConfigurationError

                        @@ -114,10 +138,9 @@
                      • All Implemented Interfaces:
                        -
                        java.io.Serializable
                        +
                        java.io.Serializable

                        -
                        public class ServiceConfigurationError
                         extends java.lang.Error
                        Taken from Jersey 2. Error thrown when something goes wrong while looking up service providers. @@ -141,44 +164,50 @@ extends java.lang.Error
                        • +
                          +
                          +
                            -
                          • +
                          • Method Summary

                              -
                            • +
                            • Methods inherited from class java.lang.Throwable

                              addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
                              -
                            • +
                            • Methods inherited from class java.lang.Object

                              @@ -186,6 +215,7 @@ extends java.lang.Error
                          +
                        @@ -193,18 +223,19 @@ extends java.lang.Error
                        • +
                            -
                          • +
                          • Constructor Detail

                            - +
                            • ServiceConfigurationError

                              -
                              public ServiceConfigurationError(java.lang.String msg)
                              +
                              public ServiceConfigurationError​(java.lang.String msg)
                              Constructs a new instance with the specified detail string.
                              Parameters:
                              @@ -212,13 +243,13 @@ extends java.lang.Error
                            - +
                            • ServiceConfigurationError

                              -
                              public ServiceConfigurationError(java.lang.Throwable x)
                              +
                              public ServiceConfigurationError​(java.lang.Throwable x)
                              Constructs a new instance that wraps the specified throwable.
                              Parameters:
                              @@ -228,21 +259,25 @@ extends java.lang.Error
                          +
                      • +
                        + diff --git a/apidocs/latest1x/org/glassfish/tyrus/core/ServiceFinder.DefaultServiceIteratorProvider.html b/apidocs/latest1x/org/glassfish/tyrus/core/ServiceFinder.DefaultServiceIteratorProvider.html index 941d74b0..6e7e0c48 100644 --- a/apidocs/latest1x/org/glassfish/tyrus/core/ServiceFinder.DefaultServiceIteratorProvider.html +++ b/apidocs/latest1x/org/glassfish/tyrus/core/ServiceFinder.DefaultServiceIteratorProvider.html @@ -1,44 +1,58 @@ - + - + +ServiceFinder.DefaultServiceIteratorProvider (Tyrus 1.19 API) -ServiceFinder.DefaultServiceIteratorProvider (Tyrus 1.18 API) - + + + + + + + + +var pathtoroot = "../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
                        + +
                        +
                        -
                        org.glassfish.tyrus.core
                        +

                        Class ServiceFinder.DefaultServiceIteratorProvider

                        @@ -101,7 +125,7 @@ var activeTableTab = "activeTableTab";
                      • java.lang.Object
                      • @@ -133,55 +156,63 @@ extends java.lang.Object
                        • +
                          +
                          +
                            -
                          • +
                          • Method Summary

                            - +
                            - + + - + - +
                            All Methods Instance Methods Abstract Methods 
                            Modifier and TypeMethod and DescriptionMethodDescription
                            abstract <T> java.util.Iterator<java.lang.Class<T>>createClassIterator(java.lang.Class<T> service, +createClassIterator​(java.lang.Class<T> service, java.lang.String serviceName, java.lang.ClassLoader loader, - boolean ignoreOnClassNotFound) + boolean ignoreOnClassNotFound)
                            Iterate over provider classes of a service.
                            abstract <T> java.util.Iterator<T>createIterator(java.lang.Class<T> service, +createIterator​(java.lang.Class<T> service, java.lang.String serviceName, java.lang.ClassLoader loader, - boolean ignoreOnClassNotFound) + boolean ignoreOnClassNotFound)
                            Iterate over provider instances of a service.
                              -
                            • +
                            • Methods inherited from class java.lang.Object

                              @@ -189,6 +220,7 @@ extends java.lang.Object
                          +
                        @@ -196,12 +228,13 @@ extends java.lang.Object
                        • +
                            -
                          • +
                          • Constructor Detail

                            - +
                              @@ -212,19 +245,21 @@ extends java.lang.Object
                          +
                          +
                            -
                          • +
                          • Method Detail

                            - +
                            • createIterator

                              -
                              public abstract <T> java.util.Iterator<T> createIterator(java.lang.Class<T> service,
                              +
                              public abstract <T> java.util.Iterator<T> createIterator​(java.lang.Class<T> service,
                                                                                        java.lang.String serviceName,
                                                                                        java.lang.ClassLoader loader,
                                                                                        boolean ignoreOnClassNotFound)
                              @@ -245,13 +280,13 @@ extends java.lang.Object
                            - +
                            • createClassIterator

                              -
                              public abstract <T> java.util.Iterator<java.lang.Class<T>> createClassIterator(java.lang.Class<T> service,
                              +
                              public abstract <T> java.util.Iterator<java.lang.Class<T>> createClassIterator​(java.lang.Class<T> service,
                                                                                                              java.lang.String serviceName,
                                                                                                              java.lang.ClassLoader loader,
                                                                                                              boolean ignoreOnClassNotFound)
                              @@ -274,21 +309,25 @@ extends java.lang.Object
                          +
                        +
                        + diff --git a/apidocs/latest1x/org/glassfish/tyrus/core/ServiceFinder.html b/apidocs/latest1x/org/glassfish/tyrus/core/ServiceFinder.html index 9349e0b6..9b3d478a 100644 --- a/apidocs/latest1x/org/glassfish/tyrus/core/ServiceFinder.html +++ b/apidocs/latest1x/org/glassfish/tyrus/core/ServiceFinder.html @@ -1,44 +1,58 @@ - + - + +ServiceFinder (Tyrus 1.19 API) -ServiceFinder (Tyrus 1.18 API) - + + + + + + + + +var pathtoroot = "../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
                        + +
                        +
                        -
                        org.glassfish.tyrus.core
                        +

                        Class ServiceFinder<T>

                        @@ -114,10 +138,9 @@ var activeTableTab = "activeTableTab";
                        All Implemented Interfaces:
                        -
                        java.lang.Iterable<T>
                        +
                        java.lang.Iterable<T>

                        -
                        public final class ServiceFinder<T>
                         extends java.lang.Object
                         implements java.lang.Iterable<T>
                        @@ -213,119 +236,135 @@ implements java.lang.Iterable<T>
                        • +
                          +
                          +
                            -
                          • +
                          • Method Summary

                            - +
                            - + + - - + + - - + + - - + + - - + + - - + + - - + + - + - - + + - - + +
                            All Methods Static Methods Instance Methods Concrete Methods 
                            Modifier and TypeMethod and DescriptionMethodDescription
                            static <T> ServiceFinder<T>find(java.lang.Class<T> service) +static <T> ServiceFinder<T>find​(java.lang.Class<T> service)
                            Locates and incrementally instantiates the available providers of a given service using the context class loader.
                            static <T> ServiceFinder<T>find(java.lang.Class<T> service, - boolean ignoreOnClassNotFound) +static <T> ServiceFinder<T>find​(java.lang.Class<T> service, + boolean ignoreOnClassNotFound)
                            Locates and incrementally instantiates the available providers of a given service using the context class loader.
                            static <T> ServiceFinder<T>find(java.lang.Class<T> service, - java.lang.ClassLoader loader) +static <T> ServiceFinder<T>find​(java.lang.Class<T> service, + java.lang.ClassLoader loader)
                            Locates and incrementally instantiates the available providers of a given service using the given class loader.
                            static <T> ServiceFinder<T>find(java.lang.Class<T> service, +static <T> ServiceFinder<T>find​(java.lang.Class<T> service, java.lang.ClassLoader loader, - boolean ignoreOnClassNotFound) + boolean ignoreOnClassNotFound)
                            Locates and incrementally instantiates the available providers of a given service using the given class loader.
                            static ServiceFinder<?>find(java.lang.String serviceName) +static ServiceFinder<?>find​(java.lang.String serviceName)
                            Locates and incrementally instantiates the available classes of a given service file using the context class loader.
                            java.util.Iterator<T>iterator() +java.util.Iterator<T>iterator()
                            Returns discovered objects incrementally.
                            static voidsetIteratorProvider(ServiceFinder.ServiceIteratorProvider sip) +setIteratorProvider​(ServiceFinder.ServiceIteratorProvider sip)
                            Register the service iterator provider to iterate on provider instances or classes.
                            T[]toArray() +T[]toArray()
                            Returns discovered objects all at once.
                            java.lang.Class<T>[]toClassArray() +java.lang.Class<T>[]toClassArray()
                            Returns discovered classes all at once.
                              -
                            • +
                            • Methods inherited from class java.lang.Object

                              clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
                              -
                            • +
                            • Methods inherited from interface java.lang.Iterable

                              @@ -333,6 +372,7 @@ implements java.lang.Iterable<T>
                          +
                        @@ -340,20 +380,21 @@ implements java.lang.Iterable<T>
                        • +
                          +
                        +
                        + diff --git a/apidocs/latest1x/org/glassfish/tyrus/core/StrictUtf8.Parser.html b/apidocs/latest1x/org/glassfish/tyrus/core/StrictUtf8.Parser.html index ca2c6dfb..3fb715e9 100644 --- a/apidocs/latest1x/org/glassfish/tyrus/core/StrictUtf8.Parser.html +++ b/apidocs/latest1x/org/glassfish/tyrus/core/StrictUtf8.Parser.html @@ -1,44 +1,58 @@ - + - + +StrictUtf8.Parser (Tyrus 1.19 API) -StrictUtf8.Parser (Tyrus 1.18 API) - + + + + + + + + +var pathtoroot = "../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
                        + +
                        +
                        -
                        org.glassfish.tyrus.core
                        +

                        Class StrictUtf8.Parser

                        @@ -110,10 +134,9 @@ var activeTableTab = "activeTableTab";
                      • Enclosing class:
                        -
                        StrictUtf8
                        +
                        StrictUtf8

                        -
                        public static class StrictUtf8.Parser
                         extends java.lang.Object
                        Surrogate parsing support. Charset implementations may use instances of this class to handle the details of @@ -125,59 +148,68 @@ extends java.lang.Object
                        • +
                            -
                          • +
                          • Constructor Summary

                            - +
                            - + + - + +
                            Constructors 
                            Constructor and DescriptionConstructorDescription
                            Parser() Parser() 
                          +
                          +
                            -
                          • +
                          • Method Summary

                            - +
                            - + + - + - + - +
                            All Methods Instance Methods Concrete Methods 
                            Modifier and TypeMethod and DescriptionMethodDescription
                            java.nio.charset.CoderResulterror() +error()
                            If the previous parse operation detected an error, return the object describing that error.
                            intparse(char c, +parse​(char c, char[] ia, int ip, - int il) + int il)
                            Parses a UCS-4 character from the given source buffer, handling surrogates.
                            intparse(char c, - java.nio.CharBuffer in) +parse​(char c, + java.nio.CharBuffer in)
                            Parses a UCS-4 character from the given source buffer, handling surrogates.
                              -
                            • +
                            • Methods inherited from class java.lang.Object

                              @@ -185,6 +217,7 @@ extends java.lang.Object
                          +
                        @@ -192,12 +225,13 @@ extends java.lang.Object
                        • +
                            -
                          • +
                          • Constructor Detail

                            - +
                              @@ -208,19 +242,21 @@ extends java.lang.Object
                          +
                          +
                            -
                          • +
                          • Method Detail

                            - +
                            • error

                              -
                              public java.nio.charset.CoderResult error()
                              +
                              public java.nio.charset.CoderResult error()
                              If the previous parse operation detected an error, return the object describing that error.
                              Returns:
                              @@ -228,13 +264,13 @@ extends java.lang.Object
                            - +
                            • parse

                              -
                              public int parse(char c,
                              +
                              public int parse​(char c,
                                                java.nio.CharBuffer in)
                              Parses a UCS-4 character from the given source buffer, handling surrogates.
                              @@ -247,13 +283,13 @@ extends java.lang.Object
                            - +
                            • parse

                              -
                              public int parse(char c,
                              +
                              public int parse​(char c,
                                                char[] ia,
                                                int ip,
                                                int il)
                              @@ -272,21 +308,25 @@ extends java.lang.Object
                          +
                      • +
                        + diff --git a/apidocs/latest1x/org/glassfish/tyrus/core/StrictUtf8.html b/apidocs/latest1x/org/glassfish/tyrus/core/StrictUtf8.html index 03b161d1..87e37a58 100644 --- a/apidocs/latest1x/org/glassfish/tyrus/core/StrictUtf8.html +++ b/apidocs/latest1x/org/glassfish/tyrus/core/StrictUtf8.html @@ -1,44 +1,58 @@ - + - + +StrictUtf8 (Tyrus 1.19 API) -StrictUtf8 (Tyrus 1.18 API) - + + + + + + + + +var pathtoroot = "../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
                        + +
                        +
                        -
                        org.glassfish.tyrus.core
                        +

                        Class StrictUtf8

                        @@ -115,10 +139,9 @@ var activeTableTab = "activeTableTab";
                      • All Implemented Interfaces:
                        -
                        java.lang.Comparable<java.nio.charset.Charset>
                        +
                        java.lang.Comparable<java.nio.charset.Charset>

                        -
                        public class StrictUtf8
                         extends java.nio.charset.Charset
                      • @@ -128,77 +151,90 @@ extends java.nio.charset.Charset
                        • +
                            -
                          • +
                          • Nested Class Summary

                            - +
                            - + + - +
                            Nested Classes 
                            Modifier and TypeClass and DescriptionClassDescription
                            static class StrictUtf8.Parser +StrictUtf8.Parser
                            Surrogate parsing support.
                          +
                          +
                            -
                          • +
                          • Constructor Summary

                            - +
                            - + + - + +
                            Constructors 
                            Constructor and DescriptionConstructorDescription
                            StrictUtf8() StrictUtf8() 
                          +
                          +
                            -
                          • +
                          • Method Summary

                            - +
                            - + + - + + - + + - + +
                            All Methods Instance Methods Concrete Methods 
                            Modifier and TypeMethod and DescriptionMethodDescription
                            booleancontains(java.nio.charset.Charset cs) contains​(java.nio.charset.Charset cs) 
                            java.nio.charset.CharsetDecodernewDecoder() newDecoder() 
                            java.nio.charset.CharsetEncodernewEncoder() newEncoder() 
                              -
                            • +
                            • Methods inherited from class java.nio.charset.Charset

                              aliases, availableCharsets, canEncode, compareTo, decode, defaultCharset, displayName, displayName, encode, encode, equals, forName, hashCode, isRegistered, isSupported, name, toString
                              -
                            • +
                            • Methods inherited from class java.lang.Object

                              @@ -206,6 +242,7 @@ extends java.nio.charset.Charset
                          +
                        @@ -213,12 +250,13 @@ extends java.nio.charset.Charset
                        • +
                            -
                          • +
                          • Constructor Detail

                            - +
                              @@ -229,45 +267,47 @@ extends java.nio.charset.Charset
                          +
                          +
                            -
                          • +
                          • Method Detail

                            - +
                            • newDecoder

                              -
                              public java.nio.charset.CharsetDecoder newDecoder()
                              +
                              public java.nio.charset.CharsetDecoder newDecoder()
                              Specified by:
                              newDecoder in class java.nio.charset.Charset
                            - +
                            • newEncoder

                              -
                              public java.nio.charset.CharsetEncoder newEncoder()
                              +
                              public java.nio.charset.CharsetEncoder newEncoder()
                              Specified by:
                              newEncoder in class java.nio.charset.Charset
                            - +
                            • contains

                              -
                              public boolean contains(java.nio.charset.Charset cs)
                              +
                              public boolean contains​(java.nio.charset.Charset cs)
                              Specified by:
                              contains in class java.nio.charset.Charset
                              @@ -276,21 +316,25 @@ extends java.nio.charset.Charset
                          +
                        +
                        + diff --git a/apidocs/latest1x/org/glassfish/tyrus/core/TyrusEndpointWrapper.SessionListener.OnOpenResult.html b/apidocs/latest1x/org/glassfish/tyrus/core/TyrusEndpointWrapper.SessionListener.OnOpenResult.html index fbffdb67..772dfb2e 100644 --- a/apidocs/latest1x/org/glassfish/tyrus/core/TyrusEndpointWrapper.SessionListener.OnOpenResult.html +++ b/apidocs/latest1x/org/glassfish/tyrus/core/TyrusEndpointWrapper.SessionListener.OnOpenResult.html @@ -1,44 +1,58 @@ - + - + +TyrusEndpointWrapper.SessionListener.OnOpenResult (Tyrus 1.19 API) -TyrusEndpointWrapper.SessionListener.OnOpenResult (Tyrus 1.18 API) - + + + + + + + + +var pathtoroot = "../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
                        + +
                        +
                        -
                        org.glassfish.tyrus.core
                        +

                        Enum TyrusEndpointWrapper.SessionListener.OnOpenResult

                        @@ -101,7 +125,7 @@ var activeTableTab = "activeTableTab";
                      • java.lang.Object
                      • @@ -133,69 +156,79 @@ extends java.lang.Enum<
                      • +
                        +
                        +
                        +
                      • @@ -210,58 +244,61 @@ the order they are declared. +
                        + diff --git a/apidocs/latest1x/org/glassfish/tyrus/core/TyrusEndpointWrapper.SessionListener.html b/apidocs/latest1x/org/glassfish/tyrus/core/TyrusEndpointWrapper.SessionListener.html index fd9c2dda..b55fc6d9 100644 --- a/apidocs/latest1x/org/glassfish/tyrus/core/TyrusEndpointWrapper.SessionListener.html +++ b/apidocs/latest1x/org/glassfish/tyrus/core/TyrusEndpointWrapper.SessionListener.html @@ -1,44 +1,58 @@ - + - + +TyrusEndpointWrapper.SessionListener (Tyrus 1.19 API) -TyrusEndpointWrapper.SessionListener (Tyrus 1.18 API) - + + + + + + + + +var pathtoroot = "../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
                        + +
                        +
                        -
                        org.glassfish.tyrus.core
                        +

                        Class TyrusEndpointWrapper.SessionListener

                        @@ -110,15 +134,14 @@ var activeTableTab = "activeTableTab";
                      • Enclosing class:
                        -
                        TyrusEndpointWrapper
                        +
                        TyrusEndpointWrapper

                        -
                        public abstract static class TyrusEndpointWrapper.SessionListener
                         extends java.lang.Object
                        Session listener.

                        - TODO: rename/consolidate with EndpointEventListener?

                        + TODO: rename/consolidate with EndpointEventListener?
                      • @@ -126,73 +149,85 @@ extends java.lang.Object @@ -207,12 +243,13 @@ extends java.lang.Object +
                        + diff --git a/apidocs/latest1x/org/glassfish/tyrus/core/TyrusEndpointWrapper.html b/apidocs/latest1x/org/glassfish/tyrus/core/TyrusEndpointWrapper.html index e5c66886..73730572 100644 --- a/apidocs/latest1x/org/glassfish/tyrus/core/TyrusEndpointWrapper.html +++ b/apidocs/latest1x/org/glassfish/tyrus/core/TyrusEndpointWrapper.html @@ -1,44 +1,58 @@ - + - + +TyrusEndpointWrapper (Tyrus 1.19 API) -TyrusEndpointWrapper (Tyrus 1.18 API) - + + + + + + + + +var pathtoroot = "../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
                        + +
                        +
                        -
                        org.glassfish.tyrus.core
                        +

                        Class TyrusEndpointWrapper

                        @@ -109,15 +133,14 @@ var activeTableTab = "activeTableTab";

                        • -
                          public class TyrusEndpointWrapper
                           extends java.lang.Object
                          Wraps the registered application class.

                          - There is one TyrusEndpointWrapper for each application class, which handles all the methods.

                          + There is one TyrusEndpointWrapper for each application class, which handles all the methods.
                        Author:
                        -
                        Danny Coward (danny.coward at oracle.com), Stepan Kopriva (stepan.kopriva at oracle.com), Martin Matula (martin.matula at oracle.com), Pavel Bucek (pavel.bucek at oracle.com)
                        +
                        Danny Coward, Stepan Kopriva, Martin Matula, Pavel Bucek
                        @@ -126,113 +149,129 @@ extends java.lang.Object @@ -247,29 +287,30 @@ extends java.lang.Object +
                        + diff --git a/apidocs/latest1x/org/glassfish/tyrus/core/TyrusExtension.TyrusParameter.html b/apidocs/latest1x/org/glassfish/tyrus/core/TyrusExtension.TyrusParameter.html index f6f39228..1aaa946d 100644 --- a/apidocs/latest1x/org/glassfish/tyrus/core/TyrusExtension.TyrusParameter.html +++ b/apidocs/latest1x/org/glassfish/tyrus/core/TyrusExtension.TyrusParameter.html @@ -1,44 +1,58 @@ - + - + +TyrusExtension.TyrusParameter (Tyrus 1.19 API) -TyrusExtension.TyrusParameter (Tyrus 1.18 API) - + + + + + + + + +var pathtoroot = "../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
                        + +
                        +
                        -
                        org.glassfish.tyrus.core
                        +

                        Class TyrusExtension.TyrusParameter

                        @@ -110,18 +134,17 @@ var activeTableTab = "activeTableTab";
                      • All Implemented Interfaces:
                        -
                        java.io.Serializable, Extension.Parameter
                        +
                        java.io.Serializable, Extension.Parameter
                        Enclosing class:
                        -
                        TyrusExtension
                        +
                        TyrusExtension

                        -
                        public static class TyrusExtension.TyrusParameter
                         extends java.lang.Object
                         implements Extension.Parameter, java.io.Serializable
                        -
                        WebSocket Parameter implementation.
                        +
                        WebSocket Extension.Parameter implementation.
                        See Also:
                        Serialized Form
                        @@ -133,56 +156,65 @@ implements
                      • +
                          -
                        • +
                        • Constructor Summary

                          - +
                          - + + - +
                          Constructors 
                          Constructor and DescriptionConstructorDescription
                          TyrusParameter(java.lang.String name, - java.lang.String value) -
                          Create Parameter with name and value.
                          +
                          TyrusParameter​(java.lang.String name, + java.lang.String value) +
                          Create Extension.Parameter with name and value.
                        +
                        +
                          -
                        • +
                        • Method Summary

                          - +
                          - + + - + - + - + +
                          All Methods Instance Methods Concrete Methods 
                          Modifier and TypeMethod and DescriptionMethodDescription
                          java.lang.StringgetName() +getName()
                          Return the name of the extension parameter.
                          java.lang.StringgetValue() +getValue()
                          Return the value of the extension parameter.
                          java.lang.StringtoString() toString() 
                            -
                          • +
                          • Methods inherited from class java.lang.Object

                            @@ -190,6 +222,7 @@ implements
                          +
                      • @@ -197,20 +230,21 @@ implements
                      • +
                          -
                        • +
                        • Constructor Detail

                          - +
                          • TyrusParameter

                            -
                            public TyrusParameter(java.lang.String name,
                            +
                            public TyrusParameter​(java.lang.String name,
                                                   java.lang.String value)
                            -
                            Create Parameter with name and value.
                            +
                            Create Extension.Parameter with name and value.
                            Parameters:
                            name - parameter name.
                            @@ -220,53 +254,55 @@ implements
                          +
                        +
                      • +
                        + diff --git a/apidocs/latest1x/org/glassfish/tyrus/core/TyrusExtension.html b/apidocs/latest1x/org/glassfish/tyrus/core/TyrusExtension.html index 301fc815..aab3f946 100644 --- a/apidocs/latest1x/org/glassfish/tyrus/core/TyrusExtension.html +++ b/apidocs/latest1x/org/glassfish/tyrus/core/TyrusExtension.html @@ -1,44 +1,58 @@ - + - + +TyrusExtension (Tyrus 1.19 API) -TyrusExtension (Tyrus 1.18 API) - + + + + + + + + +var pathtoroot = "../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
                        + +
                        +
                        -
                        org.glassfish.tyrus.core
                        +

                        Class TyrusExtension

                        @@ -110,10 +134,9 @@ var activeTableTab = "activeTableTab";
                      • All Implemented Interfaces:
                        -
                        java.io.Serializable, Extension
                        +
                        java.io.Serializable, Extension

                        -
                        public class TyrusExtension
                         extends java.lang.Object
                         implements Extension, java.io.Serializable
                        @@ -131,26 +154,29 @@ implements
                      • +
                        +
                          -
                        • +
                        • Method Summary

                          - +
                          - + + - + + - + - + - + - + - + + - + +
                          All Methods Static Methods Instance Methods Concrete Methods 
                          Modifier and TypeMethod and DescriptionMethodDescription
                          booleanequals(java.lang.Object o) equals​(java.lang.Object o) 
                          static java.util.List<Extension>fromHeaders(java.util.List<java.lang.String> extensionHeaders) +fromHeaders​(java.util.List<java.lang.String> extensionHeaders)
                          Parse Extension from headers (represented as List of strings).
                          static java.util.List<Extension>fromString(java.util.List<java.lang.String> s) +fromString​(java.util.List<java.lang.String> s)
                          Parsing of one Extension.
                          java.lang.StringgetName() +getName()
                          The name of the extension.
                          java.util.List<Extension.Parameter>getParameters() +getParameters()
                          The extension parameters for this extension in the order they appear in the http headers.
                          inthashCode() hashCode() 
                          java.lang.StringtoString() toString() 
                            -
                          • +
                          • Methods inherited from class java.lang.Object

                            @@ -242,6 +283,7 @@ implements
                          • +
                              -
                            • +
                            • Constructor Detail

                              - +
                              • TyrusExtension

                                -
                                public TyrusExtension(java.lang.String name)
                                +
                                public TyrusExtension​(java.lang.String name)
                                Create Extension with specific name.
                                Parameters:
                                @@ -270,13 +313,13 @@ implements +
                                • TyrusExtension

                                  -
                                  public TyrusExtension(java.lang.String name,
                                  +
                                  public TyrusExtension​(java.lang.String name,
                                                         java.util.List<Extension.Parameter> parameters)
                                  Create Extension with name and parameters.
                                  @@ -288,109 +331,111 @@ implements
                                    -
                                  • +
                                  • Method Detail

                                    - +
                                    • getName

                                      -
                                      public java.lang.String getName()
                                      -
                                      Description copied from interface: Extension
                                      +
                                      public java.lang.String getName()
                                      +
                                      Description copied from interface: Extension
                                      The name of the extension.
                                      Specified by:
                                      -
                                      getName in interface Extension
                                      +
                                      getName in interface Extension
                                      Returns:
                                      the name of the extension.
                                    - + - +
                                    • toString

                                      -
                                      public java.lang.String toString()
                                      +
                                      public java.lang.String toString()
                                      Overrides:
                                      toString in class java.lang.Object
                                    - +
                                    • equals

                                      -
                                      public boolean equals(java.lang.Object o)
                                      +
                                      public boolean equals​(java.lang.Object o)
                                      Overrides:
                                      equals in class java.lang.Object
                                    - +
                                    • hashCode

                                      -
                                      public int hashCode()
                                      +
                                      public int hashCode()
                                      Overrides:
                                      hashCode in class java.lang.Object
                                    - +
                                    • fromString

                                      -
                                      public static java.util.List<Extension> fromString(java.util.List<java.lang.String> s)
                                      +
                                      public static java.util.List<Extension> fromString​(java.util.List<java.lang.String> s)
                                      Parsing of one Extension.
                                      Parameters:
                                      s - List of String containing Extensions.
                                      Returns:
                                      -
                                      List of extensions represented as TyrusExtension.
                                      +
                                      List of extensions represented as TyrusExtension.
                                    - +
                                    • fromHeaders

                                      -
                                      public static java.util.List<Extension> fromHeaders(java.util.List<java.lang.String> extensionHeaders)
                                      +
                                      public static java.util.List<Extension> fromHeaders​(java.util.List<java.lang.String> extensionHeaders)
                                      Parse Extension from headers (represented as List of strings).
                                      Parameters:
                                      @@ -402,21 +447,25 @@ implements +

                                      Copyright © 2012–2022 Oracle Corporation. All rights reserved.

                                      + diff --git a/apidocs/latest1x/org/glassfish/tyrus/core/TyrusFuture.html b/apidocs/latest1x/org/glassfish/tyrus/core/TyrusFuture.html index 344eea56..2a859b86 100644 --- a/apidocs/latest1x/org/glassfish/tyrus/core/TyrusFuture.html +++ b/apidocs/latest1x/org/glassfish/tyrus/core/TyrusFuture.html @@ -1,44 +1,58 @@ - + - + +TyrusFuture (Tyrus 1.19 API) -TyrusFuture (Tyrus 1.18 API) - + + + + + + + + +var pathtoroot = "../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
                                      + +
                                      +
                                      -
                                      org.glassfish.tyrus.core
                                      +

                                      Class TyrusFuture<T>

                                      @@ -110,10 +134,9 @@ var activeTableTab = "activeTableTab";
                                    • All Implemented Interfaces:
                                      -
                                      java.util.concurrent.Future<T>
                                      +
                                      java.util.concurrent.Future<T>

                                      -
                                      public class TyrusFuture<T>
                                       extends java.lang.Object
                                       implements java.util.concurrent.Future<T>
                                      @@ -129,70 +152,83 @@ implements java.util.concurrent.Future<T>
                                  • +
                                      -
                                    • +
                                    • Constructor Summary

                                      - +
                                      - + + - + +
                                      Constructors 
                                      Constructor and DescriptionConstructorDescription
                                      TyrusFuture() TyrusFuture() 
                                    +
                                    +
                                      -
                                    • +
                                    • Method Summary

                                      - +
                                      - + + - + + - - + + + - - + + + - + + - + + - + - +
                                      All Methods Instance Methods Concrete Methods 
                                      Modifier and TypeMethod and DescriptionMethodDescription
                                      booleancancel(boolean mayInterruptIfRunning) cancel​(boolean mayInterruptIfRunning) 
                                      Tget() Tget() 
                                      Tget(long timeout, - java.util.concurrent.TimeUnit unit) Tget​(long timeout, + java.util.concurrent.TimeUnit unit) 
                                      booleanisCancelled() isCancelled() 
                                      booleanisDone() isDone() 
                                      voidsetFailure(java.lang.Throwable throwable) +setFailure​(java.lang.Throwable throwable)
                                      Sets the failure result of message writing process.
                                      voidsetResult(T result) +setResult​(T result)
                                      Sets the result of the message writing process.
                                        -
                                      • +
                                      • Methods inherited from class java.lang.Object

                                        @@ -200,6 +236,7 @@ implements java.util.concurrent.Future<T>
                                    +
                      • @@ -207,12 +244,13 @@ implements java.util.concurrent.Future<T>
                        • +
                            -
                          • +
                          • Constructor Detail

                            - +
                              @@ -223,83 +261,85 @@ implements java.util.concurrent.Future<T>
                          +
                          +
                            -
                          • +
                          • Method Detail

                            - +
                            • cancel

                              -
                              public boolean cancel(boolean mayInterruptIfRunning)
                              +
                              public boolean cancel​(boolean mayInterruptIfRunning)
                              Specified by:
                              -
                              cancel in interface java.util.concurrent.Future<T>
                              +
                              cancel in interface java.util.concurrent.Future<T>
                            - +
                            • isCancelled

                              -
                              public boolean isCancelled()
                              +
                              public boolean isCancelled()
                              Specified by:
                              -
                              isCancelled in interface java.util.concurrent.Future<T>
                              +
                              isCancelled in interface java.util.concurrent.Future<T>
                            - +
                            • isDone

                              -
                              public boolean isDone()
                              +
                              public boolean isDone()
                              Specified by:
                              -
                              isDone in interface java.util.concurrent.Future<T>
                              +
                              isDone in interface java.util.concurrent.Future<T>
                            - +
                            • get

                              -
                              public T get()
                              +
                              public T get()
                                     throws java.lang.InterruptedException,
                                            java.util.concurrent.ExecutionException
                              Specified by:
                              -
                              get in interface java.util.concurrent.Future<T>
                              +
                              get in interface java.util.concurrent.Future<T>
                              Throws:
                              java.lang.InterruptedException
                              java.util.concurrent.ExecutionException
                            - +
                            • get

                              -
                              public T get(long timeout,
                              +
                              public T get​(long timeout,
                                            java.util.concurrent.TimeUnit unit)
                                     throws java.lang.InterruptedException,
                                            java.util.concurrent.ExecutionException,
                                            java.util.concurrent.TimeoutException
                              Specified by:
                              -
                              get in interface java.util.concurrent.Future<T>
                              +
                              get in interface java.util.concurrent.Future<T>
                              Throws:
                              java.lang.InterruptedException
                              java.util.concurrent.ExecutionException
                              @@ -307,15 +347,15 @@ implements java.util.concurrent.Future<T>
                            - + - +
                            • setResult

                              -
                              public void setResult(T result)
                              +
                              public void setResult​(T result)
                              Sets the result of the message writing process.
                              Parameters:
                              @@ -323,13 +363,13 @@ implements java.util.concurrent.Future<T>
                            - +
                            • setFailure

                              -
                              public void setFailure(java.lang.Throwable throwable)
                              +
                              public void setFailure​(java.lang.Throwable throwable)
                              Sets the failure result of message writing process.
                              Parameters:
                              @@ -339,21 +379,25 @@ implements java.util.concurrent.Future<T>
                          +
                        +
                        + diff --git a/apidocs/latest1x/org/glassfish/tyrus/core/TyrusRemoteEndpoint.html b/apidocs/latest1x/org/glassfish/tyrus/core/TyrusRemoteEndpoint.html index 2f5e8eeb..670959fc 100644 --- a/apidocs/latest1x/org/glassfish/tyrus/core/TyrusRemoteEndpoint.html +++ b/apidocs/latest1x/org/glassfish/tyrus/core/TyrusRemoteEndpoint.html @@ -1,44 +1,58 @@ - + - + +TyrusRemoteEndpoint (Tyrus 1.19 API) -TyrusRemoteEndpoint (Tyrus 1.18 API) - + + + + + + + + +var pathtoroot = "../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
                        + +
                        +
                        -
                        org.glassfish.tyrus.core
                        +

                        Class TyrusRemoteEndpoint

                        @@ -110,10 +134,9 @@ var activeTableTab = "activeTableTab";
                      • All Implemented Interfaces:
                        -
                        RemoteEndpoint
                        +
                        RemoteEndpoint

                        -
                        public abstract class TyrusRemoteEndpoint
                         extends java.lang.Object
                         implements RemoteEndpoint
                        @@ -129,43 +152,50 @@ implements
                      • +
                          -
                        • +
                        • Method Summary

                          - +
                          - + + - + + - + - + - + - + - + - + +
                          All Methods Instance Methods Concrete Methods 
                          Modifier and TypeMethod and DescriptionMethodDescription
                          voidclose(CloseReason cr) close​(CloseReason cr) 
                          voidflushBatch() +flushBatch()
                          This method is only used when batching is allowed for this RemoteEndpint.
                          booleangetBatchingAllowed() +getBatchingAllowed()
                          Return whether the implementation is allowed to batch outgoing messages before sending.
                          voidsendPing(java.nio.ByteBuffer applicationData) +sendPing​(java.nio.ByteBuffer applicationData)
                          Send a Ping message containing the given application data to the remote endpoint.
                          voidsendPong(java.nio.ByteBuffer applicationData) +sendPong​(java.nio.ByteBuffer applicationData)
                          Allows the developer to send an unsolicited Pong message containing the given application data in order to serve as a unidirectional heartbeat for the session.
                          @@ -173,18 +203,20 @@ implements
                          voidsetBatchingAllowed(boolean allowed) +setBatchingAllowed​(boolean allowed)
                          Indicate to the implementation that it is allowed to batch outgoing messages before sending.
                          java.lang.StringtoString() toString() 
                            -
                          • +
                          • Methods inherited from class java.lang.Object

                            @@ -192,6 +224,7 @@ implements
                          • +
                              -
                            • +
                            • Method Detail

                              - +
                              • sendPing

                                -
                                public void sendPing(java.nio.ByteBuffer applicationData)
                                +
                                public void sendPing​(java.nio.ByteBuffer applicationData)
                                               throws java.io.IOException
                                -
                                Description copied from interface: RemoteEndpoint
                                +
                                Description copied from interface: RemoteEndpoint
                                Send a Ping message containing the given application data to the remote endpoint. The corresponding Pong message may be picked up using the MessageHandler.Pong handler.
                                Specified by:
                                -
                                sendPing in interface RemoteEndpoint
                                +
                                sendPing in interface RemoteEndpoint
                                Parameters:
                                applicationData - the data to be carried in the ping request.
                                Throws:
                                @@ -225,21 +259,21 @@ implements +
                                • sendPong

                                  -
                                  public void sendPong(java.nio.ByteBuffer applicationData)
                                  +
                                  public void sendPong​(java.nio.ByteBuffer applicationData)
                                                 throws java.io.IOException
                                  -
                                  Description copied from interface: RemoteEndpoint
                                  +
                                  Description copied from interface: RemoteEndpoint
                                  Allows the developer to send an unsolicited Pong message containing the given application data in order to serve as a unidirectional heartbeat for the session.
                                  Specified by:
                                  -
                                  sendPong in interface RemoteEndpoint
                                  +
                                  sendPong in interface RemoteEndpoint
                                  Parameters:
                                  applicationData - the application data to be carried in the pong response.
                                  Throws:
                                  @@ -247,27 +281,27 @@ implements +
                                  • toString

                                    -
                                    public java.lang.String toString()
                                    +
                                    public java.lang.String toString()
                                    Overrides:
                                    toString in class java.lang.Object
                                  - +
                                  • setBatchingAllowed

                                    -
                                    public void setBatchingAllowed(boolean allowed)
                                    -
                                    Description copied from interface: RemoteEndpoint
                                    +
                                    public void setBatchingAllowed​(boolean allowed)
                                    +
                                    Description copied from interface: RemoteEndpoint
                                    Indicate to the implementation that it is allowed to batch outgoing messages before sending. Not all implementations support batching of outgoing messages. The default mode for RemoteEndpoints is false. If the developer @@ -290,71 +324,75 @@ implements Specified by: -
                                    setBatchingAllowed in interface RemoteEndpoint
                                    +
                                    setBatchingAllowed in interface RemoteEndpoint
                                    Parameters:
                                    allowed - whether the implementation is allowed to batch messages.
                                - +
                                • getBatchingAllowed

                                  -
                                  public boolean getBatchingAllowed()
                                  -
                                  Description copied from interface: RemoteEndpoint
                                  +
                                  public boolean getBatchingAllowed()
                                  +
                                  Description copied from interface: RemoteEndpoint
                                  Return whether the implementation is allowed to batch outgoing messages before sending. The default mode for RemoteEndpoints is false. The value - may be changed by calling setBatchingAllowed.
                                  + may be changed by calling setBatchingAllowed.
                      • Specified by:
                        -
                        getBatchingAllowed in interface RemoteEndpoint
                        +
                        getBatchingAllowed in interface RemoteEndpoint
                        - +
                        • flushBatch

                          -
                          public void flushBatch()
                          -
                          Description copied from interface: RemoteEndpoint
                          +
                          public void flushBatch()
                          +
                          Description copied from interface: RemoteEndpoint
                          This method is only used when batching is allowed for this RemoteEndpint. Calling this method forces the implementation to send any unsent messages it has been batching.
                          Specified by:
                          -
                          flushBatch in interface RemoteEndpoint
                          +
                          flushBatch in interface RemoteEndpoint
                        - + + +
                        + diff --git a/apidocs/latest1x/org/glassfish/tyrus/core/TyrusServerEndpointConfig.Builder.html b/apidocs/latest1x/org/glassfish/tyrus/core/TyrusServerEndpointConfig.Builder.html index 56d21d65..01745cb6 100644 --- a/apidocs/latest1x/org/glassfish/tyrus/core/TyrusServerEndpointConfig.Builder.html +++ b/apidocs/latest1x/org/glassfish/tyrus/core/TyrusServerEndpointConfig.Builder.html @@ -1,44 +1,58 @@ - + - + +TyrusServerEndpointConfig.Builder (Tyrus 1.19 API) -TyrusServerEndpointConfig.Builder (Tyrus 1.18 API) - + + + + + + + + +var pathtoroot = "../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
                        + +
                        +
                        -
                        org.glassfish.tyrus.core
                        +

                        Class TyrusServerEndpointConfig.Builder

                        @@ -110,14 +134,13 @@ var activeTableTab = "activeTableTab";
                      • Enclosing interface:
                        -
                        TyrusServerEndpointConfig
                        +
                        TyrusServerEndpointConfig

                        -
                        public static final class TyrusServerEndpointConfig.Builder
                         extends java.lang.Object
                        The TyrusServerEndpointConfig.Builder is a class used for creating - TyrusServerEndpointConfig.Builder objects for the purposes of + TyrusServerEndpointConfig.Builder objects for the purposes of deploying a server endpoint.

                        Here are some examples: @@ -146,35 +169,40 @@ extends java.lang.Object

                        @@ -228,18 +262,19 @@ extends java.lang.Object
                      • +
                        + diff --git a/apidocs/latest1x/org/glassfish/tyrus/core/TyrusServerEndpointConfig.html b/apidocs/latest1x/org/glassfish/tyrus/core/TyrusServerEndpointConfig.html index 9a72e406..a4c0409a 100644 --- a/apidocs/latest1x/org/glassfish/tyrus/core/TyrusServerEndpointConfig.html +++ b/apidocs/latest1x/org/glassfish/tyrus/core/TyrusServerEndpointConfig.html @@ -1,44 +1,58 @@ - + - + +TyrusServerEndpointConfig (Tyrus 1.19 API) -TyrusServerEndpointConfig (Tyrus 1.18 API) - + + + + + + + + +var pathtoroot = "../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
                        + +
                        +
                        -
                        org.glassfish.tyrus.core
                        +

                        Interface TyrusServerEndpointConfig

                        @@ -102,21 +126,20 @@ var activeTableTab = "activeTableTab";
                      • All Superinterfaces:
                        -
                        EndpointConfig, ServerEndpointConfig
                        +
                        EndpointConfig, ServerEndpointConfig

                        -
                        public interface TyrusServerEndpointConfig
                         extends ServerEndpointConfig
                        Configuration ServerEndpointConfig enhanced to offer tyrus specific attributes like maxSessions. Declarative way to define maxSessions is also available using - annotation MaxSessions.
                        + annotation MaxSessions.
                      • Author:
                        Ondrej Kosatka (ondrej.kosatka at oracle.com)
                        See Also:
                        -
                        MaxSessions
                        +
                        MaxSessions
                        @@ -125,28 +148,31 @@ extends
                      • +
                        +
                        +
                      • @@ -196,18 +227,19 @@ extends
                      • +
                          -
                        • +
                        • Method Detail

                          - +
                          • getMaxSessions

                            -
                            int getMaxSessions()
                            +
                            int getMaxSessions()
                            Returns configured maximal number of open sessions.
                            Returns:
                            @@ -217,21 +249,25 @@ extends
                          +
                      • +
                        + diff --git a/apidocs/latest1x/org/glassfish/tyrus/core/TyrusServerEndpointConfigurator.html b/apidocs/latest1x/org/glassfish/tyrus/core/TyrusServerEndpointConfigurator.html index eaf6c06d..b9eacbf5 100644 --- a/apidocs/latest1x/org/glassfish/tyrus/core/TyrusServerEndpointConfigurator.html +++ b/apidocs/latest1x/org/glassfish/tyrus/core/TyrusServerEndpointConfigurator.html @@ -1,44 +1,58 @@ - + - + +TyrusServerEndpointConfigurator (Tyrus 1.19 API) -TyrusServerEndpointConfigurator (Tyrus 1.18 API) - + + + + + + + + +var pathtoroot = "../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
                        + +
                        +
                        -
                        org.glassfish.tyrus.core
                        +

                        Class TyrusServerEndpointConfigurator

                        @@ -114,13 +138,12 @@ var activeTableTab = "activeTableTab"; @@ -129,60 +152,70 @@ extends
                      • +
                        +
                        +
                          -
                        • +
                        • Method Summary

                          - +
                          - + + - + - + - + - + - +
                          All Methods Instance Methods Concrete Methods 
                          Modifier and TypeMethod and DescriptionMethodDescription
                          booleancheckOrigin(java.lang.String originHeaderValue) +checkOrigin​(java.lang.String originHeaderValue)
                          Check the value of the Origin header (See Origin Header) the client passed during the opening handshake.
                          <T> TgetEndpointInstance(java.lang.Class<T> endpointClass) +getEndpointInstance​(java.lang.Class<T> endpointClass)
                          This method is called by the container each time a new client connects to the logical endpoint this configurator configures.
                          java.util.List<Extension>getNegotiatedExtensions(java.util.List<Extension> installed, - java.util.List<Extension> requested) +getNegotiatedExtensions​(java.util.List<Extension> installed, + java.util.List<Extension> requested)
                          Return the ordered list of extensions that t server endpoint will support given the requested extension list passed in, the empty list if none.
                          java.lang.StringgetNegotiatedSubprotocol(java.util.List<java.lang.String> supported, - java.util.List<java.lang.String> requested) +getNegotiatedSubprotocol​(java.util.List<java.lang.String> supported, + java.util.List<java.lang.String> requested)
                          Return the subprotocol the server endpoint has chosen from the requested list supplied by a client who wishes to connect, or none if there wasn't one this server endpoint liked.
                          @@ -190,16 +223,17 @@ extends
                          voidmodifyHandshake(ServerEndpointConfig sec, +modifyHandshake​(ServerEndpointConfig sec, HandshakeRequest request, - HandshakeResponse response) + HandshakeResponse response)
                          Called by the container after it has formulated a handshake response resulting from a well-formed handshake request.
                            -
                          • +
                          • Methods inherited from class java.lang.Object

                            @@ -207,6 +241,7 @@ extends
                          • +
                              -
                            • +
                            • Constructor Detail

                              - +
                                @@ -230,21 +266,23 @@ extends
                                  -
                                • +
                                • Method Detail

                                  - +
                                  • getNegotiatedSubprotocol

                                    -
                                    public java.lang.String getNegotiatedSubprotocol(java.util.List<java.lang.String> supported,
                                    +
                                    public java.lang.String getNegotiatedSubprotocol​(java.util.List<java.lang.String> supported,
                                                                                      java.util.List<java.lang.String> requested)
                                    -
                                    Description copied from class: ServerEndpointConfig.Configurator
                                    +
                                    Description copied from class: ServerEndpointConfig.Configurator
                                    Return the subprotocol the server endpoint has chosen from the requested list supplied by a client who wishes to connect, or none if there wasn't one this server endpoint liked. See @@ -257,7 +295,7 @@ extends Overrides: -
                                    getNegotiatedSubprotocol in class ServerEndpointConfig.Configurator
                                    +
                                    getNegotiatedSubprotocol in class ServerEndpointConfig.Configurator
                                    Parameters:
                                    supported - the subprotocols supported by the server endpoint
                                    requested - the requested subprotocols from the client endpoint
                                    @@ -266,15 +304,15 @@ extends +
                                    • getNegotiatedExtensions

                                      -
                                      public java.util.List<Extension> getNegotiatedExtensions(java.util.List<Extension> installed,
                                      +
                                      public java.util.List<Extension> getNegotiatedExtensions​(java.util.List<Extension> installed,
                                                                                                java.util.List<Extension> requested)
                                      -
                                      Description copied from class: ServerEndpointConfig.Configurator
                                      +
                                      Description copied from class: ServerEndpointConfig.Configurator
                                      Return the ordered list of extensions that t server endpoint will support given the requested extension list passed in, the empty list if none. See Negotiating Extensions @@ -285,7 +323,7 @@ extends Overrides: -
                                      getNegotiatedExtensions in class ServerEndpointConfig.Configurator
                                      +
                                      getNegotiatedExtensions in class ServerEndpointConfig.Configurator
                                      Parameters:
                                      installed - the installed extensions on the implementation.
                                      requested - the requested extensions, in the order they were @@ -295,14 +333,14 @@ extends + - +
                                      • addMessageHandler

                                        -
                                        public <T> void addMessageHandler(java.lang.Class<T> clazz,
                                        +
                                        public <T> void addMessageHandler​(java.lang.Class<T> clazz,
                                                                           MessageHandler.Whole<T> handler)
                                        Register to handle to incoming messages in this conversation. A maximum of one message handler per native websocket message type (text, binary, pong) may be added to each Session. I.e. a maximum of one message handler to handle incoming text messages a maximum of one message handler for handling incoming binary messages, and a maximum of one for handling incoming pong messages. For further details of which message handlers handle which of the native websocket - message types please see MessageHandler.Whole and MessageHandler.Partial. + message types please see MessageHandler.Whole and MessageHandler.Partial. Adding more than one of any one type will result in a runtime exception.

                                        See Endpoint for a usage example.

                                        Specified by:
                                        -
                                        addMessageHandler in interface Session
                                        +
                                        addMessageHandler in interface Session
                                        Parameters:
                                        clazz - type of the message processed by message handler to be registered.
                                        handler - the MessageHandler to be added.
                                        @@ -816,26 +883,26 @@ implements +
                                        • addMessageHandler

                                          -
                                          public <T> void addMessageHandler(java.lang.Class<T> clazz,
                                          +
                                          public <T> void addMessageHandler​(java.lang.Class<T> clazz,
                                                                             MessageHandler.Partial<T> handler)
                                          Register to handle to incoming messages in this conversation. A maximum of one message handler per native websocket message type (text, binary, pong) may be added to each Session. I.e. a maximum of one message handler to handle incoming text messages a maximum of one message handler for handling incoming binary messages, and a maximum of one for handling incoming pong messages. For further details of which message handlers handle which of the native websocket - message types please see MessageHandler.Whole and MessageHandler.Partial. + message types please see MessageHandler.Whole and MessageHandler.Partial. Adding more than one of any one type will result in a runtime exception.

                                          See Endpoint for a usage example.

                                          Specified by:
                                          -
                                          addMessageHandler in interface Session
                                          +
                                          addMessageHandler in interface Session
                                          Parameters:
                                          clazz - type of the message processed by message handler to be registered.
                                          handler - the MessageHandler to be added.
                                          @@ -845,104 +912,104 @@ implements + - +
                                          • removeMessageHandler

                                            -
                                            public void removeMessageHandler(MessageHandler handler)
                                            -
                                            Description copied from interface: Session
                                            +
                                            public void removeMessageHandler​(MessageHandler handler)
                                            +
                                            Description copied from interface: Session
                                            Remove the given MessageHandler from the set belonging to this session. This method may block if the given handler is processing a message until it is no longer in use.
                                            Specified by:
                                            -
                                            removeMessageHandler in interface Session
                                            +
                                            removeMessageHandler in interface Session
                                            Parameters:
                                            handler - the handler to be removed.
                                          - +
                                          • getRequestURI

                                            -
                                            public java.net.URI getRequestURI()
                                            -
                                            Description copied from interface: Session
                                            +
                                            public java.net.URI getRequestURI()
                                            +
                                            Description copied from interface: Session
                                            Return the URI under which this session was opened, including the query string if there is one.
                                            Specified by:
                                            -
                                            getRequestURI in interface Session
                                            +
                                            getRequestURI in interface Session
                                            Returns:
                                            the request URI.
                                          - +
                                          • getRequestParameterMap

                                            -
                                            public java.util.Map<java.lang.String,java.util.List<java.lang.String>> getRequestParameterMap()
                                            -
                                            Description copied from interface: Session
                                            +
                                            public java.util.Map<java.lang.String,​java.util.List<java.lang.String>> getRequestParameterMap()
                                            +
                                            Description copied from interface: Session
                                            Return the request parameters associated with the request this session was opened under.
                                            Specified by:
                                            -
                                            getRequestParameterMap in interface Session
                                            +
                                            getRequestParameterMap in interface Session
                                            Returns:
                                            the unmodifiable map of the request parameters.
                                          - +
                                          • getPathParameters

                                            -
                                            public java.util.Map<java.lang.String,java.lang.String> getPathParameters()
                                            -
                                            Description copied from interface: Session
                                            +
                                            public java.util.Map<java.lang.String,​java.lang.String> getPathParameters()
                                            +
                                            Description copied from interface: Session
                                            Return a map of the path parameter names and values used associated with the request this session was opened under.
                                            Specified by:
                                            -
                                            getPathParameters in interface Session
                                            +
                                            getPathParameters in interface Session
                                            Returns:
                                            the unmodifiable map of path parameters. The key of the map is the parameter name, the values in the map are the parameter values.
                                          - +
                                          • getUserProperties

                                            -
                                            public java.util.Map<java.lang.String,java.lang.Object> getUserProperties()
                                            -
                                            Description copied from interface: Session
                                            +
                                            public java.util.Map<java.lang.String,​java.lang.Object> getUserProperties()
                                            +
                                            Description copied from interface: Session
                                            While the session is open, this method returns a Map that the developer may use to store application specific information relating to this session instance. The developer may retrieve information from this Map at any time @@ -953,105 +1020,105 @@ implements Specified by: -
                                            getUserProperties in interface Session
                                            +
                                            getUserProperties in interface Session
                                            Returns:
                                            an editable Map of application data.
                                        - +
                                        • getDistributedProperties

                                          -
                                          public java.util.Map<java.lang.String,java.lang.Object> getDistributedProperties()
                                          -
                                          Description copied from interface: DistributedSession
                                          +
                                          public java.util.Map<java.lang.String,​java.lang.Object> getDistributedProperties()
                                          +
                                          Description copied from interface: DistributedSession
                                          Get distributed properties.

                                          Values put into this map must be Serializable or serializable by other, implementation-dependent alternative.

                                          Content of this map is synchronized among all cluster nodes, so putting an entry on any of the nodes will be - visible on all other nodes which have reference to current session (in form of TyrusSession or RemoteSession). + visible on all other nodes which have reference to current session (in form of TyrusSession or RemoteSession).

                                          - Please note that when not running in the distributed environment, this map behaves similarly to Session.getUserProperties(), so no serialization or deserialization is performed when values are read from or stored to + Please note that when not running in the distributed environment, this map behaves similarly to Session.getUserProperties(), so no serialization or deserialization is performed when values are read from or stored to the returned map.

                                          Specified by:
                                          -
                                          getDistributedProperties in interface DistributedSession
                                          +
                                          getDistributedProperties in interface DistributedSession
                                          Returns:
                                          map of distributed properties.
                                          See Also:
                                          -
                                          TyrusSession, -RemoteSession
                                          +
                                          TyrusSession, +RemoteSession
                                        - +
                                        • getQueryString

                                          -
                                          public java.lang.String getQueryString()
                                          -
                                          Description copied from interface: Session
                                          +
                                          public java.lang.String getQueryString()
                                          +
                                          Description copied from interface: Session
                                          Return the query string associated with the request this session was opened under.
                                          Specified by:
                                          -
                                          getQueryString in interface Session
                                          +
                                          getQueryString in interface Session
                                          Returns:
                                          the query string
                                        - +
                                        • getId

                                          -
                                          public java.lang.String getId()
                                          -
                                          Description copied from interface: Session
                                          +
                                          public java.lang.String getId()
                                          +
                                          Description copied from interface: Session
                                          Returns a string containing the unique identifier assigned to this session. The identifier is assigned by the web socket implementation and is implementation dependent.
                                          Specified by:
                                          -
                                          getId in interface Session
                                          +
                                          getId in interface Session
                                          Returns:
                                          the unique identifier for this session instance.
                                        - +
                                        • getUserPrincipal

                                          -
                                          public java.security.Principal getUserPrincipal()
                                          -
                                          Description copied from interface: Session
                                          +
                                          public java.security.Principal getUserPrincipal()
                                          +
                                          Description copied from interface: Session
                                          Return the authenticated user for this Session or null if no user is authenticated for this session.
                                          Specified by:
                                          -
                                          getUserPrincipal in interface Session
                                          +
                                          getUserPrincipal in interface Session
                                          Returns:
                                          the user principal.
                                        - +
                                        • broadcast

                                          -
                                          public java.util.Map<Session,java.util.concurrent.Future<?>> broadcast(java.lang.String message)
                                          +
                                          public java.util.Map<Session,​java.util.concurrent.Future<?>> broadcast​(java.lang.String message)
                                          Broadcasts text message to all connected clients.

                                          The broadcast can be executed in parallel, which can be enabled by setting - TyrusWebSocketEngine.PARALLEL_BROADCAST_ENABLED + TyrusWebSocketEngine.PARALLEL_BROADCAST_ENABLED to true in server properties.

                                          Parameters:
                                          @@ -1061,17 +1128,17 @@ implements +
                                          • broadcast

                                            -
                                            public java.util.Map<Session,java.util.concurrent.Future<?>> broadcast(java.nio.ByteBuffer message)
                                            +
                                            public java.util.Map<Session,​java.util.concurrent.Future<?>> broadcast​(java.nio.ByteBuffer message)
                                            Broadcasts binary message to all connected clients, including remote sessions (if any).

                                            The broadcast can be executed in parallel, which can be enabled by setting - TyrusWebSocketEngine.PARALLEL_BROADCAST_ENABLED + TyrusWebSocketEngine.PARALLEL_BROADCAST_ENABLED to true in server properties.

                                            Parameters:
                                            @@ -1081,13 +1148,13 @@ implements +
                                            • getHeartbeatInterval

                                              -
                                              public long getHeartbeatInterval()
                                              +
                                              public long getHeartbeatInterval()
                                              Return an interval in milliseconds between scheduled periodic Pong messages. A negative value or 0 means that sending of periodic Pong messages is not turned on.
                                              @@ -1096,13 +1163,13 @@ implements +
                                              • setHeartbeatInterval

                                                -
                                                public void setHeartbeatInterval(long heartbeatInterval)
                                                +
                                                public void setHeartbeatInterval​(long heartbeatInterval)
                                                Set an interval in milliseconds between scheduled periodic Pong messages. Setting the interval to a negative value or 0 will cancel sending of periodic Pong messages.
                                                @@ -1111,26 +1178,26 @@ implements +
                                                • toString

                                                  -
                                                  public java.lang.String toString()
                                                  +
                                                  public java.lang.String toString()
                                                  Overrides:
                                                  toString in class java.lang.Object
                                                - +
                                                • getRemoteAddr

                                                  -
                                                  public java.lang.String getRemoteAddr()
                                                  +
                                                  public java.lang.String getRemoteAddr()
                                                  Get the Internet Protocol (IP) address of the client or last proxy that sent the request.
                                                  Returns:
                                                  @@ -1141,21 +1208,25 @@ implements +

                                                  Copyright © 2012–2022 Oracle Corporation. All rights reserved.

                                                  + diff --git a/apidocs/latest1x/org/glassfish/tyrus/core/TyrusUpgradeResponse.html b/apidocs/latest1x/org/glassfish/tyrus/core/TyrusUpgradeResponse.html index 908853d1..5522122d 100644 --- a/apidocs/latest1x/org/glassfish/tyrus/core/TyrusUpgradeResponse.html +++ b/apidocs/latest1x/org/glassfish/tyrus/core/TyrusUpgradeResponse.html @@ -1,44 +1,58 @@ - + - + +TyrusUpgradeResponse (Tyrus 1.19 API) -TyrusUpgradeResponse (Tyrus 1.18 API) - + + + + + + + + +var pathtoroot = "../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
                                                  +
                                      - +
                                    +
                      • + + + + +
                        -
                        org.glassfish.tyrus.core
                        +

                        Class TyrusUpgradeResponse

                        @@ -101,7 +125,7 @@ var activeTableTab = "activeTableTab";
                      • java.lang.Object
                      • @@ -237,12 +274,13 @@ extends
                      • +
                          -
                        • +
                        • Constructor Detail

                          - +
                            @@ -253,35 +291,37 @@ extends
                          +
                        +
                          -
                        • +
                        • Method Detail

                          - + - +
                          • getReasonPhrase

                            -
                            public java.lang.String getReasonPhrase()
                            +
                            public java.lang.String getReasonPhrase()
                            Get HTTP reason phrase.
                            Returns:
                            @@ -289,13 +329,13 @@ extends
                          - +
                          • getHeaders

                            -
                            public java.util.Map<java.lang.String,java.util.List<java.lang.String>> getHeaders()
                            +
                            public java.util.Map<java.lang.String,​java.util.List<java.lang.String>> getHeaders()
                            Get HTTP headers.
                            Returns:
                            @@ -303,33 +343,33 @@ extends
                          - +
                          • setStatus

                            -
                            public void setStatus(int statusCode)
                            +
                            public void setStatus​(int statusCode)
                            Set HTTP status.
                            Specified by:
                            -
                            setStatus in class UpgradeResponse
                            +
                            setStatus in class UpgradeResponse
                            Parameters:
                            statusCode - status code to be set.
                          - +
                          • setReasonPhrase

                            -
                            public void setReasonPhrase(java.lang.String reasonPhrase)
                            +
                            public void setReasonPhrase​(java.lang.String reasonPhrase)
                            Set HTTP reason phrase.
                            Specified by:
                            -
                            setReasonPhrase in class UpgradeResponse
                            +
                            setReasonPhrase in class UpgradeResponse
                            Parameters:
                            reasonPhrase - reason phrase to be set.
                            @@ -337,21 +377,25 @@ extends
                          +
                      • +
                        + diff --git a/apidocs/latest1x/org/glassfish/tyrus/core/TyrusWebSocket.html b/apidocs/latest1x/org/glassfish/tyrus/core/TyrusWebSocket.html index 1cda71ac..529c08c9 100644 --- a/apidocs/latest1x/org/glassfish/tyrus/core/TyrusWebSocket.html +++ b/apidocs/latest1x/org/glassfish/tyrus/core/TyrusWebSocket.html @@ -1,44 +1,58 @@ - + - + +TyrusWebSocket (Tyrus 1.19 API) -TyrusWebSocket (Tyrus 1.18 API) - + + + + + + + + +var pathtoroot = "../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
                        + +
                        +
                        -
                        org.glassfish.tyrus.core
                        +

                        Class TyrusWebSocket

                        @@ -109,7 +133,6 @@ var activeTableTab = "activeTableTab";

                        • -
                          public class TyrusWebSocket
                           extends java.lang.Object
                          Tyrus representation of web socket connection. @@ -122,253 +145,289 @@ extends java.lang.Object
                          @@ -383,20 +443,21 @@ extends java.lang.Object
                          • +
                            +
                            +
                              -
                            • +
                            • Method Detail

                              - +
                              • setWriteTimeout

                                -
                                public void setWriteTimeout(long timeoutMs)
                                +
                                public void setWriteTimeout​(long timeoutMs)
                                Sets the timeout for the writing operation.
                                Parameters:
                                @@ -426,30 +489,30 @@ extends java.lang.Object
                              - +
                              • isConnected

                                -
                                public boolean isConnected()
                                -
                                Convenience method to determine if this TyrusWebSocket instance is connected.
                                +
                                public boolean isConnected()
                                +
                                Convenience method to determine if this TyrusWebSocket instance is connected.
                                Returns:
                                -
                                true if the TyrusWebSocket is connected, false otherwise.
                                +
                                true if the TyrusWebSocket is connected, false otherwise.
                              - +
                              • onClose

                                -
                                public void onClose(CloseFrame frame)
                                +
                                public void onClose​(CloseFrame frame)
                                This callback will be invoked when the remote endpoint sent a closing frame.

                                - The execution of this method is synchronized using ProtocolHandler instance; see TYRUS-385. Prevents + The execution of this method is synchronized using ProtocolHandler instance; see TYRUS-385. Prevents multiple invocations, especially from container/user code.

                                Parameters:
                                @@ -457,17 +520,17 @@ extends java.lang.Object
                              - +
                              • onConnect

                                -
                                public void onConnect(UpgradeRequest upgradeRequest,
                                +
                                public void onConnect​(UpgradeRequest upgradeRequest,
                                                       java.lang.String subProtocol,
                                                       java.util.List<Extension> extensions,
                                                       java.lang.String connectionId,
                                -                      DebugContext debugContext)
                                + DebugContext debugContext)
                                This callback will be invoked when the opening handshake between both endpoints has been completed.
                                @@ -480,13 +543,13 @@ extends java.lang.Object
                              - +
                              • onFragment

                                -
                                public void onFragment(BinaryFrame frame,
                                +
                                public void onFragment​(BinaryFrame frame,
                                                        boolean last)
                                This callback will be invoked when a fragmented binary message has been received.
                                @@ -497,13 +560,13 @@ extends java.lang.Object
                              - +
                              • onFragment

                                -
                                public void onFragment(TextFrame frame,
                                +
                                public void onFragment​(TextFrame frame,
                                                        boolean last)
                                This callback will be invoked when a fragmented textual message has been received.
                                @@ -514,13 +577,13 @@ extends java.lang.Object
                              - +
                              • onMessage

                                -
                                public void onMessage(BinaryFrame frame)
                                +
                                public void onMessage​(BinaryFrame frame)
                                This callback will be invoked when a binary message has been received.
                                Parameters:
                                @@ -528,13 +591,13 @@ extends java.lang.Object
                              - +
                              • onMessage

                                -
                                public void onMessage(TextFrame frame)
                                +
                                public void onMessage​(TextFrame frame)
                                This callback will be invoked when a text message has been received.
                                Parameters:
                                @@ -542,13 +605,13 @@ extends java.lang.Object
                              - +
                              • onPing

                                -
                                public void onPing(PingFrame frame)
                                +
                                public void onPing​(PingFrame frame)
                                This callback will be invoked when the remote endpoint has sent a ping frame.
                                Parameters:
                                @@ -556,13 +619,13 @@ extends java.lang.Object
                              - +
                              • onPong

                                -
                                public void onPong(PongFrame frame)
                                +
                                public void onPong​(PongFrame frame)
                                This callback will be invoked when the remote endpoint has sent a pong frame.
                                @@ -571,25 +634,25 @@ extends java.lang.Object
                              - + - +
                              • close

                                -
                                public void close(int code,
                                +
                                public void close​(int code,
                                                   java.lang.String reason)
                                -
                                Closes this TyrusWebSocket using the specified status code and +
                                Closes this TyrusWebSocket using the specified status code and reason.
                                Parameters:
                                @@ -598,29 +661,29 @@ extends java.lang.Object
                              - + - +
                              • sendBinary

                                -
                                @Deprecated
                                -public java.util.concurrent.Future<Frame> sendBinary(byte[] data)
                                -
                                Deprecated. 
                                +
                                @Deprecated
                                +public java.util.concurrent.Future<Frame> sendBinary​(byte[] data)
                                +
                                Deprecated.
                                Send a binary frame to the remote endpoint.
                                Parameters:
                                @@ -630,14 +693,14 @@ public java.util.concurrent.Future< +
                                • sendBinary

                                  -
                                  public java.util.concurrent.Future<Frame> sendBinary(byte[] data,
                                  -                                                     WriterInfo writerInfo)
                                  +
                                  public java.util.concurrent.Future<Frame> sendBinary​(byte[] data,
                                  +                                                     WriterInfo writerInfo)
                                  Send a binary frame to the remote endpoint.
                                  Parameters:
                                  @@ -648,51 +711,51 @@ public java.util.concurrent.Future< + - + - +
                                  • sendText

                                    -
                                    @Deprecated
                                    -public java.util.concurrent.Future<Frame> sendText(java.lang.String data)
                                    -
                                    Deprecated. 
                                    +
                                    @Deprecated
                                    +public java.util.concurrent.Future<Frame> sendText​(java.lang.String data)
                                    +
                                    Deprecated.
                                    Send a text frame to the remote endpoint.
                                    Parameters:
                                    @@ -702,14 +765,14 @@ public java.util.concurrent.Future< +
                                    • sendText

                                      -
                                      public java.util.concurrent.Future<Frame> sendText(java.lang.String data,
                                      -                                                   WriterInfo writerInfo)
                                      +
                                      public java.util.concurrent.Future<Frame> sendText​(java.lang.String data,
                                      +                                                   WriterInfo writerInfo)
                                      Send a text frame to the remote endpoint.
                                      Parameters:
                                      @@ -720,49 +783,49 @@ public java.util.concurrent.Future< + - + - +
                                      • sendRawFrame

                                        -
                                        public java.util.concurrent.Future<Frame> sendRawFrame(java.nio.ByteBuffer data)
                                        +
                                        public java.util.concurrent.Future<Frame> sendRawFrame​(java.nio.ByteBuffer data)
                                        Send a frame to the remote endpoint.
                                        Parameters:
                                        @@ -772,13 +835,13 @@ public void sendText(java.lang.String data,
                                      - +
                                      • sendPing

                                        -
                                        public java.util.concurrent.Future<Frame> sendPing(byte[] data)
                                        +
                                        public java.util.concurrent.Future<Frame> sendPing​(byte[] data)
                                        Sends a ping frame with the specified payload (if any).
                                        Parameters:
                                        @@ -788,13 +851,13 @@ public void sendText(java.lang.String data,
                                      - +
                                      • sendPong

                                        -
                                        public java.util.concurrent.Future<Frame> sendPong(byte[] data)
                                        +
                                        public java.util.concurrent.Future<Frame> sendPong​(byte[] data)
                                        Sends a ping frame with the specified payload (if any).

                                        It may seem odd to send a pong frame, however, RFC-6455 states: @@ -810,16 +873,16 @@ public void sendText(java.lang.String data,

                                    - +
                                    • sendText

                                      -
                                      @Deprecated
                                      -public java.util.concurrent.Future<Frame> sendText(java.lang.String fragment,
                                      -                                                               boolean last)
                                      -
                                      Deprecated. 
                                      +
                                      @Deprecated
                                      +public java.util.concurrent.Future<Frame> sendText​(java.lang.String fragment,
                                      +                                                   boolean last)
                                      +
                                      Deprecated.
                                      Sends a fragment of a complete message.
                                      Parameters:
                                      @@ -830,15 +893,15 @@ public java.util.concurrent.Future< +
                                      • sendText

                                        -
                                        public java.util.concurrent.Future<Frame> sendText(java.lang.String fragment,
                                        +
                                        public java.util.concurrent.Future<Frame> sendText​(java.lang.String fragment,
                                                                                            boolean last,
                                        -                                                   WriterInfo writerInfo)
                                        + WriterInfo writerInfo)
                                        Sends a fragment of a complete message.
                                        Parameters:
                                        @@ -850,16 +913,16 @@ public java.util.concurrent.Future< +
                                        • sendBinary

                                          -
                                          @Deprecated
                                          -public java.util.concurrent.Future<Frame> sendBinary(byte[] bytes,
                                          -                                                                 boolean last)
                                          -
                                          Deprecated. 
                                          +
                                          @Deprecated
                                          +public java.util.concurrent.Future<Frame> sendBinary​(byte[] bytes,
                                          +                                                     boolean last)
                                          +
                                          Deprecated.
                                          Sends a fragment of a complete message.
                                          Parameters:
                                          @@ -870,15 +933,15 @@ public java.util.concurrent.Future< +
                                          • sendBinary

                                            -
                                            public java.util.concurrent.Future<Frame> sendBinary(byte[] bytes,
                                            +
                                            public java.util.concurrent.Future<Frame> sendBinary​(byte[] bytes,
                                                                                                  boolean last,
                                            -                                                     WriterInfo writerInfo)
                                            + WriterInfo writerInfo)
                                            Sends a fragment of a complete message.
                                            Parameters:
                                            @@ -890,18 +953,18 @@ public java.util.concurrent.Future< +
                                            • sendBinary

                                              -
                                              @Deprecated
                                              -public java.util.concurrent.Future<Frame> sendBinary(byte[] bytes,
                                              -                                                                 int off,
                                              -                                                                 int len,
                                              -                                                                 boolean last)
                                              -
                                              Deprecated. 
                                              +
                                              @Deprecated
                                              +public java.util.concurrent.Future<Frame> sendBinary​(byte[] bytes,
                                              +                                                     int off,
                                              +                                                     int len,
                                              +                                                     boolean last)
                                              +
                                              Deprecated.
                                              Sends a fragment of a complete message.
                                              Parameters:
                                              @@ -914,17 +977,17 @@ public java.util.concurrent.Future< +
                                              • sendBinary

                                                -
                                                public java.util.concurrent.Future<Frame> sendBinary(byte[] bytes,
                                                +
                                                public java.util.concurrent.Future<Frame> sendBinary​(byte[] bytes,
                                                                                                      int off,
                                                                                                      int len,
                                                                                                      boolean last,
                                                -                                                     WriterInfo writerInfo)
                                                + WriterInfo writerInfo)
                                                Sends a fragment of a complete message.
                                                Parameters:
                                                @@ -940,21 +1003,25 @@ public java.util.concurrent.Future< +

                                                Copyright © 2012–2022 Oracle Corporation. All rights reserved.

                                                + diff --git a/apidocs/latest1x/org/glassfish/tyrus/core/TyrusWebSocketEngine.TyrusWebSocketEngineBuilder.html b/apidocs/latest1x/org/glassfish/tyrus/core/TyrusWebSocketEngine.TyrusWebSocketEngineBuilder.html index d83bf2ab..75b3f150 100644 --- a/apidocs/latest1x/org/glassfish/tyrus/core/TyrusWebSocketEngine.TyrusWebSocketEngineBuilder.html +++ b/apidocs/latest1x/org/glassfish/tyrus/core/TyrusWebSocketEngine.TyrusWebSocketEngineBuilder.html @@ -1,44 +1,58 @@ - + - + +TyrusWebSocketEngine.TyrusWebSocketEngineBuilder (Tyrus 1.19 API) -TyrusWebSocketEngine.TyrusWebSocketEngineBuilder (Tyrus 1.18 API) - + + + + + + + + +var pathtoroot = "../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
                                                + +
                                                +
                                                -
                                                org.glassfish.tyrus.core
                                                +

                                                Class TyrusWebSocketEngine.TyrusWebSocketEngineBuilder

                                                @@ -110,13 +134,12 @@ var activeTableTab = "activeTableTab";
                                              • Enclosing class:
                                                -
                                                TyrusWebSocketEngine
                                                +
                                                TyrusWebSocketEngine

                                                -
                                                public static class TyrusWebSocketEngine.TyrusWebSocketEngineBuilder
                                                 extends java.lang.Object
                                                - +
                        @@ -124,72 +147,83 @@ extends java.lang.Object @@ -204,51 +239,52 @@ extends java.lang.Object +
                        + diff --git a/apidocs/latest1x/org/glassfish/tyrus/core/TyrusWebSocketEngine.html b/apidocs/latest1x/org/glassfish/tyrus/core/TyrusWebSocketEngine.html index 5cde5f59..cbea5505 100644 --- a/apidocs/latest1x/org/glassfish/tyrus/core/TyrusWebSocketEngine.html +++ b/apidocs/latest1x/org/glassfish/tyrus/core/TyrusWebSocketEngine.html @@ -1,44 +1,58 @@ - + - + +TyrusWebSocketEngine (Tyrus 1.19 API) -TyrusWebSocketEngine (Tyrus 1.18 API) - + + + + + + + + +var pathtoroot = "../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
                        + +
                        +
                        -
                        org.glassfish.tyrus.core
                        +

                        Class TyrusWebSocketEngine

                        @@ -110,20 +134,19 @@ var activeTableTab = "activeTableTab";
                      • All Implemented Interfaces:
                        -
                        WebSocketEngine
                        +
                        WebSocketEngine

                        -
                        public class TyrusWebSocketEngine
                         extends java.lang.Object
                        -implements WebSocketEngine
                        -
                        WebSocketEngine implementation, which handles server-side handshake, validation and data processing.
                        +implements WebSocketEngine +
                        WebSocketEngine implementation, which handles server-side handshake, validation and data processing.
                        Author:
                        Alexey Stashok, Pavel Bucek (pavel.bucek at oracle.com)
                        See Also:
                        -
                        TyrusWebSocket, -TyrusEndpointWrapper
                        +
                        TyrusWebSocket, +TyrusEndpointWrapper
                      • @@ -132,160 +155,184 @@ implements
                      • +
                        +
                        +
                        +
                        +
                      • @@ -300,12 +348,13 @@ implements
                      • +
                        +
                        +
                      • + diff --git a/apidocs/latest1x/org/glassfish/tyrus/core/Utils.Stringifier.html b/apidocs/latest1x/org/glassfish/tyrus/core/Utils.Stringifier.html index 1e4ed66f..72773793 100644 --- a/apidocs/latest1x/org/glassfish/tyrus/core/Utils.Stringifier.html +++ b/apidocs/latest1x/org/glassfish/tyrus/core/Utils.Stringifier.html @@ -1,38 +1,52 @@ - + - + +Utils.Stringifier (Tyrus 1.19 API) -Utils.Stringifier (Tyrus 1.18 API) - + + + + + + + + +var pathtoroot = "../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
                        + +
                        +
                        -
                        org.glassfish.tyrus.core
                        +

                        Class Utils.Stringifier<T>

                        @@ -108,10 +132,9 @@
                        Enclosing class:
                        -
                        Utils
                        +
                        Utils

                        -
                        public abstract static class Utils.Stringifier<T>
                         extends java.lang.Object
                        Define to String conversion for various types.
                        @@ -122,30 +145,35 @@ extends java.lang.Object
                        • +
                            -
                          • +
                          • Constructor Summary

                            - +
                            - + + - + +
                            Constructors 
                            Constructor and DescriptionConstructorDescription
                            Stringifier() Stringifier() 
                          +
                          +
                            -
                          • +
                          • Method Summary

                              -
                            • +
                            • Methods inherited from class java.lang.Object

                              @@ -153,6 +181,7 @@ extends java.lang.Object
                          +
                        @@ -160,12 +189,13 @@ extends java.lang.Object
                        • +
                            -
                          • +
                          • Constructor Detail

                            - +
                              @@ -176,21 +206,25 @@ extends java.lang.Object
                          +
                        +
                        + diff --git a/apidocs/latest1x/org/glassfish/tyrus/core/Utils.html b/apidocs/latest1x/org/glassfish/tyrus/core/Utils.html index a3e4f1d1..a5ee909b 100644 --- a/apidocs/latest1x/org/glassfish/tyrus/core/Utils.html +++ b/apidocs/latest1x/org/glassfish/tyrus/core/Utils.html @@ -1,44 +1,58 @@ - + - + +Utils (Tyrus 1.19 API) -Utils (Tyrus 1.18 API) - + + + + + + + + +var pathtoroot = "../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
                        + +
                        +
                        -
                        org.glassfish.tyrus.core
                        +

                        Class Utils

                        @@ -109,7 +133,6 @@ var activeTableTab = "activeTableTab";

                        • -
                          public class Utils
                           extends java.lang.Object
                          Utility methods shared among Tyrus modules.
                          @@ -124,180 +147,208 @@ extends java.lang.Object
                          • +
                              -
                            • +
                            • Nested Class Summary

                              - +
                              - + + - +
                              Nested Classes 
                              Modifier and TypeClass and DescriptionClassDescription
                              static class Utils.Stringifier<T> +Utils.Stringifier<T>
                              Define to String conversion for various types.
                            +
                            +
                              -
                            • +
                            • Constructor Summary

                              - +
                              - + + - + +
                              Constructors 
                              Constructor and DescriptionConstructorDescription
                              Utils() Utils() 
                            +
                            +
                              -
                            • +
                            • Method Summary

                              - +
                              - + + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + + - +
                              All Methods Static Methods Concrete Methods 
                              Modifier and TypeMethod and DescriptionMethodDescription
                              static java.nio.ByteBufferappendBuffers(java.nio.ByteBuffer buffer, +appendBuffers​(java.nio.ByteBuffer buffer, java.nio.ByteBuffer buffer1, int incomingBufferSize, - int BUFFER_STEP_SIZE) + int BUFFER_STEP_SIZE)
                              Concatenates two buffers into one.
                              static <T> voidcheckNotNull(T reference, - java.lang.String parameterName) +checkNotNull​(T reference, + java.lang.String parameterName)
                              Check for null.
                              static <T> java.lang.StringgetHeaderFromList(java.util.List<T> list) +getHeaderFromList​(java.util.List<T> list)
                              Creates single String value from provided List by calling Object.toString() on each item and separating existing ones with ", ".
                              static <T> java.lang.StringgetHeaderFromList(java.util.List<T> list, - Utils.Stringifier<T> stringifier) +getHeaderFromList​(java.util.List<T> list, + Utils.Stringifier<T> stringifier)
                              Convert list of values to singe String usable as HTTP header value.
                              static <T> TgetProperty(java.util.Map<java.lang.String,java.lang.Object> properties, +getProperty​(java.util.Map<java.lang.String,​java.lang.Object> properties, java.lang.String key, - java.lang.Class<T> type) + java.lang.Class<T> type)
                              Get typed property from generic property map.
                              static <T> TgetProperty(java.util.Map<java.lang.String,java.lang.Object> properties, +getProperty​(java.util.Map<java.lang.String,​java.lang.Object> properties, java.lang.String key, java.lang.Class<T> type, - T defaultValue) + T defaultValue)
                              Get typed property from generic property map.
                              static byte[]getRemainingArray(java.nio.ByteBuffer buffer) +getRemainingArray​(java.nio.ByteBuffer buffer)
                              Creates the array of bytes containing the bytes from the position to the limit of the ByteBuffer.
                              static <T> java.util.List<java.lang.String>getStringList(java.util.List<T> list, - Utils.Stringifier<T> stringifier) +getStringList​(java.util.List<T> list, + Utils.Stringifier<T> stringifier)
                              Get list of strings from List<T>.
                              static intgetWsPort(java.net.URI uri) +getWsPort​(java.net.URI uri)
                              Get port from provided URI.
                              static intgetWsPort(java.net.URI uri, - java.lang.String scheme) +getWsPort​(java.net.URI uri, + java.lang.String scheme)
                              Get port from provided URI.
                              static java.util.List<java.lang.String>parseHeaderValue(java.lang.String headerValue) +parseHeaderValue​(java.lang.String headerValue)
                              Parse header value - splits multiple values (quoted, unquoted) separated by comma.
                              static java.util.DateparseHttpDate(java.lang.String stringValue) +parseHttpDate​(java.lang.String stringValue)
                              Parse HTTP date.
                              static java.lang.StringstringifyUpgradeRequest(UpgradeRequest upgradeRequest) +stringifyUpgradeRequest​(UpgradeRequest upgradeRequest)
                              Converts upgrade request to a HTTP-formatted string.
                              static java.lang.StringstringifyUpgradeResponse(UpgradeResponse upgradeResponse) +stringifyUpgradeResponse​(UpgradeResponse upgradeResponse)
                              Converts upgrade response to a HTTP-formatted string.
                              static byte[]toArray(long value) +toArray​(long value)
                              Convert long to byte[].
                              static longtoLong(byte[] bytes, +toLong​(byte[] bytes, int start, - int end) + int end)
                              Convert byte[] to long.
                              static java.util.List<java.lang.String>toString(byte[] bytes) toString​(byte[] bytes) 
                              static java.util.List<java.lang.String>toString(byte[] bytes, +toString​(byte[] bytes, int start, - int end)  + int end) 
                                -
                              • +
                              • Methods inherited from class java.lang.Object

                                @@ -305,6 +356,7 @@ extends java.lang.Object
                            +
                        @@ -312,12 +364,13 @@ extends java.lang.Object
                        • +
                            -
                          • +
                          • Constructor Detail

                            - +
                              @@ -328,19 +381,21 @@ extends java.lang.Object
                          +
                          +
                            -
                          • +
                          • Method Detail

                            - +
                            • parseHeaderValue

                              -
                              public static java.util.List<java.lang.String> parseHeaderValue(java.lang.String headerValue)
                              +
                              public static java.util.List<java.lang.String> parseHeaderValue​(java.lang.String headerValue)
                              Parse header value - splits multiple values (quoted, unquoted) separated by comma.
                              @@ -351,13 +406,13 @@ extends java.lang.Object
                            - +
                            • getRemainingArray

                              -
                              public static byte[] getRemainingArray(java.nio.ByteBuffer buffer)
                              +
                              public static byte[] getRemainingArray​(java.nio.ByteBuffer buffer)
                              Creates the array of bytes containing the bytes from the position to the limit of the ByteBuffer.
                              Parameters:
                              @@ -367,13 +422,13 @@ extends java.lang.Object
                            - +
                            • getHeaderFromList

                              -
                              public static <T> java.lang.String getHeaderFromList(java.util.List<T> list)
                              +
                              public static <T> java.lang.String getHeaderFromList​(java.util.List<T> list)
                              Creates single String value from provided List by calling Object.toString() on each item and separating existing ones with ", ".
                              @@ -386,14 +441,14 @@ extends java.lang.Object
                            - +
                            • getStringList

                              -
                              public static <T> java.util.List<java.lang.String> getStringList(java.util.List<T> list,
                              -                                                                 Utils.Stringifier<T> stringifier)
                              +
                              public static <T> java.util.List<java.lang.String> getStringList​(java.util.List<T> list,
                              +                                                                 Utils.Stringifier<T> stringifier)
                              Get list of strings from List<T>.
                              Type Parameters:
                              @@ -407,14 +462,14 @@ extends java.lang.Object
                            - +
                            • getHeaderFromList

                              -
                              public static <T> java.lang.String getHeaderFromList(java.util.List<T> list,
                              -                                                     Utils.Stringifier<T> stringifier)
                              +
                              public static <T> java.lang.String getHeaderFromList​(java.util.List<T> list,
                              +                                                     Utils.Stringifier<T> stringifier)
                              Convert list of values to singe String usable as HTTP header value.
                              Type Parameters:
                              @@ -428,15 +483,15 @@ extends java.lang.Object
                            - + - +
                            • checkNotNull

                              -
                              public static <T> void checkNotNull(T reference,
                              +
                              public static <T> void checkNotNull​(T reference,
                                                                   java.lang.String parameterName)
                              Check for null. Throws IllegalArgumentException if provided value is null.
                              @@ -448,13 +503,13 @@ extends java.lang.Object
                            - +
                            • toArray

                              -
                              public static byte[] toArray(long value)
                              +
                              public static byte[] toArray​(long value)
                              Convert long to byte[].
                              Parameters:
                              @@ -464,13 +519,13 @@ extends java.lang.Object
                            - +
                            • toLong

                              -
                              public static long toLong(byte[] bytes,
                              +
                              public static long toLong​(byte[] bytes,
                                                         int start,
                                                         int end)
                              Convert byte[] to long.
                              @@ -484,33 +539,33 @@ extends java.lang.Object
                            - +
                            • toString

                              -
                              public static java.util.List<java.lang.String> toString(byte[] bytes)
                              +
                              public static java.util.List<java.lang.String> toString​(byte[] bytes)
                            - +
                            • toString

                              -
                              public static java.util.List<java.lang.String> toString(byte[] bytes,
                              +
                              public static java.util.List<java.lang.String> toString​(byte[] bytes,
                                                                                       int start,
                                                                                       int end)
                            - +
                            • appendBuffers

                              -
                              public static java.nio.ByteBuffer appendBuffers(java.nio.ByteBuffer buffer,
                              +
                              public static java.nio.ByteBuffer appendBuffers​(java.nio.ByteBuffer buffer,
                                                                               java.nio.ByteBuffer buffer1,
                                                                               int incomingBufferSize,
                                                                               int BUFFER_STEP_SIZE)
                              @@ -530,13 +585,13 @@ extends java.lang.Object
                            - +
                            • getProperty

                              -
                              public static <T> T getProperty(java.util.Map<java.lang.String,java.lang.Object> properties,
                              +
                              public static <T> T getProperty​(java.util.Map<java.lang.String,​java.lang.Object> properties,
                                                               java.lang.String key,
                                                               java.lang.Class<T> type)
                              Get typed property from generic property map.
                              @@ -552,15 +607,15 @@ extends java.lang.Object
                            - + - +
                            • getProperty

                              -
                              public static <T> T getProperty(java.util.Map<java.lang.String,java.lang.Object> properties,
                              +
                              public static <T> T getProperty​(java.util.Map<java.lang.String,​java.lang.Object> properties,
                                                               java.lang.String key,
                                                               java.lang.Class<T> type,
                                                               T defaultValue)
                              @@ -578,13 +633,13 @@ extends java.lang.Object
                            - +
                            • getWsPort

                              -
                              public static int getWsPort(java.net.URI uri)
                              +
                              public static int getWsPort​(java.net.URI uri)
                              Get port from provided URI.

                              Expected schemes are "ws" and "wss" and this method will return 80 or @@ -597,13 +652,13 @@ extends java.lang.Object

                            - +
                            • getWsPort

                              -
                              public static int getWsPort(java.net.URI uri,
                              +
                              public static int getWsPort​(java.net.URI uri,
                                                           java.lang.String scheme)
                              Get port from provided URI.

                              @@ -618,13 +673,13 @@ extends java.lang.Object

                            - +
                            • parseHttpDate

                              -
                              public static java.util.Date parseHttpDate(java.lang.String stringValue)
                              +
                              public static java.util.Date parseHttpDate​(java.lang.String stringValue)
                                                                   throws java.text.ParseException
                              Parse HTTP date.

                              @@ -644,13 +699,13 @@ extends java.lang.Object

                            - +
                            • stringifyUpgradeRequest

                              -
                              public static java.lang.String stringifyUpgradeRequest(UpgradeRequest upgradeRequest)
                              +
                              public static java.lang.String stringifyUpgradeRequest​(UpgradeRequest upgradeRequest)
                              Converts upgrade request to a HTTP-formatted string.
                              Parameters:
                              @@ -660,13 +715,13 @@ extends java.lang.Object
                            - +
                            • stringifyUpgradeResponse

                              -
                              public static java.lang.String stringifyUpgradeResponse(UpgradeResponse upgradeResponse)
                              +
                              public static java.lang.String stringifyUpgradeResponse​(UpgradeResponse upgradeResponse)
                              Converts upgrade response to a HTTP-formatted string.
                              Parameters:
                              @@ -678,21 +733,25 @@ extends java.lang.Object
                          +
                        +
                        + diff --git a/apidocs/latest1x/org/glassfish/tyrus/core/Version.html b/apidocs/latest1x/org/glassfish/tyrus/core/Version.html index c4876b13..0f0138e7 100644 --- a/apidocs/latest1x/org/glassfish/tyrus/core/Version.html +++ b/apidocs/latest1x/org/glassfish/tyrus/core/Version.html @@ -1,44 +1,58 @@ - + - + +Version (Tyrus 1.19 API) -Version (Tyrus 1.18 API) - + + + + + + + + +var pathtoroot = "../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
                        + +
                        +
                        -
                        org.glassfish.tyrus.core
                        +

                        Enum Version

                        @@ -101,7 +125,7 @@ var activeTableTab = "activeTableTab";
                      • java.lang.Object
                      • + @@ -211,37 +247,40 @@ the order they are declared.
                        • +
                            -
                          • +
                          • Enum Constant Detail

                            - +
                            • DRAFT17

                              -
                              public static final Version DRAFT17
                              +
                              public static final Version DRAFT17
                          +
                          +
                            -
                          • +
                          • Method Detail

                            - +
                            • values

                              -
                              public static Version[] values()
                              +
                              public static Version[] values()
                              Returns an array containing the constants of this enum type, in -the order they are declared. This method may be used to iterate +the order they are declared. This method may be used to iterate over the constants as follows:
                               for (Version c : Version.values())
                              @@ -253,13 +292,13 @@ for (Version c : Version.values())
                               
                               
                            - +
                            • valueOf

                              -
                              public static Version valueOf(java.lang.String name)
                              +
                              public static Version valueOf​(java.lang.String name)
                              Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are @@ -275,64 +314,68 @@ not permitted.)
                            - + - + - +
                            • toString

                              -
                              public java.lang.String toString()
                              +
                              public java.lang.String toString()
                              Overrides:
                              -
                              toString in class java.lang.Enum<Version>
                              +
                              toString in class java.lang.Enum<Version>
                            - +
                            • getSupportedWireProtocolVersions

                              -
                              public static java.lang.String getSupportedWireProtocolVersions()
                              +
                              public static java.lang.String getSupportedWireProtocolVersions()
                          +
                        +
                        + diff --git a/apidocs/latest1x/org/glassfish/tyrus/core/WebSocketException.html b/apidocs/latest1x/org/glassfish/tyrus/core/WebSocketException.html index 8eececbb..e175fb31 100644 --- a/apidocs/latest1x/org/glassfish/tyrus/core/WebSocketException.html +++ b/apidocs/latest1x/org/glassfish/tyrus/core/WebSocketException.html @@ -1,44 +1,58 @@ - + - + +WebSocketException (Tyrus 1.19 API) -WebSocketException (Tyrus 1.18 API) - + + + + + + + + +var pathtoroot = "../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
                        + +
                        +
                        -
                        org.glassfish.tyrus.core
                        +

                        Class WebSocketException

                        @@ -125,14 +149,13 @@ var activeTableTab = "activeTableTab";
                      • All Implemented Interfaces:
                        -
                        java.io.Serializable
                        +
                        java.io.Serializable
                        Direct Known Subclasses:
                        -
                        ProtocolException, Utf8DecodingException
                        +
                        ProtocolException, Utf8DecodingException

                        -
                        public abstract class WebSocketException
                         extends java.lang.RuntimeException
                        WebSocketException can be thrown during runtime (after handshake).
                        @@ -147,52 +170,59 @@ extends java.lang.RuntimeException
                        • +
                          +
                          +
                            -
                          • +
                          • Method Summary

                            - +
                            - + + - +
                            All Methods Instance Methods Abstract Methods 
                            Modifier and TypeMethod and DescriptionMethodDescription
                            abstract CloseReasongetCloseReason() +getCloseReason()
                            Get close reason.
                              -
                            • +
                            • Methods inherited from class java.lang.Throwable

                              addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
                              -
                            • +
                            • Methods inherited from class java.lang.Object

                              @@ -200,6 +230,7 @@ extends java.lang.RuntimeException
                          +
                      • @@ -207,19 +238,20 @@ extends java.lang.RuntimeException
                        • +
                            -
                          • +
                          • Constructor Detail

                            - +
                            • WebSocketException

                              -
                              public WebSocketException(java.lang.String message)
                              -
                              Create new WebSocketException.
                              +
                              public WebSocketException​(java.lang.String message)
                              +
                              Create new WebSocketException.
                              Parameters:
                              message - excetion message.
                              @@ -228,19 +260,21 @@ extends java.lang.RuntimeException
                          +
                          +
                            -
                          • +
                          • Method Detail

                            - +
                            • getCloseReason

                              -
                              public abstract CloseReason getCloseReason()
                              +
                              public abstract CloseReason getCloseReason()
                              Get close reason.
                              Returns:
                              @@ -250,21 +284,25 @@ extends java.lang.RuntimeException
                          +
                        +
                        + diff --git a/apidocs/latest1x/org/glassfish/tyrus/core/class-use/AnnotatedEndpoint.html b/apidocs/latest1x/org/glassfish/tyrus/core/class-use/AnnotatedEndpoint.html index f3dfda0d..bc833739 100644 --- a/apidocs/latest1x/org/glassfish/tyrus/core/class-use/AnnotatedEndpoint.html +++ b/apidocs/latest1x/org/glassfish/tyrus/core/class-use/AnnotatedEndpoint.html @@ -1,40 +1,54 @@ - + - + +Uses of Class org.glassfish.tyrus.core.AnnotatedEndpoint (Tyrus 1.19 API) -Uses of Class org.glassfish.tyrus.core.AnnotatedEndpoint (Tyrus 1.18 API) - + + + + + + + + +var pathtoroot = "../../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
                        + +
                        +

                        Uses of Class
                        org.glassfish.tyrus.core.AnnotatedEndpoint

                        +
                        + diff --git a/apidocs/latest1x/org/glassfish/tyrus/core/class-use/BaseContainer.ShutDownCondition.html b/apidocs/latest1x/org/glassfish/tyrus/core/class-use/BaseContainer.ShutDownCondition.html index 41173f07..62522816 100644 --- a/apidocs/latest1x/org/glassfish/tyrus/core/class-use/BaseContainer.ShutDownCondition.html +++ b/apidocs/latest1x/org/glassfish/tyrus/core/class-use/BaseContainer.ShutDownCondition.html @@ -1,40 +1,54 @@ - + - + +Uses of Interface org.glassfish.tyrus.core.BaseContainer.ShutDownCondition (Tyrus 1.19 API) -Uses of Interface org.glassfish.tyrus.core.BaseContainer.ShutDownCondition (Tyrus 1.18 API) - + + + + + + + + +var pathtoroot = "../../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
                        + +
                        +

                        Uses of Interface
                        org.glassfish.tyrus.core.BaseContainer.ShutDownCondition

                        +
                        + diff --git a/apidocs/latest1x/org/glassfish/tyrus/core/class-use/BaseContainer.html b/apidocs/latest1x/org/glassfish/tyrus/core/class-use/BaseContainer.html index 7b3ec4b8..5f2a7a72 100644 --- a/apidocs/latest1x/org/glassfish/tyrus/core/class-use/BaseContainer.html +++ b/apidocs/latest1x/org/glassfish/tyrus/core/class-use/BaseContainer.html @@ -1,40 +1,54 @@ - + - + +Uses of Class org.glassfish.tyrus.core.BaseContainer (Tyrus 1.19 API) -Uses of Class org.glassfish.tyrus.core.BaseContainer (Tyrus 1.18 API) - + + + + + + + + +var pathtoroot = "../../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
                        + +
                        +

                        Uses of Class
                        org.glassfish.tyrus.core.BaseContainer

                        +
                        + diff --git a/apidocs/latest1x/org/glassfish/tyrus/core/class-use/Beta.html b/apidocs/latest1x/org/glassfish/tyrus/core/class-use/Beta.html index bea4c18e..e6614cb0 100644 --- a/apidocs/latest1x/org/glassfish/tyrus/core/class-use/Beta.html +++ b/apidocs/latest1x/org/glassfish/tyrus/core/class-use/Beta.html @@ -1,40 +1,54 @@ - + - + +Uses of Class org.glassfish.tyrus.core.Beta (Tyrus 1.19 API) -Uses of Class org.glassfish.tyrus.core.Beta (Tyrus 1.18 API) - + + + + + + + + +var pathtoroot = "../../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
                        + +
                        +

                        Uses of Class
                        org.glassfish.tyrus.core.Beta

                        +
                        + diff --git a/apidocs/latest1x/org/glassfish/tyrus/core/class-use/CloseReasons.html b/apidocs/latest1x/org/glassfish/tyrus/core/class-use/CloseReasons.html index 7c35e029..498d24ff 100644 --- a/apidocs/latest1x/org/glassfish/tyrus/core/class-use/CloseReasons.html +++ b/apidocs/latest1x/org/glassfish/tyrus/core/class-use/CloseReasons.html @@ -1,40 +1,54 @@ - + - + +Uses of Class org.glassfish.tyrus.core.CloseReasons (Tyrus 1.19 API) -Uses of Class org.glassfish.tyrus.core.CloseReasons (Tyrus 1.18 API) - + + + + + + + + +var pathtoroot = "../../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
                        + +
                        +

                        Uses of Class
                        org.glassfish.tyrus.core.CloseReasons

                        +
                        + diff --git a/apidocs/latest1x/org/glassfish/tyrus/core/class-use/ComponentProvider.html b/apidocs/latest1x/org/glassfish/tyrus/core/class-use/ComponentProvider.html index 045947fc..9d3a708f 100644 --- a/apidocs/latest1x/org/glassfish/tyrus/core/class-use/ComponentProvider.html +++ b/apidocs/latest1x/org/glassfish/tyrus/core/class-use/ComponentProvider.html @@ -1,40 +1,54 @@ - + - + +Uses of Class org.glassfish.tyrus.core.ComponentProvider (Tyrus 1.19 API) -Uses of Class org.glassfish.tyrus.core.ComponentProvider (Tyrus 1.18 API) - + + + + + + + + +var pathtoroot = "../../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
                        + +
                        +

                        Uses of Class
                        org.glassfish.tyrus.core.ComponentProvider

                        +
                        + diff --git a/apidocs/latest1x/org/glassfish/tyrus/core/class-use/ComponentProviderService.html b/apidocs/latest1x/org/glassfish/tyrus/core/class-use/ComponentProviderService.html index 12164813..5de6cb69 100644 --- a/apidocs/latest1x/org/glassfish/tyrus/core/class-use/ComponentProviderService.html +++ b/apidocs/latest1x/org/glassfish/tyrus/core/class-use/ComponentProviderService.html @@ -1,40 +1,54 @@ - + - + +Uses of Class org.glassfish.tyrus.core.ComponentProviderService (Tyrus 1.19 API) -Uses of Class org.glassfish.tyrus.core.ComponentProviderService (Tyrus 1.18 API) - + + + + + + + + +var pathtoroot = "../../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
                        + +
                        +

                        Uses of Class
                        org.glassfish.tyrus.core.ComponentProviderService

                        +
                        + diff --git a/apidocs/latest1x/org/glassfish/tyrus/core/class-use/DebugContext.TracingThreshold.html b/apidocs/latest1x/org/glassfish/tyrus/core/class-use/DebugContext.TracingThreshold.html index f871a33e..bafe8008 100644 --- a/apidocs/latest1x/org/glassfish/tyrus/core/class-use/DebugContext.TracingThreshold.html +++ b/apidocs/latest1x/org/glassfish/tyrus/core/class-use/DebugContext.TracingThreshold.html @@ -1,40 +1,54 @@ - + - + +Uses of Class org.glassfish.tyrus.core.DebugContext.TracingThreshold (Tyrus 1.19 API) -Uses of Class org.glassfish.tyrus.core.DebugContext.TracingThreshold (Tyrus 1.18 API) - + + + + + + + + +var pathtoroot = "../../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
                        + +
                        +

                        Uses of Class
                        org.glassfish.tyrus.core.DebugContext.TracingThreshold

                        +
                        + diff --git a/apidocs/latest1x/org/glassfish/tyrus/core/class-use/DebugContext.TracingType.html b/apidocs/latest1x/org/glassfish/tyrus/core/class-use/DebugContext.TracingType.html index 5e8e986a..6a4f94f0 100644 --- a/apidocs/latest1x/org/glassfish/tyrus/core/class-use/DebugContext.TracingType.html +++ b/apidocs/latest1x/org/glassfish/tyrus/core/class-use/DebugContext.TracingType.html @@ -1,40 +1,54 @@ - + - + +Uses of Class org.glassfish.tyrus.core.DebugContext.TracingType (Tyrus 1.19 API) -Uses of Class org.glassfish.tyrus.core.DebugContext.TracingType (Tyrus 1.18 API) - + + + + + + + + +var pathtoroot = "../../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
                        + +
                        +

                        Uses of Class
                        org.glassfish.tyrus.core.DebugContext.TracingType

                        +
                        + diff --git a/apidocs/latest1x/org/glassfish/tyrus/core/class-use/DebugContext.Type.html b/apidocs/latest1x/org/glassfish/tyrus/core/class-use/DebugContext.Type.html index 2aa3d67e..c9f09e12 100644 --- a/apidocs/latest1x/org/glassfish/tyrus/core/class-use/DebugContext.Type.html +++ b/apidocs/latest1x/org/glassfish/tyrus/core/class-use/DebugContext.Type.html @@ -1,40 +1,54 @@ - + - + +Uses of Class org.glassfish.tyrus.core.DebugContext.Type (Tyrus 1.19 API) -Uses of Class org.glassfish.tyrus.core.DebugContext.Type (Tyrus 1.18 API) - + + + + + + + + +var pathtoroot = "../../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
                        + +
                        +

                        Uses of Class
                        org.glassfish.tyrus.core.DebugContext.Type

                        +
                        + diff --git a/apidocs/latest1x/org/glassfish/tyrus/core/class-use/DebugContext.html b/apidocs/latest1x/org/glassfish/tyrus/core/class-use/DebugContext.html index 93308a3f..cb9942ac 100644 --- a/apidocs/latest1x/org/glassfish/tyrus/core/class-use/DebugContext.html +++ b/apidocs/latest1x/org/glassfish/tyrus/core/class-use/DebugContext.html @@ -1,40 +1,54 @@ - + - + +Uses of Class org.glassfish.tyrus.core.DebugContext (Tyrus 1.19 API) -Uses of Class org.glassfish.tyrus.core.DebugContext (Tyrus 1.18 API) - + + + + + + + + +var pathtoroot = "../../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
                        + +
                        +

                        Uses of Class
                        org.glassfish.tyrus.core.DebugContext

                        +
                        + diff --git a/apidocs/latest1x/org/glassfish/tyrus/core/class-use/DefaultComponentProvider.html b/apidocs/latest1x/org/glassfish/tyrus/core/class-use/DefaultComponentProvider.html index c59c8aab..6bdace78 100644 --- a/apidocs/latest1x/org/glassfish/tyrus/core/class-use/DefaultComponentProvider.html +++ b/apidocs/latest1x/org/glassfish/tyrus/core/class-use/DefaultComponentProvider.html @@ -1,40 +1,54 @@ - + - + +Uses of Class org.glassfish.tyrus.core.DefaultComponentProvider (Tyrus 1.19 API) -Uses of Class org.glassfish.tyrus.core.DefaultComponentProvider (Tyrus 1.18 API) - + + + + + + + + +var pathtoroot = "../../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
                        + +
                        +

                        Uses of Class
                        org.glassfish.tyrus.core.DefaultComponentProvider

                        No usage of org.glassfish.tyrus.core.DefaultComponentProvider
                        +
                        + diff --git a/apidocs/latest1x/org/glassfish/tyrus/core/class-use/ErrorCollector.html b/apidocs/latest1x/org/glassfish/tyrus/core/class-use/ErrorCollector.html index 3fd67228..89647415 100644 --- a/apidocs/latest1x/org/glassfish/tyrus/core/class-use/ErrorCollector.html +++ b/apidocs/latest1x/org/glassfish/tyrus/core/class-use/ErrorCollector.html @@ -1,40 +1,54 @@ - + - + +Uses of Class org.glassfish.tyrus.core.ErrorCollector (Tyrus 1.19 API) -Uses of Class org.glassfish.tyrus.core.ErrorCollector (Tyrus 1.18 API) - + + + + + + + + +var pathtoroot = "../../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
                        + +
                        +

                        Uses of Class
                        org.glassfish.tyrus.core.ErrorCollector

                        +
                        + diff --git a/apidocs/latest1x/org/glassfish/tyrus/core/class-use/ExecutorServiceProvider.html b/apidocs/latest1x/org/glassfish/tyrus/core/class-use/ExecutorServiceProvider.html index 1883f50a..63b719fa 100644 --- a/apidocs/latest1x/org/glassfish/tyrus/core/class-use/ExecutorServiceProvider.html +++ b/apidocs/latest1x/org/glassfish/tyrus/core/class-use/ExecutorServiceProvider.html @@ -1,40 +1,54 @@ - + - + +Uses of Class org.glassfish.tyrus.core.ExecutorServiceProvider (Tyrus 1.19 API) -Uses of Class org.glassfish.tyrus.core.ExecutorServiceProvider (Tyrus 1.18 API) - + + + + + + + + +var pathtoroot = "../../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
                        + +
                        +

                        Uses of Class
                        org.glassfish.tyrus.core.ExecutorServiceProvider

                        +
                        + diff --git a/apidocs/latest1x/org/glassfish/tyrus/core/class-use/Handshake.html b/apidocs/latest1x/org/glassfish/tyrus/core/class-use/Handshake.html index e5c7d849..115002fe 100644 --- a/apidocs/latest1x/org/glassfish/tyrus/core/class-use/Handshake.html +++ b/apidocs/latest1x/org/glassfish/tyrus/core/class-use/Handshake.html @@ -1,40 +1,54 @@ - + - + +Uses of Class org.glassfish.tyrus.core.Handshake (Tyrus 1.19 API) -Uses of Class org.glassfish.tyrus.core.Handshake (Tyrus 1.18 API) - + + + + + + + + +var pathtoroot = "../../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
                        + +
                        +

                        Uses of Class
                        org.glassfish.tyrus.core.Handshake

                        +
                        + diff --git a/apidocs/latest1x/org/glassfish/tyrus/core/class-use/HandshakeException.html b/apidocs/latest1x/org/glassfish/tyrus/core/class-use/HandshakeException.html index f40b82a9..8318d58b 100644 --- a/apidocs/latest1x/org/glassfish/tyrus/core/class-use/HandshakeException.html +++ b/apidocs/latest1x/org/glassfish/tyrus/core/class-use/HandshakeException.html @@ -1,40 +1,54 @@ - + - + +Uses of Class org.glassfish.tyrus.core.HandshakeException (Tyrus 1.19 API) -Uses of Class org.glassfish.tyrus.core.HandshakeException (Tyrus 1.18 API) - + + + + + + + + +var pathtoroot = "../../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
                        + +
                        +

                        Uses of Class
                        org.glassfish.tyrus.core.HandshakeException

                        +
                        + diff --git a/apidocs/latest1x/org/glassfish/tyrus/core/class-use/MaskingKeyGenerator.html b/apidocs/latest1x/org/glassfish/tyrus/core/class-use/MaskingKeyGenerator.html index 7582d3ce..7962add3 100644 --- a/apidocs/latest1x/org/glassfish/tyrus/core/class-use/MaskingKeyGenerator.html +++ b/apidocs/latest1x/org/glassfish/tyrus/core/class-use/MaskingKeyGenerator.html @@ -1,40 +1,54 @@ - + - + +Uses of Interface org.glassfish.tyrus.core.MaskingKeyGenerator (Tyrus 1.19 API) -Uses of Interface org.glassfish.tyrus.core.MaskingKeyGenerator (Tyrus 1.18 API) - + + + + + + + + +var pathtoroot = "../../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
                        + +
                        +

                        Uses of Interface
                        org.glassfish.tyrus.core.MaskingKeyGenerator

                        +
                        + diff --git a/apidocs/latest1x/org/glassfish/tyrus/core/class-use/MaxSessions.html b/apidocs/latest1x/org/glassfish/tyrus/core/class-use/MaxSessions.html index e42640fa..8ec39fc4 100644 --- a/apidocs/latest1x/org/glassfish/tyrus/core/class-use/MaxSessions.html +++ b/apidocs/latest1x/org/glassfish/tyrus/core/class-use/MaxSessions.html @@ -1,40 +1,54 @@ - + - + +Uses of Class org.glassfish.tyrus.core.MaxSessions (Tyrus 1.19 API) -Uses of Class org.glassfish.tyrus.core.MaxSessions (Tyrus 1.18 API) - + + + + + + + + +var pathtoroot = "../../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
                        + +
                        +

                        Uses of Class
                        org.glassfish.tyrus.core.MaxSessions

                        No usage of org.glassfish.tyrus.core.MaxSessions
                        +
                        + diff --git a/apidocs/latest1x/org/glassfish/tyrus/core/class-use/MessageHandlerManager.html b/apidocs/latest1x/org/glassfish/tyrus/core/class-use/MessageHandlerManager.html index 43db8a60..dcbd4df6 100644 --- a/apidocs/latest1x/org/glassfish/tyrus/core/class-use/MessageHandlerManager.html +++ b/apidocs/latest1x/org/glassfish/tyrus/core/class-use/MessageHandlerManager.html @@ -1,40 +1,54 @@ - + - + +Uses of Class org.glassfish.tyrus.core.MessageHandlerManager (Tyrus 1.19 API) -Uses of Class org.glassfish.tyrus.core.MessageHandlerManager (Tyrus 1.18 API) - + + + + + + + + +var pathtoroot = "../../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
                        + +
                        +

                        Uses of Class
                        org.glassfish.tyrus.core.MessageHandlerManager

                        +
                        + diff --git a/apidocs/latest1x/org/glassfish/tyrus/core/class-use/OsgiRegistry.html b/apidocs/latest1x/org/glassfish/tyrus/core/class-use/OsgiRegistry.html index 7c6456a3..a93b04db 100644 --- a/apidocs/latest1x/org/glassfish/tyrus/core/class-use/OsgiRegistry.html +++ b/apidocs/latest1x/org/glassfish/tyrus/core/class-use/OsgiRegistry.html @@ -1,40 +1,54 @@ - + - + +Uses of Class org.glassfish.tyrus.core.OsgiRegistry (Tyrus 1.19 API) -Uses of Class org.glassfish.tyrus.core.OsgiRegistry (Tyrus 1.18 API) - + + + + + + + + +var pathtoroot = "../../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
                        + +
                        +

                        Uses of Class
                        org.glassfish.tyrus.core.OsgiRegistry

                        +
                        + diff --git a/apidocs/latest1x/org/glassfish/tyrus/core/class-use/ProtocolException.html b/apidocs/latest1x/org/glassfish/tyrus/core/class-use/ProtocolException.html index 5a160cb9..481942fd 100644 --- a/apidocs/latest1x/org/glassfish/tyrus/core/class-use/ProtocolException.html +++ b/apidocs/latest1x/org/glassfish/tyrus/core/class-use/ProtocolException.html @@ -1,40 +1,54 @@ - + - + +Uses of Class org.glassfish.tyrus.core.ProtocolException (Tyrus 1.19 API) -Uses of Class org.glassfish.tyrus.core.ProtocolException (Tyrus 1.18 API) - + + + + + + + + +var pathtoroot = "../../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
                        + +
                        +

                        Uses of Class
                        org.glassfish.tyrus.core.ProtocolException

                        No usage of org.glassfish.tyrus.core.ProtocolException
                        +
                        + diff --git a/apidocs/latest1x/org/glassfish/tyrus/core/class-use/ProtocolHandler.html b/apidocs/latest1x/org/glassfish/tyrus/core/class-use/ProtocolHandler.html index 616a024d..37206eb0 100644 --- a/apidocs/latest1x/org/glassfish/tyrus/core/class-use/ProtocolHandler.html +++ b/apidocs/latest1x/org/glassfish/tyrus/core/class-use/ProtocolHandler.html @@ -1,40 +1,54 @@ - + - + +Uses of Class org.glassfish.tyrus.core.ProtocolHandler (Tyrus 1.19 API) -Uses of Class org.glassfish.tyrus.core.ProtocolHandler (Tyrus 1.18 API) - + + + + + + + + +var pathtoroot = "../../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
                        + +
                        +

                        Uses of Class
                        org.glassfish.tyrus.core.ProtocolHandler

                        +
                        + diff --git a/apidocs/latest1x/org/glassfish/tyrus/core/class-use/ReflectionHelper.ClassTypePair.html b/apidocs/latest1x/org/glassfish/tyrus/core/class-use/ReflectionHelper.ClassTypePair.html index cc356532..6ff45237 100644 --- a/apidocs/latest1x/org/glassfish/tyrus/core/class-use/ReflectionHelper.ClassTypePair.html +++ b/apidocs/latest1x/org/glassfish/tyrus/core/class-use/ReflectionHelper.ClassTypePair.html @@ -1,40 +1,54 @@ - + - + +Uses of Class org.glassfish.tyrus.core.ReflectionHelper.ClassTypePair (Tyrus 1.19 API) -Uses of Class org.glassfish.tyrus.core.ReflectionHelper.ClassTypePair (Tyrus 1.18 API) - + + + + + + + + +var pathtoroot = "../../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
                        + +
                        +

                        Uses of Class
                        org.glassfish.tyrus.core.ReflectionHelper.ClassTypePair

                        +
                        + diff --git a/apidocs/latest1x/org/glassfish/tyrus/core/class-use/ReflectionHelper.DeclaringClassInterfacePair.html b/apidocs/latest1x/org/glassfish/tyrus/core/class-use/ReflectionHelper.DeclaringClassInterfacePair.html index 3208aa23..98cfee78 100644 --- a/apidocs/latest1x/org/glassfish/tyrus/core/class-use/ReflectionHelper.DeclaringClassInterfacePair.html +++ b/apidocs/latest1x/org/glassfish/tyrus/core/class-use/ReflectionHelper.DeclaringClassInterfacePair.html @@ -1,40 +1,54 @@ - + - + +Uses of Class org.glassfish.tyrus.core.ReflectionHelper.DeclaringClassInterfacePair (Tyrus 1.19 API) -Uses of Class org.glassfish.tyrus.core.ReflectionHelper.DeclaringClassInterfacePair (Tyrus 1.18 API) - + + + + + + + + +var pathtoroot = "../../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
                        + +
                        +

                        Uses of Class
                        org.glassfish.tyrus.core.ReflectionHelper.DeclaringClassInterfacePair

                        +
                        + diff --git a/apidocs/latest1x/org/glassfish/tyrus/core/class-use/ReflectionHelper.TypeClassPair.html b/apidocs/latest1x/org/glassfish/tyrus/core/class-use/ReflectionHelper.TypeClassPair.html index 07617b61..65690c07 100644 --- a/apidocs/latest1x/org/glassfish/tyrus/core/class-use/ReflectionHelper.TypeClassPair.html +++ b/apidocs/latest1x/org/glassfish/tyrus/core/class-use/ReflectionHelper.TypeClassPair.html @@ -1,40 +1,54 @@ - + - + +Uses of Class org.glassfish.tyrus.core.ReflectionHelper.TypeClassPair (Tyrus 1.19 API) -Uses of Class org.glassfish.tyrus.core.ReflectionHelper.TypeClassPair (Tyrus 1.18 API) - + + + + + + + + +var pathtoroot = "../../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
                        + +
                        +

                        Uses of Class
                        org.glassfish.tyrus.core.ReflectionHelper.TypeClassPair

                        +
                        + diff --git a/apidocs/latest1x/org/glassfish/tyrus/core/class-use/ReflectionHelper.html b/apidocs/latest1x/org/glassfish/tyrus/core/class-use/ReflectionHelper.html index 679ecd85..1c18e0b4 100644 --- a/apidocs/latest1x/org/glassfish/tyrus/core/class-use/ReflectionHelper.html +++ b/apidocs/latest1x/org/glassfish/tyrus/core/class-use/ReflectionHelper.html @@ -1,40 +1,54 @@ - + - + +Uses of Class org.glassfish.tyrus.core.ReflectionHelper (Tyrus 1.19 API) -Uses of Class org.glassfish.tyrus.core.ReflectionHelper (Tyrus 1.18 API) - + + + + + + + + +var pathtoroot = "../../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
                        + +
                        +

                        Uses of Class
                        org.glassfish.tyrus.core.ReflectionHelper

                        No usage of org.glassfish.tyrus.core.ReflectionHelper
                        +
                        + diff --git a/apidocs/latest1x/org/glassfish/tyrus/core/class-use/RequestContext.Builder.IsUserInRoleDelegate.html b/apidocs/latest1x/org/glassfish/tyrus/core/class-use/RequestContext.Builder.IsUserInRoleDelegate.html index 9938796f..25267b46 100644 --- a/apidocs/latest1x/org/glassfish/tyrus/core/class-use/RequestContext.Builder.IsUserInRoleDelegate.html +++ b/apidocs/latest1x/org/glassfish/tyrus/core/class-use/RequestContext.Builder.IsUserInRoleDelegate.html @@ -1,40 +1,54 @@ - + - + +Uses of Interface org.glassfish.tyrus.core.RequestContext.Builder.IsUserInRoleDelegate (Tyrus 1.19 API) -Uses of Interface org.glassfish.tyrus.core.RequestContext.Builder.IsUserInRoleDelegate (Tyrus 1.18 API) - + + + + + + + + +var pathtoroot = "../../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
                        + +
                        +

                        Uses of Interface
                        org.glassfish.tyrus.core.RequestContext.Builder.IsUserInRoleDelegate

                        +
                        + diff --git a/apidocs/latest1x/org/glassfish/tyrus/core/class-use/RequestContext.Builder.html b/apidocs/latest1x/org/glassfish/tyrus/core/class-use/RequestContext.Builder.html index ee4c5c4b..8eb9d530 100644 --- a/apidocs/latest1x/org/glassfish/tyrus/core/class-use/RequestContext.Builder.html +++ b/apidocs/latest1x/org/glassfish/tyrus/core/class-use/RequestContext.Builder.html @@ -1,40 +1,54 @@ - + - + +Uses of Class org.glassfish.tyrus.core.RequestContext.Builder (Tyrus 1.19 API) -Uses of Class org.glassfish.tyrus.core.RequestContext.Builder (Tyrus 1.18 API) - + + + + + + + + +var pathtoroot = "../../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
                        + +
                        +

                        Uses of Class
                        org.glassfish.tyrus.core.RequestContext.Builder

                        +
                        + diff --git a/apidocs/latest1x/org/glassfish/tyrus/core/class-use/RequestContext.html b/apidocs/latest1x/org/glassfish/tyrus/core/class-use/RequestContext.html index e9f7f66c..7ec9db1e 100644 --- a/apidocs/latest1x/org/glassfish/tyrus/core/class-use/RequestContext.html +++ b/apidocs/latest1x/org/glassfish/tyrus/core/class-use/RequestContext.html @@ -1,40 +1,54 @@ - + - + +Uses of Class org.glassfish.tyrus.core.RequestContext (Tyrus 1.19 API) -Uses of Class org.glassfish.tyrus.core.RequestContext (Tyrus 1.18 API) - + + + + + + + + +var pathtoroot = "../../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
                        + +
                        +

                        Uses of Class
                        org.glassfish.tyrus.core.RequestContext

                        +
                        + diff --git a/apidocs/latest1x/org/glassfish/tyrus/core/class-use/ServiceConfigurationError.html b/apidocs/latest1x/org/glassfish/tyrus/core/class-use/ServiceConfigurationError.html index b465453e..d0b593e6 100644 --- a/apidocs/latest1x/org/glassfish/tyrus/core/class-use/ServiceConfigurationError.html +++ b/apidocs/latest1x/org/glassfish/tyrus/core/class-use/ServiceConfigurationError.html @@ -1,40 +1,54 @@ - + - + +Uses of Class org.glassfish.tyrus.core.ServiceConfigurationError (Tyrus 1.19 API) -Uses of Class org.glassfish.tyrus.core.ServiceConfigurationError (Tyrus 1.18 API) - + + + + + + + + +var pathtoroot = "../../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
                        + +
                        +

                        Uses of Class
                        org.glassfish.tyrus.core.ServiceConfigurationError

                        +
                        + diff --git a/apidocs/latest1x/org/glassfish/tyrus/core/class-use/ServiceFinder.DefaultServiceIteratorProvider.html b/apidocs/latest1x/org/glassfish/tyrus/core/class-use/ServiceFinder.DefaultServiceIteratorProvider.html index 64bfa13b..91e1756f 100644 --- a/apidocs/latest1x/org/glassfish/tyrus/core/class-use/ServiceFinder.DefaultServiceIteratorProvider.html +++ b/apidocs/latest1x/org/glassfish/tyrus/core/class-use/ServiceFinder.DefaultServiceIteratorProvider.html @@ -1,40 +1,54 @@ - + - + +Uses of Class org.glassfish.tyrus.core.ServiceFinder.DefaultServiceIteratorProvider (Tyrus 1.19 API) -Uses of Class org.glassfish.tyrus.core.ServiceFinder.DefaultServiceIteratorProvider (Tyrus 1.18 API) - + + + + + + + + +var pathtoroot = "../../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
                        + +
                        +

                        Uses of Class
                        org.glassfish.tyrus.core.ServiceFinder.DefaultServiceIteratorProvider

                        No usage of org.glassfish.tyrus.core.ServiceFinder.DefaultServiceIteratorProvider
                        +
                        + diff --git a/apidocs/latest1x/org/glassfish/tyrus/core/class-use/ServiceFinder.ServiceIteratorProvider.html b/apidocs/latest1x/org/glassfish/tyrus/core/class-use/ServiceFinder.ServiceIteratorProvider.html index a0a28029..fd445478 100644 --- a/apidocs/latest1x/org/glassfish/tyrus/core/class-use/ServiceFinder.ServiceIteratorProvider.html +++ b/apidocs/latest1x/org/glassfish/tyrus/core/class-use/ServiceFinder.ServiceIteratorProvider.html @@ -1,40 +1,54 @@ - + - + +Uses of Class org.glassfish.tyrus.core.ServiceFinder.ServiceIteratorProvider (Tyrus 1.19 API) -Uses of Class org.glassfish.tyrus.core.ServiceFinder.ServiceIteratorProvider (Tyrus 1.18 API) - + + + + + + + + +var pathtoroot = "../../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
                        + +
                        +

                        Uses of Class
                        org.glassfish.tyrus.core.ServiceFinder.ServiceIteratorProvider

                        +
                        + diff --git a/apidocs/latest1x/org/glassfish/tyrus/core/class-use/ServiceFinder.html b/apidocs/latest1x/org/glassfish/tyrus/core/class-use/ServiceFinder.html index 1140068e..f7dbe533 100644 --- a/apidocs/latest1x/org/glassfish/tyrus/core/class-use/ServiceFinder.html +++ b/apidocs/latest1x/org/glassfish/tyrus/core/class-use/ServiceFinder.html @@ -1,40 +1,54 @@ - + - + +Uses of Class org.glassfish.tyrus.core.ServiceFinder (Tyrus 1.19 API) -Uses of Class org.glassfish.tyrus.core.ServiceFinder (Tyrus 1.18 API) - + + + + + + + + +var pathtoroot = "../../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
                        + +
                        +

                        Uses of Class
                        org.glassfish.tyrus.core.ServiceFinder

                        • - - +
                          Packages that use ServiceFinder 
                          + - + @@ -94,75 +118,86 @@
                        • Packages that use ServiceFinder 
                          Package Description
                          org.glassfish.tyrus.coreorg.glassfish.tyrus.core
                          Core classes.
                          - +

                          Uses of ServiceFinder in org.glassfish.tyrus.core

                          +
                          Methods in org.glassfish.tyrus.core that return ServiceFinder 
                          + - + + - - + + - - + + - - + + - - + + - - + +
                          Methods in org.glassfish.tyrus.core that return ServiceFinder 
                          Modifier and TypeMethod and DescriptionMethodDescription
                          static <T> ServiceFinder<T>ServiceFinder.find(java.lang.Class<T> service) +static <T> ServiceFinder<T>ServiceFinder.find​(java.lang.Class<T> service)
                          Locates and incrementally instantiates the available providers of a given service using the context class loader.
                          static <T> ServiceFinder<T>ServiceFinder.find(java.lang.Class<T> service, - boolean ignoreOnClassNotFound) +static <T> ServiceFinder<T>ServiceFinder.find​(java.lang.Class<T> service, + boolean ignoreOnClassNotFound)
                          Locates and incrementally instantiates the available providers of a given service using the context class loader.
                          static <T> ServiceFinder<T>ServiceFinder.find(java.lang.Class<T> service, - java.lang.ClassLoader loader) +static <T> ServiceFinder<T>ServiceFinder.find​(java.lang.Class<T> service, + java.lang.ClassLoader loader)
                          Locates and incrementally instantiates the available providers of a given service using the given class loader.
                          static <T> ServiceFinder<T>ServiceFinder.find(java.lang.Class<T> service, +static <T> ServiceFinder<T>ServiceFinder.find​(java.lang.Class<T> service, java.lang.ClassLoader loader, - boolean ignoreOnClassNotFound) + boolean ignoreOnClassNotFound)
                          Locates and incrementally instantiates the available providers of a given service using the given class loader.
                          static ServiceFinder<?>ServiceFinder.find(java.lang.String serviceName) +static ServiceFinder<?>ServiceFinder.find​(java.lang.String serviceName)
                          Locates and incrementally instantiates the available classes of a given service file using the context class loader.
                          +
                        +
                        + diff --git a/apidocs/latest1x/org/glassfish/tyrus/core/class-use/StrictUtf8.Parser.html b/apidocs/latest1x/org/glassfish/tyrus/core/class-use/StrictUtf8.Parser.html index 573a3b05..72e6b676 100644 --- a/apidocs/latest1x/org/glassfish/tyrus/core/class-use/StrictUtf8.Parser.html +++ b/apidocs/latest1x/org/glassfish/tyrus/core/class-use/StrictUtf8.Parser.html @@ -1,40 +1,54 @@ - + - + +Uses of Class org.glassfish.tyrus.core.StrictUtf8.Parser (Tyrus 1.19 API) -Uses of Class org.glassfish.tyrus.core.StrictUtf8.Parser (Tyrus 1.18 API) - + + + + + + + + +var pathtoroot = "../../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
                        + +
                        +

                        Uses of Class
                        org.glassfish.tyrus.core.StrictUtf8.Parser

                        No usage of org.glassfish.tyrus.core.StrictUtf8.Parser
                        +
                        + diff --git a/apidocs/latest1x/org/glassfish/tyrus/core/class-use/StrictUtf8.html b/apidocs/latest1x/org/glassfish/tyrus/core/class-use/StrictUtf8.html index ddd81dbc..68c0b5b7 100644 --- a/apidocs/latest1x/org/glassfish/tyrus/core/class-use/StrictUtf8.html +++ b/apidocs/latest1x/org/glassfish/tyrus/core/class-use/StrictUtf8.html @@ -1,40 +1,54 @@ - + - + +Uses of Class org.glassfish.tyrus.core.StrictUtf8 (Tyrus 1.19 API) -Uses of Class org.glassfish.tyrus.core.StrictUtf8 (Tyrus 1.18 API) - + + + + + + + + +var pathtoroot = "../../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
                        + +
                        +

                        Uses of Class
                        org.glassfish.tyrus.core.StrictUtf8

                        No usage of org.glassfish.tyrus.core.StrictUtf8
                        +
                        + diff --git a/apidocs/latest1x/org/glassfish/tyrus/core/class-use/TyrusEndpointWrapper.SessionListener.OnOpenResult.html b/apidocs/latest1x/org/glassfish/tyrus/core/class-use/TyrusEndpointWrapper.SessionListener.OnOpenResult.html index 33927223..06f492ed 100644 --- a/apidocs/latest1x/org/glassfish/tyrus/core/class-use/TyrusEndpointWrapper.SessionListener.OnOpenResult.html +++ b/apidocs/latest1x/org/glassfish/tyrus/core/class-use/TyrusEndpointWrapper.SessionListener.OnOpenResult.html @@ -1,40 +1,54 @@ - + - + +Uses of Class org.glassfish.tyrus.core.TyrusEndpointWrapper.SessionListener.OnOpenResult (Tyrus 1.19 API) -Uses of Class org.glassfish.tyrus.core.TyrusEndpointWrapper.SessionListener.OnOpenResult (Tyrus 1.18 API) - + + + + + + + + +var pathtoroot = "../../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
                        + +
                        +

                        Uses of Class
                        org.glassfish.tyrus.core.TyrusEndpointWrapper.SessionListener.OnOpenResult

                        +
                        + diff --git a/apidocs/latest1x/org/glassfish/tyrus/core/class-use/TyrusEndpointWrapper.SessionListener.html b/apidocs/latest1x/org/glassfish/tyrus/core/class-use/TyrusEndpointWrapper.SessionListener.html index 2e367224..3f6fcbc7 100644 --- a/apidocs/latest1x/org/glassfish/tyrus/core/class-use/TyrusEndpointWrapper.SessionListener.html +++ b/apidocs/latest1x/org/glassfish/tyrus/core/class-use/TyrusEndpointWrapper.SessionListener.html @@ -1,40 +1,54 @@ - + - + +Uses of Class org.glassfish.tyrus.core.TyrusEndpointWrapper.SessionListener (Tyrus 1.19 API) -Uses of Class org.glassfish.tyrus.core.TyrusEndpointWrapper.SessionListener (Tyrus 1.18 API) - + + + + + + + + +var pathtoroot = "../../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
                        + +
                        +

                        Uses of Class
                        org.glassfish.tyrus.core.TyrusEndpointWrapper.SessionListener

                        +
                        + diff --git a/apidocs/latest1x/org/glassfish/tyrus/core/class-use/TyrusEndpointWrapper.html b/apidocs/latest1x/org/glassfish/tyrus/core/class-use/TyrusEndpointWrapper.html index 38af931d..eb30dcbb 100644 --- a/apidocs/latest1x/org/glassfish/tyrus/core/class-use/TyrusEndpointWrapper.html +++ b/apidocs/latest1x/org/glassfish/tyrus/core/class-use/TyrusEndpointWrapper.html @@ -1,40 +1,54 @@ - + - + +Uses of Class org.glassfish.tyrus.core.TyrusEndpointWrapper (Tyrus 1.19 API) -Uses of Class org.glassfish.tyrus.core.TyrusEndpointWrapper (Tyrus 1.18 API) - + + + + + + + + +var pathtoroot = "../../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
                        + +
                        +

                        Uses of Class
                        org.glassfish.tyrus.core.TyrusEndpointWrapper

                        +
                        + diff --git a/apidocs/latest1x/org/glassfish/tyrus/core/class-use/TyrusExtension.TyrusParameter.html b/apidocs/latest1x/org/glassfish/tyrus/core/class-use/TyrusExtension.TyrusParameter.html index 90eaf317..97d6edd1 100644 --- a/apidocs/latest1x/org/glassfish/tyrus/core/class-use/TyrusExtension.TyrusParameter.html +++ b/apidocs/latest1x/org/glassfish/tyrus/core/class-use/TyrusExtension.TyrusParameter.html @@ -1,40 +1,54 @@ - + - + +Uses of Class org.glassfish.tyrus.core.TyrusExtension.TyrusParameter (Tyrus 1.19 API) -Uses of Class org.glassfish.tyrus.core.TyrusExtension.TyrusParameter (Tyrus 1.18 API) - + + + + + + + + +var pathtoroot = "../../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
                        + +
                        +

                        Uses of Class
                        org.glassfish.tyrus.core.TyrusExtension.TyrusParameter

                        No usage of org.glassfish.tyrus.core.TyrusExtension.TyrusParameter
                        +
                        + diff --git a/apidocs/latest1x/org/glassfish/tyrus/core/class-use/TyrusExtension.html b/apidocs/latest1x/org/glassfish/tyrus/core/class-use/TyrusExtension.html index 680965f1..b3834732 100644 --- a/apidocs/latest1x/org/glassfish/tyrus/core/class-use/TyrusExtension.html +++ b/apidocs/latest1x/org/glassfish/tyrus/core/class-use/TyrusExtension.html @@ -1,40 +1,54 @@ - + - + +Uses of Class org.glassfish.tyrus.core.TyrusExtension (Tyrus 1.19 API) -Uses of Class org.glassfish.tyrus.core.TyrusExtension (Tyrus 1.18 API) - + + + + + + + + +var pathtoroot = "../../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
                        + +
                        +

                        Uses of Class
                        org.glassfish.tyrus.core.TyrusExtension

                        No usage of org.glassfish.tyrus.core.TyrusExtension
                        +
                        + diff --git a/apidocs/latest1x/org/glassfish/tyrus/core/class-use/TyrusFuture.html b/apidocs/latest1x/org/glassfish/tyrus/core/class-use/TyrusFuture.html index 6e90ae23..6e98d8ae 100644 --- a/apidocs/latest1x/org/glassfish/tyrus/core/class-use/TyrusFuture.html +++ b/apidocs/latest1x/org/glassfish/tyrus/core/class-use/TyrusFuture.html @@ -1,40 +1,54 @@ - + - + +Uses of Class org.glassfish.tyrus.core.TyrusFuture (Tyrus 1.19 API) -Uses of Class org.glassfish.tyrus.core.TyrusFuture (Tyrus 1.18 API) - + + + + + + + + +var pathtoroot = "../../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
                        + +
                        +

                        Uses of Class
                        org.glassfish.tyrus.core.TyrusFuture

                        No usage of org.glassfish.tyrus.core.TyrusFuture
                        +
                        + diff --git a/apidocs/latest1x/org/glassfish/tyrus/core/class-use/TyrusRemoteEndpoint.html b/apidocs/latest1x/org/glassfish/tyrus/core/class-use/TyrusRemoteEndpoint.html index 27b0e7c6..023c043a 100644 --- a/apidocs/latest1x/org/glassfish/tyrus/core/class-use/TyrusRemoteEndpoint.html +++ b/apidocs/latest1x/org/glassfish/tyrus/core/class-use/TyrusRemoteEndpoint.html @@ -1,40 +1,54 @@ - + - + +Uses of Class org.glassfish.tyrus.core.TyrusRemoteEndpoint (Tyrus 1.19 API) -Uses of Class org.glassfish.tyrus.core.TyrusRemoteEndpoint (Tyrus 1.18 API) - + + + + + + + + +var pathtoroot = "../../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
                        + +
                        +

                        Uses of Class
                        org.glassfish.tyrus.core.TyrusRemoteEndpoint

                        No usage of org.glassfish.tyrus.core.TyrusRemoteEndpoint
                        +
                        + diff --git a/apidocs/latest1x/org/glassfish/tyrus/core/class-use/TyrusServerEndpointConfig.Builder.html b/apidocs/latest1x/org/glassfish/tyrus/core/class-use/TyrusServerEndpointConfig.Builder.html index 87bdc79d..4aa23ed9 100644 --- a/apidocs/latest1x/org/glassfish/tyrus/core/class-use/TyrusServerEndpointConfig.Builder.html +++ b/apidocs/latest1x/org/glassfish/tyrus/core/class-use/TyrusServerEndpointConfig.Builder.html @@ -1,40 +1,54 @@ - + - + +Uses of Class org.glassfish.tyrus.core.TyrusServerEndpointConfig.Builder (Tyrus 1.19 API) -Uses of Class org.glassfish.tyrus.core.TyrusServerEndpointConfig.Builder (Tyrus 1.18 API) - + + + + + + + + +var pathtoroot = "../../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
                        + +
                        +

                        Uses of Class
                        org.glassfish.tyrus.core.TyrusServerEndpointConfig.Builder

                        +
                        + diff --git a/apidocs/latest1x/org/glassfish/tyrus/core/class-use/TyrusServerEndpointConfig.html b/apidocs/latest1x/org/glassfish/tyrus/core/class-use/TyrusServerEndpointConfig.html index b32f5b7b..bce32df1 100644 --- a/apidocs/latest1x/org/glassfish/tyrus/core/class-use/TyrusServerEndpointConfig.html +++ b/apidocs/latest1x/org/glassfish/tyrus/core/class-use/TyrusServerEndpointConfig.html @@ -1,40 +1,54 @@ - + - + +Uses of Interface org.glassfish.tyrus.core.TyrusServerEndpointConfig (Tyrus 1.19 API) -Uses of Interface org.glassfish.tyrus.core.TyrusServerEndpointConfig (Tyrus 1.18 API) - + + + + + + + + +var pathtoroot = "../../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
                        + +
                        +

                        Uses of Interface
                        org.glassfish.tyrus.core.TyrusServerEndpointConfig

                        +
                        + diff --git a/apidocs/latest1x/org/glassfish/tyrus/core/class-use/TyrusServerEndpointConfigurator.html b/apidocs/latest1x/org/glassfish/tyrus/core/class-use/TyrusServerEndpointConfigurator.html index b61b3275..a66823c3 100644 --- a/apidocs/latest1x/org/glassfish/tyrus/core/class-use/TyrusServerEndpointConfigurator.html +++ b/apidocs/latest1x/org/glassfish/tyrus/core/class-use/TyrusServerEndpointConfigurator.html @@ -1,40 +1,54 @@ - + - + +Uses of Class org.glassfish.tyrus.core.TyrusServerEndpointConfigurator (Tyrus 1.19 API) -Uses of Class org.glassfish.tyrus.core.TyrusServerEndpointConfigurator (Tyrus 1.18 API) - + + + + + + + + +var pathtoroot = "../../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
                        + +
                        +

                        Uses of Class
                        org.glassfish.tyrus.core.TyrusServerEndpointConfigurator

                        No usage of org.glassfish.tyrus.core.TyrusServerEndpointConfigurator
                        +
                        + diff --git a/apidocs/latest1x/org/glassfish/tyrus/core/class-use/TyrusSession.html b/apidocs/latest1x/org/glassfish/tyrus/core/class-use/TyrusSession.html index 98709aaa..fdb1f1be 100644 --- a/apidocs/latest1x/org/glassfish/tyrus/core/class-use/TyrusSession.html +++ b/apidocs/latest1x/org/glassfish/tyrus/core/class-use/TyrusSession.html @@ -1,40 +1,54 @@ - + - + +Uses of Class org.glassfish.tyrus.core.TyrusSession (Tyrus 1.19 API) -Uses of Class org.glassfish.tyrus.core.TyrusSession (Tyrus 1.18 API) - + + + + + + + + +var pathtoroot = "../../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
                        + +
                        +

                        Uses of Class
                        org.glassfish.tyrus.core.TyrusSession

                        +
                        + diff --git a/apidocs/latest1x/org/glassfish/tyrus/core/class-use/TyrusUpgradeResponse.html b/apidocs/latest1x/org/glassfish/tyrus/core/class-use/TyrusUpgradeResponse.html index 2c0f6bd4..4e413ce3 100644 --- a/apidocs/latest1x/org/glassfish/tyrus/core/class-use/TyrusUpgradeResponse.html +++ b/apidocs/latest1x/org/glassfish/tyrus/core/class-use/TyrusUpgradeResponse.html @@ -1,40 +1,54 @@ - + - + +Uses of Class org.glassfish.tyrus.core.TyrusUpgradeResponse (Tyrus 1.19 API) -Uses of Class org.glassfish.tyrus.core.TyrusUpgradeResponse (Tyrus 1.18 API) - + + + + + + + + +var pathtoroot = "../../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
                        + +
                        +

                        Uses of Class
                        org.glassfish.tyrus.core.TyrusUpgradeResponse

                        No usage of org.glassfish.tyrus.core.TyrusUpgradeResponse
                        +
                        + diff --git a/apidocs/latest1x/org/glassfish/tyrus/core/class-use/TyrusWebSocket.html b/apidocs/latest1x/org/glassfish/tyrus/core/class-use/TyrusWebSocket.html index f305c96b..4de117ba 100644 --- a/apidocs/latest1x/org/glassfish/tyrus/core/class-use/TyrusWebSocket.html +++ b/apidocs/latest1x/org/glassfish/tyrus/core/class-use/TyrusWebSocket.html @@ -1,40 +1,54 @@ - + - + +Uses of Class org.glassfish.tyrus.core.TyrusWebSocket (Tyrus 1.19 API) -Uses of Class org.glassfish.tyrus.core.TyrusWebSocket (Tyrus 1.18 API) - + + + + + + + + +var pathtoroot = "../../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
                        + +
                        +

                        Uses of Class
                        org.glassfish.tyrus.core.TyrusWebSocket

                        +
                        + diff --git a/apidocs/latest1x/org/glassfish/tyrus/core/class-use/TyrusWebSocketEngine.TyrusWebSocketEngineBuilder.html b/apidocs/latest1x/org/glassfish/tyrus/core/class-use/TyrusWebSocketEngine.TyrusWebSocketEngineBuilder.html index 93dead7f..bda250b0 100644 --- a/apidocs/latest1x/org/glassfish/tyrus/core/class-use/TyrusWebSocketEngine.TyrusWebSocketEngineBuilder.html +++ b/apidocs/latest1x/org/glassfish/tyrus/core/class-use/TyrusWebSocketEngine.TyrusWebSocketEngineBuilder.html @@ -1,40 +1,54 @@ - + - + +Uses of Class org.glassfish.tyrus.core.TyrusWebSocketEngine.TyrusWebSocketEngineBuilder (Tyrus 1.19 API) -Uses of Class org.glassfish.tyrus.core.TyrusWebSocketEngine.TyrusWebSocketEngineBuilder (Tyrus 1.18 API) - + + + + + + + + +var pathtoroot = "../../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
                        + +
                        +

                        Uses of Class
                        org.glassfish.tyrus.core.TyrusWebSocketEngine.TyrusWebSocketEngineBuilder

                        +
                        + diff --git a/apidocs/latest1x/org/glassfish/tyrus/core/class-use/TyrusWebSocketEngine.html b/apidocs/latest1x/org/glassfish/tyrus/core/class-use/TyrusWebSocketEngine.html index 8d7331a1..da318adb 100644 --- a/apidocs/latest1x/org/glassfish/tyrus/core/class-use/TyrusWebSocketEngine.html +++ b/apidocs/latest1x/org/glassfish/tyrus/core/class-use/TyrusWebSocketEngine.html @@ -1,40 +1,54 @@ - + - + +Uses of Class org.glassfish.tyrus.core.TyrusWebSocketEngine (Tyrus 1.19 API) -Uses of Class org.glassfish.tyrus.core.TyrusWebSocketEngine (Tyrus 1.18 API) - + + + + + + + + +var pathtoroot = "../../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
                        + +
                        +

                        Uses of Class
                        org.glassfish.tyrus.core.TyrusWebSocketEngine

                        +
                        + diff --git a/apidocs/latest1x/org/glassfish/tyrus/core/class-use/Utf8DecodingException.html b/apidocs/latest1x/org/glassfish/tyrus/core/class-use/Utf8DecodingException.html index 4499274b..ea3c6b88 100644 --- a/apidocs/latest1x/org/glassfish/tyrus/core/class-use/Utf8DecodingException.html +++ b/apidocs/latest1x/org/glassfish/tyrus/core/class-use/Utf8DecodingException.html @@ -1,40 +1,54 @@ - + - + +Uses of Class org.glassfish.tyrus.core.Utf8DecodingException (Tyrus 1.19 API) -Uses of Class org.glassfish.tyrus.core.Utf8DecodingException (Tyrus 1.18 API) - + + + + + + + + +var pathtoroot = "../../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
                        + +
                        +

                        Uses of Class
                        org.glassfish.tyrus.core.Utf8DecodingException

                        No usage of org.glassfish.tyrus.core.Utf8DecodingException
                        +
                        + diff --git a/apidocs/latest1x/org/glassfish/tyrus/core/class-use/Utils.Stringifier.html b/apidocs/latest1x/org/glassfish/tyrus/core/class-use/Utils.Stringifier.html index 5196723b..a19fdc72 100644 --- a/apidocs/latest1x/org/glassfish/tyrus/core/class-use/Utils.Stringifier.html +++ b/apidocs/latest1x/org/glassfish/tyrus/core/class-use/Utils.Stringifier.html @@ -1,40 +1,54 @@ - + - + +Uses of Class org.glassfish.tyrus.core.Utils.Stringifier (Tyrus 1.19 API) -Uses of Class org.glassfish.tyrus.core.Utils.Stringifier (Tyrus 1.18 API) - + + + + + + + + +var pathtoroot = "../../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
                        + +
                        +

                        Uses of Class
                        org.glassfish.tyrus.core.Utils.Stringifier

                        +
                        + diff --git a/apidocs/latest1x/org/glassfish/tyrus/core/class-use/Utils.html b/apidocs/latest1x/org/glassfish/tyrus/core/class-use/Utils.html index 2e657ce4..e30b6931 100644 --- a/apidocs/latest1x/org/glassfish/tyrus/core/class-use/Utils.html +++ b/apidocs/latest1x/org/glassfish/tyrus/core/class-use/Utils.html @@ -1,40 +1,54 @@ - + - + +Uses of Class org.glassfish.tyrus.core.Utils (Tyrus 1.19 API) -Uses of Class org.glassfish.tyrus.core.Utils (Tyrus 1.18 API) - + + + + + + + + +var pathtoroot = "../../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
                        + +
                        +

                        Uses of Class
                        org.glassfish.tyrus.core.Utils

                        No usage of org.glassfish.tyrus.core.Utils
                        +
                        + diff --git a/apidocs/latest1x/org/glassfish/tyrus/core/class-use/Version.html b/apidocs/latest1x/org/glassfish/tyrus/core/class-use/Version.html index 8a88a5b5..be1474b3 100644 --- a/apidocs/latest1x/org/glassfish/tyrus/core/class-use/Version.html +++ b/apidocs/latest1x/org/glassfish/tyrus/core/class-use/Version.html @@ -1,40 +1,54 @@ - + - + +Uses of Class org.glassfish.tyrus.core.Version (Tyrus 1.19 API) -Uses of Class org.glassfish.tyrus.core.Version (Tyrus 1.18 API) - + + + + + + + + +var pathtoroot = "../../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
                        + +
                        +

                        Uses of Class
                        org.glassfish.tyrus.core.Version

                        +
                        + diff --git a/apidocs/latest1x/org/glassfish/tyrus/core/class-use/WebSocketException.html b/apidocs/latest1x/org/glassfish/tyrus/core/class-use/WebSocketException.html index 16de6afe..69180cfd 100644 --- a/apidocs/latest1x/org/glassfish/tyrus/core/class-use/WebSocketException.html +++ b/apidocs/latest1x/org/glassfish/tyrus/core/class-use/WebSocketException.html @@ -1,40 +1,54 @@ - + - + +Uses of Class org.glassfish.tyrus.core.WebSocketException (Tyrus 1.19 API) -Uses of Class org.glassfish.tyrus.core.WebSocketException (Tyrus 1.18 API) - + + + + + + + + +var pathtoroot = "../../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
                        + +
                        +

                        Uses of Class
                        org.glassfish.tyrus.core.WebSocketException

                        +
                        + diff --git a/apidocs/latest1x/org/glassfish/tyrus/core/cluster/BroadcastListener.html b/apidocs/latest1x/org/glassfish/tyrus/core/cluster/BroadcastListener.html index a62d6a00..0a109fb9 100644 --- a/apidocs/latest1x/org/glassfish/tyrus/core/cluster/BroadcastListener.html +++ b/apidocs/latest1x/org/glassfish/tyrus/core/cluster/BroadcastListener.html @@ -1,44 +1,58 @@ - + - + +BroadcastListener (Tyrus 1.19 API) -BroadcastListener (Tyrus 1.18 API) - + + + + + + + + +var pathtoroot = "../../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
                        + +
                        +
                        -
                        org.glassfish.tyrus.core.cluster
                        +

                        Interface BroadcastListener

                        @@ -101,7 +125,6 @@ var activeTableTab = "activeTableTab";

                        • -
                          public interface BroadcastListener
                          Broadcast listener.
                          @@ -115,32 +138,37 @@ var activeTableTab = "activeTableTab";
                          • +
                              -
                            • +
                            • Method Summary

                              - +
                              - + + - + - +
                              All Methods Instance Methods Abstract Methods 
                              Modifier and TypeMethod and DescriptionMethodDescription
                              voidonBroadcast(byte[] data) +onBroadcast​(byte[] data)
                              Invoked when received request to broadcast binary data.
                              voidonBroadcast(java.lang.String text) +onBroadcast​(java.lang.String text)
                              Invoked when received request to broadcast text message.
                            +
                        @@ -148,18 +176,19 @@ var activeTableTab = "activeTableTab";
                        • +
                            -
                          • +
                          • Method Detail

                            - +
                            • onBroadcast

                              -
                              void onBroadcast(java.lang.String text)
                              +
                              void onBroadcast​(java.lang.String text)
                              Invoked when received request to broadcast text message.
                              Parameters:
                              @@ -167,13 +196,13 @@ var activeTableTab = "activeTableTab";
                            - +
                            • onBroadcast

                              -
                              void onBroadcast(byte[] data)
                              +
                              void onBroadcast​(byte[] data)
                              Invoked when received request to broadcast binary data.
                              Parameters:
                              @@ -183,21 +212,25 @@ var activeTableTab = "activeTableTab";
                          +
                        +
                        + diff --git a/apidocs/latest1x/org/glassfish/tyrus/core/cluster/ClusterContext.html b/apidocs/latest1x/org/glassfish/tyrus/core/cluster/ClusterContext.html index 9b3440bd..0171992d 100644 --- a/apidocs/latest1x/org/glassfish/tyrus/core/cluster/ClusterContext.html +++ b/apidocs/latest1x/org/glassfish/tyrus/core/cluster/ClusterContext.html @@ -1,44 +1,58 @@ - + - + +ClusterContext (Tyrus 1.19 API) -ClusterContext (Tyrus 1.18 API) - + + + + + + + + +var pathtoroot = "../../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
                        + +
                        +
                        -
                        org.glassfish.tyrus.core.cluster
                        +

                        Class ClusterContext

                        @@ -109,7 +133,6 @@ var activeTableTab = "activeTableTab";

                        • -
                          public abstract class ClusterContext
                           extends java.lang.Object
                          Cluster related context. @@ -126,223 +149,257 @@ extends java.lang.Object
                          • +
                              -
                            • +
                            • Field Summary

                              - +
                              - + + - +
                              Fields 
                              Modifier and TypeField and DescriptionFieldDescription
                              static java.lang.StringCLUSTER_CONTEXT +CLUSTER_CONTEXT
                              ClusterContext registration property.
                            +
                            +
                            +
                            +
                              -
                            • +
                            • Method Summary

                              - +
                              - + + - + - + - + - + - + - + - + - - + + - - + + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - +
                              All Methods Instance Methods Abstract Methods 
                              Modifier and TypeMethod and DescriptionMethodDescription
                              abstract voidbroadcastBinary(java.lang.String endpointPath, - byte[] data) +broadcastBinary​(java.lang.String endpointPath, + byte[] data)
                              Broadcast binary message.
                              abstract voidbroadcastText(java.lang.String endpointPath, - java.lang.String text) +broadcastText​(java.lang.String endpointPath, + java.lang.String text)
                              Broadcast text message.
                              abstract java.util.concurrent.Future<java.lang.Void>close(java.lang.String sessionId) +close​(java.lang.String sessionId)
                              Close remote session.
                              abstract java.util.concurrent.Future<java.lang.Void>close(java.lang.String sessionId, - CloseReason closeReason) +close​(java.lang.String sessionId, + CloseReason closeReason)
                              Close remote session with custom CloseReason.
                              abstract java.lang.StringcreateConnectionId() +createConnectionId()
                              Create connection id.
                              abstract java.lang.StringcreateSessionId() +createSessionId()
                              Create session id.
                              abstract voiddestroyDistributedUserProperties(java.lang.String connectionId) +destroyDistributedUserProperties​(java.lang.String connectionId)
                              Destroy map which holds distributed user properties.
                              abstract java.util.Map<RemoteSession.DistributedMapKey,java.lang.Object>getDistributedSessionProperties(java.lang.String sessionId) +abstract java.util.Map<RemoteSession.DistributedMapKey,​java.lang.Object>getDistributedSessionProperties​(java.lang.String sessionId)
                              Get the map containing session properties to be shared among nodes.
                              abstract java.util.Map<java.lang.String,java.lang.Object>getDistributedUserProperties(java.lang.String connectionId) +abstract java.util.Map<java.lang.String,​java.lang.Object>getDistributedUserProperties​(java.lang.String connectionId)
                              Get the map containing session user properties to be shared among nodes.
                              abstract java.util.Set<java.lang.String>getRemoteSessionIds(java.lang.String endpointPath) +getRemoteSessionIds​(java.lang.String endpointPath)
                              Get set containing session ids of all remote sessions registered to given endpoint path.
                              abstract booleanisSessionOpen(java.lang.String sessionId, - java.lang.String endpointPath) +isSessionOpen​(java.lang.String sessionId, + java.lang.String endpointPath)
                              Get information about session state.
                              abstract voidregisterBroadcastListener(java.lang.String endpointPath, - BroadcastListener listener) +registerBroadcastListener​(java.lang.String endpointPath, + BroadcastListener listener)
                              Register broadcast listener.
                              abstract voidregisterSession(java.lang.String sessionId, +registerSession​(java.lang.String sessionId, java.lang.String endpointPath, - SessionEventListener listener) + SessionEventListener listener)
                              Register local session.
                              abstract voidregisterSessionListener(java.lang.String endpointPath, - SessionListener listener) +registerSessionListener​(java.lang.String endpointPath, + SessionListener listener)
                              Register session listener.
                              abstract voidremoveSession(java.lang.String sessionId, - java.lang.String endpointPath) +removeSession​(java.lang.String sessionId, + java.lang.String endpointPath)
                              Remove session from this Cluster context.
                              abstract java.util.concurrent.Future<java.lang.Void>sendBinary(java.lang.String sessionId, - byte[] data) +sendBinary​(java.lang.String sessionId, + byte[] data)
                              Send binary message.
                              abstract java.util.concurrent.Future<java.lang.Void>sendBinary(java.lang.String sessionId, +sendBinary​(java.lang.String sessionId, byte[] data, - boolean isLast) + boolean isLast)
                              Send partial binary message.
                              abstract voidsendBinary(java.lang.String sessionId, +sendBinary​(java.lang.String sessionId, byte[] data, - SendHandler sendHandler) + SendHandler sendHandler)
                              Send binary message with SendHandler.
                              abstract java.util.concurrent.Future<java.lang.Void>sendPing(java.lang.String sessionId, - byte[] data) +sendPing​(java.lang.String sessionId, + byte[] data)
                              Send ping message.
                              abstract java.util.concurrent.Future<java.lang.Void>sendPong(java.lang.String sessionId, - byte[] data) +sendPong​(java.lang.String sessionId, + byte[] data)
                              Send pong message.
                              abstract java.util.concurrent.Future<java.lang.Void>sendText(java.lang.String sessionId, - java.lang.String text) +sendText​(java.lang.String sessionId, + java.lang.String text)
                              Send text message.
                              abstract java.util.concurrent.Future<java.lang.Void>sendText(java.lang.String sessionId, +sendText​(java.lang.String sessionId, java.lang.String text, - boolean isLast) + boolean isLast)
                              Send partial text message.
                              abstract voidsendText(java.lang.String sessionId, +sendText​(java.lang.String sessionId, java.lang.String text, - SendHandler sendHandler) + SendHandler sendHandler)
                              Send text message with SendHandler.
                              abstract voidshutdown() +shutdown()
                              Shutdown this ClusterContext.
                                -
                              • +
                              • Methods inherited from class java.lang.Object

                                @@ -350,6 +407,7 @@ extends java.lang.Object
                            +
                          @@ -357,12 +415,13 @@ extends java.lang.Object
                        See Also:
                        Constant Field Values
                        @@ -381,13 +440,15 @@ extends java.lang.Object + +
                          -
                        • +
                        • Constructor Detail

                          - +
                            @@ -398,19 +459,21 @@ extends java.lang.Object
                        +
                        +
                          -
                        • +
                        • Method Detail

                          - +
                          • sendText

                            -
                            public abstract java.util.concurrent.Future<java.lang.Void> sendText(java.lang.String sessionId,
                            +
                            public abstract java.util.concurrent.Future<java.lang.Void> sendText​(java.lang.String sessionId,
                                                                                                  java.lang.String text)
                            Send text message.
                            @@ -424,13 +487,13 @@ extends java.lang.Object
                        - +
                        • sendText

                          -
                          public abstract java.util.concurrent.Future<java.lang.Void> sendText(java.lang.String sessionId,
                          +
                          public abstract java.util.concurrent.Future<java.lang.Void> sendText​(java.lang.String sessionId,
                                                                                                java.lang.String text,
                                                                                                boolean isLast)
                          Send partial text message.
                          @@ -446,13 +509,13 @@ extends java.lang.Object
                        - +
                        • sendBinary

                          -
                          public abstract java.util.concurrent.Future<java.lang.Void> sendBinary(java.lang.String sessionId,
                          +
                          public abstract java.util.concurrent.Future<java.lang.Void> sendBinary​(java.lang.String sessionId,
                                                                                                  byte[] data)
                          Send binary message.
                          @@ -466,13 +529,13 @@ extends java.lang.Object
                        - +
                        • sendBinary

                          -
                          public abstract java.util.concurrent.Future<java.lang.Void> sendBinary(java.lang.String sessionId,
                          +
                          public abstract java.util.concurrent.Future<java.lang.Void> sendBinary​(java.lang.String sessionId,
                                                                                                  byte[] data,
                                                                                                  boolean isLast)
                          Send partial binary message.
                          @@ -488,13 +551,13 @@ extends java.lang.Object
                        - +
                        • sendPing

                          -
                          public abstract java.util.concurrent.Future<java.lang.Void> sendPing(java.lang.String sessionId,
                          +
                          public abstract java.util.concurrent.Future<java.lang.Void> sendPing​(java.lang.String sessionId,
                                                                                                byte[] data)
                          Send ping message.
                          @@ -508,13 +571,13 @@ extends java.lang.Object
                        - +
                        • sendPong

                          -
                          public abstract java.util.concurrent.Future<java.lang.Void> sendPong(java.lang.String sessionId,
                          +
                          public abstract java.util.concurrent.Future<java.lang.Void> sendPong​(java.lang.String sessionId,
                                                                                                byte[] data)
                          Send pong message.
                          @@ -528,13 +591,13 @@ extends java.lang.Object
                        - + - + - +
                        • broadcastText

                          -
                          public abstract void broadcastText(java.lang.String endpointPath,
                          +
                          public abstract void broadcastText​(java.lang.String endpointPath,
                                                              java.lang.String text)
                          Broadcast text message.
                          @@ -586,13 +649,13 @@ extends java.lang.Object
                        - +
                        • broadcastBinary

                          -
                          public abstract void broadcastBinary(java.lang.String endpointPath,
                          +
                          public abstract void broadcastBinary​(java.lang.String endpointPath,
                                                                byte[] data)
                          Broadcast binary message.
                          @@ -602,13 +665,13 @@ extends java.lang.Object
                        - +
                        • isSessionOpen

                          -
                          public abstract boolean isSessionOpen(java.lang.String sessionId,
                          +
                          public abstract boolean isSessionOpen​(java.lang.String sessionId,
                                                                 java.lang.String endpointPath)
                          Get information about session state.
                          @@ -618,17 +681,17 @@ extends java.lang.Object
                          Returns:
                          true when session is opened, false otherwise.
                          See Also:
                          -
                          Session.isOpen()
                          +
                          Session.isOpen()
                        - +
                        • close

                          -
                          public abstract java.util.concurrent.Future<java.lang.Void> close(java.lang.String sessionId)
                          +
                          public abstract java.util.concurrent.Future<java.lang.Void> close​(java.lang.String sessionId)
                          Close remote session.
                          Parameters:
                          @@ -641,13 +704,13 @@ extends java.lang.Object
                        - +
                        • close

                          -
                          public abstract java.util.concurrent.Future<java.lang.Void> close(java.lang.String sessionId,
                          +
                          public abstract java.util.concurrent.Future<java.lang.Void> close​(java.lang.String sessionId,
                                                                                             CloseReason closeReason)
                          Close remote session with custom CloseReason.
                          @@ -662,13 +725,13 @@ extends java.lang.Object
                        - +
                        • getRemoteSessionIds

                          -
                          public abstract java.util.Set<java.lang.String> getRemoteSessionIds(java.lang.String endpointPath)
                          +
                          public abstract java.util.Set<java.lang.String> getRemoteSessionIds​(java.lang.String endpointPath)
                          Get set containing session ids of all remote sessions registered to given endpoint path.
                          Parameters:
                          @@ -678,13 +741,13 @@ extends java.lang.Object
                        - +
                        • createSessionId

                          -
                          public abstract java.lang.String createSessionId()
                          +
                          public abstract java.lang.String createSessionId()
                          Create session id. It has to be unique among all cluster nodes.
                          Returns:
                          @@ -692,13 +755,13 @@ extends java.lang.Object
                        - +
                        • createConnectionId

                          -
                          public abstract java.lang.String createConnectionId()
                          +
                          public abstract java.lang.String createConnectionId()
                          Create connection id. It has to be unique among all cluster nodes.
                          Returns:
                          @@ -706,18 +769,18 @@ extends java.lang.Object
                        - + - + - +
                        • registerBroadcastListener

                          -
                          public abstract void registerBroadcastListener(java.lang.String endpointPath,
                          -                                               BroadcastListener listener)
                          +
                          public abstract void registerBroadcastListener​(java.lang.String endpointPath,
                          +                                               BroadcastListener listener)
                          Register broadcast listener.

                          Gets notification about broadcasted messages. Used as an optimized variant of standard websocket broadcast @@ -768,17 +831,17 @@ extends java.lang.Object

                          endpointPath - endpoint path identifying sessions alignment to the endpoint.
                          listener - listener instance.
                          See Also:
                          -
                          BroadcastListener
                          +
                          BroadcastListener
                        - +
                        • getDistributedSessionProperties

                          -
                          public abstract java.util.Map<RemoteSession.DistributedMapKey,java.lang.Object> getDistributedSessionProperties(java.lang.String sessionId)
                          +
                          public abstract java.util.Map<RemoteSession.DistributedMapKey,​java.lang.Object> getDistributedSessionProperties​(java.lang.String sessionId)
                          Get the map containing session properties to be shared among nodes.

                          Changes must be propagated to remote instances.

                          @@ -790,13 +853,13 @@ extends java.lang.Object
                        - +
                        • getDistributedUserProperties

                          -
                          public abstract java.util.Map<java.lang.String,java.lang.Object> getDistributedUserProperties(java.lang.String connectionId)
                          +
                          public abstract java.util.Map<java.lang.String,​java.lang.Object> getDistributedUserProperties​(java.lang.String connectionId)
                          Get the map containing session user properties to be shared among nodes.

                          Changes must be propagated to remote instances.

                          @@ -809,13 +872,13 @@ extends java.lang.Object
                        - +
                        • destroyDistributedUserProperties

                          -
                          public abstract void destroyDistributedUserProperties(java.lang.String connectionId)
                          +
                          public abstract void destroyDistributedUserProperties​(java.lang.String connectionId)
                          Destroy map which holds distributed user properties.

                          This method should be invoked only when session is properly closed.

                          @@ -826,13 +889,13 @@ extends java.lang.Object
                        - +
                        • removeSession

                          -
                          public abstract void removeSession(java.lang.String sessionId,
                          +
                          public abstract void removeSession​(java.lang.String sessionId,
                                                              java.lang.String endpointPath)
                          Remove session from this Cluster context.
                          @@ -842,13 +905,13 @@ extends java.lang.Object
                        - +
                        • shutdown

                          -
                          public abstract void shutdown()
                          +
                          public abstract void shutdown()
                          Shutdown this ClusterContext.

                          This will stop whole clustered node, any operation related to this cluster context will fail after this method @@ -857,21 +920,25 @@ extends java.lang.Object

                        + +
                        + diff --git a/apidocs/latest1x/org/glassfish/tyrus/core/cluster/DistributedSession.html b/apidocs/latest1x/org/glassfish/tyrus/core/cluster/DistributedSession.html index a3d156a7..c0e8606f 100644 --- a/apidocs/latest1x/org/glassfish/tyrus/core/cluster/DistributedSession.html +++ b/apidocs/latest1x/org/glassfish/tyrus/core/cluster/DistributedSession.html @@ -1,44 +1,58 @@ - + - + +DistributedSession (Tyrus 1.19 API) -DistributedSession (Tyrus 1.18 API) - + + + + + + + + +var pathtoroot = "../../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
                        + +
                        +
                        -
                        org.glassfish.tyrus.core.cluster
                        +

                        Interface DistributedSession

                        @@ -102,14 +126,13 @@ var activeTableTab = "activeTableTab";
                      • All Superinterfaces:
                        -
                        java.lang.AutoCloseable, java.io.Closeable, Session
                        +
                        java.lang.AutoCloseable, java.io.Closeable, Session
                        All Known Implementing Classes:
                        -
                        RemoteSession, TyrusSession
                        +
                        RemoteSession, TyrusSession

                        -
                        public interface DistributedSession
                         extends Session
                        Extended Session which adds distributed properties.
                        @@ -124,33 +147,37 @@ extends
                      • +
                        +
                      • @@ -158,54 +185,59 @@ extends
                      • +
                          -
                        • +
                        • Method Detail

                          - +
                          • getDistributedProperties

                            -
                            java.util.Map<java.lang.String,java.lang.Object> getDistributedProperties()
                            +
                            java.util.Map<java.lang.String,​java.lang.Object> getDistributedProperties()
                            Get distributed properties.

                            Values put into this map must be Serializable or serializable by other, implementation-dependent alternative.

                            Content of this map is synchronized among all cluster nodes, so putting an entry on any of the nodes will be - visible on all other nodes which have reference to current session (in form of TyrusSession or RemoteSession). + visible on all other nodes which have reference to current session (in form of TyrusSession or RemoteSession).

                            - Please note that when not running in the distributed environment, this map behaves similarly to Session.getUserProperties(), so no serialization or deserialization is performed when values are read from or stored to + Please note that when not running in the distributed environment, this map behaves similarly to Session.getUserProperties(), so no serialization or deserialization is performed when values are read from or stored to the returned map.

                            Returns:
                            map of distributed properties.
                            See Also:
                            -
                            TyrusSession, -RemoteSession
                            +
                            TyrusSession, +RemoteSession
                        +
                      • +
                        + diff --git a/apidocs/latest1x/org/glassfish/tyrus/core/cluster/RemoteSession.DistributedMapKey.html b/apidocs/latest1x/org/glassfish/tyrus/core/cluster/RemoteSession.DistributedMapKey.html index 77d5faa9..0350251a 100644 --- a/apidocs/latest1x/org/glassfish/tyrus/core/cluster/RemoteSession.DistributedMapKey.html +++ b/apidocs/latest1x/org/glassfish/tyrus/core/cluster/RemoteSession.DistributedMapKey.html @@ -1,44 +1,58 @@ - + - + +RemoteSession.DistributedMapKey (Tyrus 1.19 API) -RemoteSession.DistributedMapKey (Tyrus 1.18 API) - + + + + + + + + +var pathtoroot = "../../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
                        + +
                        +
                        -
                        org.glassfish.tyrus.core.cluster
                        +

                        Enum RemoteSession.DistributedMapKey

                        @@ -101,7 +125,7 @@ var activeTableTab = "activeTableTab";
                      • java.lang.Object
                      • + @@ -259,194 +303,195 @@ the order they are declared. +
                        + diff --git a/apidocs/latest1x/org/glassfish/tyrus/core/cluster/RemoteSession.html b/apidocs/latest1x/org/glassfish/tyrus/core/cluster/RemoteSession.html index 9187a030..aec9855f 100644 --- a/apidocs/latest1x/org/glassfish/tyrus/core/cluster/RemoteSession.html +++ b/apidocs/latest1x/org/glassfish/tyrus/core/cluster/RemoteSession.html @@ -1,44 +1,58 @@ - + - + +RemoteSession (Tyrus 1.19 API) -RemoteSession (Tyrus 1.18 API) - + + + + + + + + +var pathtoroot = "../../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
                        + +
                        +
                        -
                        org.glassfish.tyrus.core.cluster
                        +

                        Class RemoteSession

                        @@ -110,13 +134,12 @@ var activeTableTab = "activeTableTab";
                      • All Implemented Interfaces:
                        -
                        java.io.Closeable, java.lang.AutoCloseable, Session, DistributedSession
                        +
                        java.io.Closeable, java.lang.AutoCloseable, Session, DistributedSession

                        -
                        public class RemoteSession
                         extends java.lang.Object
                        -implements Session, DistributedSession
                        +implements Session, DistributedSession
                        Remote session represents session originating from another node.
                        Author:
                        @@ -129,255 +152,296 @@ implements
                      • +
                        +
                        +
                        +
                        +
                      • Specified by:
                        -
                        getMaxBinaryMessageBufferSize in interface Session
                        +
                        getMaxBinaryMessageBufferSize in interface Session
                        Returns:
                        the maximum binary message size that can be buffered.
                        - +
                        • getMaxTextMessageBufferSize

                          -
                          public int getMaxTextMessageBufferSize()
                          +
                          public int getMaxTextMessageBufferSize()
                          Get the maximum length of incoming text messages that this Session can buffer. If the implementation receives a text message that it cannot buffer because it - is too large, it must close the session with a close code of CloseReason.CloseCodes#TOO_BIG.
                          + is too large, it must close the session with a close code of CloseReason.CloseCodes.TOO_BIG.
                          Specified by:
                          -
                          getMaxTextMessageBufferSize in interface Session
                          +
                          getMaxTextMessageBufferSize in interface Session
                          Returns:
                          the maximum text message size that can be buffered.
                        - + - + - +
                        • getId

                          -
                          public java.lang.String getId()
                          +
                          public java.lang.String getId()
                          Get a string containing the unique identifier assigned to this session. The identifier is assigned by the web socket implementation and is implementation dependent.
                          Specified by:
                          -
                          getId in interface Session
                          +
                          getId in interface Session
                          Returns:
                          the unique identifier for this session instance.
                        - +
                        • close

                          -
                          public void close()
                          +
                          public void close()
                                      throws java.io.IOException
                          Close the current conversation with a normal status code and no reason phrase.
                          Specified by:
                          -
                          close in interface java.io.Closeable
                          -
                          Specified by:
                          close in interface java.lang.AutoCloseable
                          Specified by:
                          -
                          close in interface Session
                          +
                          close in interface java.io.Closeable
                          +
                          Specified by:
                          +
                          close in interface Session
                          Throws:
                          java.io.IOException - if there was a connection error closing the connection.
                        - +
                        • close

                          -
                          public void close(CloseReason closeReason)
                          +
                          public void close​(CloseReason closeReason)
                                      throws java.io.IOException
                          Close the current conversation, giving a reason for the closure. The close call causes the implementation to attempt notify the client of the close as @@ -648,10 +716,10 @@ implements CloseReason.CloseCodes.NO_STATUS_CODE.
                          Specified by:
                          -
                          close in interface Session
                          +
                          close in interface Session
                          Parameters:
                          closeReason - the reason for the closure.
                          Throws:
                          @@ -659,179 +727,179 @@ implements +
                          • getRequestURI

                            -
                            public java.net.URI getRequestURI()
                            +
                            public java.net.URI getRequestURI()
                            Get the URI under which this session was opened, including the query string if there is one.
                            Specified by:
                            -
                            getRequestURI in interface Session
                            +
                            getRequestURI in interface Session
                            Returns:
                            the request URI.
                          - +
                          • getRequestParameterMap

                            -
                            public java.util.Map<java.lang.String,java.util.List<java.lang.String>> getRequestParameterMap()
                            +
                            public java.util.Map<java.lang.String,​java.util.List<java.lang.String>> getRequestParameterMap()
                            Get the request parameters associated with the request this session was opened under.
                            Specified by:
                            -
                            getRequestParameterMap in interface Session
                            +
                            getRequestParameterMap in interface Session
                            Returns:
                            the unmodifiable map of the request parameters.
                          - +
                          • getQueryString

                            -
                            public java.lang.String getQueryString()
                            +
                            public java.lang.String getQueryString()
                            Get the query string associated with the request this session was opened under.
                            Specified by:
                            -
                            getQueryString in interface Session
                            +
                            getQueryString in interface Session
                            Returns:
                            the query string.
                          - +
                          • getPathParameters

                            -
                            public java.util.Map<java.lang.String,java.lang.String> getPathParameters()
                            +
                            public java.util.Map<java.lang.String,​java.lang.String> getPathParameters()
                            Get a map of the path parameter names and values used associated with the request this session was opened under.
                            Specified by:
                            -
                            getPathParameters in interface Session
                            +
                            getPathParameters in interface Session
                            Returns:
                            the unmodifiable map of path parameters. The key of the map is the parameter name, the values in the map are the parameter values.
                          - + - +
                          • getDistributedProperties

                            -
                            public java.util.Map<java.lang.String,java.lang.Object> getDistributedProperties()
                            -
                            Description copied from interface: DistributedSession
                            +
                            public java.util.Map<java.lang.String,​java.lang.Object> getDistributedProperties()
                            +
                            Description copied from interface: DistributedSession
                            Get distributed properties.

                            Values put into this map must be Serializable or serializable by other, implementation-dependent alternative.

                            Content of this map is synchronized among all cluster nodes, so putting an entry on any of the nodes will be - visible on all other nodes which have reference to current session (in form of TyrusSession or RemoteSession). + visible on all other nodes which have reference to current session (in form of TyrusSession or RemoteSession).

                            - Please note that when not running in the distributed environment, this map behaves similarly to Session.getUserProperties(), so no serialization or deserialization is performed when values are read from or stored to + Please note that when not running in the distributed environment, this map behaves similarly to Session.getUserProperties(), so no serialization or deserialization is performed when values are read from or stored to the returned map.

                            Specified by:
                            -
                            getDistributedProperties in interface DistributedSession
                            +
                            getDistributedProperties in interface DistributedSession
                            Returns:
                            map of distributed properties.
                            See Also:
                            -
                            TyrusSession, -RemoteSession
                            +
                            TyrusSession, +RemoteSession
                          - +
                          • getUserPrincipal

                            -
                            public java.security.Principal getUserPrincipal()
                            +
                            public java.security.Principal getUserPrincipal()
                            Get the authenticated user for this session or null if no user is authenticated for this session.
                            Specified by:
                            -
                            getUserPrincipal in interface Session
                            +
                            getUserPrincipal in interface Session
                            Returns:
                            the user principal.
                          - +
                          • toString

                            -
                            public java.lang.String toString()
                            +
                            public java.lang.String toString()
                            Overrides:
                            toString in class java.lang.Object
                          - + - +
                          • addMessageHandler

                            -
                            public void addMessageHandler(MessageHandler handler)
                            +
                            public void addMessageHandler​(MessageHandler handler)
                                                    throws java.lang.IllegalStateException
                            -
                            This method is not supported on RemoteSession. Each invocation will throw an UnsupportedOperationException.
                            +
                            This method is not supported on RemoteSession. Each invocation will throw an UnsupportedOperationException.
                            Specified by:
                            -
                            addMessageHandler in interface Session
                            +
                            addMessageHandler in interface Session
                            Parameters:
                            handler - nothing.
                            Throws:
                            @@ -840,133 +908,133 @@ implements +
                            • addMessageHandler

                              -
                              public <T> void addMessageHandler(java.lang.Class<T> clazz,
                              +
                              public <T> void addMessageHandler​(java.lang.Class<T> clazz,
                                                                 MessageHandler.Whole<T> handler)
                              -
                              This method is not supported on RemoteSession. Each invocation will throw an UnsupportedOperationException.
                              +
                              This method is not supported on RemoteSession. Each invocation will throw an UnsupportedOperationException.
                              Specified by:
                              -
                              addMessageHandler in interface Session
                              +
                              addMessageHandler in interface Session
                              Parameters:
                              clazz - nothing.
                              handler - nothing.
                            - +
                            • addMessageHandler

                              -
                              public <T> void addMessageHandler(java.lang.Class<T> clazz,
                              +
                              public <T> void addMessageHandler​(java.lang.Class<T> clazz,
                                                                 MessageHandler.Partial<T> handler)
                              -
                              This method is not supported on RemoteSession. Each invocation will throw an UnsupportedOperationException.
                              +
                              This method is not supported on RemoteSession. Each invocation will throw an UnsupportedOperationException.
                              Specified by:
                              -
                              addMessageHandler in interface Session
                              +
                              addMessageHandler in interface Session
                              Parameters:
                              clazz - nothing.
                              handler - nothing.
                            - + - + - +
                            • setMaxIdleTimeout

                              -
                              public void setMaxIdleTimeout(long milliseconds)
                              -
                              This method is not supported on RemoteSession. Each invocation will throw an UnsupportedOperationException.
                              +
                              public void setMaxIdleTimeout​(long milliseconds)
                              +
                              This method is not supported on RemoteSession. Each invocation will throw an UnsupportedOperationException.
                              Specified by:
                              -
                              setMaxIdleTimeout in interface Session
                              +
                              setMaxIdleTimeout in interface Session
                              Parameters:
                              milliseconds - nothing.
                            - +
                            • setMaxBinaryMessageBufferSize

                              -
                              public void setMaxBinaryMessageBufferSize(int length)
                              -
                              This method is not supported on RemoteSession. Each invocation will throw an UnsupportedOperationException.
                              +
                              public void setMaxBinaryMessageBufferSize​(int length)
                              +
                              This method is not supported on RemoteSession. Each invocation will throw an UnsupportedOperationException.
                              Specified by:
                              -
                              setMaxBinaryMessageBufferSize in interface Session
                              +
                              setMaxBinaryMessageBufferSize in interface Session
                              Parameters:
                              length - nothing.
                            - +
                            • setMaxTextMessageBufferSize

                              -
                              public void setMaxTextMessageBufferSize(int length)
                              -
                              This method is not supported on RemoteSession. Each invocation will throw an UnsupportedOperationException.
                              +
                              public void setMaxTextMessageBufferSize​(int length)
                              +
                              This method is not supported on RemoteSession. Each invocation will throw an UnsupportedOperationException.
                              Specified by:
                              -
                              setMaxTextMessageBufferSize in interface Session
                              +
                              setMaxTextMessageBufferSize in interface Session
                              Parameters:
                              length - nothing.
                            - +
                            • getOpenSessions

                              -
                              public java.util.Set<Session> getOpenSessions()
                              -
                              This method is not supported on RemoteSession. Each invocation will throw an UnsupportedOperationException.
                              +
                              public java.util.Set<Session> getOpenSessions()
                              +
                              This method is not supported on RemoteSession. Each invocation will throw an UnsupportedOperationException.
                              Specified by:
                              -
                              getOpenSessions in interface Session
                              +
                              getOpenSessions in interface Session
                              Returns:
                              nothing.
                              @@ -974,21 +1042,25 @@ implements +

                              Copyright © 2012–2022 Oracle Corporation. All rights reserved.

                              + diff --git a/apidocs/latest1x/org/glassfish/tyrus/core/cluster/SessionEventListener.html b/apidocs/latest1x/org/glassfish/tyrus/core/cluster/SessionEventListener.html index f485a4ff..a9aab311 100644 --- a/apidocs/latest1x/org/glassfish/tyrus/core/cluster/SessionEventListener.html +++ b/apidocs/latest1x/org/glassfish/tyrus/core/cluster/SessionEventListener.html @@ -1,44 +1,58 @@ - + - + +SessionEventListener (Tyrus 1.19 API) -SessionEventListener (Tyrus 1.18 API) - + + + + + + + + +var pathtoroot = "../../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
                              + +
                              +
                              -
                              org.glassfish.tyrus.core.cluster
                              +

                              Class SessionEventListener

                              @@ -109,7 +133,6 @@ var activeTableTab = "activeTableTab";

                              • -
                                public class SessionEventListener
                                 extends java.lang.Object
                                Session event listener.
                                @@ -124,89 +147,103 @@ extends java.lang.Object
                            • +
                              +
                              +
                                -
                              • +
                              • Method Summary

                                - +
                                - + + - + - + - + - + - + - + - + - +
                                All Methods Instance Methods Concrete Methods 
                                Modifier and TypeMethod and DescriptionMethodDescription
                                voidonClose() +onClose()
                                Invoked on session close event.
                                voidonClose(CloseReason closeReason) +onClose​(CloseReason closeReason)
                                Invoked on session close event.
                                voidonSendBinary(byte[] message) +onSendBinary​(byte[] message)
                                Invoked on send binary message event.
                                voidonSendBinary(byte[] message, - boolean isLast) +onSendBinary​(byte[] message, + boolean isLast)
                                Invoked on send partial binary message event.
                                voidonSendPing(byte[] payload) +onSendPing​(byte[] payload)
                                Invoked on send ping frame event.
                                voidonSendPong(byte[] payload) +onSendPong​(byte[] payload)
                                Invoked on send pong frame event.
                                voidonSendText(java.lang.String message) +onSendText​(java.lang.String message)
                                Invoked on send text message event.
                                voidonSendText(java.lang.String message, - boolean isLast) +onSendText​(java.lang.String message, + boolean isLast)
                                Invoked on send partial text message event.
                                  -
                                • +
                                • Methods inherited from class java.lang.Object

                                  @@ -214,6 +251,7 @@ extends java.lang.Object
                        + @@ -221,18 +259,19 @@ extends java.lang.Object
                        • +
                            -
                          • +
                          • Constructor Detail

                            - +
                            • SessionEventListener

                              -
                              public SessionEventListener(Session session)
                              +
                              public SessionEventListener​(Session session)
                              Constructor.
                              Parameters:
                              @@ -242,19 +281,21 @@ extends java.lang.Object
                          +
                          +
                            -
                          • +
                          • Method Detail

                            - +
                            • onSendText

                              -
                              public void onSendText(java.lang.String message)
                              +
                              public void onSendText​(java.lang.String message)
                                               throws java.io.IOException
                              Invoked on send text message event.
                              @@ -265,13 +306,13 @@ extends java.lang.Object
                            - +
                            • onSendText

                              -
                              public void onSendText(java.lang.String message,
                              +
                              public void onSendText​(java.lang.String message,
                                                      boolean isLast)
                                               throws java.io.IOException
                              Invoked on send partial text message event.
                              @@ -284,13 +325,13 @@ extends java.lang.Object
                            - +
                            • onSendBinary

                              -
                              public void onSendBinary(byte[] message)
                              +
                              public void onSendBinary​(byte[] message)
                                                 throws java.io.IOException
                              Invoked on send binary message event.
                              @@ -301,13 +342,13 @@ extends java.lang.Object
                            - +
                            • onSendBinary

                              -
                              public void onSendBinary(byte[] message,
                              +
                              public void onSendBinary​(byte[] message,
                                                        boolean isLast)
                                                 throws java.io.IOException
                              Invoked on send partial binary message event.
                              @@ -320,13 +361,13 @@ extends java.lang.Object
                            - +
                            • onSendPing

                              -
                              public void onSendPing(byte[] payload)
                              +
                              public void onSendPing​(byte[] payload)
                                               throws java.io.IOException
                              Invoked on send ping frame event.
                              @@ -337,13 +378,13 @@ extends java.lang.Object
                            - +
                            • onSendPong

                              -
                              public void onSendPong(byte[] payload)
                              +
                              public void onSendPong​(byte[] payload)
                                               throws java.io.IOException
                              Invoked on send pong frame event.
                              @@ -354,13 +395,13 @@ extends java.lang.Object
                            - +
                            • onClose

                              -
                              public void onClose()
                              +
                              public void onClose()
                                            throws java.io.IOException
                              Invoked on session close event.
                              @@ -369,13 +410,13 @@ extends java.lang.Object
                            - +
                            • onClose

                              -
                              public void onClose(CloseReason closeReason)
                              +
                              public void onClose​(CloseReason closeReason)
                                            throws java.io.IOException
                              Invoked on session close event.
                              @@ -388,21 +429,25 @@ extends java.lang.Object
                          +
                        +
                        + diff --git a/apidocs/latest1x/org/glassfish/tyrus/core/cluster/SessionListener.html b/apidocs/latest1x/org/glassfish/tyrus/core/cluster/SessionListener.html index 72527771..5092ae82 100644 --- a/apidocs/latest1x/org/glassfish/tyrus/core/cluster/SessionListener.html +++ b/apidocs/latest1x/org/glassfish/tyrus/core/cluster/SessionListener.html @@ -1,44 +1,58 @@ - + - + +SessionListener (Tyrus 1.19 API) -SessionListener (Tyrus 1.18 API) - + + + + + + + + +var pathtoroot = "../../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
                        + +
                        +
                        -
                        org.glassfish.tyrus.core.cluster
                        +

                        Interface SessionListener

                        @@ -101,7 +125,6 @@ var activeTableTab = "activeTableTab";

                        • -
                          public interface SessionListener
                          Session listener.

                          @@ -117,32 +140,37 @@ var activeTableTab = "activeTableTab";

                          @@ -150,18 +178,19 @@ var activeTableTab = "activeTableTab";
                          • +
                              -
                            • +
                            • Method Detail

                              - +
                              • onSessionOpened

                                -
                                void onSessionOpened(java.lang.String sessionId)
                                +
                                void onSessionOpened​(java.lang.String sessionId)
                                Invoked when session is opened.
                                Parameters:
                                @@ -169,13 +198,13 @@ var activeTableTab = "activeTableTab";
                              - +
                              • onSessionClosed

                                -
                                void onSessionClosed(java.lang.String sessionId)
                                +
                                void onSessionClosed​(java.lang.String sessionId)
                                Invoked when session is closed.
                                Parameters:
                                @@ -185,21 +214,25 @@ var activeTableTab = "activeTableTab";
                            +
                        +
                        + diff --git a/apidocs/latest1x/org/glassfish/tyrus/core/cluster/class-use/BroadcastListener.html b/apidocs/latest1x/org/glassfish/tyrus/core/cluster/class-use/BroadcastListener.html index 883b327f..aac73629 100644 --- a/apidocs/latest1x/org/glassfish/tyrus/core/cluster/class-use/BroadcastListener.html +++ b/apidocs/latest1x/org/glassfish/tyrus/core/cluster/class-use/BroadcastListener.html @@ -1,40 +1,54 @@ - + - + +Uses of Interface org.glassfish.tyrus.core.cluster.BroadcastListener (Tyrus 1.19 API) -Uses of Interface org.glassfish.tyrus.core.cluster.BroadcastListener (Tyrus 1.18 API) - + + + + + + + + +var pathtoroot = "../../../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
                        + +
                        +

                        Uses of Interface
                        org.glassfish.tyrus.core.cluster.BroadcastListener

                        +
                        + diff --git a/apidocs/latest1x/org/glassfish/tyrus/core/cluster/class-use/ClusterContext.html b/apidocs/latest1x/org/glassfish/tyrus/core/cluster/class-use/ClusterContext.html index d8bba924..9b9406c9 100644 --- a/apidocs/latest1x/org/glassfish/tyrus/core/cluster/class-use/ClusterContext.html +++ b/apidocs/latest1x/org/glassfish/tyrus/core/cluster/class-use/ClusterContext.html @@ -1,40 +1,54 @@ - + - + +Uses of Class org.glassfish.tyrus.core.cluster.ClusterContext (Tyrus 1.19 API) -Uses of Class org.glassfish.tyrus.core.cluster.ClusterContext (Tyrus 1.18 API) - + + + + + + + + +var pathtoroot = "../../../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
                        + +
                        +

                        Uses of Class
                        org.glassfish.tyrus.core.cluster.ClusterContext

                        +
                        + diff --git a/apidocs/latest1x/org/glassfish/tyrus/core/cluster/class-use/DistributedSession.html b/apidocs/latest1x/org/glassfish/tyrus/core/cluster/class-use/DistributedSession.html index 46e5e634..0909dde4 100644 --- a/apidocs/latest1x/org/glassfish/tyrus/core/cluster/class-use/DistributedSession.html +++ b/apidocs/latest1x/org/glassfish/tyrus/core/cluster/class-use/DistributedSession.html @@ -1,40 +1,54 @@ - + - + +Uses of Interface org.glassfish.tyrus.core.cluster.DistributedSession (Tyrus 1.19 API) -Uses of Interface org.glassfish.tyrus.core.cluster.DistributedSession (Tyrus 1.18 API) - + + + + + + + + +var pathtoroot = "../../../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
                        + +
                        +

                        Uses of Interface
                        org.glassfish.tyrus.core.cluster.DistributedSession

                        +
                        + diff --git a/apidocs/latest1x/org/glassfish/tyrus/core/cluster/class-use/RemoteSession.DistributedMapKey.html b/apidocs/latest1x/org/glassfish/tyrus/core/cluster/class-use/RemoteSession.DistributedMapKey.html index 09718b19..367ba693 100644 --- a/apidocs/latest1x/org/glassfish/tyrus/core/cluster/class-use/RemoteSession.DistributedMapKey.html +++ b/apidocs/latest1x/org/glassfish/tyrus/core/cluster/class-use/RemoteSession.DistributedMapKey.html @@ -1,40 +1,54 @@ - + - + +Uses of Class org.glassfish.tyrus.core.cluster.RemoteSession.DistributedMapKey (Tyrus 1.19 API) -Uses of Class org.glassfish.tyrus.core.cluster.RemoteSession.DistributedMapKey (Tyrus 1.18 API) - + + + + + + + + +var pathtoroot = "../../../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
                        + +
                        +

                        Uses of Class
                        org.glassfish.tyrus.core.cluster.RemoteSession.DistributedMapKey

                        +
                        + diff --git a/apidocs/latest1x/org/glassfish/tyrus/core/cluster/class-use/RemoteSession.html b/apidocs/latest1x/org/glassfish/tyrus/core/cluster/class-use/RemoteSession.html index ee798fbd..b9cba79a 100644 --- a/apidocs/latest1x/org/glassfish/tyrus/core/cluster/class-use/RemoteSession.html +++ b/apidocs/latest1x/org/glassfish/tyrus/core/cluster/class-use/RemoteSession.html @@ -1,40 +1,54 @@ - + - + +Uses of Class org.glassfish.tyrus.core.cluster.RemoteSession (Tyrus 1.19 API) -Uses of Class org.glassfish.tyrus.core.cluster.RemoteSession (Tyrus 1.18 API) - + + + + + + + + +var pathtoroot = "../../../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
                        + +
                        +

                        Uses of Class
                        org.glassfish.tyrus.core.cluster.RemoteSession

                        +
                        + diff --git a/apidocs/latest1x/org/glassfish/tyrus/core/cluster/class-use/SessionEventListener.html b/apidocs/latest1x/org/glassfish/tyrus/core/cluster/class-use/SessionEventListener.html index 0719c9eb..d0c8def6 100644 --- a/apidocs/latest1x/org/glassfish/tyrus/core/cluster/class-use/SessionEventListener.html +++ b/apidocs/latest1x/org/glassfish/tyrus/core/cluster/class-use/SessionEventListener.html @@ -1,40 +1,54 @@ - + - + +Uses of Class org.glassfish.tyrus.core.cluster.SessionEventListener (Tyrus 1.19 API) -Uses of Class org.glassfish.tyrus.core.cluster.SessionEventListener (Tyrus 1.18 API) - + + + + + + + + +var pathtoroot = "../../../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
                        + +
                        +

                        Uses of Class
                        org.glassfish.tyrus.core.cluster.SessionEventListener

                        +
                        + diff --git a/apidocs/latest1x/org/glassfish/tyrus/core/cluster/class-use/SessionListener.html b/apidocs/latest1x/org/glassfish/tyrus/core/cluster/class-use/SessionListener.html index 01888e74..903b95a0 100644 --- a/apidocs/latest1x/org/glassfish/tyrus/core/cluster/class-use/SessionListener.html +++ b/apidocs/latest1x/org/glassfish/tyrus/core/cluster/class-use/SessionListener.html @@ -1,40 +1,54 @@ - + - + +Uses of Interface org.glassfish.tyrus.core.cluster.SessionListener (Tyrus 1.19 API) -Uses of Interface org.glassfish.tyrus.core.cluster.SessionListener (Tyrus 1.18 API) - + + + + + + + + +var pathtoroot = "../../../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
                        + +
                        +

                        Uses of Interface
                        org.glassfish.tyrus.core.cluster.SessionListener

                        +
                        + diff --git a/apidocs/latest1x/org/glassfish/tyrus/core/cluster/package-frame.html b/apidocs/latest1x/org/glassfish/tyrus/core/cluster/package-frame.html deleted file mode 100644 index 70d71e08..00000000 --- a/apidocs/latest1x/org/glassfish/tyrus/core/cluster/package-frame.html +++ /dev/null @@ -1,33 +0,0 @@ - - - - - - -org.glassfish.tyrus.core.cluster (Tyrus 1.18 API) - - - - - -

                        org.glassfish.tyrus.core.cluster

                        - - - diff --git a/apidocs/latest1x/org/glassfish/tyrus/core/cluster/package-summary.html b/apidocs/latest1x/org/glassfish/tyrus/core/cluster/package-summary.html index 023544d8..679735fa 100644 --- a/apidocs/latest1x/org/glassfish/tyrus/core/cluster/package-summary.html +++ b/apidocs/latest1x/org/glassfish/tyrus/core/cluster/package-summary.html @@ -1,38 +1,52 @@ - + - + +org.glassfish.tyrus.core.cluster (Tyrus 1.19 API) -org.glassfish.tyrus.core.cluster (Tyrus 1.18 API) - + + + + + + + + +var pathtoroot = "../../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
                        + +
                        +

                        Package org.glassfish.tyrus.core.cluster

                        -
                        -
                        Cluster relates classes and interfaces.
                        -
                        -

                        See: Description

                        +
                        + + +
                        Cluster relates classes and interfaces.
                        +
                        - - - -

                        Package org.glassfish.tyrus.core.cluster Description

                        -
                        Cluster relates classes and interfaces.
                        +
                        + diff --git a/apidocs/latest1x/org/glassfish/tyrus/core/cluster/package-tree.html b/apidocs/latest1x/org/glassfish/tyrus/core/cluster/package-tree.html index 834e17d1..f36e87cb 100644 --- a/apidocs/latest1x/org/glassfish/tyrus/core/cluster/package-tree.html +++ b/apidocs/latest1x/org/glassfish/tyrus/core/cluster/package-tree.html @@ -1,38 +1,52 @@ - + - + +org.glassfish.tyrus.core.cluster Class Hierarchy (Tyrus 1.19 API) -org.glassfish.tyrus.core.cluster Class Hierarchy (Tyrus 1.18 API) - + + + + + + + + +var pathtoroot = "../../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
                        + +
                        +

                        Hierarchy For Package org.glassfish.tyrus.core.cluster

                        Package Hierarchies: @@ -78,57 +102,66 @@
                        +

                        Class Hierarchy

                        +
                        +

                        Interface Hierarchy

                        +
                        +

                        Enum Hierarchy

                          -
                        • java.lang.Object +
                        • java.lang.Object
                            -
                          • java.lang.Enum<E> (implements java.lang.Comparable<T>, java.io.Serializable) +
                          • java.lang.Enum<E> (implements java.lang.Comparable<T>, java.io.Serializable)
                        +
                        +
                        + diff --git a/apidocs/latest1x/org/glassfish/tyrus/core/cluster/package-use.html b/apidocs/latest1x/org/glassfish/tyrus/core/cluster/package-use.html index 3d0ec351..056ec328 100644 --- a/apidocs/latest1x/org/glassfish/tyrus/core/cluster/package-use.html +++ b/apidocs/latest1x/org/glassfish/tyrus/core/cluster/package-use.html @@ -1,38 +1,52 @@ - + - + +Uses of Package org.glassfish.tyrus.core.cluster (Tyrus 1.19 API) -Uses of Package org.glassfish.tyrus.core.cluster (Tyrus 1.18 API) - + + + + + + + + +var pathtoroot = "../../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
                        + +
                        +

                        Uses of Package
                        org.glassfish.tyrus.core.cluster

                        + +
                        +
                        @@ -186,12 +218,13 @@ extends java.lang.Object
                        • +
                            -
                          • +
                          • Constructor Detail

                            - +
                              @@ -202,19 +235,21 @@ extends java.lang.Object
                          +
                          +
                            -
                          • +
                          • Method Detail

                            - +
                            • init

                              -
                              public void init(EndpointConfig config)
                              +
                              public void init​(EndpointConfig config)
                              This method does nothing.
                              Parameters:
                              @@ -222,33 +257,37 @@ extends java.lang.Object
                            - +
                            • destroy

                              -
                              public void destroy()
                              +
                              public void destroy()
                              This method does nothing.
                          +
                        +
                        + diff --git a/apidocs/latest1x/org/glassfish/tyrus/core/coder/CoderWrapper.html b/apidocs/latest1x/org/glassfish/tyrus/core/coder/CoderWrapper.html index f8af6911..ea044ec5 100644 --- a/apidocs/latest1x/org/glassfish/tyrus/core/coder/CoderWrapper.html +++ b/apidocs/latest1x/org/glassfish/tyrus/core/coder/CoderWrapper.html @@ -1,44 +1,58 @@ - + - + +CoderWrapper (Tyrus 1.19 API) -CoderWrapper (Tyrus 1.18 API) - + + + + + + + + +var pathtoroot = "../../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
                        + +
                        +
                        -
                        org.glassfish.tyrus.core.coder
                        +

                        Class CoderWrapper<T>

                        @@ -101,7 +125,7 @@ var activeTableTab = "activeTableTab";
                      • java.lang.Object
                      • @@ -254,18 +291,19 @@ implements
                      • +
                      • + diff --git a/apidocs/latest1x/org/glassfish/tyrus/core/coder/class-use/ReaderDecoder.html b/apidocs/latest1x/org/glassfish/tyrus/core/coder/class-use/ReaderDecoder.html index 1f08445e..86b3c29f 100644 --- a/apidocs/latest1x/org/glassfish/tyrus/core/coder/class-use/ReaderDecoder.html +++ b/apidocs/latest1x/org/glassfish/tyrus/core/coder/class-use/ReaderDecoder.html @@ -1,40 +1,54 @@ - + - + +Uses of Class org.glassfish.tyrus.core.coder.ReaderDecoder (Tyrus 1.19 API) -Uses of Class org.glassfish.tyrus.core.coder.ReaderDecoder (Tyrus 1.18 API) - + + + + + + + + +var pathtoroot = "../../../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
                        + +
                        +

                        Uses of Class
                        org.glassfish.tyrus.core.coder.ReaderDecoder

                        No usage of org.glassfish.tyrus.core.coder.ReaderDecoder
                        +
                        + diff --git a/apidocs/latest1x/org/glassfish/tyrus/core/coder/class-use/ToStringEncoder.html b/apidocs/latest1x/org/glassfish/tyrus/core/coder/class-use/ToStringEncoder.html index 370cb613..03f3b749 100644 --- a/apidocs/latest1x/org/glassfish/tyrus/core/coder/class-use/ToStringEncoder.html +++ b/apidocs/latest1x/org/glassfish/tyrus/core/coder/class-use/ToStringEncoder.html @@ -1,40 +1,54 @@ - + - + +Uses of Class org.glassfish.tyrus.core.coder.ToStringEncoder (Tyrus 1.19 API) -Uses of Class org.glassfish.tyrus.core.coder.ToStringEncoder (Tyrus 1.18 API) - + + + + + + + + +var pathtoroot = "../../../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
                        + +
                        +

                        Uses of Class
                        org.glassfish.tyrus.core.coder.ToStringEncoder

                        No usage of org.glassfish.tyrus.core.coder.ToStringEncoder
                        +
                        + diff --git a/apidocs/latest1x/org/glassfish/tyrus/core/coder/package-frame.html b/apidocs/latest1x/org/glassfish/tyrus/core/coder/package-frame.html deleted file mode 100644 index 06025b26..00000000 --- a/apidocs/latest1x/org/glassfish/tyrus/core/coder/package-frame.html +++ /dev/null @@ -1,37 +0,0 @@ - - - - - - -org.glassfish.tyrus.core.coder (Tyrus 1.18 API) - - - - - -

                        org.glassfish.tyrus.core.coder

                        - - - diff --git a/apidocs/latest1x/org/glassfish/tyrus/core/coder/package-summary.html b/apidocs/latest1x/org/glassfish/tyrus/core/coder/package-summary.html index 746ab822..203d9bce 100644 --- a/apidocs/latest1x/org/glassfish/tyrus/core/coder/package-summary.html +++ b/apidocs/latest1x/org/glassfish/tyrus/core/coder/package-summary.html @@ -1,38 +1,52 @@ - + - + +org.glassfish.tyrus.core.coder (Tyrus 1.19 API) -org.glassfish.tyrus.core.coder (Tyrus 1.18 API) - + + + + + + + + +var pathtoroot = "../../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
                        + +
                        +

                        Package org.glassfish.tyrus.core.coder

                        -
                        -
                        Encoder and decoder adapters and built-in implementations.
                        -
                        -

                        See: Description

                        +
                        + + +
                        Encoder and decoder adapters and built-in implementations.
                        +
                        - - - -

                        Package org.glassfish.tyrus.core.coder Description

                        -
                        Encoder and decoder adapters and built-in implementations.
                        +
                        + diff --git a/apidocs/latest1x/org/glassfish/tyrus/core/coder/package-tree.html b/apidocs/latest1x/org/glassfish/tyrus/core/coder/package-tree.html index 7f19d085..49c88d83 100644 --- a/apidocs/latest1x/org/glassfish/tyrus/core/coder/package-tree.html +++ b/apidocs/latest1x/org/glassfish/tyrus/core/coder/package-tree.html @@ -1,38 +1,52 @@ - + - + +org.glassfish.tyrus.core.coder Class Hierarchy (Tyrus 1.19 API) -org.glassfish.tyrus.core.coder Class Hierarchy (Tyrus 1.18 API) - + + + + + + + + +var pathtoroot = "../../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
                        + +
                        +

                        Hierarchy For Package org.glassfish.tyrus.core.coder

                        Package Hierarchies: @@ -78,47 +102,52 @@
                        +

                        Class Hierarchy

                        +
                        +
                        + diff --git a/apidocs/latest1x/org/glassfish/tyrus/core/coder/package-use.html b/apidocs/latest1x/org/glassfish/tyrus/core/coder/package-use.html index 92cb5d9a..936db888 100644 --- a/apidocs/latest1x/org/glassfish/tyrus/core/coder/package-use.html +++ b/apidocs/latest1x/org/glassfish/tyrus/core/coder/package-use.html @@ -1,38 +1,52 @@ - + - + +Uses of Package org.glassfish.tyrus.core.coder (Tyrus 1.19 API) -Uses of Package org.glassfish.tyrus.core.coder (Tyrus 1.18 API) - + + + + + + + + +var pathtoroot = "../../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
                        + +
                        +

                        Uses of Package
                        org.glassfish.tyrus.core.coder

                        + + + +
                        +
                        +
                          +
                        • + +
                          +
                            +
                          • + + +

                            Method Detail

                            + + + +
                              +
                            • +

                              isInitialized

                              +
                              boolean isInitialized()
                              +
                              Check if the lazy value has been initialized already (i.e. its Value.get() method + has already been called previously) or not.
                              +
                              +
                              Returns:
                              +
                              true if the lazy value has already been initialized, false otherwise.
                              +
                              +
                            • +
                            +
                          • +
                          +
                          +
                        • +
                        +
                        + +
                        + + + + diff --git a/apidocs/latest1x/org/glassfish/tyrus/core/collection/Value.html b/apidocs/latest1x/org/glassfish/tyrus/core/collection/Value.html new file mode 100644 index 00000000..d59c135c --- /dev/null +++ b/apidocs/latest1x/org/glassfish/tyrus/core/collection/Value.html @@ -0,0 +1,272 @@ + + + + + +Value (Tyrus 1.19 API) + + + + + + + + + + + + + + + +
                        + +
                        + +
                        +
                        + +

                        Interface Value<T>

                        +
                        +
                        +
                        +
                          +
                        • +
                          +
                          Type Parameters:
                          +
                          T - value type.
                          +
                          +
                          +
                          All Known Subinterfaces:
                          +
                          LazyValue<T>
                          +
                          +
                          +
                          public interface Value<T>
                          +
                          A generic value provider.
                          +
                          +
                          Author:
                          +
                          Marek Potociar
                          +
                          +
                        • +
                        +
                        +
                        + +
                        +
                        +
                          +
                        • + +
                          +
                            +
                          • + + +

                            Method Detail

                            + + + +
                              +
                            • +

                              get

                              +
                              T get()
                              +
                              Get the stored value.
                              +
                              +
                              Returns:
                              +
                              stored value.
                              +
                              +
                            • +
                            +
                          • +
                          +
                          +
                        • +
                        +
                        +
                        +
                        + + + + diff --git a/apidocs/latest1x/org/glassfish/tyrus/core/collection/Values.html b/apidocs/latest1x/org/glassfish/tyrus/core/collection/Values.html new file mode 100644 index 00000000..a184fb7a --- /dev/null +++ b/apidocs/latest1x/org/glassfish/tyrus/core/collection/Values.html @@ -0,0 +1,397 @@ + + + + + +Values (Tyrus 1.19 API) + + + + + + + + + + + + + + + +
                        + +
                        + +
                        +
                        + +

                        Class Values

                        +
                        +
                        +
                          +
                        • java.lang.Object
                        • +
                        • +
                            +
                          • org.glassfish.tyrus.core.collection.Values
                          • +
                          +
                        • +
                        +
                        +
                          +
                        • +
                          +
                          public final class Values
                          +extends java.lang.Object
                          +
                          A collection of Value provider factory & utility methods.
                          +
                          +
                          Author:
                          +
                          Marek Potociar
                          +
                          +
                        • +
                        +
                        +
                        +
                          +
                        • + +
                          + +
                          +
                        • +
                        +
                        +
                        +
                          +
                        • + +
                          +
                            +
                          • + + +

                            Method Detail

                            + + + +
                              +
                            • +

                              empty

                              +
                              public static <T> Value<T> empty()
                              +
                              Get an empty value provider whose get() + method always returns null.
                              +
                              +
                              Type Parameters:
                              +
                              T - value type.
                              +
                              Returns:
                              +
                              empty value provider.
                              +
                              +
                            • +
                            + + + + + +
                              +
                            • +

                              of

                              +
                              public static <T> Value<T> of​(T value)
                              +

                              + Get a new constant value provider whose get() + method always returns the instance supplied to the value parameter. +

                              +

                              + In case the supplied value constant is null, an empty value + provider is returned. +

                              +
                              +
                              Type Parameters:
                              +
                              T - value type.
                              +
                              Parameters:
                              +
                              value - value instance to be provided.
                              +
                              Returns:
                              +
                              constant value provider.
                              +
                              +
                            • +
                            + + + +
                              +
                            • +

                              lazy

                              +
                              public static <T> LazyValue<T> lazy​(Value<T> delegate)
                              +
                              Get a new lazily initialized value provider. +

                              + The value returned by its get() method is lazily retrieved during a first + call to the method from the supplied delegate value provider and is then cached for + a subsequent retrieval. +

                              +

                              + The implementation of the returned lazy value provider is thread-safe and is guaranteed to + invoke the get() method on the supplied delegate value provider instance at + most once. +

                              +

                              + If the supplied value provider is null, an empty value + provider is returned. +

                              +
                              +
                              Type Parameters:
                              +
                              T - value type.
                              +
                              Parameters:
                              +
                              delegate - value provider delegate that will be used to lazily initialize the value provider.
                              +
                              Returns:
                              +
                              lazily initialized value provider.
                              +
                              +
                            • +
                            + + + +
                              +
                            • +

                              eager

                              +
                              public static <T> Value<T> eager​(Value<T> delegate)
                              +
                              Get a new eagerly initialized value provider. +

                              + The value returned by its get() method is eagerly computed from the supplied + delegate value provider and is then stored in a final field for a subsequent retrieval. +

                              +

                              + The implementation of the returned eager value provider is thread-safe and is guaranteed to + invoke the get() method on the supplied delegate value provider instance once + and only once. +

                              +

                              + If the supplied value provider is null, an empty value + provider is returned. +

                              +
                              +
                              Type Parameters:
                              +
                              T - value type.
                              +
                              Parameters:
                              +
                              delegate - value provider delegate that will be used to eagerly initialize the value provider.
                              +
                              Returns:
                              +
                              eagerly initialized, constant value provider.
                              +
                              +
                            • +
                            +
                          • +
                          +
                          +
                        • +
                        +
                        +
                        +
                        + + + + diff --git a/apidocs/latest1x/org/glassfish/tyrus/core/collection/class-use/LazyValue.html b/apidocs/latest1x/org/glassfish/tyrus/core/collection/class-use/LazyValue.html new file mode 100644 index 00000000..b66dd3a3 --- /dev/null +++ b/apidocs/latest1x/org/glassfish/tyrus/core/collection/class-use/LazyValue.html @@ -0,0 +1,196 @@ + + + + + +Uses of Interface org.glassfish.tyrus.core.collection.LazyValue (Tyrus 1.19 API) + + + + + + + + + + + + + + + +
                        + +
                        +
                        +
                        +

                        Uses of Interface
                        org.glassfish.tyrus.core.collection.LazyValue

                        +
                        +
                        + +
                        +
                        + + + diff --git a/apidocs/latest1x/org/glassfish/tyrus/core/collection/class-use/Value.html b/apidocs/latest1x/org/glassfish/tyrus/core/collection/class-use/Value.html new file mode 100644 index 00000000..0f33bcbe --- /dev/null +++ b/apidocs/latest1x/org/glassfish/tyrus/core/collection/class-use/Value.html @@ -0,0 +1,254 @@ + + + + + +Uses of Interface org.glassfish.tyrus.core.collection.Value (Tyrus 1.19 API) + + + + + + + + + + + + + + + +
                        + +
                        +
                        +
                        +

                        Uses of Interface
                        org.glassfish.tyrus.core.collection.Value

                        +
                        +
                        + +
                        +
                        + + + diff --git a/apidocs/latest1x/org/glassfish/tyrus/core/collection/class-use/Values.html b/apidocs/latest1x/org/glassfish/tyrus/core/collection/class-use/Values.html new file mode 100644 index 00000000..af9ca954 --- /dev/null +++ b/apidocs/latest1x/org/glassfish/tyrus/core/collection/class-use/Values.html @@ -0,0 +1,150 @@ + + + + + +Uses of Class org.glassfish.tyrus.core.collection.Values (Tyrus 1.19 API) + + + + + + + + + + + + + + + +
                        + +
                        +
                        +
                        +

                        Uses of Class
                        org.glassfish.tyrus.core.collection.Values

                        +
                        +
                        No usage of org.glassfish.tyrus.core.collection.Values
                        +
                        + + + diff --git a/apidocs/latest1x/org/glassfish/tyrus/core/collection/package-summary.html b/apidocs/latest1x/org/glassfish/tyrus/core/collection/package-summary.html new file mode 100644 index 00000000..caa38ecb --- /dev/null +++ b/apidocs/latest1x/org/glassfish/tyrus/core/collection/package-summary.html @@ -0,0 +1,193 @@ + + + + + +org.glassfish.tyrus.core.collection (Tyrus 1.19 API) + + + + + + + + + + + + + + + +
                        + +
                        +
                        +
                        +

                        Package org.glassfish.tyrus.core.collection

                        +
                        +
                        +
                          +
                        • + + + + + + + + + + + + + + + + +
                          Interface Summary 
                          InterfaceDescription
                          LazyValue<T> +
                          Lazily initialized value.
                          +
                          Value<T> +
                          A generic value provider.
                          +
                          +
                        • +
                        • + + + + + + + + + + + + +
                          Class Summary 
                          ClassDescription
                          Values +
                          A collection of Value provider factory & utility methods.
                          +
                          +
                        • +
                        +
                        +
                        + + + diff --git a/apidocs/latest1x/org/glassfish/tyrus/core/collection/package-tree.html b/apidocs/latest1x/org/glassfish/tyrus/core/collection/package-tree.html new file mode 100644 index 00000000..0ee4be89 --- /dev/null +++ b/apidocs/latest1x/org/glassfish/tyrus/core/collection/package-tree.html @@ -0,0 +1,175 @@ + + + + + +org.glassfish.tyrus.core.collection Class Hierarchy (Tyrus 1.19 API) + + + + + + + + + + + + + + + +
                        + +
                        +
                        +
                        +

                        Hierarchy For Package org.glassfish.tyrus.core.collection

                        +Package Hierarchies: + +
                        +
                        +
                        +

                        Class Hierarchy

                        +
                          +
                        • java.lang.Object +
                            +
                          • org.glassfish.tyrus.core.collection.Values
                          • +
                          +
                        • +
                        +
                        +
                        +

                        Interface Hierarchy

                        +
                          +
                        • org.glassfish.tyrus.core.collection.Value<T> +
                            +
                          • org.glassfish.tyrus.core.collection.LazyValue<T>
                          • +
                          +
                        • +
                        +
                        +
                        +
                        + + + diff --git a/apidocs/latest1x/org/glassfish/tyrus/core/collection/package-use.html b/apidocs/latest1x/org/glassfish/tyrus/core/collection/package-use.html new file mode 100644 index 00000000..352924dc --- /dev/null +++ b/apidocs/latest1x/org/glassfish/tyrus/core/collection/package-use.html @@ -0,0 +1,193 @@ + + + + + +Uses of Package org.glassfish.tyrus.core.collection (Tyrus 1.19 API) + + + + + + + + + + + + + + + +
                        + +
                        +
                        +
                        +

                        Uses of Package
                        org.glassfish.tyrus.core.collection

                        +
                        +
                        + +
                        +
                        + + + diff --git a/apidocs/latest1x/org/glassfish/tyrus/core/extension/ExtendedExtension.ExtensionContext.html b/apidocs/latest1x/org/glassfish/tyrus/core/extension/ExtendedExtension.ExtensionContext.html index 902b1d5c..03bebb97 100644 --- a/apidocs/latest1x/org/glassfish/tyrus/core/extension/ExtendedExtension.ExtensionContext.html +++ b/apidocs/latest1x/org/glassfish/tyrus/core/extension/ExtendedExtension.ExtensionContext.html @@ -1,44 +1,58 @@ - + - + +ExtendedExtension.ExtensionContext (Tyrus 1.19 API) -ExtendedExtension.ExtensionContext (Tyrus 1.18 API) - + + + + + + + + +var pathtoroot = "../../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
                        + +
                        +
                        -
                        org.glassfish.tyrus.core.extension
                        +

                        Interface ExtendedExtension.ExtensionContext

                        @@ -102,17 +126,16 @@ var activeTableTab = "activeTableTab";
                      • Enclosing interface:
                        -
                        ExtendedExtension
                        +
                        ExtendedExtension

                        -
                        public static interface ExtendedExtension.ExtensionContext
                        -
                        Context present as a parameter in all ExtendedExtension methods. Maintains per +
                        Context present as a parameter in all ExtendedExtension methods. Maintains per connection state of current extension.

                        - Context is created right before ExtendedExtension.onExtensionNegotiation(ExtendedExtension.ExtensionContext, - java.util.List) method call (server-side) or ExtendedExtension.onHandshakeResponse(ExtendedExtension.ExtensionContext, - java.util.List) method call (client-side). Last chance to access it is within ExtendedExtension.destroy(ExtendedExtension.ExtensionContext) method invocation.

                        + Context is created right before ExtendedExtension.onExtensionNegotiation(ExtendedExtension.ExtensionContext, + java.util.List) method call (server-side) or ExtendedExtension.onHandshakeResponse(ExtendedExtension.ExtensionContext, + java.util.List) method call (client-side). Last chance to access it is within ExtendedExtension.destroy(ExtendedExtension.ExtensionContext) method invocation.
                      • @@ -120,26 +143,30 @@ var activeTableTab = "activeTableTab";
                        • +
                            -
                          • +
                          • Method Summary

                            - +
                            - + + - - + +
                            All Methods Instance Methods Abstract Methods 
                            Modifier and TypeMethod and DescriptionMethodDescription
                            java.util.Map<java.lang.String,java.lang.Object>getProperties() +java.util.Map<java.lang.String,​java.lang.Object>getProperties()
                            Mutable, not synchronised property map.
                          +
                        @@ -147,21 +174,22 @@ var activeTableTab = "activeTableTab";
                        • +
                            -
                          • +
                          • Method Detail

                            - +
                            • getProperties

                              -
                              java.util.Map<java.lang.String,java.lang.Object> getProperties()
                              +
                              java.util.Map<java.lang.String,​java.lang.Object> getProperties()
                              Mutable, not synchronised property map.

                              - Synchronisation is not necessary if you are accessing this map only during ExtendedExtension methods + Synchronisation is not necessary if you are accessing this map only during ExtendedExtension methods invocation.

                              Returns:
                              @@ -171,21 +199,25 @@ var activeTableTab = "activeTableTab";
                          +
                        +
                        + diff --git a/apidocs/latest1x/org/glassfish/tyrus/core/extension/ExtendedExtension.html b/apidocs/latest1x/org/glassfish/tyrus/core/extension/ExtendedExtension.html index 171d297f..096f292c 100644 --- a/apidocs/latest1x/org/glassfish/tyrus/core/extension/ExtendedExtension.html +++ b/apidocs/latest1x/org/glassfish/tyrus/core/extension/ExtendedExtension.html @@ -1,44 +1,58 @@ - + - + +ExtendedExtension (Tyrus 1.19 API) -ExtendedExtension (Tyrus 1.18 API) - + + + + + + + + +var pathtoroot = "../../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
                        + +
                        +
                        -
                        org.glassfish.tyrus.core.extension
                        +

                        Interface ExtendedExtension

                        @@ -102,10 +126,9 @@ var activeTableTab = "activeTableTab";
                      • All Superinterfaces:
                        -
                        Extension
                        +
                        Extension

                        -
                        public interface ExtendedExtension
                         extends Extension
                        WebSocket Extension. @@ -157,26 +180,29 @@ extends
                      • +
                      • @@ -247,19 +282,20 @@ extends
                      • +
                      • -
                      • +
                      • +
                        -

                        Uses of ExtendedExtension.ExtensionContext in org.glassfish.tyrus.core.extension

                        - - +

                        Uses of ExtendedExtension.ExtensionContext in org.glassfish.tyrus.core.extension

                        +
                        Methods in org.glassfish.tyrus.core.extension with parameters of type ExtendedExtension.ExtensionContext 
                        + - + + - + - + - + - - + + - - + +
                        Methods in org.glassfish.tyrus.core.extension with parameters of type ExtendedExtension.ExtensionContext 
                        Modifier and TypeMethod and DescriptionMethodDescription
                        voidExtendedExtension.destroy(ExtendedExtension.ExtensionContext context) +ExtendedExtension.destroy​(ExtendedExtension.ExtensionContext context)
                        Context lifecycle method.
                        java.util.List<Extension.Parameter>ExtendedExtension.onExtensionNegotiation(ExtendedExtension.ExtensionContext context, - java.util.List<Extension.Parameter> requestedParameters) +ExtendedExtension.onExtensionNegotiation​(ExtendedExtension.ExtensionContext context, + java.util.List<Extension.Parameter> requestedParameters)
                        Parameter negotiation.
                        voidExtendedExtension.onHandshakeResponse(ExtendedExtension.ExtensionContext context, - java.util.List<Extension.Parameter> responseParameters) +ExtendedExtension.onHandshakeResponse​(ExtendedExtension.ExtensionContext context, + java.util.List<Extension.Parameter> responseParameters)
                        Called only on the client side when handshake response arrives.
                        FrameExtendedExtension.processIncoming(ExtendedExtension.ExtensionContext context, - Frame frame) +FrameExtendedExtension.processIncoming​(ExtendedExtension.ExtensionContext context, + Frame frame)
                        Process incoming frame.
                        FrameExtendedExtension.processOutgoing(ExtendedExtension.ExtensionContext context, - Frame frame) +FrameExtendedExtension.processOutgoing​(ExtendedExtension.ExtensionContext context, + Frame frame)
                        Process outgoing frame.
                        +
                      • +
                        + diff --git a/apidocs/latest1x/org/glassfish/tyrus/core/extension/class-use/ExtendedExtension.html b/apidocs/latest1x/org/glassfish/tyrus/core/extension/class-use/ExtendedExtension.html index 8c33361f..5fa4b51d 100644 --- a/apidocs/latest1x/org/glassfish/tyrus/core/extension/class-use/ExtendedExtension.html +++ b/apidocs/latest1x/org/glassfish/tyrus/core/extension/class-use/ExtendedExtension.html @@ -1,40 +1,54 @@ - + - + +Uses of Interface org.glassfish.tyrus.core.extension.ExtendedExtension (Tyrus 1.19 API) -Uses of Interface org.glassfish.tyrus.core.extension.ExtendedExtension (Tyrus 1.18 API) - + + + + + + + + +var pathtoroot = "../../../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
                        + +
                        +

                        Uses of Interface
                        org.glassfish.tyrus.core.extension.ExtendedExtension

                        No usage of org.glassfish.tyrus.core.extension.ExtendedExtension
                        +
                        + diff --git a/apidocs/latest1x/org/glassfish/tyrus/core/extension/package-frame.html b/apidocs/latest1x/org/glassfish/tyrus/core/extension/package-frame.html deleted file mode 100644 index b3ddb341..00000000 --- a/apidocs/latest1x/org/glassfish/tyrus/core/extension/package-frame.html +++ /dev/null @@ -1,22 +0,0 @@ - - - - - - -org.glassfish.tyrus.core.extension (Tyrus 1.18 API) - - - - - -

                        org.glassfish.tyrus.core.extension

                        - - - diff --git a/apidocs/latest1x/org/glassfish/tyrus/core/extension/package-summary.html b/apidocs/latest1x/org/glassfish/tyrus/core/extension/package-summary.html index e7081825..87250f8b 100644 --- a/apidocs/latest1x/org/glassfish/tyrus/core/extension/package-summary.html +++ b/apidocs/latest1x/org/glassfish/tyrus/core/extension/package-summary.html @@ -1,38 +1,52 @@ - + - + +org.glassfish.tyrus.core.extension (Tyrus 1.19 API) -org.glassfish.tyrus.core.extension (Tyrus 1.18 API) - + + + + + + + + +var pathtoroot = "../../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
                        + +
                        +

                        Package org.glassfish.tyrus.core.extension

                        -
                        -
                        WebSocket Extension support.
                        -
                        -

                        See: Description

                        +
                        + + +
                        WebSocket Extension support.
                        +
                        - - - -

                        Package org.glassfish.tyrus.core.extension Description

                        -
                        WebSocket Extension support.
                        +
                        + diff --git a/apidocs/latest1x/org/glassfish/tyrus/core/extension/package-tree.html b/apidocs/latest1x/org/glassfish/tyrus/core/extension/package-tree.html index 602c4c36..96eecc13 100644 --- a/apidocs/latest1x/org/glassfish/tyrus/core/extension/package-tree.html +++ b/apidocs/latest1x/org/glassfish/tyrus/core/extension/package-tree.html @@ -1,38 +1,52 @@ - + - + +org.glassfish.tyrus.core.extension Class Hierarchy (Tyrus 1.19 API) -org.glassfish.tyrus.core.extension Class Hierarchy (Tyrus 1.18 API) - + + + + + + + + +var pathtoroot = "../../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
                        + +
                        +

                        Hierarchy For Package org.glassfish.tyrus.core.extension

                        Package Hierarchies: @@ -78,26 +102,31 @@
                        +

                        Interface Hierarchy

                        +
                        +
                        + diff --git a/apidocs/latest1x/org/glassfish/tyrus/core/extension/package-use.html b/apidocs/latest1x/org/glassfish/tyrus/core/extension/package-use.html index e245ae9a..cdc902dc 100644 --- a/apidocs/latest1x/org/glassfish/tyrus/core/extension/package-use.html +++ b/apidocs/latest1x/org/glassfish/tyrus/core/extension/package-use.html @@ -1,38 +1,52 @@ - + - + +Uses of Package org.glassfish.tyrus.core.extension (Tyrus 1.19 API) -Uses of Package org.glassfish.tyrus.core.extension (Tyrus 1.18 API) - + + + + + + + + +var pathtoroot = "../../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
                        + +
                        +

                        Uses of Package
                        org.glassfish.tyrus.core.extension

                        + +
                        @@ -232,18 +267,19 @@ extends
                      • +
                          -
                        • +
                        • Constructor Detail

                          - +
                          • BinaryFrame

                            -
                            public BinaryFrame(Frame frame)
                            +
                            public BinaryFrame​(Frame frame)
                            Constructor.
                            Parameters:
                            @@ -251,13 +287,13 @@ extends
                          - +
                          • BinaryFrame

                            -
                            public BinaryFrame(Frame frame,
                            +
                            public BinaryFrame​(Frame frame,
                                                boolean continuation)
                            Constructor.
                            @@ -267,13 +303,13 @@ extends
                          - +
                          • BinaryFrame

                            -
                            public BinaryFrame(byte[] payload,
                            +
                            public BinaryFrame​(byte[] payload,
                                                boolean continuation,
                                                boolean fin)
                            Constructor.
                            @@ -288,24 +324,26 @@ extends
                          +
                        +
                      • +
                        + diff --git a/apidocs/latest1x/org/glassfish/tyrus/core/frame/CloseFrame.html b/apidocs/latest1x/org/glassfish/tyrus/core/frame/CloseFrame.html index b5886e28..cf52df68 100644 --- a/apidocs/latest1x/org/glassfish/tyrus/core/frame/CloseFrame.html +++ b/apidocs/latest1x/org/glassfish/tyrus/core/frame/CloseFrame.html @@ -1,44 +1,58 @@ - + - + +CloseFrame (Tyrus 1.19 API) -CloseFrame (Tyrus 1.18 API) - + + + + + + + + +var pathtoroot = "../../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
                        + +
                        +
                        -
                        org.glassfish.tyrus.core.frame
                        +

                        Class CloseFrame

                        @@ -101,10 +125,10 @@ var activeTableTab = "activeTableTab";
                      • java.lang.Object
                      • @@ -234,18 +269,19 @@ extends
                      • +
                          -
                        • +
                        • Constructor Detail

                          - +
                          • CloseFrame

                            -
                            public CloseFrame(Frame frame)
                            +
                            public CloseFrame​(Frame frame)
                            Constructor.
                            Parameters:
                            @@ -253,13 +289,13 @@ extends
                          - +
                          • CloseFrame

                            -
                            public CloseFrame(CloseReason closeReason)
                            +
                            public CloseFrame​(CloseReason closeReason)
                            Constructor.
                            Parameters:
                            @@ -269,19 +305,21 @@ extends
                          +
                        +
                      • +
                        + diff --git a/apidocs/latest1x/org/glassfish/tyrus/core/frame/Frame.Builder.html b/apidocs/latest1x/org/glassfish/tyrus/core/frame/Frame.Builder.html index b8c5dec8..5a823e2d 100644 --- a/apidocs/latest1x/org/glassfish/tyrus/core/frame/Frame.Builder.html +++ b/apidocs/latest1x/org/glassfish/tyrus/core/frame/Frame.Builder.html @@ -1,44 +1,58 @@ - + - + +Frame.Builder (Tyrus 1.19 API) -Frame.Builder (Tyrus 1.18 API) - + + + + + + + + +var pathtoroot = "../../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
                        + +
                        +
                        -
                        org.glassfish.tyrus.core.frame
                        +

                        Class Frame.Builder

                        @@ -110,10 +134,9 @@ var activeTableTab = "activeTableTab";
                      • Enclosing class:
                        -
                        Frame
                        +
                        Frame

                        -
                        public static final class Frame.Builder
                         extends java.lang.Object
                        Frame builder.
                        @@ -124,104 +147,121 @@ extends java.lang.Object
                      • @@ -236,12 +277,13 @@ extends java.lang.Object +
                        + diff --git a/apidocs/latest1x/org/glassfish/tyrus/core/frame/Frame.html b/apidocs/latest1x/org/glassfish/tyrus/core/frame/Frame.html index 76b334d0..b42c32c9 100644 --- a/apidocs/latest1x/org/glassfish/tyrus/core/frame/Frame.html +++ b/apidocs/latest1x/org/glassfish/tyrus/core/frame/Frame.html @@ -1,44 +1,58 @@ - + - + +Frame (Tyrus 1.19 API) -Frame (Tyrus 1.18 API) - + + + + + + + + +var pathtoroot = "../../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
                        + +
                        +
                        -
                        org.glassfish.tyrus.core.frame
                        +

                        Class Frame

                        @@ -110,10 +134,9 @@ var activeTableTab = "activeTableTab";
                      • Direct Known Subclasses:
                        -
                        TyrusFrame
                        +
                        TyrusFrame

                        -
                        public class Frame
                         extends java.lang.Object
                        WebSocket frame representation. @@ -132,138 +155,161 @@ extends java.lang.Object
                        @@ -278,18 +325,19 @@ extends java.lang.Object
                        • +
                            -
                          • +
                          • Constructor Detail

                            - +
                            • Frame

                              -
                              protected Frame(Frame frame)
                              +
                              protected Frame​(Frame frame)
                              Copy constructor.

                              Note: this is shallow copy. Payload is *not* copied to new array.

                              @@ -301,19 +349,21 @@ extends java.lang.Object
                          +
                          +
                            -
                          • +
                          • Method Detail

                            - +
                            • isFin

                              -
                              public boolean isFin()
                              +
                              public boolean isFin()
                              Get FIN value.
                              Returns:
                              @@ -321,13 +371,13 @@ extends java.lang.Object
                            - +
                            • isRsv1

                              -
                              public boolean isRsv1()
                              +
                              public boolean isRsv1()
                              GET RSV1 value.
                              Returns:
                              @@ -335,13 +385,13 @@ extends java.lang.Object
                            - +
                            • isRsv2

                              -
                              public boolean isRsv2()
                              +
                              public boolean isRsv2()
                              GET RSV2 value.
                              Returns:
                              @@ -349,13 +399,13 @@ extends java.lang.Object
                            - +
                            • isRsv3

                              -
                              public boolean isRsv3()
                              +
                              public boolean isRsv3()
                              GET RSV3 value.
                              Returns:
                              @@ -363,13 +413,13 @@ extends java.lang.Object
                            - +
                            • isMask

                              -
                              public boolean isMask()
                              +
                              public boolean isMask()
                              Currently not used.
                              Returns:
                              @@ -377,13 +427,13 @@ extends java.lang.Object
                            - +
                            • getOpcode

                              -
                              public byte getOpcode()
                              +
                              public byte getOpcode()
                              Get opcode.
                              Returns:
                              @@ -391,13 +441,13 @@ extends java.lang.Object
                            - +
                            • getPayloadLength

                              -
                              public long getPayloadLength()
                              +
                              public long getPayloadLength()
                              Get payload length.
                              Returns:
                              @@ -405,13 +455,13 @@ extends java.lang.Object
                            - +
                            • getMaskingKey

                              -
                              public java.lang.Integer getMaskingKey()
                              +
                              public java.lang.Integer getMaskingKey()
                              Get masking key.
                              Returns:
                              @@ -419,31 +469,31 @@ extends java.lang.Object
                            - +
                            • getPayloadData

                              -
                              public byte[] getPayloadData()
                              +
                              public byte[] getPayloadData()
                              Get payload data.

                              - Changes done to returned array won't be propagated to current Frame instance. If you need to modify + Changes done to returned array won't be propagated to current Frame instance. If you need to modify payload, you have to create new instance, see Builder#Frame(Frame). Length of returned array will - be always same as getPayloadLength().

                              + be always same as getPayloadLength().
                      • Returns:
                        payload data.
                        - +
                        • isControlFrame

                          -
                          public boolean isControlFrame()
                          +
                          public boolean isControlFrame()
                          Get information about frame type.
                          Returns:
                          @@ -451,41 +501,41 @@ extends java.lang.Object
                        - +
                        • toString

                          -
                          public java.lang.String toString()
                          +
                          public java.lang.String toString()
                          Overrides:
                          toString in class java.lang.Object
                        - + - +
                        • builder

                          -
                          public static Frame.Builder builder(Frame frame)
                          -
                          Create new Frame.Builder based on provided frame.
                          +
                          public static Frame.Builder builder​(Frame frame)
                          +
                          Create new Frame.Builder based on provided frame.
                          Parameters:
                          frame - frame used as a base for building new frame.
                          @@ -496,21 +546,25 @@ extends java.lang.Object
                        + +
                        + diff --git a/apidocs/latest1x/org/glassfish/tyrus/core/frame/PingFrame.html b/apidocs/latest1x/org/glassfish/tyrus/core/frame/PingFrame.html index 5c5107f0..c2b5800d 100644 --- a/apidocs/latest1x/org/glassfish/tyrus/core/frame/PingFrame.html +++ b/apidocs/latest1x/org/glassfish/tyrus/core/frame/PingFrame.html @@ -1,44 +1,58 @@ - + - + +PingFrame (Tyrus 1.19 API) -PingFrame (Tyrus 1.18 API) - + + + + + + + + +var pathtoroot = "../../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
                        + +
                        +
                        -
                        org.glassfish.tyrus.core.frame
                        +

                        Class PingFrame

                        @@ -101,10 +125,10 @@ var activeTableTab = "activeTableTab";
                      • java.lang.Object
                      • @@ -224,18 +258,19 @@ extends
                      • +
                          -
                        • +
                        • Constructor Detail

                          - +
                          • PingFrame

                            -
                            public PingFrame(Frame frame)
                            +
                            public PingFrame​(Frame frame)
                            Constructor.
                            Parameters:
                            @@ -243,13 +278,13 @@ extends
                          - +
                          • PingFrame

                            -
                            public PingFrame(byte[] payload)
                            +
                            public PingFrame​(byte[] payload)
                            Constructor.
                            Parameters:
                            @@ -259,24 +294,26 @@ extends
                          +
                        +
                      • +
                        + diff --git a/apidocs/latest1x/org/glassfish/tyrus/core/frame/PongFrame.html b/apidocs/latest1x/org/glassfish/tyrus/core/frame/PongFrame.html index d4f57e1c..51215485 100644 --- a/apidocs/latest1x/org/glassfish/tyrus/core/frame/PongFrame.html +++ b/apidocs/latest1x/org/glassfish/tyrus/core/frame/PongFrame.html @@ -1,44 +1,58 @@ - + - + +PongFrame (Tyrus 1.19 API) -PongFrame (Tyrus 1.18 API) - + + + + + + + + +var pathtoroot = "../../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
                        + +
                        +
                        -
                        org.glassfish.tyrus.core.frame
                        +

                        Class PongFrame

                        @@ -101,10 +125,10 @@ var activeTableTab = "activeTableTab";
                      • java.lang.Object
                      • @@ -224,18 +258,19 @@ extends
                      • +
                          -
                        • +
                        • Constructor Detail

                          - +
                          • PongFrame

                            -
                            public PongFrame(Frame frame)
                            +
                            public PongFrame​(Frame frame)
                            Constructor.
                            Parameters:
                            @@ -243,13 +278,13 @@ extends
                          - +
                          • PongFrame

                            -
                            public PongFrame(byte[] payload)
                            +
                            public PongFrame​(byte[] payload)
                            Constructor.
                            Parameters:
                            @@ -259,24 +294,26 @@ extends
                          +
                        +
                      • +
                        + diff --git a/apidocs/latest1x/org/glassfish/tyrus/core/frame/TextFrame.html b/apidocs/latest1x/org/glassfish/tyrus/core/frame/TextFrame.html index b6bd7379..db5ea4c2 100644 --- a/apidocs/latest1x/org/glassfish/tyrus/core/frame/TextFrame.html +++ b/apidocs/latest1x/org/glassfish/tyrus/core/frame/TextFrame.html @@ -1,44 +1,58 @@ - + - + +TextFrame (Tyrus 1.19 API) -TextFrame (Tyrus 1.18 API) - + + + + + + + + +var pathtoroot = "../../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
                        + +
                        +
                        -
                        org.glassfish.tyrus.core.frame
                        +

                        Class TextFrame

                        @@ -101,10 +125,10 @@ var activeTableTab = "activeTableTab";
                      • java.lang.Object
                      • @@ -254,18 +292,19 @@ extends
                      • +
                          -
                        • +
                        • Constructor Detail

                          - +
                          • TextFrame

                            -
                            public TextFrame(Frame frame,
                            +
                            public TextFrame​(Frame frame,
                                              java.nio.ByteBuffer remainder)
                            Constructor.
                            @@ -275,13 +314,13 @@ extends
                          - +
                          • TextFrame

                            -
                            public TextFrame(Frame frame,
                            +
                            public TextFrame​(Frame frame,
                                              java.nio.ByteBuffer remainder,
                                              boolean continuation)
                            Constructor.
                            @@ -293,13 +332,13 @@ extends
                          - +
                          • TextFrame

                            -
                            public TextFrame(java.lang.String message,
                            +
                            public TextFrame​(java.lang.String message,
                                              boolean continuation,
                                              boolean fin)
                            Constructor.
                            @@ -314,19 +353,21 @@ extends
                          +
                        +
                          -
                        • +
                        • Method Detail

                          - +
                          • getTextPayload

                            -
                            public java.lang.String getTextPayload()
                            +
                            public java.lang.String getTextPayload()
                            Get text payload.
                            Returns:
                            @@ -334,13 +375,13 @@ extends
                          - +
                          • getRemainder

                            -
                            public java.nio.ByteBuffer getRemainder()
                            +
                            public java.nio.ByteBuffer getRemainder()
                            Remainder after UTF-8 decoding.

                            This might be removed in the future, if encoding part will be separated from text frame impl.

                            @@ -350,53 +391,57 @@ extends
                          - + - +
                          • toString

                            -
                            public java.lang.String toString()
                            +
                            public java.lang.String toString()
                            Overrides:
                            -
                            toString in class Frame
                            +
                            toString in class Frame
                        +
                      • +
                        + diff --git a/apidocs/latest1x/org/glassfish/tyrus/core/frame/TyrusFrame.FrameType.html b/apidocs/latest1x/org/glassfish/tyrus/core/frame/TyrusFrame.FrameType.html index 616a4093..57be14c9 100644 --- a/apidocs/latest1x/org/glassfish/tyrus/core/frame/TyrusFrame.FrameType.html +++ b/apidocs/latest1x/org/glassfish/tyrus/core/frame/TyrusFrame.FrameType.html @@ -1,44 +1,58 @@ - + - + +TyrusFrame.FrameType (Tyrus 1.19 API) -TyrusFrame.FrameType (Tyrus 1.18 API) - + + + + + + + + +var pathtoroot = "../../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
                        + +
                        +
                        -
                        org.glassfish.tyrus.core.frame
                        +

                        Enum TyrusFrame.FrameType

                        @@ -101,7 +125,7 @@ var activeTableTab = "activeTableTab";
                      • java.lang.Object
                      • + @@ -230,126 +268,129 @@ the order they are declared. +
                        + diff --git a/apidocs/latest1x/org/glassfish/tyrus/core/frame/TyrusFrame.html b/apidocs/latest1x/org/glassfish/tyrus/core/frame/TyrusFrame.html index f5a89203..9090e347 100644 --- a/apidocs/latest1x/org/glassfish/tyrus/core/frame/TyrusFrame.html +++ b/apidocs/latest1x/org/glassfish/tyrus/core/frame/TyrusFrame.html @@ -1,44 +1,58 @@ - + - + +TyrusFrame (Tyrus 1.19 API) -TyrusFrame (Tyrus 1.18 API) - + + + + + + + + +var pathtoroot = "../../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
                        + +
                        +
                        -
                        org.glassfish.tyrus.core.frame
                        +

                        Class TyrusFrame

                        @@ -101,7 +125,7 @@ var activeTableTab = "activeTableTab";
                      • java.lang.Object
                      • Author:
                        Pavel Bucek (pavel.bucek at oracle.com)
                        @@ -135,97 +158,110 @@ extends
                      • +
                        +
                        +
                        +
                        +
                      • @@ -240,19 +277,20 @@ extends
                      • +
                        +
                          -
                        • +
                        • Method Detail

                          - +
                          • respond

                            -
                            public abstract void respond(TyrusWebSocket socket)
                            +
                            public abstract void respond​(TyrusWebSocket socket)
                            Execution part of frame processing.
                            Parameters:
                            @@ -283,13 +323,13 @@ extends
                          - +
                          • getFrameType

                            -
                            public TyrusFrame.FrameType getFrameType()
                            +
                            public TyrusFrame.FrameType getFrameType()
                            Returns the type of the frame. It is used for distinguishing frame types in monitoring.

                            TODO: consider moving this to "MonitoredFrame" or something like this;

                            @@ -299,16 +339,16 @@ extends
                          - +
                          • wrap

                            -
                            public static TyrusFrame wrap(Frame frame,
                            +
                            public static TyrusFrame wrap​(Frame frame,
                                                           byte inFragmentedType,
                                                           java.nio.ByteBuffer remainder)
                            -
                            TyrusFrame factory method.
                            +
                            TyrusFrame factory method.
                            Parameters:
                            frame - original plain frame.
                            @@ -321,21 +361,25 @@ extends
                          +
                      • +
                        + diff --git a/apidocs/latest1x/org/glassfish/tyrus/core/frame/class-use/BinaryFrame.html b/apidocs/latest1x/org/glassfish/tyrus/core/frame/class-use/BinaryFrame.html index b99f222e..2f3d0ae1 100644 --- a/apidocs/latest1x/org/glassfish/tyrus/core/frame/class-use/BinaryFrame.html +++ b/apidocs/latest1x/org/glassfish/tyrus/core/frame/class-use/BinaryFrame.html @@ -1,40 +1,54 @@ - + - + +Uses of Class org.glassfish.tyrus.core.frame.BinaryFrame (Tyrus 1.19 API) -Uses of Class org.glassfish.tyrus.core.frame.BinaryFrame (Tyrus 1.18 API) - + + + + + + + + +var pathtoroot = "../../../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
                        + +
                        +

                        Uses of Class
                        org.glassfish.tyrus.core.frame.BinaryFrame

                        +
                        + diff --git a/apidocs/latest1x/org/glassfish/tyrus/core/frame/class-use/CloseFrame.html b/apidocs/latest1x/org/glassfish/tyrus/core/frame/class-use/CloseFrame.html index b4910186..2035c205 100644 --- a/apidocs/latest1x/org/glassfish/tyrus/core/frame/class-use/CloseFrame.html +++ b/apidocs/latest1x/org/glassfish/tyrus/core/frame/class-use/CloseFrame.html @@ -1,40 +1,54 @@ - + - + +Uses of Class org.glassfish.tyrus.core.frame.CloseFrame (Tyrus 1.19 API) -Uses of Class org.glassfish.tyrus.core.frame.CloseFrame (Tyrus 1.18 API) - + + + + + + + + +var pathtoroot = "../../../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
                        + +
                        +

                        Uses of Class
                        org.glassfish.tyrus.core.frame.CloseFrame

                        +
                        + diff --git a/apidocs/latest1x/org/glassfish/tyrus/core/frame/class-use/Frame.Builder.html b/apidocs/latest1x/org/glassfish/tyrus/core/frame/class-use/Frame.Builder.html index ad7edefe..1a92125f 100644 --- a/apidocs/latest1x/org/glassfish/tyrus/core/frame/class-use/Frame.Builder.html +++ b/apidocs/latest1x/org/glassfish/tyrus/core/frame/class-use/Frame.Builder.html @@ -1,40 +1,54 @@ - + - + +Uses of Class org.glassfish.tyrus.core.frame.Frame.Builder (Tyrus 1.19 API) -Uses of Class org.glassfish.tyrus.core.frame.Frame.Builder (Tyrus 1.18 API) - + + + + + + + + +var pathtoroot = "../../../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
                        + +
                        +

                        Uses of Class
                        org.glassfish.tyrus.core.frame.Frame.Builder

                        +
                        + diff --git a/apidocs/latest1x/org/glassfish/tyrus/core/frame/class-use/Frame.html b/apidocs/latest1x/org/glassfish/tyrus/core/frame/class-use/Frame.html index 6d3e5f8c..a16b2609 100644 --- a/apidocs/latest1x/org/glassfish/tyrus/core/frame/class-use/Frame.html +++ b/apidocs/latest1x/org/glassfish/tyrus/core/frame/class-use/Frame.html @@ -1,40 +1,54 @@ - + - + +Uses of Class org.glassfish.tyrus.core.frame.Frame (Tyrus 1.19 API) -Uses of Class org.glassfish.tyrus.core.frame.Frame (Tyrus 1.18 API) - + + + + + + + + +var pathtoroot = "../../../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
                        + +
                        +

                        Uses of Class
                        org.glassfish.tyrus.core.frame.Frame

                        +
                        + diff --git a/apidocs/latest1x/org/glassfish/tyrus/core/frame/class-use/PingFrame.html b/apidocs/latest1x/org/glassfish/tyrus/core/frame/class-use/PingFrame.html index 6e849647..81aa0aa2 100644 --- a/apidocs/latest1x/org/glassfish/tyrus/core/frame/class-use/PingFrame.html +++ b/apidocs/latest1x/org/glassfish/tyrus/core/frame/class-use/PingFrame.html @@ -1,40 +1,54 @@ - + - + +Uses of Class org.glassfish.tyrus.core.frame.PingFrame (Tyrus 1.19 API) -Uses of Class org.glassfish.tyrus.core.frame.PingFrame (Tyrus 1.18 API) - + + + + + + + + +var pathtoroot = "../../../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
                        + +
                        +

                        Uses of Class
                        org.glassfish.tyrus.core.frame.PingFrame

                        +
                        + diff --git a/apidocs/latest1x/org/glassfish/tyrus/core/frame/class-use/PongFrame.html b/apidocs/latest1x/org/glassfish/tyrus/core/frame/class-use/PongFrame.html index 490f14ad..b0c775b5 100644 --- a/apidocs/latest1x/org/glassfish/tyrus/core/frame/class-use/PongFrame.html +++ b/apidocs/latest1x/org/glassfish/tyrus/core/frame/class-use/PongFrame.html @@ -1,40 +1,54 @@ - + - + +Uses of Class org.glassfish.tyrus.core.frame.PongFrame (Tyrus 1.19 API) -Uses of Class org.glassfish.tyrus.core.frame.PongFrame (Tyrus 1.18 API) - + + + + + + + + +var pathtoroot = "../../../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
                        + +
                        +

                        Uses of Class
                        org.glassfish.tyrus.core.frame.PongFrame

                        +
                        + diff --git a/apidocs/latest1x/org/glassfish/tyrus/core/frame/class-use/TextFrame.html b/apidocs/latest1x/org/glassfish/tyrus/core/frame/class-use/TextFrame.html index 2aa981ab..2ba2d439 100644 --- a/apidocs/latest1x/org/glassfish/tyrus/core/frame/class-use/TextFrame.html +++ b/apidocs/latest1x/org/glassfish/tyrus/core/frame/class-use/TextFrame.html @@ -1,40 +1,54 @@ - + - + +Uses of Class org.glassfish.tyrus.core.frame.TextFrame (Tyrus 1.19 API) -Uses of Class org.glassfish.tyrus.core.frame.TextFrame (Tyrus 1.18 API) - + + + + + + + + +var pathtoroot = "../../../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
                        + +
                        +

                        Uses of Class
                        org.glassfish.tyrus.core.frame.TextFrame

                        +
                        + diff --git a/apidocs/latest1x/org/glassfish/tyrus/core/frame/class-use/TyrusFrame.FrameType.html b/apidocs/latest1x/org/glassfish/tyrus/core/frame/class-use/TyrusFrame.FrameType.html index 472f8d4c..ad742d08 100644 --- a/apidocs/latest1x/org/glassfish/tyrus/core/frame/class-use/TyrusFrame.FrameType.html +++ b/apidocs/latest1x/org/glassfish/tyrus/core/frame/class-use/TyrusFrame.FrameType.html @@ -1,40 +1,54 @@ - + - + +Uses of Class org.glassfish.tyrus.core.frame.TyrusFrame.FrameType (Tyrus 1.19 API) -Uses of Class org.glassfish.tyrus.core.frame.TyrusFrame.FrameType (Tyrus 1.18 API) - + + + + + + + + +var pathtoroot = "../../../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
                        + +
                        +

                        Uses of Class
                        org.glassfish.tyrus.core.frame.TyrusFrame.FrameType

                        +
                        + diff --git a/apidocs/latest1x/org/glassfish/tyrus/core/frame/class-use/TyrusFrame.html b/apidocs/latest1x/org/glassfish/tyrus/core/frame/class-use/TyrusFrame.html index 9f5c8a24..89240289 100644 --- a/apidocs/latest1x/org/glassfish/tyrus/core/frame/class-use/TyrusFrame.html +++ b/apidocs/latest1x/org/glassfish/tyrus/core/frame/class-use/TyrusFrame.html @@ -1,40 +1,54 @@ - + - + +Uses of Class org.glassfish.tyrus.core.frame.TyrusFrame (Tyrus 1.19 API) -Uses of Class org.glassfish.tyrus.core.frame.TyrusFrame (Tyrus 1.18 API) - + + + + + + + + +var pathtoroot = "../../../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
                        + +
                        +

                        Uses of Class
                        org.glassfish.tyrus.core.frame.TyrusFrame

                        +
                        + diff --git a/apidocs/latest1x/org/glassfish/tyrus/core/frame/package-frame.html b/apidocs/latest1x/org/glassfish/tyrus/core/frame/package-frame.html deleted file mode 100644 index e837b01a..00000000 --- a/apidocs/latest1x/org/glassfish/tyrus/core/frame/package-frame.html +++ /dev/null @@ -1,32 +0,0 @@ - - - - - - -org.glassfish.tyrus.core.frame (Tyrus 1.18 API) - - - - - -

                        org.glassfish.tyrus.core.frame

                        - - - diff --git a/apidocs/latest1x/org/glassfish/tyrus/core/frame/package-summary.html b/apidocs/latest1x/org/glassfish/tyrus/core/frame/package-summary.html index 51f3b00c..b2d3e6d3 100644 --- a/apidocs/latest1x/org/glassfish/tyrus/core/frame/package-summary.html +++ b/apidocs/latest1x/org/glassfish/tyrus/core/frame/package-summary.html @@ -1,38 +1,52 @@ - + - + +org.glassfish.tyrus.core.frame (Tyrus 1.19 API) -org.glassfish.tyrus.core.frame (Tyrus 1.18 API) - + + + + + + + + +var pathtoroot = "../../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
                        + +
                        +

                        Package org.glassfish.tyrus.core.frame

                        -
                        -
                        WebSocket frame representations.
                        -
                        -

                        See: Description

                        +
                        + + +
                        WebSocket frame representations.
                        +
                        - - - -

                        Package org.glassfish.tyrus.core.frame Description

                        -
                        WebSocket frame representations.
                        +
                        + diff --git a/apidocs/latest1x/org/glassfish/tyrus/core/frame/package-tree.html b/apidocs/latest1x/org/glassfish/tyrus/core/frame/package-tree.html index 59128422..d3270345 100644 --- a/apidocs/latest1x/org/glassfish/tyrus/core/frame/package-tree.html +++ b/apidocs/latest1x/org/glassfish/tyrus/core/frame/package-tree.html @@ -1,38 +1,52 @@ - + - + +org.glassfish.tyrus.core.frame Class Hierarchy (Tyrus 1.19 API) -org.glassfish.tyrus.core.frame Class Hierarchy (Tyrus 1.18 API) - + + + + + + + + +var pathtoroot = "../../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
                        + +
                        +

                        Hierarchy For Package org.glassfish.tyrus.core.frame

                        Package Hierarchies: @@ -78,50 +102,57 @@
                        +

                        Class Hierarchy

                        +
                        +

                        Enum Hierarchy

                          -
                        • java.lang.Object +
                        • java.lang.Object
                            -
                          • java.lang.Enum<E> (implements java.lang.Comparable<T>, java.io.Serializable) +
                          • java.lang.Enum<E> (implements java.lang.Comparable<T>, java.io.Serializable)
                        +
                        +
                        + diff --git a/apidocs/latest1x/org/glassfish/tyrus/core/frame/package-use.html b/apidocs/latest1x/org/glassfish/tyrus/core/frame/package-use.html index 4ef9f34e..f4826f60 100644 --- a/apidocs/latest1x/org/glassfish/tyrus/core/frame/package-use.html +++ b/apidocs/latest1x/org/glassfish/tyrus/core/frame/package-use.html @@ -1,38 +1,52 @@ - + - + +Uses of Package org.glassfish.tyrus.core.frame (Tyrus 1.19 API) -Uses of Package org.glassfish.tyrus.core.frame (Tyrus 1.18 API) - + + + + + + + + +var pathtoroot = "../../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
                        + +
                        +

                        Uses of Package
                        org.glassfish.tyrus.core.frame

                        + +
                        +
                        @@ -179,12 +212,13 @@ var activeTableTab = "activeTableTab";
                        • +
                            -
                          • +
                          • Field Detail

                            - +
                              @@ -202,34 +236,36 @@ var activeTableTab = "activeTableTab";
                          +
                          +
                            -
                          • +
                          • Method Detail

                            - +
                            • getKey

                              -
                              java.lang.String getKey()
                              +
                              java.lang.String getKey()
                              Gets the key in the resource bundle.
                              Returns:
                              -
                              if this method returns NOT_LOCALIZABLE, that means the message is not localizable, and the first - item of getArguments() array holds a String.
                              +
                              if this method returns NOT_LOCALIZABLE, that means the message is not localizable, and the first + item of getArguments() array holds a String.
                            - +
                            • getArguments

                              -
                              java.lang.Object[] getArguments()
                              +
                              java.lang.Object[] getArguments()
                              Returns the arguments for message formatting.
                              Returns:
                              @@ -237,13 +273,13 @@ var activeTableTab = "activeTableTab";
                            - +
                            • getResourceBundleName

                              -
                              java.lang.String getResourceBundleName()
                              +
                              java.lang.String getResourceBundleName()
                              Get the name of the localization messages resource bundle.
                              Returns:
                              @@ -253,21 +289,25 @@ var activeTableTab = "activeTableTab";
                          +
                        +
                        + diff --git a/apidocs/latest1x/org/glassfish/tyrus/core/l10n/LocalizableMessage.html b/apidocs/latest1x/org/glassfish/tyrus/core/l10n/LocalizableMessage.html index 64728a40..e9d441a6 100644 --- a/apidocs/latest1x/org/glassfish/tyrus/core/l10n/LocalizableMessage.html +++ b/apidocs/latest1x/org/glassfish/tyrus/core/l10n/LocalizableMessage.html @@ -1,44 +1,58 @@ - + - + +LocalizableMessage (Tyrus 1.19 API) -LocalizableMessage (Tyrus 1.18 API) - + + + + + + + + +var pathtoroot = "../../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
                        + +
                        +
                        -
                        org.glassfish.tyrus.core.l10n
                        +

                        Class LocalizableMessage

                        @@ -110,13 +134,12 @@ var activeTableTab = "activeTableTab";
                      • All Implemented Interfaces:
                        -
                        Localizable
                        +
                        Localizable

                        -
                        public final class LocalizableMessage
                         extends java.lang.Object
                        -implements Localizable
                        +implements Localizable
                        Author:
                        WS Development Team
                        @@ -128,72 +151,83 @@ implements
                      • +
                        +
                        +
                          -
                        • +
                        • Constructor Summary

                          - +
                          - + + - +
                          Constructors 
                          Constructor and DescriptionConstructorDescription
                          LocalizableMessage(java.lang.String bundlename, +LocalizableMessage​(java.lang.String bundlename, java.lang.String key, - java.lang.Object... args)  + java.lang.Object... args) 
                        +
                        +
                          -
                        • +
                        • Method Summary

                          - +
                          - + + - + - + - +
                          All Methods Instance Methods Concrete Methods 
                          Modifier and TypeMethod and DescriptionMethodDescription
                          java.lang.Object[]getArguments() +getArguments()
                          Returns the arguments for message formatting.
                          java.lang.StringgetKey() +getKey()
                          Gets the key in the resource bundle.
                          java.lang.StringgetResourceBundleName() +getResourceBundleName()
                          Get the name of the localization messages resource bundle.
                            -
                          • +
                          • Methods inherited from class java.lang.Object

                            @@ -201,6 +235,7 @@ implements
                          • +
                              -
                            • +
                            • Constructor Detail

                              - +
                              • LocalizableMessage

                                -
                                public LocalizableMessage(java.lang.String bundlename,
                                +
                                public LocalizableMessage​(java.lang.String bundlename,
                                                           java.lang.String key,
                                                           java.lang.Object... args)
                            +
                            +
                              -
                            • +
                            • Method Detail

                              - + - +
                              • getArguments

                                -
                                public java.lang.Object[] getArguments()
                                -
                                Description copied from interface: Localizable
                                +
                                public java.lang.Object[] getArguments()
                                +
                                Description copied from interface: Localizable
                                Returns the arguments for message formatting.
                                Specified by:
                                -
                                getArguments in interface Localizable
                                +
                                getArguments in interface Localizable
                                Returns:
                                can be an array of length 0 but never be null.
                              - +
                              • getResourceBundleName

                                -
                                public java.lang.String getResourceBundleName()
                                -
                                Description copied from interface: Localizable
                                +
                                public java.lang.String getResourceBundleName()
                                +
                                Description copied from interface: Localizable
                                Get the name of the localization messages resource bundle.
                                Specified by:
                                -
                                getResourceBundleName in interface Localizable
                                +
                                getResourceBundleName in interface Localizable
                                Returns:
                                the localization messages resource bundle name.
                                @@ -286,21 +324,25 @@ implements +

                                Copyright © 2012–2022 Oracle Corporation. All rights reserved.

                                + diff --git a/apidocs/latest1x/org/glassfish/tyrus/core/l10n/LocalizableMessageFactory.html b/apidocs/latest1x/org/glassfish/tyrus/core/l10n/LocalizableMessageFactory.html index b64d66e0..3d85e626 100644 --- a/apidocs/latest1x/org/glassfish/tyrus/core/l10n/LocalizableMessageFactory.html +++ b/apidocs/latest1x/org/glassfish/tyrus/core/l10n/LocalizableMessageFactory.html @@ -1,44 +1,58 @@ - + - + +LocalizableMessageFactory (Tyrus 1.19 API) -LocalizableMessageFactory (Tyrus 1.18 API) - + + + + + + + + +var pathtoroot = "../../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
                                + +
                                +
                                -
                                org.glassfish.tyrus.core.l10n
                                +

                                Class LocalizableMessageFactory

                                @@ -109,7 +133,6 @@ var activeTableTab = "activeTableTab";

                                • -
                                  public class LocalizableMessageFactory
                                   extends java.lang.Object
                                  @@ -123,42 +146,49 @@ extends java.lang.Object
                                @@ -173,55 +204,62 @@ extends java.lang.Object
                                • +
                                    -
                                  • +
                                  • Constructor Detail

                                    - +
                                    • LocalizableMessageFactory

                                      -
                                      public LocalizableMessageFactory(java.lang.String bundlename)
                                      +
                                      public LocalizableMessageFactory​(java.lang.String bundlename)
                                  +
                                  +
                                    -
                                  • +
                                  • Method Detail

                                    - +
                                    • getMessage

                                      -
                                      public Localizable getMessage(java.lang.String key,
                                      +
                                      public Localizable getMessage​(java.lang.String key,
                                                                     java.lang.Object... args)
                                  +
                      • +
                        + diff --git a/apidocs/latest1x/org/glassfish/tyrus/core/l10n/LocalizationMessages.html b/apidocs/latest1x/org/glassfish/tyrus/core/l10n/LocalizationMessages.html index bd4eee89..4de82a1c 100644 --- a/apidocs/latest1x/org/glassfish/tyrus/core/l10n/LocalizationMessages.html +++ b/apidocs/latest1x/org/glassfish/tyrus/core/l10n/LocalizationMessages.html @@ -1,44 +1,58 @@ - + - + +LocalizationMessages (Tyrus 1.19 API) -LocalizationMessages (Tyrus 1.18 API) - + + + + + + + + +var pathtoroot = "../../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
                        + +
                        +
                        -
                        org.glassfish.tyrus.core.l10n
                        +

                        Class LocalizationMessages

                        @@ -109,7 +133,6 @@ var activeTableTab = "activeTableTab";
                        @@ -1173,12 +1389,13 @@ extends java.lang.Object
                        • +
                            -
                          • +
                          • Constructor Detail

                            - +
                              @@ -1189,1874 +1406,1880 @@ extends java.lang.Object
                          +
                          +
                            -
                          • +
                          • Method Detail

                            - +
                            • -

                              localizableILLEGAL_PROVIDER_CLASS_NAME

                              -
                              public static Localizable localizableILLEGAL_PROVIDER_CLASS_NAME(java.lang.Object arg0)
                              +

                              localizableINVALID_HEADER

                              +
                              public static Localizable localizableINVALID_HEADER​(java.lang.Object arg0,
                              +                                                    java.lang.Object arg1)
                            - +
                            • -

                              ILLEGAL_PROVIDER_CLASS_NAME

                              -
                              public static java.lang.String ILLEGAL_PROVIDER_CLASS_NAME(java.lang.Object arg0)
                              -
                              Illegal provider-class name: {0}.
                              +

                              INVALID_HEADER

                              +
                              public static java.lang.String INVALID_HEADER​(java.lang.Object arg0,
                              +                                              java.lang.Object arg1)
                              +
                              Invalid {0} header value: "{1}".
                            - +
                            • -

                              localizableMESSAGE_HANDLER_ALREADY_REGISTERED_PONG

                              -
                              public static Localizable localizableMESSAGE_HANDLER_ALREADY_REGISTERED_PONG()
                              +

                              localizableBINARY_MESSAGE_HANDLER_NOT_FOUND

                              +
                              public static Localizable localizableBINARY_MESSAGE_HANDLER_NOT_FOUND​(java.lang.Object arg0)
                            - +
                            • -

                              MESSAGE_HANDLER_ALREADY_REGISTERED_PONG

                              -
                              public static java.lang.String MESSAGE_HANDLER_ALREADY_REGISTERED_PONG()
                              -
                              Pong MessageHandler already registered.
                              +

                              BINARY_MESSAGE_HANDLER_NOT_FOUND

                              +
                              public static java.lang.String BINARY_MESSAGE_HANDLER_NOT_FOUND​(java.lang.Object arg0)
                              +
                              Binary message handler not found. Session: ''{0}''.
                            - +
                            • -

                              localizableENDPOINT_WRONG_PATH_PARAM

                              -
                              public static Localizable localizableENDPOINT_WRONG_PATH_PARAM(java.lang.Object arg0,
                              -                                                               java.lang.Object arg1)
                              +

                              localizableSOCKET_NOT_CONNECTED

                              +
                              public static Localizable localizableSOCKET_NOT_CONNECTED()
                            - +
                            • -

                              ENDPOINT_WRONG_PATH_PARAM

                              -
                              public static java.lang.String ENDPOINT_WRONG_PATH_PARAM(java.lang.Object arg0,
                              -                                                         java.lang.Object arg1)
                              -
                              Method: {0}: {1} is not allowed type for @PathParameter.
                              +

                              SOCKET_NOT_CONNECTED

                              +
                              public static java.lang.String SOCKET_NOT_CONNECTED()
                              +
                              Socket is not connected.
                            - +
                            • -

                              localizableSESSION_CLOSED_IDLE_TIMEOUT

                              -
                              public static Localizable localizableSESSION_CLOSED_IDLE_TIMEOUT()
                              +

                              localizableCLASS_CHECKER_ADD_MESSAGE_HANDLER_ERROR

                              +
                              public static Localizable localizableCLASS_CHECKER_ADD_MESSAGE_HANDLER_ERROR​(java.lang.Object arg0,
                              +                                                                             java.lang.Object arg1)
                            - +
                            • -

                              SESSION_CLOSED_IDLE_TIMEOUT

                              -
                              public static java.lang.String SESSION_CLOSED_IDLE_TIMEOUT()
                              -
                              "Session closed by the container because of the idle timeout."
                              +

                              CLASS_CHECKER_ADD_MESSAGE_HANDLER_ERROR

                              +
                              public static java.lang.String CLASS_CHECKER_ADD_MESSAGE_HANDLER_ERROR​(java.lang.Object arg0,
                              +                                                                       java.lang.Object arg1)
                              +
                              Class {0}. {1}.
                            - +
                            • -

                              localizableENDPOINT_EXCEPTION_FROM_ON_ERROR

                              -
                              public static Localizable localizableENDPOINT_EXCEPTION_FROM_ON_ERROR(java.lang.Object arg0)
                              +

                              localizableAUTHENTICATION_DIGEST_QOP_UNSUPPORTED

                              +
                              public static Localizable localizableAUTHENTICATION_DIGEST_QOP_UNSUPPORTED​(java.lang.Object arg0)
                            - +
                            • -

                              ENDPOINT_EXCEPTION_FROM_ON_ERROR

                              -
                              public static java.lang.String ENDPOINT_EXCEPTION_FROM_ON_ERROR(java.lang.Object arg0)
                              -
                              Exception thrown from onError method {0}.
                              +

                              AUTHENTICATION_DIGEST_QOP_UNSUPPORTED

                              +
                              public static java.lang.String AUTHENTICATION_DIGEST_QOP_UNSUPPORTED​(java.lang.Object arg0)
                              +
                              The 'qop' (quality of protection) = {0} extension requested by the server is not supported by Tyrus. Cannot authenticate against the server using Http Digest Authentication.
                            - +
                            • -

                              localizableENDPOINT_MAX_MESSAGE_SIZE_TOO_LONG

                              -
                              public static Localizable localizableENDPOINT_MAX_MESSAGE_SIZE_TOO_LONG(java.lang.Object arg0,
                              -                                                                        java.lang.Object arg1,
                              -                                                                        java.lang.Object arg2,
                              -                                                                        java.lang.Object arg3)
                              +

                              localizableMESSAGE_HANDLER_ALREADY_REGISTERED_BINARY

                              +
                              public static Localizable localizableMESSAGE_HANDLER_ALREADY_REGISTERED_BINARY()
                            - +
                            • -

                              ENDPOINT_MAX_MESSAGE_SIZE_TOO_LONG

                              -
                              public static java.lang.String ENDPOINT_MAX_MESSAGE_SIZE_TOO_LONG(java.lang.Object arg0,
                              -                                                                  java.lang.Object arg1,
                              -                                                                  java.lang.Object arg2,
                              -                                                                  java.lang.Object arg3)
                              -
                              MaxMessageSize {0} on method {1} in endpoint {2} is larger than the container incoming buffer size {3}.
                              +

                              MESSAGE_HANDLER_ALREADY_REGISTERED_BINARY

                              +
                              public static java.lang.String MESSAGE_HANDLER_ALREADY_REGISTERED_BINARY()
                              +
                              Binary MessageHandler already registered.
                            - +
                            • -

                              localizableENCODING_FAILED

                              -
                              public static Localizable localizableENCODING_FAILED()
                              +

                              localizableSEND_MESSAGE_INFRAGMENT

                              +
                              public static Localizable localizableSEND_MESSAGE_INFRAGMENT()
                            - +
                            • -

                              ENCODING_FAILED

                              -
                              public static java.lang.String ENCODING_FAILED()
                              -
                              Encoding failed.
                              +

                              SEND_MESSAGE_INFRAGMENT

                              +
                              public static java.lang.String SEND_MESSAGE_INFRAGMENT()
                              +
                              Attempting to send a message while sending fragments of another.
                            - +
                            • -

                              localizableCLASS_NOT_INSTANTIATED

                              -
                              public static Localizable localizableCLASS_NOT_INSTANTIATED(java.lang.Object arg0)
                              +

                              localizableCLASS_CHECKER_FORBIDDEN_WEB_SOCKET_OPEN_PARAM

                              +
                              public static Localizable localizableCLASS_CHECKER_FORBIDDEN_WEB_SOCKET_OPEN_PARAM​(java.lang.Object arg0,
                              +                                                                                   java.lang.Object arg1,
                              +                                                                                   java.lang.Object arg2)
                            - +
                            • -

                              CLASS_NOT_INSTANTIATED

                              -
                              public static java.lang.String CLASS_NOT_INSTANTIATED(java.lang.Object arg0)
                              -
                              Class {0} couldn''t be instantiated.
                              +

                              CLASS_CHECKER_FORBIDDEN_WEB_SOCKET_OPEN_PARAM

                              +
                              public static java.lang.String CLASS_CHECKER_FORBIDDEN_WEB_SOCKET_OPEN_PARAM​(java.lang.Object arg0,
                              +                                                                             java.lang.Object arg1,
                              +                                                                             java.lang.Object arg2)
                              +
                              Method: {0}.{1}: {2} has got multiple parameters of identical type.
                            - +
                            • -

                              localizableCONNECTION_NULL

                              -
                              public static Localizable localizableCONNECTION_NULL()
                              +

                              localizableURI_COMPONENT_ENCODED_OCTET_INVALID_DIGIT

                              +
                              public static Localizable localizableURI_COMPONENT_ENCODED_OCTET_INVALID_DIGIT​(java.lang.Object arg0,
                              +                                                                               java.lang.Object arg1)
                            - +
                            • -

                              CONNECTION_NULL

                              -
                              public static java.lang.String CONNECTION_NULL()
                              -
                              Connection is null.
                              +

                              URI_COMPONENT_ENCODED_OCTET_INVALID_DIGIT

                              +
                              public static java.lang.String URI_COMPONENT_ENCODED_OCTET_INVALID_DIGIT​(java.lang.Object arg0,
                              +                                                                         java.lang.Object arg1)
                              +
                              Malformed percent-encoded octet at index {0}, invalid hexadecimal digit ''{1}''.
                            - +
                            • -

                              localizableHANDSHAKE_HTTP_REDIRECTION_MAX_REDIRECTION

                              -
                              public static Localizable localizableHANDSHAKE_HTTP_REDIRECTION_MAX_REDIRECTION(java.lang.Object arg0)
                              +

                              localizableTEXT_MESSAGE_HANDLER_NOT_FOUND

                              +
                              public static Localizable localizableTEXT_MESSAGE_HANDLER_NOT_FOUND​(java.lang.Object arg0)
                            - +
                            • -

                              HANDSHAKE_HTTP_REDIRECTION_MAX_REDIRECTION

                              -
                              public static java.lang.String HANDSHAKE_HTTP_REDIRECTION_MAX_REDIRECTION(java.lang.Object arg0)
                              -
                              Redirect attempts exceeded maximum allowed limit of ({0}) redirects.
                              +

                              TEXT_MESSAGE_HANDLER_NOT_FOUND

                              +
                              public static java.lang.String TEXT_MESSAGE_HANDLER_NOT_FOUND​(java.lang.Object arg0)
                              +
                              Text message handler not found. Session: ''{0}''.
                            - +
                            • -

                              localizableNO_DECODER_FOUND

                              -
                              public static Localizable localizableNO_DECODER_FOUND()
                              +

                              localizableTEXT_MESSAGE_OUT_OF_ORDER

                              +
                              public static Localizable localizableTEXT_MESSAGE_OUT_OF_ORDER​(java.lang.Object arg0)
                            - +
                            • -

                              NO_DECODER_FOUND

                              -
                              public static java.lang.String NO_DECODER_FOUND()
                              -
                              No decoder found.
                              +

                              TEXT_MESSAGE_OUT_OF_ORDER

                              +
                              public static java.lang.String TEXT_MESSAGE_OUT_OF_ORDER​(java.lang.Object arg0)
                              +
                              Text message received out of order. Session: ''{0}''.
                            - +
                            • -

                              localizablePARTIAL_MESSAGE_BUFFER_OVERFLOW

                              -
                              public static Localizable localizablePARTIAL_MESSAGE_BUFFER_OVERFLOW()
                              +

                              localizableMESSAGE_HANDLER_PARTIAL_INVALID_TYPE

                              +
                              public static Localizable localizableMESSAGE_HANDLER_PARTIAL_INVALID_TYPE​(java.lang.Object arg0)
                            - +
                            • -

                              PARTIAL_MESSAGE_BUFFER_OVERFLOW

                              -
                              public static java.lang.String PARTIAL_MESSAGE_BUFFER_OVERFLOW()
                              -
                              Partial message could not be delivered due to buffer overflow.
                              +

                              MESSAGE_HANDLER_PARTIAL_INVALID_TYPE

                              +
                              public static java.lang.String MESSAGE_HANDLER_PARTIAL_INVALID_TYPE​(java.lang.Object arg0)
                              +
                              Partial MessageHandler can''t be of type: {0}.
                            - +
                            • -

                              localizableUNEXPECTED_ERROR_CONNECTION_CLOSE

                              -
                              public static Localizable localizableUNEXPECTED_ERROR_CONNECTION_CLOSE()
                              +

                              localizableMESSAGE_HANDLER_DECODER_NOT_REGISTERED

                              +
                              public static Localizable localizableMESSAGE_HANDLER_DECODER_NOT_REGISTERED​(java.lang.Object arg0)
                            - +
                            • -

                              UNEXPECTED_ERROR_CONNECTION_CLOSE

                              -
                              public static java.lang.String UNEXPECTED_ERROR_CONNECTION_CLOSE()
                              -
                              Unexpected error, closing connection.
                              +

                              MESSAGE_HANDLER_DECODER_NOT_REGISTERED

                              +
                              public static java.lang.String MESSAGE_HANDLER_DECODER_NOT_REGISTERED​(java.lang.Object arg0)
                              +
                              Decoder for type: {0} has not been registered.
                            - +
                            • -

                              localizableENDPOINT_MULTIPLE_SESSION_PARAM

                              -
                              public static Localizable localizableENDPOINT_MULTIPLE_SESSION_PARAM(java.lang.Object arg0)
                              +

                              localizableINVALID_RESPONSE_CODE

                              +
                              public static Localizable localizableINVALID_RESPONSE_CODE​(java.lang.Object arg0,
                              +                                                           java.lang.Object arg1)
                            - +
                            • -

                              ENDPOINT_MULTIPLE_SESSION_PARAM

                              -
                              public static java.lang.String ENDPOINT_MULTIPLE_SESSION_PARAM(java.lang.Object arg0)
                              -
                              Method {0} has got two or more Session parameters.
                              +

                              INVALID_RESPONSE_CODE

                              +
                              public static java.lang.String INVALID_RESPONSE_CODE​(java.lang.Object arg0,
                              +                                                     java.lang.Object arg1)
                              +
                              Response code was not {0}: {1}.
                            - +
                            • -

                              localizableURI_COMPONENT_INVALID_CHARACTER

                              -
                              public static Localizable localizableURI_COMPONENT_INVALID_CHARACTER(java.lang.Object arg0,
                              -                                                                     java.lang.Object arg1,
                              -                                                                     java.lang.Object arg2,
                              -                                                                     java.lang.Object arg3)
                              +

                              localizableSEC_KEY_NULL_NOT_ALLOWED

                              +
                              public static Localizable localizableSEC_KEY_NULL_NOT_ALLOWED()
                            - +
                            • -

                              URI_COMPONENT_INVALID_CHARACTER

                              -
                              public static java.lang.String URI_COMPONENT_INVALID_CHARACTER(java.lang.Object arg0,
                              -                                                               java.lang.Object arg1,
                              -                                                               java.lang.Object arg2,
                              -                                                               java.lang.Object arg3)
                              -
                              The string "{0}" for the URI component {1} contains an invalid character, ''{2}'', at index {3}.
                              +

                              SEC_KEY_NULL_NOT_ALLOWED

                              +
                              public static java.lang.String SEC_KEY_NULL_NOT_ALLOWED()
                              +
                              Null Sec-WebSocket-Key is not allowed.
                            - +
                            • -

                              localizableCOMPONENT_PROVIDER_THREW_EXCEPTION

                              -
                              public static Localizable localizableCOMPONENT_PROVIDER_THREW_EXCEPTION(java.lang.Object arg0)
                              +

                              localizableCLASS_CHECKER_FORBIDDEN_WEB_SOCKET_CLOSE_PARAM

                              +
                              public static Localizable localizableCLASS_CHECKER_FORBIDDEN_WEB_SOCKET_CLOSE_PARAM​(java.lang.Object arg0,
                              +                                                                                    java.lang.Object arg1)
                            - +
                            • -

                              COMPONENT_PROVIDER_THREW_EXCEPTION

                              -
                              public static java.lang.String COMPONENT_PROVIDER_THREW_EXCEPTION(java.lang.Object arg0)
                              -
                              Component provider threw exception when providing instance of class {0}.
                              +

                              CLASS_CHECKER_FORBIDDEN_WEB_SOCKET_CLOSE_PARAM

                              +
                              public static java.lang.String CLASS_CHECKER_FORBIDDEN_WEB_SOCKET_CLOSE_PARAM​(java.lang.Object arg0,
                              +                                                                              java.lang.Object arg1)
                              +
                              Method: {0}.{1}: @OnClose has got different params than Session or CloseReason.
                            - +
                            • -

                              localizableHANDSHAKE_HTTP_REDIRECTION_NOT_ENABLED

                              -
                              public static Localizable localizableHANDSHAKE_HTTP_REDIRECTION_NOT_ENABLED(java.lang.Object arg0)
                              +

                              localizableEQUIVALENT_PATHS

                              +
                              public static Localizable localizableEQUIVALENT_PATHS​(java.lang.Object arg0,
                              +                                                      java.lang.Object arg1)
                            - +
                            • -

                              HANDSHAKE_HTTP_REDIRECTION_NOT_ENABLED

                              -
                              public static java.lang.String HANDSHAKE_HTTP_REDIRECTION_NOT_ENABLED(java.lang.Object arg0)
                              -
                              Received HTTP response status code: {0} and redirect processing is not enabled.
                              +

                              EQUIVALENT_PATHS

                              +
                              public static java.lang.String EQUIVALENT_PATHS​(java.lang.Object arg0,
                              +                                                java.lang.Object arg1)
                              +
                              Found equivalent paths. Added path: ''{0}'' is equivalent with ''{1}''.
                            - +
                            • -

                              localizableFRAGMENT_INVALID_OPCODE

                              -
                              public static Localizable localizableFRAGMENT_INVALID_OPCODE()
                              +

                              localizableURI_COMPONENT_INVALID_CHARACTER

                              +
                              public static Localizable localizableURI_COMPONENT_INVALID_CHARACTER​(java.lang.Object arg0,
                              +                                                                     java.lang.Object arg1,
                              +                                                                     java.lang.Object arg2,
                              +                                                                     java.lang.Object arg3)
                            - +
                            • -

                              FRAGMENT_INVALID_OPCODE

                              -
                              public static java.lang.String FRAGMENT_INVALID_OPCODE()
                              -
                              Fragment sent but opcode was not 0.
                              +

                              URI_COMPONENT_INVALID_CHARACTER

                              +
                              public static java.lang.String URI_COMPONENT_INVALID_CHARACTER​(java.lang.Object arg0,
                              +                                                               java.lang.Object arg1,
                              +                                                               java.lang.Object arg2,
                              +                                                               java.lang.Object arg3)
                              +
                              The string "{0}" for the URI component {1} contains an invalid character, ''{2}'', at index {3}.
                            - +
                            • -

                              localizableINVALID_RESPONSE_CODE

                              -
                              public static Localizable localizableINVALID_RESPONSE_CODE(java.lang.Object arg0,
                              -                                                           java.lang.Object arg1)
                              +

                              localizableMAX_SESSIONS_PER_REMOTEADDR_EXCEEDED

                              +
                              public static Localizable localizableMAX_SESSIONS_PER_REMOTEADDR_EXCEEDED()
                            - +
                            • -

                              INVALID_RESPONSE_CODE

                              -
                              public static java.lang.String INVALID_RESPONSE_CODE(java.lang.Object arg0,
                              -                                                     java.lang.Object arg1)
                              -
                              Response code was not {0}: {1}.
                              +

                              MAX_SESSIONS_PER_REMOTEADDR_EXCEEDED

                              +
                              public static java.lang.String MAX_SESSIONS_PER_REMOTEADDR_EXCEEDED()
                              +
                              Maximal number of open sessions per remote address exceeded.
                            - +
                            • -

                              localizableIOEXCEPTION_CLOSE

                              -
                              public static Localizable localizableIOEXCEPTION_CLOSE()
                              +

                              localizableAPPLICATION_DATA_TOO_LONG

                              +
                              public static Localizable localizableAPPLICATION_DATA_TOO_LONG​(java.lang.Object arg0)
                            - +
                            • -

                              IOEXCEPTION_CLOSE

                              -
                              public static java.lang.String IOEXCEPTION_CLOSE()
                              -
                              IOException thrown when closing connection.
                              +

                              APPLICATION_DATA_TOO_LONG

                              +
                              public static java.lang.String APPLICATION_DATA_TOO_LONG​(java.lang.Object arg0)
                              +
                              {0} applicationData exceeded the maximum allowed payload of 125 bytes.
                            - +
                            • -

                              localizableCLASS_CHECKER_FORBIDDEN_RETURN_TYPE

                              -
                              public static Localizable localizableCLASS_CHECKER_FORBIDDEN_RETURN_TYPE(java.lang.Object arg0,
                              -                                                                         java.lang.Object arg1)
                              +

                              localizableMESSAGE_TOO_LONG

                              +
                              public static Localizable localizableMESSAGE_TOO_LONG​(java.lang.Object arg0,
                              +                                                      java.lang.Object arg1)
                            - +
                            • -

                              CLASS_CHECKER_FORBIDDEN_RETURN_TYPE

                              -
                              public static java.lang.String CLASS_CHECKER_FORBIDDEN_RETURN_TYPE(java.lang.Object arg0,
                              -                                                                   java.lang.Object arg1)
                              -
                              Method: {0}.{1}: has got unsupported return type.
                              +

                              MESSAGE_TOO_LONG

                              +
                              public static java.lang.String MESSAGE_TOO_LONG​(java.lang.Object arg0,
                              +                                                java.lang.Object arg1)
                              +
                              Message too long; allowed message size is {0} bytes. (Current message length is {1} bytes).
                            - +
                            • -

                              localizableMAX_SESSIONS_PER_REMOTEADDR_EXCEEDED

                              -
                              public static Localizable localizableMAX_SESSIONS_PER_REMOTEADDR_EXCEEDED()
                              +

                              localizableAUTHENTICATION_DIGEST_NO_SUCH_ALG

                              +
                              public static Localizable localizableAUTHENTICATION_DIGEST_NO_SUCH_ALG()
                            - +
                            • -

                              MAX_SESSIONS_PER_REMOTEADDR_EXCEEDED

                              -
                              public static java.lang.String MAX_SESSIONS_PER_REMOTEADDR_EXCEEDED()
                              -
                              Maximal number of open sessions per remote address exceeded.
                              +

                              AUTHENTICATION_DIGEST_NO_SUCH_ALG

                              +
                              public static java.lang.String AUTHENTICATION_DIGEST_NO_SUCH_ALG()
                              +
                              No such algorithm to generate authorization digest http header.
                            - +
                            • -

                              localizableBINARY_MESSAGE_OUT_OF_ORDER

                              -
                              public static Localizable localizableBINARY_MESSAGE_OUT_OF_ORDER(java.lang.Object arg0)
                              +

                              localizableHANDSHAKE_HTTP_REDIRECTION_NOT_ENABLED

                              +
                              public static Localizable localizableHANDSHAKE_HTTP_REDIRECTION_NOT_ENABLED​(java.lang.Object arg0)
                            - +
                            • -

                              BINARY_MESSAGE_OUT_OF_ORDER

                              -
                              public static java.lang.String BINARY_MESSAGE_OUT_OF_ORDER(java.lang.Object arg0)
                              -
                              Binary message received out of order. Session: ''{0}''.
                              +

                              HANDSHAKE_HTTP_REDIRECTION_NOT_ENABLED

                              +
                              public static java.lang.String HANDSHAKE_HTTP_REDIRECTION_NOT_ENABLED​(java.lang.Object arg0)
                              +
                              Received HTTP response status code: {0} and redirect processing is not enabled.
                            - +
                            • -

                              localizableEXCEPTION_CAUGHT_WHILE_LOADING_SPI_PROVIDERS

                              -
                              public static Localizable localizableEXCEPTION_CAUGHT_WHILE_LOADING_SPI_PROVIDERS()
                              +

                              localizableHANDSHAKE_HTTP_REDIRECTION_NEW_LOCATION_MISSING

                              +
                              public static Localizable localizableHANDSHAKE_HTTP_REDIRECTION_NEW_LOCATION_MISSING()
                            - +
                            • -

                              EXCEPTION_CAUGHT_WHILE_LOADING_SPI_PROVIDERS

                              -
                              public static java.lang.String EXCEPTION_CAUGHT_WHILE_LOADING_SPI_PROVIDERS()
                              -
                              Exception caught while loading SPI providers.
                              +

                              HANDSHAKE_HTTP_REDIRECTION_NEW_LOCATION_MISSING

                              +
                              public static java.lang.String HANDSHAKE_HTTP_REDIRECTION_NEW_LOCATION_MISSING()
                              +
                              Missing or empty Location header in 3xx HTTP Redirect response.
                            - +
                            • -

                              localizableBUFFER_OVERFLOW

                              -
                              public static Localizable localizableBUFFER_OVERFLOW()
                              +

                              localizableARGUMENT_NOT_NULL

                              +
                              public static Localizable localizableARGUMENT_NOT_NULL​(java.lang.Object arg0)
                            - +
                            • -

                              BUFFER_OVERFLOW

                              -
                              public static java.lang.String BUFFER_OVERFLOW()
                              -
                              Buffer overflow.
                              +

                              ARGUMENT_NOT_NULL

                              +
                              public static java.lang.String ARGUMENT_NOT_NULL​(java.lang.Object arg0)
                              +
                              Argument ''{0}'' cannot be null.
                            - +
                            • -

                              localizableURI_COMPONENT_ENCODED_OCTET_MALFORMED

                              -
                              public static Localizable localizableURI_COMPONENT_ENCODED_OCTET_MALFORMED(java.lang.Object arg0)
                              +

                              localizableCOMPONENT_PROVIDER_NOT_FOUND

                              +
                              public static Localizable localizableCOMPONENT_PROVIDER_NOT_FOUND​(java.lang.Object arg0)
                            - +
                            • -

                              URI_COMPONENT_ENCODED_OCTET_MALFORMED

                              -
                              public static java.lang.String URI_COMPONENT_ENCODED_OCTET_MALFORMED(java.lang.Object arg0)
                              -
                              Malformed percent-encoded octet at index {0}.
                              +

                              COMPONENT_PROVIDER_NOT_FOUND

                              +
                              public static java.lang.String COMPONENT_PROVIDER_NOT_FOUND​(java.lang.Object arg0)
                              +
                              Component provider for class {0} not found.
                            - +
                            • -

                              localizableUNEXPECTED_END_FRAGMENT

                              -
                              public static Localizable localizableUNEXPECTED_END_FRAGMENT()
                              +

                              localizablePROVIDER_NOT_FOUND

                              +
                              public static Localizable localizablePROVIDER_NOT_FOUND​(java.lang.Object arg0,
                              +                                                        java.lang.Object arg1)
                            - +
                            • -

                              UNEXPECTED_END_FRAGMENT

                              -
                              public static java.lang.String UNEXPECTED_END_FRAGMENT()
                              -
                              End fragment sent, but wasn''t processing any previous fragments.
                              +

                              PROVIDER_NOT_FOUND

                              +
                              public static java.lang.String PROVIDER_NOT_FOUND​(java.lang.Object arg0,
                              +                                                  java.lang.Object arg1)
                              +
                              The class {0} implementing the provider {1} is not found. The provider implementation is ignored.
                            - +
                            • -

                              localizableDATA_UNEXPECTED_LENGTH

                              -
                              public static Localizable localizableDATA_UNEXPECTED_LENGTH(java.lang.Object arg0,
                              -                                                            java.lang.Object arg1)
                              +

                              localizablePARTIAL_MESSAGE_BUFFER_OVERFLOW

                              +
                              public static Localizable localizablePARTIAL_MESSAGE_BUFFER_OVERFLOW()
                            - +
                            • -

                              DATA_UNEXPECTED_LENGTH

                              -
                              public static java.lang.String DATA_UNEXPECTED_LENGTH(java.lang.Object arg0,
                              -                                                      java.lang.Object arg1)
                              -
                              Data read ({0}) is not the expected size ({1}).
                              +

                              PARTIAL_MESSAGE_BUFFER_OVERFLOW

                              +
                              public static java.lang.String PARTIAL_MESSAGE_BUFFER_OVERFLOW()
                              +
                              Partial message could not be delivered due to buffer overflow.
                            - +
                            • -

                              localizableCLASS_CHECKER_FORBIDDEN_WEB_SOCKET_OPEN_PARAM

                              -
                              public static Localizable localizableCLASS_CHECKER_FORBIDDEN_WEB_SOCKET_OPEN_PARAM(java.lang.Object arg0,
                              -                                                                                   java.lang.Object arg1,
                              -                                                                                   java.lang.Object arg2)
                              +

                              localizableRSV_INCORRECTLY_SET

                              +
                              public static Localizable localizableRSV_INCORRECTLY_SET()
                            - +
                            • -

                              CLASS_CHECKER_FORBIDDEN_WEB_SOCKET_OPEN_PARAM

                              -
                              public static java.lang.String CLASS_CHECKER_FORBIDDEN_WEB_SOCKET_OPEN_PARAM(java.lang.Object arg0,
                              -                                                                             java.lang.Object arg1,
                              -                                                                             java.lang.Object arg2)
                              -
                              Method: {0}.{1}: {2} has got multiple parameters of identical type.
                              +

                              RSV_INCORRECTLY_SET

                              +
                              public static java.lang.String RSV_INCORRECTLY_SET()
                              +
                              RSV bit(s) incorrectly set.
                            - +
                            • -

                              localizableCLASS_CHECKER_FORBIDDEN_WEB_SOCKET_CLOSE_PARAM

                              -
                              public static Localizable localizableCLASS_CHECKER_FORBIDDEN_WEB_SOCKET_CLOSE_PARAM(java.lang.Object arg0,
                              -                                                                                    java.lang.Object arg1)
                              +

                              localizableURI_COMPONENT_ENCODED_OCTET_MALFORMED

                              +
                              public static Localizable localizableURI_COMPONENT_ENCODED_OCTET_MALFORMED​(java.lang.Object arg0)
                            - +
                            • -

                              CLASS_CHECKER_FORBIDDEN_WEB_SOCKET_CLOSE_PARAM

                              -
                              public static java.lang.String CLASS_CHECKER_FORBIDDEN_WEB_SOCKET_CLOSE_PARAM(java.lang.Object arg0,
                              -                                                                              java.lang.Object arg1)
                              -
                              Method: {0}.{1}: @OnClose has got different params than Session or CloseReason.
                              +

                              URI_COMPONENT_ENCODED_OCTET_MALFORMED

                              +
                              public static java.lang.String URI_COMPONENT_ENCODED_OCTET_MALFORMED​(java.lang.Object arg0)
                              +
                              Malformed percent-encoded octet at index {0}.
                            - +
                            • -

                              localizableBINARY_MESSAGE_HANDLER_NOT_FOUND

                              -
                              public static Localizable localizableBINARY_MESSAGE_HANDLER_NOT_FOUND(java.lang.Object arg0)
                              +

                              localizableCONTROL_FRAME_FRAGMENTED

                              +
                              public static Localizable localizableCONTROL_FRAME_FRAGMENTED()
                            - +
                            • -

                              BINARY_MESSAGE_HANDLER_NOT_FOUND

                              -
                              public static java.lang.String BINARY_MESSAGE_HANDLER_NOT_FOUND(java.lang.Object arg0)
                              -
                              Binary message handler not found. Session: ''{0}''.
                              +

                              CONTROL_FRAME_FRAGMENTED

                              +
                              public static java.lang.String CONTROL_FRAME_FRAGMENTED()
                              +
                              Fragmented control frame.
                            - +
                            • -

                              localizableHEADERS_MISSING

                              -
                              public static Localizable localizableHEADERS_MISSING()
                              +

                              localizableCLASS_CHECKER_MULTIPLE_IDENTICAL_PARAMS

                              +
                              public static Localizable localizableCLASS_CHECKER_MULTIPLE_IDENTICAL_PARAMS​(java.lang.Object arg0,
                              +                                                                             java.lang.Object arg1)
                            - +
                            • -

                              HEADERS_MISSING

                              -
                              public static java.lang.String HEADERS_MISSING()
                              -
                              Missing headers required for WebSocket negotiation.
                              -
                            • +

                              CLASS_CHECKER_MULTIPLE_IDENTICAL_PARAMS

                              +
                              public static java.lang.String CLASS_CHECKER_MULTIPLE_IDENTICAL_PARAMS​(java.lang.Object arg0,
                              +                                                                       java.lang.Object arg1)
                              +
                              Method: {0}.{1}: has got multiple parameters of identical type.
                              +
                            - +
                            • -

                              localizableUNEXPECTED_STATE

                              -
                              public static Localizable localizableUNEXPECTED_STATE(java.lang.Object arg0)
                              +

                              localizableAUTHENTICATION_CREATE_AUTH_HEADER_FAILED

                              +
                              public static Localizable localizableAUTHENTICATION_CREATE_AUTH_HEADER_FAILED()
                            - +
                            • -

                              UNEXPECTED_STATE

                              -
                              public static java.lang.String UNEXPECTED_STATE(java.lang.Object arg0)
                              -
                              Unexpected state: {0}.
                              +

                              AUTHENTICATION_CREATE_AUTH_HEADER_FAILED

                              +
                              public static java.lang.String AUTHENTICATION_CREATE_AUTH_HEADER_FAILED()
                              +
                              Could not add authorization header in http request.
                            - +
                            • -

                              localizableTEXT_MESSAGE_OUT_OF_ORDER

                              -
                              public static Localizable localizableTEXT_MESSAGE_OUT_OF_ORDER(java.lang.Object arg0)
                              +

                              localizableMESSAGE_HANDLER_ALREADY_REGISTERED_TYPE

                              +
                              public static Localizable localizableMESSAGE_HANDLER_ALREADY_REGISTERED_TYPE​(java.lang.Object arg0)
                            - +
                            • -

                              TEXT_MESSAGE_OUT_OF_ORDER

                              -
                              public static java.lang.String TEXT_MESSAGE_OUT_OF_ORDER(java.lang.Object arg0)
                              -
                              Text message received out of order. Session: ''{0}''.
                              +

                              MESSAGE_HANDLER_ALREADY_REGISTERED_TYPE

                              +
                              public static java.lang.String MESSAGE_HANDLER_ALREADY_REGISTERED_TYPE​(java.lang.Object arg0)
                              +
                              MessageHandler for type: {0} already registered.
                            - +
                            • -

                              localizableTEXT_MESSAGE_HANDLER_NOT_FOUND

                              -
                              public static Localizable localizableTEXT_MESSAGE_HANDLER_NOT_FOUND(java.lang.Object arg0)
                              +

                              localizableCLASS_CHECKER_MANDATORY_PARAM_MISSING

                              +
                              public static Localizable localizableCLASS_CHECKER_MANDATORY_PARAM_MISSING​(java.lang.Object arg0,
                              +                                                                           java.lang.Object arg1)
                            - +
                            • -

                              TEXT_MESSAGE_HANDLER_NOT_FOUND

                              -
                              public static java.lang.String TEXT_MESSAGE_HANDLER_NOT_FOUND(java.lang.Object arg0)
                              -
                              Text message handler not found. Session: ''{0}''.
                              +

                              CLASS_CHECKER_MANDATORY_PARAM_MISSING

                              +
                              public static java.lang.String CLASS_CHECKER_MANDATORY_PARAM_MISSING​(java.lang.Object arg0,
                              +                                                                     java.lang.Object arg1)
                              +
                              Method: {0}.{1}: does not have mandatory Throwable param.
                            - +
                            • -

                              localizableEXTENSION_EXCEPTION

                              -
                              public static Localizable localizableEXTENSION_EXCEPTION(java.lang.Object arg0,
                              -                                                         java.lang.Object arg1)
                              +

                              localizableENDPOINT_WRONG_PATH_PARAM

                              +
                              public static Localizable localizableENDPOINT_WRONG_PATH_PARAM​(java.lang.Object arg0,
                              +                                                               java.lang.Object arg1)
                            - +
                            • -

                              EXTENSION_EXCEPTION

                              -
                              public static java.lang.String EXTENSION_EXCEPTION(java.lang.Object arg0,
                              -                                                   java.lang.Object arg1)
                              -
                              Extension ''{0}'' threw an exception during processOutgoing method invocation: "{1}".
                              +

                              ENDPOINT_WRONG_PATH_PARAM

                              +
                              public static java.lang.String ENDPOINT_WRONG_PATH_PARAM​(java.lang.Object arg0,
                              +                                                         java.lang.Object arg1)
                              +
                              Method: {0}: {1} is not allowed type for @PathParameter.
                            - +
                            • -

                              localizableMESSAGE_HANDLER_ALREADY_REGISTERED_BINARY

                              -
                              public static Localizable localizableMESSAGE_HANDLER_ALREADY_REGISTERED_BINARY()
                              +

                              localizableCONNECTION_HAS_BEEN_CLOSED

                              +
                              public static Localizable localizableCONNECTION_HAS_BEEN_CLOSED()
                            - +
                            • -

                              MESSAGE_HANDLER_ALREADY_REGISTERED_BINARY

                              -
                              public static java.lang.String MESSAGE_HANDLER_ALREADY_REGISTERED_BINARY()
                              -
                              Binary MessageHandler already registered.
                              +

                              CONNECTION_HAS_BEEN_CLOSED

                              +
                              public static java.lang.String CONNECTION_HAS_BEEN_CLOSED()
                              +
                              The connection has been closed.
                            - +
                            • -

                              localizableARGUMENT_NOT_NULL

                              -
                              public static Localizable localizableARGUMENT_NOT_NULL(java.lang.Object arg0)
                              +

                              localizableHANDSHAKE_HTTP_RETRY_AFTER_MESSAGE

                              +
                              public static Localizable localizableHANDSHAKE_HTTP_RETRY_AFTER_MESSAGE()
                            - +
                            • -

                              ARGUMENT_NOT_NULL

                              -
                              public static java.lang.String ARGUMENT_NOT_NULL(java.lang.Object arg0)
                              -
                              Argument ''{0}'' cannot be null.
                              +

                              HANDSHAKE_HTTP_RETRY_AFTER_MESSAGE

                              +
                              public static java.lang.String HANDSHAKE_HTTP_RETRY_AFTER_MESSAGE()
                              +
                              HTTP Status code 503 - Service Unavailable.
                            - +
                            • -

                              localizableCLASS_CHECKER_ADD_MESSAGE_HANDLER_ERROR

                              -
                              public static Localizable localizableCLASS_CHECKER_ADD_MESSAGE_HANDLER_ERROR(java.lang.Object arg0,
                              -                                                                             java.lang.Object arg1)
                              +

                              localizableDEPENDENT_CLASS_OF_PROVIDER_NOT_FOUND

                              +
                              public static Localizable localizableDEPENDENT_CLASS_OF_PROVIDER_NOT_FOUND​(java.lang.Object arg0,
                              +                                                                           java.lang.Object arg1,
                              +                                                                           java.lang.Object arg2)
                            - +
                            • -

                              CLASS_CHECKER_ADD_MESSAGE_HANDLER_ERROR

                              -
                              public static java.lang.String CLASS_CHECKER_ADD_MESSAGE_HANDLER_ERROR(java.lang.Object arg0,
                              -                                                                       java.lang.Object arg1)
                              -
                              Class {0}. {1}.
                              +

                              DEPENDENT_CLASS_OF_PROVIDER_NOT_FOUND

                              +
                              public static java.lang.String DEPENDENT_CLASS_OF_PROVIDER_NOT_FOUND​(java.lang.Object arg0,
                              +                                                                     java.lang.Object arg1,
                              +                                                                     java.lang.Object arg2)
                              +
                              A dependent class, {0}, of the class {1} implementing the provider {2} is not found. The provider implementation is ignored.
                            - +
                            • -

                              localizableILLEGAL_CONFIG_SYNTAX

                              -
                              public static Localizable localizableILLEGAL_CONFIG_SYNTAX()
                              +

                              localizableFRAME_WRITE_CANCELLED

                              +
                              public static Localizable localizableFRAME_WRITE_CANCELLED()
                            - +
                            • -

                              ILLEGAL_CONFIG_SYNTAX

                              -
                              public static java.lang.String ILLEGAL_CONFIG_SYNTAX()
                              -
                              Illegal configuration-file syntax.
                              +

                              FRAME_WRITE_CANCELLED

                              +
                              public static java.lang.String FRAME_WRITE_CANCELLED()
                              +
                              Frame writing was canceled.
                            - +
                            • -

                              localizableRSV_INCORRECTLY_SET

                              -
                              public static Localizable localizableRSV_INCORRECTLY_SET()
                              +

                              localizableUNEXPECTED_ERROR_CONNECTION_CLOSE

                              +
                              public static Localizable localizableUNEXPECTED_ERROR_CONNECTION_CLOSE()
                            - +
                            • -

                              RSV_INCORRECTLY_SET

                              -
                              public static java.lang.String RSV_INCORRECTLY_SET()
                              -
                              RSV bit(s) incorrectly set.
                              +

                              UNEXPECTED_ERROR_CONNECTION_CLOSE

                              +
                              public static java.lang.String UNEXPECTED_ERROR_CONNECTION_CLOSE()
                              +
                              Unexpected error, closing connection.
                            - +
                            • -

                              localizableMESSAGE_TOO_LONG

                              -
                              public static Localizable localizableMESSAGE_TOO_LONG(java.lang.Object arg0,
                              -                                                      java.lang.Object arg1)
                              +

                              localizableENDPOINT_MULTIPLE_SESSION_PARAM

                              +
                              public static Localizable localizableENDPOINT_MULTIPLE_SESSION_PARAM​(java.lang.Object arg0)
                            - +
                            • -

                              MESSAGE_TOO_LONG

                              -
                              public static java.lang.String MESSAGE_TOO_LONG(java.lang.Object arg0,
                              -                                                java.lang.Object arg1)
                              -
                              Message too long; allowed message size is {0} bytes. (Current message length is {1} bytes).
                              +

                              ENDPOINT_MULTIPLE_SESSION_PARAM

                              +
                              public static java.lang.String ENDPOINT_MULTIPLE_SESSION_PARAM​(java.lang.Object arg0)
                              +
                              Method {0} has got two or more Session parameters.
                            - +
                            • -

                              localizableCLASS_CHECKER_FORBIDDEN_WEB_SOCKET_ERROR_PARAM

                              -
                              public static Localizable localizableCLASS_CHECKER_FORBIDDEN_WEB_SOCKET_ERROR_PARAM(java.lang.Object arg0,
                              -                                                                                    java.lang.Object arg1,
                              -                                                                                    java.lang.Object arg2)
                              +

                              localizableUNEXPECTED_STATE

                              +
                              public static Localizable localizableUNEXPECTED_STATE​(java.lang.Object arg0)
                            - +
                            • -

                              CLASS_CHECKER_FORBIDDEN_WEB_SOCKET_ERROR_PARAM

                              -
                              public static java.lang.String CLASS_CHECKER_FORBIDDEN_WEB_SOCKET_ERROR_PARAM(java.lang.Object arg0,
                              -                                                                              java.lang.Object arg1,
                              -                                                                              java.lang.Object arg2)
                              -
                              Method: {0}.{1}: {2} is not allowed as parameter type for method annotated with @OnError.
                              +

                              UNEXPECTED_STATE

                              +
                              public static java.lang.String UNEXPECTED_STATE​(java.lang.Object arg0)
                              +
                              Unexpected state: {0}.
                            - +
                            • -

                              localizableSEC_KEY_INVALID_SERVER

                              -
                              public static Localizable localizableSEC_KEY_INVALID_SERVER()
                              +

                              localizableDEPENDENT_CLASS_OF_PROVIDER_FORMAT_ERROR

                              +
                              public static Localizable localizableDEPENDENT_CLASS_OF_PROVIDER_FORMAT_ERROR​(java.lang.Object arg0,
                              +                                                                              java.lang.Object arg1,
                              +                                                                              java.lang.Object arg2)
                            - +
                            • -

                              SEC_KEY_INVALID_SERVER

                              -
                              public static java.lang.String SEC_KEY_INVALID_SERVER()
                              -
                              Sec-WebSocket-Key returned from server does not match expected response.
                              +

                              DEPENDENT_CLASS_OF_PROVIDER_FORMAT_ERROR

                              +
                              public static java.lang.String DEPENDENT_CLASS_OF_PROVIDER_FORMAT_ERROR​(java.lang.Object arg0,
                              +                                                                        java.lang.Object arg1,
                              +                                                                        java.lang.Object arg2)
                              +
                              {0}. A dependent class of the class {1} implementing the provider {2} is malformed. The provider implementation is ignored. Check if the malformed class is part of a stubbed jar that used for compiling only.
                            - +
                            • -

                              localizableSEC_KEY_INVALID_LENGTH

                              -
                              public static Localizable localizableSEC_KEY_INVALID_LENGTH(java.lang.Object arg0)
                              +

                              localizableENDPOINT_MAX_MESSAGE_SIZE_TOO_LONG

                              +
                              public static Localizable localizableENDPOINT_MAX_MESSAGE_SIZE_TOO_LONG​(java.lang.Object arg0,
                              +                                                                        java.lang.Object arg1,
                              +                                                                        java.lang.Object arg2,
                              +                                                                        java.lang.Object arg3)
                            - +
                            • -

                              SEC_KEY_INVALID_LENGTH

                              -
                              public static java.lang.String SEC_KEY_INVALID_LENGTH(java.lang.Object arg0)
                              -
                              Invalid Sec-WebSocket-Key length. Should be 20 and is: {0}.
                              +

                              ENDPOINT_MAX_MESSAGE_SIZE_TOO_LONG

                              +
                              public static java.lang.String ENDPOINT_MAX_MESSAGE_SIZE_TOO_LONG​(java.lang.Object arg0,
                              +                                                                  java.lang.Object arg1,
                              +                                                                  java.lang.Object arg2,
                              +                                                                  java.lang.Object arg3)
                              +
                              MaxMessageSize {0} on method {1} in endpoint {2} is larger than the container incoming buffer size {3}.
                            - +
                            • -

                              localizableAUTHENTICATION_CREDENTIALS_MISSING

                              -
                              public static Localizable localizableAUTHENTICATION_CREDENTIALS_MISSING()
                              +

                              localizableBINARY_MESSAGE_OUT_OF_ORDER

                              +
                              public static Localizable localizableBINARY_MESSAGE_OUT_OF_ORDER​(java.lang.Object arg0)
                            - +
                            • -

                              AUTHENTICATION_CREDENTIALS_MISSING

                              -
                              public static java.lang.String AUTHENTICATION_CREDENTIALS_MISSING()
                              -
                              Credentials are missing.
                              +

                              BINARY_MESSAGE_OUT_OF_ORDER

                              +
                              public static java.lang.String BINARY_MESSAGE_OUT_OF_ORDER​(java.lang.Object arg0)
                              +
                              Binary message received out of order. Session: ''{0}''.
                            - +
                            • -

                              localizableCONTROL_FRAME_LENGTH

                              -
                              public static Localizable localizableCONTROL_FRAME_LENGTH()
                              +

                              localizableENCODING_FAILED

                              +
                              public static Localizable localizableENCODING_FAILED()
                            - +
                            • -

                              CONTROL_FRAME_LENGTH

                              -
                              public static java.lang.String CONTROL_FRAME_LENGTH()
                              -
                              Control frame payloads must be no greater than 125 bytes.
                              +

                              ENCODING_FAILED

                              +
                              public static java.lang.String ENCODING_FAILED()
                              +
                              Encoding failed.
                            - +
                            • -

                              localizableUNHANDLED_TEXT_MESSAGE

                              -
                              public static Localizable localizableUNHANDLED_TEXT_MESSAGE(java.lang.Object arg0)
                              +

                              localizableENDPOINT_MULTIPLE_METHODS

                              +
                              public static Localizable localizableENDPOINT_MULTIPLE_METHODS​(java.lang.Object arg0,
                              +                                                               java.lang.Object arg1,
                              +                                                               java.lang.Object arg2,
                              +                                                               java.lang.Object arg3)
                            - +
                            • -

                              UNHANDLED_TEXT_MESSAGE

                              -
                              public static java.lang.String UNHANDLED_TEXT_MESSAGE(java.lang.Object arg0)
                              -
                              Unhandled text message. Session: {0}.
                              +

                              ENDPOINT_MULTIPLE_METHODS

                              +
                              public static java.lang.String ENDPOINT_MULTIPLE_METHODS​(java.lang.Object arg0,
                              +                                                         java.lang.Object arg1,
                              +                                                         java.lang.Object arg2,
                              +                                                         java.lang.Object arg3)
                              +
                              Multiple methods using {0} annotation in class {1}: {2} and {3}. The latter will be ignored.
                            - +
                            • -

                              localizableHANDSHAKE_HTTP_REDIRECTION_NEW_LOCATION_ERROR

                              -
                              public static Localizable localizableHANDSHAKE_HTTP_REDIRECTION_NEW_LOCATION_ERROR(java.lang.Object arg0)
                              +

                              localizablePROVIDER_COULD_NOT_BE_CREATED

                              +
                              public static Localizable localizablePROVIDER_COULD_NOT_BE_CREATED​(java.lang.Object arg0,
                              +                                                                   java.lang.Object arg1,
                              +                                                                   java.lang.Object arg2)
                            - +
                            • -

                              HANDSHAKE_HTTP_REDIRECTION_NEW_LOCATION_ERROR

                              -
                              public static java.lang.String HANDSHAKE_HTTP_REDIRECTION_NEW_LOCATION_ERROR(java.lang.Object arg0)
                              -
                              Invalid URI in Location header: "{0}".
                              +

                              PROVIDER_COULD_NOT_BE_CREATED

                              +
                              public static java.lang.String PROVIDER_COULD_NOT_BE_CREATED​(java.lang.Object arg0,
                              +                                                             java.lang.Object arg1,
                              +                                                             java.lang.Object arg2)
                              +
                              The class {0} implementing provider {1} could not be instantiated: {2}
                            - +
                            • -

                              localizableMESSAGE_HANDLER_ALREADY_REGISTERED_TYPE

                              -
                              public static Localizable localizableMESSAGE_HANDLER_ALREADY_REGISTERED_TYPE(java.lang.Object arg0)
                              +

                              localizableNO_DECODER_FOUND

                              +
                              public static Localizable localizableNO_DECODER_FOUND()
                            - +
                            • -

                              MESSAGE_HANDLER_ALREADY_REGISTERED_TYPE

                              -
                              public static java.lang.String MESSAGE_HANDLER_ALREADY_REGISTERED_TYPE(java.lang.Object arg0)
                              -
                              MessageHandler for type: {0} already registered.
                              +

                              NO_DECODER_FOUND

                              +
                              public static java.lang.String NO_DECODER_FOUND()
                              +
                              No decoder found.
                            - +
                            • -

                              localizableENDPOINT_UNHANDLED_EXCEPTION

                              -
                              public static Localizable localizableENDPOINT_UNHANDLED_EXCEPTION(java.lang.Object arg0)
                              +

                              localizableENDPOINT_UNKNOWN_PARAMS

                              +
                              public static Localizable localizableENDPOINT_UNKNOWN_PARAMS​(java.lang.Object arg0,
                              +                                                             java.lang.Object arg1,
                              +                                                             java.lang.Object arg2)
                            - +
                            • -

                              ENDPOINT_UNHANDLED_EXCEPTION

                              -
                              public static java.lang.String ENDPOINT_UNHANDLED_EXCEPTION(java.lang.Object arg0)
                              -
                              Unhandled exception in endpoint {0}.
                              +

                              ENDPOINT_UNKNOWN_PARAMS

                              +
                              public static java.lang.String ENDPOINT_UNKNOWN_PARAMS​(java.lang.Object arg0,
                              +                                                       java.lang.Object arg1,
                              +                                                       java.lang.Object arg2)
                              +
                              Unknown parameter(s) for {0}.{1} method annotated with @OnError annotation: {2}. This method will be ignored.
                            - +
                            • -

                              localizableSEC_KEY_NULL_NOT_ALLOWED

                              -
                              public static Localizable localizableSEC_KEY_NULL_NOT_ALLOWED()
                              +

                              localizableMESSAGE_HANDLER_ALREADY_REGISTERED_TEXT

                              +
                              public static Localizable localizableMESSAGE_HANDLER_ALREADY_REGISTERED_TEXT()
                            - +
                            • -

                              SEC_KEY_NULL_NOT_ALLOWED

                              -
                              public static java.lang.String SEC_KEY_NULL_NOT_ALLOWED()
                              -
                              Null Sec-WebSocket-Key is not allowed.
                              +

                              MESSAGE_HANDLER_ALREADY_REGISTERED_TEXT

                              +
                              public static java.lang.String MESSAGE_HANDLER_ALREADY_REGISTERED_TEXT()
                              +
                              Text MessageHandler already registered.
                            - +
                            • -

                              localizableDEPENDENT_CLASS_OF_PROVIDER_NOT_FOUND

                              -
                              public static Localizable localizableDEPENDENT_CLASS_OF_PROVIDER_NOT_FOUND(java.lang.Object arg0,
                              -                                                                           java.lang.Object arg1,
                              -                                                                           java.lang.Object arg2)
                              +

                              localizablePROVIDER_CLASS_COULD_NOT_BE_LOADED

                              +
                              public static Localizable localizablePROVIDER_CLASS_COULD_NOT_BE_LOADED​(java.lang.Object arg0,
                              +                                                                        java.lang.Object arg1,
                              +                                                                        java.lang.Object arg2)
                            - +
                            • -

                              DEPENDENT_CLASS_OF_PROVIDER_NOT_FOUND

                              -
                              public static java.lang.String DEPENDENT_CLASS_OF_PROVIDER_NOT_FOUND(java.lang.Object arg0,
                              -                                                                     java.lang.Object arg1,
                              -                                                                     java.lang.Object arg2)
                              -
                              A dependent class, {0}, of the class {1} implementing the provider {2} is not found. The provider implementation is ignored.
                              +

                              PROVIDER_CLASS_COULD_NOT_BE_LOADED

                              +
                              public static java.lang.String PROVIDER_CLASS_COULD_NOT_BE_LOADED​(java.lang.Object arg0,
                              +                                                                  java.lang.Object arg1,
                              +                                                                  java.lang.Object arg2)
                              +
                              The class {0} implementing provider {1} could not be loaded: {2}
                            - +
                            • -

                              localizableERROR_CAUGHT_WHILE_LOADING_SPI_PROVIDERS

                              -
                              public static Localizable localizableERROR_CAUGHT_WHILE_LOADING_SPI_PROVIDERS()
                              +

                              localizableAUTHENTICATION_CREDENTIALS_MISSING

                              +
                              public static Localizable localizableAUTHENTICATION_CREDENTIALS_MISSING()
                            - +
                            • -

                              ERROR_CAUGHT_WHILE_LOADING_SPI_PROVIDERS

                              -
                              public static java.lang.String ERROR_CAUGHT_WHILE_LOADING_SPI_PROVIDERS()
                              -
                              Error caught while loading SPI providers.
                              +

                              AUTHENTICATION_CREDENTIALS_MISSING

                              +
                              public static java.lang.String AUTHENTICATION_CREDENTIALS_MISSING()
                              +
                              Credentials are missing.
                            - +
                            • -

                              localizableCONTROL_FRAME_FRAGMENTED

                              -
                              public static Localizable localizableCONTROL_FRAME_FRAGMENTED()
                              +

                              localizableILLEGAL_CONFIG_SYNTAX

                              +
                              public static Localizable localizableILLEGAL_CONFIG_SYNTAX()
                            - +
                            • -

                              CONTROL_FRAME_FRAGMENTED

                              -
                              public static java.lang.String CONTROL_FRAME_FRAGMENTED()
                              -
                              Fragmented control frame.
                              +

                              ILLEGAL_CONFIG_SYNTAX

                              +
                              public static java.lang.String ILLEGAL_CONFIG_SYNTAX()
                              +
                              Illegal configuration-file syntax.
                            - +
                            • -

                              localizableAUTHENTICATION_FAILED

                              -
                              public static Localizable localizableAUTHENTICATION_FAILED()
                              +

                              localizableCLASS_CHECKER_FORBIDDEN_WEB_SOCKET_ERROR_PARAM

                              +
                              public static Localizable localizableCLASS_CHECKER_FORBIDDEN_WEB_SOCKET_ERROR_PARAM​(java.lang.Object arg0,
                              +                                                                                    java.lang.Object arg1,
                              +                                                                                    java.lang.Object arg2)
                            - +
                            • -

                              AUTHENTICATION_FAILED

                              -
                              public static java.lang.String AUTHENTICATION_FAILED()
                              -
                              Authentication failed.
                              +

                              CLASS_CHECKER_FORBIDDEN_WEB_SOCKET_ERROR_PARAM

                              +
                              public static java.lang.String CLASS_CHECKER_FORBIDDEN_WEB_SOCKET_ERROR_PARAM​(java.lang.Object arg0,
                              +                                                                              java.lang.Object arg1,
                              +                                                                              java.lang.Object arg2)
                              +
                              Method: {0}.{1}: {2} is not allowed as parameter type for method annotated with @OnError.
                            - +
                            • -

                              localizableENDPOINT_MULTIPLE_METHODS

                              -
                              public static Localizable localizableENDPOINT_MULTIPLE_METHODS(java.lang.Object arg0,
                              -                                                               java.lang.Object arg1,
                              -                                                               java.lang.Object arg2,
                              -                                                               java.lang.Object arg3)
                              +

                              localizableMAX_SESSIONS_PER_APP_EXCEEDED

                              +
                              public static Localizable localizableMAX_SESSIONS_PER_APP_EXCEEDED()
                            - +
                            • -

                              ENDPOINT_MULTIPLE_METHODS

                              -
                              public static java.lang.String ENDPOINT_MULTIPLE_METHODS(java.lang.Object arg0,
                              -                                                         java.lang.Object arg1,
                              -                                                         java.lang.Object arg2,
                              -                                                         java.lang.Object arg3)
                              -
                              Multiple methods using {0} annotation in class {1}: {2} and {3}. The latter will be ignored.
                              +

                              MAX_SESSIONS_PER_APP_EXCEEDED

                              +
                              public static java.lang.String MAX_SESSIONS_PER_APP_EXCEEDED()
                              +
                              Maximal number of open sessions per application exceeded.
                            - +
                            • -

                              localizableCLASS_CHECKER_MULTIPLE_IDENTICAL_PARAMS

                              -
                              public static Localizable localizableCLASS_CHECKER_MULTIPLE_IDENTICAL_PARAMS(java.lang.Object arg0,
                              -                                                                             java.lang.Object arg1)
                              +

                              localizableEXCEPTION_CAUGHT_WHILE_LOADING_SPI_PROVIDERS

                              +
                              public static Localizable localizableEXCEPTION_CAUGHT_WHILE_LOADING_SPI_PROVIDERS()
                            - +
                            • -

                              CLASS_CHECKER_MULTIPLE_IDENTICAL_PARAMS

                              -
                              public static java.lang.String CLASS_CHECKER_MULTIPLE_IDENTICAL_PARAMS(java.lang.Object arg0,
                              -                                                                       java.lang.Object arg1)
                              -
                              Method: {0}.{1}: has got multiple parameters of identical type.
                              +

                              EXCEPTION_CAUGHT_WHILE_LOADING_SPI_PROVIDERS

                              +
                              public static java.lang.String EXCEPTION_CAUGHT_WHILE_LOADING_SPI_PROVIDERS()
                              +
                              Exception caught while loading SPI providers.
                            - +
                            • -

                              localizableMESSAGE_HANDLER_DECODER_NOT_REGISTERED

                              -
                              public static Localizable localizableMESSAGE_HANDLER_DECODER_NOT_REGISTERED(java.lang.Object arg0)
                              +

                              localizableSEC_KEY_INVALID_LENGTH

                              +
                              public static Localizable localizableSEC_KEY_INVALID_LENGTH​(java.lang.Object arg0)
                            - +
                            • -

                              MESSAGE_HANDLER_DECODER_NOT_REGISTERED

                              -
                              public static java.lang.String MESSAGE_HANDLER_DECODER_NOT_REGISTERED(java.lang.Object arg0)
                              -
                              Decoder for type: {0} has not been registered.
                              +

                              SEC_KEY_INVALID_LENGTH

                              +
                              public static java.lang.String SEC_KEY_INVALID_LENGTH​(java.lang.Object arg0)
                              +
                              Invalid Sec-WebSocket-Key length. Should be 20 and is: {0}.
                            - +
                            • -

                              localizableDEPENDENT_CLASS_OF_PROVIDER_FORMAT_ERROR

                              -
                              public static Localizable localizableDEPENDENT_CLASS_OF_PROVIDER_FORMAT_ERROR(java.lang.Object arg0,
                              -                                                                              java.lang.Object arg1,
                              -                                                                              java.lang.Object arg2)
                              +

                              localizableUNHANDLED_TEXT_MESSAGE

                              +
                              public static Localizable localizableUNHANDLED_TEXT_MESSAGE​(java.lang.Object arg0)
                            - +
                            • -

                              DEPENDENT_CLASS_OF_PROVIDER_FORMAT_ERROR

                              -
                              public static java.lang.String DEPENDENT_CLASS_OF_PROVIDER_FORMAT_ERROR(java.lang.Object arg0,
                              -                                                                        java.lang.Object arg1,
                              -                                                                        java.lang.Object arg2)
                              -
                              {0}. A dependent class of the class {1} implementing the provider {2} is malformed. The provider implementation is ignored. Check if the malformed class is part of a stubbed jar that used for compiling only.
                              +

                              UNHANDLED_TEXT_MESSAGE

                              +
                              public static java.lang.String UNHANDLED_TEXT_MESSAGE​(java.lang.Object arg0)
                              +
                              Unhandled text message. Session: {0}.
                            - +
                            • -

                              localizablePROVIDER_CLASS_COULD_NOT_BE_LOADED

                              -
                              public static Localizable localizablePROVIDER_CLASS_COULD_NOT_BE_LOADED(java.lang.Object arg0,
                              -                                                                        java.lang.Object arg1,
                              -                                                                        java.lang.Object arg2)
                              +

                              localizableBUFFER_OVERFLOW

                              +
                              public static Localizable localizableBUFFER_OVERFLOW()
                            - +
                            • -

                              PROVIDER_CLASS_COULD_NOT_BE_LOADED

                              -
                              public static java.lang.String PROVIDER_CLASS_COULD_NOT_BE_LOADED(java.lang.Object arg0,
                              -                                                                  java.lang.Object arg1,
                              -                                                                  java.lang.Object arg2)
                              -
                              The class {0} implementing provider {1} could not be loaded: {2}
                              +

                              BUFFER_OVERFLOW

                              +
                              public static java.lang.String BUFFER_OVERFLOW()
                              +
                              Buffer overflow.
                            - +
                            • -

                              localizableMESSAGE_HANDLER_ILLEGAL_ARGUMENT

                              -
                              public static Localizable localizableMESSAGE_HANDLER_ILLEGAL_ARGUMENT(java.lang.Object arg0)
                              +

                              localizableCONTROL_FRAME_LENGTH

                              +
                              public static Localizable localizableCONTROL_FRAME_LENGTH()
                            - +
                            • -

                              MESSAGE_HANDLER_ILLEGAL_ARGUMENT

                              -
                              public static java.lang.String MESSAGE_HANDLER_ILLEGAL_ARGUMENT(java.lang.Object arg0)
                              -
                              Illegal MessageHandler argument value: {0}.
                              +

                              CONTROL_FRAME_LENGTH

                              +
                              public static java.lang.String CONTROL_FRAME_LENGTH()
                              +
                              Control frame payloads must be no greater than 125 bytes.
                            - +
                            • -

                              localizableAPPLICATION_DATA_TOO_LONG

                              -
                              public static Localizable localizableAPPLICATION_DATA_TOO_LONG(java.lang.Object arg0)
                              +

                              localizableHANDSHAKE_HTTP_REDIRECTION_MAX_REDIRECTION

                              +
                              public static Localizable localizableHANDSHAKE_HTTP_REDIRECTION_MAX_REDIRECTION​(java.lang.Object arg0)
                            - +
                            • -

                              APPLICATION_DATA_TOO_LONG

                              -
                              public static java.lang.String APPLICATION_DATA_TOO_LONG(java.lang.Object arg0)
                              -
                              {0} applicationData exceeded the maximum allowed payload of 125 bytes.
                              +

                              HANDSHAKE_HTTP_REDIRECTION_MAX_REDIRECTION

                              +
                              public static java.lang.String HANDSHAKE_HTTP_REDIRECTION_MAX_REDIRECTION​(java.lang.Object arg0)
                              +
                              Redirect attempts exceeded maximum allowed limit of ({0}) redirects.
                            - +
                            • -

                              localizableAUTHENTICATION_DIGEST_NO_SUCH_ALG

                              -
                              public static Localizable localizableAUTHENTICATION_DIGEST_NO_SUCH_ALG()
                              +

                              localizableCOMPONENT_PROVIDER_THREW_EXCEPTION

                              +
                              public static Localizable localizableCOMPONENT_PROVIDER_THREW_EXCEPTION​(java.lang.Object arg0)
                            - +
                            • -

                              AUTHENTICATION_DIGEST_NO_SUCH_ALG

                              -
                              public static java.lang.String AUTHENTICATION_DIGEST_NO_SUCH_ALG()
                              -
                              No such algorithm to generate authorization digest http header.
                              +

                              COMPONENT_PROVIDER_THREW_EXCEPTION

                              +
                              public static java.lang.String COMPONENT_PROVIDER_THREW_EXCEPTION​(java.lang.Object arg0)
                              +
                              Component provider threw exception when providing instance of class {0}.
                            - +
                            • -

                              localizableCONNECTION_HAS_BEEN_CLOSED

                              -
                              public static Localizable localizableCONNECTION_HAS_BEEN_CLOSED()
                              +

                              localizableMAX_SESSIONS_PER_ENDPOINT_EXCEEDED

                              +
                              public static Localizable localizableMAX_SESSIONS_PER_ENDPOINT_EXCEEDED()
                            - +
                            • -

                              CONNECTION_HAS_BEEN_CLOSED

                              -
                              public static java.lang.String CONNECTION_HAS_BEEN_CLOSED()
                              -
                              The connection has been closed.
                              +

                              MAX_SESSIONS_PER_ENDPOINT_EXCEEDED

                              +
                              public static java.lang.String MAX_SESSIONS_PER_ENDPOINT_EXCEEDED()
                              +
                              Maximal number of open sessions per endpoint exceeded.
                            - +
                            • -

                              localizableENDPOINT_ANNOTATION_NOT_FOUND

                              -
                              public static Localizable localizableENDPOINT_ANNOTATION_NOT_FOUND(java.lang.Object arg0,
                              -                                                                   java.lang.Object arg1)
                              +

                              localizableERROR_CAUGHT_WHILE_LOADING_SPI_PROVIDERS

                              +
                              public static Localizable localizableERROR_CAUGHT_WHILE_LOADING_SPI_PROVIDERS()
                            - +
                            • -

                              ENDPOINT_ANNOTATION_NOT_FOUND

                              -
                              public static java.lang.String ENDPOINT_ANNOTATION_NOT_FOUND(java.lang.Object arg0,
                              -                                                             java.lang.Object arg1)
                              -
                              {0} annotation not found on class {1}.
                              +

                              ERROR_CAUGHT_WHILE_LOADING_SPI_PROVIDERS

                              +
                              public static java.lang.String ERROR_CAUGHT_WHILE_LOADING_SPI_PROVIDERS()
                              +
                              Error caught while loading SPI providers.
                            - +
                            • -

                              localizablePARTIAL_TEXT_MESSAGE_OUT_OF_ORDER

                              -
                              public static Localizable localizablePARTIAL_TEXT_MESSAGE_OUT_OF_ORDER(java.lang.Object arg0)
                              +

                              localizablePARTIAL_BINARY_MESSAGE_OUT_OF_ORDER

                              +
                              public static Localizable localizablePARTIAL_BINARY_MESSAGE_OUT_OF_ORDER​(java.lang.Object arg0)
                            - +
                            • -

                              PARTIAL_TEXT_MESSAGE_OUT_OF_ORDER

                              -
                              public static java.lang.String PARTIAL_TEXT_MESSAGE_OUT_OF_ORDER(java.lang.Object arg0)
                              -
                              Partial text message received out of order. Session: ''{0}''.
                              +

                              PARTIAL_BINARY_MESSAGE_OUT_OF_ORDER

                              +
                              public static java.lang.String PARTIAL_BINARY_MESSAGE_OUT_OF_ORDER​(java.lang.Object arg0)
                              +
                              Partial binary message received out of order. Session: ''{0}''.
                            - +
                            • -

                              localizableHANDSHAKE_HTTP_REDIRECTION_NEW_LOCATION_MISSING

                              -
                              public static Localizable localizableHANDSHAKE_HTTP_REDIRECTION_NEW_LOCATION_MISSING()
                              +

                              localizableMESSAGE_HANDLER_ILLEGAL_ARGUMENT

                              +
                              public static Localizable localizableMESSAGE_HANDLER_ILLEGAL_ARGUMENT​(java.lang.Object arg0)
                            - +
                            • -

                              HANDSHAKE_HTTP_REDIRECTION_NEW_LOCATION_MISSING

                              -
                              public static java.lang.String HANDSHAKE_HTTP_REDIRECTION_NEW_LOCATION_MISSING()
                              -
                              Missing or empty Location header in 3xx HTTP Redirect response.
                              +

                              MESSAGE_HANDLER_ILLEGAL_ARGUMENT

                              +
                              public static java.lang.String MESSAGE_HANDLER_ILLEGAL_ARGUMENT​(java.lang.Object arg0)
                              +
                              Illegal MessageHandler argument value: {0}.
                            - +
                            • -

                              localizableURI_COMPONENT_ENCODED_OCTET_INVALID_DIGIT

                              -
                              public static Localizable localizableURI_COMPONENT_ENCODED_OCTET_INVALID_DIGIT(java.lang.Object arg0,
                              -                                                                               java.lang.Object arg1)
                              +

                              localizableIOEXCEPTION_CLOSE

                              +
                              public static Localizable localizableIOEXCEPTION_CLOSE()
                            - +
                            • -

                              URI_COMPONENT_ENCODED_OCTET_INVALID_DIGIT

                              -
                              public static java.lang.String URI_COMPONENT_ENCODED_OCTET_INVALID_DIGIT(java.lang.Object arg0,
                              -                                                                         java.lang.Object arg1)
                              -
                              Malformed percent-encoded octet at index {0}, invalid hexadecimal digit ''{1}''.
                              +

                              IOEXCEPTION_CLOSE

                              +
                              public static java.lang.String IOEXCEPTION_CLOSE()
                              +
                              IOException thrown when closing connection.
                            - +
                            • -

                              localizableEQUIVALENT_PATHS

                              -
                              public static Localizable localizableEQUIVALENT_PATHS(java.lang.Object arg0,
                              -                                                      java.lang.Object arg1)
                              +

                              localizableCLASS_NOT_INSTANTIATED

                              +
                              public static Localizable localizableCLASS_NOT_INSTANTIATED​(java.lang.Object arg0)
                            - +
                            • -

                              EQUIVALENT_PATHS

                              -
                              public static java.lang.String EQUIVALENT_PATHS(java.lang.Object arg0,
                              -                                                java.lang.Object arg1)
                              -
                              Found equivalent paths. Added path: ''{0}'' is equivalent with ''{1}''.
                              +

                              CLASS_NOT_INSTANTIATED

                              +
                              public static java.lang.String CLASS_NOT_INSTANTIATED​(java.lang.Object arg0)
                              +
                              Class {0} couldn''t be instantiated.
                            - +
                            • -

                              localizableCLASS_CHECKER_MANDATORY_PARAM_MISSING

                              -
                              public static Localizable localizableCLASS_CHECKER_MANDATORY_PARAM_MISSING(java.lang.Object arg0,
                              -                                                                           java.lang.Object arg1)
                              +

                              localizableHANDSHAKE_HTTP_REDIRECTION_NEW_LOCATION_ERROR

                              +
                              public static Localizable localizableHANDSHAKE_HTTP_REDIRECTION_NEW_LOCATION_ERROR​(java.lang.Object arg0)
                            - +
                            • -

                              CLASS_CHECKER_MANDATORY_PARAM_MISSING

                              -
                              public static java.lang.String CLASS_CHECKER_MANDATORY_PARAM_MISSING(java.lang.Object arg0,
                              -                                                                     java.lang.Object arg1)
                              -
                              Method: {0}.{1}: does not have mandatory Throwable param.
                              +

                              HANDSHAKE_HTTP_REDIRECTION_NEW_LOCATION_ERROR

                              +
                              public static java.lang.String HANDSHAKE_HTTP_REDIRECTION_NEW_LOCATION_ERROR​(java.lang.Object arg0)
                              +
                              Invalid URI in Location header: "{0}".
                            - +
                            • -

                              localizableMAX_SESSIONS_PER_APP_EXCEEDED

                              -
                              public static Localizable localizableMAX_SESSIONS_PER_APP_EXCEEDED()
                              +

                              localizableSEC_KEY_INVALID_SERVER

                              +
                              public static Localizable localizableSEC_KEY_INVALID_SERVER()
                            - +
                            • -

                              MAX_SESSIONS_PER_APP_EXCEEDED

                              -
                              public static java.lang.String MAX_SESSIONS_PER_APP_EXCEEDED()
                              -
                              Maximal number of open sessions per application exceeded.
                              +

                              SEC_KEY_INVALID_SERVER

                              +
                              public static java.lang.String SEC_KEY_INVALID_SERVER()
                              +
                              Sec-WebSocket-Key returned from server does not match expected response.
                            - +
                            • -

                              localizableMESSAGE_HANDLER_ALREADY_REGISTERED_TEXT

                              -
                              public static Localizable localizableMESSAGE_HANDLER_ALREADY_REGISTERED_TEXT()
                              +

                              localizableHANDSHAKE_HTTP_REDIRECTION_INFINITE_LOOP

                              +
                              public static Localizable localizableHANDSHAKE_HTTP_REDIRECTION_INFINITE_LOOP()
                            - +
                            • -

                              MESSAGE_HANDLER_ALREADY_REGISTERED_TEXT

                              -
                              public static java.lang.String MESSAGE_HANDLER_ALREADY_REGISTERED_TEXT()
                              -
                              Text MessageHandler already registered.
                              +

                              HANDSHAKE_HTTP_REDIRECTION_INFINITE_LOOP

                              +
                              public static java.lang.String HANDSHAKE_HTTP_REDIRECTION_INFINITE_LOOP()
                              +
                              Infinite HTTP Redirection loop detected.
                            - +
                            • -

                              localizableSEND_MESSAGE_INFRAGMENT

                              -
                              public static Localizable localizableSEND_MESSAGE_INFRAGMENT()
                              +

                              localizableCLIENT_CANNOT_CONNECT

                              +
                              public static Localizable localizableCLIENT_CANNOT_CONNECT​(java.lang.Object arg0)
                            - +
                            • -

                              SEND_MESSAGE_INFRAGMENT

                              -
                              public static java.lang.String SEND_MESSAGE_INFRAGMENT()
                              -
                              Attempting to send a message while sending fragments of another.
                              +

                              CLIENT_CANNOT_CONNECT

                              +
                              public static java.lang.String CLIENT_CANNOT_CONNECT​(java.lang.Object arg0)
                              +
                              Client cannot connect to "{0}".
                            - +
                            • -

                              localizableHANDSHAKE_HTTP_REDIRECTION_INFINITE_LOOP

                              -
                              public static Localizable localizableHANDSHAKE_HTTP_REDIRECTION_INFINITE_LOOP()
                              +

                              localizableAUTHENTICATION_FAILED

                              +
                              public static Localizable localizableAUTHENTICATION_FAILED()
                            - +
                            • -

                              HANDSHAKE_HTTP_REDIRECTION_INFINITE_LOOP

                              -
                              public static java.lang.String HANDSHAKE_HTTP_REDIRECTION_INFINITE_LOOP()
                              -
                              Infinite HTTP Redirection loop detected.
                              +

                              AUTHENTICATION_FAILED

                              +
                              public static java.lang.String AUTHENTICATION_FAILED()
                              +
                              Authentication failed.
                            - +
                            • -

                              localizablePROVIDER_COULD_NOT_BE_CREATED

                              -
                              public static Localizable localizablePROVIDER_COULD_NOT_BE_CREATED(java.lang.Object arg0,
                              -                                                                   java.lang.Object arg1,
                              -                                                                   java.lang.Object arg2)
                              +

                              localizableENDPOINT_UNHANDLED_EXCEPTION

                              +
                              public static Localizable localizableENDPOINT_UNHANDLED_EXCEPTION​(java.lang.Object arg0)
                            - +
                            • -

                              PROVIDER_COULD_NOT_BE_CREATED

                              -
                              public static java.lang.String PROVIDER_COULD_NOT_BE_CREATED(java.lang.Object arg0,
                              -                                                             java.lang.Object arg1,
                              -                                                             java.lang.Object arg2)
                              -
                              The class {0} implementing provider {1} could not be instantiated: {2}
                              +

                              ENDPOINT_UNHANDLED_EXCEPTION

                              +
                              public static java.lang.String ENDPOINT_UNHANDLED_EXCEPTION​(java.lang.Object arg0)
                              +
                              Unhandled exception in endpoint {0}.
                            - +
                            • -

                              localizableENDPOINT_UNKNOWN_PARAMS

                              -
                              public static Localizable localizableENDPOINT_UNKNOWN_PARAMS(java.lang.Object arg0,
                              -                                                             java.lang.Object arg1,
                              -                                                             java.lang.Object arg2)
                              +

                              localizableILLEGAL_UTF_8_SEQUENCE

                              +
                              public static Localizable localizableILLEGAL_UTF_8_SEQUENCE()
                            - +
                            • -

                              ENDPOINT_UNKNOWN_PARAMS

                              -
                              public static java.lang.String ENDPOINT_UNKNOWN_PARAMS(java.lang.Object arg0,
                              -                                                       java.lang.Object arg1,
                              -                                                       java.lang.Object arg2)
                              -
                              Unknown parameter(s) for {0}.{1} method annotated with @OnError annotation: {2}. This method will be ignored.
                              +

                              ILLEGAL_UTF_8_SEQUENCE

                              +
                              public static java.lang.String ILLEGAL_UTF_8_SEQUENCE()
                              +
                              Illegal UTF-8 Sequence.
                            - +
                            • -

                              localizableAUTHENTICATION_DIGEST_QOP_UNSUPPORTED

                              -
                              public static Localizable localizableAUTHENTICATION_DIGEST_QOP_UNSUPPORTED(java.lang.Object arg0)
                              +

                              localizableSESSION_CLOSED_IDLE_TIMEOUT

                              +
                              public static Localizable localizableSESSION_CLOSED_IDLE_TIMEOUT()
                            - +
                            • -

                              AUTHENTICATION_DIGEST_QOP_UNSUPPORTED

                              -
                              public static java.lang.String AUTHENTICATION_DIGEST_QOP_UNSUPPORTED(java.lang.Object arg0)
                              -
                              The 'qop' (quality of protection) = {0} extension requested by the server is not supported by Tyrus. Cannot authenticate against the server using Http Digest Authentication.
                              +

                              SESSION_CLOSED_IDLE_TIMEOUT

                              +
                              public static java.lang.String SESSION_CLOSED_IDLE_TIMEOUT()
                              +
                              "Session closed by the container because of the idle timeout."
                            - +
                            • -

                              localizableAUTHENTICATION_CREATE_AUTH_HEADER_FAILED

                              -
                              public static Localizable localizableAUTHENTICATION_CREATE_AUTH_HEADER_FAILED()
                              +

                              localizablePARTIAL_TEXT_MESSAGE_OUT_OF_ORDER

                              +
                              public static Localizable localizablePARTIAL_TEXT_MESSAGE_OUT_OF_ORDER​(java.lang.Object arg0)
                            - +
                            • -

                              AUTHENTICATION_CREATE_AUTH_HEADER_FAILED

                              -
                              public static java.lang.String AUTHENTICATION_CREATE_AUTH_HEADER_FAILED()
                              -
                              Could not add authorization header in http request.
                              +

                              PARTIAL_TEXT_MESSAGE_OUT_OF_ORDER

                              +
                              public static java.lang.String PARTIAL_TEXT_MESSAGE_OUT_OF_ORDER​(java.lang.Object arg0)
                              +
                              Partial text message received out of order. Session: ''{0}''.
                            - +
                            • -

                              localizableINVALID_HEADER

                              -
                              public static Localizable localizableINVALID_HEADER(java.lang.Object arg0,
                              -                                                    java.lang.Object arg1)
                              +

                              localizableENDPOINT_ANNOTATION_NOT_FOUND

                              +
                              public static Localizable localizableENDPOINT_ANNOTATION_NOT_FOUND​(java.lang.Object arg0,
                              +                                                                   java.lang.Object arg1)
                            - +
                            • -

                              INVALID_HEADER

                              -
                              public static java.lang.String INVALID_HEADER(java.lang.Object arg0,
                              -                                              java.lang.Object arg1)
                              -
                              Invalid {0} header value: "{1}".
                              +

                              ENDPOINT_ANNOTATION_NOT_FOUND

                              +
                              public static java.lang.String ENDPOINT_ANNOTATION_NOT_FOUND​(java.lang.Object arg0,
                              +                                                             java.lang.Object arg1)
                              +
                              {0} annotation not found on class {1}.
                            - +
                            • -

                              localizableENDPOINT_WRONG_PARAMS

                              -
                              public static Localizable localizableENDPOINT_WRONG_PARAMS(java.lang.Object arg0,
                              -                                                           java.lang.Object arg1)
                              +

                              localizableMESSAGE_HANDLER_WHOLE_OR_PARTIAL

                              +
                              public static Localizable localizableMESSAGE_HANDLER_WHOLE_OR_PARTIAL()
                            - +
                            • -

                              ENDPOINT_WRONG_PARAMS

                              -
                              public static java.lang.String ENDPOINT_WRONG_PARAMS(java.lang.Object arg0,
                              -                                                     java.lang.Object arg1)
                              -
                              Method: {0}.{1}: has got wrong number of params.
                              +

                              MESSAGE_HANDLER_WHOLE_OR_PARTIAL

                              +
                              public static java.lang.String MESSAGE_HANDLER_WHOLE_OR_PARTIAL()
                              +
                              MessageHandler must implement MessageHandler.Whole or MessageHandler.Partial.
                            - +
                            • -

                              localizableHANDSHAKE_HTTP_RETRY_AFTER_MESSAGE

                              -
                              public static Localizable localizableHANDSHAKE_HTTP_RETRY_AFTER_MESSAGE()
                              +

                              localizableMESSAGE_HANDLER_ALREADY_REGISTERED_PONG

                              +
                              public static Localizable localizableMESSAGE_HANDLER_ALREADY_REGISTERED_PONG()
                            - +
                            • -

                              HANDSHAKE_HTTP_RETRY_AFTER_MESSAGE

                              -
                              public static java.lang.String HANDSHAKE_HTTP_RETRY_AFTER_MESSAGE()
                              -
                              HTTP Status code 503 - Service Unavailable.
                              +

                              MESSAGE_HANDLER_ALREADY_REGISTERED_PONG

                              +
                              public static java.lang.String MESSAGE_HANDLER_ALREADY_REGISTERED_PONG()
                              +
                              Pong MessageHandler already registered.
                            - +
                            • -

                              localizableCOMPONENT_PROVIDER_NOT_FOUND

                              -
                              public static Localizable localizableCOMPONENT_PROVIDER_NOT_FOUND(java.lang.Object arg0)
                              +

                              localizableORIGIN_NOT_VERIFIED

                              +
                              public static Localizable localizableORIGIN_NOT_VERIFIED()
                            - +
                            • -

                              COMPONENT_PROVIDER_NOT_FOUND

                              -
                              public static java.lang.String COMPONENT_PROVIDER_NOT_FOUND(java.lang.Object arg0)
                              -
                              Component provider for class {0} not found.
                              +

                              ORIGIN_NOT_VERIFIED

                              +
                              public static java.lang.String ORIGIN_NOT_VERIFIED()
                              +
                              Origin not verified.
                            - +
                            • -

                              localizableILLEGAL_UTF_8_SEQUENCE

                              -
                              public static Localizable localizableILLEGAL_UTF_8_SEQUENCE()
                              +

                              localizableHEADERS_MISSING

                              +
                              public static Localizable localizableHEADERS_MISSING()
                            - +
                            • -

                              ILLEGAL_UTF_8_SEQUENCE

                              -
                              public static java.lang.String ILLEGAL_UTF_8_SEQUENCE()
                              -
                              Illegal UTF-8 Sequence.
                              +

                              HEADERS_MISSING

                              +
                              public static java.lang.String HEADERS_MISSING()
                              +
                              Missing headers required for WebSocket negotiation.
                            - +
                            • -

                              localizableSOCKET_NOT_CONNECTED

                              -
                              public static Localizable localizableSOCKET_NOT_CONNECTED()
                              +

                              localizableUNEXPECTED_END_FRAGMENT

                              +
                              public static Localizable localizableUNEXPECTED_END_FRAGMENT()
                            - +
                            • -

                              SOCKET_NOT_CONNECTED

                              -
                              public static java.lang.String SOCKET_NOT_CONNECTED()
                              -
                              Socket is not connected.
                              +

                              UNEXPECTED_END_FRAGMENT

                              +
                              public static java.lang.String UNEXPECTED_END_FRAGMENT()
                              +
                              End fragment sent, but wasn''t processing any previous fragments.
                            - +
                            • -

                              localizableMESSAGE_HANDLER_PARTIAL_INVALID_TYPE

                              -
                              public static Localizable localizableMESSAGE_HANDLER_PARTIAL_INVALID_TYPE(java.lang.Object arg0)
                              +

                              localizableFRAGMENT_INVALID_OPCODE

                              +
                              public static Localizable localizableFRAGMENT_INVALID_OPCODE()
                            - +
                            • -

                              MESSAGE_HANDLER_PARTIAL_INVALID_TYPE

                              -
                              public static java.lang.String MESSAGE_HANDLER_PARTIAL_INVALID_TYPE(java.lang.Object arg0)
                              -
                              Partial MessageHandler can''t be of type: {0}.
                              +

                              FRAGMENT_INVALID_OPCODE

                              +
                              public static java.lang.String FRAGMENT_INVALID_OPCODE()
                              +
                              Fragment sent but opcode was not 0.
                            - +
                            • -

                              localizablePROVIDER_NOT_FOUND

                              -
                              public static Localizable localizablePROVIDER_NOT_FOUND(java.lang.Object arg0,
                              -                                                        java.lang.Object arg1)
                              +

                              localizableENDPOINT_EXCEPTION_FROM_ON_ERROR

                              +
                              public static Localizable localizableENDPOINT_EXCEPTION_FROM_ON_ERROR​(java.lang.Object arg0)
                            - +
                            • -

                              PROVIDER_NOT_FOUND

                              -
                              public static java.lang.String PROVIDER_NOT_FOUND(java.lang.Object arg0,
                              -                                                  java.lang.Object arg1)
                              -
                              The class {0} implementing the provider {1} is not found. The provider implementation is ignored.
                              +

                              ENDPOINT_EXCEPTION_FROM_ON_ERROR

                              +
                              public static java.lang.String ENDPOINT_EXCEPTION_FROM_ON_ERROR​(java.lang.Object arg0)
                              +
                              Exception thrown from onError method {0}.
                            - +
                            • -

                              localizableORIGIN_NOT_VERIFIED

                              -
                              public static Localizable localizableORIGIN_NOT_VERIFIED()
                              +

                              localizableILLEGAL_PROVIDER_CLASS_NAME

                              +
                              public static Localizable localizableILLEGAL_PROVIDER_CLASS_NAME​(java.lang.Object arg0)
                            - +
                            • -

                              ORIGIN_NOT_VERIFIED

                              -
                              public static java.lang.String ORIGIN_NOT_VERIFIED()
                              -
                              Origin not verified.
                              +

                              ILLEGAL_PROVIDER_CLASS_NAME

                              +
                              public static java.lang.String ILLEGAL_PROVIDER_CLASS_NAME​(java.lang.Object arg0)
                              +
                              Illegal provider-class name: {0}.
                            - +
                            • -

                              localizableMESSAGE_HANDLER_WHOLE_OR_PARTIAL

                              -
                              public static Localizable localizableMESSAGE_HANDLER_WHOLE_OR_PARTIAL()
                              +

                              localizableEXTENSION_EXCEPTION

                              +
                              public static Localizable localizableEXTENSION_EXCEPTION​(java.lang.Object arg0,
                              +                                                         java.lang.Object arg1)
                            - +
                            • -

                              MESSAGE_HANDLER_WHOLE_OR_PARTIAL

                              -
                              public static java.lang.String MESSAGE_HANDLER_WHOLE_OR_PARTIAL()
                              -
                              MessageHandler must implement MessageHandler.Whole or MessageHandler.Partial.
                              +

                              EXTENSION_EXCEPTION

                              +
                              public static java.lang.String EXTENSION_EXCEPTION​(java.lang.Object arg0,
                              +                                                   java.lang.Object arg1)
                              +
                              Extension ''{0}'' threw an exception during processOutgoing method invocation: "{1}".
                            - +
                            • -

                              localizablePARTIAL_BINARY_MESSAGE_OUT_OF_ORDER

                              -
                              public static Localizable localizablePARTIAL_BINARY_MESSAGE_OUT_OF_ORDER(java.lang.Object arg0)
                              +

                              localizableCLASS_CHECKER_FORBIDDEN_RETURN_TYPE

                              +
                              public static Localizable localizableCLASS_CHECKER_FORBIDDEN_RETURN_TYPE​(java.lang.Object arg0,
                              +                                                                         java.lang.Object arg1)
                            - +
                            • -

                              PARTIAL_BINARY_MESSAGE_OUT_OF_ORDER

                              -
                              public static java.lang.String PARTIAL_BINARY_MESSAGE_OUT_OF_ORDER(java.lang.Object arg0)
                              -
                              Partial binary message received out of order. Session: ''{0}''.
                              +

                              CLASS_CHECKER_FORBIDDEN_RETURN_TYPE

                              +
                              public static java.lang.String CLASS_CHECKER_FORBIDDEN_RETURN_TYPE​(java.lang.Object arg0,
                              +                                                                   java.lang.Object arg1)
                              +
                              Method: {0}.{1}: has got unsupported return type.
                            - +
                            • -

                              localizableMAX_SESSIONS_PER_ENDPOINT_EXCEEDED

                              -
                              public static Localizable localizableMAX_SESSIONS_PER_ENDPOINT_EXCEEDED()
                              +

                              localizableDATA_UNEXPECTED_LENGTH

                              +
                              public static Localizable localizableDATA_UNEXPECTED_LENGTH​(java.lang.Object arg0,
                              +                                                            java.lang.Object arg1)
                            - +
                            • -

                              MAX_SESSIONS_PER_ENDPOINT_EXCEEDED

                              -
                              public static java.lang.String MAX_SESSIONS_PER_ENDPOINT_EXCEEDED()
                              -
                              Maximal number of open sessions per endpoint exceeded.
                              +

                              DATA_UNEXPECTED_LENGTH

                              +
                              public static java.lang.String DATA_UNEXPECTED_LENGTH​(java.lang.Object arg0,
                              +                                                      java.lang.Object arg1)
                              +
                              Data read ({0}) is not the expected size ({1}).
                            - +
                            • -

                              localizableCLIENT_CANNOT_CONNECT

                              -
                              public static Localizable localizableCLIENT_CANNOT_CONNECT(java.lang.Object arg0)
                              +

                              localizableCONNECTION_NULL

                              +
                              public static Localizable localizableCONNECTION_NULL()
                            - +
                            • -

                              CLIENT_CANNOT_CONNECT

                              -
                              public static java.lang.String CLIENT_CANNOT_CONNECT(java.lang.Object arg0)
                              -
                              Client cannot connect to "{0}".
                              +

                              CONNECTION_NULL

                              +
                              public static java.lang.String CONNECTION_NULL()
                              +
                              Connection is null.
                            - +
                            • -

                              localizableFRAME_WRITE_CANCELLED

                              -
                              public static Localizable localizableFRAME_WRITE_CANCELLED()
                              +

                              localizableENDPOINT_WRONG_PARAMS

                              +
                              public static Localizable localizableENDPOINT_WRONG_PARAMS​(java.lang.Object arg0,
                              +                                                           java.lang.Object arg1)
                            - +
                            • -

                              FRAME_WRITE_CANCELLED

                              -
                              public static java.lang.String FRAME_WRITE_CANCELLED()
                              -
                              Frame writing was canceled.
                              +

                              ENDPOINT_WRONG_PARAMS

                              +
                              public static java.lang.String ENDPOINT_WRONG_PARAMS​(java.lang.Object arg0,
                              +                                                     java.lang.Object arg1)
                              +
                              Method: {0}.{1}: has got wrong number of params.
                          +
                        +
                        + diff --git a/apidocs/latest1x/org/glassfish/tyrus/core/l10n/Localizer.html b/apidocs/latest1x/org/glassfish/tyrus/core/l10n/Localizer.html index 9d6caae7..c745e1c1 100644 --- a/apidocs/latest1x/org/glassfish/tyrus/core/l10n/Localizer.html +++ b/apidocs/latest1x/org/glassfish/tyrus/core/l10n/Localizer.html @@ -1,44 +1,58 @@ - + - + +Localizer (Tyrus 1.19 API) -Localizer (Tyrus 1.18 API) - + + + + + + + + +var pathtoroot = "../../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
                        + +
                        +
                        -
                        org.glassfish.tyrus.core.l10n
                        +

                        Class Localizer

                        @@ -109,10 +133,9 @@ var activeTableTab = "activeTableTab";

                        • -
                          public class Localizer
                           extends java.lang.Object
                          -
                          Localizes the Localizable into a message by using a configured Locale.
                          +
                          Localizes the Localizable into a message by using a configured Locale.
                          Author:
                          WS Development Team
                          @@ -124,48 +147,57 @@ extends java.lang.Object
                        @@ -180,12 +213,13 @@ extends java.lang.Object
                        • +
                            -
                          • +
                          • Constructor Detail

                            - +
                              @@ -194,58 +228,64 @@ extends java.lang.Object
                              public Localizer()
                            - +
                            • Localizer

                              -
                              public Localizer(java.util.Locale l)
                              +
                              public Localizer​(java.util.Locale l)
                          +
                          +
                            -
                          • +
                          • Method Detail

                            - +
                            • getLocale

                              -
                              public java.util.Locale getLocale()
                              +
                              public java.util.Locale getLocale()
                            - +
                            • localize

                              -
                              public java.lang.String localize(Localizable l)
                              +
                              public java.lang.String localize​(Localizable l)
                          +
                        +
                        + diff --git a/apidocs/latest1x/org/glassfish/tyrus/core/l10n/class-use/Localizable.html b/apidocs/latest1x/org/glassfish/tyrus/core/l10n/class-use/Localizable.html index cde5185e..0850f21d 100644 --- a/apidocs/latest1x/org/glassfish/tyrus/core/l10n/class-use/Localizable.html +++ b/apidocs/latest1x/org/glassfish/tyrus/core/l10n/class-use/Localizable.html @@ -1,40 +1,54 @@ - + - + +Uses of Interface org.glassfish.tyrus.core.l10n.Localizable (Tyrus 1.19 API) -Uses of Interface org.glassfish.tyrus.core.l10n.Localizable (Tyrus 1.18 API) - + + + + + + + + +var pathtoroot = "../../../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
                        + +
                        +

                        Uses of Interface
                        org.glassfish.tyrus.core.l10n.Localizable

                        +
                        + diff --git a/apidocs/latest1x/org/glassfish/tyrus/core/l10n/class-use/LocalizableMessage.html b/apidocs/latest1x/org/glassfish/tyrus/core/l10n/class-use/LocalizableMessage.html index 93aaffa3..07fa6e0a 100644 --- a/apidocs/latest1x/org/glassfish/tyrus/core/l10n/class-use/LocalizableMessage.html +++ b/apidocs/latest1x/org/glassfish/tyrus/core/l10n/class-use/LocalizableMessage.html @@ -1,40 +1,54 @@ - + - + +Uses of Class org.glassfish.tyrus.core.l10n.LocalizableMessage (Tyrus 1.19 API) -Uses of Class org.glassfish.tyrus.core.l10n.LocalizableMessage (Tyrus 1.18 API) - + + + + + + + + +var pathtoroot = "../../../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
                        + +
                        +

                        Uses of Class
                        org.glassfish.tyrus.core.l10n.LocalizableMessage

                        No usage of org.glassfish.tyrus.core.l10n.LocalizableMessage
                        +
                        + diff --git a/apidocs/latest1x/org/glassfish/tyrus/core/l10n/class-use/LocalizableMessageFactory.html b/apidocs/latest1x/org/glassfish/tyrus/core/l10n/class-use/LocalizableMessageFactory.html index f91f7afd..cfa1fbf4 100644 --- a/apidocs/latest1x/org/glassfish/tyrus/core/l10n/class-use/LocalizableMessageFactory.html +++ b/apidocs/latest1x/org/glassfish/tyrus/core/l10n/class-use/LocalizableMessageFactory.html @@ -1,40 +1,54 @@ - + - + +Uses of Class org.glassfish.tyrus.core.l10n.LocalizableMessageFactory (Tyrus 1.19 API) -Uses of Class org.glassfish.tyrus.core.l10n.LocalizableMessageFactory (Tyrus 1.18 API) - + + + + + + + + +var pathtoroot = "../../../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
                        + +
                        +

                        Uses of Class
                        org.glassfish.tyrus.core.l10n.LocalizableMessageFactory

                        No usage of org.glassfish.tyrus.core.l10n.LocalizableMessageFactory
                        +
                        + diff --git a/apidocs/latest1x/org/glassfish/tyrus/core/l10n/class-use/LocalizationMessages.html b/apidocs/latest1x/org/glassfish/tyrus/core/l10n/class-use/LocalizationMessages.html index 60e159af..1e0425a0 100644 --- a/apidocs/latest1x/org/glassfish/tyrus/core/l10n/class-use/LocalizationMessages.html +++ b/apidocs/latest1x/org/glassfish/tyrus/core/l10n/class-use/LocalizationMessages.html @@ -1,40 +1,54 @@ - + - + +Uses of Class org.glassfish.tyrus.core.l10n.LocalizationMessages (Tyrus 1.19 API) -Uses of Class org.glassfish.tyrus.core.l10n.LocalizationMessages (Tyrus 1.18 API) - + + + + + + + + +var pathtoroot = "../../../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
                        + +
                        +

                        Uses of Class
                        org.glassfish.tyrus.core.l10n.LocalizationMessages

                        No usage of org.glassfish.tyrus.core.l10n.LocalizationMessages
                        +
                        + diff --git a/apidocs/latest1x/org/glassfish/tyrus/core/l10n/class-use/Localizer.html b/apidocs/latest1x/org/glassfish/tyrus/core/l10n/class-use/Localizer.html index 7e4cea2f..2194b463 100644 --- a/apidocs/latest1x/org/glassfish/tyrus/core/l10n/class-use/Localizer.html +++ b/apidocs/latest1x/org/glassfish/tyrus/core/l10n/class-use/Localizer.html @@ -1,40 +1,54 @@ - + - + +Uses of Class org.glassfish.tyrus.core.l10n.Localizer (Tyrus 1.19 API) -Uses of Class org.glassfish.tyrus.core.l10n.Localizer (Tyrus 1.18 API) - + + + + + + + + +var pathtoroot = "../../../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
                        + +
                        +

                        Uses of Class
                        org.glassfish.tyrus.core.l10n.Localizer

                        No usage of org.glassfish.tyrus.core.l10n.Localizer
                        +
                        + diff --git a/apidocs/latest1x/org/glassfish/tyrus/core/l10n/package-frame.html b/apidocs/latest1x/org/glassfish/tyrus/core/l10n/package-frame.html deleted file mode 100644 index 7fa2fcea..00000000 --- a/apidocs/latest1x/org/glassfish/tyrus/core/l10n/package-frame.html +++ /dev/null @@ -1,28 +0,0 @@ - - - - - - -org.glassfish.tyrus.core.l10n (Tyrus 1.18 API) - - - - - -

                        org.glassfish.tyrus.core.l10n

                        - - - diff --git a/apidocs/latest1x/org/glassfish/tyrus/core/l10n/package-summary.html b/apidocs/latest1x/org/glassfish/tyrus/core/l10n/package-summary.html index 79d77ecc..b15b0d13 100644 --- a/apidocs/latest1x/org/glassfish/tyrus/core/l10n/package-summary.html +++ b/apidocs/latest1x/org/glassfish/tyrus/core/l10n/package-summary.html @@ -1,38 +1,52 @@ - + - + +org.glassfish.tyrus.core.l10n (Tyrus 1.19 API) -org.glassfish.tyrus.core.l10n (Tyrus 1.18 API) - + + + + + + + + +var pathtoroot = "../../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
                        + +
                        +

                        Package org.glassfish.tyrus.core.l10n

                        -
                        -
                        Common internal localization utility classes.
                        -
                        -

                        See: Description

                        +
                        + + +
                        Common internal localization utility classes.
                        +
                        - - - -

                        Package org.glassfish.tyrus.core.l10n Description

                        -
                        Common internal localization utility classes.
                        +
                        + diff --git a/apidocs/latest1x/org/glassfish/tyrus/core/l10n/package-tree.html b/apidocs/latest1x/org/glassfish/tyrus/core/l10n/package-tree.html index 45505d6e..da5fd32f 100644 --- a/apidocs/latest1x/org/glassfish/tyrus/core/l10n/package-tree.html +++ b/apidocs/latest1x/org/glassfish/tyrus/core/l10n/package-tree.html @@ -1,38 +1,52 @@ - + - + +org.glassfish.tyrus.core.l10n Class Hierarchy (Tyrus 1.19 API) -org.glassfish.tyrus.core.l10n Class Hierarchy (Tyrus 1.18 API) - + + + + + + + + +var pathtoroot = "../../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
                        + +
                        +

                        Hierarchy For Package org.glassfish.tyrus.core.l10n

                        Package Hierarchies: @@ -78,32 +102,39 @@
                        +

                        Class Hierarchy

                        +
                        +

                        Interface Hierarchy

                        +
                        +
                        + diff --git a/apidocs/latest1x/org/glassfish/tyrus/core/l10n/package-use.html b/apidocs/latest1x/org/glassfish/tyrus/core/l10n/package-use.html index 9875a97c..0e11d3b8 100644 --- a/apidocs/latest1x/org/glassfish/tyrus/core/l10n/package-use.html +++ b/apidocs/latest1x/org/glassfish/tyrus/core/l10n/package-use.html @@ -1,38 +1,52 @@ - + - + +Uses of Package org.glassfish.tyrus.core.l10n (Tyrus 1.19 API) -Uses of Package org.glassfish.tyrus.core.l10n (Tyrus 1.18 API) - + + + + + + + + +var pathtoroot = "../../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
                        + +
                        +

                        Uses of Package
                        org.glassfish.tyrus.core.l10n

                        • - - +
                          Packages that use org.glassfish.tyrus.core.l10n 
                          + - + @@ -92,17 +116,19 @@
                          Packages that use org.glassfish.tyrus.core.l10n 
                          Package Description
                          org.glassfish.tyrus.core.l10norg.glassfish.tyrus.core.l10n
                          Common internal localization utility classes.
                        • -
                        • +
                        • - - +
                          Classes in org.glassfish.tyrus.core.l10n used by org.glassfish.tyrus.core.l10n 
                          + - + + - + @@ -111,16 +137,19 @@ + + diff --git a/apidocs/latest1x/org/glassfish/tyrus/core/monitoring/ApplicationEventListener.html b/apidocs/latest1x/org/glassfish/tyrus/core/monitoring/ApplicationEventListener.html index 1d9d1ab9..b7c4da92 100644 --- a/apidocs/latest1x/org/glassfish/tyrus/core/monitoring/ApplicationEventListener.html +++ b/apidocs/latest1x/org/glassfish/tyrus/core/monitoring/ApplicationEventListener.html @@ -1,44 +1,58 @@ - + - + +ApplicationEventListener (Tyrus 1.19 API) -ApplicationEventListener (Tyrus 1.18 API) - + + + + + + + + +var pathtoroot = "../../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
                          + +
                          +
                          -
                          org.glassfish.tyrus.core.monitoring
                          +

                          Interface ApplicationEventListener

                          @@ -101,8 +125,7 @@ var activeTableTab = "activeTableTab";

                          • -
                            -
                            @Beta
                            +
                            @Beta
                             public interface ApplicationEventListener
                            Listens to application-level events that are interesting for monitoring. Only one listener per application can be registered.
                            @@ -117,72 +140,84 @@ public interface ApplicationEventListener
                          • +
                              -
                            • +
                            • Field Summary

                              -
                          Classes in org.glassfish.tyrus.core.l10n used by org.glassfish.tyrus.core.l10n 
                          Class and DescriptionClassDescription
                          Localizable +Localizable
                          Localizable message.
                          +
                          - + + - + - - + +
                          Fields 
                          Modifier and TypeField and DescriptionFieldDescription
                          static java.lang.StringAPPLICATION_EVENT_LISTENER +APPLICATION_EVENT_LISTENER
                          A key used for registering a application event listener implementation.
                          static ApplicationEventListenerNO_OP +static ApplicationEventListenerNO_OP
                          An instance of @ApplicationEventListener that does not do anything.
                        + +
                        +
                        @@ -190,12 +225,13 @@ public interface ApplicationEventListener
                      • +
                        +
                        +
                          -
                        • +
                        • Method Detail

                          - +
                          • onApplicationInitialized

                            -
                            void onApplicationInitialized(java.lang.String applicationName)
                            +
                            void onApplicationInitialized​(java.lang.String applicationName)
                            Called when the application has been initialized.
                            Parameters:
                            @@ -252,23 +290,23 @@ public interface ApplicationEventListener
                          - +
                          • onApplicationDestroyed

                            -
                            void onApplicationDestroyed()
                            +
                            void onApplicationDestroyed()
                            Called when the application has been destroyed.
                          - +
                          • onEndpointRegistered

                            -
                            EndpointEventListener onEndpointRegistered(java.lang.String endpointPath,
                            +
                            EndpointEventListener onEndpointRegistered​(java.lang.String endpointPath,
                                                                        java.lang.Class<?> endpointClass)
                            Called when an endpoint has been registered.
                            @@ -280,13 +318,13 @@ public interface ApplicationEventListener
                          - +
                          • onEndpointUnregistered

                            -
                            void onEndpointUnregistered(java.lang.String endpointPath)
                            +
                            void onEndpointUnregistered​(java.lang.String endpointPath)
                            Called when an endpoint has been unregistered.
                            Parameters:
                            @@ -296,21 +334,25 @@ public interface ApplicationEventListener
                          +
                      • +
                        + diff --git a/apidocs/latest1x/org/glassfish/tyrus/core/monitoring/EndpointEventListener.html b/apidocs/latest1x/org/glassfish/tyrus/core/monitoring/EndpointEventListener.html index ddc70ed2..8251b394 100644 --- a/apidocs/latest1x/org/glassfish/tyrus/core/monitoring/EndpointEventListener.html +++ b/apidocs/latest1x/org/glassfish/tyrus/core/monitoring/EndpointEventListener.html @@ -1,44 +1,58 @@ - + - + +EndpointEventListener (Tyrus 1.19 API) -EndpointEventListener (Tyrus 1.18 API) - + + + + + + + + +var pathtoroot = "../../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
                        + +
                        +
                        -
                        org.glassfish.tyrus.core.monitoring
                        +

                        Interface EndpointEventListener

                        @@ -101,8 +125,7 @@ var activeTableTab = "activeTableTab";
                        @@ -177,36 +210,39 @@ public interface EndpointEventListener +
                        + diff --git a/apidocs/latest1x/org/glassfish/tyrus/core/monitoring/MessageEventListener.html b/apidocs/latest1x/org/glassfish/tyrus/core/monitoring/MessageEventListener.html index 6a6d21bd..9914c5ac 100644 --- a/apidocs/latest1x/org/glassfish/tyrus/core/monitoring/MessageEventListener.html +++ b/apidocs/latest1x/org/glassfish/tyrus/core/monitoring/MessageEventListener.html @@ -1,44 +1,58 @@ - + - + +MessageEventListener (Tyrus 1.19 API) -MessageEventListener (Tyrus 1.18 API) - + + + + + + + + +var pathtoroot = "../../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
                        + +
                        +
                        -
                        org.glassfish.tyrus.core.monitoring
                        +

                        Interface MessageEventListener

                        @@ -101,8 +125,7 @@ var activeTableTab = "activeTableTab";
                        @@ -172,36 +204,39 @@ public interface MessageEventListener
                        • +
                          +
                          +
                            -
                          • +
                          • Method Detail

                            - +
                            • onFrameSent

                              -
                              void onFrameSent(TyrusFrame.FrameType frameType,
                              +
                              void onFrameSent​(TyrusFrame.FrameType frameType,
                                                long payloadLength)
                              Called when a frame has been sent.
                              @@ -211,13 +246,13 @@ public interface MessageEventListener
                            - +
                            • onFrameReceived

                              -
                              void onFrameReceived(TyrusFrame.FrameType frameType,
                              +
                              void onFrameReceived​(TyrusFrame.FrameType frameType,
                                                    long payloadLength)
                              Called when a frame has been received.
                              @@ -229,21 +264,25 @@ public interface MessageEventListener
                          +
                        +
                        + diff --git a/apidocs/latest1x/org/glassfish/tyrus/core/monitoring/class-use/ApplicationEventListener.html b/apidocs/latest1x/org/glassfish/tyrus/core/monitoring/class-use/ApplicationEventListener.html index 45165f24..07b5cc89 100644 --- a/apidocs/latest1x/org/glassfish/tyrus/core/monitoring/class-use/ApplicationEventListener.html +++ b/apidocs/latest1x/org/glassfish/tyrus/core/monitoring/class-use/ApplicationEventListener.html @@ -1,40 +1,54 @@ - + - + +Uses of Interface org.glassfish.tyrus.core.monitoring.ApplicationEventListener (Tyrus 1.19 API) -Uses of Interface org.glassfish.tyrus.core.monitoring.ApplicationEventListener (Tyrus 1.18 API) - + + + + + + + + +var pathtoroot = "../../../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
                        + +
                        +

                        Uses of Interface
                        org.glassfish.tyrus.core.monitoring.ApplicationEventListener

                        +
                        + diff --git a/apidocs/latest1x/org/glassfish/tyrus/core/monitoring/class-use/EndpointEventListener.html b/apidocs/latest1x/org/glassfish/tyrus/core/monitoring/class-use/EndpointEventListener.html index 73c88b01..b5de8f92 100644 --- a/apidocs/latest1x/org/glassfish/tyrus/core/monitoring/class-use/EndpointEventListener.html +++ b/apidocs/latest1x/org/glassfish/tyrus/core/monitoring/class-use/EndpointEventListener.html @@ -1,40 +1,54 @@ - + - + +Uses of Interface org.glassfish.tyrus.core.monitoring.EndpointEventListener (Tyrus 1.19 API) -Uses of Interface org.glassfish.tyrus.core.monitoring.EndpointEventListener (Tyrus 1.18 API) - + + + + + + + + +var pathtoroot = "../../../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
                        + +
                        +

                        Uses of Interface
                        org.glassfish.tyrus.core.monitoring.EndpointEventListener

                        +
                        + diff --git a/apidocs/latest1x/org/glassfish/tyrus/core/monitoring/class-use/MessageEventListener.html b/apidocs/latest1x/org/glassfish/tyrus/core/monitoring/class-use/MessageEventListener.html index 74799966..a511a7c4 100644 --- a/apidocs/latest1x/org/glassfish/tyrus/core/monitoring/class-use/MessageEventListener.html +++ b/apidocs/latest1x/org/glassfish/tyrus/core/monitoring/class-use/MessageEventListener.html @@ -1,40 +1,54 @@ - + - + +Uses of Interface org.glassfish.tyrus.core.monitoring.MessageEventListener (Tyrus 1.19 API) -Uses of Interface org.glassfish.tyrus.core.monitoring.MessageEventListener (Tyrus 1.18 API) - + + + + + + + + +var pathtoroot = "../../../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
                        + +
                        +

                        Uses of Interface
                        org.glassfish.tyrus.core.monitoring.MessageEventListener

                        +
                        + diff --git a/apidocs/latest1x/org/glassfish/tyrus/core/monitoring/package-frame.html b/apidocs/latest1x/org/glassfish/tyrus/core/monitoring/package-frame.html deleted file mode 100644 index cc4d6be4..00000000 --- a/apidocs/latest1x/org/glassfish/tyrus/core/monitoring/package-frame.html +++ /dev/null @@ -1,23 +0,0 @@ - - - - - - -org.glassfish.tyrus.core.monitoring (Tyrus 1.18 API) - - - - - -

                        org.glassfish.tyrus.core.monitoring

                        - - - diff --git a/apidocs/latest1x/org/glassfish/tyrus/core/monitoring/package-summary.html b/apidocs/latest1x/org/glassfish/tyrus/core/monitoring/package-summary.html index 34acdc9d..1da9e094 100644 --- a/apidocs/latest1x/org/glassfish/tyrus/core/monitoring/package-summary.html +++ b/apidocs/latest1x/org/glassfish/tyrus/core/monitoring/package-summary.html @@ -1,38 +1,52 @@ - + - + +org.glassfish.tyrus.core.monitoring (Tyrus 1.19 API) -org.glassfish.tyrus.core.monitoring (Tyrus 1.18 API) - + + + + + + + + +var pathtoroot = "../../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
                        + +
                        +

                        Package org.glassfish.tyrus.core.monitoring

                        -
                        -
                        Monitoring interfaces.
                        -
                        -

                        See: Description

                        +
                        + + +
                        Monitoring interfaces.
                        +
                        - - - -

                        Package org.glassfish.tyrus.core.monitoring Description

                        -
                        Monitoring interfaces.
                        +
                        + diff --git a/apidocs/latest1x/org/glassfish/tyrus/core/monitoring/package-tree.html b/apidocs/latest1x/org/glassfish/tyrus/core/monitoring/package-tree.html index 5da753d6..0dfb2593 100644 --- a/apidocs/latest1x/org/glassfish/tyrus/core/monitoring/package-tree.html +++ b/apidocs/latest1x/org/glassfish/tyrus/core/monitoring/package-tree.html @@ -1,38 +1,52 @@ - + - + +org.glassfish.tyrus.core.monitoring Class Hierarchy (Tyrus 1.19 API) -org.glassfish.tyrus.core.monitoring Class Hierarchy (Tyrus 1.18 API) - + + + + + + + + +var pathtoroot = "../../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
                        + +
                        +

                        Hierarchy For Package org.glassfish.tyrus.core.monitoring

                        Package Hierarchies: @@ -78,23 +102,28 @@
                        +

                        Interface Hierarchy

                        +
                        +
                        + diff --git a/apidocs/latest1x/org/glassfish/tyrus/core/monitoring/package-use.html b/apidocs/latest1x/org/glassfish/tyrus/core/monitoring/package-use.html index adc46200..3b018564 100644 --- a/apidocs/latest1x/org/glassfish/tyrus/core/monitoring/package-use.html +++ b/apidocs/latest1x/org/glassfish/tyrus/core/monitoring/package-use.html @@ -1,38 +1,52 @@ - + - + +Uses of Package org.glassfish.tyrus.core.monitoring (Tyrus 1.19 API) -Uses of Package org.glassfish.tyrus.core.monitoring (Tyrus 1.18 API) - + + + + + + + + +var pathtoroot = "../../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
                        + +
                        +

                        Uses of Package
                        org.glassfish.tyrus.core.monitoring

                        - - - -

                        Package org.glassfish.tyrus.core Description

                        -
                        Core classes.
                        +
                        + diff --git a/apidocs/latest1x/org/glassfish/tyrus/core/package-tree.html b/apidocs/latest1x/org/glassfish/tyrus/core/package-tree.html index 3bd56a5e..23d85db1 100644 --- a/apidocs/latest1x/org/glassfish/tyrus/core/package-tree.html +++ b/apidocs/latest1x/org/glassfish/tyrus/core/package-tree.html @@ -1,38 +1,52 @@ - + - + +org.glassfish.tyrus.core Class Hierarchy (Tyrus 1.19 API) -org.glassfish.tyrus.core Class Hierarchy (Tyrus 1.18 API) - + + + + + + + + +var pathtoroot = "../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
                        + +
                        +

                        Hierarchy For Package org.glassfish.tyrus.core

                        Package Hierarchies: @@ -78,70 +102,71 @@
                        +

                        Class Hierarchy

                        +

                        Interface Hierarchy

                        +
                        +

                        Annotation Type Hierarchy

                          -
                        • org.glassfish.tyrus.core.MaxSessions (implements java.lang.annotation.Annotation)
                        • -
                        • org.glassfish.tyrus.core.Beta (implements java.lang.annotation.Annotation)
                        • +
                        • org.glassfish.tyrus.core.Beta (implements java.lang.annotation.Annotation)
                        • +
                        • org.glassfish.tyrus.core.MaxSessions (implements java.lang.annotation.Annotation)
                        +
                        +

                        Enum Hierarchy

                        +
                        +
                        + diff --git a/apidocs/latest1x/org/glassfish/tyrus/core/package-use.html b/apidocs/latest1x/org/glassfish/tyrus/core/package-use.html index fa9e8c02..8c80ad80 100644 --- a/apidocs/latest1x/org/glassfish/tyrus/core/package-use.html +++ b/apidocs/latest1x/org/glassfish/tyrus/core/package-use.html @@ -1,38 +1,52 @@ - + - + +Uses of Package org.glassfish.tyrus.core (Tyrus 1.19 API) -Uses of Package org.glassfish.tyrus.core (Tyrus 1.18 API) - + + + + + + + + +var pathtoroot = "../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
                        + +
                        +

                        Uses of Package
                        org.glassfish.tyrus.core

                        +
                        + diff --git a/apidocs/latest1x/org/glassfish/tyrus/core/uri/Match.html b/apidocs/latest1x/org/glassfish/tyrus/core/uri/Match.html index 9e55517e..c732b653 100644 --- a/apidocs/latest1x/org/glassfish/tyrus/core/uri/Match.html +++ b/apidocs/latest1x/org/glassfish/tyrus/core/uri/Match.html @@ -1,44 +1,58 @@ - + - + +Match (Tyrus 1.19 API) -Match (Tyrus 1.18 API) - + + + + + + + + +var pathtoroot = "../../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
                        + +
                        +
                        -
                        org.glassfish.tyrus.core.uri
                        +

                        Class Match

                        @@ -109,7 +133,6 @@ var activeTableTab = "activeTableTab";

                        • -
                          public class Match
                           extends java.lang.Object
                          Defines a match on an endpoint. The match is either exact, or is not exact. @@ -127,51 +150,58 @@ extends java.lang.Object
                          @@ -186,18 +217,19 @@ extends java.lang.Object
                          • +
                              -
                            • +
                            • Method Detail

                              - +
                              • getParameters

                                -
                                public java.util.Map<java.lang.String,java.lang.String> getParameters()
                                +
                                public java.util.Map<java.lang.String,​java.lang.String> getParameters()
                                Get map of parameter names-value pairs.
                                Returns:
                                @@ -205,13 +237,13 @@ extends java.lang.Object
                              - +
                              • getEndpointWrapper

                                -
                                public TyrusEndpointWrapper getEndpointWrapper()
                                +
                                public TyrusEndpointWrapper getEndpointWrapper()
                                Get endpoint wrapper.
                                Returns:
                                @@ -219,28 +251,28 @@ extends java.lang.Object
                              - +
                              • toString

                                -
                                public java.lang.String toString()
                                +
                                public java.lang.String toString()
                                Overrides:
                                toString in class java.lang.Object
                              - +
                              • getAllMatches

                                -
                                public static java.util.List<Match> getAllMatches(java.lang.String requestPath,
                                -                                                  java.util.Set<TyrusEndpointWrapper> endpoints,
                                -                                                  DebugContext debugContext)
                                +
                                public static java.util.List<Match> getAllMatches​(java.lang.String requestPath,
                                +                                                  java.util.Set<TyrusEndpointWrapper> endpoints,
                                +                                                  DebugContext debugContext)
                                Return a list of all endpoints with path matching the request path. The endpoints are in order of match preference, best match first.
                                @@ -254,13 +286,13 @@ extends java.lang.Object
                              - +
                              • isEquivalent

                                -
                                public static boolean isEquivalent(java.lang.String path1,
                                +
                                public static boolean isEquivalent​(java.lang.String path1,
                                                                    java.lang.String path2)
                                Check for equivalent paths.
                                @@ -274,21 +306,25 @@ extends java.lang.Object
                            +
                        +
                        + diff --git a/apidocs/latest1x/org/glassfish/tyrus/core/uri/class-use/Match.html b/apidocs/latest1x/org/glassfish/tyrus/core/uri/class-use/Match.html index 2257ffa5..06d49e80 100644 --- a/apidocs/latest1x/org/glassfish/tyrus/core/uri/class-use/Match.html +++ b/apidocs/latest1x/org/glassfish/tyrus/core/uri/class-use/Match.html @@ -1,40 +1,54 @@ - + - + +Uses of Class org.glassfish.tyrus.core.uri.Match (Tyrus 1.19 API) -Uses of Class org.glassfish.tyrus.core.uri.Match (Tyrus 1.18 API) - + + + + + + + + +var pathtoroot = "../../../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
                        + +
                        +

                        Uses of Class
                        org.glassfish.tyrus.core.uri.Match

                        +
                        + diff --git a/apidocs/latest1x/org/glassfish/tyrus/core/uri/internal/AbstractMultivaluedMap.html b/apidocs/latest1x/org/glassfish/tyrus/core/uri/internal/AbstractMultivaluedMap.html index 090f8d8c..3c162fa4 100644 --- a/apidocs/latest1x/org/glassfish/tyrus/core/uri/internal/AbstractMultivaluedMap.html +++ b/apidocs/latest1x/org/glassfish/tyrus/core/uri/internal/AbstractMultivaluedMap.html @@ -1,44 +1,58 @@ - + - + +AbstractMultivaluedMap (Tyrus 1.19 API) -AbstractMultivaluedMap (Tyrus 1.18 API) - + + + + + + + + +var pathtoroot = "../../../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
                        + +
                        +
                        -
                        org.glassfish.tyrus.core.uri.internal
                        -

                        Class AbstractMultivaluedMap<K,V>

                        + +

                        Class AbstractMultivaluedMap<K,​V>

                        • java.lang.Object
                          • -
                          • org.glassfish.tyrus.core.uri.internal.AbstractMultivaluedMap<K,V>
                          • +
                          • org.glassfish.tyrus.core.uri.internal.AbstractMultivaluedMap<K,​V>
                        @@ -115,18 +139,17 @@ var activeTableTab = "activeTableTab";
                        All Implemented Interfaces:
                        -
                        java.util.Map<K,java.util.List<V>>, MultivaluedMap<K,V>
                        +
                        java.util.Map<K,​java.util.List<V>>, MultivaluedMap<K,​V>
                        Direct Known Subclasses:
                        -
                        MultivaluedHashMap
                        +
                        MultivaluedHashMap

                        -
                        -
                        public abstract class AbstractMultivaluedMap<K,V>
                        +
                        public abstract class AbstractMultivaluedMap<K,​V>
                         extends java.lang.Object
                        -implements MultivaluedMap<K,V>
                        -
                        Abstract skeleton implementation of a MultivaluedMap that is backed +implements MultivaluedMap<K,​V>
                        +
                        Abstract skeleton implementation of a MultivaluedMap that is backed by a [key, multi-value] store represented as a Map<K, List<V>>.
                        Author:
                        @@ -139,54 +162,63 @@ implements
                      • +
                          -
                        • +
                        • Nested Class Summary

                            -
                          • +
                          • Nested classes/interfaces inherited from interface java.util.Map

                            -java.util.Map.Entry<K,V>
                          • +java.util.Map.Entry<K extends java.lang.Object,​V extends java.lang.Object>
                        +
                        +
                          -
                        • +
                        • Field Summary

                          - +
                          - + + - - + +
                          Fields 
                          Modifier and TypeField and DescriptionFieldDescription
                          protected java.util.Map<K,java.util.List<V>>store +protected java.util.Map<K,​java.util.List<V>>store
                          Backing store for the [key, multi-value] pairs.
                        +
                        +
                          -
                        • +
                        • Constructor Summary

                          - +
                          - + + - + @@ -194,159 +226,185 @@ implements
                          Constructors 
                          Constructor and DescriptionConstructorDescription
                          AbstractMultivaluedMap(java.util.Map<K,java.util.List<V>> store) +AbstractMultivaluedMap​(java.util.Map<K,​java.util.List<V>> store)
                          Initialize the backing store in the abstract parent multivalued map implementation.
                          +
                          - + + - + - + - + - + - + - + - + + - + + - + + - - + + + - + - + - - + + + - - + + - - + + - + - + + - - + + + - - + + + - + + - + - - + + + - + + - + + - - + + +
                          All Methods Instance Methods Concrete Methods 
                          Modifier and TypeMethod and DescriptionMethodDescription
                          voidadd(K key, - V value) +add​(K key, + V value)
                          Add a value to the current list of values for the supplied key.
                          voidaddAll(K key, - java.util.List<V> valueList) +addAll​(K key, + java.util.List<V> valueList)
                          Add all the values from the supplied value list to the current list of values for the supplied key.
                          voidaddAll(K key, - V... newValues) +addAll​(K key, + V... newValues)
                          Add multiple values to the current list of values for the supplied key.
                          voidaddFirst(K key, - V value) +addFirst​(K key, + V value)
                          Add a value to the first position in the current list of values for the supplied key.
                          protected voidaddFirstNull(java.util.List<V> values) +addFirstNull​(java.util.List<V> values)
                          Define the behavior for adding a null values to the first position in the value list.
                          protected voidaddNull(java.util.List<V> values) +addNull​(java.util.List<V> values)
                          Define the behavior for adding a null values to the value list.
                          voidclear() clear() 
                          booleancontainsKey(java.lang.Object key) containsKey​(java.lang.Object key) 
                          booleancontainsValue(java.lang.Object value) containsValue​(java.lang.Object value) 
                          java.util.Set<java.util.Map.Entry<K,java.util.List<V>>>entrySet() java.util.Set<java.util.Map.Entry<K,​java.util.List<V>>>entrySet() 
                          booleanequals(java.lang.Object o)equals​(java.lang.Object o)
                          booleanequalsIgnoreValueOrder(MultivaluedMap<K,V> omap) +equalsIgnoreValueOrder​(MultivaluedMap<K,​V> omap)
                          Compare the specified map with this map for equality modulo the order of values for each key.
                          java.util.List<V>get(java.lang.Object key) java.util.List<V>get​(java.lang.Object key) 
                          VgetFirst(K key) +VgetFirst​(K key)
                          A shortcut to get the first value of the supplied key.
                          protected java.util.List<V>getValues(K key) +protected java.util.List<V>getValues​(K key)
                          Return a non-null list of values for a given key.
                          inthashCode()hashCode()
                          booleanisEmpty() isEmpty() 
                          java.util.Set<K>keySet() java.util.Set<K>keySet() 
                          java.util.List<V>put(K key, - java.util.List<V> value) java.util.List<V>put​(K key, + java.util.List<V> value) 
                          voidputAll(java.util.Map<? extends K,? extends java.util.List<V>> m) putAll​(java.util.Map<? extends K,​? extends java.util.List<V>> m) 
                          voidputSingle(K key, - V value) +putSingle​(K key, + V value)
                          Set the value for the key to be a one item list consisting of the supplied value.
                          java.util.List<V>remove(java.lang.Object key) java.util.List<V>remove​(java.lang.Object key) 
                          intsize() size() 
                          java.lang.StringtoString() toString() 
                          java.util.Collection<java.util.List<V>>values() java.util.Collection<java.util.List<V>>values() 
                            -
                          • +
                          • Methods inherited from class java.lang.Object

                            clone, finalize, getClass, notify, notifyAll, wait, wait, wait
                            -
                          • +
                          • Methods inherited from interface java.util.Map

                            @@ -354,6 +412,7 @@ implements
                          • +
                              -
                            • +
                            • Field Detail

                              - +
                              • store

                                -
                                protected final java.util.Map<K,java.util.List<V>> store
                                +
                                protected final java.util.Map<K,​java.util.List<V>> store
                                Backing store for the [key, multi-value] pairs.
                            +
                            +
                              -
                            • +
                            • Constructor Detail

                              - +
                              • AbstractMultivaluedMap

                                -
                                public AbstractMultivaluedMap(java.util.Map<K,java.util.List<V>> store)
                                +
                                public AbstractMultivaluedMap​(java.util.Map<K,​java.util.List<V>> store)
                                Initialize the backing store in the abstract parent multivalued map implementation.
                                @@ -405,22 +467,24 @@ implements
                                  -
                                • +
                                • Method Detail

                                  - + - +
                                  • putSingle

                                    -
                                    public final void putSingle(K key,
                                    -                            V value)
                                    +
                                    public final void putSingle​(K key,
                                    +                            V value)
                                    Set the value for the key to be a one item list consisting of the supplied value. Any existing values will be replaced.

                                    @@ -428,10 +492,10 @@ implements addNull(java.util.List) method.

                                    + redefining the addNull(java.util.List) method.
                      • Specified by:
                        -
                        putSingle in interface MultivaluedMap<K,V>
                        +
                        putSingle in interface MultivaluedMap<K,​V>
                        Parameters:
                        key - the key
                        value - the single value of the key. If the value is null it @@ -439,13 +503,13 @@ implements +
                        • addNull

                          -
                          protected void addNull(java.util.List<V> values)
                          +
                          protected void addNull​(java.util.List<V> values)
                          Define the behavior for adding a null values to the value list.

                          Default implementation is a no-op, i.e. the null values are ignored. @@ -458,13 +522,13 @@ implements +

                          • addFirstNull

                            -
                            protected void addFirstNull(java.util.List<V> values)
                            +
                            protected void addFirstNull​(java.util.List<V> values)
                            Define the behavior for adding a null values to the first position in the value list.

                            @@ -478,41 +542,41 @@ implements + - +

                            • add

                              -
                              public final void add(K key,
                              -                      V value)
                              +
                              public final void add​(K key,
                              +                      V value)
                              Add a value to the current list of values for the supplied key.

                              NOTE: This implementation ignores null values; A supplied value of null is ignored and not added to the value list. Overriding implementations may modify this behavior by redefining the - addNull(java.util.List) method.

                              + addNull(java.util.List) method.
                            Specified by:
                            -
                            add in interface MultivaluedMap<K,V>
                            +
                            add in interface MultivaluedMap<K,​V>
                            Parameters:
                            key - the key
                            value - the value to be added.
                          - + - +
                          • addAll

                            -
                            public final void addAll(K key,
                            -                         V... newValues)
                            +
                            public final void addAll​(K key,
                            +                         V... newValues)
                            Add multiple values to the current list of values for the supplied key. If the supplied array of new values is empty, method returns immediately. Method throws a NullPointerException if the supplied array of values @@ -521,10 +585,10 @@ implements addNull(java.util.List) method.
                            + addNull(java.util.List) method.
                          Specified by:
                          -
                          addAll in interface MultivaluedMap<K,V>
                          +
                          addAll in interface MultivaluedMap<K,​V>
                          Parameters:
                          key - the key.
                          newValues - the values to be added.
                          @@ -533,16 +597,16 @@ implements + - +
                          • addAll

                            -
                            public final void addAll(K key,
                            -                         java.util.List<V> valueList)
                            +
                            public final void addAll​(K key,
                            +                         java.util.List<V> valueList)
                            Add all the values from the supplied value list to the current list of values for the supplied key. If the supplied value list is empty, method returns immediately. Method throws a NullPointerException if the @@ -551,10 +615,10 @@ implements addNull(java.util.List) method.
                            + addNull(java.util.List) method.
                            Specified by:
                            -
                            addAll in interface MultivaluedMap<K,V>
                            +
                            addAll in interface MultivaluedMap<K,​V>
                            Parameters:
                            key - the key.
                            valueList - the list of values to be added.
                            @@ -563,20 +627,20 @@ implements + - +
                            • getFirst

                              -
                              public final V getFirst(K key)
                              -
                              Description copied from interface: MultivaluedMap
                              +
                              public final V getFirst​(K key)
                              +
                              Description copied from interface: MultivaluedMap
                              A shortcut to get the first value of the supplied key.
                              Specified by:
                              -
                              getFirst in interface MultivaluedMap<K,V>
                              +
                              getFirst in interface MultivaluedMap<K,​V>
                              Parameters:
                              key - the key
                              Returns:
                              @@ -585,41 +649,41 @@ implements + - +
                              • addFirst

                                -
                                public final void addFirst(K key,
                                -                           V value)
                                +
                                public final void addFirst​(K key,
                                +                           V value)
                                Add a value to the first position in the current list of values for the supplied key.

                                NOTE: This implementation ignores null values; A supplied value of null is ignored and not added to the purged value list. Overriding implementations may modify this behavior by redefining the - addFirstNull(java.util.List) method.

                                + addFirstNull(java.util.List) method.
                                Specified by:
                                -
                                addFirst in interface MultivaluedMap<K,V>
                                +
                                addFirst in interface MultivaluedMap<K,​V>
                                Parameters:
                                key - the key
                                value - the value to be added.
                              - + - +
                              • getValues

                                -
                                protected final java.util.List<V> getValues(K key)
                                +
                                protected final java.util.List<V> getValues​(K key)
                                Return a non-null list of values for a given key. The returned list may be empty.

                                @@ -635,33 +699,33 @@ implements +

                                • toString

                                  -
                                  public java.lang.String toString()
                                  +
                                  public java.lang.String toString()
                                  Overrides:
                                  toString in class java.lang.Object
                                - +
                                • hashCode

                                  -
                                  public int hashCode()
                                  +
                                  public int hashCode()

                                  This implementation delegates the method call to to the the underlying [key, multi-value] store.

                                  Specified by:
                                  -
                                  hashCode in interface java.util.Map<K,java.util.List<V>>
                                  +
                                  hashCode in interface java.util.Map<K,​V>
                                  Overrides:
                                  hashCode in class java.lang.Object
                                  Returns:
                                  @@ -669,20 +733,20 @@ implements +
                                  • equals

                                    -
                                    public boolean equals(java.lang.Object o)
                                    +
                                    public boolean equals​(java.lang.Object o)

                                    This implementation delegates the method call to to the the underlying [key, multi-value] store.

                                    Specified by:
                                    -
                                    equals in interface java.util.Map<K,java.util.List<V>>
                                    +
                                    equals in interface java.util.Map<K,​V>
                                    Overrides:
                                    equals in class java.lang.Object
                                    Returns:
                                    @@ -691,179 +755,179 @@ implements +
                                    • values

                                      -
                                      public java.util.Collection<java.util.List<V>> values()
                                      +
                                      public java.util.Collection<java.util.List<V>> values()
                                      Specified by:
                                      -
                                      values in interface java.util.Map<K,java.util.List<V>>
                                      +
                                      values in interface java.util.Map<K,​V>
                                    - +
                                    • size

                                      -
                                      public int size()
                                      +
                                      public int size()
                                      Specified by:
                                      -
                                      size in interface java.util.Map<K,java.util.List<V>>
                                      +
                                      size in interface java.util.Map<K,​V>
                                    - +
                                    • remove

                                      -
                                      public java.util.List<V> remove(java.lang.Object key)
                                      +
                                      public java.util.List<V> remove​(java.lang.Object key)
                                      Specified by:
                                      -
                                      remove in interface java.util.Map<K,java.util.List<V>>
                                      +
                                      remove in interface java.util.Map<K,​V>
                                    - +
                                    • putAll

                                      -
                                      public void putAll(java.util.Map<? extends K,? extends java.util.List<V>> m)
                                      +
                                      public void putAll​(java.util.Map<? extends K,​? extends java.util.List<V>> m)
                                      Specified by:
                                      -
                                      putAll in interface java.util.Map<K,java.util.List<V>>
                                      +
                                      putAll in interface java.util.Map<K,​V>
                                    - + - +
                                    • put

                                      -
                                      public java.util.List<V> put(K key,
                                      -                             java.util.List<V> value)
                                      +
                                      public java.util.List<V> put​(K key,
                                      +                             java.util.List<V> value)
                                      Specified by:
                                      -
                                      put in interface java.util.Map<K,java.util.List<V>>
                                      +
                                      put in interface java.util.Map<K,​V>
                                    - +
                                    • keySet

                                      -
                                      public java.util.Set<K> keySet()
                                      +
                                      public java.util.Set<K> keySet()
                                      Specified by:
                                      -
                                      keySet in interface java.util.Map<K,java.util.List<V>>
                                      +
                                      keySet in interface java.util.Map<K,​V>
                                    - +
                                    • isEmpty

                                      -
                                      public boolean isEmpty()
                                      +
                                      public boolean isEmpty()
                                      Specified by:
                                      -
                                      isEmpty in interface java.util.Map<K,java.util.List<V>>
                                      +
                                      isEmpty in interface java.util.Map<K,​V>
                                    - +
                                    • get

                                      -
                                      public java.util.List<V> get(java.lang.Object key)
                                      +
                                      public java.util.List<V> get​(java.lang.Object key)
                                      Specified by:
                                      -
                                      get in interface java.util.Map<K,java.util.List<V>>
                                      +
                                      get in interface java.util.Map<K,​V>
                                    - +
                                    • entrySet

                                      -
                                      public java.util.Set<java.util.Map.Entry<K,java.util.List<V>>> entrySet()
                                      +
                                      public java.util.Set<java.util.Map.Entry<K,​java.util.List<V>>> entrySet()
                                      Specified by:
                                      -
                                      entrySet in interface java.util.Map<K,java.util.List<V>>
                                      +
                                      entrySet in interface java.util.Map<K,​V>
                                    - +
                                    • containsValue

                                      -
                                      public boolean containsValue(java.lang.Object value)
                                      +
                                      public boolean containsValue​(java.lang.Object value)
                                      Specified by:
                                      -
                                      containsValue in interface java.util.Map<K,java.util.List<V>>
                                      +
                                      containsValue in interface java.util.Map<K,​V>
                                    - +
                                    • containsKey

                                      -
                                      public boolean containsKey(java.lang.Object key)
                                      +
                                      public boolean containsKey​(java.lang.Object key)
                                      Specified by:
                                      -
                                      containsKey in interface java.util.Map<K,java.util.List<V>>
                                      +
                                      containsKey in interface java.util.Map<K,​V>
                                    - +
                                    • clear

                                      -
                                      public void clear()
                                      +
                                      public void clear()
                                      Specified by:
                                      -
                                      clear in interface java.util.Map<K,java.util.List<V>>
                                      +
                                      clear in interface java.util.Map<K,​V>
                                    - +
                                @@ -318,12 +355,13 @@ implements java.io.Serializable
                                • +
                                    -
                                  • +
                                  • Constructor Detail

                                    - +
                                      @@ -334,13 +372,13 @@ implements java.io.Serializable (16) and the default load factor (0.75).
                                    - +
                                    • MultivaluedHashMap

                                      -
                                      public MultivaluedHashMap(int initialCapacity)
                                      +
                                      public MultivaluedHashMap​(int initialCapacity)
                                      Constructs an empty multivalued hash map with the specified initial capacity and the default load factor (0.75).
                                      @@ -351,13 +389,13 @@ implements java.io.Serializable
                                    - +
                                    • MultivaluedHashMap

                                      -
                                      public MultivaluedHashMap(int initialCapacity,
                                      +
                                      public MultivaluedHashMap​(int initialCapacity,
                                                                 float loadFactor)
                                      Constructs an empty multivalued hash map with the specified initial capacity and load factor.
                                      @@ -371,15 +409,15 @@ implements java.io.Serializable
                            - +
                            • MultivaluedHashMap

                              -
                              public MultivaluedHashMap(MultivaluedMap<? extends K,? extends V> map)
                              +
                              public MultivaluedHashMap​(MultivaluedMap<? extends K,​? extends V> map)
                              Constructs a new multivalued hash map with the same mappings as the - specified MultivaluedMap. The List instances holding + specified MultivaluedMap. The List instances holding the values of each key are created anew instead of being reused.
                              Parameters:
                              @@ -390,13 +428,13 @@ implements java.io.Serializable
                            - +
                            • MultivaluedHashMap

                              -
                              public MultivaluedHashMap(java.util.Map<? extends K,? extends V> map)
                              +
                              public MultivaluedHashMap​(java.util.Map<? extends K,​? extends V> map)
                              Constructs a new multivalued hash map with the same mappings as the specified single-valued Map.
                              @@ -410,21 +448,25 @@ implements java.io.Serializable
                          +
                        +
                        + diff --git a/apidocs/latest1x/org/glassfish/tyrus/core/uri/internal/MultivaluedMap.html b/apidocs/latest1x/org/glassfish/tyrus/core/uri/internal/MultivaluedMap.html index 1e47a2fd..f82b857b 100644 --- a/apidocs/latest1x/org/glassfish/tyrus/core/uri/internal/MultivaluedMap.html +++ b/apidocs/latest1x/org/glassfish/tyrus/core/uri/internal/MultivaluedMap.html @@ -1,44 +1,58 @@ - + - + +MultivaluedMap (Tyrus 1.19 API) -MultivaluedMap (Tyrus 1.18 API) - + + + + + + + + +var pathtoroot = "../../../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
                        + +
                        +
                        -
                        org.glassfish.tyrus.core.uri.internal
                        -

                        Interface MultivaluedMap<K,V>

                        + +

                        Interface MultivaluedMap<K,​V>

                        @@ -107,16 +131,15 @@ var activeTableTab = "activeTableTab";
                        All Superinterfaces:
                        -
                        java.util.Map<K,java.util.List<V>>
                        +
                        java.util.Map<K,​java.util.List<V>>
                        All Known Implementing Classes:
                        -
                        AbstractMultivaluedMap, MultivaluedHashMap, MultivaluedStringMap
                        +
                        AbstractMultivaluedMap, MultivaluedHashMap, MultivaluedStringMap

                        -
                        -
                        public interface MultivaluedMap<K,V>
                        -extends java.util.Map<K,java.util.List<V>>
                        +
                        public interface MultivaluedMap<K,​V>
                        +extends java.util.Map<K,​java.util.List<V>>
                        A map of key-values pairs. Each key can have zero or more values.
                        Since:
                        @@ -131,85 +154,96 @@ extends java.util.Map<K,java.util.List<V>>
                        • +
                            -
                          • +
                          • Nested Class Summary

                              -
                            • +
                            • Nested classes/interfaces inherited from interface java.util.Map

                              -java.util.Map.Entry<K,V>
                            • +java.util.Map.Entry<K extends java.lang.Object,​V extends java.lang.Object>
                          +
                          +
                            -
                          • +
                          • Method Summary

                            - +
                            - + + - + - + - + - + - + - - + + - +
                            All Methods Instance Methods Abstract Methods 
                            Modifier and TypeMethod and DescriptionMethodDescription
                            voidadd(K key, - V value) +add​(K key, + V value)
                            Add a value to the current list of values for the supplied key.
                            voidaddAll(K key, - java.util.List<V> valueList) +addAll​(K key, + java.util.List<V> valueList)
                            Add all the values from the supplied value list to the current list of values for the supplied key.
                            voidaddAll(K key, - V... newValues) +addAll​(K key, + V... newValues)
                            Add multiple values to the current list of values for the supplied key.
                            voidaddFirst(K key, - V value) +addFirst​(K key, + V value)
                            Add a value to the first position in the current list of values for the supplied key.
                            booleanequalsIgnoreValueOrder(MultivaluedMap<K,V> otherMap) +equalsIgnoreValueOrder​(MultivaluedMap<K,​V> otherMap)
                            Compare the specified map with this map for equality modulo the order of values for each key.
                            VgetFirst(K key) +VgetFirst​(K key)
                            A shortcut to get the first value of the supplied key.
                            voidputSingle(K key, - V value) +putSingle​(K key, + V value)
                            Set the key's value to be a one item list consisting of the supplied value.
                              -
                            • +
                            • Methods inherited from interface java.util.Map

                              @@ -217,6 +251,7 @@ extends java.util.Map<K,java.util.List<V>>
                          +
                        @@ -224,21 +259,22 @@ extends java.util.Map<K,java.util.List<V>>
                        • +
                            -
                          • +
                          • Method Detail

                            - + - +
                            • putSingle

                              -
                              void putSingle(K key,
                              -               V value)
                              +
                              void putSingle​(K key,
                              +               V value)
                              Set the key's value to be a one item list consisting of the supplied value. Any existing values will be replaced.
                              @@ -248,16 +284,16 @@ extends java.util.Map<K,java.util.List<V>>
                            - + - +
                            • add

                              -
                              void add(K key,
                              -         V value)
                              +
                              void add​(K key,
                              +         V value)
                              Add a value to the current list of values for the supplied key.
                              Parameters:
                              @@ -266,15 +302,15 @@ extends java.util.Map<K,java.util.List<V>>
                            - + - +
                            • getFirst

                              -
                              V getFirst(K key)
                              +
                              V getFirst​(K key)
                              A shortcut to get the first value of the supplied key.
                              Parameters:
                              @@ -285,16 +321,16 @@ extends java.util.Map<K,java.util.List<V>>
                            - + - +
                            • addAll

                              -
                              void addAll(K key,
                              -            V... newValues)
                              +
                              void addAll​(K key,
                              +            V... newValues)
                              Add multiple values to the current list of values for the supplied key. If the supplied array of new values is empty, method returns immediately. Method throws a NullPointerException if the supplied array of values @@ -310,16 +346,16 @@ extends java.util.Map<K,java.util.List<V>>
                            - + - +
                            • addAll

                              -
                              void addAll(K key,
                              -            java.util.List<V> valueList)
                              +
                              void addAll​(K key,
                              +            java.util.List<V> valueList)
                              Add all the values from the supplied value list to the current list of values for the supplied key. If the supplied value list is empty, method returns immediately. Method throws a NullPointerException if the @@ -335,16 +371,16 @@ extends java.util.Map<K,java.util.List<V>>
                            - + - +
                            • addFirst

                              -
                              void addFirst(K key,
                              -              V value)
                              +
                              void addFirst​(K key,
                              +              V value)
                              Add a value to the first position in the current list of values for the supplied key.
                              @@ -356,13 +392,13 @@ extends java.util.Map<K,java.util.List<V>>
                            - +
                            • equalsIgnoreValueOrder

                              -
                              boolean equalsIgnoreValueOrder(MultivaluedMap<K,V> otherMap)
                              +
                              boolean equalsIgnoreValueOrder​(MultivaluedMap<K,​V> otherMap)
                              Compare the specified map with this map for equality modulo the order of values for each key. Specifically, the values associated with each key are compared as if they were ordered lists.
                              @@ -378,21 +414,25 @@ extends java.util.Map<K,java.util.List<V>>
                          +
                        +
                        + diff --git a/apidocs/latest1x/org/glassfish/tyrus/core/uri/internal/MultivaluedStringMap.html b/apidocs/latest1x/org/glassfish/tyrus/core/uri/internal/MultivaluedStringMap.html index 986d880f..fc747f9c 100644 --- a/apidocs/latest1x/org/glassfish/tyrus/core/uri/internal/MultivaluedStringMap.html +++ b/apidocs/latest1x/org/glassfish/tyrus/core/uri/internal/MultivaluedStringMap.html @@ -1,44 +1,58 @@ - + - + +MultivaluedStringMap (Tyrus 1.19 API) -MultivaluedStringMap (Tyrus 1.18 API) - + + + + + + + + +var pathtoroot = "../../../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
                        + +
                        +
                        -
                        org.glassfish.tyrus.core.uri.internal
                        +

                        Class MultivaluedStringMap

                        @@ -101,10 +125,10 @@ var activeTableTab = "activeTableTab";
                      • java.lang.Object
                      • +
                        + diff --git a/apidocs/latest1x/org/glassfish/tyrus/core/uri/internal/PathPattern.RightHandPath.html b/apidocs/latest1x/org/glassfish/tyrus/core/uri/internal/PathPattern.RightHandPath.html index ef884a59..4a58aeab 100644 --- a/apidocs/latest1x/org/glassfish/tyrus/core/uri/internal/PathPattern.RightHandPath.html +++ b/apidocs/latest1x/org/glassfish/tyrus/core/uri/internal/PathPattern.RightHandPath.html @@ -1,44 +1,58 @@ - + - + +PathPattern.RightHandPath (Tyrus 1.19 API) -PathPattern.RightHandPath (Tyrus 1.18 API) - + + + + + + + + +var pathtoroot = "../../../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
                        + +
                        +
                        -
                        org.glassfish.tyrus.core.uri.internal
                        +

                        Enum PathPattern.RightHandPath

                        @@ -101,7 +125,7 @@ var activeTableTab = "activeTableTab";
                      • java.lang.Object
                      • + @@ -205,48 +238,51 @@ the order they are declared.
                        • +
                            -
                          • +
                          • Enum Constant Detail

                            - +
                            • capturingZeroOrMoreSegments

                              -
                              public static final PathPattern.RightHandPath capturingZeroOrMoreSegments
                              +
                              public static final PathPattern.RightHandPath capturingZeroOrMoreSegments
                              A capturing group that matches zero or more path segments and keeps the matching path template open.
                            - +
                            • capturingZeroSegments

                              -
                              public static final PathPattern.RightHandPath capturingZeroSegments
                              +
                              public static final PathPattern.RightHandPath capturingZeroSegments
                              A capturing group that matches zero segments and effectively closes the matching path template.
                          +
                          +
                            -
                          • +
                          • Method Detail

                            - +
                            • values

                              -
                              public static PathPattern.RightHandPath[] values()
                              +
                              public static PathPattern.RightHandPath[] values()
                              Returns an array containing the constants of this enum type, in -the order they are declared. This method may be used to iterate +the order they are declared. This method may be used to iterate over the constants as follows:
                               for (PathPattern.RightHandPath c : PathPattern.RightHandPath.values())
                              @@ -258,13 +294,13 @@ for (PathPattern.RightHandPath c : PathPattern.RightHandPath.values())
                               
                               
                            - +
                            • valueOf

                              -
                              public static PathPattern.RightHandPath valueOf(java.lang.String name)
                              +
                              public static PathPattern.RightHandPath valueOf​(java.lang.String name)
                              Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are @@ -282,21 +318,25 @@ not permitted.)
                          +
                        +
                        + diff --git a/apidocs/latest1x/org/glassfish/tyrus/core/uri/internal/PathPattern.html b/apidocs/latest1x/org/glassfish/tyrus/core/uri/internal/PathPattern.html index b8b36e3e..dc20b98b 100644 --- a/apidocs/latest1x/org/glassfish/tyrus/core/uri/internal/PathPattern.html +++ b/apidocs/latest1x/org/glassfish/tyrus/core/uri/internal/PathPattern.html @@ -1,44 +1,58 @@ - + - + +PathPattern (Tyrus 1.19 API) -PathPattern (Tyrus 1.18 API) - + + + + + + + + +var pathtoroot = "../../../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
                        + +
                        +
                        -
                        org.glassfish.tyrus.core.uri.internal
                        +

                        Class PathPattern

                        @@ -101,7 +125,7 @@ var activeTableTab = "activeTableTab";
                      • java.lang.Object
                      • Author:
                        Paul Sandoz
                        @@ -134,142 +157,164 @@ extends
                      • +
                        +
                        +
                        +
                        +
                        +
                        +
                      • + diff --git a/apidocs/latest1x/org/glassfish/tyrus/core/uri/internal/PathSegment.html b/apidocs/latest1x/org/glassfish/tyrus/core/uri/internal/PathSegment.html index bdc22f3a..4c2c9592 100644 --- a/apidocs/latest1x/org/glassfish/tyrus/core/uri/internal/PathSegment.html +++ b/apidocs/latest1x/org/glassfish/tyrus/core/uri/internal/PathSegment.html @@ -1,44 +1,58 @@ - + - + +PathSegment (Tyrus 1.19 API) -PathSegment (Tyrus 1.18 API) - + + + + + + + + +var pathtoroot = "../../../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
                        + +
                        +
                        -
                        org.glassfish.tyrus.core.uri.internal
                        +

                        Interface PathSegment

                        @@ -101,7 +125,6 @@ var activeTableTab = "activeTableTab";

                        • -
                          public interface PathSegment
                          Represents a URI path segment and any associated matrix parameters. When an instance of this type is injected with javax.ws.rs.PathParam, the @@ -120,32 +143,37 @@ var activeTableTab = "activeTableTab";
                          @@ -153,18 +181,19 @@ var activeTableTab = "activeTableTab";
                          • +
                              -
                            • +
                            • Method Detail

                              - +
                              • getPath

                                -
                                java.lang.String getPath()
                                +
                                java.lang.String getPath()
                                Get the path segment.
                                Returns:
                                @@ -172,13 +201,13 @@ var activeTableTab = "activeTableTab";
                              - +
                              • getMatrixParameters

                                -
                                MultivaluedMap<java.lang.String,java.lang.String> getMatrixParameters()
                                +
                                MultivaluedMap<java.lang.String,​java.lang.String> getMatrixParameters()
                                Get a map of the matrix parameters associated with the path segment. The map keys are the names of the matrix parameters with any percent-escaped octets decoded.
                                @@ -192,21 +221,25 @@ var activeTableTab = "activeTableTab";
                            +
                        +
                        + diff --git a/apidocs/latest1x/org/glassfish/tyrus/core/uri/internal/PathTemplate.html b/apidocs/latest1x/org/glassfish/tyrus/core/uri/internal/PathTemplate.html index 7d7b7341..e436c518 100644 --- a/apidocs/latest1x/org/glassfish/tyrus/core/uri/internal/PathTemplate.html +++ b/apidocs/latest1x/org/glassfish/tyrus/core/uri/internal/PathTemplate.html @@ -1,38 +1,52 @@ - + - + +PathTemplate (Tyrus 1.19 API) -PathTemplate (Tyrus 1.18 API) - + + + + + + + + +var pathtoroot = "../../../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
                        + +
                        +
                        -
                        org.glassfish.tyrus.core.uri.internal
                        +

                        Class PathTemplate

                        @@ -95,7 +119,7 @@
                      • java.lang.Object
                      • @@ -270,30 +316,33 @@ extends java.lang.Object
                        • +
                          +
                          +
                            -
                          • +
                          • Constructor Detail

                            - +
                              @@ -303,13 +352,13 @@ extends java.lang.Object
                              Construct an empty pattern.
                            - +
                            • PatternWithGroups

                              -
                              public PatternWithGroups(java.lang.String regex)
                              +
                              public PatternWithGroups​(java.lang.String regex)
                                                 throws java.util.regex.PatternSyntaxException
                              Construct a new pattern.
                              @@ -322,13 +371,13 @@ extends java.lang.Object
                            - +
                            • PatternWithGroups

                              -
                              public PatternWithGroups(java.lang.String regex,
                              +
                              public PatternWithGroups​(java.lang.String regex,
                                                        int[] groupIndexes)
                                                 throws java.util.regex.PatternSyntaxException
                              Construct a new pattern.
                              @@ -343,13 +392,13 @@ extends java.lang.Object
                            - +
                            • PatternWithGroups

                              -
                              public PatternWithGroups(java.util.regex.Pattern regexPattern)
                              +
                              public PatternWithGroups​(java.util.regex.Pattern regexPattern)
                                                 throws java.lang.IllegalArgumentException
                              Construct a new pattern.
                              @@ -360,13 +409,13 @@ extends java.lang.Object
                            - +
                            • PatternWithGroups

                              -
                              public PatternWithGroups(java.util.regex.Pattern regexPattern,
                              +
                              public PatternWithGroups​(java.util.regex.Pattern regexPattern,
                                                        int[] groupIndexes)
                                                 throws java.lang.IllegalArgumentException
                              Construct a new pattern.
                              @@ -381,19 +430,21 @@ extends java.lang.Object
                          +
                          +
                            -
                          • +
                          • Method Detail

                            - +
                            • getRegex

                              -
                              public final java.lang.String getRegex()
                              +
                              public final java.lang.String getRegex()
                              Get the regular expression.
                              Returns:
                              @@ -401,13 +452,13 @@ extends java.lang.Object
                            - +
                            • getGroupIndexes

                              -
                              public final int[] getGroupIndexes()
                              +
                              public final int[] getGroupIndexes()
                              Get the group indexes to capturing groups.

                              Any nested capturing groups will be ignored and the the group index will refer to the top-level capturing groups @@ -418,13 +469,13 @@ extends java.lang.Object

                            - +
                            • match

                              -
                              public final java.util.regex.MatchResult match(java.lang.CharSequence cs)
                              +
                              public final java.util.regex.MatchResult match​(java.lang.CharSequence cs)
                              Match against the pattern.
                              Parameters:
                              @@ -434,13 +485,13 @@ extends java.lang.Object
                            - +
                            • match

                              -
                              public final boolean match(java.lang.CharSequence cs,
                              +
                              public final boolean match​(java.lang.CharSequence cs,
                                                          java.util.List<java.lang.String> groupValues)
                                                   throws java.lang.IllegalArgumentException
                              Match against the pattern. @@ -460,15 +511,15 @@ extends java.lang.Object
                            - +
                            • match

                              -
                              public final boolean match(java.lang.CharSequence cs,
                              +
                              public final boolean match​(java.lang.CharSequence cs,
                                                          java.util.List<java.lang.String> groupNames,
                              -                           java.util.Map<java.lang.String,java.lang.String> groupValues)
                              +                           java.util.Map<java.lang.String,​java.lang.String> groupValues)
                                                   throws java.lang.IllegalArgumentException
                              Match against the pattern.

                              @@ -489,39 +540,39 @@ extends java.lang.Object

                            - +
                            • hashCode

                              -
                              public final int hashCode()
                              +
                              public final int hashCode()
                              Overrides:
                              hashCode in class java.lang.Object
                            - +
                            • equals

                              -
                              public final boolean equals(java.lang.Object obj)
                              +
                              public final boolean equals​(java.lang.Object obj)
                              Overrides:
                              equals in class java.lang.Object
                            - +
                            • toString

                              -
                              public final java.lang.String toString()
                              +
                              public final java.lang.String toString()
                              Overrides:
                              toString in class java.lang.Object
                              @@ -530,21 +581,25 @@ extends java.lang.Object
                          +
                        +
                        + diff --git a/apidocs/latest1x/org/glassfish/tyrus/core/uri/internal/UriComponent.Type.html b/apidocs/latest1x/org/glassfish/tyrus/core/uri/internal/UriComponent.Type.html index 24cef356..b5eacb66 100644 --- a/apidocs/latest1x/org/glassfish/tyrus/core/uri/internal/UriComponent.Type.html +++ b/apidocs/latest1x/org/glassfish/tyrus/core/uri/internal/UriComponent.Type.html @@ -1,44 +1,58 @@ - + - + +UriComponent.Type (Tyrus 1.19 API) -UriComponent.Type (Tyrus 1.18 API) - + + + + + + + + +var pathtoroot = "../../../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
                        + +
                        +
                        -
                        org.glassfish.tyrus.core.uri.internal
                        +

                        Enum UriComponent.Type

                        @@ -101,7 +125,7 @@ var activeTableTab = "activeTableTab";
                      • java.lang.Object
                      • + @@ -260,158 +304,161 @@ the order they are declared.
                        • +
                          +
                          +
                            -
                          • +
                          • Method Detail

                            - +
                            • values

                              -
                              public static UriComponent.Type[] values()
                              +
                              public static UriComponent.Type[] values()
                              Returns an array containing the constants of this enum type, in -the order they are declared. This method may be used to iterate +the order they are declared. This method may be used to iterate over the constants as follows:
                               for (UriComponent.Type c : UriComponent.Type.values())
                              @@ -423,13 +470,13 @@ for (UriComponent.Type c : UriComponent.Type.values())
                               
                               
                            - +
                            • valueOf

                              -
                              public static UriComponent.Type valueOf(java.lang.String name)
                              +
                              public static UriComponent.Type valueOf​(java.lang.String name)
                              Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are @@ -447,21 +494,25 @@ not permitted.)
                          +
                        +
                        + diff --git a/apidocs/latest1x/org/glassfish/tyrus/core/uri/internal/UriComponent.html b/apidocs/latest1x/org/glassfish/tyrus/core/uri/internal/UriComponent.html index 9c421028..5ffd21fd 100644 --- a/apidocs/latest1x/org/glassfish/tyrus/core/uri/internal/UriComponent.html +++ b/apidocs/latest1x/org/glassfish/tyrus/core/uri/internal/UriComponent.html @@ -1,44 +1,58 @@ - + - + +UriComponent (Tyrus 1.19 API) -UriComponent (Tyrus 1.18 API) - + + + + + + + + +var pathtoroot = "../../../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
                        + +
                        +
                        -
                        org.glassfish.tyrus.core.uri.internal
                        +

                        Class UriComponent

                        @@ -109,7 +133,6 @@ var activeTableTab = "activeTableTab";

                        • -
                          public class UriComponent
                           extends java.lang.Object
                          Utility class for validating, encoding and decoding components @@ -125,118 +148,135 @@ extends java.lang.Object
                          • +
                              -
                            • +
                            • Nested Class Summary

                              - +
                              - + + - +
                              Nested Classes 
                              Modifier and TypeClass and DescriptionClassDescription
                              static class UriComponent.Type +UriComponent.Type
                              The URI component type.
                            +
                            +
                              -
                            • +
                            • Method Summary

                              - +
                              - + + - + - + - + - - + + - - + + - - + + - + - - + + - - + + - - + + - + - + - + - + - + - + - + - + - +
                              All Methods Static Methods Concrete Methods 
                              Modifier and TypeMethod and DescriptionMethodDescription
                              static java.lang.StringcontextualEncode(java.lang.String s, - UriComponent.Type t) +contextualEncode​(java.lang.String s, + UriComponent.Type t)
                              Contextually encodes the characters of string that are either non-ASCII characters or are ASCII characters that must be percent-encoded using the UTF-8 encoding.
                              static java.lang.StringcontextualEncode(java.lang.String s, - UriComponent.Type t, - boolean template) +contextualEncode​(java.lang.String s, + UriComponent.Type t, + boolean template)
                              Contextually encodes the characters of string that are either non-ASCII characters or are ASCII characters that must be percent-encoded using the UTF-8 encoding.
                              static java.lang.Stringdecode(java.lang.String s, - UriComponent.Type t) +decode​(java.lang.String s, + UriComponent.Type t)
                              Decodes characters of a string that are percent-encoded octets using UTF-8 decoding (if needed).
                              static MultivaluedMap<java.lang.String,java.lang.String>decodeMatrix(java.lang.String pathSegment, - boolean decode) +static MultivaluedMap<java.lang.String,​java.lang.String>decodeMatrix​(java.lang.String pathSegment, + boolean decode)
                              Decode the matrix component of a URI path segment.
                              static java.util.List<PathSegment>decodePath(java.lang.String path, - boolean decode) +static java.util.List<PathSegment>decodePath​(java.lang.String path, + boolean decode)
                              Decode the path component of a URI as path segments.
                              static java.util.List<PathSegment>decodePath(java.net.URI u, - boolean decode) +static java.util.List<PathSegment>decodePath​(java.net.URI u, + boolean decode)
                              Decode the path component of a URI as path segments.
                              static voiddecodePathSegment(java.util.List<PathSegment> segments, +decodePathSegment​(java.util.List<PathSegment> segments, java.lang.String segment, - boolean decode) + boolean decode)
                              Decode the path segment and add it to the list of path segments.
                              static MultivaluedMap<java.lang.String,java.lang.String>decodeQuery(java.lang.String q, - boolean decode) +static MultivaluedMap<java.lang.String,​java.lang.String>decodeQuery​(java.lang.String q, + boolean decode)
                              Decode the query component of a URI.
                              static MultivaluedMap<java.lang.String,java.lang.String>decodeQuery(java.lang.String q, +static MultivaluedMap<java.lang.String,​java.lang.String>decodeQuery​(java.lang.String q, boolean decodeNames, - boolean decodeValues) + boolean decodeValues)
                              Decode the query component of a URI.
                              static MultivaluedMap<java.lang.String,java.lang.String>decodeQuery(java.net.URI u, - boolean decode) +static MultivaluedMap<java.lang.String,​java.lang.String>decodeQuery​(java.net.URI u, + boolean decode)
                              Decode the query component of a URI.
                              static java.lang.Stringencode(java.lang.String s, - UriComponent.Type t) +encode​(java.lang.String s, + UriComponent.Type t)
                              Encodes the characters of string that are either non-ASCII characters or are ASCII characters that must be percent-encoded using the UTF-8 encoding.
                              @@ -244,9 +284,10 @@ extends java.lang.Object
                              static java.lang.Stringencode(java.lang.String s, - UriComponent.Type t, - boolean template) +encode​(java.lang.String s, + UriComponent.Type t, + boolean template)
                              Encodes the characters of string that are either non-ASCII characters or are ASCII characters that must be percent-encoded using the UTF-8 encoding.
                              @@ -254,56 +295,63 @@ extends java.lang.Object
                              static java.lang.StringencodeTemplateNames(java.lang.String s) +encodeTemplateNames​(java.lang.String s)
                              Encodes a string with template parameters names present, specifically the characters '{' and '}' will be percent-encoded.
                              static java.lang.StringfullRelativeUri(java.net.URI uri) +fullRelativeUri​(java.net.URI uri)
                              Return the Request-Uri representation as defined by HTTP spec.
                              static booleanisHexCharacter(char c) +isHexCharacter​(char c)
                              Checks whether the character c is hexadecimal character.
                              static booleanvalid(java.lang.String s, - UriComponent.Type t) +valid​(java.lang.String s, + UriComponent.Type t)
                              Validates the legal characters of a percent-encoded string that represents a URI component type.
                              static booleanvalid(java.lang.String s, - UriComponent.Type t, - boolean template) +valid​(java.lang.String s, + UriComponent.Type t, + boolean template)
                              Validates the legal characters of a percent-encoded string that represents a URI component type.
                              static voidvalidate(java.lang.String s, - UriComponent.Type t) +validate​(java.lang.String s, + UriComponent.Type t)
                              Validates the legal characters of a percent-encoded string that represents a URI component type.
                              static voidvalidate(java.lang.String s, - UriComponent.Type t, - boolean template) +validate​(java.lang.String s, + UriComponent.Type t, + boolean template)
                              Validates the legal characters of a percent-encoded string that represents a URI component type.
                                -
                              • +
                              • Methods inherited from class java.lang.Object

                                @@ -311,6 +359,7 @@ extends java.lang.Object
                            +
                          @@ -318,19 +367,20 @@ extends java.lang.Object
                          • +
                              -
                            • +
                            • Method Detail

                              - +
                              • validate

                                -
                                public static void validate(java.lang.String s,
                                -                            UriComponent.Type t)
                                +
                                public static void validate​(java.lang.String s,
                                +                            UriComponent.Type t)
                                Validates the legal characters of a percent-encoded string that represents a URI component type.
                                Parameters:
                                @@ -341,14 +391,14 @@ extends java.lang.Object
                              - +
                              • validate

                                -
                                public static void validate(java.lang.String s,
                                -                            UriComponent.Type t,
                                +
                                public static void validate​(java.lang.String s,
                                +                            UriComponent.Type t,
                                                             boolean template)
                                Validates the legal characters of a percent-encoded string that represents a URI component type.
                                @@ -361,14 +411,14 @@ extends java.lang.Object
                              - +
                              • valid

                                -
                                public static boolean valid(java.lang.String s,
                                -                            UriComponent.Type t)
                                +
                                public static boolean valid​(java.lang.String s,
                                +                            UriComponent.Type t)
                                Validates the legal characters of a percent-encoded string that represents a URI component type.
                                Parameters:
                                @@ -379,14 +429,14 @@ extends java.lang.Object
                              - +
                              • valid

                                -
                                public static boolean valid(java.lang.String s,
                                -                            UriComponent.Type t,
                                +
                                public static boolean valid​(java.lang.String s,
                                +                            UriComponent.Type t,
                                                             boolean template)
                                Validates the legal characters of a percent-encoded string that represents a URI component type.
                                @@ -399,14 +449,14 @@ extends java.lang.Object
                              - +
                              • contextualEncode

                                -
                                public static java.lang.String contextualEncode(java.lang.String s,
                                -                                                UriComponent.Type t)
                                +
                                public static java.lang.String contextualEncode​(java.lang.String s,
                                +                                                UriComponent.Type t)
                                Contextually encodes the characters of string that are either non-ASCII characters or are ASCII characters that must be percent-encoded using the UTF-8 encoding. Percent-encoded characters will be recognized and not double encoded.
                                @@ -419,14 +469,14 @@ extends java.lang.Object
                              - +
                              • contextualEncode

                                -
                                public static java.lang.String contextualEncode(java.lang.String s,
                                -                                                UriComponent.Type t,
                                +
                                public static java.lang.String contextualEncode​(java.lang.String s,
                                +                                                UriComponent.Type t,
                                                                                 boolean template)
                                Contextually encodes the characters of string that are either non-ASCII characters or are ASCII characters that must be percent-encoded using the UTF-8 encoding. Percent-encoded characters will be recognized and not double @@ -441,14 +491,14 @@ extends java.lang.Object
                              - +
                              • encode

                                -
                                public static java.lang.String encode(java.lang.String s,
                                -                                      UriComponent.Type t)
                                +
                                public static java.lang.String encode​(java.lang.String s,
                                +                                      UriComponent.Type t)
                                Encodes the characters of string that are either non-ASCII characters or are ASCII characters that must be percent-encoded using the UTF-8 encoding.
                                @@ -462,14 +512,14 @@ extends java.lang.Object
                              - +
                              • encode

                                -
                                public static java.lang.String encode(java.lang.String s,
                                -                                      UriComponent.Type t,
                                +
                                public static java.lang.String encode​(java.lang.String s,
                                +                                      UriComponent.Type t,
                                                                       boolean template)
                                Encodes the characters of string that are either non-ASCII characters or are ASCII characters that must be percent-encoded using the @@ -485,13 +535,13 @@ extends java.lang.Object
                              - +
                              • encodeTemplateNames

                                -
                                public static java.lang.String encodeTemplateNames(java.lang.String s)
                                +
                                public static java.lang.String encodeTemplateNames​(java.lang.String s)
                                Encodes a string with template parameters names present, specifically the characters '{' and '}' will be percent-encoded.
                                @@ -502,14 +552,14 @@ extends java.lang.Object
                              - +
                              • decode

                                -
                                public static java.lang.String decode(java.lang.String s,
                                -                                      UriComponent.Type t)
                                +
                                public static java.lang.String decode​(java.lang.String s,
                                +                                      UriComponent.Type t)
                                Decodes characters of a string that are percent-encoded octets using UTF-8 decoding (if needed).

                                @@ -534,14 +584,14 @@ extends java.lang.Object

                              - +
                              • decodeQuery

                                -
                                public static MultivaluedMap<java.lang.String,java.lang.String> decodeQuery(java.net.URI u,
                                -                                                                            boolean decode)
                                +
                                public static MultivaluedMap<java.lang.String,​java.lang.String> decodeQuery​(java.net.URI u,
                                +                                                                                  boolean decode)
                                Decode the query component of a URI.

                                Query parameter names in the returned map are always decoded. Decoding of query parameter @@ -556,14 +606,14 @@ extends java.lang.Object

                              - +
                              • decodeQuery

                                -
                                public static MultivaluedMap<java.lang.String,java.lang.String> decodeQuery(java.lang.String q,
                                -                                                                            boolean decode)
                                +
                                public static MultivaluedMap<java.lang.String,​java.lang.String> decodeQuery​(java.lang.String q,
                                +                                                                                  boolean decode)
                                Decode the query component of a URI.

                                Query parameter names in the returned map are always decoded. Decoding of query parameter @@ -578,15 +628,15 @@ extends java.lang.Object

                              - +
                              • decodeQuery

                                -
                                public static MultivaluedMap<java.lang.String,java.lang.String> decodeQuery(java.lang.String q,
                                -                                                                            boolean decodeNames,
                                -                                                                            boolean decodeValues)
                                +
                                public static MultivaluedMap<java.lang.String,​java.lang.String> decodeQuery​(java.lang.String q,
                                +                                                                                  boolean decodeNames,
                                +                                                                                  boolean decodeValues)
                                Decode the query component of a URI.

                                Decoding of query parameter names and values can be controlled using the decodeNames @@ -603,13 +653,13 @@ extends java.lang.Object

                              - +
                              • decodePath

                                -
                                public static java.util.List<PathSegment> decodePath(java.net.URI u,
                                +
                                public static java.util.List<PathSegment> decodePath​(java.net.URI u,
                                                                                      boolean decode)
                                Decode the path component of a URI as path segments.
                                @@ -624,13 +674,13 @@ extends java.lang.Object
                              - +
                              • decodePath

                                -
                                public static java.util.List<PathSegment> decodePath(java.lang.String path,
                                +
                                public static java.util.List<PathSegment> decodePath​(java.lang.String path,
                                                                                      boolean decode)
                                Decode the path component of a URI as path segments.

                                @@ -650,13 +700,13 @@ extends java.lang.Object

                              - +
                              • decodePathSegment

                                -
                                public static void decodePathSegment(java.util.List<PathSegment> segments,
                                +
                                public static void decodePathSegment​(java.util.List<PathSegment> segments,
                                                                      java.lang.String segment,
                                                                      boolean decode)
                                Decode the path segment and add it to the list of path segments.
                                @@ -668,14 +718,14 @@ extends java.lang.Object
                              - +
                              • decodeMatrix

                                -
                                public static MultivaluedMap<java.lang.String,java.lang.String> decodeMatrix(java.lang.String pathSegment,
                                -                                                                             boolean decode)
                                +
                                public static MultivaluedMap<java.lang.String,​java.lang.String> decodeMatrix​(java.lang.String pathSegment,
                                +                                                                                   boolean decode)
                                Decode the matrix component of a URI path segment.
                                Parameters:
                                @@ -686,13 +736,13 @@ extends java.lang.Object
                              - +
                              • isHexCharacter

                                -
                                public static boolean isHexCharacter(char c)
                                +
                                public static boolean isHexCharacter​(char c)
                                Checks whether the character c is hexadecimal character.
                                Parameters:
                                @@ -702,13 +752,13 @@ extends java.lang.Object
                              - +
                              • fullRelativeUri

                                -
                                public static java.lang.String fullRelativeUri(java.net.URI uri)
                                +
                                public static java.lang.String fullRelativeUri​(java.net.URI uri)
                                Return the Request-Uri representation as defined by HTTP spec. For example:
                                <Method> <Request-URI> HTTP/<Version> (e.g. GET /auth;foo=bar/hello?foo=bar HTTP/1.1)
                                @@ -721,21 +771,25 @@ extends java.lang.Object
                            +
                        +
                        + diff --git a/apidocs/latest1x/org/glassfish/tyrus/core/uri/internal/UriTemplate.html b/apidocs/latest1x/org/glassfish/tyrus/core/uri/internal/UriTemplate.html index dfc8d8bc..8272cfeb 100644 --- a/apidocs/latest1x/org/glassfish/tyrus/core/uri/internal/UriTemplate.html +++ b/apidocs/latest1x/org/glassfish/tyrus/core/uri/internal/UriTemplate.html @@ -1,44 +1,58 @@ - + - + +UriTemplate (Tyrus 1.19 API) -UriTemplate (Tyrus 1.18 API) - + + + + + + + + +var pathtoroot = "../../../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
                        + +
                        +
                        -
                        org.glassfish.tyrus.core.uri.internal
                        +

                        Class UriTemplate

                        @@ -110,10 +134,9 @@ var activeTableTab = "activeTableTab";
                      • Direct Known Subclasses:
                        -
                        PathTemplate
                        +
                        PathTemplate

                        -
                        public class UriTemplate
                         extends java.lang.Object
                        A URI template.
                        @@ -128,97 +151,104 @@ extends java.lang.Object
                        • +
                          +
                          +
                          +
                          +
                            -
                          • +
                          • Method Summary

                            - +
                            - + + - + - - - - - + - + - + - + - + + + + + + - + - + - + - + - + - + - + - + - - + + - + - + - + - + - + - + - + - + - + - + - + - + - + +
                            All Methods Static Methods Instance Methods Concrete Methods 
                            Modifier and TypeMethod and DescriptionMethodDescription
                            java.lang.StringcreateURI(java.util.Map<java.lang.String,java.lang.String> values) +createURI​(java.lang.String... values)
                            Create a URI by substituting any template variables for corresponding template values.
                            java.lang.StringcreateURI(java.lang.String... values) -
                            Create a URI by substituting any template variables - for corresponding template values.
                            -
                            java.lang.StringcreateURI(java.lang.String[] values, +createURI​(java.lang.String[] values, int offset, - int length) + int length)
                            Create a URI by substituting any template variables for corresponding template values.
                            static java.lang.StringcreateURI(java.lang.String scheme, +createURI​(java.lang.String scheme, java.lang.String authority, java.lang.String userInfo, java.lang.String host, @@ -226,16 +256,17 @@ extends java.lang.Object java.lang.String path, java.lang.String query, java.lang.String fragment, - java.util.Map<java.lang.String,?> values, + java.lang.Object[] values, boolean encode, - boolean encodeSlashInPath) + boolean encodeSlashInPath)
                            Construct a URI from the component parts each of which may contain template variables.
                            static java.lang.StringcreateURI(java.lang.String scheme, +createURI​(java.lang.String scheme, java.lang.String authority, java.lang.String userInfo, java.lang.String host, @@ -243,16 +274,25 @@ extends java.lang.Object java.lang.String path, java.lang.String query, java.lang.String fragment, - java.lang.Object[] values, + java.util.Map<java.lang.String,​?> values, boolean encode, - boolean encodeSlashInPath) + boolean encodeSlashInPath)
                            Construct a URI from the component parts each of which may contain template variables.
                            java.lang.StringcreateURI​(java.util.Map<java.lang.String,​java.lang.String> values) +
                            Create a URI by substituting any template variables + for corresponding template values.
                            +
                            static java.lang.StringcreateURIWithStringValues(java.lang.String scheme, +createURIWithStringValues​(java.lang.String scheme, java.lang.String authority, java.lang.String userInfo, java.lang.String host, @@ -260,16 +300,17 @@ extends java.lang.Object java.lang.String path, java.lang.String query, java.lang.String fragment, - java.util.Map<java.lang.String,?> values, + java.lang.String[] values, boolean encode, - boolean encodeSlashInPath) + boolean encodeSlashInPath)
                            Construct a URI from the component parts each of which may contain template variables.
                            static java.lang.StringcreateURIWithStringValues(java.lang.String scheme, +createURIWithStringValues​(java.lang.String scheme, java.lang.String authority, java.lang.String userInfo, java.lang.String host, @@ -277,150 +318,171 @@ extends java.lang.Object java.lang.String path, java.lang.String query, java.lang.String fragment, - java.lang.String[] values, + java.util.Map<java.lang.String,​?> values, boolean encode, - boolean encodeSlashInPath) + boolean encodeSlashInPath)
                            Construct a URI from the component parts each of which may contain template variables.
                            booleanendsWithSlash() +endsWithSlash()
                            Check if the URI template ends in a slash ('/').
                            booleanequals(java.lang.Object o) +equals​(java.lang.Object o)
                            Equality is calculated from the String of the regular expression generated from the templates.
                            intgetNumberOfExplicitCharacters() +getNumberOfExplicitCharacters()
                            Get the number of characters in the regular expression not resulting from conversion of template variables.
                            intgetNumberOfExplicitRegexes() +getNumberOfExplicitRegexes()
                            Get the number of explicit regular expressions declared in the template variables.
                            intgetNumberOfRegexGroups() +getNumberOfRegexGroups()
                            Get the number of regular expression groups
                            intgetNumberOfTemplateVariables() +getNumberOfTemplateVariables()
                            Get the number of template variables.
                            PatternWithGroupsgetPattern() +PatternWithGroupsgetPattern()
                            Get the URI pattern.
                            java.lang.StringgetTemplate() +getTemplate()
                            Get the URI template as a String.
                            java.util.List<java.lang.String>getTemplateVariables() +getTemplateVariables()
                            Get the list of template variables for the template.
                            inthashCode() +hashCode()
                            Hash code is calculated from String of the regular expression generated from the template.
                            booleanisTemplateVariablePresent(java.lang.String name) +isTemplateVariablePresent​(java.lang.String name)
                            Ascertain if a template variable is a member of this template.
                            booleanmatch(java.lang.CharSequence uri, - java.util.List<java.lang.String> groupValues) +match​(java.lang.CharSequence uri, + java.util.List<java.lang.String> groupValues)
                            Match a URI against the template.
                            booleanmatch(java.lang.CharSequence uri, - java.util.Map<java.lang.String,java.lang.String> templateVariableToValue) +match​(java.lang.CharSequence uri, + java.util.Map<java.lang.String,​java.lang.String> templateVariableToValue)
                            Match a URI against the template.
                            static java.net.URInormalize(java.lang.String uri) +normalize​(java.lang.String uri)
                            Normalize the URI by resolve the dot & dot-dot path segments as described in RFC 3986.
                            static java.net.URInormalize(java.net.URI uri) +normalize​(java.net.URI uri)
                            Normalize the URI by resolve the dot & dot-dot path segments as described in RFC 3986.
                            static java.net.URIrelativize(java.net.URI baseUri, - java.net.URI refUri) +relativize​(java.net.URI baseUri, + java.net.URI refUri)
                            Relativize URI with respect to a base URI.
                            static java.net.URIresolve(java.net.URI baseUri, - java.lang.String refUri) +resolve​(java.net.URI baseUri, + java.lang.String refUri)
                            Resolve a relative URI reference against a base URI as defined in RFC 3986.
                            static java.net.URIresolve(java.net.URI baseUri, - java.net.URI refUri) +resolve​(java.net.URI baseUri, + java.net.URI refUri)
                            Resolve a relative URI reference against a base URI as defined in RFC 3986.
                            static java.lang.StringresolveTemplateValues(UriComponent.Type type, +resolveTemplateValues​(UriComponent.Type type, java.lang.String template, boolean encode, - java.util.Map<java.lang.String,?> _mapValues) + java.util.Map<java.lang.String,​?> _mapValues)
                            Resolves template variables in the given template from _mapValues.
                            java.lang.StringtoString() toString() 
                              -
                            • +
                            • Methods inherited from class java.lang.Object

                              @@ -428,6 +490,7 @@ extends java.lang.Object
                          +
                      • @@ -435,18 +498,19 @@ extends java.lang.Object
                        • +
                            -
                          • +
                          • Field Detail

                            - +
                            • COMPARATOR

                              -
                              public static final java.util.Comparator<UriTemplate> COMPARATOR
                              +
                              public static final java.util.Comparator<UriTemplate> COMPARATOR
                              Order the templates according to JAX-RS specification.

                              Sort the set of matching resource classes using the number of @@ -456,31 +520,33 @@ extends java.lang.Object declarations as the tertiary key.

                            - +
                            • EMPTY

                              -
                              public static final UriTemplate EMPTY
                              +
                              public static final UriTemplate EMPTY
                              The empty URI template that matches the null or empty URI path.
                          +
                          +
                            -
                          • +
                          • Constructor Detail

                            - +
                            • UriTemplate

                              -
                              public UriTemplate(java.lang.String template)
                              +
                              public UriTemplate​(java.lang.String template)
                                           throws java.util.regex.PatternSyntaxException,
                                                  java.lang.IllegalArgumentException
                              Construct a new URI template. @@ -501,13 +567,13 @@ extends java.lang.Object
                            - +
                            • UriTemplate

                              -
                              protected UriTemplate(UriTemplateParser templateParser)
                              +
                              protected UriTemplate​(UriTemplateParser templateParser)
                                              throws java.util.regex.PatternSyntaxException,
                                                     java.lang.IllegalArgumentException
                              Construct a new URI template. @@ -530,19 +596,21 @@ extends java.lang.Object
                          +
                          +
                            -
                          • +
                          • Method Detail

                            - +
                            • resolve

                              -
                              public static java.net.URI resolve(java.net.URI baseUri,
                              +
                              public static java.net.URI resolve​(java.net.URI baseUri,
                                                                  java.lang.String refUri)
                              Resolve a relative URI reference against a base URI as defined in RFC 3986.
                              @@ -557,13 +625,13 @@ extends java.lang.Object
                            - +
                            • resolve

                              -
                              public static java.net.URI resolve(java.net.URI baseUri,
                              +
                              public static java.net.URI resolve​(java.net.URI baseUri,
                                                                  java.net.URI refUri)
                              Resolve a relative URI reference against a base URI as defined in RFC 3986.
                              @@ -576,13 +644,13 @@ extends java.lang.Object
                            - +
                            • normalize

                              -
                              public static java.net.URI normalize(java.lang.String uri)
                              +
                              public static java.net.URI normalize​(java.lang.String uri)
                              Normalize the URI by resolve the dot & dot-dot path segments as described in RFC 3986.

                              @@ -603,13 +671,13 @@ extends java.lang.Object

                            - +
                            • normalize

                              -
                              public static java.net.URI normalize(java.net.URI uri)
                              +
                              public static java.net.URI normalize​(java.net.URI uri)
                              Normalize the URI by resolve the dot & dot-dot path segments as described in RFC 3986.

                              @@ -628,17 +696,17 @@ extends java.lang.Object

                            - +
                            • relativize

                              -
                              public static java.net.URI relativize(java.net.URI baseUri,
                              +
                              public static java.net.URI relativize​(java.net.URI baseUri,
                                                                     java.net.URI refUri)
                              Relativize URI with respect to a base URI.

                              - After the relativization is done, dots in paths of both URIs are resolved.

                              + After the relativization is done, dots in paths of both URIs are resolved.
                              Parameters:
                              baseUri - base URI to be used for relativization.
                              @@ -648,13 +716,13 @@ extends java.lang.Object
                            - +
                            • getTemplate

                              -
                              public final java.lang.String getTemplate()
                              +
                              public final java.lang.String getTemplate()
                              Get the URI template as a String.
                              Returns:
                              @@ -662,13 +730,13 @@ extends java.lang.Object
                            - +
                            • getPattern

                              -
                              public final PatternWithGroups getPattern()
                              +
                              public final PatternWithGroups getPattern()
                              Get the URI pattern.
                              Returns:
                              @@ -676,13 +744,13 @@ extends java.lang.Object
                            - +
                            • endsWithSlash

                              -
                              public final boolean endsWithSlash()
                              +
                              public final boolean endsWithSlash()
                              Check if the URI template ends in a slash ('/').
                              Returns:
                              @@ -690,13 +758,13 @@ extends java.lang.Object
                            - +
                            • getTemplateVariables

                              -
                              public final java.util.List<java.lang.String> getTemplateVariables()
                              +
                              public final java.util.List<java.lang.String> getTemplateVariables()
                              Get the list of template variables for the template.
                              Returns:
                              @@ -704,13 +772,13 @@ extends java.lang.Object
                            - +
                            • isTemplateVariablePresent

                              -
                              public final boolean isTemplateVariablePresent(java.lang.String name)
                              +
                              public final boolean isTemplateVariablePresent​(java.lang.String name)
                              Ascertain if a template variable is a member of this template.
                              @@ -721,13 +789,13 @@ extends java.lang.Object
                            - +
                            • getNumberOfExplicitRegexes

                              -
                              public final int getNumberOfExplicitRegexes()
                              +
                              public final int getNumberOfExplicitRegexes()
                              Get the number of explicit regular expressions declared in the template variables.
                              Returns:
                              @@ -735,13 +803,13 @@ extends java.lang.Object
                            - +
                            • getNumberOfRegexGroups

                              -
                              public final int getNumberOfRegexGroups()
                              +
                              public final int getNumberOfRegexGroups()
                              Get the number of regular expression groups
                              Returns:
                              @@ -749,13 +817,13 @@ extends java.lang.Object
                            - +
                            • getNumberOfExplicitCharacters

                              -
                              public final int getNumberOfExplicitCharacters()
                              +
                              public final int getNumberOfExplicitCharacters()
                              Get the number of characters in the regular expression not resulting from conversion of template variables.
                              @@ -764,13 +832,13 @@ extends java.lang.Object
                            - +
                            • getNumberOfTemplateVariables

                              -
                              public final int getNumberOfTemplateVariables()
                              +
                              public final int getNumberOfTemplateVariables()
                              Get the number of template variables.
                              Returns:
                              @@ -778,14 +846,14 @@ extends java.lang.Object
                            - +
                            • match

                              -
                              public final boolean match(java.lang.CharSequence uri,
                              -                           java.util.Map<java.lang.String,java.lang.String> templateVariableToValue)
                              +
                              public final boolean match​(java.lang.CharSequence uri,
                              +                           java.util.Map<java.lang.String,​java.lang.String> templateVariableToValue)
                                                   throws java.lang.IllegalArgumentException
                              Match a URI against the template.

                              @@ -806,13 +874,13 @@ extends java.lang.Object

                            - +
                            • match

                              -
                              public final boolean match(java.lang.CharSequence uri,
                              +
                              public final boolean match​(java.lang.CharSequence uri,
                                                          java.util.List<java.lang.String> groupValues)
                                                   throws java.lang.IllegalArgumentException
                              Match a URI against the template. @@ -833,13 +901,13 @@ extends java.lang.Object
                            - +
                            • createURI

                              -
                              public final java.lang.String createURI(java.util.Map<java.lang.String,java.lang.String> values)
                              +
                              public final java.lang.String createURI​(java.util.Map<java.lang.String,​java.lang.String> values)
                              Create a URI by substituting any template variables for corresponding template values.

                              @@ -853,13 +921,13 @@ extends java.lang.Object

                            - +
                            • createURI

                              -
                              public final java.lang.String createURI(java.lang.String... values)
                              +
                              public final java.lang.String createURI​(java.lang.String... values)
                              Create a URI by substituting any template variables for corresponding template values.

                              @@ -874,13 +942,13 @@ extends java.lang.Object

                            - +
                            • createURI

                              -
                              public final java.lang.String createURI(java.lang.String[] values,
                              +
                              public final java.lang.String createURI​(java.lang.String[] values,
                                                                       int offset,
                                                                       int length)
                              Create a URI by substituting any template variables @@ -899,26 +967,26 @@ extends java.lang.Object
                            - +
                            • toString

                              -
                              public final java.lang.String toString()
                              +
                              public final java.lang.String toString()
                              Overrides:
                              toString in class java.lang.Object
                            - +
                            • hashCode

                              -
                              public final int hashCode()
                              +
                              public final int hashCode()
                              Hash code is calculated from String of the regular expression generated from the template.
                              @@ -929,13 +997,13 @@ extends java.lang.Object
                            - +
                            • equals

                              -
                              public final boolean equals(java.lang.Object o)
                              +
                              public final boolean equals​(java.lang.Object o)
                              Equality is calculated from the String of the regular expression generated from the templates.
                              @@ -948,13 +1016,13 @@ extends java.lang.Object
                            - +
                            • createURI

                              -
                              public static java.lang.String createURI(java.lang.String scheme,
                              +
                              public static java.lang.String createURI​(java.lang.String scheme,
                                                                        java.lang.String authority,
                                                                        java.lang.String userInfo,
                                                                        java.lang.String host,
                              @@ -962,7 +1030,7 @@ extends java.lang.Object
                              java.lang.String path, java.lang.String query, java.lang.String fragment, - java.util.Map<java.lang.String,?> values, + java.util.Map<java.lang.String,​?> values, boolean encode, boolean encodeSlashInPath)
                              Construct a URI from the component parts each of which may contain @@ -993,13 +1061,13 @@ extends java.lang.Object
                            - +
                            • createURIWithStringValues

                              -
                              public static java.lang.String createURIWithStringValues(java.lang.String scheme,
                              +
                              public static java.lang.String createURIWithStringValues​(java.lang.String scheme,
                                                                                        java.lang.String authority,
                                                                                        java.lang.String userInfo,
                                                                                        java.lang.String host,
                              @@ -1007,7 +1075,7 @@ extends java.lang.Object
                              java.lang.String path, java.lang.String query, java.lang.String fragment, - java.util.Map<java.lang.String,?> values, + java.util.Map<java.lang.String,​?> values, boolean encode, boolean encodeSlashInPath)
                              Construct a URI from the component parts each of which may contain @@ -1038,13 +1106,13 @@ extends java.lang.Object
                            - +
                            • createURI

                              -
                              public static java.lang.String createURI(java.lang.String scheme,
                              +
                              public static java.lang.String createURI​(java.lang.String scheme,
                                                                        java.lang.String authority,
                                                                        java.lang.String userInfo,
                                                                        java.lang.String host,
                              @@ -1084,13 +1152,13 @@ extends java.lang.Object
                            - +
                            • createURIWithStringValues

                              -
                              public static java.lang.String createURIWithStringValues(java.lang.String scheme,
                              +
                              public static java.lang.String createURIWithStringValues​(java.lang.String scheme,
                                                                                        java.lang.String authority,
                                                                                        java.lang.String userInfo,
                                                                                        java.lang.String host,
                              @@ -1126,16 +1194,16 @@ extends java.lang.Object
                            - +
                            • resolveTemplateValues

                              -
                              public static java.lang.String resolveTemplateValues(UriComponent.Type type,
                              +
                              public static java.lang.String resolveTemplateValues​(UriComponent.Type type,
                                                                                    java.lang.String template,
                                                                                    boolean encode,
                              -                                                     java.util.Map<java.lang.String,?> _mapValues)
                              + java.util.Map<java.lang.String,​?> _mapValues)
                              Resolves template variables in the given template from _mapValues. Resolves only these variables which are defined in the _mapValues leaving other variables unchanged.
                              @@ -1154,21 +1222,25 @@ extends java.lang.Object
                          +
                        +
                        + diff --git a/apidocs/latest1x/org/glassfish/tyrus/core/uri/internal/UriTemplateParser.html b/apidocs/latest1x/org/glassfish/tyrus/core/uri/internal/UriTemplateParser.html index 62127548..bcd44b60 100644 --- a/apidocs/latest1x/org/glassfish/tyrus/core/uri/internal/UriTemplateParser.html +++ b/apidocs/latest1x/org/glassfish/tyrus/core/uri/internal/UriTemplateParser.html @@ -1,44 +1,58 @@ - + - + +UriTemplateParser (Tyrus 1.19 API) -UriTemplateParser (Tyrus 1.18 API) - + + + + + + + + +var pathtoroot = "../../../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
                        + +
                        +
                        -
                        org.glassfish.tyrus.core.uri.internal
                        +

                        Class UriTemplateParser

                        @@ -109,7 +133,6 @@ var activeTableTab = "activeTableTab";
                        @@ -237,18 +278,19 @@ extends java.lang.Object
                        • +
                            -
                          • +
                          • Constructor Detail

                            - +
                            • UriTemplateParser

                              -
                              public UriTemplateParser(java.lang.String template)
                              +
                              public UriTemplateParser​(java.lang.String template)
                                                 throws java.lang.IllegalArgumentException
                              Parse a template.
                              @@ -262,19 +304,21 @@ extends java.lang.Object
                          +
                          +
                            -
                          • +
                          • Method Detail

                            - +
                            • getTemplate

                              -
                              public final java.lang.String getTemplate()
                              +
                              public final java.lang.String getTemplate()
                              Get the template.
                              Returns:
                              @@ -282,13 +326,13 @@ extends java.lang.Object
                            - +
                            • getPattern

                              -
                              public final java.util.regex.Pattern getPattern()
                              +
                              public final java.util.regex.Pattern getPattern()
                              Get the pattern.
                              Returns:
                              @@ -296,13 +340,13 @@ extends java.lang.Object
                            - +
                            • getNormalizedTemplate

                              -
                              public final java.lang.String getNormalizedTemplate()
                              +
                              public final java.lang.String getNormalizedTemplate()
                              Get the normalized template.

                              A normalized template is a template without any explicit regular expressions.

                              @@ -312,13 +356,13 @@ extends java.lang.Object
                            - +
                            • getNameToPattern

                              -
                              public final java.util.Map<java.lang.String,java.util.regex.Pattern> getNameToPattern()
                              +
                              public final java.util.Map<java.lang.String,​java.util.regex.Pattern> getNameToPattern()
                              Get the map of template names to patterns.
                              Returns:
                              @@ -326,13 +370,13 @@ extends java.lang.Object
                            - +
                            • getNames

                              -
                              public final java.util.List<java.lang.String> getNames()
                              +
                              public final java.util.List<java.lang.String> getNames()
                              Get the list of template names.
                              Returns:
                              @@ -340,13 +384,13 @@ extends java.lang.Object
                            - +
                            • getGroupCounts

                              -
                              public final java.util.List<java.lang.Integer> getGroupCounts()
                              +
                              public final java.util.List<java.lang.Integer> getGroupCounts()
                              Get the capturing group counts for each template variable.
                              Returns:
                              @@ -354,13 +398,13 @@ extends java.lang.Object
                            - +
                            • getGroupIndexes

                              -
                              public final int[] getGroupIndexes()
                              +
                              public final int[] getGroupIndexes()
                              Get the group indexes to capturing groups.

                              Any nested capturing groups will be ignored and the the group index will refer to the top-level capturing groups @@ -371,13 +415,13 @@ extends java.lang.Object

                            - +
                            • getNumberOfExplicitRegexes

                              -
                              public final int getNumberOfExplicitRegexes()
                              +
                              public final int getNumberOfExplicitRegexes()
                              Get the number of explicit regular expressions.
                              Returns:
                              @@ -385,13 +429,13 @@ extends java.lang.Object
                            - +
                            • getNumberOfRegexGroups

                              -
                              public final int getNumberOfRegexGroups()
                              +
                              public final int getNumberOfRegexGroups()
                              Get the number of regular expression groups
                              Returns:
                              @@ -401,13 +445,13 @@ extends java.lang.Object
                            - +
                            • getNumberOfLiteralCharacters

                              -
                              public final int getNumberOfLiteralCharacters()
                              +
                              public final int getNumberOfLiteralCharacters()
                              Get the number of literal characters.
                              Returns:
                              @@ -415,13 +459,13 @@ extends java.lang.Object
                            - +
                            • encodeLiteralCharacters

                              -
                              protected java.lang.String encodeLiteralCharacters(java.lang.String characters)
                              +
                              protected java.lang.String encodeLiteralCharacters​(java.lang.String characters)
                              Encode literal characters of a template.
                              Parameters:
                              @@ -433,21 +477,25 @@ extends java.lang.Object
                          +
                        +
                        + diff --git a/apidocs/latest1x/org/glassfish/tyrus/core/uri/internal/class-use/AbstractMultivaluedMap.html b/apidocs/latest1x/org/glassfish/tyrus/core/uri/internal/class-use/AbstractMultivaluedMap.html index bd405ac4..d5ec2e42 100644 --- a/apidocs/latest1x/org/glassfish/tyrus/core/uri/internal/class-use/AbstractMultivaluedMap.html +++ b/apidocs/latest1x/org/glassfish/tyrus/core/uri/internal/class-use/AbstractMultivaluedMap.html @@ -1,40 +1,54 @@ - + - + +Uses of Class org.glassfish.tyrus.core.uri.internal.AbstractMultivaluedMap (Tyrus 1.19 API) -Uses of Class org.glassfish.tyrus.core.uri.internal.AbstractMultivaluedMap (Tyrus 1.18 API) - + + + + + + + + +var pathtoroot = "../../../../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
                        + +
                        +

                        Uses of Class
                        org.glassfish.tyrus.core.uri.internal.AbstractMultivaluedMap

                        • - - +
                          Packages that use AbstractMultivaluedMap 
                          + - +
                          Packages that use AbstractMultivaluedMap 
                          Package Description
                          org.glassfish.tyrus.core.uri.internalorg.glassfish.tyrus.core.uri.internal
                          Common classes that provide support for URI templates, encoding/decoding of URI components and multivalued collections.
                          @@ -95,49 +119,57 @@
                        • + + diff --git a/apidocs/latest1x/org/glassfish/tyrus/core/uri/internal/class-use/MultivaluedHashMap.html b/apidocs/latest1x/org/glassfish/tyrus/core/uri/internal/class-use/MultivaluedHashMap.html index a7ff0b78..19423ed6 100644 --- a/apidocs/latest1x/org/glassfish/tyrus/core/uri/internal/class-use/MultivaluedHashMap.html +++ b/apidocs/latest1x/org/glassfish/tyrus/core/uri/internal/class-use/MultivaluedHashMap.html @@ -1,40 +1,54 @@ - + - + +Uses of Class org.glassfish.tyrus.core.uri.internal.MultivaluedHashMap (Tyrus 1.19 API) -Uses of Class org.glassfish.tyrus.core.uri.internal.MultivaluedHashMap (Tyrus 1.18 API) - + + + + + + + + +var pathtoroot = "../../../../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
                          + +
                          +

                          Uses of Class
                          org.glassfish.tyrus.core.uri.internal.MultivaluedHashMap

                          • - - +
                            Packages that use MultivaluedHashMap 
                            + - +
                            Packages that use MultivaluedHashMap 
                            Package Description
                            org.glassfish.tyrus.core.uri.internalorg.glassfish.tyrus.core.uri.internal
                            Common classes that provide support for URI templates, encoding/decoding of URI components and multivalued collections.
                            @@ -95,43 +119,50 @@
                          • + + diff --git a/apidocs/latest1x/org/glassfish/tyrus/core/uri/internal/class-use/MultivaluedMap.html b/apidocs/latest1x/org/glassfish/tyrus/core/uri/internal/class-use/MultivaluedMap.html index 5f5bd695..44723713 100644 --- a/apidocs/latest1x/org/glassfish/tyrus/core/uri/internal/class-use/MultivaluedMap.html +++ b/apidocs/latest1x/org/glassfish/tyrus/core/uri/internal/class-use/MultivaluedMap.html @@ -1,40 +1,54 @@ - + - + +Uses of Interface org.glassfish.tyrus.core.uri.internal.MultivaluedMap (Tyrus 1.19 API) -Uses of Interface org.glassfish.tyrus.core.uri.internal.MultivaluedMap (Tyrus 1.18 API) - + + + + + + + + +var pathtoroot = "../../../../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
                            + +
                            +

                            Uses of Interface
                            org.glassfish.tyrus.core.uri.internal.MultivaluedMap

                            • - - +
                              Packages that use MultivaluedMap 
                              + - +
                              Packages that use MultivaluedMap 
                              Package Description
                              org.glassfish.tyrus.core.uri.internalorg.glassfish.tyrus.core.uri.internal
                              Common classes that provide support for URI templates, encoding/decoding of URI components and multivalued collections.
                              @@ -95,137 +119,158 @@
                            • + + diff --git a/apidocs/latest1x/org/glassfish/tyrus/core/uri/internal/class-use/MultivaluedStringMap.html b/apidocs/latest1x/org/glassfish/tyrus/core/uri/internal/class-use/MultivaluedStringMap.html index f824a5b4..386ef0be 100644 --- a/apidocs/latest1x/org/glassfish/tyrus/core/uri/internal/class-use/MultivaluedStringMap.html +++ b/apidocs/latest1x/org/glassfish/tyrus/core/uri/internal/class-use/MultivaluedStringMap.html @@ -1,40 +1,54 @@ - + - + +Uses of Class org.glassfish.tyrus.core.uri.internal.MultivaluedStringMap (Tyrus 1.19 API) -Uses of Class org.glassfish.tyrus.core.uri.internal.MultivaluedStringMap (Tyrus 1.18 API) - + + + + + + + + +var pathtoroot = "../../../../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
                              + +
                              +

                              Uses of Class
                              org.glassfish.tyrus.core.uri.internal.MultivaluedStringMap

                              No usage of org.glassfish.tyrus.core.uri.internal.MultivaluedStringMap
                              +
                              + diff --git a/apidocs/latest1x/org/glassfish/tyrus/core/uri/internal/class-use/PathPattern.RightHandPath.html b/apidocs/latest1x/org/glassfish/tyrus/core/uri/internal/class-use/PathPattern.RightHandPath.html index a0bc86db..5bf5f6c9 100644 --- a/apidocs/latest1x/org/glassfish/tyrus/core/uri/internal/class-use/PathPattern.RightHandPath.html +++ b/apidocs/latest1x/org/glassfish/tyrus/core/uri/internal/class-use/PathPattern.RightHandPath.html @@ -1,40 +1,54 @@ - + - + +Uses of Class org.glassfish.tyrus.core.uri.internal.PathPattern.RightHandPath (Tyrus 1.19 API) -Uses of Class org.glassfish.tyrus.core.uri.internal.PathPattern.RightHandPath (Tyrus 1.18 API) - + + + + + + + + +var pathtoroot = "../../../../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
                              + +
                              +

                              Uses of Class
                              org.glassfish.tyrus.core.uri.internal.PathPattern.RightHandPath

                              • - - +
                                Packages that use PathPattern.RightHandPath 
                                + - +
                                Packages that use PathPattern.RightHandPath 
                                Package Description
                                org.glassfish.tyrus.core.uri.internalorg.glassfish.tyrus.core.uri.internal
                                Common classes that provide support for URI templates, encoding/decoding of URI components and multivalued collections.
                                @@ -95,69 +119,80 @@
                              • + + diff --git a/apidocs/latest1x/org/glassfish/tyrus/core/uri/internal/class-use/PathPattern.html b/apidocs/latest1x/org/glassfish/tyrus/core/uri/internal/class-use/PathPattern.html index dbc5a8ca..a18cfdc7 100644 --- a/apidocs/latest1x/org/glassfish/tyrus/core/uri/internal/class-use/PathPattern.html +++ b/apidocs/latest1x/org/glassfish/tyrus/core/uri/internal/class-use/PathPattern.html @@ -1,40 +1,54 @@ - + - + +Uses of Class org.glassfish.tyrus.core.uri.internal.PathPattern (Tyrus 1.19 API) -Uses of Class org.glassfish.tyrus.core.uri.internal.PathPattern (Tyrus 1.18 API) - + + + + + + + + +var pathtoroot = "../../../../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
                                + +
                                +

                                Uses of Class
                                org.glassfish.tyrus.core.uri.internal.PathPattern

                                • - - +
                                  Packages that use PathPattern 
                                  + - +
                                  Packages that use PathPattern 
                                  Package Description
                                  org.glassfish.tyrus.core.uri.internalorg.glassfish.tyrus.core.uri.internal
                                  Common classes that provide support for URI templates, encoding/decoding of URI components and multivalued collections.
                                  @@ -95,102 +119,117 @@
                                • + + diff --git a/apidocs/latest1x/org/glassfish/tyrus/core/uri/internal/class-use/PathSegment.html b/apidocs/latest1x/org/glassfish/tyrus/core/uri/internal/class-use/PathSegment.html index b55b6705..f8800cf9 100644 --- a/apidocs/latest1x/org/glassfish/tyrus/core/uri/internal/class-use/PathSegment.html +++ b/apidocs/latest1x/org/glassfish/tyrus/core/uri/internal/class-use/PathSegment.html @@ -1,40 +1,54 @@ - + - + +Uses of Interface org.glassfish.tyrus.core.uri.internal.PathSegment (Tyrus 1.19 API) -Uses of Interface org.glassfish.tyrus.core.uri.internal.PathSegment (Tyrus 1.18 API) - + + + + + + + + +var pathtoroot = "../../../../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
                                  + +
                                  +

                                  Uses of Interface
                                  org.glassfish.tyrus.core.uri.internal.PathSegment

                                  • - - +
                                    Packages that use PathSegment 
                                    + - +
                                    Packages that use PathSegment 
                                    Package Description
                                    org.glassfish.tyrus.core.uri.internalorg.glassfish.tyrus.core.uri.internal
                                    Common classes that provide support for URI templates, encoding/decoding of URI components and multivalued collections.
                                    @@ -95,67 +119,77 @@
                                  • + + diff --git a/apidocs/latest1x/org/glassfish/tyrus/core/uri/internal/class-use/PathTemplate.html b/apidocs/latest1x/org/glassfish/tyrus/core/uri/internal/class-use/PathTemplate.html index a9b764cb..6504181b 100644 --- a/apidocs/latest1x/org/glassfish/tyrus/core/uri/internal/class-use/PathTemplate.html +++ b/apidocs/latest1x/org/glassfish/tyrus/core/uri/internal/class-use/PathTemplate.html @@ -1,40 +1,54 @@ - + - + +Uses of Class org.glassfish.tyrus.core.uri.internal.PathTemplate (Tyrus 1.19 API) -Uses of Class org.glassfish.tyrus.core.uri.internal.PathTemplate (Tyrus 1.18 API) - + + + + + + + + +var pathtoroot = "../../../../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
                                    + +
                                    +

                                    Uses of Class
                                    org.glassfish.tyrus.core.uri.internal.PathTemplate

                                    • - - +
                                      Packages that use PathTemplate 
                                      + - +
                                      Packages that use PathTemplate 
                                      Package Description
                                      org.glassfish.tyrus.core.uri.internalorg.glassfish.tyrus.core.uri.internal
                                      Common classes that provide support for URI templates, encoding/decoding of URI components and multivalued collections.
                                      @@ -95,46 +119,54 @@
                                    • + + diff --git a/apidocs/latest1x/org/glassfish/tyrus/core/uri/internal/class-use/PatternWithGroups.html b/apidocs/latest1x/org/glassfish/tyrus/core/uri/internal/class-use/PatternWithGroups.html index 9d712290..8ef82945 100644 --- a/apidocs/latest1x/org/glassfish/tyrus/core/uri/internal/class-use/PatternWithGroups.html +++ b/apidocs/latest1x/org/glassfish/tyrus/core/uri/internal/class-use/PatternWithGroups.html @@ -1,40 +1,54 @@ - + - + +Uses of Class org.glassfish.tyrus.core.uri.internal.PatternWithGroups (Tyrus 1.19 API) -Uses of Class org.glassfish.tyrus.core.uri.internal.PatternWithGroups (Tyrus 1.18 API) - + + + + + + + + +var pathtoroot = "../../../../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
                                      + +
                                      +

                                      Uses of Class
                                      org.glassfish.tyrus.core.uri.internal.PatternWithGroups

                                      • - - +
                                        Packages that use PatternWithGroups 
                                        + - +
                                        Packages that use PatternWithGroups 
                                        Package Description
                                        org.glassfish.tyrus.core.uri.internalorg.glassfish.tyrus.core.uri.internal
                                        Common classes that provide support for URI templates, encoding/decoding of URI components and multivalued collections.
                                        @@ -95,72 +119,83 @@
                                      • + + diff --git a/apidocs/latest1x/org/glassfish/tyrus/core/uri/internal/class-use/UriComponent.Type.html b/apidocs/latest1x/org/glassfish/tyrus/core/uri/internal/class-use/UriComponent.Type.html index 1c0e59e1..16f724bb 100644 --- a/apidocs/latest1x/org/glassfish/tyrus/core/uri/internal/class-use/UriComponent.Type.html +++ b/apidocs/latest1x/org/glassfish/tyrus/core/uri/internal/class-use/UriComponent.Type.html @@ -1,40 +1,54 @@ - + - + +Uses of Class org.glassfish.tyrus.core.uri.internal.UriComponent.Type (Tyrus 1.19 API) -Uses of Class org.glassfish.tyrus.core.uri.internal.UriComponent.Type (Tyrus 1.18 API) - + + + + + + + + +var pathtoroot = "../../../../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
                                        + +
                                        +

                                        Uses of Class
                                        org.glassfish.tyrus.core.uri.internal.UriComponent.Type

                                        • - - +
                                          Packages that use UriComponent.Type 
                                          + - +
                                          Packages that use UriComponent.Type 
                                          Package Description
                                          org.glassfish.tyrus.core.uri.internalorg.glassfish.tyrus.core.uri.internal
                                          Common classes that provide support for URI templates, encoding/decoding of URI components and multivalued collections.
                                          @@ -95,68 +119,77 @@
                                        • + + diff --git a/apidocs/latest1x/org/glassfish/tyrus/core/uri/internal/class-use/UriComponent.html b/apidocs/latest1x/org/glassfish/tyrus/core/uri/internal/class-use/UriComponent.html index 0897b118..62199ce3 100644 --- a/apidocs/latest1x/org/glassfish/tyrus/core/uri/internal/class-use/UriComponent.html +++ b/apidocs/latest1x/org/glassfish/tyrus/core/uri/internal/class-use/UriComponent.html @@ -1,40 +1,54 @@ - + - + +Uses of Class org.glassfish.tyrus.core.uri.internal.UriComponent (Tyrus 1.19 API) -Uses of Class org.glassfish.tyrus.core.uri.internal.UriComponent (Tyrus 1.18 API) - + + + + + + + + +var pathtoroot = "../../../../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
                                          + +
                                          +

                                          Uses of Class
                                          org.glassfish.tyrus.core.uri.internal.UriComponent

                                          No usage of org.glassfish.tyrus.core.uri.internal.UriComponent
                                          +
                                          + diff --git a/apidocs/latest1x/org/glassfish/tyrus/core/uri/internal/class-use/UriTemplate.html b/apidocs/latest1x/org/glassfish/tyrus/core/uri/internal/class-use/UriTemplate.html index ecfd6b64..756f98be 100644 --- a/apidocs/latest1x/org/glassfish/tyrus/core/uri/internal/class-use/UriTemplate.html +++ b/apidocs/latest1x/org/glassfish/tyrus/core/uri/internal/class-use/UriTemplate.html @@ -1,40 +1,54 @@ - + - + +Uses of Class org.glassfish.tyrus.core.uri.internal.UriTemplate (Tyrus 1.19 API) -Uses of Class org.glassfish.tyrus.core.uri.internal.UriTemplate (Tyrus 1.18 API) - + + + + + + + + +var pathtoroot = "../../../../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
                                          + +
                                          +

                                          Uses of Class
                                          org.glassfish.tyrus.core.uri.internal.UriTemplate

                                          • - - +
                                            Packages that use UriTemplate 
                                            + - +
                                            Packages that use UriTemplate 
                                            Package Description
                                            org.glassfish.tyrus.core.uri.internalorg.glassfish.tyrus.core.uri.internal
                                            Common classes that provide support for URI templates, encoding/decoding of URI components and multivalued collections.
                                            @@ -95,85 +119,98 @@
                                          • + + diff --git a/apidocs/latest1x/org/glassfish/tyrus/core/uri/internal/class-use/UriTemplateParser.html b/apidocs/latest1x/org/glassfish/tyrus/core/uri/internal/class-use/UriTemplateParser.html index 3ad7fda3..16d6ceb7 100644 --- a/apidocs/latest1x/org/glassfish/tyrus/core/uri/internal/class-use/UriTemplateParser.html +++ b/apidocs/latest1x/org/glassfish/tyrus/core/uri/internal/class-use/UriTemplateParser.html @@ -1,40 +1,54 @@ - + - + +Uses of Class org.glassfish.tyrus.core.uri.internal.UriTemplateParser (Tyrus 1.19 API) -Uses of Class org.glassfish.tyrus.core.uri.internal.UriTemplateParser (Tyrus 1.18 API) - + + + + + + + + +var pathtoroot = "../../../../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
                                            + +
                                            +

                                            Uses of Class
                                            org.glassfish.tyrus.core.uri.internal.UriTemplateParser

                                            • - - +
                                              Packages that use UriTemplateParser 
                                              + - +
                                              Packages that use UriTemplateParser 
                                              Package Description
                                              org.glassfish.tyrus.core.uri.internalorg.glassfish.tyrus.core.uri.internal
                                              Common classes that provide support for URI templates, encoding/decoding of URI components and multivalued collections.
                                              @@ -95,40 +119,47 @@
                                            • + + diff --git a/apidocs/latest1x/org/glassfish/tyrus/core/uri/internal/package-frame.html b/apidocs/latest1x/org/glassfish/tyrus/core/uri/internal/package-frame.html deleted file mode 100644 index f09c4cab..00000000 --- a/apidocs/latest1x/org/glassfish/tyrus/core/uri/internal/package-frame.html +++ /dev/null @@ -1,39 +0,0 @@ - - - - - - -org.glassfish.tyrus.core.uri.internal (Tyrus 1.18 API) - - - - - -

                                              org.glassfish.tyrus.core.uri.internal

                                              - - - diff --git a/apidocs/latest1x/org/glassfish/tyrus/core/uri/internal/package-summary.html b/apidocs/latest1x/org/glassfish/tyrus/core/uri/internal/package-summary.html index 4da25f95..ad6387ee 100644 --- a/apidocs/latest1x/org/glassfish/tyrus/core/uri/internal/package-summary.html +++ b/apidocs/latest1x/org/glassfish/tyrus/core/uri/internal/package-summary.html @@ -1,38 +1,52 @@ - + - + +org.glassfish.tyrus.core.uri.internal (Tyrus 1.19 API) -org.glassfish.tyrus.core.uri.internal (Tyrus 1.18 API) - + + + + + + + + +var pathtoroot = "../../../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
                                              + +
                                              +

                                              Package org.glassfish.tyrus.core.uri.internal

                                              -
                                              -
                                              Common classes that provide support for URI templates, - encoding/decoding of URI components and multivalued collections.
                                              -
                                              -

                                              See: Description

                                              +
                                              + + +
                                              Common classes that provide support for URI templates, + encoding/decoding of URI components and multivalued collections. + + Taken from Jersey 2 - org.glassfish.jersey.uri.
                                              +
                                              - - - -

                                              Package org.glassfish.tyrus.core.uri.internal Description

                                              -
                                              Common classes that provide support for URI templates, - encoding/decoding of URI components and multivalued collections. - - Taken from Jersey 2 - org.glassfish.jersey.uri.
                                              +
                                              + diff --git a/apidocs/latest1x/org/glassfish/tyrus/core/uri/internal/package-tree.html b/apidocs/latest1x/org/glassfish/tyrus/core/uri/internal/package-tree.html index 98bd1fad..0be74d93 100644 --- a/apidocs/latest1x/org/glassfish/tyrus/core/uri/internal/package-tree.html +++ b/apidocs/latest1x/org/glassfish/tyrus/core/uri/internal/package-tree.html @@ -1,38 +1,52 @@ - + - + +org.glassfish.tyrus.core.uri.internal Class Hierarchy (Tyrus 1.19 API) -org.glassfish.tyrus.core.uri.internal Class Hierarchy (Tyrus 1.18 API) - + + + + + + + + +var pathtoroot = "../../../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
                                              + +
                                              +

                                              Hierarchy For Package org.glassfish.tyrus.core.uri.internal

                                              Package Hierarchies: @@ -78,67 +102,76 @@
                                              +

                                              Class Hierarchy

                                              +
                                              +

                                              Interface Hierarchy

                                                -
                                              • java.util.Map<K,V> +
                                              • java.util.Map<K,​V>
                                              • -
                                              • org.glassfish.tyrus.core.uri.internal.PathSegment
                                              • +
                                              • org.glassfish.tyrus.core.uri.internal.PathSegment
                                              +
                                              +

                                              Enum Hierarchy

                                                -
                                              • java.lang.Object +
                                              • java.lang.Object
                                              +
                                              +
                                              + diff --git a/apidocs/latest1x/org/glassfish/tyrus/core/uri/internal/package-use.html b/apidocs/latest1x/org/glassfish/tyrus/core/uri/internal/package-use.html index 66b3924d..cce17f29 100644 --- a/apidocs/latest1x/org/glassfish/tyrus/core/uri/internal/package-use.html +++ b/apidocs/latest1x/org/glassfish/tyrus/core/uri/internal/package-use.html @@ -1,38 +1,52 @@ - + - + +Uses of Package org.glassfish.tyrus.core.uri.internal (Tyrus 1.19 API) -Uses of Package org.glassfish.tyrus.core.uri.internal (Tyrus 1.18 API) - + + + + + + + + +var pathtoroot = "../../../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
                                              + +
                                              +

                                              Uses of Package
                                              org.glassfish.tyrus.core.uri.internal

                                              - - - -

                                              Package org.glassfish.tyrus.core.uri Description

                                              -
                                              URI matching.
                                              +
                                              + diff --git a/apidocs/latest1x/org/glassfish/tyrus/core/uri/package-tree.html b/apidocs/latest1x/org/glassfish/tyrus/core/uri/package-tree.html index 7857a91a..3a3e601c 100644 --- a/apidocs/latest1x/org/glassfish/tyrus/core/uri/package-tree.html +++ b/apidocs/latest1x/org/glassfish/tyrus/core/uri/package-tree.html @@ -1,38 +1,52 @@ - + - + +org.glassfish.tyrus.core.uri Class Hierarchy (Tyrus 1.19 API) -org.glassfish.tyrus.core.uri Class Hierarchy (Tyrus 1.18 API) - + + + + + + + + +var pathtoroot = "../../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
                                              + +
                                              +

                                              Hierarchy For Package org.glassfish.tyrus.core.uri

                                              Package Hierarchies: @@ -78,25 +102,30 @@
                                              +

                                              Class Hierarchy

                                                -
                                              • java.lang.Object +
                                              • java.lang.Object
                                                  -
                                                • org.glassfish.tyrus.core.uri.Match
                                                • +
                                                • org.glassfish.tyrus.core.uri.Match
                                              +
                                              +
                                              + diff --git a/apidocs/latest1x/org/glassfish/tyrus/core/uri/package-use.html b/apidocs/latest1x/org/glassfish/tyrus/core/uri/package-use.html index a806cff2..075167f6 100644 --- a/apidocs/latest1x/org/glassfish/tyrus/core/uri/package-use.html +++ b/apidocs/latest1x/org/glassfish/tyrus/core/uri/package-use.html @@ -1,38 +1,52 @@ - + - + +Uses of Package org.glassfish.tyrus.core.uri (Tyrus 1.19 API) -Uses of Package org.glassfish.tyrus.core.uri (Tyrus 1.18 API) - + + + + + + + + +var pathtoroot = "../../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
                                              + +
                                              +

                                              Uses of Package
                                              org.glassfish.tyrus.core.uri

                                              • - - +
                                                Packages that use org.glassfish.tyrus.core.uri 
                                                + - + @@ -92,17 +116,19 @@
                                                Packages that use org.glassfish.tyrus.core.uri 
                                                Package Description
                                                org.glassfish.tyrus.core.uriorg.glassfish.tyrus.core.uri
                                                URI matching.
                                              • -
                                              • +
                                              • - - +
                                                Classes in org.glassfish.tyrus.core.uri used by org.glassfish.tyrus.core.uri 
                                                + - + + - + @@ -111,16 +137,19 @@ + + diff --git a/apidocs/latest1x/org/glassfish/tyrus/core/wsadl/model/Application.html b/apidocs/latest1x/org/glassfish/tyrus/core/wsadl/model/Application.html index 2963bb0f..13a8d702 100644 --- a/apidocs/latest1x/org/glassfish/tyrus/core/wsadl/model/Application.html +++ b/apidocs/latest1x/org/glassfish/tyrus/core/wsadl/model/Application.html @@ -1,44 +1,58 @@ - + - + +Application (Tyrus 1.19 API) -Application (Tyrus 1.18 API) - + + + + + + + + +var pathtoroot = "../../../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
                                                + +
                                                +
                                                -
                                                org.glassfish.tyrus.core.wsadl.model
                                                +

                                                Class Application

                                                @@ -109,7 +133,6 @@ var activeTableTab = "activeTableTab";

                                                • -
                                                  public class Application
                                                   extends java.lang.Object

                                                  Java class for anonymous complex type. @@ -135,72 +158,85 @@ extends java.lang.Object

                                                  • +
                                                      -
                                                    • +
                                                    • Field Summary

                                                      -
                                                Classes in org.glassfish.tyrus.core.uri used by org.glassfish.tyrus.core.uri 
                                                Class and DescriptionClassDescription
                                                Match +Match
                                                Defines a match on an endpoint.
                                                +
                                                - + + - + + - - + + +
                                                Fields 
                                                Modifier and TypeField and DescriptionFieldDescription
                                                protected java.util.List<java.lang.Object>any any 
                                                protected java.util.List<Endpoint>endpoint protected java.util.List<Endpoint>endpoint 
                                              + +
                                                -
                                              • +
                                              • Constructor Summary

                                                - +
                                                - + + - + +
                                                Constructors 
                                                Constructor and DescriptionConstructorDescription
                                                Application() Application() 
                                              +
                                              +
                                                -
                                              • +
                                              • Method Summary

                                                - +
                                                - + + - + - - + +
                                                All Methods Instance Methods Concrete Methods 
                                                Modifier and TypeMethod and DescriptionMethodDescription
                                                java.util.List<java.lang.Object>getAny() +getAny()
                                                Gets the value of the any property.
                                                java.util.List<Endpoint>getEndpoint() +java.util.List<Endpoint>getEndpoint()
                                                Gets the value of the endpoint property.
                                                  -
                                                • +
                                                • Methods inherited from class java.lang.Object

                                                  @@ -208,6 +244,7 @@ extends java.lang.Object
                                              +
                                              @@ -215,21 +252,22 @@ extends java.lang.Object
                                              • +
                                                  -
                                                • +
                                                • Field Detail

                                                  - +
                                                  • endpoint

                                                    -
                                                    protected java.util.List<Endpoint> endpoint
                                                    +
                                                    protected java.util.List<Endpoint> endpoint
                                                  - +
                                                    @@ -240,13 +278,15 @@ extends java.lang.Object
                                                +
                                                +
                                                  -
                                                • +
                                                • Constructor Detail

                                                  - +
                                                    @@ -257,19 +297,21 @@ extends java.lang.Object
                                                +
                                                +
                                                  -
                                                • +
                                                • Method Detail

                                                  - +
                                                  • getEndpoint

                                                    -
                                                    public java.util.List<Endpoint> getEndpoint()
                                                    +
                                                    public java.util.List<Endpoint> getEndpoint()
                                                    Gets the value of the endpoint property.

                                                    @@ -287,16 +329,16 @@ extends java.lang.Object

                                                    Objects of the following type(s) are allowed in the list - Endpoint

                                                    + Endpoint
                                                  - +
                                                  • getAny

                                                    -
                                                    public java.util.List<java.lang.Object> getAny()
                                                    +
                                                    public java.util.List<java.lang.Object> getAny()
                                                    Gets the value of the any property.

                                                    @@ -320,21 +362,25 @@ extends java.lang.Object

                                                +
                                              +
                                              + diff --git a/apidocs/latest1x/org/glassfish/tyrus/core/wsadl/model/Endpoint.html b/apidocs/latest1x/org/glassfish/tyrus/core/wsadl/model/Endpoint.html index 643913fe..d2399e78 100644 --- a/apidocs/latest1x/org/glassfish/tyrus/core/wsadl/model/Endpoint.html +++ b/apidocs/latest1x/org/glassfish/tyrus/core/wsadl/model/Endpoint.html @@ -1,44 +1,58 @@ - + - + +Endpoint (Tyrus 1.19 API) -Endpoint (Tyrus 1.18 API) - + + + + + + + + +var pathtoroot = "../../../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
                                              + +
                                              +
                                              -
                                              org.glassfish.tyrus.core.wsadl.model
                                              +

                                              Class Endpoint

                                              @@ -109,7 +133,6 @@ var activeTableTab = "activeTableTab";

                                              • -
                                                public class Endpoint
                                                 extends java.lang.Object

                                                Java class for anonymous complex type. @@ -134,90 +157,106 @@ extends java.lang.Object

                                                • +
                                                    -
                                                  • +
                                                  • Field Summary

                                                    - +
                                                    - + + - + + - + +
                                                    Fields 
                                                    Modifier and TypeField and DescriptionFieldDescription
                                                    protected java.lang.Stringid id 
                                                    protected java.lang.Stringpath path 
                                                  +
                                                  +
                                                    -
                                                  • +
                                                  • Constructor Summary

                                                    - +
                                                    - + + - + +
                                                    Constructors 
                                                    Constructor and DescriptionConstructorDescription
                                                    Endpoint() Endpoint() 
                                                  +
                                                  +
                                                    -
                                                  • +
                                                  • Method Summary

                                                    - +
                                                    - + + - + - - + + - + - + - +
                                                    All Methods Instance Methods Concrete Methods 
                                                    Modifier and TypeMethod and DescriptionMethodDescription
                                                    java.lang.StringgetId() +getId()
                                                    Gets the value of the id property.
                                                    java.util.Map<javax.xml.namespace.QName,java.lang.String>getOtherAttributes() +java.util.Map<javax.xml.namespace.QName,​java.lang.String>getOtherAttributes()
                                                    Gets a map that contains attributes that aren't bound to any typed property on this class.
                                                    java.lang.StringgetPath() +getPath()
                                                    Gets the value of the path property.
                                                    voidsetId(java.lang.String value) +setId​(java.lang.String value)
                                                    Sets the value of the id property.
                                                    voidsetPath(java.lang.String value) +setPath​(java.lang.String value)
                                                    Sets the value of the path property.
                                                      -
                                                    • +
                                                    • Methods inherited from class java.lang.Object

                                                      @@ -225,6 +264,7 @@ extends java.lang.Object
                                                  +
                                                @@ -232,12 +272,13 @@ extends java.lang.Object
                                                • +
                                                    -
                                                  • +
                                                  • Field Detail

                                                    - +
                                                      @@ -246,7 +287,7 @@ extends java.lang.Object
                                                      protected java.lang.String id
                                                    - +
                                                      @@ -257,13 +298,15 @@ extends java.lang.Object
                                                  +
                                                  +
                                                    -
                                                  • +
                                                  • Constructor Detail

                                                    - +
                                                      @@ -274,19 +317,21 @@ extends java.lang.Object
                                                  +
                                                  +
                                                    -
                                                  • +
                                                  • Method Detail

                                                    - +
                                                    • getId

                                                      -
                                                      public java.lang.String getId()
                                                      +
                                                      public java.lang.String getId()
                                                      Gets the value of the id property.
                                                      Returns:
                                                      @@ -295,13 +340,13 @@ extends java.lang.Object
                                                    - +
                                                    • setId

                                                      -
                                                      public void setId(java.lang.String value)
                                                      +
                                                      public void setId​(java.lang.String value)
                                                      Sets the value of the id property.
                                                      Parameters:
                                                      @@ -310,13 +355,13 @@ extends java.lang.Object
                                                    - +
                                                    • getPath

                                                      -
                                                      public java.lang.String getPath()
                                                      +
                                                      public java.lang.String getPath()
                                                      Gets the value of the path property.
                                                      Returns:
                                                      @@ -325,13 +370,13 @@ extends java.lang.Object
                                                    - +
                                                    • setPath

                                                      -
                                                      public void setPath(java.lang.String value)
                                                      +
                                                      public void setPath​(java.lang.String value)
                                                      Sets the value of the path property.
                                                      Parameters:
                                                      @@ -340,13 +385,13 @@ extends java.lang.Object
                                                    - +
                                                    • getOtherAttributes

                                                      -
                                                      public java.util.Map<javax.xml.namespace.QName,java.lang.String> getOtherAttributes()
                                                      +
                                                      public java.util.Map<javax.xml.namespace.QName,​java.lang.String> getOtherAttributes()
                                                      Gets a map that contains attributes that aren't bound to any typed property on this class.

                                                      @@ -363,21 +408,25 @@ extends java.lang.Object

                                                  +
                                              +
                                              + diff --git a/apidocs/latest1x/org/glassfish/tyrus/core/wsadl/model/ObjectFactory.html b/apidocs/latest1x/org/glassfish/tyrus/core/wsadl/model/ObjectFactory.html index 470b6876..844444ae 100644 --- a/apidocs/latest1x/org/glassfish/tyrus/core/wsadl/model/ObjectFactory.html +++ b/apidocs/latest1x/org/glassfish/tyrus/core/wsadl/model/ObjectFactory.html @@ -1,44 +1,58 @@ - + - + +ObjectFactory (Tyrus 1.19 API) -ObjectFactory (Tyrus 1.18 API) - + + + + + + + + +var pathtoroot = "../../../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
                                              + +
                                              +
                                              -
                                              org.glassfish.tyrus.core.wsadl.model
                                              +

                                              Class ObjectFactory

                                              @@ -109,7 +133,6 @@ var activeTableTab = "activeTableTab";
                                              +
                                              + diff --git a/apidocs/latest1x/org/glassfish/tyrus/core/wsadl/model/class-use/Application.html b/apidocs/latest1x/org/glassfish/tyrus/core/wsadl/model/class-use/Application.html index 60de558e..805503d4 100644 --- a/apidocs/latest1x/org/glassfish/tyrus/core/wsadl/model/class-use/Application.html +++ b/apidocs/latest1x/org/glassfish/tyrus/core/wsadl/model/class-use/Application.html @@ -1,40 +1,54 @@ - + - + +Uses of Class org.glassfish.tyrus.core.wsadl.model.Application (Tyrus 1.19 API) -Uses of Class org.glassfish.tyrus.core.wsadl.model.Application (Tyrus 1.18 API) - + + + + + + + + +var pathtoroot = "../../../../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
                                              + +
                                              +

                                              Uses of Class
                                              org.glassfish.tyrus.core.wsadl.model.Application

                                              +
                                              + diff --git a/apidocs/latest1x/org/glassfish/tyrus/core/wsadl/model/class-use/Endpoint.html b/apidocs/latest1x/org/glassfish/tyrus/core/wsadl/model/class-use/Endpoint.html index 9d72efd8..5ca6653f 100644 --- a/apidocs/latest1x/org/glassfish/tyrus/core/wsadl/model/class-use/Endpoint.html +++ b/apidocs/latest1x/org/glassfish/tyrus/core/wsadl/model/class-use/Endpoint.html @@ -1,40 +1,54 @@ - + - + +Uses of Class org.glassfish.tyrus.core.wsadl.model.Endpoint (Tyrus 1.19 API) -Uses of Class org.glassfish.tyrus.core.wsadl.model.Endpoint (Tyrus 1.18 API) - + + + + + + + + +var pathtoroot = "../../../../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
                                              + +
                                              +

                                              Uses of Class
                                              org.glassfish.tyrus.core.wsadl.model.Endpoint

                                              +
                                              + diff --git a/apidocs/latest1x/org/glassfish/tyrus/core/wsadl/model/class-use/ObjectFactory.html b/apidocs/latest1x/org/glassfish/tyrus/core/wsadl/model/class-use/ObjectFactory.html index 9c4d99a7..9b179759 100644 --- a/apidocs/latest1x/org/glassfish/tyrus/core/wsadl/model/class-use/ObjectFactory.html +++ b/apidocs/latest1x/org/glassfish/tyrus/core/wsadl/model/class-use/ObjectFactory.html @@ -1,40 +1,54 @@ - + - + +Uses of Class org.glassfish.tyrus.core.wsadl.model.ObjectFactory (Tyrus 1.19 API) -Uses of Class org.glassfish.tyrus.core.wsadl.model.ObjectFactory (Tyrus 1.18 API) - + + + + + + + + +var pathtoroot = "../../../../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
                                              + +
                                              +

                                              Uses of Class
                                              org.glassfish.tyrus.core.wsadl.model.ObjectFactory

                                              No usage of org.glassfish.tyrus.core.wsadl.model.ObjectFactory
                                              +
                                              + diff --git a/apidocs/latest1x/org/glassfish/tyrus/core/wsadl/model/package-frame.html b/apidocs/latest1x/org/glassfish/tyrus/core/wsadl/model/package-frame.html deleted file mode 100644 index e3b04a97..00000000 --- a/apidocs/latest1x/org/glassfish/tyrus/core/wsadl/model/package-frame.html +++ /dev/null @@ -1,23 +0,0 @@ - - - - - - -org.glassfish.tyrus.core.wsadl.model (Tyrus 1.18 API) - - - - - -

                                              org.glassfish.tyrus.core.wsadl.model

                                              - - - diff --git a/apidocs/latest1x/org/glassfish/tyrus/core/wsadl/model/package-summary.html b/apidocs/latest1x/org/glassfish/tyrus/core/wsadl/model/package-summary.html index 79a40bc3..e84d7373 100644 --- a/apidocs/latest1x/org/glassfish/tyrus/core/wsadl/model/package-summary.html +++ b/apidocs/latest1x/org/glassfish/tyrus/core/wsadl/model/package-summary.html @@ -1,38 +1,52 @@ - + - + +org.glassfish.tyrus.core.wsadl.model (Tyrus 1.19 API) -org.glassfish.tyrus.core.wsadl.model (Tyrus 1.18 API) - + + + + + + + + +var pathtoroot = "../../../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
                                              + +
                                              +

                                              Package org.glassfish.tyrus.core.wsadl.model

                                              • - +
                                                @@ -84,19 +108,19 @@ - + - + - +
                                                Class Summary 
                                                Class
                                                ApplicationApplication
                                                Java class for anonymous complex type.
                                                EndpointEndpoint
                                                Java class for anonymous complex type.
                                                ObjectFactoryObjectFactory
                                                This object contains factory methods for each Java content interface and Java element interface @@ -108,16 +132,19 @@
                                                + + diff --git a/apidocs/latest1x/org/glassfish/tyrus/core/wsadl/model/package-tree.html b/apidocs/latest1x/org/glassfish/tyrus/core/wsadl/model/package-tree.html index 7f3a7c33..4dc97591 100644 --- a/apidocs/latest1x/org/glassfish/tyrus/core/wsadl/model/package-tree.html +++ b/apidocs/latest1x/org/glassfish/tyrus/core/wsadl/model/package-tree.html @@ -1,38 +1,52 @@ - + - + +org.glassfish.tyrus.core.wsadl.model Class Hierarchy (Tyrus 1.19 API) -org.glassfish.tyrus.core.wsadl.model Class Hierarchy (Tyrus 1.18 API) - + + + + + + + + +var pathtoroot = "../../../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
                                                + +
                                                +

                                                Hierarchy For Package org.glassfish.tyrus.core.wsadl.model

                                                Package Hierarchies: @@ -78,27 +102,32 @@
                                                +

                                                Class Hierarchy

                                                  -
                                                • java.lang.Object +
                                                • java.lang.Object
                                                +
                                                +
                                                + diff --git a/apidocs/latest1x/org/glassfish/tyrus/core/wsadl/model/package-use.html b/apidocs/latest1x/org/glassfish/tyrus/core/wsadl/model/package-use.html index 84dfca69..cd79cf51 100644 --- a/apidocs/latest1x/org/glassfish/tyrus/core/wsadl/model/package-use.html +++ b/apidocs/latest1x/org/glassfish/tyrus/core/wsadl/model/package-use.html @@ -1,38 +1,52 @@ - + - + +Uses of Package org.glassfish.tyrus.core.wsadl.model (Tyrus 1.19 API) -Uses of Package org.glassfish.tyrus.core.wsadl.model (Tyrus 1.18 API) - + + + + + + + + +var pathtoroot = "../../../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
                                                + +
                                                +

                                                Uses of Package
                                                org.glassfish.tyrus.core.wsadl.model

                                                + +
                                                @@ -201,12 +234,13 @@ extends
                                              • +
                                                  -
                                                • +
                                                • Constructor Detail

                                                  - +
                                                    @@ -225,43 +259,45 @@ extends
                                                  +
                                                +
                                                +
                                              • +
                                                + diff --git a/apidocs/latest1x/org/glassfish/tyrus/gf/cdi/class-use/CdiComponentProvider.html b/apidocs/latest1x/org/glassfish/tyrus/gf/cdi/class-use/CdiComponentProvider.html index 0d04b7c3..e560b56e 100644 --- a/apidocs/latest1x/org/glassfish/tyrus/gf/cdi/class-use/CdiComponentProvider.html +++ b/apidocs/latest1x/org/glassfish/tyrus/gf/cdi/class-use/CdiComponentProvider.html @@ -1,40 +1,54 @@ - + - + +Uses of Class org.glassfish.tyrus.gf.cdi.CdiComponentProvider (Tyrus 1.19 API) -Uses of Class org.glassfish.tyrus.gf.cdi.CdiComponentProvider (Tyrus 1.18 API) - + + + + + + + + +var pathtoroot = "../../../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
                                                + +
                                                +

                                                Uses of Class
                                                org.glassfish.tyrus.gf.cdi.CdiComponentProvider

                                                No usage of org.glassfish.tyrus.gf.cdi.CdiComponentProvider
                                                +
                                                + diff --git a/apidocs/latest1x/org/glassfish/tyrus/gf/cdi/package-frame.html b/apidocs/latest1x/org/glassfish/tyrus/gf/cdi/package-frame.html deleted file mode 100644 index bae643bf..00000000 --- a/apidocs/latest1x/org/glassfish/tyrus/gf/cdi/package-frame.html +++ /dev/null @@ -1,21 +0,0 @@ - - - - - - -org.glassfish.tyrus.gf.cdi (Tyrus 1.18 API) - - - - - -

                                                org.glassfish.tyrus.gf.cdi

                                                -
                                                -

                                                Classes

                                                - -
                                                - - diff --git a/apidocs/latest1x/org/glassfish/tyrus/gf/cdi/package-summary.html b/apidocs/latest1x/org/glassfish/tyrus/gf/cdi/package-summary.html index 8dcd1d1e..bd49f52c 100644 --- a/apidocs/latest1x/org/glassfish/tyrus/gf/cdi/package-summary.html +++ b/apidocs/latest1x/org/glassfish/tyrus/gf/cdi/package-summary.html @@ -1,38 +1,52 @@ - + - + +org.glassfish.tyrus.gf.cdi (Tyrus 1.19 API) -org.glassfish.tyrus.gf.cdi (Tyrus 1.18 API) - + + + + + + + + +var pathtoroot = "../../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
                                                + +
                                                +

                                                Package org.glassfish.tyrus.gf.cdi

                                                -
                                                -
                                                Tyrus CDI integration with Glassfish (and possibly other compatible containers).
                                                -
                                                -

                                                See: Description

                                                +
                                                + + +
                                                Tyrus CDI integration with Glassfish (and possibly other compatible containers).
                                                +
                                                - - - -

                                                Package org.glassfish.tyrus.gf.cdi Description

                                                -
                                                Tyrus CDI integration with Glassfish (and possibly other compatible containers).
                                                +
                                                + diff --git a/apidocs/latest1x/org/glassfish/tyrus/gf/cdi/package-tree.html b/apidocs/latest1x/org/glassfish/tyrus/gf/cdi/package-tree.html index 7ff00146..41367cb9 100644 --- a/apidocs/latest1x/org/glassfish/tyrus/gf/cdi/package-tree.html +++ b/apidocs/latest1x/org/glassfish/tyrus/gf/cdi/package-tree.html @@ -1,38 +1,52 @@ - + - + +org.glassfish.tyrus.gf.cdi Class Hierarchy (Tyrus 1.19 API) -org.glassfish.tyrus.gf.cdi Class Hierarchy (Tyrus 1.18 API) - + + + + + + + + +var pathtoroot = "../../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
                                                + +
                                                +

                                                Hierarchy For Package org.glassfish.tyrus.gf.cdi

                                                Package Hierarchies: @@ -78,29 +102,34 @@
                                                +

                                                Class Hierarchy

                                                +
                                                +
                                                + diff --git a/apidocs/latest1x/org/glassfish/tyrus/gf/cdi/package-use.html b/apidocs/latest1x/org/glassfish/tyrus/gf/cdi/package-use.html index fa1a8d8b..92e7f353 100644 --- a/apidocs/latest1x/org/glassfish/tyrus/gf/cdi/package-use.html +++ b/apidocs/latest1x/org/glassfish/tyrus/gf/cdi/package-use.html @@ -1,38 +1,52 @@ - + - + +Uses of Package org.glassfish.tyrus.gf.cdi (Tyrus 1.19 API) -Uses of Package org.glassfish.tyrus.gf.cdi (Tyrus 1.18 API) - + + + + + + + + +var pathtoroot = "../../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
                                                + +
                                                +

                                                Uses of Package
                                                org.glassfish.tyrus.gf.cdi

                                                No usage of org.glassfish.tyrus.gf.cdi
                                                +
                                                + diff --git a/apidocs/latest1x/org/glassfish/tyrus/gf/ejb/EjbComponentProvider.html b/apidocs/latest1x/org/glassfish/tyrus/gf/ejb/EjbComponentProvider.html index efd82fb6..60789724 100644 --- a/apidocs/latest1x/org/glassfish/tyrus/gf/ejb/EjbComponentProvider.html +++ b/apidocs/latest1x/org/glassfish/tyrus/gf/ejb/EjbComponentProvider.html @@ -1,44 +1,58 @@ - + - + +EjbComponentProvider (Tyrus 1.19 API) -EjbComponentProvider (Tyrus 1.18 API) - + + + + + + + + +var pathtoroot = "../../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
                                                + +
                                                +
                                                -
                                                org.glassfish.tyrus.gf.ejb
                                                +

                                                Class EjbComponentProvider

                                                @@ -101,7 +125,7 @@ var activeTableTab = "activeTableTab";
                                              • java.lang.Object
                                              • @@ -198,12 +232,13 @@ extends
                                              • +
                                                  -
                                                • +
                                                • Constructor Detail

                                                  - +
                                                    @@ -214,24 +249,26 @@ extends
                                                  +
                                                +
                                                  -
                                                • +
                                                • Method Detail

                                                  - +
                                                  • create

                                                    -
                                                    public <T> java.lang.Object create(java.lang.Class<T> c)
                                                    -
                                                    Description copied from class: ComponentProvider
                                                    +
                                                    public <T> java.lang.Object create​(java.lang.Class<T> c)
                                                    +
                                                    Description copied from class: ComponentProvider
                                                    Create new instance.
                                                    Specified by:
                                                    -
                                                    create in class ComponentProvider
                                                    +
                                                    create in class ComponentProvider
                                                    Type Parameters:
                                                    T - type of the created object.
                                                    Parameters:
                                                    @@ -241,52 +278,52 @@ extends
                                                  - + - + - +
                                                  • getInvocableMethod

                                                    -
                                                    public java.lang.reflect.Method getInvocableMethod(java.lang.reflect.Method method)
                                                    -
                                                    Description copied from class: ComponentProvider
                                                    +
                                                    public java.lang.reflect.Method getInvocableMethod​(java.lang.reflect.Method method)
                                                    +
                                                    Description copied from class: ComponentProvider
                                                    Get the method which should be invoked instead provided one.

                                                    Useful mainly for EJB container support, where methods from endpoint class cannot be invoked directly - Tyrus @@ -296,7 +333,7 @@ extends

                                                    Overrides:
                                                    -
                                                    getInvocableMethod in class ComponentProvider
                                                    +
                                                    getInvocableMethod in class ComponentProvider
                                                    Parameters:
                                                    method - method from endpoint class.
                                                    Returns:
                                                    @@ -306,21 +343,25 @@ extends
                                                  +
                                              • +
                                                + diff --git a/apidocs/latest1x/org/glassfish/tyrus/gf/ejb/class-use/EjbComponentProvider.html b/apidocs/latest1x/org/glassfish/tyrus/gf/ejb/class-use/EjbComponentProvider.html index 691033f5..2a72f606 100644 --- a/apidocs/latest1x/org/glassfish/tyrus/gf/ejb/class-use/EjbComponentProvider.html +++ b/apidocs/latest1x/org/glassfish/tyrus/gf/ejb/class-use/EjbComponentProvider.html @@ -1,40 +1,54 @@ - + - + +Uses of Class org.glassfish.tyrus.gf.ejb.EjbComponentProvider (Tyrus 1.19 API) -Uses of Class org.glassfish.tyrus.gf.ejb.EjbComponentProvider (Tyrus 1.18 API) - + + + + + + + + +var pathtoroot = "../../../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
                                                + +
                                                +

                                                Uses of Class
                                                org.glassfish.tyrus.gf.ejb.EjbComponentProvider

                                                No usage of org.glassfish.tyrus.gf.ejb.EjbComponentProvider
                                                +
                                                + diff --git a/apidocs/latest1x/org/glassfish/tyrus/gf/ejb/package-frame.html b/apidocs/latest1x/org/glassfish/tyrus/gf/ejb/package-frame.html deleted file mode 100644 index 2f6cc64c..00000000 --- a/apidocs/latest1x/org/glassfish/tyrus/gf/ejb/package-frame.html +++ /dev/null @@ -1,21 +0,0 @@ - - - - - - -org.glassfish.tyrus.gf.ejb (Tyrus 1.18 API) - - - - - -

                                                org.glassfish.tyrus.gf.ejb

                                                -
                                                -

                                                Classes

                                                - -
                                                - - diff --git a/apidocs/latest1x/org/glassfish/tyrus/gf/ejb/package-summary.html b/apidocs/latest1x/org/glassfish/tyrus/gf/ejb/package-summary.html index 023558d9..a177e938 100644 --- a/apidocs/latest1x/org/glassfish/tyrus/gf/ejb/package-summary.html +++ b/apidocs/latest1x/org/glassfish/tyrus/gf/ejb/package-summary.html @@ -1,38 +1,52 @@ - + - + +org.glassfish.tyrus.gf.ejb (Tyrus 1.19 API) -org.glassfish.tyrus.gf.ejb (Tyrus 1.18 API) - + + + + + + + + +var pathtoroot = "../../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
                                                + +
                                                +

                                                Package org.glassfish.tyrus.gf.ejb

                                                -
                                                -
                                                Tyrus EJB integration with Glassfish (and possibly other compatible containers).
                                                -
                                                -

                                                See: Description

                                                +
                                                + + +
                                                Tyrus EJB integration with Glassfish (and possibly other compatible containers).
                                                +
                                                - - - -

                                                Package org.glassfish.tyrus.gf.ejb Description

                                                -
                                                Tyrus EJB integration with Glassfish (and possibly other compatible containers).
                                                +
                                                + diff --git a/apidocs/latest1x/org/glassfish/tyrus/gf/ejb/package-tree.html b/apidocs/latest1x/org/glassfish/tyrus/gf/ejb/package-tree.html index af0d9026..909bf33f 100644 --- a/apidocs/latest1x/org/glassfish/tyrus/gf/ejb/package-tree.html +++ b/apidocs/latest1x/org/glassfish/tyrus/gf/ejb/package-tree.html @@ -1,38 +1,52 @@ - + - + +org.glassfish.tyrus.gf.ejb Class Hierarchy (Tyrus 1.19 API) -org.glassfish.tyrus.gf.ejb Class Hierarchy (Tyrus 1.18 API) - + + + + + + + + +var pathtoroot = "../../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
                                                + +
                                                +

                                                Hierarchy For Package org.glassfish.tyrus.gf.ejb

                                                Package Hierarchies: @@ -78,29 +102,34 @@
                                                +

                                                Class Hierarchy

                                                +
                                                +
                                                + diff --git a/apidocs/latest1x/org/glassfish/tyrus/gf/ejb/package-use.html b/apidocs/latest1x/org/glassfish/tyrus/gf/ejb/package-use.html index 9315eab2..ee1d92da 100644 --- a/apidocs/latest1x/org/glassfish/tyrus/gf/ejb/package-use.html +++ b/apidocs/latest1x/org/glassfish/tyrus/gf/ejb/package-use.html @@ -1,38 +1,52 @@ - + - + +Uses of Package org.glassfish.tyrus.gf.ejb (Tyrus 1.19 API) -Uses of Package org.glassfish.tyrus.gf.ejb (Tyrus 1.18 API) - + + + + + + + + +var pathtoroot = "../../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
                                                + +
                                                +

                                                Uses of Package
                                                org.glassfish.tyrus.gf.ejb

                                                No usage of org.glassfish.tyrus.gf.ejb
                                                +
                                                + diff --git a/apidocs/latest1x/org/glassfish/tyrus/server/Server.html b/apidocs/latest1x/org/glassfish/tyrus/server/Server.html index 6d2a5e9a..f9d0ba65 100644 --- a/apidocs/latest1x/org/glassfish/tyrus/server/Server.html +++ b/apidocs/latest1x/org/glassfish/tyrus/server/Server.html @@ -1,44 +1,58 @@ - + - + +Server (Tyrus 1.19 API) -Server (Tyrus 1.18 API) - + + + + + + + + +var pathtoroot = "../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
                                                + +
                                                +
                                                -
                                                org.glassfish.tyrus.server
                                                +

                                                Class Server

                                                @@ -109,7 +133,6 @@ var activeTableTab = "activeTableTab";

                                                • -
                                                  public class Server
                                                   extends java.lang.Object
                                                  Implementation of the WebSocket Server.
                                                  @@ -124,106 +147,123 @@ extends java.lang.Object
                                                  • +
                                                      -
                                                    • +
                                                    • Field Summary

                                                      - +
                                                      - + + - +
                                                      Fields 
                                                      Modifier and TypeField and DescriptionFieldDescription
                                                      static java.lang.StringSTATIC_CONTENT_ROOT +STATIC_CONTENT_ROOT
                                                      Path to static content to be served by created Server instance.
                                                    +
                                                    +
                                                      -
                                                    • +
                                                    • Constructor Summary

                                                      - +
                                                      - + + - + - + - + - +
                                                      Constructors 
                                                      Constructor and DescriptionConstructorDescription
                                                      Server(java.lang.Class<?>... configuration) +Server​(java.lang.Class<?>... configuration)
                                                      Create new server instance.
                                                      Server(java.util.Map<java.lang.String,java.lang.Object> properties, - java.lang.Class<?>... configuration) -
                                                      Create new server instance.
                                                      +
                                                      Server​(java.lang.String hostName, + int port, + java.lang.String contextPath, + java.util.Map<java.lang.String,​java.lang.Object> properties, + java.lang.Class<?>... configuration) +
                                                      Construct new server.
                                                      Server(java.lang.String hostName, +Server​(java.lang.String hostName, int port, java.lang.String contextPath, - java.util.Map<java.lang.String,java.lang.Object> properties, - java.lang.Class<?>... configuration) + java.util.Map<java.lang.String,​java.lang.Object> properties, + java.util.Set<java.lang.Class<?>> configuration)
                                                      Construct new server.
                                                      Server(java.lang.String hostName, - int port, - java.lang.String contextPath, - java.util.Map<java.lang.String,java.lang.Object> properties, - java.util.Set<java.lang.Class<?>> configuration) -
                                                      Construct new server.
                                                      +
                                                      Server​(java.util.Map<java.lang.String,​java.lang.Object> properties, + java.lang.Class<?>... configuration) +
                                                      Create new server instance.
                                                    +
                                                    +
                                                      -
                                                    • +
                                                    • Method Summary

                                                      - +
                                                      - + + - + - + + - + - +
                                                      All Methods Static Methods Instance Methods Concrete Methods 
                                                      Modifier and TypeMethod and DescriptionMethodDescription
                                                      intgetPort() +getPort()
                                                      Get the port which was used to start the container.
                                                      static voidmain(java.lang.String[] args) main​(java.lang.String[] args) 
                                                      voidstart() +start()
                                                      Start the server.
                                                      voidstop() +stop()
                                                      Stop the server.
                                                        -
                                                      • +
                                                      • Methods inherited from class java.lang.Object

                                                        @@ -231,6 +271,7 @@ extends java.lang.Object
                                                    +
                                                @@ -238,12 +279,13 @@ extends java.lang.Object
                                                • +
                                                  +
                                                  +
                                                    -
                                                  • +
                                                  • Constructor Detail

                                                    - +
                                                    • Server

                                                      -
                                                      public Server(java.lang.Class<?>... configuration)
                                                      +
                                                      public Server​(java.lang.Class<?>... configuration)
                                                      Create new server instance.
                                                      Parameters:
                                                      @@ -287,101 +331,103 @@ extends java.lang.Object
                                                    - +
                                                    • Server

                                                      -
                                                      public Server(java.util.Map<java.lang.String,java.lang.Object> properties,
                                                      +
                                                      public Server​(java.util.Map<java.lang.String,​java.lang.Object> properties,
                                                                     java.lang.Class<?>... configuration)
                                                      Create new server instance.
                                                      Parameters:
                                                      -
                                                      properties - properties used as a parameter to (java.util.Map) call.
                                                      +
                                                      properties - properties used as a parameter to (java.util.Map) call.
                                                      configuration - to be registered with the server. Classes annotated with ServerEndpoint, implementing ServerApplicationConfig or extending ServerEndpointConfig are supported.
                                                    - +
                                                    • Server

                                                      -
                                                      public Server(java.lang.String hostName,
                                                      +
                                                      public Server​(java.lang.String hostName,
                                                                     int port,
                                                                     java.lang.String contextPath,
                                                      -              java.util.Map<java.lang.String,java.lang.Object> properties,
                                                      +              java.util.Map<java.lang.String,​java.lang.Object> properties,
                                                                     java.lang.Class<?>... configuration)
                                                      Construct new server.
                                                      Parameters:
                                                      hostName - hostName of the server.
                                                      -
                                                      port - port of the server. When provided value is 0, default port () +
                                                      port - port of the server. When provided value is 0, default port (8025) will be used, when -1, ephemeral port number will be used.
                                                      contextPath - root path to the server App.
                                                      -
                                                      properties - properties used as a parameter to (java.util.Map) call.
                                                      +
                                                      properties - properties used as a parameter to (java.util.Map) call.
                                                      configuration - to be registered with the server. Classes annotated with ServerEndpoint, implementing ServerApplicationConfig or extending ServerEndpointConfig are supported.
                                                      See Also:
                                                      -
                                                      getPort()
                                                      +
                                                      getPort()
                                                    - +
                                                    • Server

                                                      -
                                                      public Server(java.lang.String hostName,
                                                      +
                                                      public Server​(java.lang.String hostName,
                                                                     int port,
                                                                     java.lang.String contextPath,
                                                      -              java.util.Map<java.lang.String,java.lang.Object> properties,
                                                      +              java.util.Map<java.lang.String,​java.lang.Object> properties,
                                                                     java.util.Set<java.lang.Class<?>> configuration)
                                                      Construct new server.
                                                      Parameters:
                                                      hostName - hostName of the server.
                                                      -
                                                      port - port of the server. When provided value is 0, default port () +
                                                      port - port of the server. When provided value is 0, default port (8025) will be used, when -1, ephemeral port number will be used.
                                                      contextPath - root path to the server App.
                                                      -
                                                      properties - properties used as a parameter to (java.util.Map) call.
                                                      +
                                                      properties - properties used as a parameter to (java.util.Map) call.
                                                      configuration - to be registered with the server. Classes annotated with ServerEndpoint, implementing ServerApplicationConfig or extending ServerEndpointConfig are supported.
                                                      See Also:
                                                      -
                                                      getPort()
                                                      +
                                                      getPort()
                                                  +
                                                  +
                                                    -
                                                  • +
                                                  • Method Detail

                                                    - +
                                                    • main

                                                      -
                                                      public static void main(java.lang.String[] args)
                                                      +
                                                      public static void main​(java.lang.String[] args)
                                                    - +
                                                    • start

                                                      -
                                                      public void start()
                                                      +
                                                      public void start()
                                                                  throws DeploymentException
                                                      Start the server.
                                                      @@ -390,13 +436,13 @@ extends java.lang.Object
                                                    - +
                                                    • getPort

                                                      -
                                                      public int getPort()
                                                      +
                                                      public int getPort()
                                                      Get the port which was used to start the container.
                                                      Returns:
                                                      @@ -404,33 +450,37 @@ extends java.lang.Object
                                                    - +
                                                    • stop

                                                      -
                                                      public void stop()
                                                      +
                                                      public void stop()
                                                      Stop the server.
                                                  +
                                                +
                                                + diff --git a/apidocs/latest1x/org/glassfish/tyrus/server/TyrusServerConfiguration.html b/apidocs/latest1x/org/glassfish/tyrus/server/TyrusServerConfiguration.html index 0daa6244..9254e637 100644 --- a/apidocs/latest1x/org/glassfish/tyrus/server/TyrusServerConfiguration.html +++ b/apidocs/latest1x/org/glassfish/tyrus/server/TyrusServerConfiguration.html @@ -1,44 +1,58 @@ - + - + +TyrusServerConfiguration (Tyrus 1.19 API) -TyrusServerConfiguration (Tyrus 1.18 API) - + + + + + + + + +var pathtoroot = "../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
                                                + +
                                                +
                                                -
                                                org.glassfish.tyrus.server
                                                +

                                                Class TyrusServerConfiguration

                                                @@ -110,10 +134,9 @@ var activeTableTab = "activeTableTab";
                                              • All Implemented Interfaces:
                                                -
                                                ServerApplicationConfig
                                                +
                                                ServerApplicationConfig

                                                -
                                                public class TyrusServerConfiguration
                                                 extends java.lang.Object
                                                 implements ServerApplicationConfig
                                                @@ -129,60 +152,69 @@ implements
                                              • +
                                                +
                                                +
                                              • @@ -399,19 +458,20 @@ implements
                                              • +
                                                +
                                                +
                                              • +
                                                + diff --git a/apidocs/latest1x/org/glassfish/tyrus/server/class-use/Server.html b/apidocs/latest1x/org/glassfish/tyrus/server/class-use/Server.html index 9c2a6049..4c9aa97d 100644 --- a/apidocs/latest1x/org/glassfish/tyrus/server/class-use/Server.html +++ b/apidocs/latest1x/org/glassfish/tyrus/server/class-use/Server.html @@ -1,40 +1,54 @@ - + - + +Uses of Class org.glassfish.tyrus.server.Server (Tyrus 1.19 API) -Uses of Class org.glassfish.tyrus.server.Server (Tyrus 1.18 API) - + + + + + + + + +var pathtoroot = "../../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
                                                + +
                                                +

                                                Uses of Class
                                                org.glassfish.tyrus.server.Server

                                                No usage of org.glassfish.tyrus.server.Server
                                                +
                                                + diff --git a/apidocs/latest1x/org/glassfish/tyrus/server/class-use/TyrusServerConfiguration.html b/apidocs/latest1x/org/glassfish/tyrus/server/class-use/TyrusServerConfiguration.html index a229b89a..462a1a12 100644 --- a/apidocs/latest1x/org/glassfish/tyrus/server/class-use/TyrusServerConfiguration.html +++ b/apidocs/latest1x/org/glassfish/tyrus/server/class-use/TyrusServerConfiguration.html @@ -1,40 +1,54 @@ - + - + +Uses of Class org.glassfish.tyrus.server.TyrusServerConfiguration (Tyrus 1.19 API) -Uses of Class org.glassfish.tyrus.server.TyrusServerConfiguration (Tyrus 1.18 API) - + + + + + + + + +var pathtoroot = "../../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
                                                + +
                                                +

                                                Uses of Class
                                                org.glassfish.tyrus.server.TyrusServerConfiguration

                                                No usage of org.glassfish.tyrus.server.TyrusServerConfiguration
                                                +
                                                + diff --git a/apidocs/latest1x/org/glassfish/tyrus/server/class-use/TyrusServerContainer.html b/apidocs/latest1x/org/glassfish/tyrus/server/class-use/TyrusServerContainer.html index 6458e120..95c65a75 100644 --- a/apidocs/latest1x/org/glassfish/tyrus/server/class-use/TyrusServerContainer.html +++ b/apidocs/latest1x/org/glassfish/tyrus/server/class-use/TyrusServerContainer.html @@ -1,40 +1,54 @@ - + - + +Uses of Class org.glassfish.tyrus.server.TyrusServerContainer (Tyrus 1.19 API) -Uses of Class org.glassfish.tyrus.server.TyrusServerContainer (Tyrus 1.18 API) - + + + + + + + + +var pathtoroot = "../../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
                                                + +
                                                +

                                                Uses of Class
                                                org.glassfish.tyrus.server.TyrusServerContainer

                                                No usage of org.glassfish.tyrus.server.TyrusServerContainer
                                                +
                                                + diff --git a/apidocs/latest1x/org/glassfish/tyrus/server/package-frame.html b/apidocs/latest1x/org/glassfish/tyrus/server/package-frame.html deleted file mode 100644 index c8a415d6..00000000 --- a/apidocs/latest1x/org/glassfish/tyrus/server/package-frame.html +++ /dev/null @@ -1,23 +0,0 @@ - - - - - - -org.glassfish.tyrus.server (Tyrus 1.18 API) - - - - - -

                                                org.glassfish.tyrus.server

                                                - - - diff --git a/apidocs/latest1x/org/glassfish/tyrus/server/package-summary.html b/apidocs/latest1x/org/glassfish/tyrus/server/package-summary.html index 52c5299f..68f2b068 100644 --- a/apidocs/latest1x/org/glassfish/tyrus/server/package-summary.html +++ b/apidocs/latest1x/org/glassfish/tyrus/server/package-summary.html @@ -1,38 +1,52 @@ - + - + +org.glassfish.tyrus.server (Tyrus 1.19 API) -org.glassfish.tyrus.server (Tyrus 1.18 API) - + + + + + + + + +var pathtoroot = "../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
                                                + +
                                                +

                                                Package org.glassfish.tyrus.server

                                                -
                                                -
                                                Server implementation.
                                                -
                                                -

                                                See: Description

                                                +
                                                + + +
                                                Server implementation.
                                                +
                                                - - - -

                                                Package org.glassfish.tyrus.server Description

                                                -
                                                Server implementation.
                                                +
                                                + diff --git a/apidocs/latest1x/org/glassfish/tyrus/server/package-tree.html b/apidocs/latest1x/org/glassfish/tyrus/server/package-tree.html index 45a50bbc..cda237bd 100644 --- a/apidocs/latest1x/org/glassfish/tyrus/server/package-tree.html +++ b/apidocs/latest1x/org/glassfish/tyrus/server/package-tree.html @@ -1,38 +1,52 @@ - + - + +org.glassfish.tyrus.server Class Hierarchy (Tyrus 1.19 API) -org.glassfish.tyrus.server Class Hierarchy (Tyrus 1.18 API) - + + + + + + + + +var pathtoroot = "../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
                                                + +
                                                +

                                                Hierarchy For Package org.glassfish.tyrus.server

                                                Package Hierarchies: @@ -78,35 +102,40 @@
                                                +

                                                Class Hierarchy

                                                +
                                                +
                                                + diff --git a/apidocs/latest1x/org/glassfish/tyrus/server/package-use.html b/apidocs/latest1x/org/glassfish/tyrus/server/package-use.html index 02bbd339..a7996732 100644 --- a/apidocs/latest1x/org/glassfish/tyrus/server/package-use.html +++ b/apidocs/latest1x/org/glassfish/tyrus/server/package-use.html @@ -1,38 +1,52 @@ - + - + +Uses of Package org.glassfish.tyrus.server (Tyrus 1.19 API) -Uses of Package org.glassfish.tyrus.server (Tyrus 1.18 API) - + + + + + + + + +var pathtoroot = "../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
                                                + +
                                                +

                                                Uses of Package
                                                org.glassfish.tyrus.server

                                                No usage of org.glassfish.tyrus.server
                                                +
                                                + diff --git a/apidocs/latest1x/org/glassfish/tyrus/servlet/TyrusHttpUpgradeHandler.html b/apidocs/latest1x/org/glassfish/tyrus/servlet/TyrusHttpUpgradeHandler.html index 866989ee..af552202 100644 --- a/apidocs/latest1x/org/glassfish/tyrus/servlet/TyrusHttpUpgradeHandler.html +++ b/apidocs/latest1x/org/glassfish/tyrus/servlet/TyrusHttpUpgradeHandler.html @@ -1,44 +1,58 @@ - + - + +TyrusHttpUpgradeHandler (Tyrus 1.19 API) -TyrusHttpUpgradeHandler (Tyrus 1.18 API) - + + + + + + + + +var pathtoroot = "../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
                                                + +
                                                +
                                                -
                                                org.glassfish.tyrus.servlet
                                                +

                                                Class TyrusHttpUpgradeHandler

                                                @@ -110,10 +134,9 @@ var activeTableTab = "activeTableTab";
                                              • All Implemented Interfaces:
                                                -
                                                java.util.EventListener, javax.servlet.http.HttpUpgradeHandler, javax.servlet.ReadListener
                                                +
                                                java.util.EventListener, javax.servlet.http.HttpUpgradeHandler, javax.servlet.ReadListener

                                                -
                                                public class TyrusHttpUpgradeHandler
                                                 extends java.lang.Object
                                                 implements javax.servlet.http.HttpUpgradeHandler, javax.servlet.ReadListener
                                                @@ -131,96 +154,115 @@ implements javax.servlet.http.HttpUpgradeHandler, javax.servlet.ReadListener
                                              • +
                                                +
                                                +
                                                +
                                                +
                                              • @@ -235,12 +278,13 @@ implements javax.servlet.http.HttpUpgradeHandler, javax.servlet.ReadListener
                                              • +
                                                  -
                                                • +
                                                • Field Detail

                                                  - +
                                                    @@ -255,13 +299,15 @@ implements javax.servlet.http.HttpUpgradeHandler, javax.servlet.ReadListener
                                                  +
                                                +
                                                  -
                                                • +
                                                • Constructor Detail

                                                  - +
                                                    @@ -272,140 +318,146 @@ implements javax.servlet.http.HttpUpgradeHandler, javax.servlet.ReadListener
                                                  +
                                                +
                                                  -
                                                • +
                                                • Method Detail

                                                  - +
                                                  • init

                                                    -
                                                    public void init(javax.servlet.http.WebConnection wc)
                                                    +
                                                    public void init​(javax.servlet.http.WebConnection wc)
                                                    Specified by:
                                                    init in interface javax.servlet.http.HttpUpgradeHandler
                                                  - + - +
                                                  • onDataAvailable

                                                    -
                                                    public void onDataAvailable()
                                                    +
                                                    public void onDataAvailable()
                                                    Specified by:
                                                    onDataAvailable in interface javax.servlet.ReadListener
                                                  - +
                                                  • onAllDataRead

                                                    -
                                                    public void onAllDataRead()
                                                    +
                                                    public void onAllDataRead()
                                                    Specified by:
                                                    onAllDataRead in interface javax.servlet.ReadListener
                                                  - +
                                                  • onError

                                                    -
                                                    public void onError(java.lang.Throwable t)
                                                    +
                                                    public void onError​(java.lang.Throwable t)
                                                    Specified by:
                                                    onError in interface javax.servlet.ReadListener
                                                  - +
                                                  • destroy

                                                    -
                                                    public void destroy()
                                                    +
                                                    public void destroy()
                                                    Specified by:
                                                    destroy in interface javax.servlet.http.HttpUpgradeHandler
                                                  - +
                                                  • sessionDestroyed

                                                    -
                                                    public void sessionDestroyed()
                                                    +
                                                    public void sessionDestroyed()
                                                    Called when related HttpSession is destroyed or invalidated.

                                                    Implementation is required to call onClose() on server-side with corresponding close code (1008, see WebSocket spec 7.2) - only when there is an authorized user for this session.

                                                  - +
                                                  • toString

                                                    -
                                                    public java.lang.String toString()
                                                    +
                                                    public java.lang.String toString()
                                                    Overrides:
                                                    toString in class java.lang.Object
                                                  - +
                                                  • setIncomingBufferSize

                                                    -
                                                    public void setIncomingBufferSize(int incomingBufferSize)
                                                    +
                                                    public void setIncomingBufferSize​(int incomingBufferSize)
                                                +
                                              • +
                                                + diff --git a/apidocs/latest1x/org/glassfish/tyrus/servlet/TyrusServletContainerInitializer.html b/apidocs/latest1x/org/glassfish/tyrus/servlet/TyrusServletContainerInitializer.html index 9adc9ca8..933095f1 100644 --- a/apidocs/latest1x/org/glassfish/tyrus/servlet/TyrusServletContainerInitializer.html +++ b/apidocs/latest1x/org/glassfish/tyrus/servlet/TyrusServletContainerInitializer.html @@ -1,44 +1,58 @@ - + - + +TyrusServletContainerInitializer (Tyrus 1.19 API) -TyrusServletContainerInitializer (Tyrus 1.18 API) - + + + + + + + + +var pathtoroot = "../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
                                                + +
                                                +
                                                -
                                                org.glassfish.tyrus.servlet
                                                +

                                                Class TyrusServletContainerInitializer

                                                @@ -110,10 +134,9 @@ var activeTableTab = "activeTableTab";
                                              • All Implemented Interfaces:
                                                -
                                                javax.servlet.ServletContainerInitializer
                                                +
                                                javax.servlet.ServletContainerInitializer

                                                -
                                                public class TyrusServletContainerInitializer
                                                 extends java.lang.Object
                                                 implements javax.servlet.ServletContainerInitializer
                                                @@ -131,42 +154,49 @@ implements javax.servlet.ServletContainerInitializer
                                                • +
                                                  +
                                                  +
                                                    -
                                                  • +
                                                  • Method Summary

                                                    - +
                                                    - + + - + +
                                                    All Methods Instance Methods Concrete Methods 
                                                    Modifier and TypeMethod and DescriptionMethodDescription
                                                    voidonStartup(java.util.Set<java.lang.Class<?>> classes, - javax.servlet.ServletContext ctx) onStartup​(java.util.Set<java.lang.Class<?>> classes, + javax.servlet.ServletContext ctx) 
                                                      -
                                                    • +
                                                    • Methods inherited from class java.lang.Object

                                                      @@ -174,6 +204,7 @@ implements javax.servlet.ServletContainerInitializer
                                                  +
                                              • @@ -181,12 +212,13 @@ implements javax.servlet.ServletContainerInitializer
                                                • +
                                                    -
                                                  • +
                                                  • Constructor Detail

                                                    - +
                                                      @@ -197,19 +229,21 @@ implements javax.servlet.ServletContainerInitializer
                                                  +
                                                  +
                                                    -
                                                  • +
                                                  • Method Detail

                                                    - +
                                                    • onStartup

                                                      -
                                                      public void onStartup(java.util.Set<java.lang.Class<?>> classes,
                                                      +
                                                      public void onStartup​(java.util.Set<java.lang.Class<?>> classes,
                                                                             javax.servlet.ServletContext ctx)
                                                                      throws javax.servlet.ServletException
                                                      @@ -222,21 +256,25 @@ implements javax.servlet.ServletContainerInitializer
                                                  +
                                                +
                                                + diff --git a/apidocs/latest1x/org/glassfish/tyrus/servlet/class-use/TyrusHttpUpgradeHandler.html b/apidocs/latest1x/org/glassfish/tyrus/servlet/class-use/TyrusHttpUpgradeHandler.html index 95bc488a..3f071a33 100644 --- a/apidocs/latest1x/org/glassfish/tyrus/servlet/class-use/TyrusHttpUpgradeHandler.html +++ b/apidocs/latest1x/org/glassfish/tyrus/servlet/class-use/TyrusHttpUpgradeHandler.html @@ -1,40 +1,54 @@ - + - + +Uses of Class org.glassfish.tyrus.servlet.TyrusHttpUpgradeHandler (Tyrus 1.19 API) -Uses of Class org.glassfish.tyrus.servlet.TyrusHttpUpgradeHandler (Tyrus 1.18 API) - + + + + + + + + +var pathtoroot = "../../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
                                                + +
                                                +

                                                Uses of Class
                                                org.glassfish.tyrus.servlet.TyrusHttpUpgradeHandler

                                                No usage of org.glassfish.tyrus.servlet.TyrusHttpUpgradeHandler
                                                +
                                                + diff --git a/apidocs/latest1x/org/glassfish/tyrus/servlet/class-use/TyrusServletContainerInitializer.html b/apidocs/latest1x/org/glassfish/tyrus/servlet/class-use/TyrusServletContainerInitializer.html index 1c12e911..6e491119 100644 --- a/apidocs/latest1x/org/glassfish/tyrus/servlet/class-use/TyrusServletContainerInitializer.html +++ b/apidocs/latest1x/org/glassfish/tyrus/servlet/class-use/TyrusServletContainerInitializer.html @@ -1,40 +1,54 @@ - + - + +Uses of Class org.glassfish.tyrus.servlet.TyrusServletContainerInitializer (Tyrus 1.19 API) -Uses of Class org.glassfish.tyrus.servlet.TyrusServletContainerInitializer (Tyrus 1.18 API) - + + + + + + + + +var pathtoroot = "../../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
                                                + +
                                                +

                                                Uses of Class
                                                org.glassfish.tyrus.servlet.TyrusServletContainerInitializer

                                                No usage of org.glassfish.tyrus.servlet.TyrusServletContainerInitializer
                                                +
                                                + diff --git a/apidocs/latest1x/org/glassfish/tyrus/servlet/package-frame.html b/apidocs/latest1x/org/glassfish/tyrus/servlet/package-frame.html deleted file mode 100644 index a3ce9e0f..00000000 --- a/apidocs/latest1x/org/glassfish/tyrus/servlet/package-frame.html +++ /dev/null @@ -1,22 +0,0 @@ - - - - - - -org.glassfish.tyrus.servlet (Tyrus 1.18 API) - - - - - -

                                                org.glassfish.tyrus.servlet

                                                - - - diff --git a/apidocs/latest1x/org/glassfish/tyrus/servlet/package-summary.html b/apidocs/latest1x/org/glassfish/tyrus/servlet/package-summary.html index 5aafeaf9..9274d97b 100644 --- a/apidocs/latest1x/org/glassfish/tyrus/servlet/package-summary.html +++ b/apidocs/latest1x/org/glassfish/tyrus/servlet/package-summary.html @@ -1,38 +1,52 @@ - + - + +org.glassfish.tyrus.servlet (Tyrus 1.19 API) -org.glassfish.tyrus.servlet (Tyrus 1.18 API) - + + + + + + + + +var pathtoroot = "../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
                                                + +
                                                +

                                                Package org.glassfish.tyrus.servlet

                                                -
                                                -
                                                Servlet 3.1 integration.
                                                -
                                                -

                                                See: Description

                                                +
                                                + + +
                                                Servlet 3.1 integration.
                                                +
                                                - - - -

                                                Package org.glassfish.tyrus.servlet Description

                                                -
                                                Servlet 3.1 integration.
                                                +
                                                + diff --git a/apidocs/latest1x/org/glassfish/tyrus/servlet/package-tree.html b/apidocs/latest1x/org/glassfish/tyrus/servlet/package-tree.html index 5bfb1215..942242ac 100644 --- a/apidocs/latest1x/org/glassfish/tyrus/servlet/package-tree.html +++ b/apidocs/latest1x/org/glassfish/tyrus/servlet/package-tree.html @@ -1,38 +1,52 @@ - + - + +org.glassfish.tyrus.servlet Class Hierarchy (Tyrus 1.19 API) -org.glassfish.tyrus.servlet Class Hierarchy (Tyrus 1.18 API) - + + + + + + + + +var pathtoroot = "../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
                                                + +
                                                +

                                                Hierarchy For Package org.glassfish.tyrus.servlet

                                                Package Hierarchies: @@ -78,26 +102,31 @@
                                                +

                                                Class Hierarchy

                                                +
                                                +
                                                + diff --git a/apidocs/latest1x/org/glassfish/tyrus/servlet/package-use.html b/apidocs/latest1x/org/glassfish/tyrus/servlet/package-use.html index 88ad3dc4..66a2cf75 100644 --- a/apidocs/latest1x/org/glassfish/tyrus/servlet/package-use.html +++ b/apidocs/latest1x/org/glassfish/tyrus/servlet/package-use.html @@ -1,38 +1,52 @@ - + - + +Uses of Package org.glassfish.tyrus.servlet (Tyrus 1.19 API) -Uses of Package org.glassfish.tyrus.servlet (Tyrus 1.18 API) - + + + + + + + + +var pathtoroot = "../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
                                                + +
                                                +

                                                Uses of Package
                                                org.glassfish.tyrus.servlet

                                                No usage of org.glassfish.tyrus.servlet
                                                +
                                                + diff --git a/apidocs/latest1x/org/glassfish/tyrus/spi/ClientContainer.html b/apidocs/latest1x/org/glassfish/tyrus/spi/ClientContainer.html index 3148c7a7..5409e6e1 100644 --- a/apidocs/latest1x/org/glassfish/tyrus/spi/ClientContainer.html +++ b/apidocs/latest1x/org/glassfish/tyrus/spi/ClientContainer.html @@ -1,44 +1,58 @@ - + - + +ClientContainer (Tyrus 1.19 API) -ClientContainer (Tyrus 1.18 API) - + + + + + + + + +var pathtoroot = "../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
                                                + +
                                                +
                                                -
                                                org.glassfish.tyrus.spi
                                                +

                                                Interface ClientContainer

                                                @@ -102,10 +126,9 @@ var activeTableTab = "activeTableTab";
                                              • All Known Implementing Classes:
                                                -
                                                GrizzlyClientContainer
                                                +
                                                GrizzlyClientContainer

                                                -
                                                public interface ClientContainer
                                                Entry point for client implementation.
                                                @@ -119,57 +142,66 @@ var activeTableTab = "activeTableTab";
                                              • @@ -177,22 +209,25 @@ var activeTableTab = "activeTableTab"; +
                                                + diff --git a/apidocs/latest1x/org/glassfish/tyrus/spi/ClientEngine.ClientUpgradeInfo.html b/apidocs/latest1x/org/glassfish/tyrus/spi/ClientEngine.ClientUpgradeInfo.html index 2b16783e..020bddb3 100644 --- a/apidocs/latest1x/org/glassfish/tyrus/spi/ClientEngine.ClientUpgradeInfo.html +++ b/apidocs/latest1x/org/glassfish/tyrus/spi/ClientEngine.ClientUpgradeInfo.html @@ -1,44 +1,58 @@ - + - + +ClientEngine.ClientUpgradeInfo (Tyrus 1.19 API) -ClientEngine.ClientUpgradeInfo (Tyrus 1.18 API) - + + + + + + + + +var pathtoroot = "../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
                                                + +
                                                +
                                                -
                                                org.glassfish.tyrus.spi
                                                +

                                                Interface ClientEngine.ClientUpgradeInfo

                                                @@ -102,30 +126,29 @@ var activeTableTab = "activeTableTab";
                                              • Enclosing interface:
                                                -
                                                ClientEngine
                                                +
                                                ClientEngine

                                                -
                                                public static interface ClientEngine.ClientUpgradeInfo
                                                Upgrade process result.

                                                Provides information about upgrade process. There are three possible states which can be reported:

                                                - When getUpgradeStatus() returns ClientEngine.ClientUpgradeStatus.SUCCESS, client container can create - Connection and start processing read events from the underlying connection and report them to Tyrus + When getUpgradeStatus() returns ClientEngine.ClientUpgradeStatus.SUCCESS, client container can create + Connection and start processing read events from the underlying connection and report them to Tyrus runtime.

                                                - When getUpgradeStatus() returns ClientEngine.ClientUpgradeStatus.UPGRADE_REQUEST_FAILED, client container - HAS TO close all resources related to currently processed UpgradeResponse. + When getUpgradeStatus() returns ClientEngine.ClientUpgradeStatus.UPGRADE_REQUEST_FAILED, client container + HAS TO close all resources related to currently processed UpgradeResponse.

                                                - When getUpgradeStatus() returns ClientEngine.ClientUpgradeStatus.ANOTHER_UPGRADE_REQUEST_REQUIRED, client - container HAS TO close all resources related to currently processed UpgradeResponse, open new TCP - connection and send UpgradeRequest obtained from method ClientEngine.createUpgradeRequest(TimeoutHandler).

                                                + When getUpgradeStatus() returns ClientEngine.ClientUpgradeStatus.ANOTHER_UPGRADE_REQUEST_REQUIRED, client + container HAS TO close all resources related to currently processed UpgradeResponse, open new TCP + connection and send UpgradeRequest obtained from method ClientEngine.createUpgradeRequest(TimeoutHandler).
                                              • @@ -133,32 +156,37 @@ var activeTableTab = "activeTableTab"; @@ -166,57 +194,62 @@ var activeTableTab = "activeTableTab"; +
                                                + diff --git a/apidocs/latest1x/org/glassfish/tyrus/spi/ClientEngine.ClientUpgradeStatus.html b/apidocs/latest1x/org/glassfish/tyrus/spi/ClientEngine.ClientUpgradeStatus.html index f0f93da5..17cafba4 100644 --- a/apidocs/latest1x/org/glassfish/tyrus/spi/ClientEngine.ClientUpgradeStatus.html +++ b/apidocs/latest1x/org/glassfish/tyrus/spi/ClientEngine.ClientUpgradeStatus.html @@ -1,44 +1,58 @@ - + - + +ClientEngine.ClientUpgradeStatus (Tyrus 1.19 API) -ClientEngine.ClientUpgradeStatus (Tyrus 1.18 API) - + + + + + + + + +var pathtoroot = "../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
                                                + +
                                                +
                                                -
                                                org.glassfish.tyrus.spi
                                                +

                                                Enum ClientEngine.ClientUpgradeStatus

                                                @@ -101,7 +125,7 @@ var activeTableTab = "activeTableTab";
                                              • java.lang.Object
                                              • @@ -135,69 +158,79 @@ extends java.lang.Enum<
                                              • +
                                                +
                                                +
                                                +
                                              • @@ -212,66 +246,69 @@ the order they are declared. +
                                                + diff --git a/apidocs/latest1x/org/glassfish/tyrus/spi/ClientEngine.TimeoutHandler.html b/apidocs/latest1x/org/glassfish/tyrus/spi/ClientEngine.TimeoutHandler.html index 0ae8248e..4d0b5c25 100644 --- a/apidocs/latest1x/org/glassfish/tyrus/spi/ClientEngine.TimeoutHandler.html +++ b/apidocs/latest1x/org/glassfish/tyrus/spi/ClientEngine.TimeoutHandler.html @@ -1,44 +1,58 @@ - + - + +ClientEngine.TimeoutHandler (Tyrus 1.19 API) -ClientEngine.TimeoutHandler (Tyrus 1.18 API) - + + + + + + + + +var pathtoroot = "../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
                                                + +
                                                +
                                                -
                                                org.glassfish.tyrus.spi
                                                +

                                                Interface ClientEngine.TimeoutHandler

                                                @@ -102,10 +126,9 @@ var activeTableTab = "activeTableTab";
                                              • Enclosing interface:
                                                -
                                                ClientEngine
                                                +
                                                ClientEngine

                                                -
                                                public static interface ClientEngine.TimeoutHandler
                                                Indicates to container that handshake timeout was reached.
                                              • @@ -115,26 +138,30 @@ var activeTableTab = "activeTableTab";
                                                @@ -142,39 +169,44 @@ var activeTableTab = "activeTableTab";
                                                • +
                                                    -
                                                  • +
                                                  • Method Detail

                                                    - +
                                                    • handleTimeout

                                                      -
                                                      void handleTimeout()
                                                      -
                                                      Invoked when timeout is reached. Container is supposed to clean all resources related to ClientEngine +
                                                      void handleTimeout()
                                                      +
                                                      Invoked when timeout is reached. Container is supposed to clean all resources related to ClientEngine instance.
                                                  +
                                                +
                                                + diff --git a/apidocs/latest1x/org/glassfish/tyrus/spi/ClientEngine.html b/apidocs/latest1x/org/glassfish/tyrus/spi/ClientEngine.html index 6d4a781f..ee3f13d5 100644 --- a/apidocs/latest1x/org/glassfish/tyrus/spi/ClientEngine.html +++ b/apidocs/latest1x/org/glassfish/tyrus/spi/ClientEngine.html @@ -1,44 +1,58 @@ - + - + +ClientEngine (Tyrus 1.19 API) -ClientEngine (Tyrus 1.18 API) - + + + + + + + + +var pathtoroot = "../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
                                                + +
                                                +
                                                -
                                                org.glassfish.tyrus.spi
                                                +

                                                Interface ClientEngine

                                                @@ -102,10 +126,9 @@ var activeTableTab = "activeTableTab";
                                              • All Known Implementing Classes:
                                                -
                                                TyrusClientEngine
                                                +
                                                TyrusClientEngine

                                                -
                                                public interface ClientEngine
                                                Facade for handling client operations from containers.
                                                @@ -119,73 +142,85 @@ var activeTableTab = "activeTableTab";
                                              • @@ -193,22 +228,23 @@ var activeTableTab = "activeTableTab"; +
                                                + diff --git a/apidocs/latest1x/org/glassfish/tyrus/spi/CompletionHandler.html b/apidocs/latest1x/org/glassfish/tyrus/spi/CompletionHandler.html index 7232256b..f4dfc73b 100644 --- a/apidocs/latest1x/org/glassfish/tyrus/spi/CompletionHandler.html +++ b/apidocs/latest1x/org/glassfish/tyrus/spi/CompletionHandler.html @@ -1,44 +1,58 @@ - + - + +CompletionHandler (Tyrus 1.19 API) -CompletionHandler (Tyrus 1.18 API) - + + + + + + + + +var pathtoroot = "../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
                                                + +
                                                +
                                                -
                                                org.glassfish.tyrus.spi
                                                +

                                                Class CompletionHandler<E>

                                                @@ -113,7 +137,6 @@ var activeTableTab = "activeTableTab";
                                                E - result type.

                                                -
                                                public abstract class CompletionHandler<E>
                                                 extends java.lang.Object
                                                A callback to notify about asynchronous I/O operations status updates.
                                                @@ -128,62 +151,72 @@ extends java.lang.Object
                                                • +
                                                  +
                                                  +
                                                    -
                                                  • +
                                                  • Method Summary

                                                    - +
                                                    - + + - + - + - + - +
                                                    All Methods Instance Methods Concrete Methods 
                                                    Modifier and TypeMethod and DescriptionMethodDescription
                                                    voidcancelled() +cancelled()
                                                    The operation was cancelled.
                                                    voidcompleted(E result) +completed​(E result)
                                                    The operation was completed.
                                                    voidfailed(java.lang.Throwable throwable) +failed​(java.lang.Throwable throwable)
                                                    The operation was failed.
                                                    voidupdated(E result) +updated​(E result)
                                                    The callback method may be called, when there is some progress in operation execution, but it is still not completed.
                                                      -
                                                    • +
                                                    • Methods inherited from class java.lang.Object

                                                      @@ -191,6 +224,7 @@ extends java.lang.Object
                                                  +
                                                @@ -198,12 +232,13 @@ extends java.lang.Object
                                                • +
                                                    -
                                                  • +
                                                  • Constructor Detail

                                                    - +
                                                      @@ -214,29 +249,31 @@ extends java.lang.Object
                                                  +
                                                  +
                                                    -
                                                  • +
                                                  • Method Detail

                                                    - +
                                                    • cancelled

                                                      -
                                                      public void cancelled()
                                                      +
                                                      public void cancelled()
                                                      The operation was cancelled.
                                                    - +
                                                    • failed

                                                      -
                                                      public void failed(java.lang.Throwable throwable)
                                                      +
                                                      public void failed​(java.lang.Throwable throwable)
                                                      The operation was failed.
                                                      Parameters:
                                                      @@ -244,15 +281,15 @@ extends java.lang.Object
                                                    - + - +
                                                    • completed

                                                      -
                                                      public void completed(E result)
                                                      +
                                                      public void completed​(E result)
                                                      The operation was completed.
                                                      Parameters:
                                                      @@ -260,15 +297,15 @@ extends java.lang.Object
                                                    - + - +
                                                    • updated

                                                      -
                                                      public void updated(E result)
                                                      +
                                                      public void updated​(E result)
                                                      The callback method may be called, when there is some progress in operation execution, but it is still not completed.
                                                      @@ -279,21 +316,25 @@ extends java.lang.Object
                                                  +
                                                +
                                                + diff --git a/apidocs/latest1x/org/glassfish/tyrus/spi/Connection.CloseListener.html b/apidocs/latest1x/org/glassfish/tyrus/spi/Connection.CloseListener.html index ef11b22f..637b060a 100644 --- a/apidocs/latest1x/org/glassfish/tyrus/spi/Connection.CloseListener.html +++ b/apidocs/latest1x/org/glassfish/tyrus/spi/Connection.CloseListener.html @@ -1,44 +1,58 @@ - + - + +Connection.CloseListener (Tyrus 1.19 API) -Connection.CloseListener (Tyrus 1.18 API) - + + + + + + + + +var pathtoroot = "../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
                                                + +
                                                +
                                                -
                                                org.glassfish.tyrus.spi
                                                +

                                                Interface Connection.CloseListener

                                                @@ -102,10 +126,9 @@ var activeTableTab = "activeTableTab";
                                              • Enclosing interface:
                                                -
                                                Connection
                                                +
                                                Connection

                                                -
                                                public static interface Connection.CloseListener
                                                Transport close listener that receives connection close notifications from Tyrus.
                                                @@ -116,26 +139,30 @@ var activeTableTab = "activeTableTab";
                                              • @@ -143,18 +170,19 @@ var activeTableTab = "activeTableTab";
                                                • +
                                                    -
                                                  • +
                                                  • Method Detail

                                                    - +
                                                    • close

                                                      -
                                                      void close(CloseReason reason)
                                                      +
                                                      void close​(CloseReason reason)
                                                      Tyrus notifies that logical connection is closed.
                                                      Parameters:
                                                      @@ -164,21 +192,25 @@ var activeTableTab = "activeTableTab";
                                                  +
                                                +
                                                + diff --git a/apidocs/latest1x/org/glassfish/tyrus/spi/Connection.html b/apidocs/latest1x/org/glassfish/tyrus/spi/Connection.html index 9ab24b59..a487da8e 100644 --- a/apidocs/latest1x/org/glassfish/tyrus/spi/Connection.html +++ b/apidocs/latest1x/org/glassfish/tyrus/spi/Connection.html @@ -1,44 +1,58 @@ - + - + +Connection (Tyrus 1.19 API) -Connection (Tyrus 1.18 API) - + + + + + + + + +var pathtoroot = "../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
                                                + +
                                                +
                                                -
                                                org.glassfish.tyrus.spi
                                                +

                                                Interface Connection

                                                @@ -101,11 +125,10 @@ var activeTableTab = "activeTableTab";

                                                • -
                                                  public interface Connection
                                                  A logical websocket connection. Tyrus creates this connection after - successful upgrade and gets data from ReadHandler and writes data - to Writer.
                                                  + successful upgrade and gets data from ReadHandler and writes data + to Writer.
                                                @@ -113,20 +136,23 @@ var activeTableTab = "activeTableTab"; @@ -184,18 +218,19 @@ var activeTableTab = "activeTableTab";
                                                • +
                                                    -
                                                  • +
                                                  • Method Detail

                                                    - +
                                                    • getReadHandler

                                                      -
                                                      ReadHandler getReadHandler()
                                                      +
                                                      ReadHandler getReadHandler()
                                                      Returns a read handler. A transport can pass websocket data to tyrus using the handler.
                                                      @@ -204,15 +239,15 @@ var activeTableTab = "activeTableTab";
                                                    - +
                                                    • getWriter

                                                      -
                                                      Writer getWriter()
                                                      +
                                                      Writer getWriter()
                                                      Returns the same writer that is passed for creating connection in - WebSocketEngine.UpgradeInfo#createConnection(Writer, CloseListener) + WebSocketEngine.UpgradeInfo.createConnection(Writer, CloseListener) The transport writer that actually writes websocket data to underlying connection.
                                                      @@ -222,15 +257,15 @@ var activeTableTab = "activeTableTab";
                                                    - + - +
                                                    • close

                                                      -
                                                      void close(CloseReason reason)
                                                      +
                                                      void close​(CloseReason reason)
                                                      Notifies tyrus that underlying transport is closing the connection.
                                                      Parameters:
                                                      @@ -256,21 +291,25 @@ var activeTableTab = "activeTableTab";
                                                  +
                                                +
                                                + diff --git a/apidocs/latest1x/org/glassfish/tyrus/spi/ReadHandler.html b/apidocs/latest1x/org/glassfish/tyrus/spi/ReadHandler.html index 50c71214..58242f0b 100644 --- a/apidocs/latest1x/org/glassfish/tyrus/spi/ReadHandler.html +++ b/apidocs/latest1x/org/glassfish/tyrus/spi/ReadHandler.html @@ -1,44 +1,58 @@ - + - + +ReadHandler (Tyrus 1.19 API) -ReadHandler (Tyrus 1.18 API) - + + + + + + + + +var pathtoroot = "../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
                                                + +
                                                +
                                                -
                                                org.glassfish.tyrus.spi
                                                +

                                                Interface ReadHandler

                                                @@ -101,7 +125,6 @@ var activeTableTab = "activeTableTab";

                                                • -
                                                  public interface ReadHandler
                                                  Read handler provides a way for a transport to pass websocket connection data to tyrus runtime. A transport reads websocket data for an @@ -109,7 +132,7 @@ var activeTableTab = "activeTableTab";

                                                  An implementation of this interface is created by tyrus runtime. Once a transport completes a successful upgrade for a connection, the transport - can get hold of the handler using Connection.getReadHandler().

                                                  + can get hold of the handler using Connection.getReadHandler().
                                                @@ -117,20 +140,23 @@ var activeTableTab = "activeTableTab";
                                                • +
                                                    -
                                                  • +
                                                  • Method Summary

                                                    - +
                                                    - + + - + @@ -138,6 +164,7 @@ var activeTableTab = "activeTableTab";
                                                    All Methods Instance Methods Abstract Methods 
                                                    Modifier and TypeMethod and DescriptionMethodDescription
                                                    voidhandle(java.nio.ByteBuffer data) +handle​(java.nio.ByteBuffer data)
                                                    A transport reads websocket data and invokes this method to handover websocket data for a connection to tyrus runtime.
                                                  +
                                                @@ -145,18 +172,19 @@ var activeTableTab = "activeTableTab";
                                                • +
                                                    -
                                                  • +
                                                  • Method Detail

                                                    - +
                                                    • handle

                                                      -
                                                      void handle(java.nio.ByteBuffer data)
                                                      +
                                                      void handle​(java.nio.ByteBuffer data)
                                                      A transport reads websocket data and invokes this method to handover websocket data for a connection to tyrus runtime. The runtime consumes as much data as possible from the byte buffer. If there is some @@ -171,21 +199,25 @@ var activeTableTab = "activeTableTab";
                                                  +
                                                +
                                                + diff --git a/apidocs/latest1x/org/glassfish/tyrus/spi/ServerContainer.html b/apidocs/latest1x/org/glassfish/tyrus/spi/ServerContainer.html index 46176592..d9e2fc2d 100644 --- a/apidocs/latest1x/org/glassfish/tyrus/spi/ServerContainer.html +++ b/apidocs/latest1x/org/glassfish/tyrus/spi/ServerContainer.html @@ -1,44 +1,58 @@ - + - + +ServerContainer (Tyrus 1.19 API) -ServerContainer (Tyrus 1.18 API) - + + + + + + + + +var pathtoroot = "../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
                                                + +
                                                +
                                                -
                                                org.glassfish.tyrus.spi
                                                +

                                                Interface ServerContainer

                                                @@ -102,10 +126,13 @@ var activeTableTab = "activeTableTab";
                                              • All Superinterfaces:
                                                -
                                                ServerContainer, WebSocketContainer
                                                +
                                                ServerContainer, WebSocketContainer
                                                +
                                                +
                                                +
                                                All Known Implementing Classes:
                                                +
                                                TyrusServerContainer

                                                -
                                                public interface ServerContainer
                                                 extends ServerContainer
                                                HTTP server abstraction. @@ -122,53 +149,59 @@ extends
                                              • +
                                                +
                                              • @@ -176,18 +209,19 @@ extends
                                              • +
                                                  -
                                                • +
                                                • Method Detail

                                                  - +
                                                  • start

                                                    -
                                                    void start(java.lang.String rootPath,
                                                    +
                                                    void start​(java.lang.String rootPath,
                                                                int port)
                                                         throws java.io.IOException,
                                                                DeploymentException
                                                    @@ -206,23 +240,23 @@ extends
                                                  - +
                                                  • stop

                                                    -
                                                    void stop()
                                                    +
                                                    void stop()
                                                    Stop the server.
                                                  - +
                                                  • getWebSocketEngine

                                                    -
                                                    WebSocketEngine getWebSocketEngine()
                                                    +
                                                    WebSocketEngine getWebSocketEngine()
                                                    Return WebSocketEngine to upgrade requests and setting up the connection.
                                                    Returns:
                                                    @@ -232,21 +266,25 @@ extends
                                                  +
                                              • +
                                                + diff --git a/apidocs/latest1x/org/glassfish/tyrus/spi/ServerContainerFactory.html b/apidocs/latest1x/org/glassfish/tyrus/spi/ServerContainerFactory.html index 5be5f2eb..dadd66bc 100644 --- a/apidocs/latest1x/org/glassfish/tyrus/spi/ServerContainerFactory.html +++ b/apidocs/latest1x/org/glassfish/tyrus/spi/ServerContainerFactory.html @@ -1,44 +1,58 @@ - + - + +ServerContainerFactory (Tyrus 1.19 API) -ServerContainerFactory (Tyrus 1.18 API) - + + + + + + + + +var pathtoroot = "../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
                                                + +
                                                +
                                                -
                                                org.glassfish.tyrus.spi
                                                +

                                                Class ServerContainerFactory

                                                @@ -110,13 +134,12 @@ var activeTableTab = "activeTableTab";
                                              • Direct Known Subclasses:
                                                -
                                                GrizzlyServerContainer
                                                +
                                                GrizzlyServerContainer

                                                -
                                                public abstract class ServerContainerFactory
                                                 extends java.lang.Object
                                                -
                                                Factory used to get instances of ServerContainer.
                                                +
                                                Factory used to get instances of ServerContainer.
                                              • @@ -124,55 +147,64 @@ extends java.lang.Object @@ -187,12 +220,13 @@ extends java.lang.Object +
                                                + diff --git a/apidocs/latest1x/org/glassfish/tyrus/spi/UpgradeRequest.html b/apidocs/latest1x/org/glassfish/tyrus/spi/UpgradeRequest.html index 152694e8..d52f87d4 100644 --- a/apidocs/latest1x/org/glassfish/tyrus/spi/UpgradeRequest.html +++ b/apidocs/latest1x/org/glassfish/tyrus/spi/UpgradeRequest.html @@ -1,44 +1,58 @@ - + - + +UpgradeRequest (Tyrus 1.19 API) -UpgradeRequest (Tyrus 1.18 API) - + + + + + + + + +var pathtoroot = "../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
                                                + +
                                                +
                                                -
                                                org.glassfish.tyrus.spi
                                                +

                                                Class UpgradeRequest

                                                @@ -110,19 +134,18 @@ var activeTableTab = "activeTableTab";
                                              • All Implemented Interfaces:
                                                -
                                                HandshakeRequest
                                                +
                                                HandshakeRequest
                                                Direct Known Subclasses:
                                                -
                                                RequestContext
                                                +
                                                RequestContext

                                                -
                                                public abstract class UpgradeRequest
                                                 extends java.lang.Object
                                                 implements HandshakeRequest
                                                Abstraction for a HTTP upgrade request. A transport creates an implementation - for this and uses WebSocketEngine.upgrade(org.glassfish.tyrus.spi.UpgradeRequest, org.glassfish.tyrus.spi.UpgradeResponse) method to upgrade the + for this and uses WebSocketEngine.upgrade(org.glassfish.tyrus.spi.UpgradeRequest, org.glassfish.tyrus.spi.UpgradeResponse) method to upgrade the request.
                                                Author:
                                                @@ -135,93 +158,107 @@ implements
                                              • +
                                                +
                                                +
                                                +
                                                +
                                              • @@ -302,12 +350,13 @@ implements
                                              • +
                                                  -
                                                • +
                                                • Field Detail

                                                  - +
                                                    @@ -323,7 +372,7 @@ implements
                                                  - +
                                                    @@ -337,7 +386,7 @@ implements
                                                  - +
                                                    @@ -351,7 +400,7 @@ implements
                                                  - +
                                                    @@ -365,7 +414,7 @@ implements
                                                  - +
                                                    @@ -379,7 +428,7 @@ implements
                                                  - +
                                                    @@ -395,7 +444,7 @@ implements
                                                  - +
                                                    @@ -409,7 +458,7 @@ implements
                                                  - +
                                                    @@ -423,7 +472,7 @@ implements
                                                  - +
                                                    @@ -439,7 +488,7 @@ implements
                                                  - +
                                                    @@ -453,7 +502,7 @@ implements
                                                  - +
                                                    @@ -470,7 +519,7 @@ implements
                                                  - +
                                                    @@ -489,13 +538,15 @@ implements
                                                  +
                                                +
                                                  -
                                                • +
                                                • Constructor Detail

                                                  - +
                                                    @@ -506,19 +557,21 @@ implements
                                                  +
                                                +
                                                  -
                                                • +
                                                • Method Detail

                                                  - +
                                                  • getHeader

                                                    -
                                                    public abstract java.lang.String getHeader(java.lang.String name)
                                                    +
                                                    public abstract java.lang.String getHeader​(java.lang.String name)
                                                    Returns the value of the specified request header name. If there are multiple headers with the same name, this method returns the first header in the request. The header name is case insensitive.
                                                    @@ -531,13 +584,13 @@ implements
                                                  - +
                                                  • getRequestUri

                                                    -
                                                    public abstract java.lang.String getRequestUri()
                                                    +
                                                    public abstract java.lang.String getRequestUri()
                                                    Get the undecoded request uri (up to the query string) of underlying HTTP handshake request.
                                                    @@ -546,13 +599,13 @@ implements
                                                  - +
                                                  • isSecure

                                                    -
                                                    public abstract boolean isSecure()
                                                    +
                                                    public abstract boolean isSecure()
                                                    Indicates whether this request was made using a secure channel (such as HTTPS).
                                                    @@ -564,21 +617,25 @@ implements
                                                  +
                                              • +
                                                + diff --git a/apidocs/latest1x/org/glassfish/tyrus/spi/UpgradeResponse.html b/apidocs/latest1x/org/glassfish/tyrus/spi/UpgradeResponse.html index a57db108..1a3258c9 100644 --- a/apidocs/latest1x/org/glassfish/tyrus/spi/UpgradeResponse.html +++ b/apidocs/latest1x/org/glassfish/tyrus/spi/UpgradeResponse.html @@ -1,44 +1,58 @@ - + - + +UpgradeResponse (Tyrus 1.19 API) -UpgradeResponse (Tyrus 1.18 API) - + + + + + + + + +var pathtoroot = "../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
                                                + +
                                                +
                                                -
                                                org.glassfish.tyrus.spi
                                                +

                                                Class UpgradeResponse

                                                @@ -110,19 +134,18 @@ var activeTableTab = "activeTableTab";
                                              • All Implemented Interfaces:
                                                -
                                                HandshakeResponse
                                                +
                                                HandshakeResponse
                                                Direct Known Subclasses:
                                                -
                                                TyrusUpgradeResponse
                                                +
                                                TyrusUpgradeResponse

                                                -
                                                public abstract class UpgradeResponse
                                                 extends java.lang.Object
                                                 implements HandshakeResponse
                                                Abstraction for a HTTP upgrade response. A transport creates an - implementation for this and uses WebSocketEngine.upgrade(org.glassfish.tyrus.spi.UpgradeRequest, org.glassfish.tyrus.spi.UpgradeResponse) method + implementation for this and uses WebSocketEngine.upgrade(org.glassfish.tyrus.spi.UpgradeRequest, org.glassfish.tyrus.spi.UpgradeResponse) method to upgrade the request.
                                                Author:
                                                @@ -135,44 +158,50 @@ implements
                                              • +
                                                +
                                                +
                                              • @@ -257,12 +298,13 @@ implements
                                              • +
                                                  -
                                                • +
                                                • Field Detail

                                                  - +
                                                    @@ -276,21 +318,21 @@ implements + - +
                                                      @@ -304,7 +346,7 @@ implements +
                                                        @@ -320,13 +362,15 @@ implements
                                                          -
                                                        • +
                                                        • Constructor Detail

                                                          - +
                                                            @@ -337,19 +381,21 @@ implements
                                                              -
                                                            • +
                                                            • Method Detail

                                                              - +
                                                              • getStatus

                                                                -
                                                                public abstract int getStatus()
                                                                +
                                                                public abstract int getStatus()
                                                                Get the current HTTP status code of this response.
                                                                Returns:
                                                                @@ -357,13 +403,13 @@ implements +
                                                                • setStatus

                                                                  -
                                                                  public abstract void setStatus(int status)
                                                                  +
                                                                  public abstract void setStatus​(int status)
                                                                  Set HTTP status code for this response.
                                                                  Parameters:
                                                                  @@ -371,13 +417,13 @@ implements +
                                                                  • setReasonPhrase

                                                                    -
                                                                    public abstract void setReasonPhrase(java.lang.String reason)
                                                                    +
                                                                    public abstract void setReasonPhrase​(java.lang.String reason)
                                                                    Get HTTP reason phrase.

                                                                    TODO remove ?? we are using only for "Switching Protocols" and that is @@ -388,13 +434,13 @@ implements +

                                                                    • getFirstHeaderValue

                                                                      -
                                                                      public final java.lang.String getFirstHeaderValue(java.lang.String name)
                                                                      +
                                                                      public final java.lang.String getFirstHeaderValue​(java.lang.String name)
                                                                      Gets the value of the response header with the given name.

                                                                      If a response header with the given name exists and contains @@ -413,21 +459,25 @@ implements +

                                                                      Copyright © 2012–2022 Oracle Corporation. All rights reserved.

                                                                      + diff --git a/apidocs/latest1x/org/glassfish/tyrus/spi/WebSocketEngine.UpgradeInfo.html b/apidocs/latest1x/org/glassfish/tyrus/spi/WebSocketEngine.UpgradeInfo.html index 7a4cd8d6..8ad81863 100644 --- a/apidocs/latest1x/org/glassfish/tyrus/spi/WebSocketEngine.UpgradeInfo.html +++ b/apidocs/latest1x/org/glassfish/tyrus/spi/WebSocketEngine.UpgradeInfo.html @@ -1,44 +1,58 @@ - + - + +WebSocketEngine.UpgradeInfo (Tyrus 1.19 API) -WebSocketEngine.UpgradeInfo (Tyrus 1.18 API) - + + + + + + + + +var pathtoroot = "../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
                                                                      + +
                                                                      +
                                                                      -
                                                                      org.glassfish.tyrus.spi
                                                                      +

                                                                      Interface WebSocketEngine.UpgradeInfo

                                                                      @@ -102,10 +126,9 @@ var activeTableTab = "activeTableTab";
                                                                    • Enclosing interface:
                                                                      -
                                                                      WebSocketEngine
                                                                      +
                                                                      WebSocketEngine

                                                                      -
                                                                      public static interface WebSocketEngine.UpgradeInfo
                                                                      Upgrade info that includes status for HTTP request upgrading and connection creation details.
                                                                    • @@ -115,33 +138,38 @@ var activeTableTab = "activeTableTab";
                                                                      @@ -149,18 +177,19 @@ var activeTableTab = "activeTableTab";
                                                                    +
                                              • + diff --git a/apidocs/latest1x/org/glassfish/tyrus/spi/WebSocketEngine.UpgradeStatus.html b/apidocs/latest1x/org/glassfish/tyrus/spi/WebSocketEngine.UpgradeStatus.html index 05980f0a..1741e043 100644 --- a/apidocs/latest1x/org/glassfish/tyrus/spi/WebSocketEngine.UpgradeStatus.html +++ b/apidocs/latest1x/org/glassfish/tyrus/spi/WebSocketEngine.UpgradeStatus.html @@ -1,44 +1,58 @@ - + - + +WebSocketEngine.UpgradeStatus (Tyrus 1.19 API) -WebSocketEngine.UpgradeStatus (Tyrus 1.18 API) - + + + + + + + + +var pathtoroot = "../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
                                                + +
                                                +
                                                -
                                                org.glassfish.tyrus.spi
                                                +

                                                Enum WebSocketEngine.UpgradeStatus

                                                @@ -101,7 +125,7 @@ var activeTableTab = "activeTableTab";
                                              • java.lang.Object
                                              • + @@ -210,60 +244,63 @@ the order they are declared.
                                                • +
                                                  +
                                                  +
                                                    -
                                                  • +
                                                  • Method Detail

                                                    - +
                                                    • values

                                                      -
                                                      public static WebSocketEngine.UpgradeStatus[] values()
                                                      +
                                                      public static WebSocketEngine.UpgradeStatus[] values()
                                                      Returns an array containing the constants of this enum type, in -the order they are declared. This method may be used to iterate +the order they are declared. This method may be used to iterate over the constants as follows:
                                                       for (WebSocketEngine.UpgradeStatus c : WebSocketEngine.UpgradeStatus.values())
                                                      @@ -275,13 +312,13 @@ for (WebSocketEngine.UpgradeStatus c : WebSocketEngine.UpgradeStatus.values())
                                                       
                                                       
                                                    - +
                                                    • valueOf

                                                      -
                                                      public static WebSocketEngine.UpgradeStatus valueOf(java.lang.String name)
                                                      +
                                                      public static WebSocketEngine.UpgradeStatus valueOf​(java.lang.String name)
                                                      Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are @@ -299,21 +336,25 @@ not permitted.)
                                                  +
                                                +
                                                + diff --git a/apidocs/latest1x/org/glassfish/tyrus/spi/WebSocketEngine.html b/apidocs/latest1x/org/glassfish/tyrus/spi/WebSocketEngine.html index bc8ad89e..d7194868 100644 --- a/apidocs/latest1x/org/glassfish/tyrus/spi/WebSocketEngine.html +++ b/apidocs/latest1x/org/glassfish/tyrus/spi/WebSocketEngine.html @@ -1,44 +1,58 @@ - + - + +WebSocketEngine (Tyrus 1.19 API) -WebSocketEngine (Tyrus 1.18 API) - + + + + + + + + +var pathtoroot = "../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
                                                + +
                                                +
                                                -
                                                org.glassfish.tyrus.spi
                                                +

                                                Interface WebSocketEngine

                                                @@ -102,13 +126,12 @@ var activeTableTab = "activeTableTab";
                                              • All Known Implementing Classes:
                                                -
                                                TyrusWebSocketEngine
                                                +
                                                TyrusWebSocketEngine

                                                -
                                                public interface WebSocketEngine
                                                WebSocket engine is used for upgrading HTTP requests into websocket connections. A transport gets hold of the engine - from the ServerContainer and upgrades HTTP handshake requests.
                                                + from the ServerContainer and upgrades HTTP handshake requests.
                                              • Author:
                                                Pavel Bucek (pavel.bucek at oracle.com)
                                                @@ -120,68 +143,79 @@ var activeTableTab = "activeTableTab"; @@ -189,19 +223,20 @@ var activeTableTab = "activeTableTab";
                                                - + + +
                                                + diff --git a/apidocs/latest1x/org/glassfish/tyrus/spi/Writer.html b/apidocs/latest1x/org/glassfish/tyrus/spi/Writer.html index 429be67f..c9905c67 100644 --- a/apidocs/latest1x/org/glassfish/tyrus/spi/Writer.html +++ b/apidocs/latest1x/org/glassfish/tyrus/spi/Writer.html @@ -1,44 +1,58 @@ - + - + +Writer (Tyrus 1.19 API) -Writer (Tyrus 1.18 API) - + + + + + + + + +var pathtoroot = "../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
                                                + +
                                                +
                                                -
                                                org.glassfish.tyrus.spi
                                                +

                                                Class Writer

                                                @@ -110,14 +134,13 @@ var activeTableTab = "activeTableTab";
                                              • All Implemented Interfaces:
                                                -
                                                java.io.Closeable, java.lang.AutoCloseable
                                                +
                                                java.io.Closeable, java.lang.AutoCloseable
                                                Direct Known Subclasses:
                                                -
                                                GrizzlyWriter
                                                +
                                                GrizzlyWriter

                                                -
                                                public abstract class Writer
                                                 extends java.lang.Object
                                                 implements java.io.Closeable
                                                @@ -126,7 +149,7 @@ implements java.io.Closeable data eventually.

                                                A transport creates implementation of this class and registers the writer - object using WebSocketEngine.UpgradeInfo.createConnection(org.glassfish.tyrus.spi.Writer, org.glassfish.tyrus.spi.Connection.CloseListener) after + object using WebSocketEngine.UpgradeInfo.createConnection(org.glassfish.tyrus.spi.Writer, org.glassfish.tyrus.spi.Connection.CloseListener) after a successful upgrade.

                                              • Author:
                                                @@ -139,63 +162,71 @@ implements java.io.Closeable @@ -210,12 +242,13 @@ implements java.io.Closeable
                                                • +
                                                    -
                                                  • +
                                                  • Constructor Detail

                                                    - +
                                                      @@ -226,22 +259,24 @@ implements java.io.Closeable
                                                  +
                                                  +
                                                    -
                                                  • +
                                                  • Method Detail

                                                    - +
                                                    • write

                                                      -
                                                      public abstract void write(java.nio.ByteBuffer buffer,
                                                      -                           CompletionHandler<java.nio.ByteBuffer> completionHandler)
                                                      +
                                                      public abstract void write​(java.nio.ByteBuffer buffer,
                                                      +                           CompletionHandler<java.nio.ByteBuffer> completionHandler)

                                                      - A backward compatible method called from write(ByteBuffer, CompletionHandler, WriterInfo) + A backward compatible method called from write(ByteBuffer, CompletionHandler, WriterInfo) to handover the data for a connection to the transport. The transport writes bytes to underlying connection. Tyrus runtime must not use the buffer until the write is completed. @@ -256,15 +291,15 @@ implements java.io.Closeable

                                                - +
                                                • write

                                                  -
                                                  public void write(java.nio.ByteBuffer buffer,
                                                  -                  CompletionHandler<java.nio.ByteBuffer> completionHandler,
                                                  -                  WriterInfo writerInfo)
                                                  +
                                                  public void write​(java.nio.ByteBuffer buffer,
                                                  +                  CompletionHandler<java.nio.ByteBuffer> completionHandler,
                                                  +                  WriterInfo writerInfo)
                                                  Tyrus runtime calls this method to handover the data for a connection to the transport. The transport writes bytes to underlying connection. Tyrus runtime must not use the buffer until the write is completed.
                                                  @@ -280,21 +315,25 @@ implements java.io.Closeable
                                                + +
                                                + diff --git a/apidocs/latest1x/org/glassfish/tyrus/spi/WriterInfo.MessageType.html b/apidocs/latest1x/org/glassfish/tyrus/spi/WriterInfo.MessageType.html index 549f0f4c..21887300 100644 --- a/apidocs/latest1x/org/glassfish/tyrus/spi/WriterInfo.MessageType.html +++ b/apidocs/latest1x/org/glassfish/tyrus/spi/WriterInfo.MessageType.html @@ -1,44 +1,58 @@ - + - + +WriterInfo.MessageType (Tyrus 1.19 API) -WriterInfo.MessageType (Tyrus 1.18 API) - + + + + + + + + +var pathtoroot = "../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
                                                + +
                                                +
                                                -
                                                org.glassfish.tyrus.spi
                                                +

                                                Enum WriterInfo.MessageType

                                                @@ -101,7 +125,7 @@ var activeTableTab = "activeTableTab";
                                              • java.lang.Object
                                              • + @@ -235,108 +274,111 @@ the order they are declared. +
                                                + diff --git a/apidocs/latest1x/org/glassfish/tyrus/spi/WriterInfo.RemoteEndpointType.html b/apidocs/latest1x/org/glassfish/tyrus/spi/WriterInfo.RemoteEndpointType.html index 9c1d08a6..4938a265 100644 --- a/apidocs/latest1x/org/glassfish/tyrus/spi/WriterInfo.RemoteEndpointType.html +++ b/apidocs/latest1x/org/glassfish/tyrus/spi/WriterInfo.RemoteEndpointType.html @@ -1,44 +1,58 @@ - + - + +WriterInfo.RemoteEndpointType (Tyrus 1.19 API) -WriterInfo.RemoteEndpointType (Tyrus 1.18 API) - + + + + + + + + +var pathtoroot = "../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
                                                + +
                                                +
                                                -
                                                org.glassfish.tyrus.spi
                                                +

                                                Enum WriterInfo.RemoteEndpointType

                                                @@ -101,7 +125,7 @@ var activeTableTab = "activeTableTab";
                                              • java.lang.Object
                                              • @@ -132,74 +155,85 @@ extends java.lang.Enum<
                                              • +
                                                +
                                                +
                                                +
                                              • @@ -214,68 +249,71 @@ the order they are declared. +
                                                + diff --git a/apidocs/latest1x/org/glassfish/tyrus/spi/WriterInfo.html b/apidocs/latest1x/org/glassfish/tyrus/spi/WriterInfo.html index f283edd6..d7e5d619 100644 --- a/apidocs/latest1x/org/glassfish/tyrus/spi/WriterInfo.html +++ b/apidocs/latest1x/org/glassfish/tyrus/spi/WriterInfo.html @@ -1,44 +1,58 @@ - + - + +WriterInfo (Tyrus 1.19 API) -WriterInfo (Tyrus 1.18 API) - + + + + + + + + +var pathtoroot = "../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
                                                + +
                                                +
                                                -
                                                org.glassfish.tyrus.spi
                                                +

                                                Class WriterInfo

                                                @@ -109,7 +133,6 @@ var activeTableTab = "activeTableTab";
                                                @@ -205,19 +242,20 @@ extends java.lang.Object +
                                                + diff --git a/apidocs/latest1x/org/glassfish/tyrus/spi/class-use/ClientContainer.html b/apidocs/latest1x/org/glassfish/tyrus/spi/class-use/ClientContainer.html index 1b059048..14e66faa 100644 --- a/apidocs/latest1x/org/glassfish/tyrus/spi/class-use/ClientContainer.html +++ b/apidocs/latest1x/org/glassfish/tyrus/spi/class-use/ClientContainer.html @@ -1,40 +1,54 @@ - + - + +Uses of Interface org.glassfish.tyrus.spi.ClientContainer (Tyrus 1.19 API) -Uses of Interface org.glassfish.tyrus.spi.ClientContainer (Tyrus 1.18 API) - + + + + + + + + +var pathtoroot = "../../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
                                                + +
                                                +

                                                Uses of Interface
                                                org.glassfish.tyrus.spi.ClientContainer

                                                +
                                                + diff --git a/apidocs/latest1x/org/glassfish/tyrus/spi/class-use/ClientEngine.ClientUpgradeInfo.html b/apidocs/latest1x/org/glassfish/tyrus/spi/class-use/ClientEngine.ClientUpgradeInfo.html index 194503ff..09f20d0f 100644 --- a/apidocs/latest1x/org/glassfish/tyrus/spi/class-use/ClientEngine.ClientUpgradeInfo.html +++ b/apidocs/latest1x/org/glassfish/tyrus/spi/class-use/ClientEngine.ClientUpgradeInfo.html @@ -1,40 +1,54 @@ - + - + +Uses of Interface org.glassfish.tyrus.spi.ClientEngine.ClientUpgradeInfo (Tyrus 1.19 API) -Uses of Interface org.glassfish.tyrus.spi.ClientEngine.ClientUpgradeInfo (Tyrus 1.18 API) - + + + + + + + + +var pathtoroot = "../../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
                                                + +
                                                +

                                                Uses of Interface
                                                org.glassfish.tyrus.spi.ClientEngine.ClientUpgradeInfo

                                                +
                                                + diff --git a/apidocs/latest1x/org/glassfish/tyrus/spi/class-use/ClientEngine.ClientUpgradeStatus.html b/apidocs/latest1x/org/glassfish/tyrus/spi/class-use/ClientEngine.ClientUpgradeStatus.html index 566de0b5..7378c0fd 100644 --- a/apidocs/latest1x/org/glassfish/tyrus/spi/class-use/ClientEngine.ClientUpgradeStatus.html +++ b/apidocs/latest1x/org/glassfish/tyrus/spi/class-use/ClientEngine.ClientUpgradeStatus.html @@ -1,40 +1,54 @@ - + - + +Uses of Class org.glassfish.tyrus.spi.ClientEngine.ClientUpgradeStatus (Tyrus 1.19 API) -Uses of Class org.glassfish.tyrus.spi.ClientEngine.ClientUpgradeStatus (Tyrus 1.18 API) - + + + + + + + + +var pathtoroot = "../../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
                                                + +
                                                +

                                                Uses of Class
                                                org.glassfish.tyrus.spi.ClientEngine.ClientUpgradeStatus

                                                +
                                                + diff --git a/apidocs/latest1x/org/glassfish/tyrus/spi/class-use/ClientEngine.TimeoutHandler.html b/apidocs/latest1x/org/glassfish/tyrus/spi/class-use/ClientEngine.TimeoutHandler.html index b80bee99..7ed3b2cc 100644 --- a/apidocs/latest1x/org/glassfish/tyrus/spi/class-use/ClientEngine.TimeoutHandler.html +++ b/apidocs/latest1x/org/glassfish/tyrus/spi/class-use/ClientEngine.TimeoutHandler.html @@ -1,40 +1,54 @@ - + - + +Uses of Interface org.glassfish.tyrus.spi.ClientEngine.TimeoutHandler (Tyrus 1.19 API) -Uses of Interface org.glassfish.tyrus.spi.ClientEngine.TimeoutHandler (Tyrus 1.18 API) - + + + + + + + + +var pathtoroot = "../../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
                                                + +
                                                +

                                                Uses of Interface
                                                org.glassfish.tyrus.spi.ClientEngine.TimeoutHandler

                                                +
                                                + diff --git a/apidocs/latest1x/org/glassfish/tyrus/spi/class-use/ClientEngine.html b/apidocs/latest1x/org/glassfish/tyrus/spi/class-use/ClientEngine.html index 409bc171..5008d840 100644 --- a/apidocs/latest1x/org/glassfish/tyrus/spi/class-use/ClientEngine.html +++ b/apidocs/latest1x/org/glassfish/tyrus/spi/class-use/ClientEngine.html @@ -1,40 +1,54 @@ - + - + +Uses of Interface org.glassfish.tyrus.spi.ClientEngine (Tyrus 1.19 API) -Uses of Interface org.glassfish.tyrus.spi.ClientEngine (Tyrus 1.18 API) - + + + + + + + + +var pathtoroot = "../../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
                                                + +
                                                +

                                                Uses of Interface
                                                org.glassfish.tyrus.spi.ClientEngine

                                                +
                                                + diff --git a/apidocs/latest1x/org/glassfish/tyrus/spi/class-use/CompletionHandler.html b/apidocs/latest1x/org/glassfish/tyrus/spi/class-use/CompletionHandler.html index fc239579..4694282c 100644 --- a/apidocs/latest1x/org/glassfish/tyrus/spi/class-use/CompletionHandler.html +++ b/apidocs/latest1x/org/glassfish/tyrus/spi/class-use/CompletionHandler.html @@ -1,40 +1,54 @@ - + - + +Uses of Class org.glassfish.tyrus.spi.CompletionHandler (Tyrus 1.19 API) -Uses of Class org.glassfish.tyrus.spi.CompletionHandler (Tyrus 1.18 API) - + + + + + + + + +var pathtoroot = "../../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
                                                + +
                                                +

                                                Uses of Class
                                                org.glassfish.tyrus.spi.CompletionHandler

                                                +
                                                + diff --git a/apidocs/latest1x/org/glassfish/tyrus/spi/class-use/Connection.CloseListener.html b/apidocs/latest1x/org/glassfish/tyrus/spi/class-use/Connection.CloseListener.html index 3487c038..38daaec4 100644 --- a/apidocs/latest1x/org/glassfish/tyrus/spi/class-use/Connection.CloseListener.html +++ b/apidocs/latest1x/org/glassfish/tyrus/spi/class-use/Connection.CloseListener.html @@ -1,40 +1,54 @@ - + - + +Uses of Interface org.glassfish.tyrus.spi.Connection.CloseListener (Tyrus 1.19 API) -Uses of Interface org.glassfish.tyrus.spi.Connection.CloseListener (Tyrus 1.18 API) - + + + + + + + + +var pathtoroot = "../../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
                                                + +
                                                +

                                                Uses of Interface
                                                org.glassfish.tyrus.spi.Connection.CloseListener

                                                +
                                                + diff --git a/apidocs/latest1x/org/glassfish/tyrus/spi/class-use/Connection.html b/apidocs/latest1x/org/glassfish/tyrus/spi/class-use/Connection.html index 1e84a136..23f09eb5 100644 --- a/apidocs/latest1x/org/glassfish/tyrus/spi/class-use/Connection.html +++ b/apidocs/latest1x/org/glassfish/tyrus/spi/class-use/Connection.html @@ -1,40 +1,54 @@ - + - + +Uses of Interface org.glassfish.tyrus.spi.Connection (Tyrus 1.19 API) -Uses of Interface org.glassfish.tyrus.spi.Connection (Tyrus 1.18 API) - + + + + + + + + +var pathtoroot = "../../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
                                                + +
                                                +

                                                Uses of Interface
                                                org.glassfish.tyrus.spi.Connection

                                                +
                                                + diff --git a/apidocs/latest1x/org/glassfish/tyrus/spi/class-use/ReadHandler.html b/apidocs/latest1x/org/glassfish/tyrus/spi/class-use/ReadHandler.html index 5009b165..530c4ae9 100644 --- a/apidocs/latest1x/org/glassfish/tyrus/spi/class-use/ReadHandler.html +++ b/apidocs/latest1x/org/glassfish/tyrus/spi/class-use/ReadHandler.html @@ -1,40 +1,54 @@ - + - + +Uses of Interface org.glassfish.tyrus.spi.ReadHandler (Tyrus 1.19 API) -Uses of Interface org.glassfish.tyrus.spi.ReadHandler (Tyrus 1.18 API) - + + + + + + + + +var pathtoroot = "../../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
                                                + +
                                                +

                                                Uses of Interface
                                                org.glassfish.tyrus.spi.ReadHandler

                                                +
                                                + diff --git a/apidocs/latest1x/org/glassfish/tyrus/spi/class-use/ServerContainer.html b/apidocs/latest1x/org/glassfish/tyrus/spi/class-use/ServerContainer.html index 0ff59689..921380f8 100644 --- a/apidocs/latest1x/org/glassfish/tyrus/spi/class-use/ServerContainer.html +++ b/apidocs/latest1x/org/glassfish/tyrus/spi/class-use/ServerContainer.html @@ -1,40 +1,54 @@ - + - + +Uses of Interface org.glassfish.tyrus.spi.ServerContainer (Tyrus 1.19 API) -Uses of Interface org.glassfish.tyrus.spi.ServerContainer (Tyrus 1.18 API) - + + + + + + + + +var pathtoroot = "../../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
                                                + +
                                                +

                                                Uses of Interface
                                                org.glassfish.tyrus.spi.ServerContainer

                                                +
                                                + diff --git a/apidocs/latest1x/org/glassfish/tyrus/spi/class-use/ServerContainerFactory.html b/apidocs/latest1x/org/glassfish/tyrus/spi/class-use/ServerContainerFactory.html index 42586e51..41ff04dd 100644 --- a/apidocs/latest1x/org/glassfish/tyrus/spi/class-use/ServerContainerFactory.html +++ b/apidocs/latest1x/org/glassfish/tyrus/spi/class-use/ServerContainerFactory.html @@ -1,40 +1,54 @@ - + - + +Uses of Class org.glassfish.tyrus.spi.ServerContainerFactory (Tyrus 1.19 API) -Uses of Class org.glassfish.tyrus.spi.ServerContainerFactory (Tyrus 1.18 API) - + + + + + + + + +var pathtoroot = "../../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
                                                + +
                                                +

                                                Uses of Class
                                                org.glassfish.tyrus.spi.ServerContainerFactory

                                                +
                                                + diff --git a/apidocs/latest1x/org/glassfish/tyrus/spi/class-use/UpgradeRequest.html b/apidocs/latest1x/org/glassfish/tyrus/spi/class-use/UpgradeRequest.html index 676b1d52..8ab26690 100644 --- a/apidocs/latest1x/org/glassfish/tyrus/spi/class-use/UpgradeRequest.html +++ b/apidocs/latest1x/org/glassfish/tyrus/spi/class-use/UpgradeRequest.html @@ -1,40 +1,54 @@ - + - + +Uses of Class org.glassfish.tyrus.spi.UpgradeRequest (Tyrus 1.19 API) -Uses of Class org.glassfish.tyrus.spi.UpgradeRequest (Tyrus 1.18 API) - + + + + + + + + +var pathtoroot = "../../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
                                                + +
                                                +

                                                Uses of Class
                                                org.glassfish.tyrus.spi.UpgradeRequest

                                                +
                                                + diff --git a/apidocs/latest1x/org/glassfish/tyrus/spi/class-use/UpgradeResponse.html b/apidocs/latest1x/org/glassfish/tyrus/spi/class-use/UpgradeResponse.html index 68a78b7c..819ee848 100644 --- a/apidocs/latest1x/org/glassfish/tyrus/spi/class-use/UpgradeResponse.html +++ b/apidocs/latest1x/org/glassfish/tyrus/spi/class-use/UpgradeResponse.html @@ -1,40 +1,54 @@ - + - + +Uses of Class org.glassfish.tyrus.spi.UpgradeResponse (Tyrus 1.19 API) -Uses of Class org.glassfish.tyrus.spi.UpgradeResponse (Tyrus 1.18 API) - + + + + + + + + +var pathtoroot = "../../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
                                                + +
                                                +

                                                Uses of Class
                                                org.glassfish.tyrus.spi.UpgradeResponse

                                                +
                                                + diff --git a/apidocs/latest1x/org/glassfish/tyrus/spi/class-use/WebSocketEngine.UpgradeInfo.html b/apidocs/latest1x/org/glassfish/tyrus/spi/class-use/WebSocketEngine.UpgradeInfo.html index c4232146..3efa5d98 100644 --- a/apidocs/latest1x/org/glassfish/tyrus/spi/class-use/WebSocketEngine.UpgradeInfo.html +++ b/apidocs/latest1x/org/glassfish/tyrus/spi/class-use/WebSocketEngine.UpgradeInfo.html @@ -1,40 +1,54 @@ - + - + +Uses of Interface org.glassfish.tyrus.spi.WebSocketEngine.UpgradeInfo (Tyrus 1.19 API) -Uses of Interface org.glassfish.tyrus.spi.WebSocketEngine.UpgradeInfo (Tyrus 1.18 API) - + + + + + + + + +var pathtoroot = "../../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
                                                + +
                                                +

                                                Uses of Interface
                                                org.glassfish.tyrus.spi.WebSocketEngine.UpgradeInfo

                                                +
                                                + diff --git a/apidocs/latest1x/org/glassfish/tyrus/spi/class-use/WebSocketEngine.UpgradeStatus.html b/apidocs/latest1x/org/glassfish/tyrus/spi/class-use/WebSocketEngine.UpgradeStatus.html index fefcdc52..c9700698 100644 --- a/apidocs/latest1x/org/glassfish/tyrus/spi/class-use/WebSocketEngine.UpgradeStatus.html +++ b/apidocs/latest1x/org/glassfish/tyrus/spi/class-use/WebSocketEngine.UpgradeStatus.html @@ -1,40 +1,54 @@ - + - + +Uses of Class org.glassfish.tyrus.spi.WebSocketEngine.UpgradeStatus (Tyrus 1.19 API) -Uses of Class org.glassfish.tyrus.spi.WebSocketEngine.UpgradeStatus (Tyrus 1.18 API) - + + + + + + + + +var pathtoroot = "../../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
                                                + +
                                                +

                                                Uses of Class
                                                org.glassfish.tyrus.spi.WebSocketEngine.UpgradeStatus

                                                +
                                                + diff --git a/apidocs/latest1x/org/glassfish/tyrus/spi/class-use/WebSocketEngine.html b/apidocs/latest1x/org/glassfish/tyrus/spi/class-use/WebSocketEngine.html index 7b73f2a1..908dc327 100644 --- a/apidocs/latest1x/org/glassfish/tyrus/spi/class-use/WebSocketEngine.html +++ b/apidocs/latest1x/org/glassfish/tyrus/spi/class-use/WebSocketEngine.html @@ -1,40 +1,54 @@ - + - + +Uses of Interface org.glassfish.tyrus.spi.WebSocketEngine (Tyrus 1.19 API) -Uses of Interface org.glassfish.tyrus.spi.WebSocketEngine (Tyrus 1.18 API) - + + + + + + + + +var pathtoroot = "../../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
                                                + +
                                                +

                                                Uses of Interface
                                                org.glassfish.tyrus.spi.WebSocketEngine

                                                +
                                                + diff --git a/apidocs/latest1x/org/glassfish/tyrus/spi/class-use/Writer.html b/apidocs/latest1x/org/glassfish/tyrus/spi/class-use/Writer.html index 59f4058d..803c0ac6 100644 --- a/apidocs/latest1x/org/glassfish/tyrus/spi/class-use/Writer.html +++ b/apidocs/latest1x/org/glassfish/tyrus/spi/class-use/Writer.html @@ -1,40 +1,54 @@ - + - + +Uses of Class org.glassfish.tyrus.spi.Writer (Tyrus 1.19 API) -Uses of Class org.glassfish.tyrus.spi.Writer (Tyrus 1.18 API) - + + + + + + + + +var pathtoroot = "../../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
                                                + +
                                                +

                                                Uses of Class
                                                org.glassfish.tyrus.spi.Writer

                                                +
                                                + diff --git a/apidocs/latest1x/org/glassfish/tyrus/spi/class-use/WriterInfo.MessageType.html b/apidocs/latest1x/org/glassfish/tyrus/spi/class-use/WriterInfo.MessageType.html index 5a8a165e..91468ab1 100644 --- a/apidocs/latest1x/org/glassfish/tyrus/spi/class-use/WriterInfo.MessageType.html +++ b/apidocs/latest1x/org/glassfish/tyrus/spi/class-use/WriterInfo.MessageType.html @@ -1,40 +1,54 @@ - + - + +Uses of Class org.glassfish.tyrus.spi.WriterInfo.MessageType (Tyrus 1.19 API) -Uses of Class org.glassfish.tyrus.spi.WriterInfo.MessageType (Tyrus 1.18 API) - + + + + + + + + +var pathtoroot = "../../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
                                                + +
                                                +

                                                Uses of Class
                                                org.glassfish.tyrus.spi.WriterInfo.MessageType

                                                +
                                                + diff --git a/apidocs/latest1x/org/glassfish/tyrus/spi/class-use/WriterInfo.RemoteEndpointType.html b/apidocs/latest1x/org/glassfish/tyrus/spi/class-use/WriterInfo.RemoteEndpointType.html index 36612314..c73357c5 100644 --- a/apidocs/latest1x/org/glassfish/tyrus/spi/class-use/WriterInfo.RemoteEndpointType.html +++ b/apidocs/latest1x/org/glassfish/tyrus/spi/class-use/WriterInfo.RemoteEndpointType.html @@ -1,40 +1,54 @@ - + - + +Uses of Class org.glassfish.tyrus.spi.WriterInfo.RemoteEndpointType (Tyrus 1.19 API) -Uses of Class org.glassfish.tyrus.spi.WriterInfo.RemoteEndpointType (Tyrus 1.18 API) - + + + + + + + + +var pathtoroot = "../../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
                                                + +
                                                +

                                                Uses of Class
                                                org.glassfish.tyrus.spi.WriterInfo.RemoteEndpointType

                                                +
                                                + diff --git a/apidocs/latest1x/org/glassfish/tyrus/spi/class-use/WriterInfo.html b/apidocs/latest1x/org/glassfish/tyrus/spi/class-use/WriterInfo.html index 821d388b..a982ee8e 100644 --- a/apidocs/latest1x/org/glassfish/tyrus/spi/class-use/WriterInfo.html +++ b/apidocs/latest1x/org/glassfish/tyrus/spi/class-use/WriterInfo.html @@ -1,40 +1,54 @@ - + - + +Uses of Class org.glassfish.tyrus.spi.WriterInfo (Tyrus 1.19 API) -Uses of Class org.glassfish.tyrus.spi.WriterInfo (Tyrus 1.18 API) - + + + + + + + + +var pathtoroot = "../../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
                                                + +
                                                +

                                                Uses of Class
                                                org.glassfish.tyrus.spi.WriterInfo

                                                +
                                                + diff --git a/apidocs/latest1x/org/glassfish/tyrus/spi/package-frame.html b/apidocs/latest1x/org/glassfish/tyrus/spi/package-frame.html deleted file mode 100644 index e9b0b664..00000000 --- a/apidocs/latest1x/org/glassfish/tyrus/spi/package-frame.html +++ /dev/null @@ -1,46 +0,0 @@ - - - - - - -org.glassfish.tyrus.spi (Tyrus 1.18 API) - - - - - -

                                                org.glassfish.tyrus.spi

                                                - - - diff --git a/apidocs/latest1x/org/glassfish/tyrus/spi/package-summary.html b/apidocs/latest1x/org/glassfish/tyrus/spi/package-summary.html index c7b15e30..8148c42f 100644 --- a/apidocs/latest1x/org/glassfish/tyrus/spi/package-summary.html +++ b/apidocs/latest1x/org/glassfish/tyrus/spi/package-summary.html @@ -1,38 +1,52 @@ - + - + +org.glassfish.tyrus.spi (Tyrus 1.19 API) -org.glassfish.tyrus.spi (Tyrus 1.18 API) - + + + + + + + + +var pathtoroot = "../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
                                                + +
                                                +

                                                Package org.glassfish.tyrus.spi

                                                -
                                                -
                                                Tyrus SPI.
                                                -
                                                -

                                                See: Description

                                                +
                                                + + +
                                                Tyrus SPI.
                                                +
                                                - - - -

                                                Package org.glassfish.tyrus.spi Description

                                                -
                                                Tyrus SPI.
                                                +
                                                + diff --git a/apidocs/latest1x/org/glassfish/tyrus/spi/package-tree.html b/apidocs/latest1x/org/glassfish/tyrus/spi/package-tree.html index 4b5b912e..a324f60f 100644 --- a/apidocs/latest1x/org/glassfish/tyrus/spi/package-tree.html +++ b/apidocs/latest1x/org/glassfish/tyrus/spi/package-tree.html @@ -1,38 +1,52 @@ - + - + +org.glassfish.tyrus.spi Class Hierarchy (Tyrus 1.19 API) -org.glassfish.tyrus.spi Class Hierarchy (Tyrus 1.18 API) - + + + + + + + + +var pathtoroot = "../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
                                                + +
                                                +

                                                Hierarchy For Package org.glassfish.tyrus.spi

                                                Package Hierarchies: @@ -78,66 +102,75 @@
                                                +

                                                Class Hierarchy

                                                +
                                                +

                                                Interface Hierarchy

                                                +
                                                +

                                                Enum Hierarchy

                                                +
                                                +
                                                + diff --git a/apidocs/latest1x/org/glassfish/tyrus/spi/package-use.html b/apidocs/latest1x/org/glassfish/tyrus/spi/package-use.html index 94911c47..2009889d 100644 --- a/apidocs/latest1x/org/glassfish/tyrus/spi/package-use.html +++ b/apidocs/latest1x/org/glassfish/tyrus/spi/package-use.html @@ -1,38 +1,52 @@ - + - + +Uses of Package org.glassfish.tyrus.spi (Tyrus 1.19 API) -Uses of Package org.glassfish.tyrus.spi (Tyrus 1.18 API) - + + + + + + + + +var pathtoroot = "../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
                                                + +
                                                +

                                                Uses of Package
                                                org.glassfish.tyrus.spi

                                                +
                                                + diff --git a/apidocs/latest1x/overview-frame.html b/apidocs/latest1x/overview-frame.html deleted file mode 100644 index 60921982..00000000 --- a/apidocs/latest1x/overview-frame.html +++ /dev/null @@ -1,42 +0,0 @@ - - - - - - -Overview List (Tyrus 1.18 API) - - - - - - - -

                                                 

                                                - - diff --git a/apidocs/latest1x/overview-summary.html b/apidocs/latest1x/overview-summary.html index 2cbc8419..9faf7fc7 100644 --- a/apidocs/latest1x/overview-summary.html +++ b/apidocs/latest1x/overview-summary.html @@ -1,261 +1,23 @@ - + - + +Tyrus 1.19 API -Overview (Tyrus 1.18 API) - + + + - - +
                                                - -
                                                - - - - - - - -
                                                - - -
                                                -

                                                Tyrus 1.18 API Documentation

                                                -
                                                -
                                                - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
                                                Packages 
                                                PackageDescription
                                                javax.websocket -
                                                This package contains all the WebSocket APIs common to both the client - and server side.
                                                -
                                                javax.websocket.server -
                                                This package contains all the WebSocket APIs used only by server side - applications.
                                                -
                                                org.glassfish.tyrus.client -
                                                Common Client.
                                                -
                                                org.glassfish.tyrus.client.auth 
                                                org.glassfish.tyrus.container.grizzly.client -
                                                Grizzly Client container.
                                                -
                                                org.glassfish.tyrus.container.grizzly.server -
                                                Grizzly Server container.
                                                -
                                                org.glassfish.tyrus.core -
                                                Core classes.
                                                -
                                                org.glassfish.tyrus.core.cluster -
                                                Cluster relates classes and interfaces.
                                                -
                                                org.glassfish.tyrus.core.coder -
                                                Encoder and decoder adapters and built-in implementations.
                                                -
                                                org.glassfish.tyrus.core.extension -
                                                WebSocket Extension support.
                                                -
                                                org.glassfish.tyrus.core.frame -
                                                WebSocket frame representations.
                                                -
                                                org.glassfish.tyrus.core.l10n -
                                                Common internal localization utility classes.
                                                -
                                                org.glassfish.tyrus.core.monitoring -
                                                Monitoring interfaces.
                                                -
                                                org.glassfish.tyrus.core.uri -
                                                URI matching.
                                                -
                                                org.glassfish.tyrus.core.uri.internal -
                                                Common classes that provide support for URI templates, - encoding/decoding of URI components and multivalued collections.
                                                -
                                                org.glassfish.tyrus.core.wsadl.model 
                                                org.glassfish.tyrus.gf.cdi -
                                                Tyrus CDI integration with Glassfish (and possibly other compatible containers).
                                                -
                                                org.glassfish.tyrus.gf.ejb -
                                                Tyrus EJB integration with Glassfish (and possibly other compatible containers).
                                                -
                                                org.glassfish.tyrus.server -
                                                Server implementation.
                                                -
                                                org.glassfish.tyrus.servlet -
                                                Servlet 3.1 integration.
                                                -
                                                org.glassfish.tyrus.spi -
                                                Tyrus SPI.
                                                -
                                                -
                                                - -
                                                - - - - - - - -
                                                - - -

                                                Copyright © 2012–2022 Oracle Corporation. All rights reserved.

                                                +

                                                index.html

                                                +
                                                diff --git a/apidocs/latest1x/overview-tree.html b/apidocs/latest1x/overview-tree.html index 8a49a450..3e8a2522 100644 --- a/apidocs/latest1x/overview-tree.html +++ b/apidocs/latest1x/overview-tree.html @@ -1,38 +1,52 @@ - + - + +Class Hierarchy (Tyrus 1.19 API) -Class Hierarchy (Tyrus 1.18 API) - + + + + + + + + +var pathtoroot = "./"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
                                                + +
                                                +
                                                +

                                                Class Hierarchy

                                                +
                                                +

                                                Interface Hierarchy

                                                +
                                                +

                                                Annotation Type Hierarchy

                                                  -
                                                • javax.websocket.OnError (implements java.lang.annotation.Annotation)
                                                • -
                                                • javax.websocket.ClientEndpoint (implements java.lang.annotation.Annotation)
                                                • -
                                                • javax.websocket.OnMessage (implements java.lang.annotation.Annotation)
                                                • -
                                                • javax.websocket.OnClose (implements java.lang.annotation.Annotation)
                                                • -
                                                • javax.websocket.OnOpen (implements java.lang.annotation.Annotation)
                                                • -
                                                • javax.websocket.server.PathParam (implements java.lang.annotation.Annotation)
                                                • -
                                                • javax.websocket.server.ServerEndpoint (implements java.lang.annotation.Annotation)
                                                • -
                                                • org.glassfish.tyrus.core.MaxSessions (implements java.lang.annotation.Annotation)
                                                • -
                                                • org.glassfish.tyrus.core.Beta (implements java.lang.annotation.Annotation)
                                                • -
                                                +
                                              • org.glassfish.tyrus.core.Beta (implements java.lang.annotation.Annotation)
                                              • +
                                              • javax.websocket.ClientEndpoint (implements java.lang.annotation.Annotation)
                                              • +
                                              • org.glassfish.tyrus.core.MaxSessions (implements java.lang.annotation.Annotation)
                                              • +
                                              • javax.websocket.OnClose (implements java.lang.annotation.Annotation)
                                              • +
                                              • javax.websocket.OnError (implements java.lang.annotation.Annotation)
                                              • +
                                              • javax.websocket.OnMessage (implements java.lang.annotation.Annotation)
                                              • +
                                              • javax.websocket.OnOpen (implements java.lang.annotation.Annotation)
                                              • +
                                              • javax.websocket.server.PathParam (implements java.lang.annotation.Annotation)
                                              • +
                                              • javax.websocket.server.ServerEndpoint (implements java.lang.annotation.Annotation)
                                              • + +
                                                +

                                                Enum Hierarchy

                                                +
                                                +
                                                + diff --git a/apidocs/latest1x/package-search-index.js b/apidocs/latest1x/package-search-index.js new file mode 100644 index 00000000..4e39b317 --- /dev/null +++ b/apidocs/latest1x/package-search-index.js @@ -0,0 +1 @@ +packageSearchIndex = [{"l":"All Packages","url":"allpackages-index.html"},{"l":"javax.websocket"},{"l":"javax.websocket.server"},{"l":"org.glassfish.tyrus.client"},{"l":"org.glassfish.tyrus.client.auth"},{"l":"org.glassfish.tyrus.container.grizzly.client"},{"l":"org.glassfish.tyrus.container.grizzly.server"},{"l":"org.glassfish.tyrus.core"},{"l":"org.glassfish.tyrus.core.cluster"},{"l":"org.glassfish.tyrus.core.coder"},{"l":"org.glassfish.tyrus.core.collection"},{"l":"org.glassfish.tyrus.core.extension"},{"l":"org.glassfish.tyrus.core.frame"},{"l":"org.glassfish.tyrus.core.l10n"},{"l":"org.glassfish.tyrus.core.monitoring"},{"l":"org.glassfish.tyrus.core.uri"},{"l":"org.glassfish.tyrus.core.uri.internal"},{"l":"org.glassfish.tyrus.core.wsadl.model"},{"l":"org.glassfish.tyrus.gf.cdi"},{"l":"org.glassfish.tyrus.gf.ejb"},{"l":"org.glassfish.tyrus.server"},{"l":"org.glassfish.tyrus.servlet"},{"l":"org.glassfish.tyrus.spi"}] \ No newline at end of file diff --git a/apidocs/latest1x/package-search-index.zip b/apidocs/latest1x/package-search-index.zip new file mode 100644 index 00000000..7bf5808a Binary files /dev/null and b/apidocs/latest1x/package-search-index.zip differ diff --git a/apidocs/latest1x/packages b/apidocs/latest1x/packages index 81054a6c..67ade0d1 100644 --- a/apidocs/latest1x/packages +++ b/apidocs/latest1x/packages @@ -8,6 +8,7 @@ org.glassfish.tyrus.core org.glassfish.tyrus.core.monitoring org.glassfish.tyrus.core.frame org.glassfish.tyrus.core.extension +org.glassfish.tyrus.core.collection org.glassfish.tyrus.core.coder org.glassfish.tyrus.core.cluster org.glassfish.tyrus.client diff --git a/apidocs/latest1x/resources/glass.png b/apidocs/latest1x/resources/glass.png new file mode 100644 index 00000000..a7f591f4 Binary files /dev/null and b/apidocs/latest1x/resources/glass.png differ diff --git a/apidocs/latest1x/resources/x.png b/apidocs/latest1x/resources/x.png new file mode 100644 index 00000000..30548a75 Binary files /dev/null and b/apidocs/latest1x/resources/x.png differ diff --git a/apidocs/latest1x/script.js b/apidocs/latest1x/script.js index b3463569..0eaaf535 100644 --- a/apidocs/latest1x/script.js +++ b/apidocs/latest1x/script.js @@ -1,9 +1,114 @@ -function show(type) -{ +/* + * Copyright (c) 2013, 2018, Oracle and/or its affiliates. All rights reserved. + * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. + * + * This code is free software; you can redistribute it and/or modify it + * under the terms of the GNU General Public License version 2 only, as + * published by the Free Software Foundation. Oracle designates this + * particular file as subject to the "Classpath" exception as provided + * by Oracle in the LICENSE file that accompanied this code. + * + * This code is distributed in the hope that it will be useful, but WITHOUT + * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License + * version 2 for more details (a copy is included in the LICENSE file that + * accompanied this code). + * + * You should have received a copy of the GNU General Public License version + * 2 along with this work; if not, write to the Free Software Foundation, + * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. + * + * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA + * or visit www.oracle.com if you need additional information or have any + * questions. + */ + +var moduleSearchIndex; +var packageSearchIndex; +var typeSearchIndex; +var memberSearchIndex; +var tagSearchIndex; +function loadScripts(doc, tag) { + createElem(doc, tag, 'jquery/jszip/dist/jszip.js'); + createElem(doc, tag, 'jquery/jszip-utils/dist/jszip-utils.js'); + if (window.navigator.userAgent.indexOf('MSIE ') > 0 || window.navigator.userAgent.indexOf('Trident/') > 0 || + window.navigator.userAgent.indexOf('Edge/') > 0) { + createElem(doc, tag, 'jquery/jszip-utils/dist/jszip-utils-ie.js'); + } + createElem(doc, tag, 'search.js'); + + $.get(pathtoroot + "module-search-index.zip") + .done(function() { + JSZipUtils.getBinaryContent(pathtoroot + "module-search-index.zip", function(e, data) { + var zip = new JSZip(data); + zip.load(data); + moduleSearchIndex = JSON.parse(zip.file("module-search-index.json").asText()); + }); + }); + $.get(pathtoroot + "package-search-index.zip") + .done(function() { + JSZipUtils.getBinaryContent(pathtoroot + "package-search-index.zip", function(e, data) { + var zip = new JSZip(data); + zip.load(data); + packageSearchIndex = JSON.parse(zip.file("package-search-index.json").asText()); + }); + }); + $.get(pathtoroot + "type-search-index.zip") + .done(function() { + JSZipUtils.getBinaryContent(pathtoroot + "type-search-index.zip", function(e, data) { + var zip = new JSZip(data); + zip.load(data); + typeSearchIndex = JSON.parse(zip.file("type-search-index.json").asText()); + }); + }); + $.get(pathtoroot + "member-search-index.zip") + .done(function() { + JSZipUtils.getBinaryContent(pathtoroot + "member-search-index.zip", function(e, data) { + var zip = new JSZip(data); + zip.load(data); + memberSearchIndex = JSON.parse(zip.file("member-search-index.json").asText()); + }); + }); + $.get(pathtoroot + "tag-search-index.zip") + .done(function() { + JSZipUtils.getBinaryContent(pathtoroot + "tag-search-index.zip", function(e, data) { + var zip = new JSZip(data); + zip.load(data); + tagSearchIndex = JSON.parse(zip.file("tag-search-index.json").asText()); + }); + }); + if (!moduleSearchIndex) { + createElem(doc, tag, 'module-search-index.js'); + } + if (!packageSearchIndex) { + createElem(doc, tag, 'package-search-index.js'); + } + if (!typeSearchIndex) { + createElem(doc, tag, 'type-search-index.js'); + } + if (!memberSearchIndex) { + createElem(doc, tag, 'member-search-index.js'); + } + if (!tagSearchIndex) { + createElem(doc, tag, 'tag-search-index.js'); + } + $(window).resize(function() { + $('.navPadding').css('padding-top', $('.fixedNav').css("height")); + }); +} + +function createElem(doc, tag, path) { + var script = doc.createElement(tag); + var scriptElement = doc.getElementsByTagName(tag)[0]; + script.src = pathtoroot + path; + scriptElement.parentNode.insertBefore(script, scriptElement); +} + +function show(type) { count = 0; - for (var key in methods) { + for (var key in data) { var row = document.getElementById(key); - if ((methods[key] & type) != 0) { + if ((data[key] & type) !== 0) { row.style.display = ''; row.className = (count++ % 2) ? rowColor : altColor; } @@ -13,8 +118,7 @@ function show(type) updateTabs(type); } -function updateTabs(type) -{ +function updateTabs(type) { for (var value in tabs) { var sNode = document.getElementById(tabs[value][0]); var spanNode = sNode.firstChild; @@ -28,3 +132,8 @@ function updateTabs(type) } } } + +function updateModuleFrame(pFrame, cFrame) { + top.packageFrame.location = pFrame; + top.classFrame.location = cFrame; +} diff --git a/apidocs/latest1x/search.js b/apidocs/latest1x/search.js new file mode 100644 index 00000000..9d3fb812 --- /dev/null +++ b/apidocs/latest1x/search.js @@ -0,0 +1,329 @@ +/* + * Copyright (c) 2015, 2018, Oracle and/or its affiliates. All rights reserved. + * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. + * + * This code is free software; you can redistribute it and/or modify it + * under the terms of the GNU General Public License version 2 only, as + * published by the Free Software Foundation. Oracle designates this + * particular file as subject to the "Classpath" exception as provided + * by Oracle in the LICENSE file that accompanied this code. + * + * This code is distributed in the hope that it will be useful, but WITHOUT + * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License + * version 2 for more details (a copy is included in the LICENSE file that + * accompanied this code). + * + * You should have received a copy of the GNU General Public License version + * 2 along with this work; if not, write to the Free Software Foundation, + * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. + * + * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA + * or visit www.oracle.com if you need additional information or have any + * questions. + */ + +var noResult = {l: "No results found"}; +var catModules = "Modules"; +var catPackages = "Packages"; +var catTypes = "Types"; +var catMembers = "Members"; +var catSearchTags = "SearchTags"; +var highlight = "$&"; +var camelCaseRegexp = ""; +var secondaryMatcher = ""; +function getHighlightedText(item) { + var ccMatcher = new RegExp(camelCaseRegexp); + var label = item.replace(ccMatcher, highlight); + if (label === item) { + label = item.replace(secondaryMatcher, highlight); + } + return label; +} +function getURLPrefix(ui) { + var urlPrefix=""; + if (useModuleDirectories) { + var slash = "/"; + if (ui.item.category === catModules) { + return ui.item.l + slash; + } else if (ui.item.category === catPackages && ui.item.m) { + return ui.item.m + slash; + } else if ((ui.item.category === catTypes && ui.item.p) || ui.item.category === catMembers) { + $.each(packageSearchIndex, function(index, item) { + if (ui.item.p == item.l) { + urlPrefix = item.m + slash; + } + }); + return urlPrefix; + } else { + return urlPrefix; + } + } + return urlPrefix; +} +var watermark = 'Search'; +$(function() { + $("#search").val(''); + $("#search").prop("disabled", false); + $("#reset").prop("disabled", false); + $("#search").val(watermark).addClass('watermark'); + $("#search").blur(function() { + if ($(this).val().length == 0) { + $(this).val(watermark).addClass('watermark'); + } + }); + $("#search").on('click keydown', function() { + if ($(this).val() == watermark) { + $(this).val('').removeClass('watermark'); + } + }); + $("#reset").click(function() { + $("#search").val(''); + $("#search").focus(); + }); + $("#search").focus(); + $("#search")[0].setSelectionRange(0, 0); +}); +$.widget("custom.catcomplete", $.ui.autocomplete, { + _create: function() { + this._super(); + this.widget().menu("option", "items", "> :not(.ui-autocomplete-category)"); + }, + _renderMenu: function(ul, items) { + var rMenu = this, + currentCategory = ""; + $.each(items, function(index, item) { + var li; + if (item.l !== noResult.l && item.category !== currentCategory) { + ul.append("
                                              • " + item.category + "
                                              • "); + currentCategory = item.category; + } + li = rMenu._renderItemData(ul, item); + if (item.category) { + li.attr("aria-label", item.category + " : " + item.l); + li.attr("class", "resultItem"); + } else { + li.attr("aria-label", item.l); + li.attr("class", "resultItem"); + } + }); + }, + _renderItem: function(ul, item) { + var label = ""; + if (item.category === catModules) { + label = getHighlightedText(item.l); + } else if (item.category === catPackages) { + label = (item.m) + ? getHighlightedText(item.m + "/" + item.l) + : getHighlightedText(item.l); + } else if (item.category === catTypes) { + label = (item.p) + ? getHighlightedText(item.p + "." + item.l) + : getHighlightedText(item.l); + } else if (item.category === catMembers) { + label = getHighlightedText(item.p + "." + (item.c + "." + item.l)); + } else if (item.category === catSearchTags) { + label = getHighlightedText(item.l); + } else { + label = item.l; + } + $li = $("
                                              • ").appendTo(ul); + if (item.category === catSearchTags) { + if (item.d) { + $("").attr("href", "#") + .html(label + " (" + item.h + ")
                                                " + + item.d + "
                                                ") + .appendTo($li); + } else { + $("
                                                ").attr("href", "#") + .html(label + " (" + item.h + ")") + .appendTo($li); + } + } else { + $("").attr("href", "#") + .html(label) + .appendTo($li); + } + return $li; + } +}); +$(function() { + $("#search").catcomplete({ + minLength: 1, + delay: 100, + source: function(request, response) { + var result = new Array(); + var presult = new Array(); + var tresult = new Array(); + var mresult = new Array(); + var tgresult = new Array(); + var secondaryresult = new Array(); + var displayCount = 0; + var exactMatcher = new RegExp("^" + $.ui.autocomplete.escapeRegex(request.term) + "$", "i"); + camelCaseRegexp = ($.ui.autocomplete.escapeRegex(request.term)).split(/(?=[A-Z])/).join("([a-z0-9_$]*?)"); + var camelCaseMatcher = new RegExp("^" + camelCaseRegexp); + secondaryMatcher = new RegExp($.ui.autocomplete.escapeRegex(request.term), "i"); + + // Return the nested innermost name from the specified object + function nestedName(e) { + return e.l.substring(e.l.lastIndexOf(".") + 1); + } + + function concatResults(a1, a2) { + a1 = a1.concat(a2); + a2.length = 0; + return a1; + } + + if (moduleSearchIndex) { + var mdleCount = 0; + $.each(moduleSearchIndex, function(index, item) { + item.category = catModules; + if (exactMatcher.test(item.l)) { + result.push(item); + mdleCount++; + } else if (camelCaseMatcher.test(item.l)) { + result.push(item); + } else if (secondaryMatcher.test(item.l)) { + secondaryresult.push(item); + } + }); + displayCount = mdleCount; + result = concatResults(result, secondaryresult); + } + if (packageSearchIndex) { + var pCount = 0; + var pkg = ""; + $.each(packageSearchIndex, function(index, item) { + item.category = catPackages; + pkg = (item.m) + ? (item.m + "/" + item.l) + : item.l; + if (exactMatcher.test(item.l)) { + presult.push(item); + pCount++; + } else if (camelCaseMatcher.test(pkg)) { + presult.push(item); + } else if (secondaryMatcher.test(pkg)) { + secondaryresult.push(item); + } + }); + result = result.concat(concatResults(presult, secondaryresult)); + displayCount = (pCount > displayCount) ? pCount : displayCount; + } + if (typeSearchIndex) { + var tCount = 0; + $.each(typeSearchIndex, function(index, item) { + item.category = catTypes; + var s = nestedName(item); + if (exactMatcher.test(s)) { + tresult.push(item); + tCount++; + } else if (camelCaseMatcher.test(s)) { + tresult.push(item); + } else if (secondaryMatcher.test(item.p + "." + item.l)) { + secondaryresult.push(item); + } + }); + result = result.concat(concatResults(tresult, secondaryresult)); + displayCount = (tCount > displayCount) ? tCount : displayCount; + } + if (memberSearchIndex) { + var mCount = 0; + $.each(memberSearchIndex, function(index, item) { + item.category = catMembers; + var s = nestedName(item); + if (exactMatcher.test(s)) { + mresult.push(item); + mCount++; + } else if (camelCaseMatcher.test(s)) { + mresult.push(item); + } else if (secondaryMatcher.test(item.c + "." + item.l)) { + secondaryresult.push(item); + } + }); + result = result.concat(concatResults(mresult, secondaryresult)); + displayCount = (mCount > displayCount) ? mCount : displayCount; + } + if (tagSearchIndex) { + var tgCount = 0; + $.each(tagSearchIndex, function(index, item) { + item.category = catSearchTags; + if (exactMatcher.test(item.l)) { + tgresult.push(item); + tgCount++; + } else if (secondaryMatcher.test(item.l)) { + secondaryresult.push(item); + } + }); + result = result.concat(concatResults(tgresult, secondaryresult)); + displayCount = (tgCount > displayCount) ? tgCount : displayCount; + } + displayCount = (displayCount > 500) ? displayCount : 500; + var counter = function() { + var count = {Modules: 0, Packages: 0, Types: 0, Members: 0, SearchTags: 0}; + var f = function(item) { + count[item.category] += 1; + return (count[item.category] <= displayCount); + }; + return f; + }(); + response(result.filter(counter)); + }, + response: function(event, ui) { + if (!ui.content.length) { + ui.content.push(noResult); + } else { + $("#search").empty(); + } + }, + autoFocus: true, + position: { + collision: "flip" + }, + select: function(event, ui) { + if (ui.item.l !== noResult.l) { + var url = getURLPrefix(ui); + if (ui.item.category === catModules) { + if (useModuleDirectories) { + url += "module-summary.html"; + } else { + url = ui.item.l + "-summary.html"; + } + } else if (ui.item.category === catPackages) { + if (ui.item.url) { + url = ui.item.url; + } else { + url += ui.item.l.replace(/\./g, '/') + "/package-summary.html"; + } + } else if (ui.item.category === catTypes) { + if (ui.item.url) { + url = ui.item.url; + } else if (ui.item.p === "") { + url += ui.item.l + ".html"; + } else { + url += ui.item.p.replace(/\./g, '/') + "/" + ui.item.l + ".html"; + } + } else if (ui.item.category === catMembers) { + if (ui.item.p === "") { + url += ui.item.c + ".html" + "#"; + } else { + url += ui.item.p.replace(/\./g, '/') + "/" + ui.item.c + ".html" + "#"; + } + if (ui.item.url) { + url += ui.item.url; + } else { + url += ui.item.l; + } + } else if (ui.item.category === catSearchTags) { + url += ui.item.u; + } + if (top !== window) { + parent.classFrame.location = pathtoroot + url; + } else { + window.location.href = pathtoroot + url; + } + } + } + }); +}); diff --git a/apidocs/latest1x/serialized-form.html b/apidocs/latest1x/serialized-form.html index c3629360..43a40c4b 100644 --- a/apidocs/latest1x/serialized-form.html +++ b/apidocs/latest1x/serialized-form.html @@ -1,38 +1,52 @@ - + - + +Serialized Form (Tyrus 1.19 API) -Serialized Form (Tyrus 1.18 API) - + + + + + + + + +var pathtoroot = "./"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
                                                + +
                                                +

                                                Serialized Form

                                              • -
                                              • +
                                              • Class javax.websocket.SessionException extends java.lang.Exception implements Serializable

                                                @@ -148,11 +173,13 @@
                                              • +
                                              • +

                                                Package org.glassfish.tyrus.client

                                              • +
                                              • +

                                                Package org.glassfish.tyrus.client.auth

                                                +
                                              • +

                                                Package org.glassfish.tyrus.core

                                              • -
                                              • +
                                              • Class org.glassfish.tyrus.core.ProtocolException extends WebSocketException implements Serializable

                                                @@ -224,7 +255,7 @@
                                              • -
                                              • +
                                              • Class org.glassfish.tyrus.core.ServiceConfigurationError extends java.lang.Error implements Serializable

                                                @@ -233,7 +264,7 @@
                                                -8532392338326428074L
                                              • -
                                              • +
                                              • Class org.glassfish.tyrus.core.TyrusExtension extends java.lang.Object implements Serializable

                                                @@ -251,13 +282,13 @@
                                              • parameters

                                                -
                                                java.util.ArrayList<E> parameters
                                                +
                                                java.util.ArrayList<Extension.Parameter> parameters
                                              • -
                                              • +
                                              • Class org.glassfish.tyrus.core.TyrusExtension.TyrusParameter extends java.lang.Object implements Serializable

                                                @@ -281,7 +312,7 @@
                                              • -
                                              • +
                                              • Class org.glassfish.tyrus.core.Utf8DecodingException extends WebSocketException implements Serializable

                                                @@ -290,48 +321,54 @@
                                                7766051445796057L
                                              • -
                                              • +
                                              • Class org.glassfish.tyrus.core.WebSocketException extends java.lang.RuntimeException implements Serializable

                                              • +
                                              • +

                                                Package org.glassfish.tyrus.core.uri.internal

                                                +
                                              • + + diff --git a/apidocs/latest1x/stylesheet.css b/apidocs/latest1x/stylesheet.css index 98055b22..fa246765 100644 --- a/apidocs/latest1x/stylesheet.css +++ b/apidocs/latest1x/stylesheet.css @@ -1,35 +1,51 @@ -/* Javadoc style sheet */ -/* -Overall document style -*/ +/* + * Javadoc style sheet + */ @import url('resources/fonts/dejavu.css'); +/* + * Styles for individual HTML elements. + * + * These are styles that are specific to individual HTML elements. Changing them affects the style of a particular + * HTML element throughout the page. + */ + body { background-color:#ffffff; color:#353833; font-family:'DejaVu Sans', Arial, Helvetica, sans-serif; font-size:14px; margin:0; + padding:0; + height:100%; + width:100%; +} +iframe { + margin:0; + padding:0; + height:100%; + width:100%; + overflow-y:scroll; + border:none; } a:link, a:visited { text-decoration:none; color:#4A6782; } -a:hover, a:focus { +a[href]:hover, a[href]:focus { text-decoration:none; color:#bb7a2a; } -a:active { - text-decoration:none; - color:#4A6782; -} a[name] { color:#353833; } -a[name]:hover { - text-decoration:none; - color:#353833; +a[name]:before, a[name]:target, a[id]:before, a[id]:target { + content:""; + display:inline-block; + position:relative; + padding-top:129px; + margin-top:-129px; } pre { font-family:'DejaVu Sans Mono', monospace; @@ -78,9 +94,16 @@ table tr td dt code { sup { font-size:8px; } + +/* + * Styles for HTML generated by javadoc. + * + * These are style classes that are used by the standard doclet to generate HTML documentation. + */ + /* -Document title and Copyright styles -*/ + * Styles for document title and copyright. + */ .clear { clear:both; height:0px; @@ -111,8 +134,8 @@ Document title and Copyright styles font-weight:bold; } /* -Navigation bar styles -*/ + * Styles for navigation bar. + */ .bar { background-color:#4D7A97; color:#FFFFFF; @@ -121,6 +144,15 @@ Navigation bar styles font-size:11px; margin:0; } +.navPadding { + padding-top: 107px; +} +.fixedNav { + position:fixed; + width:100%; + z-index:999; + background-color:#ffffff; +} .topNav { background-color:#4D7A97; color:#FFFFFF; @@ -170,7 +202,22 @@ ul.navList li{ padding: 5px 6px; text-transform:uppercase; } -ul.subNavList li{ +ul.navListSearch { + float:right; + margin:0 0 0 0; + padding:0; +} +ul.navListSearch li { + list-style:none; + float:right; + padding: 5px 6px; + text-transform:uppercase; +} +ul.navListSearch li label { + position:relative; + right:-16px; +} +ul.subNavList li { list-style:none; float:left; } @@ -196,21 +243,29 @@ ul.subNavList li{ overflow:hidden; } /* -Page header and footer styles -*/ + * Styles for page header and footer. + */ .header, .footer { clear:both; margin:0 20px; padding:5px 0 0 0; } -.indexHeader { - margin:10px; +.indexNav { position:relative; + font-size:12px; + background-color:#dee3e9; +} +.indexNav ul { + margin-top:0; + padding:5px; } -.indexHeader span{ - margin-right:15px; +.indexNav ul li { + display:inline; + list-style-type:none; + padding-right:10px; + text-transform:uppercase; } -.indexHeader h1 { +.indexNav h1 { font-size:13px; } .title { @@ -232,8 +287,8 @@ Page header and footer styles font-size:13px; } /* -Heading styles -*/ + * Styles for headings. + */ div.details ul.blockList ul.blockList ul.blockList li.blockList h4, div.details ul.blockList ul.blockList ul.blockListLast li.blockList h4 { background-color:#dee3e9; border:1px solid #d0d9e0; @@ -254,9 +309,10 @@ ul.blockList li.blockList h2 { padding:0px 0 20px 0; } /* -Page layout container styles -*/ -.contentContainer, .sourceContainer, .classUseContainer, .serializedFormContainer, .constantValuesContainer { + * Styles for page layout containers. + */ +.contentContainer, .sourceContainer, .classUseContainer, .serializedFormContainer, .constantValuesContainer, +.allClassesContainer, .allPackagesContainer { clear:both; padding:10px 20px; position:relative; @@ -287,7 +343,7 @@ Page layout container styles .contentContainer .description dl dd, .contentContainer .details dl dd, .serializedFormContainer dl dd { margin:5px 0 10px 0px; font-size:14px; - font-family:'DejaVu Sans Mono',monospace; + font-family:'DejaVu Serif', Georgia, "Times New Roman", Times, serif; } .serializedFormContainer dl.nameValue dt { margin-left:1px; @@ -301,8 +357,11 @@ Page layout container styles display:inline; } /* -List styles -*/ + * Styles for lists. + */ +li.circle { + list-style:circle; +} ul.horizontal li { display:inline; font-size:0.9em; @@ -355,19 +414,22 @@ table tr td dl, table tr td dl dt, table tr td dl dd { margin-bottom:1px; } /* -Table styles -*/ -.overviewSummary, .memberSummary, .typeSummary, .useSummary, .constantsSummary, .deprecatedSummary { + * Styles for tables. + */ +.overviewSummary, .memberSummary, .typeSummary, .useSummary, .constantsSummary, .deprecatedSummary, +.requiresSummary, .packagesSummary, .providesSummary, .usesSummary { width:100%; + border-spacing:0; border-left:1px solid #EEE; border-right:1px solid #EEE; border-bottom:1px solid #EEE; } -.overviewSummary, .memberSummary { +.overviewSummary, .memberSummary, .requiresSummary, .packagesSummary, .providesSummary, .usesSummary { padding:0px; } .overviewSummary caption, .memberSummary caption, .typeSummary caption, -.useSummary caption, .constantsSummary caption, .deprecatedSummary caption { +.useSummary caption, .constantsSummary caption, .deprecatedSummary caption, +.requiresSummary caption, .packagesSummary caption, .providesSummary caption, .usesSummary caption { position:relative; text-align:left; background-repeat:no-repeat; @@ -382,17 +444,31 @@ Table styles white-space:pre; } .overviewSummary caption a:link, .memberSummary caption a:link, .typeSummary caption a:link, -.useSummary caption a:link, .constantsSummary caption a:link, .deprecatedSummary caption a:link, +.constantsSummary caption a:link, .deprecatedSummary caption a:link, +.requiresSummary caption a:link, .packagesSummary caption a:link, .providesSummary caption a:link, +.usesSummary caption a:link, .overviewSummary caption a:hover, .memberSummary caption a:hover, .typeSummary caption a:hover, -.useSummary caption a:hover, .constantsSummary caption a:hover, .deprecatedSummary caption a:hover, +.constantsSummary caption a:hover, .deprecatedSummary caption a:hover, +.requiresSummary caption a:hover, .packagesSummary caption a:hover, .providesSummary caption a:hover, +.usesSummary caption a:hover, .overviewSummary caption a:active, .memberSummary caption a:active, .typeSummary caption a:active, -.useSummary caption a:active, .constantsSummary caption a:active, .deprecatedSummary caption a:active, +.constantsSummary caption a:active, .deprecatedSummary caption a:active, +.requiresSummary caption a:active, .packagesSummary caption a:active, .providesSummary caption a:active, +.usesSummary caption a:active, .overviewSummary caption a:visited, .memberSummary caption a:visited, .typeSummary caption a:visited, -.useSummary caption a:visited, .constantsSummary caption a:visited, .deprecatedSummary caption a:visited { +.constantsSummary caption a:visited, .deprecatedSummary caption a:visited, +.requiresSummary caption a:visited, .packagesSummary caption a:visited, .providesSummary caption a:visited, +.usesSummary caption a:visited { color:#FFFFFF; } +.useSummary caption a:link, .useSummary caption a:hover, .useSummary caption a:active, +.useSummary caption a:visited { + color:#1f389c; +} .overviewSummary caption span, .memberSummary caption span, .typeSummary caption span, -.useSummary caption span, .constantsSummary caption span, .deprecatedSummary caption span { +.useSummary caption span, .constantsSummary caption span, .deprecatedSummary caption span, +.requiresSummary caption span, .packagesSummary caption span, .providesSummary caption span, +.usesSummary caption span { white-space:nowrap; padding-top:5px; padding-left:12px; @@ -404,7 +480,8 @@ Table styles border: none; height:16px; } -.memberSummary caption span.activeTableTab span { +.memberSummary caption span.activeTableTab span, .packagesSummary caption span.activeTableTab span, +.overviewSummary caption span.activeTableTab span, .typeSummary caption span.activeTableTab span { white-space:nowrap; padding-top:5px; padding-left:12px; @@ -415,7 +492,8 @@ Table styles background-color:#F8981D; height:16px; } -.memberSummary caption span.tableTab span { +.memberSummary caption span.tableTab span, .packagesSummary caption span.tableTab span, +.overviewSummary caption span.tableTab span, .typeSummary caption span.tableTab span { white-space:nowrap; padding-top:5px; padding-left:12px; @@ -426,7 +504,10 @@ Table styles background-color:#4D7A97; height:16px; } -.memberSummary caption span.tableTab, .memberSummary caption span.activeTableTab { +.memberSummary caption span.tableTab, .memberSummary caption span.activeTableTab, +.packagesSummary caption span.tableTab, .packagesSummary caption span.activeTableTab, +.overviewSummary caption span.tableTab, .overviewSummary caption span.activeTableTab, +.typeSummary caption span.tableTab, .typeSummary caption span.activeTableTab { padding-top:0px; padding-left:0px; padding-right:0px; @@ -435,14 +516,16 @@ Table styles display:inline; } .overviewSummary .tabEnd, .memberSummary .tabEnd, .typeSummary .tabEnd, -.useSummary .tabEnd, .constantsSummary .tabEnd, .deprecatedSummary .tabEnd { +.useSummary .tabEnd, .constantsSummary .tabEnd, .deprecatedSummary .tabEnd, +.requiresSummary .tabEnd, .packagesSummary .tabEnd, .providesSummary .tabEnd, .usesSummary .tabEnd { display:none; width:5px; position:relative; float:left; background-color:#F8981D; } -.memberSummary .activeTableTab .tabEnd { +.memberSummary .activeTableTab .tabEnd, .packagesSummary .activeTableTab .tabEnd, +.overviewSummary .activeTableTab .tabEnd, .typeSummary .activeTableTab .tabEnd { display:none; width:5px; margin-right:3px; @@ -450,66 +533,88 @@ Table styles float:left; background-color:#F8981D; } -.memberSummary .tableTab .tabEnd { +.memberSummary .tableTab .tabEnd, .packagesSummary .tableTab .tabEnd, +.overviewSummary .tableTab .tabEnd, .typeSummary .tableTab .tabEnd { display:none; width:5px; margin-right:3px; position:relative; background-color:#4D7A97; float:left; - +} +.rowColor th, .altColor th { + font-weight:normal; } .overviewSummary td, .memberSummary td, .typeSummary td, -.useSummary td, .constantsSummary td, .deprecatedSummary td { +.useSummary td, .constantsSummary td, .deprecatedSummary td, +.requiresSummary td, .packagesSummary td, .providesSummary td, .usesSummary td { text-align:left; padding:0px 0px 12px 10px; } -th.colOne, th.colFirst, th.colLast, .useSummary th, .constantsSummary th, -td.colOne, td.colFirst, td.colLast, .useSummary td, .constantsSummary td{ +th.colFirst, th.colSecond, th.colLast, th.colConstructorName, th.colDeprecatedItemName, .useSummary th, +.constantsSummary th, .packagesSummary th, td.colFirst, td.colSecond, td.colLast, .useSummary td, +.constantsSummary td { vertical-align:top; padding-right:0px; padding-top:8px; padding-bottom:3px; } -th.colFirst, th.colLast, th.colOne, .constantsSummary th { +th.colFirst, th.colSecond, th.colLast, th.colConstructorName, th.colDeprecatedItemName, .constantsSummary th, +.packagesSummary th { background:#dee3e9; text-align:left; padding:8px 3px 3px 7px; } td.colFirst, th.colFirst { - white-space:nowrap; font-size:13px; } -td.colLast, th.colLast { +td.colSecond, th.colSecond, td.colLast, th.colConstructorName, th.colDeprecatedItemName, th.colLast { font-size:13px; } -td.colOne, th.colOne { +.constantsSummary th, .packagesSummary th { + font-size:13px; +} +.providesSummary th.colFirst, .providesSummary th.colLast, .providesSummary td.colFirst, +.providesSummary td.colLast { + white-space:normal; font-size:13px; } .overviewSummary td.colFirst, .overviewSummary th.colFirst, -.useSummary td.colFirst, .useSummary th.colFirst, -.overviewSummary td.colOne, .overviewSummary th.colOne, +.requiresSummary td.colFirst, .requiresSummary th.colFirst, +.packagesSummary td.colFirst, .packagesSummary td.colSecond, .packagesSummary th.colFirst, .packagesSummary th, +.usesSummary td.colFirst, .usesSummary th.colFirst, +.providesSummary td.colFirst, .providesSummary th.colFirst, .memberSummary td.colFirst, .memberSummary th.colFirst, -.memberSummary td.colOne, .memberSummary th.colOne, -.typeSummary td.colFirst{ - width:25%; +.memberSummary td.colSecond, .memberSummary th.colSecond, .memberSummary th.colConstructorName, +.typeSummary td.colFirst, .typeSummary th.colFirst { vertical-align:top; } -td.colOne a:link, td.colOne a:active, td.colOne a:visited, td.colOne a:hover, td.colFirst a:link, td.colFirst a:active, td.colFirst a:visited, td.colFirst a:hover, td.colLast a:link, td.colLast a:active, td.colLast a:visited, td.colLast a:hover, .constantValuesContainer td a:link, .constantValuesContainer td a:active, .constantValuesContainer td a:visited, .constantValuesContainer td a:hover { +.packagesSummary th.colLast, .packagesSummary td.colLast { + white-space:normal; +} +td.colFirst a:link, td.colFirst a:visited, +td.colSecond a:link, td.colSecond a:visited, +th.colFirst a:link, th.colFirst a:visited, +th.colSecond a:link, th.colSecond a:visited, +th.colConstructorName a:link, th.colConstructorName a:visited, +th.colDeprecatedItemName a:link, th.colDeprecatedItemName a:visited, +.constantValuesContainer td a:link, .constantValuesContainer td a:visited, +.allClassesContainer td a:link, .allClassesContainer td a:visited, +.allPackagesContainer td a:link, .allPackagesContainer td a:visited { font-weight:bold; } .tableSubHeadingColor { background-color:#EEEEFF; } -.altColor { +.altColor, .altColor th { background-color:#FFFFFF; } -.rowColor { +.rowColor, .rowColor th { background-color:#EEEEEF; } /* -Content styles -*/ + * Styles for contents. + */ .description pre { margin-top:0; } @@ -520,27 +625,22 @@ Content styles .docSummary { padding:0; } - ul.blockList ul.blockList ul.blockList li.blockList h3 { font-style:normal; } - div.block { font-size:14px; font-family:'DejaVu Serif', Georgia, "Times New Roman", Times, serif; } - td.colLast div { padding-top:0px; } - - td.colLast a { padding-bottom:3px; } /* -Formatting effect styles -*/ + * Styles for formatting effect. + */ .sourceLineNo { color:green; padding:0 30px 0 0; @@ -555,20 +655,252 @@ h1.hidden { margin:3px 10px 2px 0px; color:#474747; } -.deprecatedLabel, .descfrmTypeLabel, .memberNameLabel, .memberNameLink, -.overrideSpecifyLabel, .packageHierarchyLabel, .paramLabel, .returnLabel, -.seeLabel, .simpleTagLabel, .throwsLabel, .typeNameLabel, .typeNameLink { +.deprecatedLabel, .descfrmTypeLabel, .implementationLabel, .memberNameLabel, .memberNameLink, +.moduleLabelInPackage, .moduleLabelInType, .overrideSpecifyLabel, .packageLabelInType, +.packageHierarchyLabel, .paramLabel, .returnLabel, .seeLabel, .simpleTagLabel, +.throwsLabel, .typeNameLabel, .typeNameLink, .searchTagLink { font-weight:bold; } .deprecationComment, .emphasizedPhrase, .interfaceName { font-style:italic; } - -div.block div.block span.deprecationComment, div.block div.block span.emphasizedPhrase, +.deprecationBlock { + font-size:14px; + font-family:'DejaVu Serif', Georgia, "Times New Roman", Times, serif; + border-style:solid; + border-width:thin; + border-radius:10px; + padding:10px; + margin-bottom:10px; + margin-right:10px; + display:inline-block; +} +div.block div.deprecationComment, div.block div.block span.emphasizedPhrase, div.block div.block span.interfaceName { font-style:normal; } - -div.contentContainer ul.blockList li.blockList h2{ +div.contentContainer ul.blockList li.blockList h2 { padding-bottom:0px; } +/* + * Styles for IFRAME. + */ +.mainContainer { + margin:0 auto; + padding:0; + height:100%; + width:100%; + position:fixed; + top:0; + left:0; +} +.leftContainer { + height:100%; + position:fixed; + width:320px; +} +.leftTop { + position:relative; + float:left; + width:315px; + top:0; + left:0; + height:30%; + border-right:6px solid #ccc; + border-bottom:6px solid #ccc; +} +.leftBottom { + position:relative; + float:left; + width:315px; + bottom:0; + left:0; + height:70%; + border-right:6px solid #ccc; + border-top:1px solid #000; +} +.rightContainer { + position:absolute; + left:320px; + top:0; + bottom:0; + height:100%; + right:0; + border-left:1px solid #000; +} +.rightIframe { + margin:0; + padding:0; + height:100%; + right:30px; + width:100%; + overflow:visible; + margin-bottom:30px; +} +/* + * Styles specific to HTML5 elements. + */ +main, nav, header, footer, section { + display:block; +} +/* + * Styles for javadoc search. + */ +.ui-autocomplete-category { + font-weight:bold; + font-size:15px; + padding:7px 0 7px 3px; + background-color:#4D7A97; + color:#FFFFFF; +} +.resultItem { + font-size:13px; +} +.ui-autocomplete { + max-height:85%; + max-width:65%; + overflow-y:scroll; + overflow-x:scroll; + white-space:nowrap; + box-shadow: 0 3px 6px rgba(0,0,0,0.16), 0 3px 6px rgba(0,0,0,0.23); +} +ul.ui-autocomplete { + position:fixed; + z-index:999999; +} +ul.ui-autocomplete li { + float:left; + clear:both; + width:100%; +} +.resultHighlight { + font-weight:bold; +} +#search { + background-image:url('resources/glass.png'); + background-size:13px; + background-repeat:no-repeat; + background-position:2px 3px; + padding-left:20px; + position:relative; + right:-18px; +} +#reset { + background-color: rgb(255,255,255); + background-image:url('resources/x.png'); + background-position:center; + background-repeat:no-repeat; + background-size:12px; + border:0 none; + width:16px; + height:17px; + position:relative; + left:-4px; + top:-4px; + font-size:0px; +} +.watermark { + color:#545454; +} +.searchTagDescResult { + font-style:italic; + font-size:11px; +} +.searchTagHolderResult { + font-style:italic; + font-size:12px; +} +.searchTagResult:before, .searchTagResult:target { + color:red; +} +.moduleGraph span { + display:none; + position:absolute; +} +.moduleGraph:hover span { + display:block; + margin: -100px 0 0 100px; + z-index: 1; +} +.methodSignature { + white-space:normal; +} + +/* + * Styles for user-provided tables. + * + * borderless: + * No borders, vertical margins, styled caption. + * This style is provided for use with existing doc comments. + * In general, borderless tables should not be used for layout purposes. + * + * plain: + * Plain borders around table and cells, vertical margins, styled caption. + * Best for small tables or for complex tables for tables with cells that span + * rows and columns, when the "striped" style does not work well. + * + * striped: + * Borders around the table and vertical borders between cells, striped rows, + * vertical margins, styled caption. + * Best for tables that have a header row, and a body containing a series of simple rows. + */ + +table.borderless, +table.plain, +table.striped { + margin-top: 10px; + margin-bottom: 10px; +} +table.borderless > caption, +table.plain > caption, +table.striped > caption { + font-weight: bold; + font-size: smaller; +} +table.borderless th, table.borderless td, +table.plain th, table.plain td, +table.striped th, table.striped td { + padding: 2px 5px; +} +table.borderless, +table.borderless > thead > tr > th, table.borderless > tbody > tr > th, table.borderless > tr > th, +table.borderless > thead > tr > td, table.borderless > tbody > tr > td, table.borderless > tr > td { + border: none; +} +table.borderless > thead > tr, table.borderless > tbody > tr, table.borderless > tr { + background-color: transparent; +} +table.plain { + border-collapse: collapse; + border: 1px solid black; +} +table.plain > thead > tr, table.plain > tbody tr, table.plain > tr { + background-color: transparent; +} +table.plain > thead > tr > th, table.plain > tbody > tr > th, table.plain > tr > th, +table.plain > thead > tr > td, table.plain > tbody > tr > td, table.plain > tr > td { + border: 1px solid black; +} +table.striped { + border-collapse: collapse; + border: 1px solid black; +} +table.striped > thead { + background-color: #E3E3E3; +} +table.striped > thead > tr > th, table.striped > thead > tr > td { + border: 1px solid black; +} +table.striped > tbody > tr:nth-child(even) { + background-color: #EEE +} +table.striped > tbody > tr:nth-child(odd) { + background-color: #FFF +} +table.striped > tbody > tr > th, table.striped > tbody > tr > td { + border-left: 1px solid black; + border-right: 1px solid black; +} +table.striped > tbody > tr > th { + font-weight: normal; +} diff --git a/apidocs/latest1x/type-search-index.js b/apidocs/latest1x/type-search-index.js new file mode 100644 index 00000000..ec6d86bf --- /dev/null +++ b/apidocs/latest1x/type-search-index.js @@ -0,0 +1 @@ +typeSearchIndex = [{"p":"org.glassfish.tyrus.core.uri.internal","l":"AbstractMultivaluedMap"},{"l":"All Classes","url":"allclasses-index.html"},{"p":"org.glassfish.tyrus.core","l":"AnnotatedEndpoint"},{"p":"org.glassfish.tyrus.core.wsadl.model","l":"Application"},{"p":"org.glassfish.tyrus.core.monitoring","l":"ApplicationEventListener"},{"p":"javax.websocket","l":"RemoteEndpoint.Async"},{"p":"org.glassfish.tyrus.client.auth","l":"AuthConfig"},{"p":"org.glassfish.tyrus.client.auth","l":"AuthenticationException"},{"p":"org.glassfish.tyrus.client.auth","l":"Authenticator"},{"p":"org.glassfish.tyrus.core","l":"BaseContainer"},{"p":"javax.websocket","l":"RemoteEndpoint.Basic"},{"p":"org.glassfish.tyrus.core","l":"Beta"},{"p":"javax.websocket","l":"Decoder.Binary"},{"p":"javax.websocket","l":"Encoder.Binary"},{"p":"org.glassfish.tyrus.core.frame","l":"BinaryFrame"},{"p":"javax.websocket","l":"Decoder.BinaryStream"},{"p":"javax.websocket","l":"Encoder.BinaryStream"},{"p":"org.glassfish.tyrus.core.coder","l":"PrimitiveDecoders.BooleanDecoder"},{"p":"org.glassfish.tyrus.core.cluster","l":"BroadcastListener"},{"p":"javax.websocket","l":"ClientEndpointConfig.Builder"},{"p":"javax.websocket.server","l":"ServerEndpointConfig.Builder"},{"p":"org.glassfish.tyrus.client.auth","l":"AuthConfig.Builder"},{"p":"org.glassfish.tyrus.core","l":"RequestContext.Builder"},{"p":"org.glassfish.tyrus.core","l":"TyrusServerEndpointConfig.Builder"},{"p":"org.glassfish.tyrus.core.frame","l":"Frame.Builder"},{"p":"org.glassfish.tyrus.core.coder","l":"PrimitiveDecoders.ByteDecoder"},{"p":"org.glassfish.tyrus.gf.cdi","l":"CdiComponentProvider"},{"p":"org.glassfish.tyrus.core.coder","l":"PrimitiveDecoders.CharacterDecoder"},{"p":"org.glassfish.tyrus.core","l":"ReflectionHelper.ClassTypePair"},{"p":"org.glassfish.tyrus.spi","l":"ClientContainer"},{"p":"javax.websocket","l":"ClientEndpoint"},{"p":"javax.websocket","l":"ClientEndpointConfig"},{"p":"org.glassfish.tyrus.spi","l":"ClientEngine"},{"p":"org.glassfish.tyrus.client","l":"TyrusClientEngine.ClientHandshakeListener"},{"p":"org.glassfish.tyrus.client","l":"ClientManager"},{"p":"org.glassfish.tyrus.client","l":"ClientProperties"},{"p":"org.glassfish.tyrus.spi","l":"ClientEngine.ClientUpgradeInfo"},{"p":"org.glassfish.tyrus.spi","l":"ClientEngine.ClientUpgradeStatus"},{"p":"javax.websocket","l":"CloseReason.CloseCode"},{"p":"javax.websocket","l":"CloseReason.CloseCodes"},{"p":"org.glassfish.tyrus.core.frame","l":"CloseFrame"},{"p":"org.glassfish.tyrus.spi","l":"Connection.CloseListener"},{"p":"javax.websocket","l":"CloseReason"},{"p":"org.glassfish.tyrus.core","l":"CloseReasons"},{"p":"org.glassfish.tyrus.core.cluster","l":"ClusterContext"},{"p":"org.glassfish.tyrus.core.coder","l":"CoderAdapter"},{"p":"org.glassfish.tyrus.core.coder","l":"CoderWrapper"},{"p":"org.glassfish.tyrus.spi","l":"CompletionHandler"},{"p":"org.glassfish.tyrus.core","l":"ComponentProvider"},{"p":"org.glassfish.tyrus.core","l":"ComponentProviderService"},{"p":"org.glassfish.tyrus.container.grizzly.client","l":"TaskProcessor.Condition"},{"p":"javax.websocket","l":"ClientEndpointConfig.Configurator"},{"p":"javax.websocket.server","l":"ServerEndpointConfig.Configurator"},{"p":"org.glassfish.tyrus.spi","l":"Connection"},{"p":"javax.websocket","l":"ContainerProvider"},{"p":"org.glassfish.tyrus.client.auth","l":"Credentials"},{"p":"org.glassfish.tyrus.core","l":"DebugContext"},{"p":"org.glassfish.tyrus.core","l":"ReflectionHelper.DeclaringClassInterfacePair"},{"p":"javax.websocket","l":"DecodeException"},{"p":"javax.websocket","l":"Decoder"},{"p":"org.glassfish.tyrus.core","l":"DefaultComponentProvider"},{"p":"org.glassfish.tyrus.core","l":"ServiceFinder.DefaultServiceIteratorProvider"},{"p":"javax.websocket","l":"DeploymentException"},{"p":"org.glassfish.tyrus.core.cluster","l":"RemoteSession.DistributedMapKey"},{"p":"org.glassfish.tyrus.core.cluster","l":"DistributedSession"},{"p":"org.glassfish.tyrus.core.coder","l":"PrimitiveDecoders.DoubleDecoder"},{"p":"org.glassfish.tyrus.gf.ejb","l":"EjbComponentProvider"},{"p":"javax.websocket","l":"EncodeException"},{"p":"javax.websocket","l":"Encoder"},{"p":"javax.websocket","l":"Endpoint"},{"p":"org.glassfish.tyrus.core.wsadl.model","l":"Endpoint"},{"p":"javax.websocket","l":"EndpointConfig"},{"p":"org.glassfish.tyrus.core.monitoring","l":"EndpointEventListener"},{"p":"org.glassfish.tyrus.core","l":"ErrorCollector"},{"p":"org.glassfish.tyrus.core","l":"ExecutorServiceProvider"},{"p":"org.glassfish.tyrus.core.extension","l":"ExtendedExtension"},{"p":"javax.websocket","l":"Extension"},{"p":"org.glassfish.tyrus.core.extension","l":"ExtendedExtension.ExtensionContext"},{"p":"org.glassfish.tyrus.core.coder","l":"PrimitiveDecoders.FloatDecoder"},{"p":"org.glassfish.tyrus.core.frame","l":"Frame"},{"p":"org.glassfish.tyrus.core.frame","l":"TyrusFrame.FrameType"},{"p":"org.glassfish.tyrus.container.grizzly.client","l":"GrizzlyClientContainer"},{"p":"org.glassfish.tyrus.container.grizzly.client","l":"GrizzlyClientProperties"},{"p":"org.glassfish.tyrus.container.grizzly.client","l":"GrizzlyClientSocket"},{"p":"org.glassfish.tyrus.container.grizzly.client","l":"GrizzlyContainerProvider"},{"p":"org.glassfish.tyrus.container.grizzly.server","l":"GrizzlyServerContainer"},{"p":"org.glassfish.tyrus.container.grizzly.client","l":"GrizzlyWriter"},{"p":"org.glassfish.tyrus.core","l":"Handshake"},{"p":"org.glassfish.tyrus.core","l":"HandshakeException"},{"p":"javax.websocket.server","l":"HandshakeRequest"},{"p":"javax.websocket","l":"HandshakeResponse"},{"p":"org.glassfish.tyrus.core.coder","l":"InputStreamDecoder"},{"p":"org.glassfish.tyrus.core.coder","l":"PrimitiveDecoders.IntegerDecoder"},{"p":"org.glassfish.tyrus.core","l":"RequestContext.Builder.IsUserInRoleDelegate"},{"p":"org.glassfish.tyrus.core.collection","l":"LazyValue"},{"p":"org.glassfish.tyrus.core.l10n","l":"Localizable"},{"p":"org.glassfish.tyrus.core.l10n","l":"LocalizableMessage"},{"p":"org.glassfish.tyrus.core.l10n","l":"LocalizableMessageFactory"},{"p":"org.glassfish.tyrus.core.l10n","l":"LocalizationMessages"},{"p":"org.glassfish.tyrus.core.l10n","l":"Localizer"},{"p":"org.glassfish.tyrus.core.coder","l":"PrimitiveDecoders.LongDecoder"},{"p":"org.glassfish.tyrus.core","l":"MaskingKeyGenerator"},{"p":"org.glassfish.tyrus.core.uri","l":"Match"},{"p":"org.glassfish.tyrus.core","l":"MaxSessions"},{"p":"org.glassfish.tyrus.core.monitoring","l":"MessageEventListener"},{"p":"javax.websocket","l":"MessageHandler"},{"p":"org.glassfish.tyrus.core","l":"MessageHandlerManager"},{"p":"org.glassfish.tyrus.spi","l":"WriterInfo.MessageType"},{"p":"org.glassfish.tyrus.core.uri.internal","l":"MultivaluedHashMap"},{"p":"org.glassfish.tyrus.core.uri.internal","l":"MultivaluedMap"},{"p":"org.glassfish.tyrus.core.uri.internal","l":"MultivaluedStringMap"},{"p":"org.glassfish.tyrus.core.coder","l":"NoOpByteArrayCoder"},{"p":"org.glassfish.tyrus.core.coder","l":"NoOpByteBufferCoder"},{"p":"org.glassfish.tyrus.core.coder","l":"NoOpTextCoder"},{"p":"org.glassfish.tyrus.core.wsadl.model","l":"ObjectFactory"},{"p":"javax.websocket","l":"OnClose"},{"p":"javax.websocket","l":"OnError"},{"p":"javax.websocket","l":"OnMessage"},{"p":"javax.websocket","l":"OnOpen"},{"p":"org.glassfish.tyrus.core","l":"TyrusEndpointWrapper.SessionListener.OnOpenResult"},{"p":"org.glassfish.tyrus.core","l":"OsgiRegistry"},{"p":"javax.websocket","l":"Extension.Parameter"},{"p":"org.glassfish.tyrus.core","l":"StrictUtf8.Parser"},{"p":"javax.websocket","l":"MessageHandler.Partial"},{"p":"javax.websocket.server","l":"PathParam"},{"p":"org.glassfish.tyrus.core.uri.internal","l":"PathPattern"},{"p":"org.glassfish.tyrus.core.uri.internal","l":"PathSegment"},{"p":"org.glassfish.tyrus.core.uri.internal","l":"PathTemplate"},{"p":"org.glassfish.tyrus.core.uri.internal","l":"PatternWithGroups"},{"p":"org.glassfish.tyrus.core.frame","l":"PingFrame"},{"p":"org.glassfish.tyrus.core.frame","l":"PongFrame"},{"p":"javax.websocket","l":"PongMessage"},{"p":"org.glassfish.tyrus.core.coder","l":"PrimitiveDecoders"},{"p":"org.glassfish.tyrus.core","l":"ProtocolException"},{"p":"org.glassfish.tyrus.core","l":"ProtocolHandler"},{"p":"org.glassfish.tyrus.core.coder","l":"ReaderDecoder"},{"p":"org.glassfish.tyrus.spi","l":"ReadHandler"},{"p":"org.glassfish.tyrus.client","l":"ClientManager.ReconnectHandler"},{"p":"org.glassfish.tyrus.client","l":"RedirectException"},{"p":"org.glassfish.tyrus.core","l":"ReflectionHelper"},{"p":"javax.websocket","l":"RemoteEndpoint"},{"p":"org.glassfish.tyrus.spi","l":"WriterInfo.RemoteEndpointType"},{"p":"org.glassfish.tyrus.core.cluster","l":"RemoteSession"},{"p":"org.glassfish.tyrus.core","l":"RequestContext"},{"p":"org.glassfish.tyrus.client","l":"RetryAfterException"},{"p":"org.glassfish.tyrus.core.uri.internal","l":"PathPattern.RightHandPath"},{"p":"javax.websocket","l":"SendHandler"},{"p":"javax.websocket","l":"SendResult"},{"p":"org.glassfish.tyrus.server","l":"Server"},{"p":"javax.websocket.server","l":"ServerApplicationConfig"},{"p":"javax.websocket.server","l":"ServerContainer"},{"p":"org.glassfish.tyrus.spi","l":"ServerContainer"},{"p":"org.glassfish.tyrus.spi","l":"ServerContainerFactory"},{"p":"javax.websocket.server","l":"ServerEndpoint"},{"p":"javax.websocket.server","l":"ServerEndpointConfig"},{"p":"org.glassfish.tyrus.core","l":"ServiceConfigurationError"},{"p":"org.glassfish.tyrus.core","l":"ServiceFinder"},{"p":"org.glassfish.tyrus.core","l":"ServiceFinder.ServiceIteratorProvider"},{"p":"javax.websocket","l":"Session"},{"p":"org.glassfish.tyrus.core.cluster","l":"SessionEventListener"},{"p":"javax.websocket","l":"SessionException"},{"p":"org.glassfish.tyrus.core","l":"TyrusEndpointWrapper.SessionListener"},{"p":"org.glassfish.tyrus.core.cluster","l":"SessionListener"},{"p":"org.glassfish.tyrus.core.coder","l":"PrimitiveDecoders.ShortDecoder"},{"p":"org.glassfish.tyrus.core","l":"BaseContainer.ShutDownCondition"},{"p":"org.glassfish.tyrus.client","l":"SslContextConfigurator"},{"p":"org.glassfish.tyrus.client","l":"SslEngineConfigurator"},{"p":"org.glassfish.tyrus.core","l":"StrictUtf8"},{"p":"org.glassfish.tyrus.core","l":"Utils.Stringifier"},{"p":"org.glassfish.tyrus.container.grizzly.client","l":"TaskProcessor.Task"},{"p":"org.glassfish.tyrus.container.grizzly.client","l":"TaskProcessor"},{"p":"javax.websocket","l":"Decoder.Text"},{"p":"javax.websocket","l":"Encoder.Text"},{"p":"org.glassfish.tyrus.core.frame","l":"TextFrame"},{"p":"javax.websocket","l":"Decoder.TextStream"},{"p":"javax.websocket","l":"Encoder.TextStream"},{"p":"org.glassfish.tyrus.client","l":"ThreadPoolConfig"},{"p":"org.glassfish.tyrus.spi","l":"ClientEngine.TimeoutHandler"},{"p":"org.glassfish.tyrus.core.coder","l":"ToStringEncoder"},{"p":"org.glassfish.tyrus.core","l":"DebugContext.TracingThreshold"},{"p":"org.glassfish.tyrus.core","l":"DebugContext.TracingType"},{"p":"org.glassfish.tyrus.core","l":"DebugContext.Type"},{"p":"org.glassfish.tyrus.core.uri.internal","l":"UriComponent.Type"},{"p":"org.glassfish.tyrus.core","l":"ReflectionHelper.TypeClassPair"},{"p":"org.glassfish.tyrus.client","l":"TyrusClientEngine"},{"p":"org.glassfish.tyrus.core","l":"TyrusEndpointWrapper"},{"p":"org.glassfish.tyrus.core","l":"TyrusExtension"},{"p":"org.glassfish.tyrus.core.frame","l":"TyrusFrame"},{"p":"org.glassfish.tyrus.core","l":"TyrusFuture"},{"p":"org.glassfish.tyrus.servlet","l":"TyrusHttpUpgradeHandler"},{"p":"org.glassfish.tyrus.core","l":"TyrusExtension.TyrusParameter"},{"p":"org.glassfish.tyrus.core","l":"TyrusRemoteEndpoint"},{"p":"org.glassfish.tyrus.server","l":"TyrusServerConfiguration"},{"p":"org.glassfish.tyrus.server","l":"TyrusServerContainer"},{"p":"org.glassfish.tyrus.core","l":"TyrusServerEndpointConfig"},{"p":"org.glassfish.tyrus.core","l":"TyrusServerEndpointConfigurator"},{"p":"org.glassfish.tyrus.servlet","l":"TyrusServletContainerInitializer"},{"p":"org.glassfish.tyrus.core","l":"TyrusSession"},{"p":"org.glassfish.tyrus.core","l":"TyrusUpgradeResponse"},{"p":"org.glassfish.tyrus.core","l":"TyrusWebSocket"},{"p":"org.glassfish.tyrus.core","l":"TyrusWebSocketEngine"},{"p":"org.glassfish.tyrus.core","l":"TyrusWebSocketEngine.TyrusWebSocketEngineBuilder"},{"p":"org.glassfish.tyrus.spi","l":"WebSocketEngine.UpgradeInfo"},{"p":"org.glassfish.tyrus.spi","l":"UpgradeRequest"},{"p":"org.glassfish.tyrus.spi","l":"UpgradeResponse"},{"p":"org.glassfish.tyrus.spi","l":"WebSocketEngine.UpgradeStatus"},{"p":"org.glassfish.tyrus.core.uri.internal","l":"UriComponent"},{"p":"org.glassfish.tyrus.core.uri.internal","l":"UriTemplate"},{"p":"org.glassfish.tyrus.core.uri.internal","l":"UriTemplateParser"},{"p":"org.glassfish.tyrus.core","l":"Utf8DecodingException"},{"p":"org.glassfish.tyrus.core","l":"Utils"},{"p":"org.glassfish.tyrus.core.collection","l":"Value"},{"p":"org.glassfish.tyrus.core.collection","l":"Values"},{"p":"org.glassfish.tyrus.core","l":"Version"},{"p":"org.glassfish.tyrus.container.grizzly.server","l":"WebSocketAddOn"},{"p":"javax.websocket","l":"WebSocketContainer"},{"p":"org.glassfish.tyrus.spi","l":"WebSocketEngine"},{"p":"org.glassfish.tyrus.core","l":"WebSocketException"},{"p":"javax.websocket","l":"MessageHandler.Whole"},{"p":"org.glassfish.tyrus.spi","l":"Writer"},{"p":"org.glassfish.tyrus.spi","l":"WriterInfo"}] \ No newline at end of file diff --git a/apidocs/latest1x/type-search-index.zip b/apidocs/latest1x/type-search-index.zip new file mode 100644 index 00000000..29e280e6 Binary files /dev/null and b/apidocs/latest1x/type-search-index.zip differ + git commit -m '[jenkins] automatic apidocs update [1.19]' [master 710c655f] [jenkins] automatic apidocs update [1.19] 1145 files changed, 326324 insertions(+), 50337 deletions(-) create mode 100644 apidocs/1.19/allclasses-index.html create mode 100644 apidocs/1.19/allclasses.html create mode 100644 apidocs/1.19/allpackages-index.html create mode 100644 apidocs/1.19/constant-values.html create mode 100644 apidocs/1.19/deprecated-list.html create mode 100644 apidocs/1.19/element-list create mode 100644 apidocs/1.19/help-doc.html create mode 100644 apidocs/1.19/index-all.html create mode 100644 apidocs/1.19/index.html create mode 100755 apidocs/1.19/javadoc.sh create mode 100644 apidocs/1.19/javax/websocket/ClientEndpoint.html create mode 100644 apidocs/1.19/javax/websocket/ClientEndpointConfig.Builder.html create mode 100644 apidocs/1.19/javax/websocket/ClientEndpointConfig.Configurator.html create mode 100644 apidocs/1.19/javax/websocket/ClientEndpointConfig.html create mode 100644 apidocs/1.19/javax/websocket/CloseReason.CloseCode.html create mode 100644 apidocs/1.19/javax/websocket/CloseReason.CloseCodes.html create mode 100644 apidocs/1.19/javax/websocket/CloseReason.html create mode 100644 apidocs/1.19/javax/websocket/ContainerProvider.html create mode 100644 apidocs/1.19/javax/websocket/DecodeException.html create mode 100644 apidocs/1.19/javax/websocket/Decoder.Binary.html create mode 100644 apidocs/1.19/javax/websocket/Decoder.BinaryStream.html create mode 100644 apidocs/1.19/javax/websocket/Decoder.Text.html create mode 100644 apidocs/1.19/javax/websocket/Decoder.TextStream.html create mode 100644 apidocs/1.19/javax/websocket/Decoder.html create mode 100644 apidocs/1.19/javax/websocket/DeploymentException.html create mode 100644 apidocs/1.19/javax/websocket/EncodeException.html create mode 100644 apidocs/1.19/javax/websocket/Encoder.Binary.html create mode 100644 apidocs/1.19/javax/websocket/Encoder.BinaryStream.html create mode 100644 apidocs/1.19/javax/websocket/Encoder.Text.html create mode 100644 apidocs/1.19/javax/websocket/Encoder.TextStream.html create mode 100644 apidocs/1.19/javax/websocket/Encoder.html create mode 100644 apidocs/1.19/javax/websocket/Endpoint.html create mode 100644 apidocs/1.19/javax/websocket/EndpointConfig.html create mode 100644 apidocs/1.19/javax/websocket/Extension.Parameter.html create mode 100644 apidocs/1.19/javax/websocket/Extension.html create mode 100644 apidocs/1.19/javax/websocket/HandshakeResponse.html create mode 100644 apidocs/1.19/javax/websocket/MessageHandler.Partial.html create mode 100644 apidocs/1.19/javax/websocket/MessageHandler.Whole.html create mode 100644 apidocs/1.19/javax/websocket/MessageHandler.html create mode 100644 apidocs/1.19/javax/websocket/OnClose.html create mode 100644 apidocs/1.19/javax/websocket/OnError.html create mode 100644 apidocs/1.19/javax/websocket/OnMessage.html create mode 100644 apidocs/1.19/javax/websocket/OnOpen.html create mode 100644 apidocs/1.19/javax/websocket/PongMessage.html create mode 100644 apidocs/1.19/javax/websocket/RemoteEndpoint.Async.html create mode 100644 apidocs/1.19/javax/websocket/RemoteEndpoint.Basic.html create mode 100644 apidocs/1.19/javax/websocket/RemoteEndpoint.html create mode 100644 apidocs/1.19/javax/websocket/SendHandler.html create mode 100644 apidocs/1.19/javax/websocket/SendResult.html create mode 100644 apidocs/1.19/javax/websocket/Session.html create mode 100644 apidocs/1.19/javax/websocket/SessionException.html create mode 100644 apidocs/1.19/javax/websocket/WebSocketContainer.html create mode 100644 apidocs/1.19/javax/websocket/class-use/ClientEndpoint.html create mode 100644 apidocs/1.19/javax/websocket/class-use/ClientEndpointConfig.Builder.html create mode 100644 apidocs/1.19/javax/websocket/class-use/ClientEndpointConfig.Configurator.html create mode 100644 apidocs/1.19/javax/websocket/class-use/ClientEndpointConfig.html create mode 100644 apidocs/1.19/javax/websocket/class-use/CloseReason.CloseCode.html create mode 100644 apidocs/1.19/javax/websocket/class-use/CloseReason.CloseCodes.html create mode 100644 apidocs/1.19/javax/websocket/class-use/CloseReason.html create mode 100644 apidocs/1.19/javax/websocket/class-use/ContainerProvider.html create mode 100644 apidocs/1.19/javax/websocket/class-use/DecodeException.html create mode 100644 apidocs/1.19/javax/websocket/class-use/Decoder.Binary.html create mode 100644 apidocs/1.19/javax/websocket/class-use/Decoder.BinaryStream.html create mode 100644 apidocs/1.19/javax/websocket/class-use/Decoder.Text.html create mode 100644 apidocs/1.19/javax/websocket/class-use/Decoder.TextStream.html create mode 100644 apidocs/1.19/javax/websocket/class-use/Decoder.html create mode 100644 apidocs/1.19/javax/websocket/class-use/DeploymentException.html create mode 100644 apidocs/1.19/javax/websocket/class-use/EncodeException.html create mode 100644 apidocs/1.19/javax/websocket/class-use/Encoder.Binary.html create mode 100644 apidocs/1.19/javax/websocket/class-use/Encoder.BinaryStream.html create mode 100644 apidocs/1.19/javax/websocket/class-use/Encoder.Text.html create mode 100644 apidocs/1.19/javax/websocket/class-use/Encoder.TextStream.html create mode 100644 apidocs/1.19/javax/websocket/class-use/Encoder.html create mode 100644 apidocs/1.19/javax/websocket/class-use/Endpoint.html create mode 100644 apidocs/1.19/javax/websocket/class-use/EndpointConfig.html create mode 100644 apidocs/1.19/javax/websocket/class-use/Extension.Parameter.html create mode 100644 apidocs/1.19/javax/websocket/class-use/Extension.html create mode 100644 apidocs/1.19/javax/websocket/class-use/HandshakeResponse.html create mode 100644 apidocs/1.19/javax/websocket/class-use/MessageHandler.Partial.html create mode 100644 apidocs/1.19/javax/websocket/class-use/MessageHandler.Whole.html create mode 100644 apidocs/1.19/javax/websocket/class-use/MessageHandler.html create mode 100644 apidocs/1.19/javax/websocket/class-use/OnClose.html create mode 100644 apidocs/1.19/javax/websocket/class-use/OnError.html create mode 100644 apidocs/1.19/javax/websocket/class-use/OnMessage.html create mode 100644 apidocs/1.19/javax/websocket/class-use/OnOpen.html create mode 100644 apidocs/1.19/javax/websocket/class-use/PongMessage.html create mode 100644 apidocs/1.19/javax/websocket/class-use/RemoteEndpoint.Async.html create mode 100644 apidocs/1.19/javax/websocket/class-use/RemoteEndpoint.Basic.html create mode 100644 apidocs/1.19/javax/websocket/class-use/RemoteEndpoint.html create mode 100644 apidocs/1.19/javax/websocket/class-use/SendHandler.html create mode 100644 apidocs/1.19/javax/websocket/class-use/SendResult.html create mode 100644 apidocs/1.19/javax/websocket/class-use/Session.html create mode 100644 apidocs/1.19/javax/websocket/class-use/SessionException.html create mode 100644 apidocs/1.19/javax/websocket/class-use/WebSocketContainer.html create mode 100644 apidocs/1.19/javax/websocket/package-summary.html create mode 100644 apidocs/1.19/javax/websocket/package-tree.html create mode 100644 apidocs/1.19/javax/websocket/package-use.html create mode 100644 apidocs/1.19/javax/websocket/server/HandshakeRequest.html create mode 100644 apidocs/1.19/javax/websocket/server/PathParam.html create mode 100644 apidocs/1.19/javax/websocket/server/ServerApplicationConfig.html create mode 100644 apidocs/1.19/javax/websocket/server/ServerContainer.html create mode 100644 apidocs/1.19/javax/websocket/server/ServerEndpoint.html create mode 100644 apidocs/1.19/javax/websocket/server/ServerEndpointConfig.Builder.html create mode 100644 apidocs/1.19/javax/websocket/server/ServerEndpointConfig.Configurator.html create mode 100644 apidocs/1.19/javax/websocket/server/ServerEndpointConfig.html create mode 100644 apidocs/1.19/javax/websocket/server/class-use/HandshakeRequest.html create mode 100644 apidocs/1.19/javax/websocket/server/class-use/PathParam.html create mode 100644 apidocs/1.19/javax/websocket/server/class-use/ServerApplicationConfig.html create mode 100644 apidocs/1.19/javax/websocket/server/class-use/ServerContainer.html create mode 100644 apidocs/1.19/javax/websocket/server/class-use/ServerEndpoint.html create mode 100644 apidocs/1.19/javax/websocket/server/class-use/ServerEndpointConfig.Builder.html create mode 100644 apidocs/1.19/javax/websocket/server/class-use/ServerEndpointConfig.Configurator.html create mode 100644 apidocs/1.19/javax/websocket/server/class-use/ServerEndpointConfig.html create mode 100644 apidocs/1.19/javax/websocket/server/package-summary.html create mode 100644 apidocs/1.19/javax/websocket/server/package-tree.html create mode 100644 apidocs/1.19/javax/websocket/server/package-use.html create mode 100644 apidocs/1.19/jquery/external/jquery/jquery.js create mode 100644 apidocs/1.19/jquery/images/ui-bg_flat_0_aaaaaa_40x100.png create mode 100644 apidocs/1.19/jquery/images/ui-bg_flat_75_ffffff_40x100.png create mode 100644 apidocs/1.19/jquery/images/ui-bg_glass_55_fbf9ee_1x400.png create mode 100644 apidocs/1.19/jquery/images/ui-bg_glass_65_ffffff_1x400.png create mode 100644 apidocs/1.19/jquery/images/ui-bg_glass_75_dadada_1x400.png create mode 100644 apidocs/1.19/jquery/images/ui-bg_glass_75_e6e6e6_1x400.png create mode 100644 apidocs/1.19/jquery/images/ui-bg_glass_95_fef1ec_1x400.png create mode 100644 apidocs/1.19/jquery/images/ui-bg_highlight-soft_75_cccccc_1x100.png create mode 100644 apidocs/1.19/jquery/images/ui-icons_222222_256x240.png create mode 100644 apidocs/1.19/jquery/images/ui-icons_2e83ff_256x240.png create mode 100644 apidocs/1.19/jquery/images/ui-icons_454545_256x240.png create mode 100644 apidocs/1.19/jquery/images/ui-icons_888888_256x240.png create mode 100644 apidocs/1.19/jquery/images/ui-icons_cd0a0a_256x240.png create mode 100644 apidocs/1.19/jquery/jquery-3.3.1.js create mode 100644 apidocs/1.19/jquery/jquery-migrate-3.0.1.js create mode 100644 apidocs/1.19/jquery/jquery-ui.css create mode 100644 apidocs/1.19/jquery/jquery-ui.js create mode 100644 apidocs/1.19/jquery/jquery-ui.min.css create mode 100644 apidocs/1.19/jquery/jquery-ui.min.js create mode 100644 apidocs/1.19/jquery/jquery-ui.structure.css create mode 100644 apidocs/1.19/jquery/jquery-ui.structure.min.css create mode 100644 apidocs/1.19/jquery/jszip-utils/dist/jszip-utils-ie.js create mode 100644 apidocs/1.19/jquery/jszip-utils/dist/jszip-utils-ie.min.js create mode 100644 apidocs/1.19/jquery/jszip-utils/dist/jszip-utils.js create mode 100644 apidocs/1.19/jquery/jszip-utils/dist/jszip-utils.min.js create mode 100644 apidocs/1.19/jquery/jszip/dist/jszip.js create mode 100644 apidocs/1.19/jquery/jszip/dist/jszip.min.js create mode 100644 apidocs/1.19/member-search-index.js create mode 100644 apidocs/1.19/member-search-index.zip create mode 100644 apidocs/1.19/options create mode 100644 apidocs/1.19/org/glassfish/tyrus/client/ClientManager.ReconnectHandler.html create mode 100644 apidocs/1.19/org/glassfish/tyrus/client/ClientManager.html create mode 100644 apidocs/1.19/org/glassfish/tyrus/client/ClientProperties.html create mode 100644 apidocs/1.19/org/glassfish/tyrus/client/RedirectException.html create mode 100644 apidocs/1.19/org/glassfish/tyrus/client/RetryAfterException.html create mode 100644 apidocs/1.19/org/glassfish/tyrus/client/SslContextConfigurator.html create mode 100644 apidocs/1.19/org/glassfish/tyrus/client/SslEngineConfigurator.html create mode 100644 apidocs/1.19/org/glassfish/tyrus/client/ThreadPoolConfig.html create mode 100644 apidocs/1.19/org/glassfish/tyrus/client/TyrusClientEngine.ClientHandshakeListener.html create mode 100644 apidocs/1.19/org/glassfish/tyrus/client/TyrusClientEngine.html create mode 100644 apidocs/1.19/org/glassfish/tyrus/client/auth/AuthConfig.Builder.html create mode 100644 apidocs/1.19/org/glassfish/tyrus/client/auth/AuthConfig.html create mode 100644 apidocs/1.19/org/glassfish/tyrus/client/auth/AuthenticationException.html create mode 100644 apidocs/1.19/org/glassfish/tyrus/client/auth/Authenticator.html create mode 100644 apidocs/1.19/org/glassfish/tyrus/client/auth/Credentials.html create mode 100644 apidocs/1.19/org/glassfish/tyrus/client/auth/class-use/AuthConfig.Builder.html create mode 100644 apidocs/1.19/org/glassfish/tyrus/client/auth/class-use/AuthConfig.html create mode 100644 apidocs/1.19/org/glassfish/tyrus/client/auth/class-use/AuthenticationException.html create mode 100644 apidocs/1.19/org/glassfish/tyrus/client/auth/class-use/Authenticator.html create mode 100644 apidocs/1.19/org/glassfish/tyrus/client/auth/class-use/Credentials.html create mode 100644 apidocs/1.19/org/glassfish/tyrus/client/auth/package-summary.html create mode 100644 apidocs/1.19/org/glassfish/tyrus/client/auth/package-tree.html create mode 100644 apidocs/1.19/org/glassfish/tyrus/client/auth/package-use.html create mode 100644 apidocs/1.19/org/glassfish/tyrus/client/class-use/ClientManager.ReconnectHandler.html create mode 100644 apidocs/1.19/org/glassfish/tyrus/client/class-use/ClientManager.html create mode 100644 apidocs/1.19/org/glassfish/tyrus/client/class-use/ClientProperties.html create mode 100644 apidocs/1.19/org/glassfish/tyrus/client/class-use/RedirectException.html create mode 100644 apidocs/1.19/org/glassfish/tyrus/client/class-use/RetryAfterException.html create mode 100644 apidocs/1.19/org/glassfish/tyrus/client/class-use/SslContextConfigurator.html create mode 100644 apidocs/1.19/org/glassfish/tyrus/client/class-use/SslEngineConfigurator.html create mode 100644 apidocs/1.19/org/glassfish/tyrus/client/class-use/ThreadPoolConfig.html create mode 100644 apidocs/1.19/org/glassfish/tyrus/client/class-use/TyrusClientEngine.ClientHandshakeListener.html create mode 100644 apidocs/1.19/org/glassfish/tyrus/client/class-use/TyrusClientEngine.html create mode 100644 apidocs/1.19/org/glassfish/tyrus/client/package-summary.html create mode 100644 apidocs/1.19/org/glassfish/tyrus/client/package-tree.html create mode 100644 apidocs/1.19/org/glassfish/tyrus/client/package-use.html create mode 100644 apidocs/1.19/org/glassfish/tyrus/container/grizzly/client/GrizzlyClientContainer.html create mode 100644 apidocs/1.19/org/glassfish/tyrus/container/grizzly/client/GrizzlyClientProperties.html create mode 100644 apidocs/1.19/org/glassfish/tyrus/container/grizzly/client/GrizzlyClientSocket.html create mode 100644 apidocs/1.19/org/glassfish/tyrus/container/grizzly/client/GrizzlyContainerProvider.html create mode 100644 apidocs/1.19/org/glassfish/tyrus/container/grizzly/client/GrizzlyWriter.html create mode 100644 apidocs/1.19/org/glassfish/tyrus/container/grizzly/client/TaskProcessor.Condition.html create mode 100644 apidocs/1.19/org/glassfish/tyrus/container/grizzly/client/TaskProcessor.Task.html create mode 100644 apidocs/1.19/org/glassfish/tyrus/container/grizzly/client/TaskProcessor.html create mode 100644 apidocs/1.19/org/glassfish/tyrus/container/grizzly/client/class-use/GrizzlyClientContainer.html create mode 100644 apidocs/1.19/org/glassfish/tyrus/container/grizzly/client/class-use/GrizzlyClientProperties.html create mode 100644 apidocs/1.19/org/glassfish/tyrus/container/grizzly/client/class-use/GrizzlyClientSocket.html create mode 100644 apidocs/1.19/org/glassfish/tyrus/container/grizzly/client/class-use/GrizzlyContainerProvider.html create mode 100644 apidocs/1.19/org/glassfish/tyrus/container/grizzly/client/class-use/GrizzlyWriter.html create mode 100644 apidocs/1.19/org/glassfish/tyrus/container/grizzly/client/class-use/TaskProcessor.Condition.html create mode 100644 apidocs/1.19/org/glassfish/tyrus/container/grizzly/client/class-use/TaskProcessor.Task.html create mode 100644 apidocs/1.19/org/glassfish/tyrus/container/grizzly/client/class-use/TaskProcessor.html create mode 100644 apidocs/1.19/org/glassfish/tyrus/container/grizzly/client/package-summary.html create mode 100644 apidocs/1.19/org/glassfish/tyrus/container/grizzly/client/package-tree.html create mode 100644 apidocs/1.19/org/glassfish/tyrus/container/grizzly/client/package-use.html create mode 100644 apidocs/1.19/org/glassfish/tyrus/container/grizzly/server/GrizzlyServerContainer.html create mode 100644 apidocs/1.19/org/glassfish/tyrus/container/grizzly/server/WebSocketAddOn.html create mode 100644 apidocs/1.19/org/glassfish/tyrus/container/grizzly/server/class-use/GrizzlyServerContainer.html create mode 100644 apidocs/1.19/org/glassfish/tyrus/container/grizzly/server/class-use/WebSocketAddOn.html create mode 100644 apidocs/1.19/org/glassfish/tyrus/container/grizzly/server/package-summary.html create mode 100644 apidocs/1.19/org/glassfish/tyrus/container/grizzly/server/package-tree.html create mode 100644 apidocs/1.19/org/glassfish/tyrus/container/grizzly/server/package-use.html create mode 100644 apidocs/1.19/org/glassfish/tyrus/core/AnnotatedEndpoint.html create mode 100644 apidocs/1.19/org/glassfish/tyrus/core/BaseContainer.ShutDownCondition.html create mode 100644 apidocs/1.19/org/glassfish/tyrus/core/BaseContainer.html create mode 100644 apidocs/1.19/org/glassfish/tyrus/core/Beta.html create mode 100644 apidocs/1.19/org/glassfish/tyrus/core/CloseReasons.html create mode 100644 apidocs/1.19/org/glassfish/tyrus/core/ComponentProvider.html create mode 100644 apidocs/1.19/org/glassfish/tyrus/core/ComponentProviderService.html create mode 100644 apidocs/1.19/org/glassfish/tyrus/core/DebugContext.TracingThreshold.html create mode 100644 apidocs/1.19/org/glassfish/tyrus/core/DebugContext.TracingType.html create mode 100644 apidocs/1.19/org/glassfish/tyrus/core/DebugContext.Type.html create mode 100644 apidocs/1.19/org/glassfish/tyrus/core/DebugContext.html create mode 100644 apidocs/1.19/org/glassfish/tyrus/core/DefaultComponentProvider.html create mode 100644 apidocs/1.19/org/glassfish/tyrus/core/ErrorCollector.html create mode 100644 apidocs/1.19/org/glassfish/tyrus/core/ExecutorServiceProvider.html create mode 100644 apidocs/1.19/org/glassfish/tyrus/core/Handshake.html create mode 100644 apidocs/1.19/org/glassfish/tyrus/core/HandshakeException.html create mode 100644 apidocs/1.19/org/glassfish/tyrus/core/MaskingKeyGenerator.html create mode 100644 apidocs/1.19/org/glassfish/tyrus/core/MaxSessions.html create mode 100644 apidocs/1.19/org/glassfish/tyrus/core/MessageHandlerManager.html create mode 100644 apidocs/1.19/org/glassfish/tyrus/core/OsgiRegistry.html create mode 100644 apidocs/1.19/org/glassfish/tyrus/core/ProtocolException.html create mode 100644 apidocs/1.19/org/glassfish/tyrus/core/ProtocolHandler.html create mode 100644 apidocs/1.19/org/glassfish/tyrus/core/ReflectionHelper.ClassTypePair.html create mode 100644 apidocs/1.19/org/glassfish/tyrus/core/ReflectionHelper.DeclaringClassInterfacePair.html create mode 100644 apidocs/1.19/org/glassfish/tyrus/core/ReflectionHelper.TypeClassPair.html create mode 100644 apidocs/1.19/org/glassfish/tyrus/core/ReflectionHelper.html create mode 100644 apidocs/1.19/org/glassfish/tyrus/core/RequestContext.Builder.IsUserInRoleDelegate.html create mode 100644 apidocs/1.19/org/glassfish/tyrus/core/RequestContext.Builder.html create mode 100644 apidocs/1.19/org/glassfish/tyrus/core/RequestContext.html create mode 100644 apidocs/1.19/org/glassfish/tyrus/core/ServiceConfigurationError.html create mode 100644 apidocs/1.19/org/glassfish/tyrus/core/ServiceFinder.DefaultServiceIteratorProvider.html create mode 100644 apidocs/1.19/org/glassfish/tyrus/core/ServiceFinder.ServiceIteratorProvider.html create mode 100644 apidocs/1.19/org/glassfish/tyrus/core/ServiceFinder.html create mode 100644 apidocs/1.19/org/glassfish/tyrus/core/StrictUtf8.Parser.html create mode 100644 apidocs/1.19/org/glassfish/tyrus/core/StrictUtf8.html create mode 100644 apidocs/1.19/org/glassfish/tyrus/core/TyrusEndpointWrapper.SessionListener.OnOpenResult.html create mode 100644 apidocs/1.19/org/glassfish/tyrus/core/TyrusEndpointWrapper.SessionListener.html create mode 100644 apidocs/1.19/org/glassfish/tyrus/core/TyrusEndpointWrapper.html create mode 100644 apidocs/1.19/org/glassfish/tyrus/core/TyrusExtension.TyrusParameter.html create mode 100644 apidocs/1.19/org/glassfish/tyrus/core/TyrusExtension.html create mode 100644 apidocs/1.19/org/glassfish/tyrus/core/TyrusFuture.html create mode 100644 apidocs/1.19/org/glassfish/tyrus/core/TyrusRemoteEndpoint.html create mode 100644 apidocs/1.19/org/glassfish/tyrus/core/TyrusServerEndpointConfig.Builder.html create mode 100644 apidocs/1.19/org/glassfish/tyrus/core/TyrusServerEndpointConfig.html create mode 100644 apidocs/1.19/org/glassfish/tyrus/core/TyrusServerEndpointConfigurator.html create mode 100644 apidocs/1.19/org/glassfish/tyrus/core/TyrusSession.html create mode 100644 apidocs/1.19/org/glassfish/tyrus/core/TyrusUpgradeResponse.html create mode 100644 apidocs/1.19/org/glassfish/tyrus/core/TyrusWebSocket.html create mode 100644 apidocs/1.19/org/glassfish/tyrus/core/TyrusWebSocketEngine.TyrusWebSocketEngineBuilder.html create mode 100644 apidocs/1.19/org/glassfish/tyrus/core/TyrusWebSocketEngine.html create mode 100644 apidocs/1.19/org/glassfish/tyrus/core/Utf8DecodingException.html create mode 100644 apidocs/1.19/org/glassfish/tyrus/core/Utils.Stringifier.html create mode 100644 apidocs/1.19/org/glassfish/tyrus/core/Utils.html create mode 100644 apidocs/1.19/org/glassfish/tyrus/core/Version.html create mode 100644 apidocs/1.19/org/glassfish/tyrus/core/WebSocketException.html create mode 100644 apidocs/1.19/org/glassfish/tyrus/core/class-use/AnnotatedEndpoint.html create mode 100644 apidocs/1.19/org/glassfish/tyrus/core/class-use/BaseContainer.ShutDownCondition.html create mode 100644 apidocs/1.19/org/glassfish/tyrus/core/class-use/BaseContainer.html create mode 100644 apidocs/1.19/org/glassfish/tyrus/core/class-use/Beta.html create mode 100644 apidocs/1.19/org/glassfish/tyrus/core/class-use/CloseReasons.html create mode 100644 apidocs/1.19/org/glassfish/tyrus/core/class-use/ComponentProvider.html create mode 100644 apidocs/1.19/org/glassfish/tyrus/core/class-use/ComponentProviderService.html create mode 100644 apidocs/1.19/org/glassfish/tyrus/core/class-use/DebugContext.TracingThreshold.html create mode 100644 apidocs/1.19/org/glassfish/tyrus/core/class-use/DebugContext.TracingType.html create mode 100644 apidocs/1.19/org/glassfish/tyrus/core/class-use/DebugContext.Type.html create mode 100644 apidocs/1.19/org/glassfish/tyrus/core/class-use/DebugContext.html create mode 100644 apidocs/1.19/org/glassfish/tyrus/core/class-use/DefaultComponentProvider.html create mode 100644 apidocs/1.19/org/glassfish/tyrus/core/class-use/ErrorCollector.html create mode 100644 apidocs/1.19/org/glassfish/tyrus/core/class-use/ExecutorServiceProvider.html create mode 100644 apidocs/1.19/org/glassfish/tyrus/core/class-use/Handshake.html create mode 100644 apidocs/1.19/org/glassfish/tyrus/core/class-use/HandshakeException.html create mode 100644 apidocs/1.19/org/glassfish/tyrus/core/class-use/MaskingKeyGenerator.html create mode 100644 apidocs/1.19/org/glassfish/tyrus/core/class-use/MaxSessions.html create mode 100644 apidocs/1.19/org/glassfish/tyrus/core/class-use/MessageHandlerManager.html create mode 100644 apidocs/1.19/org/glassfish/tyrus/core/class-use/OsgiRegistry.html create mode 100644 apidocs/1.19/org/glassfish/tyrus/core/class-use/ProtocolException.html create mode 100644 apidocs/1.19/org/glassfish/tyrus/core/class-use/ProtocolHandler.html create mode 100644 apidocs/1.19/org/glassfish/tyrus/core/class-use/ReflectionHelper.ClassTypePair.html create mode 100644 apidocs/1.19/org/glassfish/tyrus/core/class-use/ReflectionHelper.DeclaringClassInterfacePair.html create mode 100644 apidocs/1.19/org/glassfish/tyrus/core/class-use/ReflectionHelper.TypeClassPair.html create mode 100644 apidocs/1.19/org/glassfish/tyrus/core/class-use/ReflectionHelper.html create mode 100644 apidocs/1.19/org/glassfish/tyrus/core/class-use/RequestContext.Builder.IsUserInRoleDelegate.html create mode 100644 apidocs/1.19/org/glassfish/tyrus/core/class-use/RequestContext.Builder.html create mode 100644 apidocs/1.19/org/glassfish/tyrus/core/class-use/RequestContext.html create mode 100644 apidocs/1.19/org/glassfish/tyrus/core/class-use/ServiceConfigurationError.html create mode 100644 apidocs/1.19/org/glassfish/tyrus/core/class-use/ServiceFinder.DefaultServiceIteratorProvider.html create mode 100644 apidocs/1.19/org/glassfish/tyrus/core/class-use/ServiceFinder.ServiceIteratorProvider.html create mode 100644 apidocs/1.19/org/glassfish/tyrus/core/class-use/ServiceFinder.html create mode 100644 apidocs/1.19/org/glassfish/tyrus/core/class-use/StrictUtf8.Parser.html create mode 100644 apidocs/1.19/org/glassfish/tyrus/core/class-use/StrictUtf8.html create mode 100644 apidocs/1.19/org/glassfish/tyrus/core/class-use/TyrusEndpointWrapper.SessionListener.OnOpenResult.html create mode 100644 apidocs/1.19/org/glassfish/tyrus/core/class-use/TyrusEndpointWrapper.SessionListener.html create mode 100644 apidocs/1.19/org/glassfish/tyrus/core/class-use/TyrusEndpointWrapper.html create mode 100644 apidocs/1.19/org/glassfish/tyrus/core/class-use/TyrusExtension.TyrusParameter.html create mode 100644 apidocs/1.19/org/glassfish/tyrus/core/class-use/TyrusExtension.html create mode 100644 apidocs/1.19/org/glassfish/tyrus/core/class-use/TyrusFuture.html create mode 100644 apidocs/1.19/org/glassfish/tyrus/core/class-use/TyrusRemoteEndpoint.html create mode 100644 apidocs/1.19/org/glassfish/tyrus/core/class-use/TyrusServerEndpointConfig.Builder.html create mode 100644 apidocs/1.19/org/glassfish/tyrus/core/class-use/TyrusServerEndpointConfig.html create mode 100644 apidocs/1.19/org/glassfish/tyrus/core/class-use/TyrusServerEndpointConfigurator.html create mode 100644 apidocs/1.19/org/glassfish/tyrus/core/class-use/TyrusSession.html create mode 100644 apidocs/1.19/org/glassfish/tyrus/core/class-use/TyrusUpgradeResponse.html create mode 100644 apidocs/1.19/org/glassfish/tyrus/core/class-use/TyrusWebSocket.html create mode 100644 apidocs/1.19/org/glassfish/tyrus/core/class-use/TyrusWebSocketEngine.TyrusWebSocketEngineBuilder.html create mode 100644 apidocs/1.19/org/glassfish/tyrus/core/class-use/TyrusWebSocketEngine.html create mode 100644 apidocs/1.19/org/glassfish/tyrus/core/class-use/Utf8DecodingException.html create mode 100644 apidocs/1.19/org/glassfish/tyrus/core/class-use/Utils.Stringifier.html create mode 100644 apidocs/1.19/org/glassfish/tyrus/core/class-use/Utils.html create mode 100644 apidocs/1.19/org/glassfish/tyrus/core/class-use/Version.html create mode 100644 apidocs/1.19/org/glassfish/tyrus/core/class-use/WebSocketException.html create mode 100644 apidocs/1.19/org/glassfish/tyrus/core/cluster/BroadcastListener.html create mode 100644 apidocs/1.19/org/glassfish/tyrus/core/cluster/ClusterContext.html create mode 100644 apidocs/1.19/org/glassfish/tyrus/core/cluster/DistributedSession.html create mode 100644 apidocs/1.19/org/glassfish/tyrus/core/cluster/RemoteSession.DistributedMapKey.html create mode 100644 apidocs/1.19/org/glassfish/tyrus/core/cluster/RemoteSession.html create mode 100644 apidocs/1.19/org/glassfish/tyrus/core/cluster/SessionEventListener.html create mode 100644 apidocs/1.19/org/glassfish/tyrus/core/cluster/SessionListener.html create mode 100644 apidocs/1.19/org/glassfish/tyrus/core/cluster/class-use/BroadcastListener.html create mode 100644 apidocs/1.19/org/glassfish/tyrus/core/cluster/class-use/ClusterContext.html create mode 100644 apidocs/1.19/org/glassfish/tyrus/core/cluster/class-use/DistributedSession.html create mode 100644 apidocs/1.19/org/glassfish/tyrus/core/cluster/class-use/RemoteSession.DistributedMapKey.html create mode 100644 apidocs/1.19/org/glassfish/tyrus/core/cluster/class-use/RemoteSession.html create mode 100644 apidocs/1.19/org/glassfish/tyrus/core/cluster/class-use/SessionEventListener.html create mode 100644 apidocs/1.19/org/glassfish/tyrus/core/cluster/class-use/SessionListener.html create mode 100644 apidocs/1.19/org/glassfish/tyrus/core/cluster/package-summary.html create mode 100644 apidocs/1.19/org/glassfish/tyrus/core/cluster/package-tree.html create mode 100644 apidocs/1.19/org/glassfish/tyrus/core/cluster/package-use.html create mode 100644 apidocs/1.19/org/glassfish/tyrus/core/coder/CoderAdapter.html create mode 100644 apidocs/1.19/org/glassfish/tyrus/core/coder/CoderWrapper.html create mode 100644 apidocs/1.19/org/glassfish/tyrus/core/coder/InputStreamDecoder.html create mode 100644 apidocs/1.19/org/glassfish/tyrus/core/coder/NoOpByteArrayCoder.html create mode 100644 apidocs/1.19/org/glassfish/tyrus/core/coder/NoOpByteBufferCoder.html create mode 100644 apidocs/1.19/org/glassfish/tyrus/core/coder/NoOpTextCoder.html create mode 100644 apidocs/1.19/org/glassfish/tyrus/core/coder/PrimitiveDecoders.BooleanDecoder.html create mode 100644 apidocs/1.19/org/glassfish/tyrus/core/coder/PrimitiveDecoders.ByteDecoder.html create mode 100644 apidocs/1.19/org/glassfish/tyrus/core/coder/PrimitiveDecoders.CharacterDecoder.html create mode 100644 apidocs/1.19/org/glassfish/tyrus/core/coder/PrimitiveDecoders.DoubleDecoder.html create mode 100644 apidocs/1.19/org/glassfish/tyrus/core/coder/PrimitiveDecoders.FloatDecoder.html create mode 100644 apidocs/1.19/org/glassfish/tyrus/core/coder/PrimitiveDecoders.IntegerDecoder.html create mode 100644 apidocs/1.19/org/glassfish/tyrus/core/coder/PrimitiveDecoders.LongDecoder.html create mode 100644 apidocs/1.19/org/glassfish/tyrus/core/coder/PrimitiveDecoders.ShortDecoder.html create mode 100644 apidocs/1.19/org/glassfish/tyrus/core/coder/PrimitiveDecoders.html create mode 100644 apidocs/1.19/org/glassfish/tyrus/core/coder/ReaderDecoder.html create mode 100644 apidocs/1.19/org/glassfish/tyrus/core/coder/ToStringEncoder.html create mode 100644 apidocs/1.19/org/glassfish/tyrus/core/coder/class-use/CoderAdapter.html create mode 100644 apidocs/1.19/org/glassfish/tyrus/core/coder/class-use/CoderWrapper.html create mode 100644 apidocs/1.19/org/glassfish/tyrus/core/coder/class-use/InputStreamDecoder.html create mode 100644 apidocs/1.19/org/glassfish/tyrus/core/coder/class-use/NoOpByteArrayCoder.html create mode 100644 apidocs/1.19/org/glassfish/tyrus/core/coder/class-use/NoOpByteBufferCoder.html create mode 100644 apidocs/1.19/org/glassfish/tyrus/core/coder/class-use/NoOpTextCoder.html create mode 100644 apidocs/1.19/org/glassfish/tyrus/core/coder/class-use/PrimitiveDecoders.BooleanDecoder.html create mode 100644 apidocs/1.19/org/glassfish/tyrus/core/coder/class-use/PrimitiveDecoders.ByteDecoder.html create mode 100644 apidocs/1.19/org/glassfish/tyrus/core/coder/class-use/PrimitiveDecoders.CharacterDecoder.html create mode 100644 apidocs/1.19/org/glassfish/tyrus/core/coder/class-use/PrimitiveDecoders.DoubleDecoder.html create mode 100644 apidocs/1.19/org/glassfish/tyrus/core/coder/class-use/PrimitiveDecoders.FloatDecoder.html create mode 100644 apidocs/1.19/org/glassfish/tyrus/core/coder/class-use/PrimitiveDecoders.IntegerDecoder.html create mode 100644 apidocs/1.19/org/glassfish/tyrus/core/coder/class-use/PrimitiveDecoders.LongDecoder.html create mode 100644 apidocs/1.19/org/glassfish/tyrus/core/coder/class-use/PrimitiveDecoders.ShortDecoder.html create mode 100644 apidocs/1.19/org/glassfish/tyrus/core/coder/class-use/PrimitiveDecoders.html create mode 100644 apidocs/1.19/org/glassfish/tyrus/core/coder/class-use/ReaderDecoder.html create mode 100644 apidocs/1.19/org/glassfish/tyrus/core/coder/class-use/ToStringEncoder.html create mode 100644 apidocs/1.19/org/glassfish/tyrus/core/coder/package-summary.html create mode 100644 apidocs/1.19/org/glassfish/tyrus/core/coder/package-tree.html create mode 100644 apidocs/1.19/org/glassfish/tyrus/core/coder/package-use.html create mode 100644 apidocs/1.19/org/glassfish/tyrus/core/collection/LazyValue.html create mode 100644 apidocs/1.19/org/glassfish/tyrus/core/collection/Value.html create mode 100644 apidocs/1.19/org/glassfish/tyrus/core/collection/Values.html create mode 100644 apidocs/1.19/org/glassfish/tyrus/core/collection/class-use/LazyValue.html create mode 100644 apidocs/1.19/org/glassfish/tyrus/core/collection/class-use/Value.html create mode 100644 apidocs/1.19/org/glassfish/tyrus/core/collection/class-use/Values.html create mode 100644 apidocs/1.19/org/glassfish/tyrus/core/collection/package-summary.html create mode 100644 apidocs/1.19/org/glassfish/tyrus/core/collection/package-tree.html create mode 100644 apidocs/1.19/org/glassfish/tyrus/core/collection/package-use.html create mode 100644 apidocs/1.19/org/glassfish/tyrus/core/extension/ExtendedExtension.ExtensionContext.html create mode 100644 apidocs/1.19/org/glassfish/tyrus/core/extension/ExtendedExtension.html create mode 100644 apidocs/1.19/org/glassfish/tyrus/core/extension/class-use/ExtendedExtension.ExtensionContext.html create mode 100644 apidocs/1.19/org/glassfish/tyrus/core/extension/class-use/ExtendedExtension.html create mode 100644 apidocs/1.19/org/glassfish/tyrus/core/extension/package-summary.html create mode 100644 apidocs/1.19/org/glassfish/tyrus/core/extension/package-tree.html create mode 100644 apidocs/1.19/org/glassfish/tyrus/core/extension/package-use.html create mode 100644 apidocs/1.19/org/glassfish/tyrus/core/frame/BinaryFrame.html create mode 100644 apidocs/1.19/org/glassfish/tyrus/core/frame/CloseFrame.html create mode 100644 apidocs/1.19/org/glassfish/tyrus/core/frame/Frame.Builder.html create mode 100644 apidocs/1.19/org/glassfish/tyrus/core/frame/Frame.html create mode 100644 apidocs/1.19/org/glassfish/tyrus/core/frame/PingFrame.html create mode 100644 apidocs/1.19/org/glassfish/tyrus/core/frame/PongFrame.html create mode 100644 apidocs/1.19/org/glassfish/tyrus/core/frame/TextFrame.html create mode 100644 apidocs/1.19/org/glassfish/tyrus/core/frame/TyrusFrame.FrameType.html create mode 100644 apidocs/1.19/org/glassfish/tyrus/core/frame/TyrusFrame.html create mode 100644 apidocs/1.19/org/glassfish/tyrus/core/frame/class-use/BinaryFrame.html create mode 100644 apidocs/1.19/org/glassfish/tyrus/core/frame/class-use/CloseFrame.html create mode 100644 apidocs/1.19/org/glassfish/tyrus/core/frame/class-use/Frame.Builder.html create mode 100644 apidocs/1.19/org/glassfish/tyrus/core/frame/class-use/Frame.html create mode 100644 apidocs/1.19/org/glassfish/tyrus/core/frame/class-use/PingFrame.html create mode 100644 apidocs/1.19/org/glassfish/tyrus/core/frame/class-use/PongFrame.html create mode 100644 apidocs/1.19/org/glassfish/tyrus/core/frame/class-use/TextFrame.html create mode 100644 apidocs/1.19/org/glassfish/tyrus/core/frame/class-use/TyrusFrame.FrameType.html create mode 100644 apidocs/1.19/org/glassfish/tyrus/core/frame/class-use/TyrusFrame.html create mode 100644 apidocs/1.19/org/glassfish/tyrus/core/frame/package-summary.html create mode 100644 apidocs/1.19/org/glassfish/tyrus/core/frame/package-tree.html create mode 100644 apidocs/1.19/org/glassfish/tyrus/core/frame/package-use.html create mode 100644 apidocs/1.19/org/glassfish/tyrus/core/l10n/Localizable.html create mode 100644 apidocs/1.19/org/glassfish/tyrus/core/l10n/LocalizableMessage.html create mode 100644 apidocs/1.19/org/glassfish/tyrus/core/l10n/LocalizableMessageFactory.html create mode 100644 apidocs/1.19/org/glassfish/tyrus/core/l10n/LocalizationMessages.html create mode 100644 apidocs/1.19/org/glassfish/tyrus/core/l10n/Localizer.html create mode 100644 apidocs/1.19/org/glassfish/tyrus/core/l10n/class-use/Localizable.html create mode 100644 apidocs/1.19/org/glassfish/tyrus/core/l10n/class-use/LocalizableMessage.html create mode 100644 apidocs/1.19/org/glassfish/tyrus/core/l10n/class-use/LocalizableMessageFactory.html create mode 100644 apidocs/1.19/org/glassfish/tyrus/core/l10n/class-use/LocalizationMessages.html create mode 100644 apidocs/1.19/org/glassfish/tyrus/core/l10n/class-use/Localizer.html create mode 100644 apidocs/1.19/org/glassfish/tyrus/core/l10n/package-summary.html create mode 100644 apidocs/1.19/org/glassfish/tyrus/core/l10n/package-tree.html create mode 100644 apidocs/1.19/org/glassfish/tyrus/core/l10n/package-use.html create mode 100644 apidocs/1.19/org/glassfish/tyrus/core/monitoring/ApplicationEventListener.html create mode 100644 apidocs/1.19/org/glassfish/tyrus/core/monitoring/EndpointEventListener.html create mode 100644 apidocs/1.19/org/glassfish/tyrus/core/monitoring/MessageEventListener.html create mode 100644 apidocs/1.19/org/glassfish/tyrus/core/monitoring/class-use/ApplicationEventListener.html create mode 100644 apidocs/1.19/org/glassfish/tyrus/core/monitoring/class-use/EndpointEventListener.html create mode 100644 apidocs/1.19/org/glassfish/tyrus/core/monitoring/class-use/MessageEventListener.html create mode 100644 apidocs/1.19/org/glassfish/tyrus/core/monitoring/package-summary.html create mode 100644 apidocs/1.19/org/glassfish/tyrus/core/monitoring/package-tree.html create mode 100644 apidocs/1.19/org/glassfish/tyrus/core/monitoring/package-use.html create mode 100644 apidocs/1.19/org/glassfish/tyrus/core/package-summary.html create mode 100644 apidocs/1.19/org/glassfish/tyrus/core/package-tree.html create mode 100644 apidocs/1.19/org/glassfish/tyrus/core/package-use.html create mode 100644 apidocs/1.19/org/glassfish/tyrus/core/uri/Match.html create mode 100644 apidocs/1.19/org/glassfish/tyrus/core/uri/class-use/Match.html create mode 100644 apidocs/1.19/org/glassfish/tyrus/core/uri/internal/AbstractMultivaluedMap.html create mode 100644 apidocs/1.19/org/glassfish/tyrus/core/uri/internal/MultivaluedHashMap.html create mode 100644 apidocs/1.19/org/glassfish/tyrus/core/uri/internal/MultivaluedMap.html create mode 100644 apidocs/1.19/org/glassfish/tyrus/core/uri/internal/MultivaluedStringMap.html create mode 100644 apidocs/1.19/org/glassfish/tyrus/core/uri/internal/PathPattern.RightHandPath.html create mode 100644 apidocs/1.19/org/glassfish/tyrus/core/uri/internal/PathPattern.html create mode 100644 apidocs/1.19/org/glassfish/tyrus/core/uri/internal/PathSegment.html create mode 100644 apidocs/1.19/org/glassfish/tyrus/core/uri/internal/PathTemplate.html create mode 100644 apidocs/1.19/org/glassfish/tyrus/core/uri/internal/PatternWithGroups.html create mode 100644 apidocs/1.19/org/glassfish/tyrus/core/uri/internal/UriComponent.Type.html create mode 100644 apidocs/1.19/org/glassfish/tyrus/core/uri/internal/UriComponent.html create mode 100644 apidocs/1.19/org/glassfish/tyrus/core/uri/internal/UriTemplate.html create mode 100644 apidocs/1.19/org/glassfish/tyrus/core/uri/internal/UriTemplateParser.html create mode 100644 apidocs/1.19/org/glassfish/tyrus/core/uri/internal/class-use/AbstractMultivaluedMap.html create mode 100644 apidocs/1.19/org/glassfish/tyrus/core/uri/internal/class-use/MultivaluedHashMap.html create mode 100644 apidocs/1.19/org/glassfish/tyrus/core/uri/internal/class-use/MultivaluedMap.html create mode 100644 apidocs/1.19/org/glassfish/tyrus/core/uri/internal/class-use/MultivaluedStringMap.html create mode 100644 apidocs/1.19/org/glassfish/tyrus/core/uri/internal/class-use/PathPattern.RightHandPath.html create mode 100644 apidocs/1.19/org/glassfish/tyrus/core/uri/internal/class-use/PathPattern.html create mode 100644 apidocs/1.19/org/glassfish/tyrus/core/uri/internal/class-use/PathSegment.html create mode 100644 apidocs/1.19/org/glassfish/tyrus/core/uri/internal/class-use/PathTemplate.html create mode 100644 apidocs/1.19/org/glassfish/tyrus/core/uri/internal/class-use/PatternWithGroups.html create mode 100644 apidocs/1.19/org/glassfish/tyrus/core/uri/internal/class-use/UriComponent.Type.html create mode 100644 apidocs/1.19/org/glassfish/tyrus/core/uri/internal/class-use/UriComponent.html create mode 100644 apidocs/1.19/org/glassfish/tyrus/core/uri/internal/class-use/UriTemplate.html create mode 100644 apidocs/1.19/org/glassfish/tyrus/core/uri/internal/class-use/UriTemplateParser.html create mode 100644 apidocs/1.19/org/glassfish/tyrus/core/uri/internal/package-summary.html create mode 100644 apidocs/1.19/org/glassfish/tyrus/core/uri/internal/package-tree.html create mode 100644 apidocs/1.19/org/glassfish/tyrus/core/uri/internal/package-use.html create mode 100644 apidocs/1.19/org/glassfish/tyrus/core/uri/package-summary.html create mode 100644 apidocs/1.19/org/glassfish/tyrus/core/uri/package-tree.html create mode 100644 apidocs/1.19/org/glassfish/tyrus/core/uri/package-use.html create mode 100644 apidocs/1.19/org/glassfish/tyrus/core/wsadl/model/Application.html create mode 100644 apidocs/1.19/org/glassfish/tyrus/core/wsadl/model/Endpoint.html create mode 100644 apidocs/1.19/org/glassfish/tyrus/core/wsadl/model/ObjectFactory.html create mode 100644 apidocs/1.19/org/glassfish/tyrus/core/wsadl/model/class-use/Application.html create mode 100644 apidocs/1.19/org/glassfish/tyrus/core/wsadl/model/class-use/Endpoint.html create mode 100644 apidocs/1.19/org/glassfish/tyrus/core/wsadl/model/class-use/ObjectFactory.html create mode 100644 apidocs/1.19/org/glassfish/tyrus/core/wsadl/model/package-summary.html create mode 100644 apidocs/1.19/org/glassfish/tyrus/core/wsadl/model/package-tree.html create mode 100644 apidocs/1.19/org/glassfish/tyrus/core/wsadl/model/package-use.html create mode 100644 apidocs/1.19/org/glassfish/tyrus/gf/cdi/CdiComponentProvider.html create mode 100644 apidocs/1.19/org/glassfish/tyrus/gf/cdi/class-use/CdiComponentProvider.html create mode 100644 apidocs/1.19/org/glassfish/tyrus/gf/cdi/package-summary.html create mode 100644 apidocs/1.19/org/glassfish/tyrus/gf/cdi/package-tree.html create mode 100644 apidocs/1.19/org/glassfish/tyrus/gf/cdi/package-use.html create mode 100644 apidocs/1.19/org/glassfish/tyrus/gf/ejb/EjbComponentProvider.html create mode 100644 apidocs/1.19/org/glassfish/tyrus/gf/ejb/class-use/EjbComponentProvider.html create mode 100644 apidocs/1.19/org/glassfish/tyrus/gf/ejb/package-summary.html create mode 100644 apidocs/1.19/org/glassfish/tyrus/gf/ejb/package-tree.html create mode 100644 apidocs/1.19/org/glassfish/tyrus/gf/ejb/package-use.html create mode 100644 apidocs/1.19/org/glassfish/tyrus/server/Server.html create mode 100644 apidocs/1.19/org/glassfish/tyrus/server/TyrusServerConfiguration.html create mode 100644 apidocs/1.19/org/glassfish/tyrus/server/TyrusServerContainer.html create mode 100644 apidocs/1.19/org/glassfish/tyrus/server/class-use/Server.html create mode 100644 apidocs/1.19/org/glassfish/tyrus/server/class-use/TyrusServerConfiguration.html create mode 100644 apidocs/1.19/org/glassfish/tyrus/server/class-use/TyrusServerContainer.html create mode 100644 apidocs/1.19/org/glassfish/tyrus/server/package-summary.html create mode 100644 apidocs/1.19/org/glassfish/tyrus/server/package-tree.html create mode 100644 apidocs/1.19/org/glassfish/tyrus/server/package-use.html create mode 100644 apidocs/1.19/org/glassfish/tyrus/servlet/TyrusHttpUpgradeHandler.html create mode 100644 apidocs/1.19/org/glassfish/tyrus/servlet/TyrusServletContainerInitializer.html create mode 100644 apidocs/1.19/org/glassfish/tyrus/servlet/class-use/TyrusHttpUpgradeHandler.html create mode 100644 apidocs/1.19/org/glassfish/tyrus/servlet/class-use/TyrusServletContainerInitializer.html create mode 100644 apidocs/1.19/org/glassfish/tyrus/servlet/package-summary.html create mode 100644 apidocs/1.19/org/glassfish/tyrus/servlet/package-tree.html create mode 100644 apidocs/1.19/org/glassfish/tyrus/servlet/package-use.html create mode 100644 apidocs/1.19/org/glassfish/tyrus/spi/ClientContainer.html create mode 100644 apidocs/1.19/org/glassfish/tyrus/spi/ClientEngine.ClientUpgradeInfo.html create mode 100644 apidocs/1.19/org/glassfish/tyrus/spi/ClientEngine.ClientUpgradeStatus.html create mode 100644 apidocs/1.19/org/glassfish/tyrus/spi/ClientEngine.TimeoutHandler.html create mode 100644 apidocs/1.19/org/glassfish/tyrus/spi/ClientEngine.html create mode 100644 apidocs/1.19/org/glassfish/tyrus/spi/CompletionHandler.html create mode 100644 apidocs/1.19/org/glassfish/tyrus/spi/Connection.CloseListener.html create mode 100644 apidocs/1.19/org/glassfish/tyrus/spi/Connection.html create mode 100644 apidocs/1.19/org/glassfish/tyrus/spi/ReadHandler.html create mode 100644 apidocs/1.19/org/glassfish/tyrus/spi/ServerContainer.html create mode 100644 apidocs/1.19/org/glassfish/tyrus/spi/ServerContainerFactory.html create mode 100644 apidocs/1.19/org/glassfish/tyrus/spi/UpgradeRequest.html create mode 100644 apidocs/1.19/org/glassfish/tyrus/spi/UpgradeResponse.html create mode 100644 apidocs/1.19/org/glassfish/tyrus/spi/WebSocketEngine.UpgradeInfo.html create mode 100644 apidocs/1.19/org/glassfish/tyrus/spi/WebSocketEngine.UpgradeStatus.html create mode 100644 apidocs/1.19/org/glassfish/tyrus/spi/WebSocketEngine.html create mode 100644 apidocs/1.19/org/glassfish/tyrus/spi/Writer.html create mode 100644 apidocs/1.19/org/glassfish/tyrus/spi/WriterInfo.MessageType.html create mode 100644 apidocs/1.19/org/glassfish/tyrus/spi/WriterInfo.RemoteEndpointType.html create mode 100644 apidocs/1.19/org/glassfish/tyrus/spi/WriterInfo.html create mode 100644 apidocs/1.19/org/glassfish/tyrus/spi/class-use/ClientContainer.html create mode 100644 apidocs/1.19/org/glassfish/tyrus/spi/class-use/ClientEngine.ClientUpgradeInfo.html create mode 100644 apidocs/1.19/org/glassfish/tyrus/spi/class-use/ClientEngine.ClientUpgradeStatus.html create mode 100644 apidocs/1.19/org/glassfish/tyrus/spi/class-use/ClientEngine.TimeoutHandler.html create mode 100644 apidocs/1.19/org/glassfish/tyrus/spi/class-use/ClientEngine.html create mode 100644 apidocs/1.19/org/glassfish/tyrus/spi/class-use/CompletionHandler.html create mode 100644 apidocs/1.19/org/glassfish/tyrus/spi/class-use/Connection.CloseListener.html create mode 100644 apidocs/1.19/org/glassfish/tyrus/spi/class-use/Connection.html create mode 100644 apidocs/1.19/org/glassfish/tyrus/spi/class-use/ReadHandler.html create mode 100644 apidocs/1.19/org/glassfish/tyrus/spi/class-use/ServerContainer.html create mode 100644 apidocs/1.19/org/glassfish/tyrus/spi/class-use/ServerContainerFactory.html create mode 100644 apidocs/1.19/org/glassfish/tyrus/spi/class-use/UpgradeRequest.html create mode 100644 apidocs/1.19/org/glassfish/tyrus/spi/class-use/UpgradeResponse.html create mode 100644 apidocs/1.19/org/glassfish/tyrus/spi/class-use/WebSocketEngine.UpgradeInfo.html create mode 100644 apidocs/1.19/org/glassfish/tyrus/spi/class-use/WebSocketEngine.UpgradeStatus.html create mode 100644 apidocs/1.19/org/glassfish/tyrus/spi/class-use/WebSocketEngine.html create mode 100644 apidocs/1.19/org/glassfish/tyrus/spi/class-use/Writer.html create mode 100644 apidocs/1.19/org/glassfish/tyrus/spi/class-use/WriterInfo.MessageType.html create mode 100644 apidocs/1.19/org/glassfish/tyrus/spi/class-use/WriterInfo.RemoteEndpointType.html create mode 100644 apidocs/1.19/org/glassfish/tyrus/spi/class-use/WriterInfo.html create mode 100644 apidocs/1.19/org/glassfish/tyrus/spi/package-summary.html create mode 100644 apidocs/1.19/org/glassfish/tyrus/spi/package-tree.html create mode 100644 apidocs/1.19/org/glassfish/tyrus/spi/package-use.html create mode 100644 apidocs/1.19/overview-summary.html create mode 100644 apidocs/1.19/overview-tree.html create mode 100644 apidocs/1.19/package-search-index.js create mode 100644 apidocs/1.19/package-search-index.zip create mode 100644 apidocs/1.19/packages create mode 100644 apidocs/1.19/resources/glass.png create mode 100644 apidocs/1.19/resources/x.png create mode 100644 apidocs/1.19/script.js create mode 100644 apidocs/1.19/search.js create mode 100644 apidocs/1.19/serialized-form.html create mode 100644 apidocs/1.19/stylesheet.css create mode 100644 apidocs/1.19/type-search-index.js create mode 100644 apidocs/1.19/type-search-index.zip delete mode 100644 apidocs/latest1x/allclasses-frame.html create mode 100644 apidocs/latest1x/allclasses-index.html delete mode 100644 apidocs/latest1x/allclasses-noframe.html create mode 100644 apidocs/latest1x/allclasses.html create mode 100644 apidocs/latest1x/allpackages-index.html rewrite apidocs/latest1x/deprecated-list.html (76%) create mode 100644 apidocs/latest1x/element-list rewrite apidocs/latest1x/index.html (92%) rewrite apidocs/latest1x/javax/websocket/class-use/ClientEndpointConfig.html (69%) rewrite apidocs/latest1x/javax/websocket/class-use/CloseReason.html (66%) rewrite apidocs/latest1x/javax/websocket/class-use/DecodeException.html (61%) rewrite apidocs/latest1x/javax/websocket/class-use/Decoder.html (62%) rewrite apidocs/latest1x/javax/websocket/class-use/DeploymentException.html (72%) rewrite apidocs/latest1x/javax/websocket/class-use/Endpoint.html (68%) rewrite apidocs/latest1x/javax/websocket/class-use/EndpointConfig.html (60%) rewrite apidocs/latest1x/javax/websocket/class-use/Extension.Parameter.html (62%) rewrite apidocs/latest1x/javax/websocket/class-use/Extension.html (67%) rewrite apidocs/latest1x/javax/websocket/class-use/MessageHandler.html (63%) rewrite apidocs/latest1x/javax/websocket/class-use/SendHandler.html (61%) rewrite apidocs/latest1x/javax/websocket/class-use/Session.html (72%) delete mode 100644 apidocs/latest1x/javax/websocket/package-frame.html rewrite apidocs/latest1x/javax/websocket/package-tree.html (74%) rewrite apidocs/latest1x/javax/websocket/server/class-use/ServerEndpointConfig.html (69%) delete mode 100644 apidocs/latest1x/javax/websocket/server/package-frame.html create mode 100644 apidocs/latest1x/jquery/external/jquery/jquery.js create mode 100644 apidocs/latest1x/jquery/images/ui-bg_flat_0_aaaaaa_40x100.png create mode 100644 apidocs/latest1x/jquery/images/ui-bg_flat_75_ffffff_40x100.png create mode 100644 apidocs/latest1x/jquery/images/ui-bg_glass_55_fbf9ee_1x400.png create mode 100644 apidocs/latest1x/jquery/images/ui-bg_glass_65_ffffff_1x400.png create mode 100644 apidocs/latest1x/jquery/images/ui-bg_glass_75_dadada_1x400.png create mode 100644 apidocs/latest1x/jquery/images/ui-bg_glass_75_e6e6e6_1x400.png create mode 100644 apidocs/latest1x/jquery/images/ui-bg_glass_95_fef1ec_1x400.png create mode 100644 apidocs/latest1x/jquery/images/ui-bg_highlight-soft_75_cccccc_1x100.png create mode 100644 apidocs/latest1x/jquery/images/ui-icons_222222_256x240.png create mode 100644 apidocs/latest1x/jquery/images/ui-icons_2e83ff_256x240.png create mode 100644 apidocs/latest1x/jquery/images/ui-icons_454545_256x240.png create mode 100644 apidocs/latest1x/jquery/images/ui-icons_888888_256x240.png create mode 100644 apidocs/latest1x/jquery/images/ui-icons_cd0a0a_256x240.png create mode 100644 apidocs/latest1x/jquery/jquery-3.3.1.js create mode 100644 apidocs/latest1x/jquery/jquery-migrate-3.0.1.js create mode 100644 apidocs/latest1x/jquery/jquery-ui.css create mode 100644 apidocs/latest1x/jquery/jquery-ui.js create mode 100644 apidocs/latest1x/jquery/jquery-ui.min.css create mode 100644 apidocs/latest1x/jquery/jquery-ui.min.js create mode 100644 apidocs/latest1x/jquery/jquery-ui.structure.css create mode 100644 apidocs/latest1x/jquery/jquery-ui.structure.min.css create mode 100644 apidocs/latest1x/jquery/jszip-utils/dist/jszip-utils-ie.js create mode 100644 apidocs/latest1x/jquery/jszip-utils/dist/jszip-utils-ie.min.js create mode 100644 apidocs/latest1x/jquery/jszip-utils/dist/jszip-utils.js create mode 100644 apidocs/latest1x/jquery/jszip-utils/dist/jszip-utils.min.js create mode 100644 apidocs/latest1x/jquery/jszip/dist/jszip.js create mode 100644 apidocs/latest1x/jquery/jszip/dist/jszip.min.js create mode 100644 apidocs/latest1x/member-search-index.js create mode 100644 apidocs/latest1x/member-search-index.zip rewrite apidocs/latest1x/options (74%) rewrite apidocs/latest1x/org/glassfish/tyrus/client/auth/class-use/AuthConfig.Builder.html (65%) delete mode 100644 apidocs/latest1x/org/glassfish/tyrus/client/auth/package-frame.html rewrite apidocs/latest1x/org/glassfish/tyrus/client/class-use/SslContextConfigurator.html (71%) rewrite apidocs/latest1x/org/glassfish/tyrus/client/class-use/SslEngineConfigurator.html (67%) rewrite apidocs/latest1x/org/glassfish/tyrus/client/class-use/ThreadPoolConfig.html (62%) delete mode 100644 apidocs/latest1x/org/glassfish/tyrus/client/package-frame.html rewrite apidocs/latest1x/org/glassfish/tyrus/client/package-tree.html (61%) delete mode 100644 apidocs/latest1x/org/glassfish/tyrus/container/grizzly/client/package-frame.html delete mode 100644 apidocs/latest1x/org/glassfish/tyrus/container/grizzly/server/package-frame.html rewrite apidocs/latest1x/org/glassfish/tyrus/core/class-use/AnnotatedEndpoint.html (65%) rewrite apidocs/latest1x/org/glassfish/tyrus/core/class-use/Beta.html (60%) rewrite apidocs/latest1x/org/glassfish/tyrus/core/class-use/ComponentProviderService.html (71%) rewrite apidocs/latest1x/org/glassfish/tyrus/core/class-use/ErrorCollector.html (64%) rewrite apidocs/latest1x/org/glassfish/tyrus/core/class-use/RequestContext.Builder.html (66%) rewrite apidocs/latest1x/org/glassfish/tyrus/core/class-use/RequestContext.html (60%) rewrite apidocs/latest1x/org/glassfish/tyrus/core/class-use/TyrusEndpointWrapper.html (69%) rewrite apidocs/latest1x/org/glassfish/tyrus/core/class-use/TyrusServerEndpointConfig.Builder.html (62%) rewrite apidocs/latest1x/org/glassfish/tyrus/core/class-use/TyrusWebSocket.html (62%) rewrite apidocs/latest1x/org/glassfish/tyrus/core/class-use/TyrusWebSocketEngine.TyrusWebSocketEngineBuilder.html (69%) rewrite apidocs/latest1x/org/glassfish/tyrus/core/cluster/class-use/ClusterContext.html (65%) rewrite apidocs/latest1x/org/glassfish/tyrus/core/cluster/class-use/RemoteSession.DistributedMapKey.html (61%) delete mode 100644 apidocs/latest1x/org/glassfish/tyrus/core/cluster/package-frame.html delete mode 100644 apidocs/latest1x/org/glassfish/tyrus/core/coder/package-frame.html rewrite apidocs/latest1x/org/glassfish/tyrus/core/coder/package-tree.html (70%) create mode 100644 apidocs/latest1x/org/glassfish/tyrus/core/collection/LazyValue.html create mode 100644 apidocs/latest1x/org/glassfish/tyrus/core/collection/Value.html create mode 100644 apidocs/latest1x/org/glassfish/tyrus/core/collection/Values.html create mode 100644 apidocs/latest1x/org/glassfish/tyrus/core/collection/class-use/LazyValue.html create mode 100644 apidocs/latest1x/org/glassfish/tyrus/core/collection/class-use/Value.html create mode 100644 apidocs/latest1x/org/glassfish/tyrus/core/collection/class-use/Values.html create mode 100644 apidocs/latest1x/org/glassfish/tyrus/core/collection/package-summary.html create mode 100644 apidocs/latest1x/org/glassfish/tyrus/core/collection/package-tree.html create mode 100644 apidocs/latest1x/org/glassfish/tyrus/core/collection/package-use.html rewrite apidocs/latest1x/org/glassfish/tyrus/core/extension/class-use/ExtendedExtension.ExtensionContext.html (64%) delete mode 100644 apidocs/latest1x/org/glassfish/tyrus/core/extension/package-frame.html rewrite apidocs/latest1x/org/glassfish/tyrus/core/frame/class-use/Frame.Builder.html (65%) rewrite apidocs/latest1x/org/glassfish/tyrus/core/frame/class-use/Frame.html (73%) rewrite apidocs/latest1x/org/glassfish/tyrus/core/frame/class-use/TyrusFrame.FrameType.html (63%) delete mode 100644 apidocs/latest1x/org/glassfish/tyrus/core/frame/package-frame.html rewrite apidocs/latest1x/org/glassfish/tyrus/core/l10n/LocalizationMessages.html (62%) rewrite apidocs/latest1x/org/glassfish/tyrus/core/l10n/class-use/Localizable.html (85%) delete mode 100644 apidocs/latest1x/org/glassfish/tyrus/core/l10n/package-frame.html rewrite apidocs/latest1x/org/glassfish/tyrus/core/monitoring/class-use/ApplicationEventListener.html (63%) rewrite apidocs/latest1x/org/glassfish/tyrus/core/monitoring/class-use/EndpointEventListener.html (68%) delete mode 100644 apidocs/latest1x/org/glassfish/tyrus/core/monitoring/package-frame.html delete mode 100644 apidocs/latest1x/org/glassfish/tyrus/core/package-frame.html rewrite apidocs/latest1x/org/glassfish/tyrus/core/package-tree.html (82%) rewrite apidocs/latest1x/org/glassfish/tyrus/core/package-use.html (60%) rewrite apidocs/latest1x/org/glassfish/tyrus/core/uri/internal/class-use/MultivaluedMap.html (69%) rewrite apidocs/latest1x/org/glassfish/tyrus/core/uri/internal/class-use/PathPattern.html (61%) delete mode 100644 apidocs/latest1x/org/glassfish/tyrus/core/uri/internal/package-frame.html rewrite apidocs/latest1x/org/glassfish/tyrus/core/uri/internal/package-tree.html (61%) delete mode 100644 apidocs/latest1x/org/glassfish/tyrus/core/uri/package-frame.html delete mode 100644 apidocs/latest1x/org/glassfish/tyrus/core/wsadl/model/package-frame.html delete mode 100644 apidocs/latest1x/org/glassfish/tyrus/gf/cdi/package-frame.html delete mode 100644 apidocs/latest1x/org/glassfish/tyrus/gf/ejb/package-frame.html delete mode 100644 apidocs/latest1x/org/glassfish/tyrus/server/package-frame.html delete mode 100644 apidocs/latest1x/org/glassfish/tyrus/servlet/package-frame.html rewrite apidocs/latest1x/org/glassfish/tyrus/spi/class-use/ClientEngine.ClientUpgradeInfo.html (62%) rewrite apidocs/latest1x/org/glassfish/tyrus/spi/class-use/ClientEngine.TimeoutHandler.html (61%) rewrite apidocs/latest1x/org/glassfish/tyrus/spi/class-use/ClientEngine.html (60%) rewrite apidocs/latest1x/org/glassfish/tyrus/spi/class-use/Connection.CloseListener.html (65%) rewrite apidocs/latest1x/org/glassfish/tyrus/spi/class-use/ServerContainer.html (61%) rewrite apidocs/latest1x/org/glassfish/tyrus/spi/class-use/UpgradeRequest.html (68%) rewrite apidocs/latest1x/org/glassfish/tyrus/spi/class-use/UpgradeResponse.html (70%) rewrite apidocs/latest1x/org/glassfish/tyrus/spi/class-use/WebSocketEngine.UpgradeInfo.html (63%) rewrite apidocs/latest1x/org/glassfish/tyrus/spi/class-use/Writer.html (70%) rewrite apidocs/latest1x/org/glassfish/tyrus/spi/class-use/WriterInfo.html (64%) delete mode 100644 apidocs/latest1x/org/glassfish/tyrus/spi/package-frame.html rewrite apidocs/latest1x/org/glassfish/tyrus/spi/package-tree.html (67%) delete mode 100644 apidocs/latest1x/overview-frame.html rewrite apidocs/latest1x/overview-summary.html (97%) rewrite apidocs/latest1x/overview-tree.html (88%) delete mode 100644 apidocs/latest1x/package-list create mode 100644 apidocs/latest1x/package-search-index.js create mode 100644 apidocs/latest1x/package-search-index.zip create mode 100644 apidocs/latest1x/resources/glass.png create mode 100644 apidocs/latest1x/resources/x.png create mode 100644 apidocs/latest1x/search.js create mode 100644 apidocs/latest1x/type-search-index.js create mode 100644 apidocs/latest1x/type-search-index.zip + cd ../documentation + mkdir -p 1.19/index + cp -a /home/jenkins/agent/workspace/documentation-update-after-release/docs/target/docbook/configurations.html /home/jenkins/agent/workspace/documentation-update-after-release/docs/target/docbook/deployment.html /home/jenkins/agent/workspace/documentation-update-after-release/docs/target/docbook/getting-started.html /home/jenkins/agent/workspace/documentation-update-after-release/docs/target/docbook/index.html /home/jenkins/agent/workspace/documentation-update-after-release/docs/target/docbook/injection.html /home/jenkins/agent/workspace/documentation-update-after-release/docs/target/docbook/lifecycle.html /home/jenkins/agent/workspace/documentation-update-after-release/docs/target/docbook/modules-and-dependencies.html /home/jenkins/agent/workspace/documentation-update-after-release/docs/target/docbook/preface.html /home/jenkins/agent/workspace/documentation-update-after-release/docs/target/docbook/tyrus-proprietary-config.html /home/jenkins/agent/workspace/documentation-update-after-release/docs/target/docbook/user-guide.html /home/jenkins/agent/workspace/documentation-update-after-release/docs/target/docbook/websocket-api.html 1.19/index + cp -a /home/jenkins/agent/workspace/documentation-update-after-release/docs/target/docbook/user-guide.fo /home/jenkins/agent/workspace/documentation-update-after-release/docs/target/docbook/user-guide.html /home/jenkins/agent/workspace/documentation-update-after-release/docs/target/docbook/user-guide.pdf 1.19/ + rm 1.19/index/user-guide.html + rm -rf latest1x/index latest1x/user-guide.fo latest1x/user-guide.html latest1x/user-guide.pdf + cp -a 1.19/index 1.19/user-guide.fo 1.19/user-guide.html 1.19/user-guide.pdf latest1x/ + git add -A . + git diff --cached --exit-code diff --git a/documentation/1.19/index/configurations.html b/documentation/1.19/index/configurations.html new file mode 100644 index 00000000..3698c414 --- /dev/null +++ b/documentation/1.19/index/configurations.html @@ -0,0 +1,138 @@ + + + Chapter 5. Configurations

                                                Chapter 5. Configurations

                                                + javax.websocket.server.ServerEndpointConfig and javax.websocket.ClientEndpointConfig objects + are used to provide the user the ability to configure websocket endpoints. Both server and client endpoints have some + part of configuration in common, namely encoders, decoders, and user properties. The user properties may developers + use to store the application specific data. For the developer's convenience the builders are provided for both + ServerEndpointConfig and ClientEndpointConfig. +

                                                5.1. javax.websocket.server.ServerEndpointConfig

                                                + The javax.websocket.server.ServerEndpointConfig is used when deploying the endpoint either via + implementing the javax.websocket.server.ServerApplicationConfig, or via registering the programmatic endpoint + at the javax.websocket.server.ServerContainer instance. It allows the user to create the configuration + programmatically. +

                                                + The following example is used to deploy the EchoEndpoint programmatically. In the method + getEndpointClass() the user has to specify the class of the deployed endpoint. In + the example Tyrus will create an instance of EchoEndpoint and deploy it. + This is the way how to tie together endpoint and it's configuration. In the method + getPath() the user specifies that that the endpoint instance will be deployed at the + path "/echo". In the method public List<String> getSubprotocols() the user + specifies that the supported subprotocols are "echo1" and "echo2". The method getExtensions() + defines the extensions the endpoint supports. Similarly the example configuration does not use any configurator. + Method public List<Class<? extends Encoder>> getEncoders() defines the encoders + used by the endpoint. The decoders and user properties map are defined in similar fashion. +

                                                + If the endpoint class which is about to be deployed is an annotated endpoint, note that the endpoint configuration + will be taken from configuration object, not from the annotation on the endpoint class. +

                                                Example 5.1. Configuration for EchoEndpoint Deployment

                                                public class EchoEndpointConfig implements ServerEndpointConfig{
                                                +
                                                +    private final Map<String, Object> userProperties = new HashMap<String, Object>();
                                                +
                                                +    @Override
                                                +    public Class<?> getEndpointClass() {
                                                +        return EchoEndpoint.class;
                                                +    }
                                                +
                                                +    @Override
                                                +    public String getPath() {
                                                +        return "/echo";
                                                +    }
                                                +
                                                +    @Override
                                                +    public List<String> getSubprotocols() {
                                                +        return Arrays.asList("echo1","echo2");
                                                +    }
                                                +
                                                +    @Override
                                                +    public List<Extension> getExtensions() {
                                                +        return null;
                                                +    }
                                                +
                                                +    @Override
                                                +    public Configurator getConfigurator() {
                                                +        return null;
                                                +    }
                                                +
                                                +    @Override
                                                +    public List<Class<? extends Encoder>> getEncoders() {
                                                +        return Arrays.asList(SampleEncoder.class);
                                                +    }
                                                +
                                                +    @Override
                                                +    public List<Class<? extends Decoder>> getDecoders() {
                                                +        return Arrays.asList(SampleDecoder.class);
                                                +    }
                                                +
                                                +    @Override
                                                +    public Map<String, Object> getUserProperties() {
                                                +        return userProperties;
                                                +    }
                                                +}

                                                + To make the development easy the javax.websocket.server.ServerEndpointConfig provides a builder to construct + the configuration object: +

                                                Example 5.2. ServerEndpointConfigu built using Builder

                                                ServerEndpointConfig config = ServerEndpointConfig.Builder.create(EchoEndpoint.class,"/echo").
                                                +    decoders(Arrays.<Class<? extends Decoder>>asList(JsonDecoder.class)).
                                                +    encoders(Arrays.<Class< extends Encoder>>asList(JsonEncoder.class)).build();


                                                +

                                                5.2. javax.websocket.ClientEndpointConfig

                                                + The javax.websocket.ClientEndpointConfig is used when deploying the programmatic client endpoint + via registering the programmatic endpoint at the WebSocketContainer instance. Some of + the configuration methods come from the EndpointConfigclass, which is extended by both + javax.websocket.server.ServerEndpointConfig and javax.websocket.ClientEndpointConfig. Then there are methods + for configuring the preferred subprotocols the client endpoint wants to use and supported extensions. It is + also possible to use the ClientEndpointConfig.Configurator in order to be able to affect the endpoint behaviour + before and after request. +

                                                + Similarly to the ServerEndpointConfig, there is a Builder provided to construct the configuration easily: +

                                                Example 5.3. ClientEndpointConfig built using Builder

                                                ClientEndpointConfig.Builder.create().
                                                +    decoders(Arrays.<Class<? extends Decoder>>asList(JsonDecoder.class)).
                                                +    encoders(Arrays.<Class<? extends Encoder>>asList(JsonEncoder.class)).
                                                +    preferredSubprotocols(Arrays.asList("echo1", "echo2")).build();

                                                \ No newline at end of file diff --git a/documentation/1.19/index/deployment.html b/documentation/1.19/index/deployment.html new file mode 100644 index 00000000..2957ba9a --- /dev/null +++ b/documentation/1.19/index/deployment.html @@ -0,0 +1,163 @@ + + + Chapter 3. Deploying WebSocket Endpoints

                                                Chapter 3. Deploying WebSocket Endpoints

                                                + Deploying WebSocket endpoints can be done in two ways. Either deploying via putting the endpoint in the WAR + file, or using the ServerContainer methods to deploy the programmatic endpoint in the deployment phase. +

                                                3.1. Deploying Endpoints as a WAR file

                                                + The classes that are scanned for in WAR are the following ones: +

                                                • + Classes that implement the javax.websocket.ServerApplicationConfig. +

                                                • + Classes annotated with javax.websocket.server.ServerEndpoint. +

                                                • + Classes that extend javax.websocket.Endpoint. +

                                                +

                                                3.1.1. Deployment Algorithm

                                                +

                                                1. + If one or more classes implementing ServerApplicationConfiguration are present in the WAR file, Tyrus deploys endpoints + provided by all of these classes. Tyrus doesn't deploy any other classes present in the WAR (annotated by + javax.websocket.server.ServerEndpoint or extending javax.websocket.Endpoint). +
                                                2. + If no class implementing ServerApplicationConfiguration is present, Tyrus deploys all classes annotated + with @ServerEndpoint or extending Endpoint present in the WAR. +

                                                +

                                                + Let's have the following classes in the WAR: +

                                                Example 3.1. Deployment of WAR containing several classes extending javax.websocket.server.ServerApplicationConfig

                                                public class MyApplicationConfigOne implements ServerApplicationConfig {
                                                +    public Set<ServerEndpointConfig> getEndpointConfigs(Set<Class<? extends Endpoint>> endpointClasses);
                                                +        Set<Class<? extends Endpoint>> s = new HashSet<Class<? extends Endpoint>>;
                                                +        s.add(ProgrammaticEndpointOne.class);
                                                +        return s;
                                                +    }
                                                +
                                                +    public Set<Class> getAnnotatedEndpointClasses(Set<Class<?>> scanned);
                                                +       Set<Class<?>> s = new HashSet<Class<?>>;
                                                +        s.add(AnnotatedEndpointOne.class);
                                                +        return s;
                                                +    }
                                                +}
                                                +
                                                +public class MyApplicationConfigTwo implements ServerApplicationConfig {
                                                +    public Set<ServerEndpointConfig> getEndpointConfigs(Set<Class<? extends Endpoint>> endpointClasses);
                                                +        Set<Class<? extends Endpoint>> s = new HashSet<Class<? extends Endpoint>>;
                                                +        s.add(ProgrammaticEndpointTwo.class);
                                                +    return s;
                                                +}
                                                +
                                                +public Set<Class> getAnnotatedEndpointClasses(Set<Class<?>> scanned);
                                                +    Set<Class<?>> s = new HashSet<Class<?>>;
                                                +        s.add(AnnotatedEndpointTwo.class);
                                                +        return s;
                                                +    }
                                                +}
                                                +
                                                +@ServerEndpoint(value = "/annotatedone")
                                                +public class AnnotatedEndpointOne {
                                                +    ...
                                                +}
                                                +
                                                +@ServerEndpoint(value = "/annotatedtwo")
                                                +    public class AnnotatedEndpointTwo {
                                                +    ...
                                                +}
                                                +
                                                +@ServerEndpoint(value = "/annotatedthree")
                                                +public class AnnotatedEndpointThree {
                                                +    ...
                                                +}
                                                +
                                                +public class ProgrammaticEndpointOne extends Endpoint {
                                                +    ...
                                                +}
                                                +
                                                +public class ProgrammaticEndpointTwo extends Endpoint {
                                                +    ...
                                                +}
                                                +
                                                +public class ProgrammaticEndpointThree extends Endpoint {
                                                +    ...
                                                +}


                                                + According to the deployment algorithm classes AnnotatedEndpointOne, AnnotatedEndpointTwo, + ProgrammaticEndpointOne and ProgrammaticEndpointTwo will be deployed. + AnnotatedEndpointThree and ProgrammaticEndpointThree will not be + deployed, as these are not returned by the respective + methods of MyApplicationConfigOne nor MyApplicationConfigTwo. +

                                                3.2. Deploying endpoints via javax.websocket.server.ServerContainer

                                                + Endpoints may be deployed using javax.websocket.server.ServerContainer during the application initialization phase. + For websocket enabled web containers, developers may obtain a reference to the ServerContainer instance by + retrieving it as an attribute named javax.websocket.server.ServerContainer on the ServletContext, see + the following example for annotated endpoint: +

                                                Example 3.2. Deployment of Annotated Endpoint Using ServerContainer

                                                @WebListener
                                                +@ServerEndpoint("/annotated")
                                                +public class MyServletContextListenerAnnotated implements ServletContextListener {
                                                +
                                                +    @Override
                                                +    public void contextInitialized(ServletContextEvent servletContextEvent) {
                                                +        final ServerContainer serverContainer = (ServerContainer) servletContextEvent.getServletContext()
                                                +                                                    .getAttribute("javax.websocket.server.ServerContainer");
                                                +
                                                +        try {
                                                +            serverContainer.addEndpoint(MyServletContextListenerAnnotated.class);
                                                +        } catch (DeploymentException e) {
                                                +            e.printStackTrace();
                                                +        }
                                                +    }
                                                +
                                                +    @OnMessage
                                                +    public String onMessage(String message) {
                                                +        return message;
                                                +    }
                                                +
                                                +    @Override
                                                +    public void contextDestroyed(ServletContextEvent servletContextEvent) {
                                                +    }
                                                +}


                                                +

                                                \ No newline at end of file diff --git a/documentation/1.19/index/getting-started.html b/documentation/1.19/index/getting-started.html new file mode 100644 index 00000000..124f5575 --- /dev/null +++ b/documentation/1.19/index/getting-started.html @@ -0,0 +1,212 @@ + + + Chapter 1. Getting Started

                                                Chapter 1. Getting Started

                                                + This chapter provides a quick introduction on how to get started building + WebSocket services using Java API for WebSocket and Tyrus. The example described here presents how to implement + simple websocket service as JavaEE web application that can be deployed on any servlet container + supporting Servlet 3.1 and higher. It also discusses starting Tyrus in standalone mode. +

                                                1.1. WebSocket Services Using Java API for WebSocket

                                                + First, to use the Java API for WebSocket in your project you need to depend on the following artifact: +

                                                <dependency>
                                                +    <groupId>javax.websocket</groupId>
                                                +    <artifactId>javax.websocket-api</artifactId>
                                                +    <version>1.1</version>
                                                +</dependency>
                                                +

                                                +

                                                1.1.1. Creating Annotated Server Endpoint

                                                + In this section we will create a simple server side websocket endpoint which will echo the received + message back to the sender. We will deploy this endpoint on the container. +

                                                + In Java API for WebSocket and Tyrus, there are two basic approaches how to create an endpoint - either annotated endpoint, + or programmatic endpoint. + By annotated endpoint we mean endpoint constructed by using annotations (javax.websocket.server.ServerEndpoint + for server endpoint and javax.websocket.ClientEndpoint for client endpoint), like in + "Annotated Echo Endpoint". +

                                                Example 1.1. Annotated Echo Endpoint

                                                @ServerEndpoint(value = "/echo")
                                                +public class EchoEndpointAnnotated {
                                                +    @OnMessage
                                                +    public String onMessage(String message, Session session) {
                                                +        return message;
                                                +    }
                                                +}
                                                +


                                                +

                                                + The functionality of the EchoEndpointAnnotated is fairly simple - to send the received message + back to the sender. To turn a POJO (Plain Old Java Object) to WebSocket server endpoint, the annotation + @ServerEndpoint(value = "/echo") needs to be put on the POJO - see line 1. The URI path of the endpoint + is "/echo". The annotation @OnMessage - line 3 on the method public String + onMessage(String message, Session session) indicates that this method + will be called whenever text message is received. On line 5 in this method the message is sent back to + the user by returning it from the message. +

                                                + The application containing only the EchoEndpointAnnotated class can be deployed to the container. +

                                                1.1.2. Client Endpoint

                                                + Let's create the client part of the application. The client part may be written in JavaScript or any + other technology supporting WebSockets. We will use Java API for WebSocket and Tyrus to demonstrate how to develop + programmatic client endpoint. + The following code is used as a client part to communicate with the EchoEndpoint deployed on server + using Tyrus and Java API for WebSocket. +

                                                + The example "Client Endpoint" utilizes the concept + of the programmatic endpoint. By programmatic endpoint we mean endpoint which is created by extending + class javax.websocket.Endpoint. + The example is standalone java application which needs to depend on some Tyrus artifacts to work + correctly, see "Tyrus Standalone Mode". + In the example first the CountDownLatch is initialized. It is needed as a bocking data + structure - on line 31 it either waits for 100 seconds, or until it gets counted down (line 22). + On line 9 the javax.websocket.ClientEndpointConfig is created - we will need it later + to connect the endpoint to the server. On line 11 the org.glassfish.tyrus.client.ClientManager + is created. it implements the javax.websocket.WebSocketContainer and is used to connect + to server. This happens on next line. The client endpoint functionality is contained in the + javax.websocket.Endpoint lazy instantiation. In the onOpen method new MessageHandler + is registered (the received message is just printed on the console and the latch is counted down). After + the registration the message is sent to the server (line 25). +

                                                Example 1.2. Client Endpoint

                                                public class DocClient {
                                                +    private static CountDownLatch messageLatch;
                                                +    private static final String SENT_MESSAGE = "Hello World";
                                                +
                                                +    public static void main(String [] args){
                                                +        try {
                                                +            messageLatch = new CountDownLatch(1);
                                                +
                                                +            final ClientEndpointConfig cec = ClientEndpointConfig.Builder.create().build();
                                                +
                                                +            ClientManager client = ClientManager.createClient();
                                                +            client.connectToServer(new Endpoint() {
                                                +
                                                +                @Override
                                                +                public void onOpen(Session session, EndpointConfig config) {
                                                +                    try {
                                                +                        session.addMessageHandler(new MessageHandler.Whole<String>() {
                                                +
                                                +                            @Override
                                                +                            public void onMessage(String message) {
                                                +                                System.out.println("Received message: "+message);
                                                +                                messageLatch.countDown();
                                                +                            }
                                                +                        });
                                                +                        session.getBasicRemote().sendText(SENT_MESSAGE);
                                                +                    } catch (IOException e) {
                                                +                        e.printStackTrace();
                                                +                    }
                                                +                }
                                                +            }, cec, new URI("ws://localhost:8025/websockets/echo"));
                                                +            messageLatch.await(100, TimeUnit.SECONDS);
                                                +        } catch (Exception e) {
                                                +            e.printStackTrace();
                                                +        }
                                                +    }
                                                +}


                                                +

                                                1.1.3. Creating Server Endpoint Programmatically

                                                + Similarly to "Client Endpoint" the server registered endpoint + may also be the programmatic one: +

                                                Example 1.3. Programmatic Echo Endpoint

                                                public class EchoEndpointProgrammatic extends Endpoint {
                                                +    @Override
                                                +    public void onOpen(final Session session, EndpointConfig config) {
                                                +        session.addMessageHandler(new MessageHandler.Whole<String>() {
                                                +            @Override
                                                +            public void onMessage(String message) {
                                                +                try {
                                                +                    session.getBasicRemote().sendText(message);
                                                +                } catch (IOException e) {
                                                +                    e.printStackTrace();
                                                +                }
                                                +            }
                                                +        });
                                                +    }
                                                +}


                                                +

                                                + The functionality of the EchoEndpointProgrammatic is fairly simple - to send the received message back to the sender. + The programmatic server endpoint needs to extend javax.websocket.Endpoint - line 1. + Mehod public void onOpen(final Session session, EndpointConfig config) gets called once new + connection to this endpoin0t is opened. In this method the MessageHandler is registered to the + javax.websocket.Session instance, which opened the connection. Method public void + onMessage(String message) gets called once the message is received. On line 8 the message + is sent back to the sender. +

                                                + To see how both annotated and programmatic endpoints may be deployed please check the section Deployment. + In short: you need to put the server endpoint classes into WAR, deploy on server and the endpoints will + be scanned by server and deployed. +

                                                1.1.4. Tyrus in Standalone Mode

                                                + +

                                                + To use Tyrus in standalone mode it is necessary to depend on correct Tyrus artifacts. + The following artifacts need to be added to your pom to use Tyrus: +

                                                <dependency>
                                                +    <groupId>org.glassfish.tyrus</groupId>
                                                +    <artifactId>tyrus-server</artifactId>
                                                +    <version>1.19</version>
                                                +</dependency>
                                                +
                                                +<dependency>
                                                +    <groupId>org.glassfish.tyrus</groupId>
                                                +    <artifactId>tyrus-container-grizzly-server</artifactId>
                                                +    <version>1.19</version>
                                                +</dependency>

                                                +

                                                + Let's use the very same example like for Java API for WebSocket and deploy the EchoEndpointAnnotated on the + standalone Tyrus server on the hostname "localhost", port 8025 and path "/websockets", so the endpoint + will be available at address "ws://localhost:8025/websockets/echo". +

                                                public void runServer() {
                                                +    Server server = new Server("localhost", 8025, "/websockets", null, EchoEndpoint.class);
                                                +
                                                +    try {
                                                +        server.start();
                                                +        BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));
                                                +        System.out.print("Please press a key to stop the server.");
                                                +        reader.readLine();
                                                +    } catch (Exception e) {
                                                +        e.printStackTrace();
                                                +    } finally {
                                                +        server.stop();
                                                +    }
                                                +}

                                                +

                                                \ No newline at end of file diff --git a/documentation/1.19/index/index.html b/documentation/1.19/index/index.html new file mode 100644 index 00000000..e50be9e2 --- /dev/null +++ b/documentation/1.19/index/index.html @@ -0,0 +1,51 @@ + + + Tyrus 1.19 User Guide

                                                Tyrus 1.19 User Guide


                                                Table of Contents

                                                Preface
                                                1. Getting Started
                                                1.1. WebSocket Services Using Java API for WebSocket
                                                1.1.1. Creating Annotated Server Endpoint
                                                1.1.2. Client Endpoint
                                                1.1.3. Creating Server Endpoint Programmatically
                                                1.1.4. Tyrus in Standalone Mode
                                                2. Tyrus Modules and Dependencies
                                                3. Deploying WebSocket Endpoints
                                                3.1. Deploying Endpoints as a WAR file
                                                3.1.1. Deployment Algorithm
                                                3.2. Deploying endpoints via javax.websocket.server.ServerContainer
                                                4. WebSocket API Endpoints, Sessions and MessageHandlers
                                                4.1. Endpoint Classes
                                                4.1.1. javax.websocket.server.ServerEndpoint
                                                4.1.2. javax.websocket.ClientEndpoint
                                                4.2. Endpoint method-level annotations
                                                4.2.1. @OnOpen
                                                4.2.2. @OnClose
                                                4.2.3. @OnError
                                                4.2.4. @OnMessage
                                                4.3. MessageHandlers
                                                5. Configurations
                                                5.1. javax.websocket.server.ServerEndpointConfig
                                                5.2. javax.websocket.ClientEndpointConfig
                                                6. Endpoint Lifecycle, Sessions, Sending Messages
                                                6.1. Endpoint Lifecycle
                                                6.2. javax.websocket.Session
                                                6.3. Sending Messages
                                                6.4. RemoteEndpoint
                                                6.4.1. javax.websocket.RemoteEndpoint.Basic
                                                6.4.2. javax.websocket.RemoteEndpoint.Async
                                                7. Injection Support
                                                7.1. javax.inject.Inject sample
                                                7.2. EJB sample
                                                8. Tyrus proprietary configuration
                                                8.1. Client-side SSL configuration
                                                8.1.1. Host verification
                                                8.2. Asynchronous connectToServer methods
                                                8.3. Optimized broadcast
                                                8.4. Incoming buffer size
                                                8.5. Shared client container
                                                8.5.1. Custom masking key generator
                                                8.6. WebSocket Extensions
                                                8.6.1. ExtendedExtension sample
                                                8.6.2. Per Message Deflate Extension
                                                8.7. Client reconnect
                                                8.8. Client behind proxy
                                                8.9. JDK 7 client
                                                8.9.1. SSL configuration
                                                8.10. Tracing support
                                                8.10.1. Configuration
                                                8.10.2. Tracing Examples
                                                8.11. Client handshake request and response logging
                                                8.12. JMX Monitoring
                                                8.12.1. Configuration
                                                8.13. Maximal number of open sessions on server-side
                                                8.13.1. Maximal number of open sessions per application
                                                8.13.2. Maximal number of open sessions per remote address
                                                8.13.3. Maximal number of open sessions per endpoint
                                                8.14. Client HTTP Authentication
                                                8.14.1. Credentials
                                                8.14.2. Auth Configuration
                                                8.14.3. User defined authenticator
                                                8.14.4. Examples
                                                8.15. Client HTTP Redirect
                                                8.15.1. Supported HTTP response codes
                                                8.15.2. Configuration
                                                8.15.3. Exception handling
                                                8.16. Client support for HTTP status 503 - Service Unavailable with Retry-After header
                                                8.16.1. Configuration

                                                List of Tables

                                                2.1. Tyrus core modules
                                                2.2. Tyrus containers
                                                \ No newline at end of file diff --git a/documentation/1.19/index/injection.html b/documentation/1.19/index/injection.html new file mode 100644 index 00000000..fc5cf0b5 --- /dev/null +++ b/documentation/1.19/index/injection.html @@ -0,0 +1,109 @@ + + + Chapter 7. Injection Support

                                                Chapter 7. Injection Support

                                                + As required in Java API for WebSocket, Tyrus supports full field, method and constructor injection using javax.inject.Inject + into all websocket endpoint classes as well as the use of the interceptors on these classes. + Except this, Tyrus also supports some of the EJB annotations. Currently javax.ejb.Stateful, + javax.ejb.Singleton and javax.ejb.Stateless annotations are supported. +

                                                7.1. javax.inject.Inject sample

                                                + The following example presents how to inject a bean to the javax.websocket.server.ServerEndpoint + annotated class using javax.inject.Inject. Class InjectedSimpleBean gets injected + into class SimpleEndpoint on line 15. +

                                                Example 7.1. Injecting bean into javax.websocket.server.ServerEndpoint

                                                public class InjectedSimpleBean {
                                                +
                                                +    private static final String TEXT = " (from your server)";
                                                +
                                                +    public String getText() {
                                                +        return TEXT;
                                                +    }
                                                +}
                                                +
                                                +@ServerEndpoint(value = "/simple")
                                                +public class SimpleEndpoint {
                                                +
                                                +    private boolean postConstructCalled = false;
                                                +
                                                +    @Inject
                                                +    InjectedSimpleBean bean;
                                                +
                                                +    @OnMessage
                                                +    public String echo(String message) {
                                                +        return String.format("%s%s", message, bean.getText());
                                                +    }
                                                +}


                                                +

                                                7.2. EJB sample

                                                + The following sample presents how to turn javax.websocket.server.ServerEndpoint annotated class + into javax.ejb.Singleton and use interceptor on it. +

                                                Example 7.2. Echo sample server endpoint.

                                                @ServerEndpoint(value = "/singleton")
                                                +@Singleton
                                                +@Interceptors(LoggingInterceptor.class)
                                                +public class SingletonEndpoint {
                                                +
                                                +    int counter = 0;
                                                +    public static boolean interceptorCalled = false;
                                                +
                                                +    @OnMessage
                                                +    public String echo(String message) {
                                                +        return interceptorCalled ? String.format("%s%s", message, counter++) : "LoggingInterceptor not called.";
                                                +    }
                                                +}
                                                +
                                                +public class LoggingInterceptor {
                                                +
                                                +    @AroundInvoke
                                                +    public Object manageTransaction(InvocationContext ctx) throws Exception {
                                                +        SingletonEndpoint.interceptorCalled = true;
                                                +        Logger.getLogger(getClass().getName()).info("LOGGING.");
                                                +        return ctx.proceed();
                                                +    }
                                                +}
                                                +


                                                +

                                                \ No newline at end of file diff --git a/documentation/1.19/index/lifecycle.html b/documentation/1.19/index/lifecycle.html new file mode 100644 index 00000000..97723904 --- /dev/null +++ b/documentation/1.19/index/lifecycle.html @@ -0,0 +1,158 @@ + + + Chapter 6. Endpoint Lifecycle, Sessions, Sending Messages

                                                Chapter 6. Endpoint Lifecycle, Sessions, Sending Messages

                                                6.1. Endpoint Lifecycle

                                                + As mentioned before, the endpoint in Java API for WebSocket is represented either by instance of javax.websocket.Endpoint, + or by class annotated with either javax.websocket.server.ServerEndpoint or + javax.websocket.ClientEndpoint. Unless otherwise defined by developer provided configurator + (defined in instance of javax.websocket.server.ServerEndpointConfig or + javax.websocket.ClientEndpointConfig, Tyrus uses one endpoint instance per VM per connected + peer. Therefore one endpoint instance typically handles connections from one peer. +

                                                6.2. javax.websocket.Session

                                                + The sequence of interactions between an endpoint instance and remote peer is in Java API for WebSocket modelled by + javax.websocket.Session instance. This interaction starts by mandatory open notification, + continues by 0 - n websocket messages and is finished by mandatory closing notification. +

                                                + The javax.websocket.Session instance is passed by Tyrus to the user in the following methods + for programmatic endpoints: +

                                                • + public void onOpen(Session session, EndpointConfig config) +

                                                • + public void onClose(Session session, CloseReason closeReason) +

                                                • + public void onError(Session session, Throwable thr) +

                                                +

                                                + The javax.websocket.Session instance is passed by Tyrus to the user in the methods + annotated by following annotations for annotated endpoints: +

                                                • + method annotated with javax.websocket.OnOpen +

                                                • + method annotated with javax.websocket.OnMessage +

                                                • + method annotated with javax.websocket.OnClose +

                                                • + method annotated with javax.websocket.OnError +

                                                + In each of the methods annotated with the preceeding annotations the user may use parameter of type + javax.websocket.Session. In the following example the developer wants to send a message in + the method annotated with javax.websocket.OnOpen. As we will demonstrate later, the developer + needs the session instance to do so. According to Java API for WebSocket Session is one of the allowed parameters in + methods annotated with javax.websocket.OnOpen. Once the annotated method gets called, + Tyrus passes in the correct instance of javax.websocket.Session. +

                                                +

                                                Example 6.1. Lifecycle echo sample

                                                @ServerEndpoint("/echo")
                                                +public class EchoEndpoint {
                                                +
                                                +    @OnOpen
                                                +    public void onOpen(Session session) throws IOException {
                                                +        session.getBasicRemote().sendText("onOpen");
                                                +    }
                                                +
                                                +    @OnMessage
                                                +    public String echo(String message) {
                                                +        return message;
                                                +    }
                                                +
                                                +    @OnError
                                                +    public void onError(Throwable t) {
                                                +        t.printStackTrace();
                                                +    }
                                                +}


                                                +

                                                6.3. Sending Messages

                                                + Generally there are two ways how to send message to the peer endpoint. First one is usable for annotated + endpoints only. The user may send the message by returning the message content from the method annotated + with javax.websocket.OnMessage. In the following example the message m is sent back to the + remote endpoint. +

                                                +

                                                Example 6.2. Sending message in @OnMessage

                                                @OnMessage
                                                +public String echo(String m) {
                                                +    return m;                                                                                                                               
                                                +}


                                                +

                                                + The other option how to send a message is to obtain the javax.websocket.RemoteEndpoint instance + via the javax.websocket.Session instance. See the following example: +

                                                +

                                                Example 6.3. Sending message via RemoteEndpoint.Basic instance

                                                @OnMessage
                                                +public void echo(String message, Session session) {
                                                +    session.getBasicRemote().sendText(message);
                                                +}


                                                +

                                                6.4. RemoteEndpoint

                                                + The interface javax.websocket.RemoteEndpoint, part of Java API for WebSocket, is designed to represent the + other end of the communication (related to the endpoint), so the developer uses it to send the message. + There are two basic interfaces the user may use - javax.websocket.RemoteEndpoint$Basic and + javax.websocket.RemoteEndpoint$Async. +

                                                6.4.1. javax.websocket.RemoteEndpoint.Basic

                                                + This representation of the peer of a web socket conversation is used to send synchronous messages. The point + of completion of the send is defined when all the supplied data has been written to the underlying connection. + The methods for sending messages on the + javax.websocket.RemoteEndpoint$Basic block until this point of completion is reached, except for + javax.websocket.RemoteEndpoint$Basic#getSendStream() and + javax.websocket.RemoteEndpoint$Basic#getSendWriter() which present traditional blocking I/O streams + to write messages. See the example + "Sending message via RemoteEndpoint.Basic instance" + to see how the whole text message is send. The following example demonstrates a method which sends the + partial text method to the peer: +

                                                Example 6.4. Method for sending partial text message

                                                public void sendPartialTextMessage(String message, Boolean isLast, Session session){
                                                +    try {
                                                +        session.getBasicRemote().sendText(message, isLast);
                                                +    } catch (IOException e) {
                                                +        e.printStackTrace();
                                                +    }
                                                +}


                                                +

                                                6.4.2. javax.websocket.RemoteEndpoint.Async

                                                + This representation of the peer of a web socket conversation has the ability to send messages + asynchronously. The point of completion of the send is defined when all the supplied data has been + written to the underlying connection. The completion handlers for the asynchronous methods are always + called with a different thread from that which initiated the send. +

                                                Example 6.5. Sending mesage the async way using Future

                                                public void sendWholeAsyncMessage(String message, Session session){
                                                +    Future<Void> future = session.getAsyncRemote().sendText(message);
                                                +}


                                                +

                                                \ No newline at end of file diff --git a/documentation/1.19/index/modules-and-dependencies.html b/documentation/1.19/index/modules-and-dependencies.html new file mode 100644 index 00000000..98422834 --- /dev/null +++ b/documentation/1.19/index/modules-and-dependencies.html @@ -0,0 +1,107 @@ + + + Chapter 2. Tyrus Modules and Dependencies

                                                Chapter 2. Tyrus Modules and Dependencies

                                                + Tyrus is built, assembled and installed using Maven. Tyrus is deployed to maven.org maven repository + at the following location:http://search.maven.org/. + Jars, jar sources, jar javadoc and samples are all available on the java.net maven repository. +

                                                + All Tyrus components are built using Java SE 7 compiler. It means, you will also need at least Java SE 7 + to be able to compile and run your application. Developers using maven are likely to find it easier to include + and + manage dependencies of their applications than developers using ant or other build technologies. The following + table provides an overview of all Tyrus modules and their dependencies with links to the respective binaries. +

                                                Table 2.1. Tyrus core modules

                                                ModuleDependenciesDescription
                                                + + tyrus-server + + tyrus-core, tyrus-spi, tyrus-websocket-coreBasic server functionality
                                                + + tyrus-core + + tyrus-spi, tyrus-websocket-coreCore Tyrus functionality
                                                + + tyrus-client + + tyrus-core, tyrus-spi, tyrus-websocket-coreBasic client functionality
                                                + + tyrus-documentation + + [nothing]Project documentation
                                                + + tyrus-websocket-core + + [nothing]The WebSocket protocol
                                                + + tyrus-samples + + tyrus-server, tyrus-client, tyrus-container-grizzly, tyrus-core, tyrus-spi, + tyrus-websocket-core + Samples of using Java API for WebSocket and Tyrus
                                                + + tyrus-spi + + [nothing]SPI

                                                Table 2.2. Tyrus containers

                                                ModuleDependenciesDescription
                                                + + tyrus-container-glassfish-cdi + + tyrus-spiCDI support
                                                + + tyrus-container-glassfish-ejb + + tyrus-spiEJB support
                                                + + tyrus-container-grizzly + + tyrus-core, tyrus-spi, tyrus-websocket-coreGrizzly integration for Tyrus client and standalone server usage
                                                + + tyrus-container-servlet + + tyrus-server, tyrus-core, tyrus-spi, tyrus-websocket-coreServlet support for integration into web containers

                                                \ No newline at end of file diff --git a/documentation/1.19/index/preface.html b/documentation/1.19/index/preface.html new file mode 100644 index 00000000..b9e532bd --- /dev/null +++ b/documentation/1.19/index/preface.html @@ -0,0 +1,62 @@ + + + Preface

                                                Preface

                                                + This is user guide for Tyrus 1.19. We are trying to keep it up to date + as we add new features. Please use also our API documentation linked + from the + Tyrus and + Java API for WebSocket + home pages as an additional source of information about Tyrus features and API. + + If you would like to contribute to the guide or have questions + on things not covered in our docs, please contact us at + tyrus-dev@eclipse.org. +

                                                \ No newline at end of file diff --git a/documentation/1.19/index/tyrus-proprietary-config.html b/documentation/1.19/index/tyrus-proprietary-config.html new file mode 100644 index 00000000..34a9c2ae --- /dev/null +++ b/documentation/1.19/index/tyrus-proprietary-config.html @@ -0,0 +1,1004 @@ + + + Chapter 8. Tyrus proprietary configuration

                                                Chapter 8. Tyrus proprietary configuration

                                                Following settings do have influence on Tyrus behaviour and are NOT part of WebSocket + specification. If you are using following configurable options, your application might not be easily transferable to + other WebSocket API implementation.

                                                8.1. Client-side SSL configuration

                                                When accessing "wss" URLs, Tyrus client will pick up whatever keystore and truststore is actually set for current JVM instance, but + that might not be always convenient. WebSocket API does not have this feature (yet, see WEBSOCKET_SPEC-210), + so Tyrus exposed two SSL configuration classes SSLEngineConfigurator + and SslEngineConfigurator + , which can be used for specifying all SSL parameters to be used with current client instance. The former configuration class + belongs to Grizzly configuration API and therefore works only with Grizzly client. The latter configuration class + works with both Grizzly and JDK client and offers some extensions over the Grizzly SSLEngineConfigurator + allowing more control of host verification during the SSL handshake. For more details + please refer to the following subsection dealing with host verification. + + Additionally, WebSocket API does not have anything like a client, only WebSocketContainer and it does not have any properties, so you need to use Tyrus specific class - + ClientManager.

                                                final ClientManager client = ClientManager.createClient();
                                                +
                                                +System.getProperties().put("javax.net.debug", "all");
                                                +System.getProperties().put(SSLContextConfigurator.KEY_STORE_FILE, "...");
                                                +System.getProperties().put(SSLContextConfigurator.TRUST_STORE_FILE, "...");
                                                +System.getProperties().put(SSLContextConfigurator.KEY_STORE_PASSWORD, "...");
                                                +System.getProperties().put(SSLContextConfigurator.TRUST_STORE_PASSWORD, "...");
                                                +final SSLContextConfigurator defaultConfig = new SSLContextConfigurator();
                                                +
                                                +defaultConfig.retrieve(System.getProperties());
                                                +    // or setup SSLContextConfigurator using its API.
                                                +
                                                +SSLEngineConfigurator sslEngineConfigurator =
                                                +    new SSLEngineConfigurator(defaultConfig, true, false, false);
                                                +client.getProperties().put(ClientProperties.SSL_ENGINE_CONFIGURATOR,
                                                +    sslEngineConfigurator);
                                                +client.connectToServer(... , ClientEndpointConfig.Builder.create().build(),
                                                +    new URI("wss://localhost:8181/sample-echo/echo"));
                                                +}

                                                + If there seems to be a problem with Tyrus SSL connection, it is strongly recommended to use -Djavax.net.debug=all + system property as it provides invaluable information for troubleshooting. +

                                                8.1.1. Host verification

                                                + One of the key steps when establishing SSL connections is verifying that the host on the certificate + sent by the server matches the host Tyrus client tries to connect to and thus preventing a possibility of + a man-in-the-middle attack. Host verification is turned on by default in Tyrus, which means that Tyrus + will automatically check that the host provided in the URI in +

                                                client.connectToServer(... , new URI("wss://target-server:8181/application/endpoint"));
                                                +                

                                                matches exactly the host the certificate has been issued for. Exact match is + the key word in the previous sentence as host can be either hostname or IP address and those two cannot be used + interchangeably. For instance when a certificate has been issued for "localhost", establishing an SSL connection + to "wss://127.0.0.1:8181/application/endpoint" will fail as the host does not match the one in the certificate. +

                                                + The default host verification can be too restrictive for some cases and therefore Tyrus provides users + with means to to either disable the host verification (highly unrecommended in production) or to implement + their own host verifier. Providing custom host verifier will disable the default one. It is also important + to note that Grizzly specific + SSLEngineConfigurator + does not provide these options and for modifying the default host name verification policy + SslEngineConfigurator + must be used instead. The following sample shows how to disable host name verification: +

                                                SslEngineConfigurator sslEngineConfigurator = new SslEngineConfigurator(new SslContextConfigurator());
                                                +sslEngineConfigurator.setHostVerificationEnabled(false)
                                                +client.getProperties().put(ClientProperties.SSL_ENGINE_CONFIGURATOR, sslEngineConfigurator);
                                                +                

                                                + The following sample shows how to register a custom host verifier: +

                                                SslEngineConfigurator sslEngineConfigurator = new SslEngineConfigurator(new SslContextConfigurator());
                                                +sslEngineConfigurator.setHostnameVerifier(new HostnameVerifier() {
                                                +    @Override
                                                +    public boolean verify(String host, SSLSession sslSession) {
                                                +        Certificate certificate = sslSession.getPeerCertificates()[0];
                                                +        // validate the host in the certificate
                                                +    }
                                                +});
                                                +client.getProperties().put(ClientProperties.SSL_ENGINE_CONFIGURATOR, sslEngineConfigurator);
                                                +                

                                                +

                                                8.2. Asynchronous connectToServer methods

                                                WebSocketContainer.connectToServer(...) methods are by definition blocking - declared exceptions needs to + be thrown after connection attempt is made and it returns Session instance, which needs to be ready for sending + messages and invoking other methods, which require already established connection.

                                                Existing connectToServer methods are fine for lots of uses, but it might cause issue when you are designing + application with highly responsible user interface. Tyrus introduces asynchronous variants to each connectToServer + method (prefixed with "async"), which returns Future<Session>. These methods do only simple check for provided + URL and the rest is executed in separate thread. All exceptions thrown during this phase are reported as cause + of ExecutionException thrown when calling Future<Session>.get().

                                                Asynchronous connect methods are declared on Tyrus implementation of WebSocketContainer called ClientManager.

                                                ClientManager client = ClientManager.createClient();
                                                +  final Future<Session> future = client.asyncConnectToServer(ClientEndpoint.class, URI.create("..."));
                                                +  try {
                                                +    future.get();
                                                +  } catch (...) {
                                                +}

                                                ClientManager contains async alternative to each connectToServer method.

                                                8.3. Optimized broadcast

                                                One of the typical usecases we've seen so far for WebSocket server-side endpoints is broadcasting messages + to all connected clients, something like:

                                                @OnMessage
                                                +public void onMessage(Session session, String message) throws IOException {
                                                +  for (Session s : session.getOpenSessions()) {
                                                +    s.getBasicRemote().sendText(message);
                                                +  }
                                                +}

                                                Executing this code might cause serious load increase on your application server. Tyrus provides optimized + broadcast implementation, which takes advantage of the fact, that we are sending exactly same message to all clients, + so dataframe can be created and serialized only once. Furthermore, Tyrus can iterate over set of opened connections + faster than Session.getOpenSession().

                                                @OnMessage
                                                +public void onMessage(Session session, String message) {
                                                +  ((TyrusSession) session).broadcast(message);
                                                +}

                                                Unfortunately, WebSocket API forbids anything else than Session in @OnMessage annotated method parameter, + so you cannot use TyrusSession there directly and you might need to perform instanceof check.

                                                8.4. Incoming buffer size

                                                Sevlet container buffers incoming WebSocket frames and there must be a size limit to precede OutOfMemory + Exception and potentially DDoS attacks.

                                                Configuration property is named "org.glassfish.tyrus.servlet.incoming-buffer-size" and you can + set it in web.xml (this particular snipped sets the buffer size to 17000000 bytes (~16M payload):

                                                <web-app version="2.5" xmlns="http://java.sun.com/xml/ns/javaee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
                                                +  xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd">
                                                +
                                                +  <context-param>
                                                +    <param-name>org.glassfish.tyrus.servlet.incoming-buffer-size</param-name>
                                                +    <param-value>17000000</param-value>
                                                +  </context-param>
                                                +</web-app>

                                                Default value is 4194315, which correspond to 4M plus few bytes to frame headers, so you should be able to + receive up to 4M long message without the need to care about this property.

                                                Same issue is present on client side. There you can set this property via ClientManager:

                                                ClientManager client = ClientManager.createClient();
                                                +client.getProperties().put("org.glassfish.tyrus.incomingBufferSize", 6000000); // sets the incoming buffer size to 6000000 bytes.
                                                +client.connectToServer( ... )

                                                8.5. Shared client container

                                                By default, WebSocket client implementation in Tyrus re-creates client runtime whenever WebSocketContainer#connectToServer + is invoked. This approach gives us some perks like out-of-the-box isolation and relatively low thread count + (currently we have 1 selector thread and 2 worker threads). Also it gives you the ability to stop the client + runtime – one Session instance is tied to exactly one client runtime, so we can stop it when Session is closed. + This seems as a good solution for most of WebSocket client use cases – you usually use java client from + application which uses it for communicating with server side and you typically don’t need more than 10 instances + (my personal estimate is that more than 90% applications won’t use more than 1 connection). There are several + reasons for it – of it is just a client, it needs to preserve server resources – one WebSocket connection means + one TCP connection and we don’t really want clients to consume more than needed. Previous statement may be + invalidated by WebSocket multiplexing extension, but for now, it is still valid.

                                                On the other hand, WebSocket client implementations in some other containers took another (also correct) + approach – they share client runtime for creating all client connections. That means they might not have this + strict one session one runtime policy, they cannot really give user way how he to control system resources, + but surely it has another advantage – it can handle much more opened connections. Thread pools are share among + client sessions which may or may not have some unforeseen consequences, but if its implemented correctly, it + should outperform Tyrus solution mentioned in previous paragraph in some use cases, like the one mentioned + in TYRUS-275 - performance tests. Reporter + created simple program which used WebSocket API to create clients and connect to remote endpoint and he measured + how many clients can he create (or in other words: how many parallel client connections can be created; I guess + that original test case is to measure possible number of concurrent clients on server side, but that does not + really matter for this post). Tyrus implementation loose compared to some other and it was exactly because it + did not have shared client runtime capability.

                                                How can you use this feature?

                                                ClientManager client = ClientManager.createClient();
                                                +
                                                +client.getProperties().put(ClientProperties.SHARED_CONTAINER, true);

                                                You might also want to specify container idle timeout:

                                                client.getProperties().put(ClientProperties.SHARED_CONTAINER_IDLE_TIMEOUT, 5);

                                                Last but not least, you might want to specify thread pool sizes used by shared container (please use this feature only when you do know what are you doing. Grizzly by default does not limit max number of used threads, + so if you do that, please make sure thread pool size fits your purpose). Even though the default unlimited thread pool size is sufficient for the vast majority of client usages, it is also important ot note that + if the max. thread pool size is not specified and the clients which share the thread pool receive a large number of messages at the same moment, a new thread can be created for each of the received messages + which might demand large amount of system resources and might even lead to a program failure if the required resources are not available. Therefore for particularly busy clients setting the max thread pool + size can be only recommended. The following example shows how to set the maximal thread poll size.

                                                client.getProperties().put(GrizzlyClientProperties.SELECTOR_THREAD_POOL_CONFIG, ThreadPoolConfig.defaultConfig().setMaxPoolSize(3));
                                                +client.getProperties().put(GrizzlyClientProperties.WORKER_THREAD_POOL_CONFIG, ThreadPoolConfig.defaultConfig().setMaxPoolSize(10));

                                                8.5.1. Custom masking key generator

                                                + As a security measure, all frames originating on a websocket client have to be masked with a random 4B value, which must be generated for each frame. + Moreover to fully comply with the security requirements of RFC 6455, a masking key of a frame must not be predictable from masking keys of previous frames + and therefore Tyrus uses java.security.SecureRandom as a default masking key generator. While this is perfectly OK for most Tyrus client use cases, + usage of java.security.SecureRandom might prove to be a performance issue, when the client is used for instance for highly parallel stress testing, + as it uses a synchronized singleton as a random entropy provider in its internals. +

                                                + To overcome the limitations mentioned above, Tyrus allows replacing the default java.security.SecureRandom with more scalable masking key generator. + Please, be aware that there might be security implications if you decide not to use a cryptographically secure random number generator + in production like the one in the following sample. Moreover the supplied random number generator should be also thread safe. + The following example shows, how a custom masking key generator can be configured: +

                                                ClientManager client = ClientManager.createClient();
                                                +client.getProperties().put(ClientProperties.MASKING_KEY_GENERATOR, new MaskingKeyGenerator() {
                                                +
                                                +    private final Random random = new Random();
                                                +
                                                +    @Override
                                                +    public int nextInt() {
                                                +        return random.nextInt();
                                                +    }
                                                +});

                                                +

                                                + It is also important to note that the scalability issue connected to the default masking key generator is not limited to the shared container client configuration, + but it is discussed in this section as it is assumed that shared container is used for highly parallel clients handling a lot of traffic, where the method + of masking key generation starts to matter. +

                                                8.6. WebSocket Extensions

                                                Please note that Extensions support is considered to be experimental and any API can be changed anytime. Also, + you should ask yourself at least twice whether you don't want to achieve your goal by other means - WebSocket + Extension is very powerful and can easily break your application when not used with care or enough expertise. +

                                                WebSocket frame used in ExtendedExtension:

                                                public class Frame {
                                                +
                                                +    public boolean isFin() { .. }
                                                +    public boolean isRsv1() { .. }
                                                +    public boolean isRsv2() { .. }
                                                +    public boolean isRsv3() { .. }
                                                +    public boolean isMask() { .. }
                                                +    public byte getOpcode() { .. }
                                                +    public long getPayloadLength() { .. }
                                                +    public int getMaskingKey() { .. }
                                                +    public byte[] getPayloadData() { .. }
                                                +    public boolean isControlFrame() { .. }
                                                +
                                                +    public static Builder builder() { .. }
                                                +    public static Builder builder(Frame frame) { .. }
                                                +
                                                +    public final static class Builder {
                                                +
                                                +    public Builder() { .. }
                                                +    public Builder(Frame frame) { .. }
                                                +    public Frame build() { .. }
                                                +    public Builder fin(boolean fin) { .. }
                                                +    public Builder rsv1(boolean rsv1) { .. }
                                                +    public Builder rsv2(boolean rsv2) { .. }
                                                +    public Builder rsv3(boolean rsv3) { .. }
                                                +    public Builder mask(boolean mask) { .. }
                                                +    public Builder opcode(byte opcode) { .. }
                                                +    public Builder payloadLength(long payloadLength) { .. }
                                                +    public Builder maskingKey(int maskingKey) { .. }
                                                +    public Builder payloadData(byte[] payloadData) { .. }
                                                +}

                                                Frame is immutable, so if you want to create new one, you need to create new builder, modify what you want + and build it:

                                                Frame newFrame = Frame.builder(originalFrame).rsv1(true).build();

                                                Note that there is only one convenience method: isControlFrame. Other information about frame type etc needs + to be evaluated directly from opcode, simply because there might not be enough information to get the correct + outcome or the information itself would not be very useful. For example: opcode 0×00 means continuation frame, + but you don’t have any chance to get the information about actual type (text or binary) without intercepting + data from previous frames. Consider Frame class as raw representation as possible. isControlFrame() can be also + gathered from opcode, but it is at least always deterministic and it will be used by most of extension + implementations. It is not usual to modify control frames as it might end with half closed connections or + unanswered ping messages.

                                                ExtendedExtension representation needs to be able to handle extension parameter negotiation and actual processing + of incoming and outgoing frames. It also should be compatible with existing javax.websocket.Extension class, since we + want to re-use existing registration API and be able to return new extension instance included in response + from List<Extension> Session.getNegotiatedExtensions() call. Consider following:

                                                public interface ExtendedExtension extends Extension {
                                                +
                                                +    Frame processIncoming(ExtensionContext context, Frame frame);
                                                +    Frame processOutgoing(ExtensionContext context, Frame frame);
                                                +
                                                +    List onExtensionNegotiation(ExtensionContext context, List requestedParameters);
                                                +    void onHandshakeResponse(ExtensionContext context, List responseParameters);
                                                +
                                                +    void destroy(ExtensionContext context);
                                                +
                                                +    interface ExtensionContext {
                                                +
                                                +        Map<String, Object> getProperties();
                                                +    }
                                                +}

                                                ExtendedExtension is capable of processing frames and influence parameter values during the handshake. + Extension is used on both client and server side and since the negotiation is only place where this fact + applies, we needed to somehow differentiate these sides. On server side, only onExtensionNegotiation(..) + method is invoked and on client side onHandshakeResponse(..). Server side method is a must, client side could + be somehow solved by implementing ClientEndpointConfig.Configurator#afterResponse(..) or calling + Session.getNegotiatedExtenions(), but it won’t be as easy to get this information back to extension instance + and even if it was, it won’t be very elegant. Also, you might suggest replacing processIncoming and + processOutgoing methods by just oneprocess(Frame) method. That is also possible, but then you might have to + assume current direction from frame instance or somehow from ExtensionContext, which is generally not a bad + idea, but it resulted it slightly less readable code.

                                                ExtensionContext and related lifecycle method is there because original javax.websocket.Extension is singleton + and ExtendedExtension must obey this fact. But it does not meet some requirements we stated previously, like per + connection parameter negotiation and of course processing itself will most likely have some connection state. + Lifecycle of ExtensionContext is defined as follows: ExtensionContext instance is created right before onExtensionNegotiation + (server side) or onHandshakeResponse (client side) and destroyed after destroy method invocation. Obviously, processIncoming + or processOutgoing cannot be called before ExtensionContext is created or after is destroyed. You can think of handshake + related methods as @OnOpenand destroy as @OnClose.

                                                For those more familiar with WebSocket protocol: process*(ExtensionContext, Frame) is always invoked with unmasked + frame, you don’t need to care about it. On the other side, payload is as it was received from the wire, before any + validation (UTF-8 check for text messages). This fact is particularly important when you are modifying text + message content, you need to make sure it is properly encoded in relation to other messages, because encoding/decoding + process is stateful – remainder after UTF-8 coding is used as input to coding process for next message. If you + want just test this feature and save yourself some headaches, don’t modify text message content or try binary + messages instead.

                                                8.6.1. ExtendedExtension sample

                                                Let’s say we want to create extension which will encrypt and decrypt first byte of every binary message. Assume we have a key (one byte) and our symmetrical cipher will be XOR. (Just for simplicity (a XOR key XOR key) = a, so encrypt() and decrypt() functions are the same).

                                                public class CryptoExtension implements ExtendedExtension {
                                                +
                                                +    @Override
                                                +    public Frame processIncoming(ExtensionContext context, Frame frame) {
                                                +         return lameCrypt(context, frame);
                                                +    }
                                                +
                                                +    @Override
                                                +    public Frame processOutgoing(ExtensionContext context, Frame frame) {
                                                +        return lameCrypt(context, frame);
                                                +    }
                                                +
                                                +    private Frame lameCrypt(ExtensionContext context, Frame frame) {
                                                +        if(!frame.isControlFrame() && (frame.getOpcode() == 0x02)) {
                                                +            final byte[] payloadData = frame.getPayloadData();
                                                +            payloadData[0] ^= (Byte)(context.getProperties().get("key"));
                                                +
                                                +            return Frame.builder(frame).payloadData(payloadData).build();
                                                +        } else {
                                                +            return frame;
                                                +        }
                                                +    }
                                                +
                                                +    @Override
                                                +    public List onExtensionNegotiation(ExtensionContext context,
                                                +                                       List requestedParameters) {
                                                +        init(context);
                                                +        // no params.
                                                +        return null;
                                                +    }
                                                +
                                                +    @Override
                                                +    public void onHandshakeResponse(ExtensionContext context,
                                                +    List responseParameters) {
                                                +        init(context);
                                                +    }
                                                +
                                                +    private void init(ExtensionContext context) {
                                                +        context.getProperties().put("key", (byte)0x55);
                                                +    }
                                                +
                                                +    @Override
                                                +    public void destroy(ExtensionContext context) {
                                                +        context.getProperties().clear();
                                                +    }
                                                +
                                                +    @Override
                                                +    public String getName() {
                                                +        return "lame-crypto-extension";
                                                +    }
                                                +
                                                +    @Override
                                                +    public List getParameters() {
                                                +        // no params.
                                                +        return null;
                                                +    }
                                                +}

                                                You can see that ExtendedExtension is slightly more complicated that original Extension so the implementation + has to be also not as straightforward.. on the other hand, it does something. Sample code above shows possible + simplification mentioned earlier (one process method will be enough), but please take this as just sample + implementation. Real world case is usually more complicated.

                                                Now when we have our CryptoExtension implemented, we want to use it. There is nothing new compared to standard + WebSocket Java API, feel free to skip this part if you are already familiar with it. Only programmatic version + will be demonstrated. It is possible to do it for annotated version as well, but it is little bit more complicated + on the server side and I want to keep the code as compact as possible.

                                                Client registration

                                                ArrayList extensions = new ArrayList();
                                                +extensions.add(new CryptoExtension());
                                                +
                                                +final ClientEndpointConfig clientConfiguration =
                                                +    ClientEndpointConfig.Builder.create()
                                                +    .extensions(extensions).build();
                                                +
                                                +WebSocketContainer client = ContainerProvider.getWebSocketContainer();
                                                +final Session session = client.connectToServer(new Endpoint() {
                                                +    @Override
                                                +    public void onOpen(Session session, EndpointConfig config) {
                                                +        // ...
                                                +    }
                                                +}, clientConfiguration, URI.create(/* ... */));

                                                Server registration:

                                                public class CryptoExtensionApplicationConfig implements ServerApplicationConfig {
                                                +
                                                +    @Override
                                                +    public Set getEndpointConfigs(Set<Class<? extends Endpoint>> endpointClasses) {
                                                +        Set endpointConfigs = new HashSet();
                                                +        endpointConfigs.add(
                                                +            ServerEndpointConfig.Builder.create(EchoEndpoint.class, "/echo")
                                                +            .extensions(Arrays.asList(new CryptoExtension())).build()
                                                +        );
                                                +        return endpointConfigs;
                                                +    }
                                                +
                                                +    @Override
                                                +    public Set<Class<?>> getAnnotatedEndpointClasses(Set<Class<?>> scanned) {
                                                +        // all scanned endpoints will be used.
                                                +        return scanned;
                                                +    }
                                                +}
                                                +
                                                +public class EchoEndpoint extends Endpoint {
                                                +    @Override
                                                +    public void onOpen(Session session, EndpointConfig config) {
                                                +        // ...
                                                +    }
                                                +}

                                                CryptoExtensionApplicationConfig will be found by servlets scanning mechanism and automatically used for + application configuration, no need to add anything (or even have) web.xml.

                                                8.6.2. Per Message Deflate Extension

                                                The original goal of whole extension support was to implement Permessage extension as defined in + draft-ietf-hybi-permessage-compression-15 and we were able to achieve that goal. Well, not completely, current + implementation ignores parameters. But it seems like it does not matter much, it was tested with Chrome and it + works fine. Also it passes newest version of Autobahn test suite, which includes tests for this extension.

                                                see PerMessageDeflateExtension.java (compatible with draft-ietf-hybi-permessage-compression-15, autobahn test suite) and + XWebKitDeflateExtension.java (compatible with Chrome and Firefox – same as previous, just different extension name) +

                                                8.7. Client reconnect

                                                If you need semi-persistent client connection, you can always implement some reconnect logic by yourself, + but Tyrus Client offers useful feature which should be much easier to use. See short sample code:

                                                ClientManager client = ClientManager.createClient();
                                                +ClientManager.ReconnectHandler reconnectHandler = new ClientManager.ReconnectHandler() {
                                                +
                                                +  private int counter = 0;
                                                +
                                                +  @Override
                                                +  public boolean onDisconnect(CloseReason closeReason) {
                                                +    counter++;
                                                +    if (counter <= 3) {
                                                +      System.out.println("### Reconnecting... (reconnect count: " + counter + ")");
                                                +      return true;
                                                +    } else {
                                                +      return false;
                                                +    }
                                                +  }
                                                +
                                                +  @Override
                                                +  public boolean onConnectFailure(Exception exception) {
                                                +    counter++;
                                                +    if (counter <= 3) {
                                                +      System.out.println("### Reconnecting... (reconnect count: " + counter + ") " + exception.getMessage());
                                                +
                                                +      // Thread.sleep(...) or something other "sleep-like" expression can be put here - you might want
                                                +      // to do it here to avoid potential DDoS when you don't limit number of reconnects.
                                                +      return true;
                                                +    } else {
                                                +      return false;
                                                +    }
                                                +  }
                                                +
                                                +  @Override
                                                +  public long getDelay() {
                                                +    return 1;
                                                +  }
                                                +};
                                                +
                                                +client.getProperties().put(ClientProperties.RECONNECT_HANDLER, reconnectHandler);
                                                +
                                                +client.connectToServer(...)

                                                ReconnectHandler contains three methods, onDisconnect, onConnectFailure and getDelay. First will be executed + whenever @OnClose annotated method (or Endpoint.onClose(..)) is executed on client side - this should happen when + established connection is lost for any reason. You can find the reason in methods parameter. Other one, called + onConnectFailure is invoked when client fails to connect to remote endpoint, for example due to temporary network + issue or current high server load. Method getDelay is called after any of previous methods returns true + and the returned value will be used to determine delay before next connection attempt. Default value is 5 seconds.

                                                8.8. Client behind proxy

                                                + Tyrus client supports traversing proxies, but it is Tyrus specific feature and its configuration is shown + in the following code sample: +

                                                +ClientManager client = ClientManager.createClient();
                                                +client.getProperties().put(ClientProperties.PROXY_URI, "http://my.proxy.com:80");
                                                +            

                                                + Value is expected to be proxy URI. Protocol part is currently ignored, but must be present. +

                                                8.9. JDK 7 client

                                                + As has been said in previous chapters both Tyrus client and server were implemented on top of Grizzly NIO framework. + This still remains true, but an alternative Tyrus Websocket client implementation based on Java 7 Asynchronous Channel + API has been available since version 1.6. There are two options how to switch between client implementations. + If you do not mind using Tyrus specific API, the most straightforward way is to use: +

                                                +final ClientManager client = ClientManager.createClient(JdkClientContainer.class.getName());
                                                +            

                                                + You just have to make sure that the dependency on JDK client is included in your project: +

                                                +<dependency>
                                                +  <groupId>org.glassfish.tyrus</groupId>
                                                +  <artifactId>tyrus-container-jdk-client</artifactId>
                                                +  <version>1.19</version>
                                                +</dependency>
                                                +            

                                                + Grizzly client is the default option, so creating a client without any parameters will result in Grizzly client being used. +

                                                + There is also an option how to use JDK client with the standard Websocket API. +

                                                +final WebSocketContainer client = ContainerProvider.getWebSocketContainer();
                                                +            

                                                + The code listed above will scan class path for Websocket client implementations. A slight problem with this + approach is that if there is more than one client on the classpath, the first one discovered will be used. + Therefore if you intend to use JDK client with the standard API, you have to make sure that there is not + a Grizzly client on the classpath as it might be used instead. +

                                                + The main reason why JDK client has been implemented is that it does not have any extra dependencies + except JDK 7 and of course some other Tyrus modules, which makes it considerable more lightweight compared + to Tyrus Grizzly client, which requires 1.4 MB of dependencies. +

                                                + It is also important to note that the JDK client has been implemented in a way similar to Grizzly client + shared container option, which means that there is one thread pool shared among all clients. +

                                                + Proxy configuration for JDK client is the same as for Grizzly client shown above. +

                                                8.9.1. SSL configuration

                                                + Alike in case of Grizzly client, accessing "wss" URLs will cause Tyrus client to pick up whatever keystore + and trust store is actually set for the current JVM instance. However, specifying SSL parameters + to be used with JDK client instance is little different from Grizzly client, because Grizzly client supports + both + SSLEngineConfigurator + end + SSLContextConfigurator + from Grizzly project and + SslEngineConfigurator + and + SslContextConfigurator + from Tyrus project, but JDK client supports only the Tyrus version of these classes. + The following code sample shows an example of some SSL parameters configuration for the JDK client: +

                                                +SslContextConfigurator sslContextConfigurator = new SslContextConfigurator();
                                                +sslContextConfigurator.setTrustStoreFile("...");
                                                +sslContextConfigurator.setTrustStorePassword("...");
                                                +sslContextConfigurator.setTrustStoreType("...");
                                                +sslContextConfigurator.setKeyStoreFile("...");
                                                +sslContextConfigurator.setKeyStorePassword("...");
                                                +sslContextConfigurator.setKeyStoreType("...");
                                                +SslEngineConfigurator sslEngineConfigurator = new SslEngineConfigurator(sslContextConfigurator, true, false, false);
                                                +
                                                +client.getProperties().put(ClientProperties.SSL_ENGINE_CONFIGURATOR, sslEngineConfigurator);
                                                +                

                                                +

                                                8.10. Tracing support

                                                + Apart from logging, Tyrus supports another useful means for debugging and diagnosing a deployed application which will + be referred to as tracing on the following lines. Tracing consists of including vital information about handshake + handling into a handshake response. The provided information includes among other things an insight into how Tyrus matches + handshake request URI against the URI of the deployed endpoints and how the best matching endpoint is selected. + The tracing information is included in a handshake response as a content of HTTP headers with + X-Tyrus-Tracing- as the header names prefix. + All the tracing information will also be available in the server log if the appropriate logging level is set. + If it is still unclear, how Tyrus tracing works, please refer to the subsection with title Tracing Examples. +

                                                8.10.1. Configuration

                                                + Tracing support is disabled by default. You can enable it either "globally" for all application handshake requests + or selectively per handshake request. The tracing support activation is controlled by setting the + org.glassfish.tyrus.server.tracingType configuration property. The property value is expected to be one of the following: + +

                                                • OFF - tracing support is disabled (default value).

                                                • ON_DEMAND - tracing support is in a stand-by mode; it is enabled selectively per handshake, via a special + X-Tyrus-Tracing-Accept HTTP header in a handshake request.

                                                • ALL - tracing support is enabled for all handshake requests.

                                                + + The level of detail of the information provided by Tyrus tracing facility - the tracing threshold - can be customized. + The tracing threshold can be set at the application level via org.glassfish.tyrus.server.tracingThreshold + application configuration property in both Glassfish and Grizzly as will be shown in the following samples, + or at a request level, via X-Tyrus-Tracing-Threshold HTTP header in a handshake request. The request-level configuration + overrides any application level setting. There are 2 supported levels of detail for Tyrus tracing: + +

                                                • SUMMARY - very basic summary information about handshake processing

                                                • TRACE - detailed information about handshake processing (default threshold value).

                                                +

                                                8.10.1.1. Global configuration examples

                                                + As has been already said, tracing is disabled by default. The following code sample shows, how ON_DEMAND tracing with + level set to SUMMARY can be enabled on Grizzly server: +

                                                +                            serverProperties.put(TyrusWebSocketEngine.TRACING_TYPE, ON_DEMAND);
                                                +                            serverProperties.put(TyrusWebSocketEngine.TRACING_THRESHOLD, SUMMARY);
                                                +                        

                                                + Similarly ALL tracing with level set to TRACE (the default) can be enabled on Glassfish server in web.xml: +

                                                <web-app version="2.5" xmlns="http://java.sun.com/xml/ns/javaee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
                                                +                xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd">
                                                +
                                                +    <context-param>
                                                +        <param-name>org.glassfish.tyrus.server.tracingType</param-name>
                                                +        <param-value>ALL</param-value>
                                                +    </context-param>
                                                +</web-app>

                                                + + It has been also already mentioned that the tracing threshold configured on application level can be overridden per handshake request as + will be shown in the following section. +

                                                8.10.1.2. Configuring tracing via handshake request headers

                                                + Whenever the tracing support is active (ON_DEMAND or ALL) you can customize the tracing behaviour by including one or more of the following request HTTP headers + in the individual handshake requests: + +

                                                • X-Tyrus-Tracing-Accept - used to enable the tracing support for the particular request. It is applied only when the application-level tracing support is configured to + ON_DEMAND mode. The value of the header is not used by the Tyrus tracing facility and as such it can be any arbitrary (even empty) string.

                                                • X-Tyrus-Tracing-Threshold - used to override the tracing threshold. Allowed values are: SUMMARY, TRACE.

                                                +

                                                8.10.2. Tracing Examples

                                                + An example of a handshake request to a server in ON_DEMAND tracing mode requesting SUMMARY tracing information: +

                                                  1 GET /endpoint/b HTTP/1.1
                                                +  2 Connection: Upgrade
                                                +  3 Host: localhost:8025
                                                +  4 Origin: localhost:8025
                                                +  5 Sec-WebSocket-Key: YrFldD8nhRW+6hJ2K/TMqw==
                                                +  6 Sec-WebSocket-Version: 13
                                                +  7 Upgrade: websocket
                                                +  8 X-Tyrus-Tracing-Accept: Whatever
                                                +  9 X-Tyrus-Tracing-Threshold: SUMMARY

                                                + An example of a possible response to the request above: +

                                                  1 HTTP/1.1 404 Not found
                                                +  2 x-tyrus-tracing-00 : [0 ms] Matching request URI /samples-debug/endpoint/b against /samples-debug/endpoint/{a}/b
                                                +  3 x-tyrus-tracing-01 : [0 ms] URIs /samples-debug/endpoint/b and /samples-debug/endpoint/{a}/b have different length
                                                +  4 x-tyrus-tracing-02 : [0 ms] Matching request URI /samples-debug/endpoint/b against /samples-debug/endpoint/{a}/{b}
                                                +  5 x-tyrus-tracing-03 : [0 ms] URIs /samples-debug/endpoint/b and /samples-debug/endpoint/{a}/{b} have different length
                                                +  6 x-tyrus-tracing-04 : [0 ms] Matching request URI /samples-debug/endpoint/b against /samples-debug/endpoint/a/b
                                                +  7 x-tyrus-tracing-05 : [1 ms] URIs /samples-debug/endpoint/b and /samples-debug/endpoint/a/b have different length
                                                +  8 x-tyrus-tracing-06 : [1 ms] Matching request URI /samples-debug/endpoint/b against /samples-debug/endpoint/a/a
                                                +  9 x-tyrus-tracing-07 : [1 ms] URIs /samples-debug/endpoint/b and /samples-debug/endpoint/a/a have different length
                                                + 10 x-tyrus-tracing-08 : [1 ms] Matching request URI /samples-debug/endpoint/b against /samples-debug/endpoint/a
                                                + 11 x-tyrus-tracing-09 : [1 ms] Segment "a" does not match
                                                + 12 x-tyrus-tracing-10 : [1 ms] Matching request URI /samples-debug/endpoint/b against /samples-debug/endpoint/a/{b}
                                                + 13 x-tyrus-tracing-11 : [1 ms] URIs /samples-debug/endpoint/b and /samples-debug/endpoint/a/{b} have different length
                                                + 14 x-tyrus-tracing-12 : [3 ms] Endpoints matched to the request URI: []

                                                + The time in the square brackets in the sample above is the time since the handshake request has been received. +

                                                + An example of a possible handshake response from a server in ALL tracing mode with tracing threshold set to TRACE: +

                                                  1 HTTP/1.1 101
                                                +  2 connection: Upgrade
                                                +  3 sec-websocket-accept: C8/QbF4Mx9sX31sihUcnI19yqto=
                                                +  4 upgrade: websocket
                                                +  5 x-tyrus-tracing-00 : [0 ms] Matching request URI /samples-debug/endpoint/a/b against /samples-debug/endpoint/{a}/b
                                                +  6 x-tyrus-tracing-01 : [0 ms] Matching request URI /samples-debug/endpoint/a/b against /samples-debug/endpoint/{a}/{b}
                                                +  7 x-tyrus-tracing-02 : [0 ms] Matching request URI /samples-debug/endpoint/a/b against /samples-debug/endpoint/a/b
                                                +  8 x-tyrus-tracing-03 : [1 ms] Matching request URI /samples-debug/endpoint/a/b against /samples-debug/endpoint/a/a
                                                +  9 x-tyrus-tracing-04 : [1 ms] Segment "a" does not match
                                                + 10 x-tyrus-tracing-05 : [1 ms] Matching request URI /samples-debug/endpoint/a/b against /samples-debug/endpoint/a
                                                + 11 x-tyrus-tracing-06 : [1 ms] URIs /samples-debug/endpoint/a/b and /samples-debug/endpoint/a have different length
                                                + 12 x-tyrus-tracing-07 : [1 ms] Matching request URI /samples-debug/endpoint/a/b against /samples-debug/endpoint/a/{b}
                                                + 13 x-tyrus-tracing-08 : [3 ms] Choosing better match from /samples-debug/endpoint/{a}/b and /samples-debug/endpoint/a/b
                                                + 14 x-tyrus-tracing-09 : [3 ms] /samples-debug/endpoint/a/b is an exact match
                                                + 15 x-tyrus-tracing-10 : [3 ms] Choosing better match from /samples-debug/endpoint/a/{b} and /samples-debug/endpoint/{a}/b
                                                + 16 x-tyrus-tracing-11 : [3 ms] /samples-debug/endpoint/a/{b} is a  better match, because it has longer exact path
                                                + 17 x-tyrus-tracing-12 : [3 ms] Choosing better match from /samples-debug/endpoint/a/{b} and /samples-debug/endpoint/{a}/b
                                                + 18 x-tyrus-tracing-13 : [3 ms] /samples-debug/endpoint/a/{b} is a  better match, because it has longer exact path
                                                + 19 x-tyrus-tracing-14 : [3 ms] Choosing better match from /samples-debug/endpoint/a/{b} and /samples-debug/endpoint/a/b
                                                + 20 x-tyrus-tracing-15 : [3 ms] /samples-debug/endpoint/a/b is an exact match
                                                + 21 x-tyrus-tracing-16 : [3 ms] Choosing better match from /samples-debug/endpoint/{a}/{b} and /samples-debug/endpoint/a/{b}
                                                + 22 x-tyrus-tracing-17 : [4 ms] /samples-debug/endpoint/a/{b} is a  better match, because it has longer exact path
                                                + 23 x-tyrus-tracing-18 : [4 ms] Choosing better match from /samples-debug/endpoint/{a}/{b} and /samples-debug/endpoint/{a}/b
                                                + 24 x-tyrus-tracing-19 : [4 ms] /samples-debug/endpoint/{a}/b is a  better match, because /samples-debug/endpoint/{a}/{b} has more variables
                                                + 25 x-tyrus-tracing-20 : [4 ms] Endpoints matched to the request URI: [/samples-debug/endpoint/a/b, /samples-debug/endpoint/a/{b}, /samples-debug/endpoint/{a}/b, /samples-debug/endpoint/{a}/{b}]
                                                + 26 x-tyrus-tracing-21 : [4 ms] Endpoint selected as a match to the handshake URI: /samples-debug/endpoint/a/b 

                                                +

                                                8.11. Client handshake request and response logging

                                                + Tyrus client offers a possibility, how to enable printing of handshake requests and responses to standard output without having to configure Java logging, + which is essential when debugging a misbehaving websocket application. This feature is particularly useful with tracing enabled. The following sample shows, + how the handshake logging can be enabled: +

                                                +                ClientManager client = ClientManager.createClient();
                                                +                client.getProperties().put(ClientProperties.LOG_HTTP_UPGRADE, true);
                                                +            

                                                +

                                                8.12. JMX Monitoring

                                                + Tyrus allows monitoring and accessing some runtime properties and metrics at the server side using JMX (Java management extension technology). + The monitoring API has been available since version 1.6 and the following properties are available at runtime + through MXBeans. Number of open sessions, maximal number of open session since the start of monitoring and + list of deployed endpoint class names and paths are available for each application. Endpoint class name and path + the endpoint is registered on, number of open session and maximal number of open sessions are available for each + endpoint. Apart from that message as well as error statistics are collected both per application and per individual endpoint. +

                                                + The following message statistics are monitored for both sent and received messages: +

                                                • messages count

                                                • messages count per second

                                                • average message size

                                                • smallest message size

                                                • largest message size

                                                + Moreover all of them are collected separately for text, binary and control messages and apart from the statistics being available + for the three separate categories, total numbers summing up statistics from the three types of messages are also available. +

                                                + As has been already mentioned above, Tyrus also monitors errors on both application and endpoint level. + An error is identified by the Throwable class name that has been thrown. Statistics are collected about number of times each + Throwable has been thrown, so a list of errors together with a number of times each error occurred is available on both application and endpoint level. + The monitored errors correspond to invocation of @OnError method on an annotated endpoint or its equivalent on a programmatic endpoint + (The invocation of @OnError method is just an analogy and an error will be monitored even if no @OnError method is provided on the endpoint). + Errors that occur in @OnOpen, @OnClose methods and methods handling incoming messages are monitored. Errors that occurred during handshake + will not be among the monitored errors. +

                                                + The collected metrics as well as the endpoint properties mentioned above are accessible at runtime through Tyrus MXBeans. + As has been already mention the information is available on both application and endpoint level with each application + or endpoint being represented with four MXBeans. One of those MXBeans contains total message statistics for both sent and received + messages as well as any properties specific for applications or endpoints such as endpoint path in the case of an endpoint. + The other three MXBeans contain information about sent and received text, binary and control messages. +

                                                + When a user connects to a tyrus application MBean server using an JMX client such as JConsole, they will see + the following structure: +

                                                • + Application 1 - MXBean containing a list of deployed endpoint class names and paths, number of open sessions, + maximal number of open sessions, error and total message statistics for the application. +

                                                  • + message statistics - a directory containing message statistics MXBeans +

                                                    • + text - MXBean containing text message statistics +

                                                    • + binary - MXBean containing binary message statistics +

                                                    • + control - MXBean containing control message statistics +

                                                  • + endpoints - a directory containing application endpoint MXBeans +

                                                    • + Endpoint 1 - MXBean containing Endpoint 1 class name and path, number of open sessions, + maximal number of open sessions, error and total message statistics for the endpoint. +

                                                      • + text - MXBean containing text message statistics +

                                                      • + binary - MXBean containing binary message statistics +

                                                      • + control - MXBean containing control message statistics +

                                                    • + Endpoint 2 +

                                                • + Application 2 +

                                                +

                                                + In fact the monitoring structure described above was a little bit simplistic, because there is an additional + monitoring level available, which causes message metrics being also available per session. + The monitoring structure is very similar to the one described above, with a small difference that there are + four MXBeans registered for each session, which contain text, binary, control and total message statistics. + In order to distinguish the two monitoring levels, they will be referred to as endpoint-level monitoring + and session-level monitoring. +

                                                8.12.1. Configuration

                                                + As has been already mentioned, monitoring is supported only on the server side and is disabled by default. + The following code sample shows, how endpoint-level monitoring can be enabled on Grizzly server: +

                                                +serverProperties.put(ApplicationEventListener.APPLICATION_EVENT_LISTENER, new SessionlessApplicationMonitor());
                                                +                

                                                + Similarly endpoint-level monitoring can be enabled on Grizzly server in the following way: +

                                                +serverProperties.put(ApplicationEventListener.APPLICATION_EVENT_LISTENER, new SessionAwareApplicationMonitor());
                                                +                

                                                + Monitoring can be configured on Glassfish in web.xml and the following code sample shows endpoint-level configuration: +

                                                <web-app version="2.5" xmlns="http://java.sun.com/xml/ns/javaee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
                                                +                    xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd">
                                                +
                                                +    <context-param>
                                                +        <param-name>org.glassfish.tyrus.core.monitoring.ApplicationEventListener</param-name>
                                                +        <param-value>org.glassfish.tyrus.ext.monitoring.jmx.SessionlessApplicationMonitor</param-value>
                                                +    </context-param>
                                                +</web-app>
                                                +                

                                                + Similarly session-level monitoring can be configured on Glassfish in web.xml in the following way: +

                                                <web-app version="2.5" xmlns="http://java.sun.com/xml/ns/javaee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
                                                +                    xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd">
                                                +
                                                +    <context-param>
                                                +        <param-name>org.glassfish.tyrus.core.monitoring.ApplicationEventListener</param-name>
                                                +        <param-value>org.glassfish.tyrus.ext.monitoring.jmx.SessionAwareApplicationMonitor</param-value>
                                                +    </context-param>
                                                +</web-app>
                                                +                

                                                +

                                                8.13. Maximal number of open sessions on server-side

                                                + Tyrus offers a few ways to limit the number of open sessions, which can be used to save limited resources + on a server hosting system. The limits can be configured in several scopes: +

                                                • per whole application
                                                • per endpoint
                                                • per remote address (client IP address)

                                                + If the number of simultaneously opened sessions exceeds any of these limits, Tyrus will close the session + with close code 1013 - Try Again Later. +

                                                + Limits mentioned above can be combined together. For example, let's say we have + an application with two endpoints. Overall limit per application will be 1000 open sessions and the first + one, non-critical endpoint, will be limited to 75 open sessions at maximum. So we know that the second + endpoint can handle 925-1000 opened sessions, depends on how many open sessions are connected to + the first endpoint (0-75). +

                                                8.13.1. Maximal number of open sessions per application

                                                + This configuration property can be used to limit overall number of open sessions per whole application. + The main purpose of this configurable limit is to restrict how many resources the application can + consume. +

                                                + The number of open sessions per whole application can be configured by setting property + org.glassfish.tyrus.maxSessionsPerApp. Property can be used as + <context-param> + in + web.xml + or as an entry in parameter map in (standalone) Server properties. +

                                                + Note that only positive integer is allowed. +

                                                This example will set maximal number of open sessions per whole application to 500:

                                                +
                                                +<web-app version="2.5" xmlns="http://java.sun.com/xml/ns/javaee"
                                                +        xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
                                                +         xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd">
                                                +    <context-param>
                                                +        <param-name>org.glassfish.tyrus.maxSessionsPerApp</param-name>
                                                +        <param-value>500</param-value>
                                                +    </context-param>
                                                +</web-app>
                                                +
                                                +            

                                                8.13.2. Maximal number of open sessions per remote address

                                                + The number of open sessions per remote address can be configured by setting property + org.glassfish.tyrus.maxSessionsPerRemoteAddr. Property can be used as + <context-param> + in + web.xml + or as an entry in parameter map in (standalone) Server properties. +

                                                + Remote address + value is obtained from + + ServletRequest#getRemoteAddr() + + or its alternative when using Grizzly server implementation. + Beware that this method returns always the last node which sending HTTP request, so all clients + behind one proxy will be treated as clients from single remote address. +

                                                + Note that only positive integer is allowed. +

                                                This example will set maximal number of open sessions from unique IP address or last proxy to 5: +

                                                +                
                                                +<web-app version="2.5" xmlns="http://java.sun.com/xml/ns/javaee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
                                                +         xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd">
                                                +    <context-param>
                                                +        <param-name>org.glassfish.tyrus.maxSessionsPerRemoteAddr</param-name>
                                                +        <param-value>5</param-value>
                                                +    </context-param>
                                                +</web-app>
                                                +
                                                +            

                                                8.13.3. Maximal number of open sessions per endpoint

                                                + Set maximum number of sessions in annotated endpoint: +

                                                +import javax.websocket.OnOpen;
                                                +import javax.websocket.Session;
                                                +import javax.websocket.server.ServerEndpoint;
                                                +
                                                +import org.glassfish.tyrus.core.MaxSessions;
                                                +
                                                +/**
                                                + * Annotated endpoint.
                                                + */
                                                +@MaxSessions(100)
                                                +@ServerEndpoint(value = "/limited-sessions-endpoint")
                                                +public static class LimitedSessionsEndpoint {
                                                +    @OnOpen
                                                +    public void onOpen(Session s) {
                                                +        ...
                                                +    }
                                                +    ...
                                                +}
                                                +                

                                                +

                                                + Set maximum number of sessions for programmatic endpoint: +

                                                +TyrusServerEndpointConfig.Builder.create(LimitedSessionsEndpoint.class,
                                                +  "/limited-sessions-endpoint").maxSessions(100).build();
                                                +                

                                                +

                                                + Note that only positive integer is allowed. +

                                                8.14. Client HTTP Authentication

                                                + For server endpoints which is protected by HTTP authentication, Tyrus provides a mechanism to authenticate + client. + When client receives HTTP response status code401 - Unauthorized, then Tyrus extracts required + scheme from + WWW-Authenticate + challenge. Then it chooses an + authenticator from a map of registered authenticators and uses configuredcredentials. + If no proper authenticator is found or credentials are missing, then + AuthenticationException + is thrown before the handshake can be done. + There are implementations of the two most used authentication schemes in Tyrus: BASIC and DIGEST, but it is + also possible to implement your own authenticator and register it with a configuration builder + org.glassfish.tyrus.client.auth.AuthConfig.Builder + or even to override default BASIC or DIGEST + auth implementations. + If no + org.glassfish.tyrus.client.auth.AuthConfig + client property is set, then default + configuration is used. It is constructed as you can see bellow: BASIC and DIGEST internal implementations + are + enabled by default. +

                                                + Please note that Basic Authentication scheme should be used over HTTPS connection only. +

                                                8.14.1. Credentials

                                                + Credentials are required for both implemented authentication schemes in Tyrus. You can pass an instance + into ClientManager as a property: +

                                                +                    
                                                +  client.getProperties().put(ClientProperties.CREDENTIALS, new Credentials("ws_user", "password".getBytes(AuthConfig.CHARACTER_SET));
                                                +                    
                                                +                

                                                +

                                                8.14.2. Auth Configuration

                                                + org.glassfish.tyrus.client.auth.AuthConfig + provides a way to configure of HTTP authentication schemes. + Creating an instance of + org.glassfish.tyrus.client.auth.AuthConfig + is optional. + If you don't specify AuthConfig, then default instance will be created like in following code listing +

                                                +

                                                +                    
                                                +  AuthConfig authConfig = AuthConfig.Builder.create().build();
                                                +  ClientManager client = ClientManager.createClient();
                                                +  client.getProperties().put(ClientProperties.AUTH_CONFIG, authConfig);
                                                +                    
                                                +                

                                                +

                                                + If authentication is required after an initial upgrade request, Tyrus chooses a proper authentication + scheme based on a received challenge from server. There are two HTTP authentication scheme implemented + and registered + by default. +

                                                8.14.3. User defined authenticator

                                                + Tyrus provides an option to implement your own client HTTP authenticator by extending + org.glassfish.tyrus.client.auth.Authenticator + and implementinggenerateAuthorizationHeader. + Request URI, + WWW-Authenticate + response header and provided + Credentials + are + passed as parameters. Method must return response to authentication challenge as it is required by HTTP + server. + An instance of the implemented class must be passed to the Tyrus configuration with + org.glassfish.tyrus.client.auth.AuthConfig.Builder#setAuthScheme(String scheme, Authenticator + userDefinedAuthenticator) + + and created + AuthConfig + instance must be put into client properties. +

                                                Authenticator.java

                                                +                
                                                +package org.glassfish.tyrus.client;
                                                +
                                                +import java.net.URI;
                                                +
                                                +/**
                                                + * Http Authentication provider.
                                                + * Class generates authorization token as a input for {@code Authorization} HTTP request header.
                                                + *
                                                + * @author Ondrej Kosatka (ondrej.kosatka at oracle.com)
                                                + */
                                                +public abstract class Authenticator {
                                                +
                                                +    /**
                                                +     * Generates authorization tokens as a input for {@code Authorization} HTTP request header.
                                                +     * @param uri URI is needed for generating authorization tokens for some authentication scheme (DIGEST: {@link DigestAuthenticator})
                                                +     * @param wwwAuthenticateHeader a value of header {@code WWW-Authenticate} from HTTP response.
                                                +     * @param credentials credentials.
                                                +     * @return generated {@link String} value of {@code Authorization}.
                                                +     * @throws AuthenticationException if is not possible to create auth token.
                                                +     */
                                                +    public abstract String generateAuthorizationHeader(final URI uri, final String wwwAuthenticateHeader, final Credentials credentials) throws AuthenticationException;
                                                +
                                                +}
                                                +                
                                                +            

                                                8.14.4. Examples

                                                + The simplest way to setup Tyrus authentication is by adding client property + ClientProperties.CREDENTIALS +

                                                +                    
                                                +  client.getProperties().put(ClientProperties.CREDENTIALS, new Credentials("ws_user", "password");
                                                +                    
                                                +                

                                                +

                                                + How to configure Tyrus with suppressing Basic authentication, even if server side challenges Basic + authentication scheme. +

                                                +                    
                                                +  AuthConfig authConfig = AuthConfig.Builder.create().
                                                +                               disableBasicAuth().
                                                +                               build();
                                                +  Credentials credentials = new Credentials("ws_user", "password");
                                                +  client.getProperties().put(ClientProperties.AUTH_CONFIG, authConfig);
                                                +  client.getProperties().put(ClientProperties.CREDENTIALS, credentials);
                                                +                    
                                                +                

                                                +

                                                + How to configure Tyrus using user defined DIGEST authentication and Tyrus Basic authentication. User + defined + authentication provider + MyOwnDigestAuthenticator + must extendorg.glassfish.tyrus.client.auth.Authenticator. +

                                                +                    
                                                +  AuthConfig authConfig = AuthConfig.Builder.create().
                                                +                               putAuthProvider("Digest", new MyOwnDigestAuthenticator()).
                                                +                               build();
                                                +  Credentials credentials = new Credentials("ws_user", "password");
                                                +  client.getProperties().put(ClientProperties.AUTH_CONFIG, authConfig);
                                                +  client.getProperties().put(ClientProperties.CREDENTIALS, credentials);
                                                +                
                                                +                

                                                +

                                                + How to configure Tyrus using user defined NTLM authentication and suppress Tyrus Basic authentication, + even if server side challenges Basic authentication scheme.. User defined + authentication provider + MyOwnNTLMAuthenticator + must extendorg.glassfish.tyrus.client.auth.Authenticator. +

                                                +                    
                                                +  AuthConfig authConfig = AuthConfig.Builder.create().
                                                +                               disableBasicAuth().
                                                +                               putAuthProvider("NTLM", new MyOwnNTLMAuthenticator()).
                                                +                               build();
                                                +  Credentials credentials = new Credentials("ws_user", "password");
                                                +  client.getProperties().put(ClientProperties.AUTH_CONFIG, authConfig);
                                                +  client.getProperties().put(ClientProperties.CREDENTIALS, credentials);
                                                +                
                                                +                

                                                +

                                                8.15. Client HTTP Redirect

                                                + Another Tyrus feature is HTTP redirect. If client received 3xx HTTP Redirect response code during a + handshake and HTTP Redirect is allowed (by ClientProperty.REDIRECT_ENABLED + property) then client engine transparently follows the URI contained in received HTTP response header + Location and sends upgrade request to the new URI. Redirects can be chained up to limit set in + ClientProperty.REDIRECT_THRESHOLD, whilst default value is 5. + If HTTP redirect failed by any reason, RedirectException is thrown. +

                                                8.15.1. Supported HTTP response codes

                                                + List of 3xx HTTP response codes which can be automatically redirect +

                                                • 300 - Multiple Choices

                                                • 301 - Moved permanently

                                                • 302 - Found

                                                • 303 - See Other (since HTTP/1.1)

                                                • 307 - Temporary Redirect (since HTTP/1.1)

                                                • 308 - Permanent Redirect (Experimental RFC; RFC 7238)

                                                +

                                                8.15.2. Configuration

                                                8.15.2.1. Enabling

                                                + For enabling HTTP Redirect feature, ClientProperty.REDIRECT_ENABLED must be explicitly set to + true (default value isfalse), otherwise RedirectException + will be thrown, when any of supported HTTP Redirect response codes (see above). +

                                                +                    client.getProperties().put(ClientProperties.REDIRECT_ENABLED, true);
                                                +                

                                                8.15.2.2. Threshold

                                                + ClientProperty.REDIRECT_THRESHOLD is property which can be used to limit maximal + number of chained redirect. Positive integer is expected and default value is 5. +

                                                +                    client.getProperties().put(ClientProperties.REDIRECT_THRESHOLD, 3);
                                                +                

                                                8.15.3. Exception handling

                                                + RedirectException + is set as a cause of DeploymentException when any of the supported Redirection HTTP response + status codes (see above) was received and WebSocketContainer.connectToServer(...) fails + because of any of the following reasons: +

                                                • + ClientProperties.REDIRECT_ENABLED property is not set to true. +

                                                • + Value of ClientProperties.REDIRECT_THRESHOLD is not assignable to Integer. +

                                                • + Number of chained redirection exceeds a value of ClientProperties.REDIRECT_THRESHOLD + (default value is 5). +

                                                • Infinite redirection loop is detected.

                                                • + Location response header is missing, is empty or does not contain a valid URI. +

                                                +

                                                8.16. Client support for HTTP status 503 - Service Unavailable with Retry-After header

                                                + Tyrus offers automatic handling of HTTP status code 503 - Service Unavailable, which can be + returned from server when temporarily overloaded or down for maintenance. When Retry-After + header is included in the response, client will parse the value and schedule another reconnect attempt. +

                                                This feature is disabled by default.

                                                + The implementation limits connection attempts to 5, each with reconnect delay not bigger than 300 + seconds. Other values or conditions can be handled by custom ReconnectHandler + (see RetryAfterException). +

                                                8.16.1. Configuration

                                                +

                                                +                    
                                                +            final ClientManager client = ClientManager.createClient();
                                                +            client.getProperties().put(ClientProperties.RETRY_AFTER_SERVICE_UNAVAILABLE, true);
                                                +

                                                +

                                                \ No newline at end of file diff --git a/documentation/1.19/index/websocket-api.html b/documentation/1.19/index/websocket-api.html new file mode 100644 index 00000000..0e28d9e2 --- /dev/null +++ b/documentation/1.19/index/websocket-api.html @@ -0,0 +1,394 @@ + + + Chapter 4. WebSocket API Endpoints, Sessions and MessageHandlers

                                                Chapter 4. WebSocket API Endpoints, Sessions and MessageHandlers

                                                This chapter presents an overview of the core WebSocket API concepts - endpoints, configurations and message + handlers.

                                                The JAVA API for WebSocket specification draft can be found online here. +

                                                4.1. Endpoint Classes

                                                + Server endpoint classes + are POJOs (Plain Old Java Objects) that are annotated with javax.websocket.server.ServerEndpoint. + Similarly, client endpoint classes are POJOs annotated with javax.websocket.ClientEndpoint. + This section shows how to use Tyrus to annotate Java objects to create WebSocket web services. +

                                                The following code example is a simple example of a WebSocket endpoint using annotations. The example + code shown here is from echo sample which ships with Tyrus. +

                                                +

                                                Example 4.1. Echo sample server endpoint.

                                                @ServerEndpoint("/echo")
                                                +public class EchoEndpoint {
                                                +
                                                +    @OnOpen
                                                +    public void onOpen(Session session) throws IOException {
                                                +        session.getBasicRemote().sendText("onOpen");
                                                +    }
                                                +
                                                +    @OnMessage
                                                +    public String echo(String message) {
                                                +        return message + " (from your server)";
                                                +    }
                                                +
                                                +    @OnError
                                                +    public void onError(Throwable t) {
                                                +        t.printStackTrace();
                                                +    }
                                                +
                                                +    @OnClose
                                                +    public void onClose(Session session) {
                                                +
                                                +    }
                                                +}


                                                + Let's explain the JAVA API for WebSocket annotations. +

                                                4.1.1. javax.websocket.server.ServerEndpoint

                                                javax.websocket.server.ServerEndpoint has got one mandatory field - value and four optional fields. + See the example below.

                                                +

                                                Example 4.2. javax.websocket.server.ServerEndpoint with all fields specified

                                                @ServerEndpoint(
                                                +    value = "/sample",
                                                +    decoders = ChatDecoder.class,
                                                +    encoders = DisconnectResponseEncoder.class,
                                                +    subprotocols = {"subprtotocol1", "subprotocol2"},
                                                +    configurator = Configurator.class
                                                +)
                                                +public class SampleEndpoint {
                                                +
                                                +    @OnMessage
                                                +    public SampleResponse receiveMessage(SampleType message, Session session) {
                                                +        return new SampleResponse(message);
                                                +    }
                                                +}


                                                +

                                                4.1.1.1. value

                                                + Denotes a relative URI path at which the server endpoint will be deployed. In the example + "javax.websocket.server.ServerEndpoint with all fields specified", the + Java class will be hosted at the URI path + /sample. The field value must begin with a '/' and may or may + not end in a '/', it makes no difference. Thus request URLs that end or do not end in a '/' will both + be matched. WebSocket API for JAVA supports level 1 URI templates. +

                                                + URI path templates + are URIs with variables embedded within the URI syntax. These variables are substituted at runtime in + order for a resource to respond to a request based on the substituted URI. Variables are denoted by + curly braces. For example, look at the following @ServerEndpoint annotation: + +

                                                @ServerEndpoint("/users/{username}")

                                                + + In this type of example, a user will be prompted to enter their name, and then a Tyrus web + service configured + to respond to requests to this URI path template will respond. For example, if the user entered their + username as "Galileo", the web service will respond to the following URL: + http://example.com/users/Galileo +

                                                To obtain the value of the username variable the javax.websocket.server.PathParam may be used on method parameter + of methods annotated with one of @OnOpen, @OnMessage, @OnError, @OnClose. +

                                                Example 4.3. Specifying URI path parameter

                                                @ServerEndpoint("/users/{username}")
                                                +public class UserEndpoint {
                                                +
                                                +    @OnMessage
                                                +    public String getUser(String message, @PathParam("username") String userName) {
                                                +        ...
                                                +    }
                                                +}


                                                +

                                                4.1.1.2. decoders

                                                + Contains list of classes that will be used to decode incoming messages for the endpoint. By decoding + we mean transforming from text / binary websocket message to some user defined type. Each decoder + needs to implement the Decoder interface. +

                                                + SampleDecoder in the following example decodes String message and produces + SampleType message - see decode method on line 4. +

                                                +

                                                Example 4.4. SampleDecoder

                                                public class SampleDecoder implements Decoder.Text<SampleType> {
                                                +
                                                +    @Override
                                                +    public SampleType decode(String s) {
                                                +        return new SampleType(s);
                                                +    }
                                                +
                                                +    @Override
                                                +    public boolean willDecode(String s) {
                                                +        return s.startsWith(SampleType.PREFIX);
                                                +    }
                                                +
                                                +    @Override
                                                +    public void init(EndpointConfig config) {
                                                +        // do nothing.
                                                +    }
                                                +
                                                +    @Override
                                                +    public void destroy() {
                                                +        // do nothing.
                                                +    }
                                                +}


                                                +

                                                4.1.1.3. encoders

                                                + Contains list of classes that will be used to encode outgoing messages. By encoding we mean + transforming message from user defined type to text or binary type. Each encoder needs + to implement the Encoder interface. +

                                                + SampleEncoder in the following example decodes String message and produces + SampleType message - see decode method on line 4. +

                                                +

                                                Example 4.5. SampleEncoder

                                                public class SampleEncoder implements Encoder.Text<SampleType> {
                                                +
                                                +    @Override
                                                +    public String encode(SampleType message) {
                                                +        return data.toString();
                                                +    }
                                                +
                                                +    @Override
                                                +    public void init(EndpointConfig config) {
                                                +        // do nothing.
                                                +    }
                                                +
                                                +    @Override
                                                +    public void destroy() {
                                                +        // do nothing.
                                                +    }
                                                +}


                                                +

                                                4.1.1.4. subprotocols

                                                + List of names (Strings) of supported sub-protocols. The first protocol in this list that matches + with sub-protocols provided by the client side is used. +

                                                4.1.1.5. configurator

                                                + Users may provide their own implementation of ServerEndpointConfiguration.Configurator. It allows + them to control some algorithms used by Tyrus in the connection initialization phase: + +

                                                • + public String getNegotiatedSubprotocol(List<String> supported, List<String> requested) + allows the user to provide their own algorithm for selection of used subprotocol. +

                                                • + public List<Extension> getNegotiatedExtensions(List<Extension> installed, List<Extension> requested) + allows the user to provide their own algorithm for selection of used Extensions. +

                                                • + public boolean checkOrigin(String originHeaderValue). + allows the user to specify the origin checking algorithm. +

                                                • + public void modifyHandshake(ServerEndpointConfig sec, HandshakeRequest request, HandshakeResponse response) . + allows the user to modify the handshake response that will be sent back to the client. +

                                                • + public <T> T getEndpointInstance(Class<T> endpointClass) throws InstantiationException . + allows the user to provide the way how the instance of an Endpoint is created +

                                                + +

                                                +

                                                public class ConfiguratorTest extends ServerEndpointConfig.Configurator{
                                                +
                                                +    public String getNegotiatedSubprotocol(List<String> supported, List<String> requested) {
                                                +        // Plug your own algorithm here
                                                +    }
                                                +
                                                +    public List<Extension> getNegotiatedExtensions(List<Extension> installed, List<Extension> requested) {
                                                +        // Plug your own algorithm here
                                                +    }
                                                +
                                                +    public boolean checkOrigin(String originHeaderValue) {
                                                +        // Plug your own algorithm here
                                                +    }
                                                +
                                                +    public void modifyHandshake(ServerEndpointConfig sec, HandshakeRequest request, HandshakeResponse response) {
                                                +        // Plug your own algorithm here
                                                +    }
                                                +
                                                +    public <T> T getEndpointInstance(Class<T> endpointClass) throws InstantiationException {
                                                +        // Plug your own algorithm here
                                                +    }
                                                +}

                                                +

                                                4.1.2. javax.websocket.ClientEndpoint

                                                The @ClientEndpoint class-level annotation is used to turn a POJO into WebSocket client endpoint. + In the following sample the client sends text message "Hello!" and prints out each received message. +

                                                Example 4.6. SampleClientEndpoint

                                                @ClientEndpoint(
                                                +    decoders = SampleDecoder.class,
                                                +    encoders = SampleEncoder.class,
                                                +    subprotocols = {"subprtotocol1", "subprotocol2"},
                                                +    configurator = ClientConfigurator.class)
                                                +public class SampleClientEndpoint {
                                                +
                                                +    @OnOpen
                                                +    public void onOpen(Session p) {
                                                +        try {
                                                +            p.getBasicRemote().sendText("Hello!");
                                                +        } catch (IOException e) {
                                                +            e.printStackTrace();
                                                +        }
                                                +    }
                                                +
                                                +    @OnMessage
                                                +    public void onMessage(String message) {
                                                +        System.out.println(String.format("%s %s", "Received message: ", message));
                                                +    }
                                                +}
                                                +


                                                +

                                                4.1.2.1. decoders

                                                + Contains list of classes that will be used decode incoming messages for the endpoint. By decoding + we mean transforming from text / binary websocket message to some user defined type. Each decoder + needs to implement the Decoder interface. +

                                                4.1.2.2. encoders

                                                + Contains list of classes that will be used to encode outgoing messages. By encoding we mean + transforming message from user defined type to text or binary type. Each encoder needs + to implement the Encoder interface. +

                                                4.1.2.3. subprotocols

                                                + List of names (Strings) of supported sub-protocols. +

                                                4.1.2.4. configurator

                                                + Users may provide their own implementation of ClientEndpointConfiguration.Configurator. It allows + them to control some algorithms used by Tyrus in the connection initialization phase. Method + beforeRequest allows the user to change the request headers constructed by + Tyrus. Method afterResponse allows the user to process the handshake response. +

                                                +

                                                public class Configurator {
                                                +
                                                +    public void beforeRequest(Map<String, List<String>> headers) {
                                                +        //affect the headers before request is sent
                                                +    }
                                                +
                                                +    public void afterResponse(HandshakeResponse hr) {
                                                +        //process the handshake response
                                                +    }
                                                +}

                                                +

                                                4.2. Endpoint method-level annotations

                                                4.2.1. @OnOpen

                                                This annotation may be used on certain methods of @ServerEndpoint or @ClientEndpoint, but only once + per endpoint. It is used to decorate a method which is called once new connection is established. + The connection is represented by the optional Session parameter. The other optional parameter + is EndpointConfig, which represents the passed configuration object. Note that the EndpointConfig + allows the user to access the user properties. +

                                                +

                                                Example 4.7. @OnOpen with Session and EndpointConfig parameters.

                                                @ServerEndpoint("/sample")
                                                +public class EchoEndpoint {
                                                +
                                                +    private Map<String, Object> properties;
                                                +
                                                +    @OnOpen
                                                +    public void onOpen(Session session, EndpointConfig config) throws IOException {
                                                +        session.getBasicRemote().sendText("onOpen");
                                                +        properties = config.getUserProperties();
                                                +    }
                                                +}


                                                +

                                                4.2.2. @OnClose

                                                This annotation may be used on any method of @ServerEndpoint or @ClientEndpoint, but only once + per endpoint. It is used to decorate a method which is called once the connection is being closed. + The method may have one Session parameter, one CloseReason parameter and parameters + annotated with @PathParam. +

                                                +

                                                Example 4.8. @OnClose with Session and CloseReason parameters.

                                                @ServerEndpoint("/sample")
                                                +public class EchoEndpoint {
                                                +
                                                +    @OnClose
                                                +    public void onClose(Session session, CloseReason reason) throws IOException {
                                                +       //prepare the endpoint for closing.
                                                +    }
                                                +}


                                                +

                                                4.2.3. @OnError

                                                This annotation may be used on any method of @ServerEndpoint or @ClientEndpoint, but only once + per endpoint. It is used to decorate a method which is called once Exception is being thrown by + any method annotated with @OnOpen, @OnMessage and @OnClose. + The method may have optional Session parameter and Throwable parameters. +

                                                +

                                                Example 4.9. @OnError with Session and Throwable parameters.

                                                @ServerEndpoint("/sample")
                                                +public class EchoEndpoint {
                                                +
                                                +    @OnError
                                                +    public void onError(Session session, Throwable t) {
                                                +        t.printStackTrace();
                                                +    }
                                                +}


                                                +

                                                4.2.4. @OnMessage

                                                This annotation may be used on certain methods of @ServerEndpoint or @ClientEndpoint, but + only once per endpoint. It is used to decorate a method which is called once new message is received. +

                                                +

                                                Example 4.10. @OnError with Session and Throwable parameters.

                                                @ServerEndpoint("/sample")
                                                +public class EchoEndpoint {
                                                +
                                                +    @OnMessage
                                                +    public void onMessage(Session session, String message) {
                                                +        System.out.println("Received message: " + message);
                                                +    }
                                                +}


                                                +

                                                4.3. MessageHandlers

                                                + Implementing the javax.websocket.MessageHandler interface is one of the ways how to receive messages + on endpoints (both server and client). It is aimed primarily on programmatic endpoints, as the annotated ones + use the method level annotation javax.websocket.OnMessage to denote the method which + receives messages. +

                                                + The MessageHandlers get registered on the Session instance: +

                                                Example 4.11. MessageHandler basic example

                                                public class MyEndpoint extends Endpoint {
                                                +
                                                +    @Override
                                                +    public void onOpen(Session session, EndpointConfig EndpointConfig) {
                                                +        session.addMessageHandler(new MessageHandler.Whole<String>() {
                                                +            @Override
                                                +            public void onMessage(String message) {
                                                +                System.out.println("Received message: "+message);
                                                +            }
                                                +        });
                                                +    }
                                                +}


                                                +

                                                + There are two orthogonal criterions which classify MessageHandlers. + According the WebSocket Protocol (RFC 6455) the message may be sent either complete, or in chunks. In Java API for WebSocket this fact is reflected + by the interface which the handler implements. Whole messages are processed by handler which implements + javax.websocket.MessageHandler.Whole interface. Partial + messages are processed by handlers that implement javax.websocket.MessageHandler.Partial + interface. However, if user registers just the whole message handler, it doesn't mean that the handler will + process solely whole messages. If partial message is received, the parts are cached by Tyrus until the final + part is received. Then the whole message is passed to the handler. Similarly, if the user registers just the + partial message handler and whole message is received, it is passed directly to the handler. +

                                                + The second criterion is the data type of the message. WebSocket Protocol (RFC 6455) defines four message data type - text message, + According to Java API for WebSocket the text messages will be processed by MessageHandlers with the following types: + +

                                                • + java.lang.String +

                                                • + java.io.Reader +

                                                • + any developer object for which there is a corresponding javax.websocket.Decoder.Text + or javax.websocket.Decoder.TextStream. +

                                                + + The binary messages will be processed by MessageHandlers with the following types: +

                                                • + java.nio.ByteBuffer +

                                                • + java.io.InputStream +

                                                • + any developer object for which there is a corresponding javax.websocket.Decoder.Binary + or javax.websocket.Decoder.BinaryStream. +

                                                +

                                                + The Java API for WebSocket limits the registration of MessageHandlers per Session to be one MessageHandler per native + websocket message type. In other words, the developer can only register at most one MessageHandler for + incoming text messages, one MessageHandler for incoming binary messages, and one MessageHandler for + incoming pong messages. This rule holds for both whole and partial message handlers, i.e there may be one + text MessageHandler - either whole, or partial, not both. +

                                                \ No newline at end of file diff --git a/documentation/1.19/user-guide.fo b/documentation/1.19/user-guide.fo new file mode 100644 index 00000000..136a1b18 --- /dev/null +++ b/documentation/1.19/user-guide.fo @@ -0,0 +1,1889 @@ +Tyrus 1.19 User GuideTyrus 1.19 User GuideTyrus 1.19 User GuideTyrus 1.19 User GuideTable of ContentsPreface 1. Getting Started 1.1. WebSocket Services Using Java API for WebSocket 1.1.1. Creating Annotated Server Endpoint 1.1.2. Client Endpoint 1.1.3. Creating Server Endpoint Programmatically 1.1.4. Tyrus in Standalone Mode 2. Tyrus Modules and Dependencies 3. Deploying WebSocket Endpoints 3.1. Deploying Endpoints as a WAR file 3.1.1. Deployment Algorithm 3.2. Deploying endpoints via javax.websocket.server.ServerContainer 4. WebSocket API Endpoints, Sessions and MessageHandlers 4.1. Endpoint Classes 4.1.1. javax.websocket.server.ServerEndpoint 4.1.2. javax.websocket.ClientEndpoint 4.2. Endpoint method-level annotations 4.2.1. @OnOpen 4.2.2. @OnClose 4.2.3. @OnError 4.2.4. @OnMessage 4.3. MessageHandlers 5. Configurations 5.1. javax.websocket.server.ServerEndpointConfig 5.2. javax.websocket.ClientEndpointConfig 6. Endpoint Lifecycle, Sessions, Sending Messages 6.1. Endpoint Lifecycle 6.2. javax.websocket.Session 6.3. Sending Messages 6.4. RemoteEndpoint 6.4.1. javax.websocket.RemoteEndpoint.Basic 6.4.2. javax.websocket.RemoteEndpoint.Async 7. Injection Support 7.1. javax.inject.Inject sample 7.2. EJB sample 8. Tyrus proprietary configuration 8.1. Client-side SSL configuration 8.1.1. Host verification 8.2. Asynchronous connectToServer methods 8.3. Optimized broadcast 8.4. Incoming buffer size 8.5. Shared client container 8.5.1. Custom masking key generator 8.6. WebSocket Extensions 8.6.1. ExtendedExtension sample 8.6.2. Per Message Deflate Extension 8.7. Client reconnect 8.8. Client behind proxy 8.9. JDK 7 client 8.9.1. SSL configuration 8.10. Tracing support 8.10.1. Configuration 8.10.2. Tracing Examples 8.11. Client handshake request and response logging 8.12. JMX Monitoring 8.12.1. Configuration 8.13. Maximal number of open sessions on server-side 8.13.1. Maximal number of open sessions per application 8.13.2. Maximal number of open sessions per remote address 8.13.3. Maximal number of open sessions per endpoint 8.14. Client HTTP Authentication 8.14.1. Credentials 8.14.2. Auth Configuration 8.14.3. User defined authenticator 8.14.4. Examples 8.15. Client HTTP Redirect 8.15.1. Supported HTTP response codes 8.15.2. Configuration 8.15.3. Exception handling 8.16. Client support for HTTP status 503 - Service Unavailable with Retry-After header 8.16.1. Configuration Tyrus 1.19 User GuideTyrus 1.19 User GuideList of Tables2.1. Tyrus core modules 2.2. Tyrus containers Tyrus 1.19 User GuideTyrus 1.19 User GuideList of Examples1.1. Annotated Echo Endpoint 1.2. Client Endpoint 1.3. Programmatic Echo Endpoint 3.1. Deployment of WAR containing several classes extending javax.websocket.server.ServerApplicationConfig 3.2. Deployment of Annotated Endpoint Using ServerContainer 4.1. Echo sample server endpoint. 4.2. javax.websocket.server.ServerEndpoint with all fields specified 4.3. Specifying URI path parameter 4.4. SampleDecoder 4.5. SampleEncoder 4.6. SampleClientEndpoint 4.7. @OnOpen with Session and EndpointConfig parameters. 4.8. @OnClose with Session and CloseReason parameters. 4.9. @OnError with Session and Throwable parameters. 4.10. @OnError with Session and Throwable parameters. 4.11. MessageHandler basic example 5.1. Configuration for EchoEndpoint Deployment 5.2. ServerEndpointConfigu built using Builder 5.3. ClientEndpointConfig built using Builder 6.1. Lifecycle echo sample 6.2. Sending message in @OnMessage 6.3. Sending message via RemoteEndpoint.Basic instance 6.4. Method for sending partial text message 6.5. Sending mesage the async way using Future 7.1. Injecting bean into javax.websocket.server.ServerEndpoint 7.2. Echo sample server endpoint. PrefacePrefacePreface + This is user guide for Tyrus 1.19. We are trying to keep it up to date + as we add new features. Please use also our API documentation linked + from the + Tyrus [https://projects.eclipse.org/projects/ee4j.tyrus] and + Java API for WebSocket [https://projects.eclipse.org/projects/ee4j.websocket] + home pages as an additional source of information about Tyrus features and API. + + If you would like to contribute to the guide or have questions + on things not covered in our docs, please contact us at + tyrus-dev@eclipse.org [https://dev.eclipse.org/mailman/listinfo/tyrus-dev]. + Getting StartedGetting StartedChapter 1. Getting Started + This chapter provides a quick introduction on how to get started building + WebSocket services using Java API for WebSocket and Tyrus. The example described here presents how to implement + simple websocket service as JavaEE web application that can be deployed on any servlet container + supporting Servlet 3.1 and higher. It also discusses starting Tyrus in standalone mode. + WebSocket Services Using Java API for WebSocket1.1. WebSocket Services Using Java API for WebSocket + First, to use the Java API for WebSocket in your project you need to depend on the following artifact: +<dependency> + <groupId>javax.websocket</groupId> + <artifactId>javax.websocket-api</artifactId> + <version>1.1</version> +</dependency> + + Creating Annotated Server Endpoint1.1.1. Creating Annotated Server Endpoint + In this section we will create a simple server side websocket endpoint which will echo the received + message back to the sender. We will deploy this endpoint on the container. + + In Java API for WebSocket and Tyrus, there are two basic approaches how to create an endpoint - either annotated endpoint, + or programmatic endpoint. + By annotated endpoint we mean endpoint constructed by using annotations (javax.websocket.server.ServerEndpoint + for server endpoint and javax.websocket.ClientEndpoint for client endpoint), like in + "Annotated Echo Endpoint". + Example 1.1. Annotated Echo Endpoint  1 @ServerEndpoint(value = "/echo") +  2 public class EchoEndpointAnnotated { +  3 @OnMessage +  4 public String onMessage(String message, Session session) { +  5 return message; +  6 } +  7 } +  8 + + The functionality of the EchoEndpointAnnotated is fairly simple - to send the received message + back to the sender. To turn a POJO (Plain Old Java Object) to WebSocket server endpoint, the annotation + @ServerEndpoint(value = "/echo") needs to be put on the POJO - see line 1. The URI path of the endpoint + is "/echo". The annotation @OnMessage - line 3 on the method public String + onMessage(String message, Session session) indicates that this method + will be called whenever text message is received. On line 5 in this method the message is sent back to + the user by returning it from the message. + + The application containing only the EchoEndpointAnnotated class can be deployed to the container. + Client Endpoint1.1.2. Client Endpoint + Let's create the client part of the application. The client part may be written in JavaScript or any + other technology supporting WebSockets. We will use Java API for WebSocket and Tyrus to demonstrate how to develop + programmatic client endpoint. + The following code is used as a client part to communicate with the EchoEndpoint deployed on server + using Tyrus and Java API for WebSocket. + + The example "Client Endpoint" utilizes the concept + of the programmatic endpoint. By programmatic endpoint we mean endpoint which is created by extending + class javax.websocket.Endpoint. + The example is standalone java application which needs to depend on some Tyrus artifacts to work + correctly, see "Tyrus Standalone Mode". + In the example first the CountDownLatch is initialized. It is needed as a bocking data + structure - on line 31 it either waits for 100 seconds, or until it gets counted down (line 22). + On line 9 the javax.websocket.ClientEndpointConfig is created - we will need it later + to connect the endpoint to the server. On line 11 the org.glassfish.tyrus.client.ClientManager + is created. it implements the javax.websocket.WebSocketContainer and is used to connect + to server. This happens on next line. The client endpoint functionality is contained in the + javax.websocket.Endpoint lazy instantiation. In the onOpen method new MessageHandler + is registered (the received message is just printed on the console and the latch is counted down). After + the registration the message is sent to the server (line 25). + Example 1.2. Client Endpoint  1 public class DocClient { +  2 private static CountDownLatch messageLatch; +  3 private static final String SENT_MESSAGE = "Hello World"; +  4 +  5 public static void main(String [] args){ +  6 try { +  7 messageLatch = new CountDownLatch(1); +  8 +  9 final ClientEndpointConfig cec = ClientEndpointConfig.Builder.create().build(); + 10 + 11 ClientManager client = ClientManager.createClient(); + 12 client.connectToServer(new Endpoint() { + 13 + 14 @Override + 15 public void onOpen(Session session, EndpointConfig config) { + 16 try { + 17 session.addMessageHandler(new MessageHandler.Whole<String>() { + 18 + 19 @Override + 20 public void onMessage(String message) { + 21 System.out.println("Received message: "+message); + 22 messageLatch.countDown(); + 23 } + 24 }); + 25 session.getBasicRemote().sendText(SENT_MESSAGE); + 26 } catch (IOException e) { + 27 e.printStackTrace(); + 28 } + 29 } + 30 }, cec, new URI("ws://localhost:8025/websockets/echo")); + 31 messageLatch.await(100, TimeUnit.SECONDS); + 32 } catch (Exception e) { + 33 e.printStackTrace(); + 34 } + 35 } + 36 } + Creating Server Endpoint Programmatically1.1.3. Creating Server Endpoint Programmatically + Similarly to "Client Endpoint" the server registered endpoint + may also be the programmatic one: + Example 1.3. Programmatic Echo Endpoint  1 public class EchoEndpointProgrammatic extends Endpoint { +  2 @Override +  3 public void onOpen(final Session session, EndpointConfig config) { +  4 session.addMessageHandler(new MessageHandler.Whole<String>() { +  5 @Override +  6 public void onMessage(String message) { +  7 try { +  8 session.getBasicRemote().sendText(message); +  9 } catch (IOException e) { + 10 e.printStackTrace(); + 11 } + 12 } + 13 }); + 14 } + 15 } + + The functionality of the EchoEndpointProgrammatic is fairly simple - to send the received message back to the sender. + The programmatic server endpoint needs to extend javax.websocket.Endpoint - line 1. + Mehod public void onOpen(final Session session, EndpointConfig config) gets called once new + connection to this endpoin0t is opened. In this method the MessageHandler is registered to the + javax.websocket.Session instance, which opened the connection. Method public void + onMessage(String message) gets called once the message is received. On line 8 the message + is sent back to the sender. + + To see how both annotated and programmatic endpoints may be deployed please check the section Deployment. + In short: you need to put the server endpoint classes into WAR, deploy on server and the endpoints will + be scanned by server and deployed. + Tyrus in Standalone Mode1.1.4. Tyrus in Standalone Mode + + + To use Tyrus in standalone mode it is necessary to depend on correct Tyrus artifacts. + The following artifacts need to be added to your pom to use Tyrus: +<dependency> + <groupId>org.glassfish.tyrus</groupId> + <artifactId>tyrus-server</artifactId> + <version>1.19</version> +</dependency> + +<dependency> + <groupId>org.glassfish.tyrus</groupId> + <artifactId>tyrus-container-grizzly-server</artifactId> + <version>1.19</version> +</dependency> + + Let's use the very same example like for Java API for WebSocket and deploy the EchoEndpointAnnotated on the + standalone Tyrus server on the hostname "localhost", port 8025 and path "/websockets", so the endpoint + will be available at address "ws://localhost:8025/websockets/echo". +public void runServer() { + Server server = new Server("localhost", 8025, "/websockets", null, EchoEndpoint.class); + + try { + server.start(); + BufferedReader reader = new BufferedReader(new InputStreamReader(System.in)); + System.out.print("Please press a key to stop the server."); + reader.readLine(); + } catch (Exception e) { + e.printStackTrace(); + } finally { + server.stop(); + } +} + Tyrus Modules and DependenciesTyrus Modules and DependenciesChapter 2. Tyrus Modules and Dependencies + Tyrus is built, assembled and installed using Maven. Tyrus is deployed to maven.org maven repository + at the following location:http://search.maven.org/. + Jars, jar sources, jar javadoc and samples are all available on the java.net maven repository. + + All Tyrus components are built using Java SE 7 compiler. It means, you will also need at least Java SE 7 + to be able to compile and run your application. Developers using maven are likely to find it easier to include + and + manage dependencies of their applications than developers using ant or other build technologies. The following + table provides an overview of all Tyrus modules and their dependencies with links to the respective binaries. + Table 2.1. Tyrus core modulesModuleDependenciesDescription + + tyrus-server + [http://search.maven.org/#artifactdetails|org.glassfish.tyrus|tyrus-server|1.19|jar] + tyrus-core, tyrus-spi, tyrus-websocket-coreBasic server functionality + + tyrus-core + [http://search.maven.org/#artifactdetails|org.glassfish.tyrus|tyrus-core|1.19|jar] + tyrus-spi, tyrus-websocket-coreCore Tyrus functionality + + tyrus-client + [http://search.maven.org/#artifactdetails|org.glassfish.tyrus|tyrus-client|1.19|jar] + tyrus-core, tyrus-spi, tyrus-websocket-coreBasic client functionality + + tyrus-documentation + [http://search.maven.org/#artifactdetails|org.glassfish.tyrus|tyrus-documentation|1.19|jar] + [nothing]Project documentation + + tyrus-websocket-core + [http://search.maven.org/#artifactdetails|org.glassfish.tyrus|tyrus-websocket-core|1.19|jar] + [nothing]The WebSocket protocol + + tyrus-samples + [http://search.maven.org/remotecontent?filepath=org/glassfish/tyrus/bundles/tyrus-samples/1.19/tyrus-samples-1.19-all.zip] + tyrus-server, tyrus-client, tyrus-container-grizzly, tyrus-core, tyrus-spi, + tyrus-websocket-core + Samples of using Java API for WebSocket and Tyrus + + tyrus-spi + [http://search.maven.org/#artifactdetails|org.glassfish.tyrus|tyrus-spi|1.19|jar] + [nothing]SPITable 2.2. Tyrus containersModuleDependenciesDescription + + tyrus-container-glassfish-cdi + [http://search.maven.org/#artifactdetails|org.glassfish.tyrus|tyrus-container-glassfish-cdi|1.19|jar] + tyrus-spiCDI support + + tyrus-container-glassfish-ejb + [http://search.maven.org/#artifactdetails|org.glassfish.tyrus|tyrus-container-glassfish-ejb|1.19|jar] + tyrus-spiEJB support + + tyrus-container-grizzly + [http://search.maven.org/#artifactdetails|org.glassfish.tyrus|tyrus-container-grizzly|1.19|jar] + tyrus-core, tyrus-spi, tyrus-websocket-coreGrizzly integration for Tyrus client and standalone server usage + + tyrus-container-servlet + [http://search.maven.org/#artifactdetails|org.glassfish.tyrus|tyrus-container-servlet|1.19|bundle] + tyrus-server, tyrus-core, tyrus-spi, tyrus-websocket-coreServlet support for integration into web containersDeploying WebSocket EndpointsDeploying WebSocket EndpointsChapter 3. Deploying WebSocket Endpoints + Deploying WebSocket endpoints can be done in two ways. Either deploying via putting the endpoint in the WAR + file, or using the ServerContainer methods to deploy the programmatic endpoint in the deployment phase. + Deploying Endpoints as a WAR file3.1. Deploying Endpoints as a WAR file + The classes that are scanned for in WAR are the following ones: + + Classes that implement the javax.websocket.ServerApplicationConfig. + + Classes annotated with javax.websocket.server.ServerEndpoint. + + Classes that extend javax.websocket.Endpoint. + + Deployment Algorithm3.1.1. Deployment Algorithm + 1. + If one or more classes implementing ServerApplicationConfiguration are present in the WAR file, Tyrus deploys endpoints + provided by all of these classes. Tyrus doesn't deploy any other classes present in the WAR (annotated by + javax.websocket.server.ServerEndpoint or extending javax.websocket.Endpoint). + 2. + If no class implementing ServerApplicationConfiguration is present, Tyrus deploys all classes annotated + with @ServerEndpoint or extending Endpoint present in the WAR. + + + Let's have the following classes in the WAR: + Example 3.1. Deployment of WAR containing several classes extending javax.websocket.server.ServerApplicationConfig  1 public class MyApplicationConfigOne implements ServerApplicationConfig { +  2 public Set<ServerEndpointConfig> getEndpointConfigs(Set<Class<? extends Endpoint>> endpointClasses); +  3 Set<Class<? extends Endpoint>> s = new HashSet<Class<? extends Endpoint>>; +  4 s.add(ProgrammaticEndpointOne.class); +  5 return s; +  6 } +  7 +  8 public Set<Class> getAnnotatedEndpointClasses(Set<Class<?>> scanned); +  9 Set<Class<?>> s = new HashSet<Class<?>>; + 10 s.add(AnnotatedEndpointOne.class); + 11 return s; + 12 } + 13 } + 14 + 15 public class MyApplicationConfigTwo implements ServerApplicationConfig { + 16 public Set<ServerEndpointConfig> getEndpointConfigs(Set<Class<? extends Endpoint>> endpointClasses); + 17 Set<Class<? extends Endpoint>> s = new HashSet<Class<? extends Endpoint>>; + 18 s.add(ProgrammaticEndpointTwo.class); + 19 return s; + 20 } + 21 + 22 public Set<Class> getAnnotatedEndpointClasses(Set<Class<?>> scanned); + 23 Set<Class<?>> s = new HashSet<Class<?>>; + 24 s.add(AnnotatedEndpointTwo.class); + 25 return s; + 26 } + 27 } + 28 + 29 @ServerEndpoint(value = "/annotatedone") + 30 public class AnnotatedEndpointOne { + 31 ... + 32 } + 33 + 34 @ServerEndpoint(value = "/annotatedtwo") + 35 public class AnnotatedEndpointTwo { + 36 ... + 37 } + 38 + 39 @ServerEndpoint(value = "/annotatedthree") + 40 public class AnnotatedEndpointThree { + 41 ... + 42 } + 43 + 44 public class ProgrammaticEndpointOne extends Endpoint { + 45 ... + 46 } + 47 + 48 public class ProgrammaticEndpointTwo extends Endpoint { + 49 ... + 50 } + 51 + 52 public class ProgrammaticEndpointThree extends Endpoint { + 53 ... + 54 } + According to the deployment algorithm classes AnnotatedEndpointOne, AnnotatedEndpointTwo, + ProgrammaticEndpointOne and ProgrammaticEndpointTwo will be deployed. + AnnotatedEndpointThree and ProgrammaticEndpointThree will not be + deployed, as these are not returned by the respective + methods of MyApplicationConfigOne nor MyApplicationConfigTwo. + Deploying endpoints via javax.websocket.server.ServerContainer3.2. Deploying endpoints via javax.websocket.server.ServerContainer + Endpoints may be deployed using javax.websocket.server.ServerContainer during the application initialization phase. + For websocket enabled web containers, developers may obtain a reference to the ServerContainer instance by + retrieving it as an attribute named javax.websocket.server.ServerContainer on the ServletContext, see + the following example for annotated endpoint: + Example 3.2. Deployment of Annotated Endpoint Using ServerContainer  1 @WebListener +  2 @ServerEndpoint("/annotated") +  3 public class MyServletContextListenerAnnotated implements ServletContextListener { +  4 +  5 @Override +  6 public void contextInitialized(ServletContextEvent servletContextEvent) { +  7 final ServerContainer serverContainer = (ServerContainer) servletContextEvent.getServletContext() +  8 .getAttribute("javax.websocket.server.ServerContainer"); +  9 + 10 try { + 11 serverContainer.addEndpoint(MyServletContextListenerAnnotated.class); + 12 } catch (DeploymentException e) { + 13 e.printStackTrace(); + 14 } + 15 } + 16 + 17 @OnMessage + 18 public String onMessage(String message) { + 19 return message; + 20 } + 21 + 22 @Override + 23 public void contextDestroyed(ServletContextEvent servletContextEvent) { + 24 } + 25 } + WebSocket API Endpoints, Sessions and MessageHandlersWebSocket API Endpoints, Sessions and MessageHandlersChapter 4. WebSocket API Endpoints, Sessions and MessageHandlersThis chapter presents an overview of the core WebSocket API concepts - endpoints, configurations and message + handlers.The JAVA API for WebSocket specification draft can be found online here [http://jcp.org/aboutJava/communityprocess/pfd/jsr356/index.html]. + Endpoint Classes4.1. Endpoint Classes + Server endpoint classes + are POJOs (Plain Old Java Objects) that are annotated with javax.websocket.server.ServerEndpoint. + Similarly, client endpoint classes are POJOs annotated with javax.websocket.ClientEndpoint. + This section shows how to use Tyrus to annotate Java objects to create WebSocket web services. + The following code example is a simple example of a WebSocket endpoint using annotations. The example + code shown here is from echo sample which ships with Tyrus. + + Example 4.1. Echo sample server endpoint.  1 @ServerEndpoint("/echo") +  2 public class EchoEndpoint { +  3 +  4 @OnOpen +  5 public void onOpen(Session session) throws IOException { +  6 session.getBasicRemote().sendText("onOpen"); +  7 } +  8 +  9 @OnMessage + 10 public String echo(String message) { + 11 return message + " (from your server)"; + 12 } + 13 + 14 @OnError + 15 public void onError(Throwable t) { + 16 t.printStackTrace(); + 17 } + 18 + 19 @OnClose + 20 public void onClose(Session session) { + 21 + 22 } + 23 } + Let's explain the JAVA API for WebSocket annotations. + javax.websocket.server.ServerEndpoint4.1.1. javax.websocket.server.ServerEndpointjavax.websocket.server.ServerEndpoint has got one mandatory field - value and four optional fields. + See the example below. + Example 4.2. javax.websocket.server.ServerEndpoint with all fields specified  1 @ServerEndpoint( +  2 value = "/sample", +  3 decoders = ChatDecoder.class, +  4 encoders = DisconnectResponseEncoder.class, +  5 subprotocols = {"subprtotocol1", "subprotocol2"}, +  6 configurator = Configurator.class +  7 ) +  8 public class SampleEndpoint { +  9 + 10 @OnMessage + 11 public SampleResponse receiveMessage(SampleType message, Session session) { + 12 return new SampleResponse(message); + 13 } + 14 } + 4.1.1.1. value + Denotes a relative URI path at which the server endpoint will be deployed. In the example + "javax.websocket.server.ServerEndpoint with all fields specified", the + Java class will be hosted at the URI path + /sample. The field value must begin with a '/' and may or may + not end in a '/', it makes no difference. Thus request URLs that end or do not end in a '/' will both + be matched. WebSocket API for JAVA supports level 1 URI templates. + + URI path templates + are URIs with variables embedded within the URI syntax. These variables are substituted at runtime in + order for a resource to respond to a request based on the substituted URI. Variables are denoted by + curly braces. For example, look at the following @ServerEndpoint annotation: + + @ServerEndpoint("/users/{username}") + + In this type of example, a user will be prompted to enter their name, and then a Tyrus web + service configured + to respond to requests to this URI path template will respond. For example, if the user entered their + username as "Galileo", the web service will respond to the following URL: + http://example.com/users/Galileo + To obtain the value of the username variable the javax.websocket.server.PathParam may be used on method parameter + of methods annotated with one of @OnOpen, @OnMessage, @OnError, @OnClose. + Example 4.3. Specifying URI path parameter  1 @ServerEndpoint("/users/{username}") +  2 public class UserEndpoint { +  3 +  4 @OnMessage +  5 public String getUser(String message, @PathParam("username") String userName) { +  6 ... +  7 } +  8 } + 4.1.1.2. decoders + Contains list of classes that will be used to decode incoming messages for the endpoint. By decoding + we mean transforming from text / binary websocket message to some user defined type. Each decoder + needs to implement the Decoder interface. + + SampleDecoder in the following example decodes String message and produces + SampleType message - see decode method on line 4. + + Example 4.4. SampleDecoder  1 public class SampleDecoder implements Decoder.Text<SampleType> { +  2 +  3 @Override +  4 public SampleType decode(String s) { +  5 return new SampleType(s); +  6 } +  7 +  8 @Override +  9 public boolean willDecode(String s) { + 10 return s.startsWith(SampleType.PREFIX); + 11 } + 12 + 13 @Override + 14 public void init(EndpointConfig config) { + 15 // do nothing. + 16 } + 17 + 18 @Override + 19 public void destroy() { + 20 // do nothing. + 21 } + 22 } + 4.1.1.3. encoders + Contains list of classes that will be used to encode outgoing messages. By encoding we mean + transforming message from user defined type to text or binary type. Each encoder needs + to implement the Encoder interface. + + SampleEncoder in the following example decodes String message and produces + SampleType message - see decode method on line 4. + + Example 4.5. SampleEncoder  1 public class SampleEncoder implements Encoder.Text<SampleType> { +  2 +  3 @Override +  4 public String encode(SampleType message) { +  5 return data.toString(); +  6 } +  7 +  8 @Override +  9 public void init(EndpointConfig config) { + 10 // do nothing. + 11 } + 12 + 13 @Override + 14 public void destroy() { + 15 // do nothing. + 16 } + 17 } + 4.1.1.4. subprotocols + List of names (Strings) of supported sub-protocols. The first protocol in this list that matches + with sub-protocols provided by the client side is used. + 4.1.1.5. configurator + Users may provide their own implementation of ServerEndpointConfiguration.Configurator. It allows + them to control some algorithms used by Tyrus in the connection initialization phase: + + + public String getNegotiatedSubprotocol(List<String> supported, List<String> requested) + allows the user to provide their own algorithm for selection of used subprotocol. + + public List<Extension> getNegotiatedExtensions(List<Extension> installed, List<Extension> requested) + allows the user to provide their own algorithm for selection of used Extensions. + + public boolean checkOrigin(String originHeaderValue). + allows the user to specify the origin checking algorithm. + + public void modifyHandshake(ServerEndpointConfig sec, HandshakeRequest request, HandshakeResponse response) . + allows the user to modify the handshake response that will be sent back to the client. + + public <T> T getEndpointInstance(Class<T> endpointClass) throws InstantiationException . + allows the user to provide the way how the instance of an Endpoint is created + + + +  1 public class ConfiguratorTest extends ServerEndpointConfig.Configurator{ +  2 +  3 public String getNegotiatedSubprotocol(List<String> supported, List<String> requested) { +  4 // Plug your own algorithm here +  5 } +  6 +  7 public List<Extension> getNegotiatedExtensions(List<Extension> installed, List<Extension> requested) { +  8 // Plug your own algorithm here +  9 } + 10 + 11 public boolean checkOrigin(String originHeaderValue) { + 12 // Plug your own algorithm here + 13 } + 14 + 15 public void modifyHandshake(ServerEndpointConfig sec, HandshakeRequest request, HandshakeResponse response) { + 16 // Plug your own algorithm here + 17 } + 18 + 19 public <T> T getEndpointInstance(Class<T> endpointClass) throws InstantiationException { + 20 // Plug your own algorithm here + 21 } + 22 } + javax.websocket.ClientEndpoint4.1.2. javax.websocket.ClientEndpointThe @ClientEndpoint class-level annotation is used to turn a POJO into WebSocket client endpoint. + In the following sample the client sends text message "Hello!" and prints out each received message. + Example 4.6. SampleClientEndpoint  1 @ClientEndpoint( +  2 decoders = SampleDecoder.class, +  3 encoders = SampleEncoder.class, +  4 subprotocols = {"subprtotocol1", "subprotocol2"}, +  5 configurator = ClientConfigurator.class) +  6 public class SampleClientEndpoint { +  7 +  8 @OnOpen +  9 public void onOpen(Session p) { + 10 try { + 11 p.getBasicRemote().sendText("Hello!"); + 12 } catch (IOException e) { + 13 e.printStackTrace(); + 14 } + 15 } + 16 + 17 @OnMessage + 18 public void onMessage(String message) { + 19 System.out.println(String.format("%s %s", "Received message: ", message)); + 20 } + 21 } + 22 + 4.1.2.1. decoders + Contains list of classes that will be used decode incoming messages for the endpoint. By decoding + we mean transforming from text / binary websocket message to some user defined type. Each decoder + needs to implement the Decoder interface. + 4.1.2.2. encoders + Contains list of classes that will be used to encode outgoing messages. By encoding we mean + transforming message from user defined type to text or binary type. Each encoder needs + to implement the Encoder interface. + 4.1.2.3. subprotocols + List of names (Strings) of supported sub-protocols. + 4.1.2.4. configurator + Users may provide their own implementation of ClientEndpointConfiguration.Configurator. It allows + them to control some algorithms used by Tyrus in the connection initialization phase. Method + beforeRequest allows the user to change the request headers constructed by + Tyrus. Method afterResponse allows the user to process the handshake response. + +  1 public class Configurator { +  2 +  3 public void beforeRequest(Map<String, List<String>> headers) { +  4 //affect the headers before request is sent +  5 } +  6 +  7 public void afterResponse(HandshakeResponse hr) { +  8 //process the handshake response +  9 } + 10 } + Endpoint method-level annotations4.2. Endpoint method-level annotations@OnOpen4.2.1. @OnOpenThis annotation may be used on certain methods of @ServerEndpoint or @ClientEndpoint, but only once + per endpoint. It is used to decorate a method which is called once new connection is established. + The connection is represented by the optional Session parameter. The other optional parameter + is EndpointConfig, which represents the passed configuration object. Note that the EndpointConfig + allows the user to access the user properties. + + Example 4.7. @OnOpen with Session and EndpointConfig parameters.  1 @ServerEndpoint("/sample") +  2 public class EchoEndpoint { +  3 +  4 private Map<String, Object> properties; +  5 +  6 @OnOpen +  7 public void onOpen(Session session, EndpointConfig config) throws IOException { +  8 session.getBasicRemote().sendText("onOpen"); +  9 properties = config.getUserProperties(); + 10 } + 11 } + @OnClose4.2.2. @OnCloseThis annotation may be used on any method of @ServerEndpoint or @ClientEndpoint, but only once + per endpoint. It is used to decorate a method which is called once the connection is being closed. + The method may have one Session parameter, one CloseReason parameter and parameters + annotated with @PathParam. + + Example 4.8. @OnClose with Session and CloseReason parameters.  1 @ServerEndpoint("/sample") +  2 public class EchoEndpoint { +  3 +  4 @OnClose +  5 public void onClose(Session session, CloseReason reason) throws IOException { +  6 //prepare the endpoint for closing. +  7 } +  8 } + @OnError4.2.3. @OnErrorThis annotation may be used on any method of @ServerEndpoint or @ClientEndpoint, but only once + per endpoint. It is used to decorate a method which is called once Exception is being thrown by + any method annotated with @OnOpen, @OnMessage and @OnClose. + The method may have optional Session parameter and Throwable parameters. + + Example 4.9. @OnError with Session and Throwable parameters.  1 @ServerEndpoint("/sample") +  2 public class EchoEndpoint { +  3 +  4 @OnError +  5 public void onError(Session session, Throwable t) { +  6 t.printStackTrace(); +  7 } +  8 } + @OnMessage4.2.4. @OnMessageThis annotation may be used on certain methods of @ServerEndpoint or @ClientEndpoint, but + only once per endpoint. It is used to decorate a method which is called once new message is received. + + Example 4.10. @OnError with Session and Throwable parameters.  1 @ServerEndpoint("/sample") +  2 public class EchoEndpoint { +  3 +  4 @OnMessage +  5 public void onMessage(Session session, String message) { +  6 System.out.println("Received message: " + message); +  7 } +  8 } + MessageHandlers4.3. MessageHandlers + Implementing the javax.websocket.MessageHandler interface is one of the ways how to receive messages + on endpoints (both server and client). It is aimed primarily on programmatic endpoints, as the annotated ones + use the method level annotation javax.websocket.OnMessage to denote the method which + receives messages. + + The MessageHandlers get registered on the Session instance: + Example 4.11. MessageHandler basic example  1 public class MyEndpoint extends Endpoint { +  2 +  3 @Override +  4 public void onOpen(Session session, EndpointConfig EndpointConfig) { +  5 session.addMessageHandler(new MessageHandler.Whole<String>() { +  6 @Override +  7 public void onMessage(String message) { +  8 System.out.println("Received message: "+message); +  9 } + 10 }); + 11 } + 12 } + + There are two orthogonal criterions which classify MessageHandlers. + According the WebSocket Protocol (RFC 6455) the message may be sent either complete, or in chunks. In Java API for WebSocket this fact is reflected + by the interface which the handler implements. Whole messages are processed by handler which implements + javax.websocket.MessageHandler.Whole interface. Partial + messages are processed by handlers that implement javax.websocket.MessageHandler.Partial + interface. However, if user registers just the whole message handler, it doesn't mean that the handler will + process solely whole messages. If partial message is received, the parts are cached by Tyrus until the final + part is received. Then the whole message is passed to the handler. Similarly, if the user registers just the + partial message handler and whole message is received, it is passed directly to the handler. + + The second criterion is the data type of the message. WebSocket Protocol (RFC 6455) defines four message data type - text message, + According to Java API for WebSocket the text messages will be processed by MessageHandlers with the following types: + + + java.lang.String + + java.io.Reader + + any developer object for which there is a corresponding javax.websocket.Decoder.Text + or javax.websocket.Decoder.TextStream. + + + The binary messages will be processed by MessageHandlers with the following types: + + java.nio.ByteBuffer + + java.io.InputStream + + any developer object for which there is a corresponding javax.websocket.Decoder.Binary + or javax.websocket.Decoder.BinaryStream. + + + The Java API for WebSocket limits the registration of MessageHandlers per Session to be one MessageHandler per native + websocket message type. In other words, the developer can only register at most one MessageHandler for + incoming text messages, one MessageHandler for incoming binary messages, and one MessageHandler for + incoming pong messages. This rule holds for both whole and partial message handlers, i.e there may be one + text MessageHandler - either whole, or partial, not both. + ConfigurationsConfigurationsChapter 5. Configurations + javax.websocket.server.ServerEndpointConfig and javax.websocket.ClientEndpointConfig objects + are used to provide the user the ability to configure websocket endpoints. Both server and client endpoints have some + part of configuration in common, namely encoders, decoders, and user properties. The user properties may developers + use to store the application specific data. For the developer's convenience the builders are provided for both + ServerEndpointConfig and ClientEndpointConfig. + javax.websocket.server.ServerEndpointConfig5.1. javax.websocket.server.ServerEndpointConfig + The javax.websocket.server.ServerEndpointConfig is used when deploying the endpoint either via + implementing the javax.websocket.server.ServerApplicationConfig, or via registering the programmatic endpoint + at the javax.websocket.server.ServerContainer instance. It allows the user to create the configuration + programmatically. + + The following example is used to deploy the EchoEndpoint programmatically. In the method + getEndpointClass() the user has to specify the class of the deployed endpoint. In + the example Tyrus will create an instance of EchoEndpoint and deploy it. + This is the way how to tie together endpoint and it's configuration. In the method + getPath() the user specifies that that the endpoint instance will be deployed at the + path "/echo". In the method public List<String> getSubprotocols() the user + specifies that the supported subprotocols are "echo1" and "echo2". The method getExtensions() + defines the extensions the endpoint supports. Similarly the example configuration does not use any configurator. + Method public List<Class<? extends Encoder>> getEncoders() defines the encoders + used by the endpoint. The decoders and user properties map are defined in similar fashion. + + If the endpoint class which is about to be deployed is an annotated endpoint, note that the endpoint configuration + will be taken from configuration object, not from the annotation on the endpoint class. + Example 5.1. Configuration for EchoEndpoint Deployment  1 public class EchoEndpointConfig implements ServerEndpointConfig{ +  2 +  3 private final Map<String, Object> userProperties = new HashMap<String, Object>(); +  4 +  5 @Override +  6 public Class<?> getEndpointClass() { +  7 return EchoEndpoint.class; +  8 } +  9 + 10 @Override + 11 public String getPath() { + 12 return "/echo"; + 13 } + 14 + 15 @Override + 16 public List<String> getSubprotocols() { + 17 return Arrays.asList("echo1","echo2"); + 18 } + 19 + 20 @Override + 21 public List<Extension> getExtensions() { + 22 return null; + 23 } + 24 + 25 @Override + 26 public Configurator getConfigurator() { + 27 return null; + 28 } + 29 + 30 @Override + 31 public List<Class<? extends Encoder>> getEncoders() { + 32 return Arrays.asList(SampleEncoder.class); + 33 } + 34 + 35 @Override + 36 public List<Class<? extends Decoder>> getDecoders() { + 37 return Arrays.asList(SampleDecoder.class); + 38 } + 39 + 40 @Override + 41 public Map<String, Object> getUserProperties() { + 42 return userProperties; + 43 } + 44 } + To make the development easy the javax.websocket.server.ServerEndpointConfig provides a builder to construct + the configuration object: + Example 5.2. ServerEndpointConfigu built using Builder  1 ServerEndpointConfig config = ServerEndpointConfig.Builder.create(EchoEndpoint.class,"/echo"). +  2 decoders(Arrays.<Class<? extends Decoder>>asList(JsonDecoder.class)). +  3 encoders(Arrays.<Class< extends Encoder>>asList(JsonEncoder.class)).build(); + javax.websocket.ClientEndpointConfig5.2. javax.websocket.ClientEndpointConfig + The javax.websocket.ClientEndpointConfig is used when deploying the programmatic client endpoint + via registering the programmatic endpoint at the WebSocketContainer instance. Some of + the configuration methods come from the EndpointConfigclass, which is extended by both + javax.websocket.server.ServerEndpointConfig and javax.websocket.ClientEndpointConfig. Then there are methods + for configuring the preferred subprotocols the client endpoint wants to use and supported extensions. It is + also possible to use the ClientEndpointConfig.Configurator in order to be able to affect the endpoint behaviour + before and after request. + + Similarly to the ServerEndpointConfig, there is a Builder provided to construct the configuration easily: + Example 5.3. ClientEndpointConfig built using Builder  1 ClientEndpointConfig.Builder.create(). +  2 decoders(Arrays.<Class<? extends Decoder>>asList(JsonDecoder.class)). +  3 encoders(Arrays.<Class<? extends Encoder>>asList(JsonEncoder.class)). +  4 preferredSubprotocols(Arrays.asList("echo1", "echo2")).build();Endpoint Lifecycle, Sessions, Sending MessagesEndpoint Lifecycle, Sessions, Sending MessagesChapter 6. Endpoint Lifecycle, Sessions, Sending MessagesEndpoint Lifecycle6.1. Endpoint Lifecycle + As mentioned before, the endpoint in Java API for WebSocket is represented either by instance of javax.websocket.Endpoint, + or by class annotated with either javax.websocket.server.ServerEndpoint or + javax.websocket.ClientEndpoint. Unless otherwise defined by developer provided configurator + (defined in instance of javax.websocket.server.ServerEndpointConfig or + javax.websocket.ClientEndpointConfig, Tyrus uses one endpoint instance per VM per connected + peer. Therefore one endpoint instance typically handles connections from one peer. + javax.websocket.Session6.2. javax.websocket.Session + The sequence of interactions between an endpoint instance and remote peer is in Java API for WebSocket modelled by + javax.websocket.Session instance. This interaction starts by mandatory open notification, + continues by 0 - n websocket messages and is finished by mandatory closing notification. + + The javax.websocket.Session instance is passed by Tyrus to the user in the following methods + for programmatic endpoints: + + public void onOpen(Session session, EndpointConfig config) + + public void onClose(Session session, CloseReason closeReason) + + public void onError(Session session, Throwable thr) + + + The javax.websocket.Session instance is passed by Tyrus to the user in the methods + annotated by following annotations for annotated endpoints: + + method annotated with javax.websocket.OnOpen + + method annotated with javax.websocket.OnMessage + + method annotated with javax.websocket.OnClose + + method annotated with javax.websocket.OnError + + In each of the methods annotated with the preceeding annotations the user may use parameter of type + javax.websocket.Session. In the following example the developer wants to send a message in + the method annotated with javax.websocket.OnOpen. As we will demonstrate later, the developer + needs the session instance to do so. According to Java API for WebSocket Session is one of the allowed parameters in + methods annotated with javax.websocket.OnOpen. Once the annotated method gets called, + Tyrus passes in the correct instance of javax.websocket.Session. + + Example 6.1. Lifecycle echo sample  1 @ServerEndpoint("/echo") +  2 public class EchoEndpoint { +  3 +  4 @OnOpen +  5 public void onOpen(Session session) throws IOException { +  6 session.getBasicRemote().sendText("onOpen"); +  7 } +  8 +  9 @OnMessage + 10 public String echo(String message) { + 11 return message; + 12 } + 13 + 14 @OnError + 15 public void onError(Throwable t) { + 16 t.printStackTrace(); + 17 } + 18 } + Sending Messages6.3. Sending Messages + Generally there are two ways how to send message to the peer endpoint. First one is usable for annotated + endpoints only. The user may send the message by returning the message content from the method annotated + with javax.websocket.OnMessage. In the following example the message m is sent back to the + remote endpoint. + + Example 6.2. Sending message in @OnMessage  1 @OnMessage +  2 public String echo(String m) { +  3 return m;    +  4 } + + The other option how to send a message is to obtain the javax.websocket.RemoteEndpoint instance + via the javax.websocket.Session instance. See the following example: + + Example 6.3. Sending message via RemoteEndpoint.Basic instance  1 @OnMessage +  2 public void echo(String message, Session session) { +  3 session.getBasicRemote().sendText(message); +  4 } + RemoteEndpoint6.4. RemoteEndpoint + The interface javax.websocket.RemoteEndpoint, part of Java API for WebSocket, is designed to represent the + other end of the communication (related to the endpoint), so the developer uses it to send the message. + There are two basic interfaces the user may use - javax.websocket.RemoteEndpoint$Basic and + javax.websocket.RemoteEndpoint$Async. + javax.websocket.RemoteEndpoint.Basic6.4.1. javax.websocket.RemoteEndpoint.Basic + This representation of the peer of a web socket conversation is used to send synchronous messages. The point + of completion of the send is defined when all the supplied data has been written to the underlying connection. + The methods for sending messages on the + javax.websocket.RemoteEndpoint$Basic block until this point of completion is reached, except for + javax.websocket.RemoteEndpoint$Basic#getSendStream() and + javax.websocket.RemoteEndpoint$Basic#getSendWriter() which present traditional blocking I/O streams + to write messages. See the example + "Sending message via RemoteEndpoint.Basic instance" + to see how the whole text message is send. The following example demonstrates a method which sends the + partial text method to the peer: + Example 6.4. Method for sending partial text message  1 public void sendPartialTextMessage(String message, Boolean isLast, Session session){ +  2 try { +  3 session.getBasicRemote().sendText(message, isLast); +  4 } catch (IOException e) { +  5 e.printStackTrace(); +  6 } +  7 } + javax.websocket.RemoteEndpoint.Async6.4.2. javax.websocket.RemoteEndpoint.Async + This representation of the peer of a web socket conversation has the ability to send messages + asynchronously. The point of completion of the send is defined when all the supplied data has been + written to the underlying connection. The completion handlers for the asynchronous methods are always + called with a different thread from that which initiated the send. + Example 6.5. Sending mesage the async way using Future  1 public void sendWholeAsyncMessage(String message, Session session){ +  2 Future<Void> future = session.getAsyncRemote().sendText(message); +  3 } + Injection SupportInjection SupportChapter 7. Injection Support + As required in Java API for WebSocket, Tyrus supports full field, method and constructor injection using javax.inject.Inject + into all websocket endpoint classes as well as the use of the interceptors on these classes. + Except this, Tyrus also supports some of the EJB annotations. Currently javax.ejb.Stateful, + javax.ejb.Singleton and javax.ejb.Stateless annotations are supported. + javax.inject.Inject sample7.1. javax.inject.Inject sample + The following example presents how to inject a bean to the javax.websocket.server.ServerEndpoint + annotated class using javax.inject.Inject. Class InjectedSimpleBean gets injected + into class SimpleEndpoint on line 15. + Example 7.1. Injecting bean into javax.websocket.server.ServerEndpoint  1 public class InjectedSimpleBean { +  2 +  3 private static final String TEXT = " (from your server)"; +  4 +  5 public String getText() { +  6 return TEXT; +  7 } +  8 } +  9 + 10 @ServerEndpoint(value = "/simple") + 11 public class SimpleEndpoint { + 12 + 13 private boolean postConstructCalled = false; + 14 + 15 @Inject + 16 InjectedSimpleBean bean; + 17 + 18 @OnMessage + 19 public String echo(String message) { + 20 return String.format("%s%s", message, bean.getText()); + 21 } + 22 } + EJB sample7.2. EJB sample + The following sample presents how to turn javax.websocket.server.ServerEndpoint annotated class + into javax.ejb.Singleton and use interceptor on it. + Example 7.2. Echo sample server endpoint.  1 @ServerEndpoint(value = "/singleton") +  2 @Singleton +  3 @Interceptors(LoggingInterceptor.class) +  4 public class SingletonEndpoint { +  5 +  6 int counter = 0; +  7 public static boolean interceptorCalled = false; +  8 +  9 @OnMessage + 10 public String echo(String message) { + 11 return interceptorCalled ? String.format("%s%s", message, counter++) : "LoggingInterceptor not called."; + 12 } + 13 } + 14 + 15 public class LoggingInterceptor { + 16 + 17 @AroundInvoke + 18 public Object manageTransaction(InvocationContext ctx) throws Exception { + 19 SingletonEndpoint.interceptorCalled = true; + 20 Logger.getLogger(getClass().getName()).info("LOGGING."); + 21 return ctx.proceed(); + 22 } + 23 } + 24 + Tyrus proprietary configurationTyrus proprietary configurationChapter 8. Tyrus proprietary configurationFollowing settings do have influence on Tyrus behaviour and are NOT part of WebSocket + specification. If you are using following configurable options, your application might not be easily transferable to + other WebSocket API implementation.Client-side SSL configuration8.1. Client-side SSL configurationWhen accessing "wss" URLs, Tyrus client will pick up whatever keystore and truststore is actually set for current JVM instance, but + that might not be always convenient. WebSocket API does not have this feature (yet, see WEBSOCKET_SPEC-210 [https://java.net/jira/browse/WEBSOCKET_SPEC-210]), + so Tyrus exposed two SSL configuration classes SSLEngineConfigurator [https://grizzly.java.net/docs/2.3/apidocs/org/glassfish/grizzly/ssl/SSLEngineConfigurator.html] + and SslEngineConfigurator [https://tyrus.java.net/apidocs/1.19/org/glassfish/tyrus/client/SslEngineConfigurator.html] + , which can be used for specifying all SSL parameters to be used with current client instance. The former configuration class + belongs to Grizzly configuration API and therefore works only with Grizzly client. The latter configuration class + works with both Grizzly and JDK client and offers some extensions over the Grizzly SSLEngineConfigurator + allowing more control of host verification during the SSL handshake. For more details + please refer to the following subsection dealing with host verification. + + Additionally, WebSocket API does not have anything like a client, only WebSocketContainer and it does not have any properties, so you need to use Tyrus specific class - + ClientManager [https://tyrus.java.net/apidocs/1.19/org/glassfish/tyrus/client/ClientManager.html].  1 final ClientManager client = ClientManager.createClient(); +  2 +  3 System.getProperties().put("javax.net.debug", "all"); +  4 System.getProperties().put(SSLContextConfigurator.KEY_STORE_FILE, "..."); +  5 System.getProperties().put(SSLContextConfigurator.TRUST_STORE_FILE, "..."); +  6 System.getProperties().put(SSLContextConfigurator.KEY_STORE_PASSWORD, "..."); +  7 System.getProperties().put(SSLContextConfigurator.TRUST_STORE_PASSWORD, "..."); +  8 final SSLContextConfigurator defaultConfig = new SSLContextConfigurator(); +  9 + 10 defaultConfig.retrieve(System.getProperties()); + 11 // or setup SSLContextConfigurator using its API. + 12 + 13 SSLEngineConfigurator sslEngineConfigurator = + 14 new SSLEngineConfigurator(defaultConfig, true, false, false); + 15 client.getProperties().put(ClientProperties.SSL_ENGINE_CONFIGURATOR, + 16 sslEngineConfigurator); + 17 client.connectToServer(... , ClientEndpointConfig.Builder.create().build(), + 18 new URI("wss://localhost:8181/sample-echo/echo")); + 19 } + If there seems to be a problem with Tyrus SSL connection, it is strongly recommended to use -Djavax.net.debug=all + system property as it provides invaluable information for troubleshooting. + Host verification8.1.1. Host verification + One of the key steps when establishing SSL connections is verifying that the host on the certificate + sent by the server matches the host Tyrus client tries to connect to and thus preventing a possibility of + a man-in-the-middle attack. Host verification is turned on by default in Tyrus, which means that Tyrus + will automatically check that the host provided in the URI in +   1 client.connectToServer(... , new URI("wss://target-server:8181/application/endpoint")); +  2 matches exactly the host the certificate has been issued for. Exact match is + the key word in the previous sentence as host can be either hostname or IP address and those two cannot be used + interchangeably. For instance when a certificate has been issued for "localhost", establishing an SSL connection + to "wss://127.0.0.1:8181/application/endpoint" will fail as the host does not match the one in the certificate. + + The default host verification can be too restrictive for some cases and therefore Tyrus provides users + with means to to either disable the host verification (highly unrecommended in production) or to implement + their own host verifier. Providing custom host verifier will disable the default one. It is also important + to note that Grizzly specific + SSLEngineConfigurator [https://grizzly.java.net/docs/2.3/apidocs/org/glassfish/grizzly/ssl/SSLEngineConfigurator.html] + does not provide these options and for modifying the default host name verification policy + SslEngineConfigurator [https://tyrus.java.net/apidocs/1.19/org/glassfish/tyrus/client/SslEngineConfigurator.html] + must be used instead. The following sample shows how to disable host name verification: +   1 SslEngineConfigurator sslEngineConfigurator = new SslEngineConfigurator(new SslContextConfigurator()); +  2 sslEngineConfigurator.setHostVerificationEnabled(false) +  3 client.getProperties().put(ClientProperties.SSL_ENGINE_CONFIGURATOR, sslEngineConfigurator); +  4 + The following sample shows how to register a custom host verifier: +   1 SslEngineConfigurator sslEngineConfigurator = new SslEngineConfigurator(new SslContextConfigurator()); +  2 sslEngineConfigurator.setHostnameVerifier(new HostnameVerifier() { +  3 @Override +  4 public boolean verify(String host, SSLSession sslSession) { +  5 Certificate certificate = sslSession.getPeerCertificates()[0]; +  6 // validate the host in the certificate +  7 } +  8 }); +  9 client.getProperties().put(ClientProperties.SSL_ENGINE_CONFIGURATOR, sslEngineConfigurator); + 10 + Asynchronous connectToServer methods8.2. Asynchronous connectToServer methodsWebSocketContainer.connectToServer(...) methods are by definition blocking - declared exceptions needs to + be thrown after connection attempt is made and it returns Session instance, which needs to be ready for sending + messages and invoking other methods, which require already established connection.Existing connectToServer methods are fine for lots of uses, but it might cause issue when you are designing + application with highly responsible user interface. Tyrus introduces asynchronous variants to each connectToServer + method (prefixed with "async"), which returns Future<Session>. These methods do only simple check for provided + URL and the rest is executed in separate thread. All exceptions thrown during this phase are reported as cause + of ExecutionException thrown when calling Future<Session>.get().Asynchronous connect methods are declared on Tyrus implementation of WebSocketContainer called ClientManager.  1 ClientManager client = ClientManager.createClient(); +  2 final Future<Session> future = client.asyncConnectToServer(ClientEndpoint.class, URI.create("...")); +  3 try { +  4 future.get(); +  5 } catch (...) { +  6 }ClientManager contains async alternative to each connectToServer method.Optimized broadcast8.3. Optimized broadcastOne of the typical usecases we've seen so far for WebSocket server-side endpoints is broadcasting messages + to all connected clients, something like:  1 @OnMessage +  2 public void onMessage(Session session, String message) throws IOException { +  3 for (Session s : session.getOpenSessions()) { +  4 s.getBasicRemote().sendText(message); +  5 } +  6 }Executing this code might cause serious load increase on your application server. Tyrus provides optimized + broadcast implementation, which takes advantage of the fact, that we are sending exactly same message to all clients, + so dataframe can be created and serialized only once. Furthermore, Tyrus can iterate over set of opened connections + faster than Session.getOpenSession().  1 @OnMessage +  2 public void onMessage(Session session, String message) { +  3 ((TyrusSession) session).broadcast(message); +  4 }Unfortunately, WebSocket API forbids anything else than Session in @OnMessage annotated method parameter, + so you cannot use TyrusSession there directly and you might need to perform instanceof check.Incoming buffer size8.4. Incoming buffer sizeSevlet container buffers incoming WebSocket frames and there must be a size limit to precede OutOfMemory + Exception and potentially DDoS attacks.Configuration property is named "org.glassfish.tyrus.servlet.incoming-buffer-size" and you can + set it in web.xml (this particular snipped sets the buffer size to 17000000 bytes (~16M payload):  1 <web-app version="2.5" xmlns="http://java.sun.com/xml/ns/javaee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" +  2 xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd"> +  3 +  4 <context-param> +  5 <param-name>org.glassfish.tyrus.servlet.incoming-buffer-size</param-name> +  6 <param-value>17000000</param-value> +  7 </context-param> +  8 </web-app>Default value is 4194315, which correspond to 4M plus few bytes to frame headers, so you should be able to + receive up to 4M long message without the need to care about this property.Same issue is present on client side. There you can set this property via ClientManager:  1 ClientManager client = ClientManager.createClient(); +  2 client.getProperties().put("org.glassfish.tyrus.incomingBufferSize", 6000000); // sets the incoming buffer size to 6000000 bytes. +  3 client.connectToServer( ... )Shared client container8.5. Shared client containerBy default, WebSocket client implementation in Tyrus re-creates client runtime whenever WebSocketContainer#connectToServer + is invoked. This approach gives us some perks like out-of-the-box isolation and relatively low thread count + (currently we have 1 selector thread and 2 worker threads). Also it gives you the ability to stop the client + runtime – one Session instance is tied to exactly one client runtime, so we can stop it when Session is closed. + This seems as a good solution for most of WebSocket client use cases – you usually use java client from + application which uses it for communicating with server side and you typically don’t need more than 10 instances + (my personal estimate is that more than 90% applications won’t use more than 1 connection). There are several + reasons for it – of it is just a client, it needs to preserve server resources – one WebSocket connection means + one TCP connection and we don’t really want clients to consume more than needed. Previous statement may be + invalidated by WebSocket multiplexing extension, but for now, it is still valid.On the other hand, WebSocket client implementations in some other containers took another (also correct) + approach – they share client runtime for creating all client connections. That means they might not have this + strict one session one runtime policy, they cannot really give user way how he to control system resources, + but surely it has another advantage – it can handle much more opened connections. Thread pools are share among + client sessions which may or may not have some unforeseen consequences, but if its implemented correctly, it + should outperform Tyrus solution mentioned in previous paragraph in some use cases, like the one mentioned + in TYRUS-275 [https://java.net/jira/browse/TYRUS-275] - performance tests. Reporter + created simple program which used WebSocket API to create clients and connect to remote endpoint and he measured + how many clients can he create (or in other words: how many parallel client connections can be created; I guess + that original test case is to measure possible number of concurrent clients on server side, but that does not + really matter for this post). Tyrus implementation loose compared to some other and it was exactly because it + did not have shared client runtime capability.How can you use this feature?  1 ClientManager client = ClientManager.createClient(); +  2 +  3 client.getProperties().put(ClientProperties.SHARED_CONTAINER, true);You might also want to specify container idle timeout:  1 client.getProperties().put(ClientProperties.SHARED_CONTAINER_IDLE_TIMEOUT, 5);Last but not least, you might want to specify thread pool sizes used by shared container (please use this feature only when you do know what are you doing. Grizzly by default does not limit max number of used threads, + so if you do that, please make sure thread pool size fits your purpose). Even though the default unlimited thread pool size is sufficient for the vast majority of client usages, it is also important ot note that + if the max. thread pool size is not specified and the clients which share the thread pool receive a large number of messages at the same moment, a new thread can be created for each of the received messages + which might demand large amount of system resources and might even lead to a program failure if the required resources are not available. Therefore for particularly busy clients setting the max thread pool + size can be only recommended. The following example shows how to set the maximal thread poll size.  1 client.getProperties().put(GrizzlyClientProperties.SELECTOR_THREAD_POOL_CONFIG, ThreadPoolConfig.defaultConfig().setMaxPoolSize(3)); +  2 client.getProperties().put(GrizzlyClientProperties.WORKER_THREAD_POOL_CONFIG, ThreadPoolConfig.defaultConfig().setMaxPoolSize(10));Custom masking key generator8.5.1. Custom masking key generator + As a security measure, all frames originating on a websocket client have to be masked with a random 4B value, which must be generated for each frame. + Moreover to fully comply with the security requirements of RFC 6455, a masking key of a frame must not be predictable from masking keys of previous frames + and therefore Tyrus uses java.security.SecureRandom as a default masking key generator. While this is perfectly OK for most Tyrus client use cases, + usage of java.security.SecureRandom might prove to be a performance issue, when the client is used for instance for highly parallel stress testing, + as it uses a synchronized singleton as a random entropy provider in its internals. + + To overcome the limitations mentioned above, Tyrus allows replacing the default java.security.SecureRandom with more scalable masking key generator. + Please, be aware that there might be security implications if you decide not to use a cryptographically secure random number generator + in production like the one in the following sample. Moreover the supplied random number generator should be also thread safe. + The following example shows, how a custom masking key generator can be configured: +   1 ClientManager client = ClientManager.createClient(); +  2 client.getProperties().put(ClientProperties.MASKING_KEY_GENERATOR, new MaskingKeyGenerator() { +  3 +  4 private final Random random = new Random(); +  5 +  6 @Override +  7 public int nextInt() { +  8 return random.nextInt(); +  9 } + 10 }); + + It is also important to note that the scalability issue connected to the default masking key generator is not limited to the shared container client configuration, + but it is discussed in this section as it is assumed that shared container is used for highly parallel clients handling a lot of traffic, where the method + of masking key generation starts to matter. + WebSocket Extensions8.6. WebSocket ExtensionsPlease note that Extensions support is considered to be experimental and any API can be changed anytime. Also, + you should ask yourself at least twice whether you don't want to achieve your goal by other means - WebSocket + Extension is very powerful and can easily break your application when not used with care or enough expertise. + WebSocket frame used in ExtendedExtension:  1 public class Frame { +  2 +  3 public boolean isFin() { .. } +  4 public boolean isRsv1() { .. } +  5 public boolean isRsv2() { .. } +  6 public boolean isRsv3() { .. } +  7 public boolean isMask() { .. } +  8 public byte getOpcode() { .. } +  9 public long getPayloadLength() { .. } + 10 public int getMaskingKey() { .. } + 11 public byte[] getPayloadData() { .. } + 12 public boolean isControlFrame() { .. } + 13 + 14 public static Builder builder() { .. } + 15 public static Builder builder(Frame frame) { .. } + 16 + 17 public final static class Builder { + 18 + 19 public Builder() { .. } + 20 public Builder(Frame frame) { .. } + 21 public Frame build() { .. } + 22 public Builder fin(boolean fin) { .. } + 23 public Builder rsv1(boolean rsv1) { .. } + 24 public Builder rsv2(boolean rsv2) { .. } + 25 public Builder rsv3(boolean rsv3) { .. } + 26 public Builder mask(boolean mask) { .. } + 27 public Builder opcode(byte opcode) { .. } + 28 public Builder payloadLength(long payloadLength) { .. } + 29 public Builder maskingKey(int maskingKey) { .. } + 30 public Builder payloadData(byte[] payloadData) { .. } + 31 }Frame is immutable, so if you want to create new one, you need to create new builder, modify what you want + and build it:  1 Frame newFrame = Frame.builder(originalFrame).rsv1(true).build();Note that there is only one convenience method: isControlFrame. Other information about frame type etc needs + to be evaluated directly from opcode, simply because there might not be enough information to get the correct + outcome or the information itself would not be very useful. For example: opcode 0×00 means continuation frame, + but you don’t have any chance to get the information about actual type (text or binary) without intercepting + data from previous frames. Consider Frame class as raw representation as possible. isControlFrame() can be also + gathered from opcode, but it is at least always deterministic and it will be used by most of extension + implementations. It is not usual to modify control frames as it might end with half closed connections or + unanswered ping messages.ExtendedExtension representation needs to be able to handle extension parameter negotiation and actual processing + of incoming and outgoing frames. It also should be compatible with existing javax.websocket.Extension class, since we + want to re-use existing registration API and be able to return new extension instance included in response + from List<Extension> Session.getNegotiatedExtensions() call. Consider following:  1 public interface ExtendedExtension extends Extension { +  2 +  3 Frame processIncoming(ExtensionContext context, Frame frame); +  4 Frame processOutgoing(ExtensionContext context, Frame frame); +  5 +  6 List onExtensionNegotiation(ExtensionContext context, List requestedParameters); +  7 void onHandshakeResponse(ExtensionContext context, List responseParameters); +  8 +  9 void destroy(ExtensionContext context); + 10 + 11 interface ExtensionContext { + 12 + 13 Map<String, Object> getProperties(); + 14 } + 15 }ExtendedExtension is capable of processing frames and influence parameter values during the handshake. + Extension is used on both client and server side and since the negotiation is only place where this fact + applies, we needed to somehow differentiate these sides. On server side, only onExtensionNegotiation(..) + method is invoked and on client side onHandshakeResponse(..). Server side method is a must, client side could + be somehow solved by implementing ClientEndpointConfig.Configurator#afterResponse(..) or calling + Session.getNegotiatedExtenions(), but it won’t be as easy to get this information back to extension instance + and even if it was, it won’t be very elegant. Also, you might suggest replacing processIncoming and + processOutgoing methods by just oneprocess(Frame) method. That is also possible, but then you might have to + assume current direction from frame instance or somehow from ExtensionContext, which is generally not a bad + idea, but it resulted it slightly less readable code.ExtensionContext and related lifecycle method is there because original javax.websocket.Extension is singleton + and ExtendedExtension must obey this fact. But it does not meet some requirements we stated previously, like per + connection parameter negotiation and of course processing itself will most likely have some connection state. + Lifecycle of ExtensionContext is defined as follows: ExtensionContext instance is created right before onExtensionNegotiation + (server side) or onHandshakeResponse (client side) and destroyed after destroy method invocation. Obviously, processIncoming + or processOutgoing cannot be called before ExtensionContext is created or after is destroyed. You can think of handshake + related methods as @OnOpenand destroy as @OnClose.For those more familiar with WebSocket protocol: process*(ExtensionContext, Frame) is always invoked with unmasked + frame, you don’t need to care about it. On the other side, payload is as it was received from the wire, before any + validation (UTF-8 check for text messages). This fact is particularly important when you are modifying text + message content, you need to make sure it is properly encoded in relation to other messages, because encoding/decoding + process is stateful – remainder after UTF-8 coding is used as input to coding process for next message. If you + want just test this feature and save yourself some headaches, don’t modify text message content or try binary + messages instead.ExtendedExtension sample8.6.1. ExtendedExtension sampleLet’s say we want to create extension which will encrypt and decrypt first byte of every binary message. Assume we have a key (one byte) and our symmetrical cipher will be XOR. (Just for simplicity (a XOR key XOR key) = a, so encrypt() and decrypt() functions are the same).  1 public class CryptoExtension implements ExtendedExtension { +  2 +  3 @Override +  4 public Frame processIncoming(ExtensionContext context, Frame frame) { +  5 return lameCrypt(context, frame); +  6 } +  7 +  8 @Override +  9 public Frame processOutgoing(ExtensionContext context, Frame frame) { + 10 return lameCrypt(context, frame); + 11 } + 12 + 13 private Frame lameCrypt(ExtensionContext context, Frame frame) { + 14 if(!frame.isControlFrame() && (frame.getOpcode() == 0x02)) { + 15 final byte[] payloadData = frame.getPayloadData(); + 16 payloadData[0] ^= (Byte)(context.getProperties().get("key")); + 17 + 18 return Frame.builder(frame).payloadData(payloadData).build(); + 19 } else { + 20 return frame; + 21 } + 22 } + 23 + 24 @Override + 25 public List onExtensionNegotiation(ExtensionContext context, + 26 List requestedParameters) { + 27 init(context); + 28 // no params. + 29 return null; + 30 } + 31 + 32 @Override + 33 public void onHandshakeResponse(ExtensionContext context, + 34 List responseParameters) { + 35 init(context); + 36 } + 37 + 38 private void init(ExtensionContext context) { + 39 context.getProperties().put("key", (byte)0x55); + 40 } + 41 + 42 @Override + 43 public void destroy(ExtensionContext context) { + 44 context.getProperties().clear(); + 45 } + 46 + 47 @Override + 48 public String getName() { + 49 return "lame-crypto-extension"; + 50 } + 51 + 52 @Override + 53 public List getParameters() { + 54 // no params. + 55 return null; + 56 } + 57 }You can see that ExtendedExtension is slightly more complicated that original Extension so the implementation + has to be also not as straightforward.. on the other hand, it does something. Sample code above shows possible + simplification mentioned earlier (one process method will be enough), but please take this as just sample + implementation. Real world case is usually more complicated.Now when we have our CryptoExtension implemented, we want to use it. There is nothing new compared to standard + WebSocket Java API, feel free to skip this part if you are already familiar with it. Only programmatic version + will be demonstrated. It is possible to do it for annotated version as well, but it is little bit more complicated + on the server side and I want to keep the code as compact as possible.Client registration  1 ArrayList extensions = new ArrayList(); +  2 extensions.add(new CryptoExtension()); +  3 +  4 final ClientEndpointConfig clientConfiguration = +  5 ClientEndpointConfig.Builder.create() +  6 .extensions(extensions).build(); +  7 +  8 WebSocketContainer client = ContainerProvider.getWebSocketContainer(); +  9 final Session session = client.connectToServer(new Endpoint() { + 10 @Override + 11 public void onOpen(Session session, EndpointConfig config) { + 12 // ... + 13 } + 14 }, clientConfiguration, URI.create(/* ... */));Server registration:  1 public class CryptoExtensionApplicationConfig implements ServerApplicationConfig { +  2 +  3 @Override +  4 public Set getEndpointConfigs(Set<Class<? extends Endpoint>> endpointClasses) { +  5 Set endpointConfigs = new HashSet(); +  6 endpointConfigs.add( +  7 ServerEndpointConfig.Builder.create(EchoEndpoint.class, "/echo") +  8 .extensions(Arrays.asList(new CryptoExtension())).build() +  9 ); + 10 return endpointConfigs; + 11 } + 12 + 13 @Override + 14 public Set<Class<?>> getAnnotatedEndpointClasses(Set<Class<?>> scanned) { + 15 // all scanned endpoints will be used. + 16 return scanned; + 17 } + 18 } + 19 + 20 public class EchoEndpoint extends Endpoint { + 21 @Override + 22 public void onOpen(Session session, EndpointConfig config) { + 23 // ... + 24 } + 25 }CryptoExtensionApplicationConfig will be found by servlets scanning mechanism and automatically used for + application configuration, no need to add anything (or even have) web.xml.Per Message Deflate Extension8.6.2. Per Message Deflate ExtensionThe original goal of whole extension support was to implement Permessage extension as defined in + draft-ietf-hybi-permessage-compression-15 and we were able to achieve that goal. Well, not completely, current + implementation ignores parameters. But it seems like it does not matter much, it was tested with Chrome and it + works fine. Also it passes newest version of Autobahn test suite, which includes tests for this extension.see PerMessageDeflateExtension.java (compatible with draft-ietf-hybi-permessage-compression-15, autobahn test suite) and + XWebKitDeflateExtension.java (compatible with Chrome and Firefox – same as previous, just different extension name) + Client reconnect8.7. Client reconnectIf you need semi-persistent client connection, you can always implement some reconnect logic by yourself, + but Tyrus Client offers useful feature which should be much easier to use. See short sample code:  1 ClientManager client = ClientManager.createClient(); +  2 ClientManager.ReconnectHandler reconnectHandler = new ClientManager.ReconnectHandler() { +  3 +  4 private int counter = 0; +  5 +  6 @Override +  7 public boolean onDisconnect(CloseReason closeReason) { +  8 counter++; +  9 if (counter <= 3) { + 10 System.out.println("### Reconnecting... (reconnect count: " + counter + ")"); + 11 return true; + 12 } else { + 13 return false; + 14 } + 15 } + 16 + 17 @Override + 18 public boolean onConnectFailure(Exception exception) { + 19 counter++; + 20 if (counter <= 3) { + 21 System.out.println("### Reconnecting... (reconnect count: " + counter + ") " + exception.getMessage()); + 22 + 23 // Thread.sleep(...) or something other "sleep-like" expression can be put here - you might want + 24 // to do it here to avoid potential DDoS when you don't limit number of reconnects. + 25 return true; + 26 } else { + 27 return false; + 28 } + 29 } + 30 + 31 @Override + 32 public long getDelay() { + 33 return 1; + 34 } + 35 }; + 36 + 37 client.getProperties().put(ClientProperties.RECONNECT_HANDLER, reconnectHandler); + 38 + 39 client.connectToServer(...)ReconnectHandler contains three methods, onDisconnect, onConnectFailure and getDelay. First will be executed + whenever @OnClose annotated method (or Endpoint.onClose(..)) is executed on client side - this should happen when + established connection is lost for any reason. You can find the reason in methods parameter. Other one, called + onConnectFailure is invoked when client fails to connect to remote endpoint, for example due to temporary network + issue or current high server load. Method getDelay is called after any of previous methods returns true + and the returned value will be used to determine delay before next connection attempt. Default value is 5 seconds.Client behind proxy8.8. Client behind proxy + Tyrus client supports traversing proxies, but it is Tyrus specific feature and its configuration is shown + in the following code sample: +   1 +  2 ClientManager client = ClientManager.createClient(); +  3 client.getProperties().put(ClientProperties.PROXY_URI, "http://my.proxy.com:80"); +  4 + Value is expected to be proxy URI. Protocol part is currently ignored, but must be present. + JDK 7 client8.9. JDK 7 client + As has been said in previous chapters both Tyrus client and server were implemented on top of Grizzly NIO framework. + This still remains true, but an alternative Tyrus Websocket client implementation based on Java 7 Asynchronous Channel + API has been available since version 1.6. There are two options how to switch between client implementations. + If you do not mind using Tyrus specific API, the most straightforward way is to use: +   1 +  2 final ClientManager client = ClientManager.createClient(JdkClientContainer.class.getName()); +  3 + You just have to make sure that the dependency on JDK client is included in your project: + +<dependency> + <groupId>org.glassfish.tyrus</groupId> + <artifactId>tyrus-container-jdk-client</artifactId> + <version>1.19</version> +</dependency> + + Grizzly client is the default option, so creating a client without any parameters will result in Grizzly client being used. + + There is also an option how to use JDK client with the standard Websocket API. +   1 +  2 final WebSocketContainer client = ContainerProvider.getWebSocketContainer(); +  3 + The code listed above will scan class path for Websocket client implementations. A slight problem with this + approach is that if there is more than one client on the classpath, the first one discovered will be used. + Therefore if you intend to use JDK client with the standard API, you have to make sure that there is not + a Grizzly client on the classpath as it might be used instead. + + The main reason why JDK client has been implemented is that it does not have any extra dependencies + except JDK 7 and of course some other Tyrus modules, which makes it considerable more lightweight compared + to Tyrus Grizzly client, which requires 1.4 MB of dependencies. + + It is also important to note that the JDK client has been implemented in a way similar to Grizzly client + shared container option, which means that there is one thread pool shared among all clients. + + Proxy configuration for JDK client is the same as for Grizzly client shown above. + SSL configuration8.9.1. SSL configuration + Alike in case of Grizzly client, accessing "wss" URLs will cause Tyrus client to pick up whatever keystore + and trust store is actually set for the current JVM instance. However, specifying SSL parameters + to be used with JDK client instance is little different from Grizzly client, because Grizzly client supports + both + SSLEngineConfigurator [https://grizzly.java.net/docs/2.3/apidocs/org/glassfish/grizzly/ssl/SSLEngineConfigurator.html] + end + SSLContextConfigurator [https://grizzly.java.net/docs/2.3/apidocs/org/glassfish/grizzly/ssl/SSLContextConfigurator.html] + from Grizzly project and + SslEngineConfigurator [https://tyrus.java.net/apidocs/1.19/org/glassfish/tyrus/client/SslEngineConfigurator.html] + and + SslContextConfigurator [https://tyrus.java.net/apidocs/1.19/org/glassfish/tyrus/client/SslContextConfigurator.html] + from Tyrus project, but JDK client supports only the Tyrus version of these classes. + The following code sample shows an example of some SSL parameters configuration for the JDK client: +   1 +  2 SslContextConfigurator sslContextConfigurator = new SslContextConfigurator(); +  3 sslContextConfigurator.setTrustStoreFile("..."); +  4 sslContextConfigurator.setTrustStorePassword("..."); +  5 sslContextConfigurator.setTrustStoreType("..."); +  6 sslContextConfigurator.setKeyStoreFile("..."); +  7 sslContextConfigurator.setKeyStorePassword("..."); +  8 sslContextConfigurator.setKeyStoreType("..."); +  9 SslEngineConfigurator sslEngineConfigurator = new SslEngineConfigurator(sslContextConfigurator, true, false, false); + 10 + 11 client.getProperties().put(ClientProperties.SSL_ENGINE_CONFIGURATOR, sslEngineConfigurator); + 12 + Tracing support8.10. Tracing support + Apart from logging, Tyrus supports another useful means for debugging and diagnosing a deployed application which will + be referred to as tracing on the following lines. Tracing consists of including vital information about handshake + handling into a handshake response. The provided information includes among other things an insight into how Tyrus matches + handshake request URI against the URI of the deployed endpoints and how the best matching endpoint is selected. + The tracing information is included in a handshake response as a content of HTTP headers with + X-Tyrus-Tracing- as the header names prefix. + All the tracing information will also be available in the server log if the appropriate logging level is set. + If it is still unclear, how Tyrus tracing works, please refer to the subsection with title Tracing Examples. + Configuration8.10.1. Configuration + Tracing support is disabled by default. You can enable it either "globally" for all application handshake requests + or selectively per handshake request. The tracing support activation is controlled by setting the + org.glassfish.tyrus.server.tracingType configuration property. The property value is expected to be one of the following: + + OFF - tracing support is disabled (default value).ON_DEMAND - tracing support is in a stand-by mode; it is enabled selectively per handshake, via a special + X-Tyrus-Tracing-Accept HTTP header in a handshake request.ALL - tracing support is enabled for all handshake requests. + + The level of detail of the information provided by Tyrus tracing facility - the tracing threshold - can be customized. + The tracing threshold can be set at the application level via org.glassfish.tyrus.server.tracingThreshold + application configuration property in both Glassfish and Grizzly as will be shown in the following samples, + or at a request level, via X-Tyrus-Tracing-Threshold HTTP header in a handshake request. The request-level configuration + overrides any application level setting. There are 2 supported levels of detail for Tyrus tracing: + + SUMMARY - very basic summary information about handshake processingTRACE - detailed information about handshake processing (default threshold value). + 8.10.1.1. Global configuration examples + As has been already said, tracing is disabled by default. The following code sample shows, how ON_DEMAND tracing with + level set to SUMMARY can be enabled on Grizzly server: +   1 +  2 serverProperties.put(TyrusWebSocketEngine.TRACING_TYPE, ON_DEMAND); +  3 serverProperties.put(TyrusWebSocketEngine.TRACING_THRESHOLD, SUMMARY); +  4 + Similarly ALL tracing with level set to TRACE (the default) can be enabled on Glassfish server in web.xml: +   1 <web-app version="2.5" xmlns="http://java.sun.com/xml/ns/javaee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" +  2 xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd"> +  3 +  4 <context-param> +  5 <param-name>org.glassfish.tyrus.server.tracingType</param-name> +  6 <param-value>ALL</param-value> +  7 </context-param> +  8 </web-app> + + It has been also already mentioned that the tracing threshold configured on application level can be overridden per handshake request as + will be shown in the following section. + 8.10.1.2. Configuring tracing via handshake request headers + Whenever the tracing support is active (ON_DEMAND or ALL) you can customize the tracing behaviour by including one or more of the following request HTTP headers + in the individual handshake requests: + + X-Tyrus-Tracing-Accept - used to enable the tracing support for the particular request. It is applied only when the application-level tracing support is configured to + ON_DEMAND mode. The value of the header is not used by the Tyrus tracing facility and as such it can be any arbitrary (even empty) string.X-Tyrus-Tracing-Threshold - used to override the tracing threshold. Allowed values are: SUMMARY, TRACE. + Tracing Examples8.10.2. Tracing Examples + An example of a handshake request to a server in ON_DEMAND tracing mode requesting SUMMARY tracing information: +   1 GET /endpoint/b HTTP/1.1 +  2 Connection: Upgrade +  3 Host: localhost:8025 +  4 Origin: localhost:8025 +  5 Sec-WebSocket-Key: YrFldD8nhRW+6hJ2K/TMqw== +  6 Sec-WebSocket-Version: 13 +  7 Upgrade: websocket +  8 X-Tyrus-Tracing-Accept: Whatever +  9 X-Tyrus-Tracing-Threshold: SUMMARY + An example of a possible response to the request above: +   1 HTTP/1.1 404 Not found +  2 x-tyrus-tracing-00 : [0 ms] Matching request URI /samples-debug/endpoint/b against /samples-debug/endpoint/{a}/b +  3 x-tyrus-tracing-01 : [0 ms] URIs /samples-debug/endpoint/b and /samples-debug/endpoint/{a}/b have different length +  4 x-tyrus-tracing-02 : [0 ms] Matching request URI /samples-debug/endpoint/b against /samples-debug/endpoint/{a}/{b} +  5 x-tyrus-tracing-03 : [0 ms] URIs /samples-debug/endpoint/b and /samples-debug/endpoint/{a}/{b} have different length +  6 x-tyrus-tracing-04 : [0 ms] Matching request URI /samples-debug/endpoint/b against /samples-debug/endpoint/a/b +  7 x-tyrus-tracing-05 : [1 ms] URIs /samples-debug/endpoint/b and /samples-debug/endpoint/a/b have different length +  8 x-tyrus-tracing-06 : [1 ms] Matching request URI /samples-debug/endpoint/b against /samples-debug/endpoint/a/a +  9 x-tyrus-tracing-07 : [1 ms] URIs /samples-debug/endpoint/b and /samples-debug/endpoint/a/a have different length + 10 x-tyrus-tracing-08 : [1 ms] Matching request URI /samples-debug/endpoint/b against /samples-debug/endpoint/a + 11 x-tyrus-tracing-09 : [1 ms] Segment "a" does not match + 12 x-tyrus-tracing-10 : [1 ms] Matching request URI /samples-debug/endpoint/b against /samples-debug/endpoint/a/{b} + 13 x-tyrus-tracing-11 : [1 ms] URIs /samples-debug/endpoint/b and /samples-debug/endpoint/a/{b} have different length + 14 x-tyrus-tracing-12 : [3 ms] Endpoints matched to the request URI: [] + The time in the square brackets in the sample above is the time since the handshake request has been received. + + An example of a possible handshake response from a server in ALL tracing mode with tracing threshold set to TRACE: +   1 HTTP/1.1 101 +  2 connection: Upgrade +  3 sec-websocket-accept: C8/QbF4Mx9sX31sihUcnI19yqto= +  4 upgrade: websocket +  5 x-tyrus-tracing-00 : [0 ms] Matching request URI /samples-debug/endpoint/a/b against /samples-debug/endpoint/{a}/b +  6 x-tyrus-tracing-01 : [0 ms] Matching request URI /samples-debug/endpoint/a/b against /samples-debug/endpoint/{a}/{b} +  7 x-tyrus-tracing-02 : [0 ms] Matching request URI /samples-debug/endpoint/a/b against /samples-debug/endpoint/a/b +  8 x-tyrus-tracing-03 : [1 ms] Matching request URI /samples-debug/endpoint/a/b against /samples-debug/endpoint/a/a +  9 x-tyrus-tracing-04 : [1 ms] Segment "a" does not match + 10 x-tyrus-tracing-05 : [1 ms] Matching request URI /samples-debug/endpoint/a/b against /samples-debug/endpoint/a + 11 x-tyrus-tracing-06 : [1 ms] URIs /samples-debug/endpoint/a/b and /samples-debug/endpoint/a have different length + 12 x-tyrus-tracing-07 : [1 ms] Matching request URI /samples-debug/endpoint/a/b against /samples-debug/endpoint/a/{b} + 13 x-tyrus-tracing-08 : [3 ms] Choosing better match from /samples-debug/endpoint/{a}/b and /samples-debug/endpoint/a/b + 14 x-tyrus-tracing-09 : [3 ms] /samples-debug/endpoint/a/b is an exact match + 15 x-tyrus-tracing-10 : [3 ms] Choosing better match from /samples-debug/endpoint/a/{b} and /samples-debug/endpoint/{a}/b + 16 x-tyrus-tracing-11 : [3 ms] /samples-debug/endpoint/a/{b} is a better match, because it has longer exact path + 17 x-tyrus-tracing-12 : [3 ms] Choosing better match from /samples-debug/endpoint/a/{b} and /samples-debug/endpoint/{a}/b + 18 x-tyrus-tracing-13 : [3 ms] /samples-debug/endpoint/a/{b} is a better match, because it has longer exact path + 19 x-tyrus-tracing-14 : [3 ms] Choosing better match from /samples-debug/endpoint/a/{b} and /samples-debug/endpoint/a/b + 20 x-tyrus-tracing-15 : [3 ms] /samples-debug/endpoint/a/b is an exact match + 21 x-tyrus-tracing-16 : [3 ms] Choosing better match from /samples-debug/endpoint/{a}/{b} and /samples-debug/endpoint/a/{b} + 22 x-tyrus-tracing-17 : [4 ms] /samples-debug/endpoint/a/{b} is a better match, because it has longer exact path + 23 x-tyrus-tracing-18 : [4 ms] Choosing better match from /samples-debug/endpoint/{a}/{b} and /samples-debug/endpoint/{a}/b + 24 x-tyrus-tracing-19 : [4 ms] /samples-debug/endpoint/{a}/b is a better match, because /samples-debug/endpoint/{a}/{b} has more variables + 25 x-tyrus-tracing-20 : [4 ms] Endpoints matched to the request URI: [/samples-debug/endpoint/a/b, /samples-debug/endpoint/a/{b}, /samples-debug/endpoint/{a}/b, /samples-debug/endpoint/{a}/{b}] + 26 x-tyrus-tracing-21 : [4 ms] Endpoint selected as a match to the handshake URI: /samples-debug/endpoint/a/b + Client handshake request and response logging8.11. Client handshake request and response logging + Tyrus client offers a possibility, how to enable printing of handshake requests and responses to standard output without having to configure Java logging, + which is essential when debugging a misbehaving websocket application. This feature is particularly useful with tracing enabled. The following sample shows, + how the handshake logging can be enabled: +   1 +  2 ClientManager client = ClientManager.createClient(); +  3 client.getProperties().put(ClientProperties.LOG_HTTP_UPGRADE, true); +  4 + JMX Monitoring8.12. JMX Monitoring + Tyrus allows monitoring and accessing some runtime properties and metrics at the server side using JMX (Java management extension technology). + The monitoring API has been available since version 1.6 and the following properties are available at runtime + through MXBeans. Number of open sessions, maximal number of open session since the start of monitoring and + list of deployed endpoint class names and paths are available for each application. Endpoint class name and path + the endpoint is registered on, number of open session and maximal number of open sessions are available for each + endpoint. Apart from that message as well as error statistics are collected both per application and per individual endpoint. + + The following message statistics are monitored for both sent and received messages: + messages countmessages count per secondaverage message sizesmallest message sizelargest message size + Moreover all of them are collected separately for text, binary and control messages and apart from the statistics being available + for the three separate categories, total numbers summing up statistics from the three types of messages are also available. + + As has been already mentioned above, Tyrus also monitors errors on both application and endpoint level. + An error is identified by the Throwable class name that has been thrown. Statistics are collected about number of times each + Throwable has been thrown, so a list of errors together with a number of times each error occurred is available on both application and endpoint level. + The monitored errors correspond to invocation of @OnError method on an annotated endpoint or its equivalent on a programmatic endpoint + (The invocation of @OnError method is just an analogy and an error will be monitored even if no @OnError method is provided on the endpoint). + Errors that occur in @OnOpen, @OnClose methods and methods handling incoming messages are monitored. Errors that occurred during handshake + will not be among the monitored errors. + + The collected metrics as well as the endpoint properties mentioned above are accessible at runtime through Tyrus MXBeans. + As has been already mention the information is available on both application and endpoint level with each application + or endpoint being represented with four MXBeans. One of those MXBeans contains total message statistics for both sent and received + messages as well as any properties specific for applications or endpoints such as endpoint path in the case of an endpoint. + The other three MXBeans contain information about sent and received text, binary and control messages. + + When a user connects to a tyrus application MBean server using an JMX client such as JConsole, they will see + the following structure: + + Application 1 - MXBean containing a list of deployed endpoint class names and paths, number of open sessions, + maximal number of open sessions, error and total message statistics for the application. + + message statistics - a directory containing message statistics MXBeans + + text - MXBean containing text message statistics + + binary - MXBean containing binary message statistics + + control - MXBean containing control message statistics + + endpoints - a directory containing application endpoint MXBeans + + Endpoint 1 - MXBean containing Endpoint 1 class name and path, number of open sessions, + maximal number of open sessions, error and total message statistics for the endpoint. + + text - MXBean containing text message statistics + + binary - MXBean containing binary message statistics + + control - MXBean containing control message statistics + + Endpoint 2 + + Application 2 + + + In fact the monitoring structure described above was a little bit simplistic, because there is an additional + monitoring level available, which causes message metrics being also available per session. + The monitoring structure is very similar to the one described above, with a small difference that there are + four MXBeans registered for each session, which contain text, binary, control and total message statistics. + In order to distinguish the two monitoring levels, they will be referred to as endpoint-level monitoring + and session-level monitoring. + Configuration8.12.1. Configuration + As has been already mentioned, monitoring is supported only on the server side and is disabled by default. + The following code sample shows, how endpoint-level monitoring can be enabled on Grizzly server: +   1 +  2 serverProperties.put(ApplicationEventListener.APPLICATION_EVENT_LISTENER, new SessionlessApplicationMonitor()); +  3 + Similarly endpoint-level monitoring can be enabled on Grizzly server in the following way: +   1 +  2 serverProperties.put(ApplicationEventListener.APPLICATION_EVENT_LISTENER, new SessionAwareApplicationMonitor()); +  3 + Monitoring can be configured on Glassfish in web.xml and the following code sample shows endpoint-level configuration: +   1 <web-app version="2.5" xmlns="http://java.sun.com/xml/ns/javaee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" +  2 xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd"> +  3 +  4 <context-param> +  5 <param-name>org.glassfish.tyrus.core.monitoring.ApplicationEventListener</param-name> +  6 <param-value>org.glassfish.tyrus.ext.monitoring.jmx.SessionlessApplicationMonitor</param-value> +  7 </context-param> +  8 </web-app> +  9 + Similarly session-level monitoring can be configured on Glassfish in web.xml in the following way: +   1 <web-app version="2.5" xmlns="http://java.sun.com/xml/ns/javaee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" +  2 xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd"> +  3 +  4 <context-param> +  5 <param-name>org.glassfish.tyrus.core.monitoring.ApplicationEventListener</param-name> +  6 <param-value>org.glassfish.tyrus.ext.monitoring.jmx.SessionAwareApplicationMonitor</param-value> +  7 </context-param> +  8 </web-app> +  9 + Maximal number of open sessions on server-side8.13. Maximal number of open sessions on server-side + Tyrus offers a few ways to limit the number of open sessions, which can be used to save limited resources + on a server hosting system. The limits can be configured in several scopes: + per whole applicationper endpointper remote address (client IP address) + If the number of simultaneously opened sessions exceeds any of these limits, Tyrus will close the session + with close code 1013 - Try Again Later. + + Limits mentioned above can be combined together. For example, let's say we have + an application with two endpoints. Overall limit per application will be 1000 open sessions and the first + one, non-critical endpoint, will be limited to 75 open sessions at maximum. So we know that the second + endpoint can handle 925-1000 opened sessions, depends on how many open sessions are connected to + the first endpoint (0-75). + Maximal number of open sessions per application8.13.1. Maximal number of open sessions per application + This configuration property can be used to limit overall number of open sessions per whole application. + The main purpose of this configurable limit is to restrict how many resources the application can + consume. + + The number of open sessions per whole application can be configured by setting property + org.glassfish.tyrus.maxSessionsPerApp. Property can be used as + <context-param> + in + web.xml + or as an entry in parameter map in (standalone) Server properties. + + Note that only positive integer is allowed. + This example will set maximal number of open sessions per whole application to 500: + +<web-app version="2.5" xmlns="http://java.sun.com/xml/ns/javaee" + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" + xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd"> + <context-param> + <param-name>org.glassfish.tyrus.maxSessionsPerApp</param-name> + <param-value>500</param-value> + </context-param> +</web-app> + + Maximal number of open sessions per remote address8.13.2. Maximal number of open sessions per remote address + The number of open sessions per remote address can be configured by setting property + org.glassfish.tyrus.maxSessionsPerRemoteAddr. Property can be used as + <context-param> + in + web.xml + or as an entry in parameter map in (standalone) Server properties. + + Remote address + value is obtained from + + ServletRequest#getRemoteAddr() + [http://docs.oracle.com/javaee/6/api/javax/servlet/ServletRequest.html#getRemoteAddr()] + or its alternative when using Grizzly server implementation. + Beware that this method returns always the last node which sending HTTP request, so all clients + behind one proxy will be treated as clients from single remote address. + + Note that only positive integer is allowed. + This example will set maximal number of open sessions from unique IP address or last proxy to 5: + + +<web-app version="2.5" xmlns="http://java.sun.com/xml/ns/javaee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" + xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd"> + <context-param> + <param-name>org.glassfish.tyrus.maxSessionsPerRemoteAddr</param-name> + <param-value>5</param-value> + </context-param> +</web-app> + + Maximal number of open sessions per endpoint8.13.3. Maximal number of open sessions per endpoint + Set maximum number of sessions in annotated endpoint: +   1 +  2 import javax.websocket.OnOpen; +  3 import javax.websocket.Session; +  4 import javax.websocket.server.ServerEndpoint; +  5 +  6 import org.glassfish.tyrus.core.MaxSessions; +  7 +  8 /** +  9 * Annotated endpoint. + 10 */ + 11 @MaxSessions(100) + 12 @ServerEndpoint(value = "/limited-sessions-endpoint") + 13 public static class LimitedSessionsEndpoint { + 14 @OnOpen + 15 public void onOpen(Session s) { + 16 ... + 17 } + 18 ... + 19 } + 20 + + Set maximum number of sessions for programmatic endpoint: +   1 +  2 TyrusServerEndpointConfig.Builder.create(LimitedSessionsEndpoint.class, +  3 "/limited-sessions-endpoint").maxSessions(100).build(); +  4 + + Note that only positive integer is allowed. + Client HTTP Authentication8.14. Client HTTP Authentication + For server endpoints which is protected by HTTP authentication, Tyrus provides a mechanism to authenticate + client. + When client receives HTTP response status code401 - Unauthorized, then Tyrus extracts required + scheme from + WWW-Authenticate + challenge. Then it chooses an + authenticator from a map of registered authenticators and uses configuredcredentials. + If no proper authenticator is found or credentials are missing, then + AuthenticationException + is thrown before the handshake can be done. + There are implementations of the two most used authentication schemes in Tyrus: BASIC and DIGEST, but it is + also possible to implement your own authenticator and register it with a configuration builder + org.glassfish.tyrus.client.auth.AuthConfig.Builder + or even to override default BASIC or DIGEST + auth implementations. + If no + org.glassfish.tyrus.client.auth.AuthConfig + client property is set, then default + configuration is used. It is constructed as you can see bellow: BASIC and DIGEST internal implementations + are + enabled by default. + + Please note that Basic Authentication scheme should be used over HTTPS connection only. + Credentials8.14.1. Credentials + Credentials are required for both implemented authentication schemes in Tyrus. You can pass an instance + into ClientManager as a property: +   1 +  2 +  3 client.getProperties().put(ClientProperties.CREDENTIALS, new Credentials("ws_user", "password".getBytes(AuthConfig.CHARACTER_SET)); +  4 +  5 + Auth Configuration8.14.2. Auth Configuration + org.glassfish.tyrus.client.auth.AuthConfig + provides a way to configure of HTTP authentication schemes. + Creating an instance of + org.glassfish.tyrus.client.auth.AuthConfig + is optional. + If you don't specify AuthConfig, then default instance will be created like in following code listing + +   1 +  2 +  3 AuthConfig authConfig = AuthConfig.Builder.create().build(); +  4 ClientManager client = ClientManager.createClient(); +  5 client.getProperties().put(ClientProperties.AUTH_CONFIG, authConfig); +  6 +  7 + + If authentication is required after an initial upgrade request, Tyrus chooses a proper authentication + scheme based on a received challenge from server. There are two HTTP authentication scheme implemented + and registered + by default. + User defined authenticator8.14.3. User defined authenticator + Tyrus provides an option to implement your own client HTTP authenticator by extending + org.glassfish.tyrus.client.auth.Authenticator + and implementinggenerateAuthorizationHeader. + Request URI, + WWW-Authenticate + response header and provided + Credentials + are + passed as parameters. Method must return response to authentication challenge as it is required by HTTP + server. + An instance of the implemented class must be passed to the Tyrus configuration with + org.glassfish.tyrus.client.auth.AuthConfig.Builder#setAuthScheme(String scheme, Authenticator + userDefinedAuthenticator) + + and created + AuthConfig + instance must be put into client properties. + Authenticator.java  1 +  2 +  3 package org.glassfish.tyrus.client; +  4 +  5 import java.net.URI; +  6 +  7 /** +  8 * Http Authentication provider. +  9 * Class generates authorization token as a input for {@code Authorization} HTTP request header. + 10 * + 11 * @author Ondrej Kosatka (ondrej.kosatka at oracle.com) + 12 */ + 13 public abstract class Authenticator { + 14 + 15 /** + 16 * Generates authorization tokens as a input for {@code Authorization} HTTP request header. + 17 * @param uri URI is needed for generating authorization tokens for some authentication scheme (DIGEST: {@link DigestAuthenticator}) + 18 * @param wwwAuthenticateHeader a value of header {@code WWW-Authenticate} from HTTP response. + 19 * @param credentials credentials. + 20 * @return generated {@link String} value of {@code Authorization}. + 21 * @throws AuthenticationException if is not possible to create auth token. + 22 */ + 23 public abstract String generateAuthorizationHeader(final URI uri, final String wwwAuthenticateHeader, final Credentials credentials) throws AuthenticationException; + 24 + 25 } + 26 + 27 Examples8.14.4. Examples + The simplest way to setup Tyrus authentication is by adding client property + ClientProperties.CREDENTIALS +   1 +  2 +  3 client.getProperties().put(ClientProperties.CREDENTIALS, new Credentials("ws_user", "password"); +  4 +  5 + + How to configure Tyrus with suppressing Basic authentication, even if server side challenges Basic + authentication scheme. +   1 +  2 +  3 AuthConfig authConfig = AuthConfig.Builder.create(). +  4 disableBasicAuth(). +  5 build(); +  6 Credentials credentials = new Credentials("ws_user", "password"); +  7 client.getProperties().put(ClientProperties.AUTH_CONFIG, authConfig); +  8 client.getProperties().put(ClientProperties.CREDENTIALS, credentials); +  9 + 10 + + How to configure Tyrus using user defined DIGEST authentication and Tyrus Basic authentication. User + defined + authentication provider + MyOwnDigestAuthenticator + must extendorg.glassfish.tyrus.client.auth.Authenticator. +   1 +  2 +  3 AuthConfig authConfig = AuthConfig.Builder.create(). +  4 putAuthProvider("Digest", new MyOwnDigestAuthenticator()). +  5 build(); +  6 Credentials credentials = new Credentials("ws_user", "password"); +  7 client.getProperties().put(ClientProperties.AUTH_CONFIG, authConfig); +  8 client.getProperties().put(ClientProperties.CREDENTIALS, credentials); +  9 + 10 + + How to configure Tyrus using user defined NTLM authentication and suppress Tyrus Basic authentication, + even if server side challenges Basic authentication scheme.. User defined + authentication provider + MyOwnNTLMAuthenticator + must extendorg.glassfish.tyrus.client.auth.Authenticator. +   1 +  2 +  3 AuthConfig authConfig = AuthConfig.Builder.create(). +  4 disableBasicAuth(). +  5 putAuthProvider("NTLM", new MyOwnNTLMAuthenticator()). +  6 build(); +  7 Credentials credentials = new Credentials("ws_user", "password"); +  8 client.getProperties().put(ClientProperties.AUTH_CONFIG, authConfig); +  9 client.getProperties().put(ClientProperties.CREDENTIALS, credentials); + 10 + 11 + Client HTTP Redirect8.15. Client HTTP Redirect + Another Tyrus feature is HTTP redirect. If client received 3xx HTTP Redirect response code during a + handshake and HTTP Redirect is allowed (by ClientProperty.REDIRECT_ENABLED + property) then client engine transparently follows the URI contained in received HTTP response header + Location and sends upgrade request to the new URI. Redirects can be chained up to limit set in + ClientProperty.REDIRECT_THRESHOLD, whilst default value is 5. + If HTTP redirect failed by any reason, RedirectException is thrown. + Supported HTTP response codes8.15.1. Supported HTTP response codes + List of 3xx HTTP response codes which can be automatically redirect + 300 - Multiple Choices301 - Moved permanently302 - Found303 - See Other (since HTTP/1.1)307 - Temporary Redirect (since HTTP/1.1)308 - Permanent Redirect (Experimental RFC; RFC 7238) + Configuration8.15.2. Configuration8.15.2.1. Enabling + For enabling HTTP Redirect feature, ClientProperty.REDIRECT_ENABLED must be explicitly set to + true (default value isfalse), otherwise RedirectException + will be thrown, when any of supported HTTP Redirect response codes (see above). + + client.getProperties().put(ClientProperties.REDIRECT_ENABLED, true); + 8.15.2.2. Threshold + ClientProperty.REDIRECT_THRESHOLD is property which can be used to limit maximal + number of chained redirect. Positive integer is expected and default value is 5. + + client.getProperties().put(ClientProperties.REDIRECT_THRESHOLD, 3); + Exception handling8.15.3. Exception handling + RedirectException + is set as a cause of DeploymentException when any of the supported Redirection HTTP response + status codes (see above) was received and WebSocketContainer.connectToServer(...) fails + because of any of the following reasons: + + ClientProperties.REDIRECT_ENABLED property is not set to true. + + Value of ClientProperties.REDIRECT_THRESHOLD is not assignable to Integer. + + Number of chained redirection exceeds a value of ClientProperties.REDIRECT_THRESHOLD + (default value is 5). + Infinite redirection loop is detected. + Location response header is missing, is empty or does not contain a valid URI. + + Client support for HTTP status 503 - Service Unavailable with Retry-After header8.16. Client support for HTTP status 503 - Service Unavailable with Retry-After header + Tyrus offers automatic handling of HTTP status code 503 - Service Unavailable, which can be + returned from server when temporarily overloaded or down for maintenance. When Retry-After + header is included in the response, client will parse the value and schedule another reconnect attempt. + This feature is disabled by default. + The implementation limits connection attempts to 5, each with reconnect delay not bigger than 300 + seconds. Other values or conditions can be handled by custom ReconnectHandler + (see RetryAfterException). + Configuration8.16.1. Configuration +   1 +  2 +  3 final ClientManager client = ClientManager.createClient(); +  4 client.getProperties().put(ClientProperties.RETRY_AFTER_SERVICE_UNAVAILABLE, true); +  5 + \ No newline at end of file diff --git a/documentation/1.19/user-guide.html b/documentation/1.19/user-guide.html new file mode 100644 index 00000000..1dc9f417 --- /dev/null +++ b/documentation/1.19/user-guide.html @@ -0,0 +1,1939 @@ + + + Tyrus 1.19 User Guide

                                                Tyrus 1.19 User Guide


                                                Table of Contents

                                                Preface
                                                1. Getting Started
                                                1.1. WebSocket Services Using Java API for WebSocket
                                                1.1.1. Creating Annotated Server Endpoint
                                                1.1.2. Client Endpoint
                                                1.1.3. Creating Server Endpoint Programmatically
                                                1.1.4. Tyrus in Standalone Mode
                                                2. Tyrus Modules and Dependencies
                                                3. Deploying WebSocket Endpoints
                                                3.1. Deploying Endpoints as a WAR file
                                                3.1.1. Deployment Algorithm
                                                3.2. Deploying endpoints via javax.websocket.server.ServerContainer
                                                4. WebSocket API Endpoints, Sessions and MessageHandlers
                                                4.1. Endpoint Classes
                                                4.1.1. javax.websocket.server.ServerEndpoint
                                                4.1.2. javax.websocket.ClientEndpoint
                                                4.2. Endpoint method-level annotations
                                                4.2.1. @OnOpen
                                                4.2.2. @OnClose
                                                4.2.3. @OnError
                                                4.2.4. @OnMessage
                                                4.3. MessageHandlers
                                                5. Configurations
                                                5.1. javax.websocket.server.ServerEndpointConfig
                                                5.2. javax.websocket.ClientEndpointConfig
                                                6. Endpoint Lifecycle, Sessions, Sending Messages
                                                6.1. Endpoint Lifecycle
                                                6.2. javax.websocket.Session
                                                6.3. Sending Messages
                                                6.4. RemoteEndpoint
                                                6.4.1. javax.websocket.RemoteEndpoint.Basic
                                                6.4.2. javax.websocket.RemoteEndpoint.Async
                                                7. Injection Support
                                                7.1. javax.inject.Inject sample
                                                7.2. EJB sample
                                                8. Tyrus proprietary configuration
                                                8.1. Client-side SSL configuration
                                                8.1.1. Host verification
                                                8.2. Asynchronous connectToServer methods
                                                8.3. Optimized broadcast
                                                8.4. Incoming buffer size
                                                8.5. Shared client container
                                                8.5.1. Custom masking key generator
                                                8.6. WebSocket Extensions
                                                8.6.1. ExtendedExtension sample
                                                8.6.2. Per Message Deflate Extension
                                                8.7. Client reconnect
                                                8.8. Client behind proxy
                                                8.9. JDK 7 client
                                                8.9.1. SSL configuration
                                                8.10. Tracing support
                                                8.10.1. Configuration
                                                8.10.2. Tracing Examples
                                                8.11. Client handshake request and response logging
                                                8.12. JMX Monitoring
                                                8.12.1. Configuration
                                                8.13. Maximal number of open sessions on server-side
                                                8.13.1. Maximal number of open sessions per application
                                                8.13.2. Maximal number of open sessions per remote address
                                                8.13.3. Maximal number of open sessions per endpoint
                                                8.14. Client HTTP Authentication
                                                8.14.1. Credentials
                                                8.14.2. Auth Configuration
                                                8.14.3. User defined authenticator
                                                8.14.4. Examples
                                                8.15. Client HTTP Redirect
                                                8.15.1. Supported HTTP response codes
                                                8.15.2. Configuration
                                                8.15.3. Exception handling
                                                8.16. Client support for HTTP status 503 - Service Unavailable with Retry-After header
                                                8.16.1. Configuration

                                                List of Tables

                                                2.1. Tyrus core modules
                                                2.2. Tyrus containers

                                                Preface

                                                + This is user guide for Tyrus 1.19. We are trying to keep it up to date + as we add new features. Please use also our API documentation linked + from the + Tyrus and + Java API for WebSocket + home pages as an additional source of information about Tyrus features and API. + + If you would like to contribute to the guide or have questions + on things not covered in our docs, please contact us at + tyrus-dev@eclipse.org. +

                                                Chapter 1. Getting Started

                                                + This chapter provides a quick introduction on how to get started building + WebSocket services using Java API for WebSocket and Tyrus. The example described here presents how to implement + simple websocket service as JavaEE web application that can be deployed on any servlet container + supporting Servlet 3.1 and higher. It also discusses starting Tyrus in standalone mode. +

                                                1.1. WebSocket Services Using Java API for WebSocket

                                                + First, to use the Java API for WebSocket in your project you need to depend on the following artifact: +

                                                <dependency>
                                                +    <groupId>javax.websocket</groupId>
                                                +    <artifactId>javax.websocket-api</artifactId>
                                                +    <version>1.1</version>
                                                +</dependency>
                                                +

                                                +

                                                1.1.1. Creating Annotated Server Endpoint

                                                + In this section we will create a simple server side websocket endpoint which will echo the received + message back to the sender. We will deploy this endpoint on the container. +

                                                + In Java API for WebSocket and Tyrus, there are two basic approaches how to create an endpoint - either annotated endpoint, + or programmatic endpoint. + By annotated endpoint we mean endpoint constructed by using annotations (javax.websocket.server.ServerEndpoint + for server endpoint and javax.websocket.ClientEndpoint for client endpoint), like in + "Annotated Echo Endpoint". +

                                                Example 1.1. Annotated Echo Endpoint

                                                @ServerEndpoint(value = "/echo")
                                                +public class EchoEndpointAnnotated {
                                                +    @OnMessage
                                                +    public String onMessage(String message, Session session) {
                                                +        return message;
                                                +    }
                                                +}
                                                +


                                                +

                                                + The functionality of the EchoEndpointAnnotated is fairly simple - to send the received message + back to the sender. To turn a POJO (Plain Old Java Object) to WebSocket server endpoint, the annotation + @ServerEndpoint(value = "/echo") needs to be put on the POJO - see line 1. The URI path of the endpoint + is "/echo". The annotation @OnMessage - line 3 on the method public String + onMessage(String message, Session session) indicates that this method + will be called whenever text message is received. On line 5 in this method the message is sent back to + the user by returning it from the message. +

                                                + The application containing only the EchoEndpointAnnotated class can be deployed to the container. +

                                                1.1.2. Client Endpoint

                                                + Let's create the client part of the application. The client part may be written in JavaScript or any + other technology supporting WebSockets. We will use Java API for WebSocket and Tyrus to demonstrate how to develop + programmatic client endpoint. + The following code is used as a client part to communicate with the EchoEndpoint deployed on server + using Tyrus and Java API for WebSocket. +

                                                + The example "Client Endpoint" utilizes the concept + of the programmatic endpoint. By programmatic endpoint we mean endpoint which is created by extending + class javax.websocket.Endpoint. + The example is standalone java application which needs to depend on some Tyrus artifacts to work + correctly, see "Tyrus Standalone Mode". + In the example first the CountDownLatch is initialized. It is needed as a bocking data + structure - on line 31 it either waits for 100 seconds, or until it gets counted down (line 22). + On line 9 the javax.websocket.ClientEndpointConfig is created - we will need it later + to connect the endpoint to the server. On line 11 the org.glassfish.tyrus.client.ClientManager + is created. it implements the javax.websocket.WebSocketContainer and is used to connect + to server. This happens on next line. The client endpoint functionality is contained in the + javax.websocket.Endpoint lazy instantiation. In the onOpen method new MessageHandler + is registered (the received message is just printed on the console and the latch is counted down). After + the registration the message is sent to the server (line 25). +

                                                Example 1.2. Client Endpoint

                                                public class DocClient {
                                                +    private static CountDownLatch messageLatch;
                                                +    private static final String SENT_MESSAGE = "Hello World";
                                                +
                                                +    public static void main(String [] args){
                                                +        try {
                                                +            messageLatch = new CountDownLatch(1);
                                                +
                                                +            final ClientEndpointConfig cec = ClientEndpointConfig.Builder.create().build();
                                                +
                                                +            ClientManager client = ClientManager.createClient();
                                                +            client.connectToServer(new Endpoint() {
                                                +
                                                +                @Override
                                                +                public void onOpen(Session session, EndpointConfig config) {
                                                +                    try {
                                                +                        session.addMessageHandler(new MessageHandler.Whole<String>() {
                                                +
                                                +                            @Override
                                                +                            public void onMessage(String message) {
                                                +                                System.out.println("Received message: "+message);
                                                +                                messageLatch.countDown();
                                                +                            }
                                                +                        });
                                                +                        session.getBasicRemote().sendText(SENT_MESSAGE);
                                                +                    } catch (IOException e) {
                                                +                        e.printStackTrace();
                                                +                    }
                                                +                }
                                                +            }, cec, new URI("ws://localhost:8025/websockets/echo"));
                                                +            messageLatch.await(100, TimeUnit.SECONDS);
                                                +        } catch (Exception e) {
                                                +            e.printStackTrace();
                                                +        }
                                                +    }
                                                +}


                                                +

                                                1.1.3. Creating Server Endpoint Programmatically

                                                + Similarly to "Client Endpoint" the server registered endpoint + may also be the programmatic one: +

                                                Example 1.3. Programmatic Echo Endpoint

                                                public class EchoEndpointProgrammatic extends Endpoint {
                                                +    @Override
                                                +    public void onOpen(final Session session, EndpointConfig config) {
                                                +        session.addMessageHandler(new MessageHandler.Whole<String>() {
                                                +            @Override
                                                +            public void onMessage(String message) {
                                                +                try {
                                                +                    session.getBasicRemote().sendText(message);
                                                +                } catch (IOException e) {
                                                +                    e.printStackTrace();
                                                +                }
                                                +            }
                                                +        });
                                                +    }
                                                +}


                                                +

                                                + The functionality of the EchoEndpointProgrammatic is fairly simple - to send the received message back to the sender. + The programmatic server endpoint needs to extend javax.websocket.Endpoint - line 1. + Mehod public void onOpen(final Session session, EndpointConfig config) gets called once new + connection to this endpoin0t is opened. In this method the MessageHandler is registered to the + javax.websocket.Session instance, which opened the connection. Method public void + onMessage(String message) gets called once the message is received. On line 8 the message + is sent back to the sender. +

                                                + To see how both annotated and programmatic endpoints may be deployed please check the section Deployment. + In short: you need to put the server endpoint classes into WAR, deploy on server and the endpoints will + be scanned by server and deployed. +

                                                1.1.4. Tyrus in Standalone Mode

                                                + +

                                                + To use Tyrus in standalone mode it is necessary to depend on correct Tyrus artifacts. + The following artifacts need to be added to your pom to use Tyrus: +

                                                <dependency>
                                                +    <groupId>org.glassfish.tyrus</groupId>
                                                +    <artifactId>tyrus-server</artifactId>
                                                +    <version>1.19</version>
                                                +</dependency>
                                                +
                                                +<dependency>
                                                +    <groupId>org.glassfish.tyrus</groupId>
                                                +    <artifactId>tyrus-container-grizzly-server</artifactId>
                                                +    <version>1.19</version>
                                                +</dependency>

                                                +

                                                + Let's use the very same example like for Java API for WebSocket and deploy the EchoEndpointAnnotated on the + standalone Tyrus server on the hostname "localhost", port 8025 and path "/websockets", so the endpoint + will be available at address "ws://localhost:8025/websockets/echo". +

                                                public void runServer() {
                                                +    Server server = new Server("localhost", 8025, "/websockets", null, EchoEndpoint.class);
                                                +
                                                +    try {
                                                +        server.start();
                                                +        BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));
                                                +        System.out.print("Please press a key to stop the server.");
                                                +        reader.readLine();
                                                +    } catch (Exception e) {
                                                +        e.printStackTrace();
                                                +    } finally {
                                                +        server.stop();
                                                +    }
                                                +}

                                                +

                                                Chapter 2. Tyrus Modules and Dependencies

                                                + Tyrus is built, assembled and installed using Maven. Tyrus is deployed to maven.org maven repository + at the following location:http://search.maven.org/. + Jars, jar sources, jar javadoc and samples are all available on the java.net maven repository. +

                                                + All Tyrus components are built using Java SE 7 compiler. It means, you will also need at least Java SE 7 + to be able to compile and run your application. Developers using maven are likely to find it easier to include + and + manage dependencies of their applications than developers using ant or other build technologies. The following + table provides an overview of all Tyrus modules and their dependencies with links to the respective binaries. +

                                                Table 2.1. Tyrus core modules

                                                ModuleDependenciesDescription
                                                + + tyrus-server + + tyrus-core, tyrus-spi, tyrus-websocket-coreBasic server functionality
                                                + + tyrus-core + + tyrus-spi, tyrus-websocket-coreCore Tyrus functionality
                                                + + tyrus-client + + tyrus-core, tyrus-spi, tyrus-websocket-coreBasic client functionality
                                                + + tyrus-documentation + + [nothing]Project documentation
                                                + + tyrus-websocket-core + + [nothing]The WebSocket protocol
                                                + + tyrus-samples + + tyrus-server, tyrus-client, tyrus-container-grizzly, tyrus-core, tyrus-spi, + tyrus-websocket-core + Samples of using Java API for WebSocket and Tyrus
                                                + + tyrus-spi + + [nothing]SPI

                                                Table 2.2. Tyrus containers

                                                ModuleDependenciesDescription
                                                + + tyrus-container-glassfish-cdi + + tyrus-spiCDI support
                                                + + tyrus-container-glassfish-ejb + + tyrus-spiEJB support
                                                + + tyrus-container-grizzly + + tyrus-core, tyrus-spi, tyrus-websocket-coreGrizzly integration for Tyrus client and standalone server usage
                                                + + tyrus-container-servlet + + tyrus-server, tyrus-core, tyrus-spi, tyrus-websocket-coreServlet support for integration into web containers

                                                Chapter 3. Deploying WebSocket Endpoints

                                                + Deploying WebSocket endpoints can be done in two ways. Either deploying via putting the endpoint in the WAR + file, or using the ServerContainer methods to deploy the programmatic endpoint in the deployment phase. +

                                                3.1. Deploying Endpoints as a WAR file

                                                + The classes that are scanned for in WAR are the following ones: +

                                                • + Classes that implement the javax.websocket.ServerApplicationConfig. +

                                                • + Classes annotated with javax.websocket.server.ServerEndpoint. +

                                                • + Classes that extend javax.websocket.Endpoint. +

                                                +

                                                3.1.1. Deployment Algorithm

                                                +

                                                1. + If one or more classes implementing ServerApplicationConfiguration are present in the WAR file, Tyrus deploys endpoints + provided by all of these classes. Tyrus doesn't deploy any other classes present in the WAR (annotated by + javax.websocket.server.ServerEndpoint or extending javax.websocket.Endpoint). +
                                                2. + If no class implementing ServerApplicationConfiguration is present, Tyrus deploys all classes annotated + with @ServerEndpoint or extending Endpoint present in the WAR. +

                                                +

                                                + Let's have the following classes in the WAR: +

                                                Example 3.1. Deployment of WAR containing several classes extending javax.websocket.server.ServerApplicationConfig

                                                public class MyApplicationConfigOne implements ServerApplicationConfig {
                                                +    public Set<ServerEndpointConfig> getEndpointConfigs(Set<Class<? extends Endpoint>> endpointClasses);
                                                +        Set<Class<? extends Endpoint>> s = new HashSet<Class<? extends Endpoint>>;
                                                +        s.add(ProgrammaticEndpointOne.class);
                                                +        return s;
                                                +    }
                                                +
                                                +    public Set<Class> getAnnotatedEndpointClasses(Set<Class<?>> scanned);
                                                +       Set<Class<?>> s = new HashSet<Class<?>>;
                                                +        s.add(AnnotatedEndpointOne.class);
                                                +        return s;
                                                +    }
                                                +}
                                                +
                                                +public class MyApplicationConfigTwo implements ServerApplicationConfig {
                                                +    public Set<ServerEndpointConfig> getEndpointConfigs(Set<Class<? extends Endpoint>> endpointClasses);
                                                +        Set<Class<? extends Endpoint>> s = new HashSet<Class<? extends Endpoint>>;
                                                +        s.add(ProgrammaticEndpointTwo.class);
                                                +    return s;
                                                +}
                                                +
                                                +public Set<Class> getAnnotatedEndpointClasses(Set<Class<?>> scanned);
                                                +    Set<Class<?>> s = new HashSet<Class<?>>;
                                                +        s.add(AnnotatedEndpointTwo.class);
                                                +        return s;
                                                +    }
                                                +}
                                                +
                                                +@ServerEndpoint(value = "/annotatedone")
                                                +public class AnnotatedEndpointOne {
                                                +    ...
                                                +}
                                                +
                                                +@ServerEndpoint(value = "/annotatedtwo")
                                                +    public class AnnotatedEndpointTwo {
                                                +    ...
                                                +}
                                                +
                                                +@ServerEndpoint(value = "/annotatedthree")
                                                +public class AnnotatedEndpointThree {
                                                +    ...
                                                +}
                                                +
                                                +public class ProgrammaticEndpointOne extends Endpoint {
                                                +    ...
                                                +}
                                                +
                                                +public class ProgrammaticEndpointTwo extends Endpoint {
                                                +    ...
                                                +}
                                                +
                                                +public class ProgrammaticEndpointThree extends Endpoint {
                                                +    ...
                                                +}


                                                + According to the deployment algorithm classes AnnotatedEndpointOne, AnnotatedEndpointTwo, + ProgrammaticEndpointOne and ProgrammaticEndpointTwo will be deployed. + AnnotatedEndpointThree and ProgrammaticEndpointThree will not be + deployed, as these are not returned by the respective + methods of MyApplicationConfigOne nor MyApplicationConfigTwo. +

                                                3.2. Deploying endpoints via javax.websocket.server.ServerContainer

                                                + Endpoints may be deployed using javax.websocket.server.ServerContainer during the application initialization phase. + For websocket enabled web containers, developers may obtain a reference to the ServerContainer instance by + retrieving it as an attribute named javax.websocket.server.ServerContainer on the ServletContext, see + the following example for annotated endpoint: +

                                                Example 3.2. Deployment of Annotated Endpoint Using ServerContainer

                                                @WebListener
                                                +@ServerEndpoint("/annotated")
                                                +public class MyServletContextListenerAnnotated implements ServletContextListener {
                                                +
                                                +    @Override
                                                +    public void contextInitialized(ServletContextEvent servletContextEvent) {
                                                +        final ServerContainer serverContainer = (ServerContainer) servletContextEvent.getServletContext()
                                                +                                                    .getAttribute("javax.websocket.server.ServerContainer");
                                                +
                                                +        try {
                                                +            serverContainer.addEndpoint(MyServletContextListenerAnnotated.class);
                                                +        } catch (DeploymentException e) {
                                                +            e.printStackTrace();
                                                +        }
                                                +    }
                                                +
                                                +    @OnMessage
                                                +    public String onMessage(String message) {
                                                +        return message;
                                                +    }
                                                +
                                                +    @Override
                                                +    public void contextDestroyed(ServletContextEvent servletContextEvent) {
                                                +    }
                                                +}


                                                +

                                                Chapter 4. WebSocket API Endpoints, Sessions and MessageHandlers

                                                This chapter presents an overview of the core WebSocket API concepts - endpoints, configurations and message + handlers.

                                                The JAVA API for WebSocket specification draft can be found online here. +

                                                4.1. Endpoint Classes

                                                + Server endpoint classes + are POJOs (Plain Old Java Objects) that are annotated with javax.websocket.server.ServerEndpoint. + Similarly, client endpoint classes are POJOs annotated with javax.websocket.ClientEndpoint. + This section shows how to use Tyrus to annotate Java objects to create WebSocket web services. +

                                                The following code example is a simple example of a WebSocket endpoint using annotations. The example + code shown here is from echo sample which ships with Tyrus. +

                                                +

                                                Example 4.1. Echo sample server endpoint.

                                                @ServerEndpoint("/echo")
                                                +public class EchoEndpoint {
                                                +
                                                +    @OnOpen
                                                +    public void onOpen(Session session) throws IOException {
                                                +        session.getBasicRemote().sendText("onOpen");
                                                +    }
                                                +
                                                +    @OnMessage
                                                +    public String echo(String message) {
                                                +        return message + " (from your server)";
                                                +    }
                                                +
                                                +    @OnError
                                                +    public void onError(Throwable t) {
                                                +        t.printStackTrace();
                                                +    }
                                                +
                                                +    @OnClose
                                                +    public void onClose(Session session) {
                                                +
                                                +    }
                                                +}


                                                + Let's explain the JAVA API for WebSocket annotations. +

                                                4.1.1. javax.websocket.server.ServerEndpoint

                                                javax.websocket.server.ServerEndpoint has got one mandatory field - value and four optional fields. + See the example below.

                                                +

                                                Example 4.2. javax.websocket.server.ServerEndpoint with all fields specified

                                                @ServerEndpoint(
                                                +    value = "/sample",
                                                +    decoders = ChatDecoder.class,
                                                +    encoders = DisconnectResponseEncoder.class,
                                                +    subprotocols = {"subprtotocol1", "subprotocol2"},
                                                +    configurator = Configurator.class
                                                +)
                                                +public class SampleEndpoint {
                                                +
                                                +    @OnMessage
                                                +    public SampleResponse receiveMessage(SampleType message, Session session) {
                                                +        return new SampleResponse(message);
                                                +    }
                                                +}


                                                +

                                                4.1.1.1. value

                                                + Denotes a relative URI path at which the server endpoint will be deployed. In the example + "javax.websocket.server.ServerEndpoint with all fields specified", the + Java class will be hosted at the URI path + /sample. The field value must begin with a '/' and may or may + not end in a '/', it makes no difference. Thus request URLs that end or do not end in a '/' will both + be matched. WebSocket API for JAVA supports level 1 URI templates. +

                                                + URI path templates + are URIs with variables embedded within the URI syntax. These variables are substituted at runtime in + order for a resource to respond to a request based on the substituted URI. Variables are denoted by + curly braces. For example, look at the following @ServerEndpoint annotation: + +

                                                @ServerEndpoint("/users/{username}")

                                                + + In this type of example, a user will be prompted to enter their name, and then a Tyrus web + service configured + to respond to requests to this URI path template will respond. For example, if the user entered their + username as "Galileo", the web service will respond to the following URL: + http://example.com/users/Galileo +

                                                To obtain the value of the username variable the javax.websocket.server.PathParam may be used on method parameter + of methods annotated with one of @OnOpen, @OnMessage, @OnError, @OnClose. +

                                                Example 4.3. Specifying URI path parameter

                                                @ServerEndpoint("/users/{username}")
                                                +public class UserEndpoint {
                                                +
                                                +    @OnMessage
                                                +    public String getUser(String message, @PathParam("username") String userName) {
                                                +        ...
                                                +    }
                                                +}


                                                +

                                                4.1.1.2. decoders

                                                + Contains list of classes that will be used to decode incoming messages for the endpoint. By decoding + we mean transforming from text / binary websocket message to some user defined type. Each decoder + needs to implement the Decoder interface. +

                                                + SampleDecoder in the following example decodes String message and produces + SampleType message - see decode method on line 4. +

                                                +

                                                Example 4.4. SampleDecoder

                                                public class SampleDecoder implements Decoder.Text<SampleType> {
                                                +
                                                +    @Override
                                                +    public SampleType decode(String s) {
                                                +        return new SampleType(s);
                                                +    }
                                                +
                                                +    @Override
                                                +    public boolean willDecode(String s) {
                                                +        return s.startsWith(SampleType.PREFIX);
                                                +    }
                                                +
                                                +    @Override
                                                +    public void init(EndpointConfig config) {
                                                +        // do nothing.
                                                +    }
                                                +
                                                +    @Override
                                                +    public void destroy() {
                                                +        // do nothing.
                                                +    }
                                                +}


                                                +

                                                4.1.1.3. encoders

                                                + Contains list of classes that will be used to encode outgoing messages. By encoding we mean + transforming message from user defined type to text or binary type. Each encoder needs + to implement the Encoder interface. +

                                                + SampleEncoder in the following example decodes String message and produces + SampleType message - see decode method on line 4. +

                                                +

                                                Example 4.5. SampleEncoder

                                                public class SampleEncoder implements Encoder.Text<SampleType> {
                                                +
                                                +    @Override
                                                +    public String encode(SampleType message) {
                                                +        return data.toString();
                                                +    }
                                                +
                                                +    @Override
                                                +    public void init(EndpointConfig config) {
                                                +        // do nothing.
                                                +    }
                                                +
                                                +    @Override
                                                +    public void destroy() {
                                                +        // do nothing.
                                                +    }
                                                +}


                                                +

                                                4.1.1.4. subprotocols

                                                + List of names (Strings) of supported sub-protocols. The first protocol in this list that matches + with sub-protocols provided by the client side is used. +

                                                4.1.1.5. configurator

                                                + Users may provide their own implementation of ServerEndpointConfiguration.Configurator. It allows + them to control some algorithms used by Tyrus in the connection initialization phase: + +

                                                • + public String getNegotiatedSubprotocol(List<String> supported, List<String> requested) + allows the user to provide their own algorithm for selection of used subprotocol. +

                                                • + public List<Extension> getNegotiatedExtensions(List<Extension> installed, List<Extension> requested) + allows the user to provide their own algorithm for selection of used Extensions. +

                                                • + public boolean checkOrigin(String originHeaderValue). + allows the user to specify the origin checking algorithm. +

                                                • + public void modifyHandshake(ServerEndpointConfig sec, HandshakeRequest request, HandshakeResponse response) . + allows the user to modify the handshake response that will be sent back to the client. +

                                                • + public <T> T getEndpointInstance(Class<T> endpointClass) throws InstantiationException . + allows the user to provide the way how the instance of an Endpoint is created +

                                                + +

                                                +

                                                public class ConfiguratorTest extends ServerEndpointConfig.Configurator{
                                                +
                                                +    public String getNegotiatedSubprotocol(List<String> supported, List<String> requested) {
                                                +        // Plug your own algorithm here
                                                +    }
                                                +
                                                +    public List<Extension> getNegotiatedExtensions(List<Extension> installed, List<Extension> requested) {
                                                +        // Plug your own algorithm here
                                                +    }
                                                +
                                                +    public boolean checkOrigin(String originHeaderValue) {
                                                +        // Plug your own algorithm here
                                                +    }
                                                +
                                                +    public void modifyHandshake(ServerEndpointConfig sec, HandshakeRequest request, HandshakeResponse response) {
                                                +        // Plug your own algorithm here
                                                +    }
                                                +
                                                +    public <T> T getEndpointInstance(Class<T> endpointClass) throws InstantiationException {
                                                +        // Plug your own algorithm here
                                                +    }
                                                +}

                                                +

                                                4.1.2. javax.websocket.ClientEndpoint

                                                The @ClientEndpoint class-level annotation is used to turn a POJO into WebSocket client endpoint. + In the following sample the client sends text message "Hello!" and prints out each received message. +

                                                Example 4.6. SampleClientEndpoint

                                                @ClientEndpoint(
                                                +    decoders = SampleDecoder.class,
                                                +    encoders = SampleEncoder.class,
                                                +    subprotocols = {"subprtotocol1", "subprotocol2"},
                                                +    configurator = ClientConfigurator.class)
                                                +public class SampleClientEndpoint {
                                                +
                                                +    @OnOpen
                                                +    public void onOpen(Session p) {
                                                +        try {
                                                +            p.getBasicRemote().sendText("Hello!");
                                                +        } catch (IOException e) {
                                                +            e.printStackTrace();
                                                +        }
                                                +    }
                                                +
                                                +    @OnMessage
                                                +    public void onMessage(String message) {
                                                +        System.out.println(String.format("%s %s", "Received message: ", message));
                                                +    }
                                                +}
                                                +


                                                +

                                                4.1.2.1. decoders

                                                + Contains list of classes that will be used decode incoming messages for the endpoint. By decoding + we mean transforming from text / binary websocket message to some user defined type. Each decoder + needs to implement the Decoder interface. +

                                                4.1.2.2. encoders

                                                + Contains list of classes that will be used to encode outgoing messages. By encoding we mean + transforming message from user defined type to text or binary type. Each encoder needs + to implement the Encoder interface. +

                                                4.1.2.3. subprotocols

                                                + List of names (Strings) of supported sub-protocols. +

                                                4.1.2.4. configurator

                                                + Users may provide their own implementation of ClientEndpointConfiguration.Configurator. It allows + them to control some algorithms used by Tyrus in the connection initialization phase. Method + beforeRequest allows the user to change the request headers constructed by + Tyrus. Method afterResponse allows the user to process the handshake response. +

                                                +

                                                public class Configurator {
                                                +
                                                +    public void beforeRequest(Map<String, List<String>> headers) {
                                                +        //affect the headers before request is sent
                                                +    }
                                                +
                                                +    public void afterResponse(HandshakeResponse hr) {
                                                +        //process the handshake response
                                                +    }
                                                +}

                                                +

                                                4.2. Endpoint method-level annotations

                                                4.2.1. @OnOpen

                                                This annotation may be used on certain methods of @ServerEndpoint or @ClientEndpoint, but only once + per endpoint. It is used to decorate a method which is called once new connection is established. + The connection is represented by the optional Session parameter. The other optional parameter + is EndpointConfig, which represents the passed configuration object. Note that the EndpointConfig + allows the user to access the user properties. +

                                                +

                                                Example 4.7. @OnOpen with Session and EndpointConfig parameters.

                                                @ServerEndpoint("/sample")
                                                +public class EchoEndpoint {
                                                +
                                                +    private Map<String, Object> properties;
                                                +
                                                +    @OnOpen
                                                +    public void onOpen(Session session, EndpointConfig config) throws IOException {
                                                +        session.getBasicRemote().sendText("onOpen");
                                                +        properties = config.getUserProperties();
                                                +    }
                                                +}


                                                +

                                                4.2.2. @OnClose

                                                This annotation may be used on any method of @ServerEndpoint or @ClientEndpoint, but only once + per endpoint. It is used to decorate a method which is called once the connection is being closed. + The method may have one Session parameter, one CloseReason parameter and parameters + annotated with @PathParam. +

                                                +

                                                Example 4.8. @OnClose with Session and CloseReason parameters.

                                                @ServerEndpoint("/sample")
                                                +public class EchoEndpoint {
                                                +
                                                +    @OnClose
                                                +    public void onClose(Session session, CloseReason reason) throws IOException {
                                                +       //prepare the endpoint for closing.
                                                +    }
                                                +}


                                                +

                                                4.2.3. @OnError

                                                This annotation may be used on any method of @ServerEndpoint or @ClientEndpoint, but only once + per endpoint. It is used to decorate a method which is called once Exception is being thrown by + any method annotated with @OnOpen, @OnMessage and @OnClose. + The method may have optional Session parameter and Throwable parameters. +

                                                +

                                                Example 4.9. @OnError with Session and Throwable parameters.

                                                @ServerEndpoint("/sample")
                                                +public class EchoEndpoint {
                                                +
                                                +    @OnError
                                                +    public void onError(Session session, Throwable t) {
                                                +        t.printStackTrace();
                                                +    }
                                                +}


                                                +

                                                4.2.4. @OnMessage

                                                This annotation may be used on certain methods of @ServerEndpoint or @ClientEndpoint, but + only once per endpoint. It is used to decorate a method which is called once new message is received. +

                                                +

                                                Example 4.10. @OnError with Session and Throwable parameters.

                                                @ServerEndpoint("/sample")
                                                +public class EchoEndpoint {
                                                +
                                                +    @OnMessage
                                                +    public void onMessage(Session session, String message) {
                                                +        System.out.println("Received message: " + message);
                                                +    }
                                                +}


                                                +

                                                4.3. MessageHandlers

                                                + Implementing the javax.websocket.MessageHandler interface is one of the ways how to receive messages + on endpoints (both server and client). It is aimed primarily on programmatic endpoints, as the annotated ones + use the method level annotation javax.websocket.OnMessage to denote the method which + receives messages. +

                                                + The MessageHandlers get registered on the Session instance: +

                                                Example 4.11. MessageHandler basic example

                                                public class MyEndpoint extends Endpoint {
                                                +
                                                +    @Override
                                                +    public void onOpen(Session session, EndpointConfig EndpointConfig) {
                                                +        session.addMessageHandler(new MessageHandler.Whole<String>() {
                                                +            @Override
                                                +            public void onMessage(String message) {
                                                +                System.out.println("Received message: "+message);
                                                +            }
                                                +        });
                                                +    }
                                                +}


                                                +

                                                + There are two orthogonal criterions which classify MessageHandlers. + According the WebSocket Protocol (RFC 6455) the message may be sent either complete, or in chunks. In Java API for WebSocket this fact is reflected + by the interface which the handler implements. Whole messages are processed by handler which implements + javax.websocket.MessageHandler.Whole interface. Partial + messages are processed by handlers that implement javax.websocket.MessageHandler.Partial + interface. However, if user registers just the whole message handler, it doesn't mean that the handler will + process solely whole messages. If partial message is received, the parts are cached by Tyrus until the final + part is received. Then the whole message is passed to the handler. Similarly, if the user registers just the + partial message handler and whole message is received, it is passed directly to the handler. +

                                                + The second criterion is the data type of the message. WebSocket Protocol (RFC 6455) defines four message data type - text message, + According to Java API for WebSocket the text messages will be processed by MessageHandlers with the following types: + +

                                                • + java.lang.String +

                                                • + java.io.Reader +

                                                • + any developer object for which there is a corresponding javax.websocket.Decoder.Text + or javax.websocket.Decoder.TextStream. +

                                                + + The binary messages will be processed by MessageHandlers with the following types: +

                                                • + java.nio.ByteBuffer +

                                                • + java.io.InputStream +

                                                • + any developer object for which there is a corresponding javax.websocket.Decoder.Binary + or javax.websocket.Decoder.BinaryStream. +

                                                +

                                                + The Java API for WebSocket limits the registration of MessageHandlers per Session to be one MessageHandler per native + websocket message type. In other words, the developer can only register at most one MessageHandler for + incoming text messages, one MessageHandler for incoming binary messages, and one MessageHandler for + incoming pong messages. This rule holds for both whole and partial message handlers, i.e there may be one + text MessageHandler - either whole, or partial, not both. +

                                                Chapter 5. Configurations

                                                + javax.websocket.server.ServerEndpointConfig and javax.websocket.ClientEndpointConfig objects + are used to provide the user the ability to configure websocket endpoints. Both server and client endpoints have some + part of configuration in common, namely encoders, decoders, and user properties. The user properties may developers + use to store the application specific data. For the developer's convenience the builders are provided for both + ServerEndpointConfig and ClientEndpointConfig. +

                                                5.1. javax.websocket.server.ServerEndpointConfig

                                                + The javax.websocket.server.ServerEndpointConfig is used when deploying the endpoint either via + implementing the javax.websocket.server.ServerApplicationConfig, or via registering the programmatic endpoint + at the javax.websocket.server.ServerContainer instance. It allows the user to create the configuration + programmatically. +

                                                + The following example is used to deploy the EchoEndpoint programmatically. In the method + getEndpointClass() the user has to specify the class of the deployed endpoint. In + the example Tyrus will create an instance of EchoEndpoint and deploy it. + This is the way how to tie together endpoint and it's configuration. In the method + getPath() the user specifies that that the endpoint instance will be deployed at the + path "/echo". In the method public List<String> getSubprotocols() the user + specifies that the supported subprotocols are "echo1" and "echo2". The method getExtensions() + defines the extensions the endpoint supports. Similarly the example configuration does not use any configurator. + Method public List<Class<? extends Encoder>> getEncoders() defines the encoders + used by the endpoint. The decoders and user properties map are defined in similar fashion. +

                                                + If the endpoint class which is about to be deployed is an annotated endpoint, note that the endpoint configuration + will be taken from configuration object, not from the annotation on the endpoint class. +

                                                Example 5.1. Configuration for EchoEndpoint Deployment

                                                public class EchoEndpointConfig implements ServerEndpointConfig{
                                                +
                                                +    private final Map<String, Object> userProperties = new HashMap<String, Object>();
                                                +
                                                +    @Override
                                                +    public Class<?> getEndpointClass() {
                                                +        return EchoEndpoint.class;
                                                +    }
                                                +
                                                +    @Override
                                                +    public String getPath() {
                                                +        return "/echo";
                                                +    }
                                                +
                                                +    @Override
                                                +    public List<String> getSubprotocols() {
                                                +        return Arrays.asList("echo1","echo2");
                                                +    }
                                                +
                                                +    @Override
                                                +    public List<Extension> getExtensions() {
                                                +        return null;
                                                +    }
                                                +
                                                +    @Override
                                                +    public Configurator getConfigurator() {
                                                +        return null;
                                                +    }
                                                +
                                                +    @Override
                                                +    public List<Class<? extends Encoder>> getEncoders() {
                                                +        return Arrays.asList(SampleEncoder.class);
                                                +    }
                                                +
                                                +    @Override
                                                +    public List<Class<? extends Decoder>> getDecoders() {
                                                +        return Arrays.asList(SampleDecoder.class);
                                                +    }
                                                +
                                                +    @Override
                                                +    public Map<String, Object> getUserProperties() {
                                                +        return userProperties;
                                                +    }
                                                +}

                                                + To make the development easy the javax.websocket.server.ServerEndpointConfig provides a builder to construct + the configuration object: +

                                                Example 5.2. ServerEndpointConfigu built using Builder

                                                ServerEndpointConfig config = ServerEndpointConfig.Builder.create(EchoEndpoint.class,"/echo").
                                                +    decoders(Arrays.<Class<? extends Decoder>>asList(JsonDecoder.class)).
                                                +    encoders(Arrays.<Class< extends Encoder>>asList(JsonEncoder.class)).build();


                                                +

                                                5.2. javax.websocket.ClientEndpointConfig

                                                + The javax.websocket.ClientEndpointConfig is used when deploying the programmatic client endpoint + via registering the programmatic endpoint at the WebSocketContainer instance. Some of + the configuration methods come from the EndpointConfigclass, which is extended by both + javax.websocket.server.ServerEndpointConfig and javax.websocket.ClientEndpointConfig. Then there are methods + for configuring the preferred subprotocols the client endpoint wants to use and supported extensions. It is + also possible to use the ClientEndpointConfig.Configurator in order to be able to affect the endpoint behaviour + before and after request. +

                                                + Similarly to the ServerEndpointConfig, there is a Builder provided to construct the configuration easily: +

                                                Example 5.3. ClientEndpointConfig built using Builder

                                                ClientEndpointConfig.Builder.create().
                                                +    decoders(Arrays.<Class<? extends Decoder>>asList(JsonDecoder.class)).
                                                +    encoders(Arrays.<Class<? extends Encoder>>asList(JsonEncoder.class)).
                                                +    preferredSubprotocols(Arrays.asList("echo1", "echo2")).build();

                                                Chapter 6. Endpoint Lifecycle, Sessions, Sending Messages

                                                6.1. Endpoint Lifecycle

                                                + As mentioned before, the endpoint in Java API for WebSocket is represented either by instance of javax.websocket.Endpoint, + or by class annotated with either javax.websocket.server.ServerEndpoint or + javax.websocket.ClientEndpoint. Unless otherwise defined by developer provided configurator + (defined in instance of javax.websocket.server.ServerEndpointConfig or + javax.websocket.ClientEndpointConfig, Tyrus uses one endpoint instance per VM per connected + peer. Therefore one endpoint instance typically handles connections from one peer. +

                                                6.2. javax.websocket.Session

                                                + The sequence of interactions between an endpoint instance and remote peer is in Java API for WebSocket modelled by + javax.websocket.Session instance. This interaction starts by mandatory open notification, + continues by 0 - n websocket messages and is finished by mandatory closing notification. +

                                                + The javax.websocket.Session instance is passed by Tyrus to the user in the following methods + for programmatic endpoints: +

                                                • + public void onOpen(Session session, EndpointConfig config) +

                                                • + public void onClose(Session session, CloseReason closeReason) +

                                                • + public void onError(Session session, Throwable thr) +

                                                +

                                                + The javax.websocket.Session instance is passed by Tyrus to the user in the methods + annotated by following annotations for annotated endpoints: +

                                                • + method annotated with javax.websocket.OnOpen +

                                                • + method annotated with javax.websocket.OnMessage +

                                                • + method annotated with javax.websocket.OnClose +

                                                • + method annotated with javax.websocket.OnError +

                                                + In each of the methods annotated with the preceeding annotations the user may use parameter of type + javax.websocket.Session. In the following example the developer wants to send a message in + the method annotated with javax.websocket.OnOpen. As we will demonstrate later, the developer + needs the session instance to do so. According to Java API for WebSocket Session is one of the allowed parameters in + methods annotated with javax.websocket.OnOpen. Once the annotated method gets called, + Tyrus passes in the correct instance of javax.websocket.Session. +

                                                +

                                                Example 6.1. Lifecycle echo sample

                                                @ServerEndpoint("/echo")
                                                +public class EchoEndpoint {
                                                +
                                                +    @OnOpen
                                                +    public void onOpen(Session session) throws IOException {
                                                +        session.getBasicRemote().sendText("onOpen");
                                                +    }
                                                +
                                                +    @OnMessage
                                                +    public String echo(String message) {
                                                +        return message;
                                                +    }
                                                +
                                                +    @OnError
                                                +    public void onError(Throwable t) {
                                                +        t.printStackTrace();
                                                +    }
                                                +}


                                                +

                                                6.3. Sending Messages

                                                + Generally there are two ways how to send message to the peer endpoint. First one is usable for annotated + endpoints only. The user may send the message by returning the message content from the method annotated + with javax.websocket.OnMessage. In the following example the message m is sent back to the + remote endpoint. +

                                                +

                                                Example 6.2. Sending message in @OnMessage

                                                @OnMessage
                                                +public String echo(String m) {
                                                +    return m;                                                                                                                               
                                                +}


                                                +

                                                + The other option how to send a message is to obtain the javax.websocket.RemoteEndpoint instance + via the javax.websocket.Session instance. See the following example: +

                                                +

                                                Example 6.3. Sending message via RemoteEndpoint.Basic instance

                                                @OnMessage
                                                +public void echo(String message, Session session) {
                                                +    session.getBasicRemote().sendText(message);
                                                +}


                                                +

                                                6.4. RemoteEndpoint

                                                + The interface javax.websocket.RemoteEndpoint, part of Java API for WebSocket, is designed to represent the + other end of the communication (related to the endpoint), so the developer uses it to send the message. + There are two basic interfaces the user may use - javax.websocket.RemoteEndpoint$Basic and + javax.websocket.RemoteEndpoint$Async. +

                                                6.4.1. javax.websocket.RemoteEndpoint.Basic

                                                + This representation of the peer of a web socket conversation is used to send synchronous messages. The point + of completion of the send is defined when all the supplied data has been written to the underlying connection. + The methods for sending messages on the + javax.websocket.RemoteEndpoint$Basic block until this point of completion is reached, except for + javax.websocket.RemoteEndpoint$Basic#getSendStream() and + javax.websocket.RemoteEndpoint$Basic#getSendWriter() which present traditional blocking I/O streams + to write messages. See the example + "Sending message via RemoteEndpoint.Basic instance" + to see how the whole text message is send. The following example demonstrates a method which sends the + partial text method to the peer: +

                                                Example 6.4. Method for sending partial text message

                                                public void sendPartialTextMessage(String message, Boolean isLast, Session session){
                                                +    try {
                                                +        session.getBasicRemote().sendText(message, isLast);
                                                +    } catch (IOException e) {
                                                +        e.printStackTrace();
                                                +    }
                                                +}


                                                +

                                                6.4.2. javax.websocket.RemoteEndpoint.Async

                                                + This representation of the peer of a web socket conversation has the ability to send messages + asynchronously. The point of completion of the send is defined when all the supplied data has been + written to the underlying connection. The completion handlers for the asynchronous methods are always + called with a different thread from that which initiated the send. +

                                                Example 6.5. Sending mesage the async way using Future

                                                public void sendWholeAsyncMessage(String message, Session session){
                                                +    Future<Void> future = session.getAsyncRemote().sendText(message);
                                                +}


                                                +

                                                Chapter 7. Injection Support

                                                + As required in Java API for WebSocket, Tyrus supports full field, method and constructor injection using javax.inject.Inject + into all websocket endpoint classes as well as the use of the interceptors on these classes. + Except this, Tyrus also supports some of the EJB annotations. Currently javax.ejb.Stateful, + javax.ejb.Singleton and javax.ejb.Stateless annotations are supported. +

                                                7.1. javax.inject.Inject sample

                                                + The following example presents how to inject a bean to the javax.websocket.server.ServerEndpoint + annotated class using javax.inject.Inject. Class InjectedSimpleBean gets injected + into class SimpleEndpoint on line 15. +

                                                Example 7.1. Injecting bean into javax.websocket.server.ServerEndpoint

                                                public class InjectedSimpleBean {
                                                +
                                                +    private static final String TEXT = " (from your server)";
                                                +
                                                +    public String getText() {
                                                +        return TEXT;
                                                +    }
                                                +}
                                                +
                                                +@ServerEndpoint(value = "/simple")
                                                +public class SimpleEndpoint {
                                                +
                                                +    private boolean postConstructCalled = false;
                                                +
                                                +    @Inject
                                                +    InjectedSimpleBean bean;
                                                +
                                                +    @OnMessage
                                                +    public String echo(String message) {
                                                +        return String.format("%s%s", message, bean.getText());
                                                +    }
                                                +}


                                                +

                                                7.2. EJB sample

                                                + The following sample presents how to turn javax.websocket.server.ServerEndpoint annotated class + into javax.ejb.Singleton and use interceptor on it. +

                                                Example 7.2. Echo sample server endpoint.

                                                @ServerEndpoint(value = "/singleton")
                                                +@Singleton
                                                +@Interceptors(LoggingInterceptor.class)
                                                +public class SingletonEndpoint {
                                                +
                                                +    int counter = 0;
                                                +    public static boolean interceptorCalled = false;
                                                +
                                                +    @OnMessage
                                                +    public String echo(String message) {
                                                +        return interceptorCalled ? String.format("%s%s", message, counter++) : "LoggingInterceptor not called.";
                                                +    }
                                                +}
                                                +
                                                +public class LoggingInterceptor {
                                                +
                                                +    @AroundInvoke
                                                +    public Object manageTransaction(InvocationContext ctx) throws Exception {
                                                +        SingletonEndpoint.interceptorCalled = true;
                                                +        Logger.getLogger(getClass().getName()).info("LOGGING.");
                                                +        return ctx.proceed();
                                                +    }
                                                +}
                                                +


                                                +

                                                Chapter 8. Tyrus proprietary configuration

                                                Following settings do have influence on Tyrus behaviour and are NOT part of WebSocket + specification. If you are using following configurable options, your application might not be easily transferable to + other WebSocket API implementation.

                                                8.1. Client-side SSL configuration

                                                When accessing "wss" URLs, Tyrus client will pick up whatever keystore and truststore is actually set for current JVM instance, but + that might not be always convenient. WebSocket API does not have this feature (yet, see WEBSOCKET_SPEC-210), + so Tyrus exposed two SSL configuration classes SSLEngineConfigurator + and SslEngineConfigurator + , which can be used for specifying all SSL parameters to be used with current client instance. The former configuration class + belongs to Grizzly configuration API and therefore works only with Grizzly client. The latter configuration class + works with both Grizzly and JDK client and offers some extensions over the Grizzly SSLEngineConfigurator + allowing more control of host verification during the SSL handshake. For more details + please refer to the following subsection dealing with host verification. + + Additionally, WebSocket API does not have anything like a client, only WebSocketContainer and it does not have any properties, so you need to use Tyrus specific class - + ClientManager.

                                                final ClientManager client = ClientManager.createClient();
                                                +
                                                +System.getProperties().put("javax.net.debug", "all");
                                                +System.getProperties().put(SSLContextConfigurator.KEY_STORE_FILE, "...");
                                                +System.getProperties().put(SSLContextConfigurator.TRUST_STORE_FILE, "...");
                                                +System.getProperties().put(SSLContextConfigurator.KEY_STORE_PASSWORD, "...");
                                                +System.getProperties().put(SSLContextConfigurator.TRUST_STORE_PASSWORD, "...");
                                                +final SSLContextConfigurator defaultConfig = new SSLContextConfigurator();
                                                +
                                                +defaultConfig.retrieve(System.getProperties());
                                                +    // or setup SSLContextConfigurator using its API.
                                                +
                                                +SSLEngineConfigurator sslEngineConfigurator =
                                                +    new SSLEngineConfigurator(defaultConfig, true, false, false);
                                                +client.getProperties().put(ClientProperties.SSL_ENGINE_CONFIGURATOR,
                                                +    sslEngineConfigurator);
                                                +client.connectToServer(... , ClientEndpointConfig.Builder.create().build(),
                                                +    new URI("wss://localhost:8181/sample-echo/echo"));
                                                +}

                                                + If there seems to be a problem with Tyrus SSL connection, it is strongly recommended to use -Djavax.net.debug=all + system property as it provides invaluable information for troubleshooting. +

                                                8.1.1. Host verification

                                                + One of the key steps when establishing SSL connections is verifying that the host on the certificate + sent by the server matches the host Tyrus client tries to connect to and thus preventing a possibility of + a man-in-the-middle attack. Host verification is turned on by default in Tyrus, which means that Tyrus + will automatically check that the host provided in the URI in +

                                                client.connectToServer(... , new URI("wss://target-server:8181/application/endpoint"));
                                                +                

                                                matches exactly the host the certificate has been issued for. Exact match is + the key word in the previous sentence as host can be either hostname or IP address and those two cannot be used + interchangeably. For instance when a certificate has been issued for "localhost", establishing an SSL connection + to "wss://127.0.0.1:8181/application/endpoint" will fail as the host does not match the one in the certificate. +

                                                + The default host verification can be too restrictive for some cases and therefore Tyrus provides users + with means to to either disable the host verification (highly unrecommended in production) or to implement + their own host verifier. Providing custom host verifier will disable the default one. It is also important + to note that Grizzly specific + SSLEngineConfigurator + does not provide these options and for modifying the default host name verification policy + SslEngineConfigurator + must be used instead. The following sample shows how to disable host name verification: +

                                                SslEngineConfigurator sslEngineConfigurator = new SslEngineConfigurator(new SslContextConfigurator());
                                                +sslEngineConfigurator.setHostVerificationEnabled(false)
                                                +client.getProperties().put(ClientProperties.SSL_ENGINE_CONFIGURATOR, sslEngineConfigurator);
                                                +                

                                                + The following sample shows how to register a custom host verifier: +

                                                SslEngineConfigurator sslEngineConfigurator = new SslEngineConfigurator(new SslContextConfigurator());
                                                +sslEngineConfigurator.setHostnameVerifier(new HostnameVerifier() {
                                                +    @Override
                                                +    public boolean verify(String host, SSLSession sslSession) {
                                                +        Certificate certificate = sslSession.getPeerCertificates()[0];
                                                +        // validate the host in the certificate
                                                +    }
                                                +});
                                                +client.getProperties().put(ClientProperties.SSL_ENGINE_CONFIGURATOR, sslEngineConfigurator);
                                                +                

                                                +

                                                8.2. Asynchronous connectToServer methods

                                                WebSocketContainer.connectToServer(...) methods are by definition blocking - declared exceptions needs to + be thrown after connection attempt is made and it returns Session instance, which needs to be ready for sending + messages and invoking other methods, which require already established connection.

                                                Existing connectToServer methods are fine for lots of uses, but it might cause issue when you are designing + application with highly responsible user interface. Tyrus introduces asynchronous variants to each connectToServer + method (prefixed with "async"), which returns Future<Session>. These methods do only simple check for provided + URL and the rest is executed in separate thread. All exceptions thrown during this phase are reported as cause + of ExecutionException thrown when calling Future<Session>.get().

                                                Asynchronous connect methods are declared on Tyrus implementation of WebSocketContainer called ClientManager.

                                                ClientManager client = ClientManager.createClient();
                                                +  final Future<Session> future = client.asyncConnectToServer(ClientEndpoint.class, URI.create("..."));
                                                +  try {
                                                +    future.get();
                                                +  } catch (...) {
                                                +}

                                                ClientManager contains async alternative to each connectToServer method.

                                                8.3. Optimized broadcast

                                                One of the typical usecases we've seen so far for WebSocket server-side endpoints is broadcasting messages + to all connected clients, something like:

                                                @OnMessage
                                                +public void onMessage(Session session, String message) throws IOException {
                                                +  for (Session s : session.getOpenSessions()) {
                                                +    s.getBasicRemote().sendText(message);
                                                +  }
                                                +}

                                                Executing this code might cause serious load increase on your application server. Tyrus provides optimized + broadcast implementation, which takes advantage of the fact, that we are sending exactly same message to all clients, + so dataframe can be created and serialized only once. Furthermore, Tyrus can iterate over set of opened connections + faster than Session.getOpenSession().

                                                @OnMessage
                                                +public void onMessage(Session session, String message) {
                                                +  ((TyrusSession) session).broadcast(message);
                                                +}

                                                Unfortunately, WebSocket API forbids anything else than Session in @OnMessage annotated method parameter, + so you cannot use TyrusSession there directly and you might need to perform instanceof check.

                                                8.4. Incoming buffer size

                                                Sevlet container buffers incoming WebSocket frames and there must be a size limit to precede OutOfMemory + Exception and potentially DDoS attacks.

                                                Configuration property is named "org.glassfish.tyrus.servlet.incoming-buffer-size" and you can + set it in web.xml (this particular snipped sets the buffer size to 17000000 bytes (~16M payload):

                                                <web-app version="2.5" xmlns="http://java.sun.com/xml/ns/javaee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
                                                +  xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd">
                                                +
                                                +  <context-param>
                                                +    <param-name>org.glassfish.tyrus.servlet.incoming-buffer-size</param-name>
                                                +    <param-value>17000000</param-value>
                                                +  </context-param>
                                                +</web-app>

                                                Default value is 4194315, which correspond to 4M plus few bytes to frame headers, so you should be able to + receive up to 4M long message without the need to care about this property.

                                                Same issue is present on client side. There you can set this property via ClientManager:

                                                ClientManager client = ClientManager.createClient();
                                                +client.getProperties().put("org.glassfish.tyrus.incomingBufferSize", 6000000); // sets the incoming buffer size to 6000000 bytes.
                                                +client.connectToServer( ... )

                                                8.5. Shared client container

                                                By default, WebSocket client implementation in Tyrus re-creates client runtime whenever WebSocketContainer#connectToServer + is invoked. This approach gives us some perks like out-of-the-box isolation and relatively low thread count + (currently we have 1 selector thread and 2 worker threads). Also it gives you the ability to stop the client + runtime – one Session instance is tied to exactly one client runtime, so we can stop it when Session is closed. + This seems as a good solution for most of WebSocket client use cases – you usually use java client from + application which uses it for communicating with server side and you typically don’t need more than 10 instances + (my personal estimate is that more than 90% applications won’t use more than 1 connection). There are several + reasons for it – of it is just a client, it needs to preserve server resources – one WebSocket connection means + one TCP connection and we don’t really want clients to consume more than needed. Previous statement may be + invalidated by WebSocket multiplexing extension, but for now, it is still valid.

                                                On the other hand, WebSocket client implementations in some other containers took another (also correct) + approach – they share client runtime for creating all client connections. That means they might not have this + strict one session one runtime policy, they cannot really give user way how he to control system resources, + but surely it has another advantage – it can handle much more opened connections. Thread pools are share among + client sessions which may or may not have some unforeseen consequences, but if its implemented correctly, it + should outperform Tyrus solution mentioned in previous paragraph in some use cases, like the one mentioned + in TYRUS-275 - performance tests. Reporter + created simple program which used WebSocket API to create clients and connect to remote endpoint and he measured + how many clients can he create (or in other words: how many parallel client connections can be created; I guess + that original test case is to measure possible number of concurrent clients on server side, but that does not + really matter for this post). Tyrus implementation loose compared to some other and it was exactly because it + did not have shared client runtime capability.

                                                How can you use this feature?

                                                ClientManager client = ClientManager.createClient();
                                                +
                                                +client.getProperties().put(ClientProperties.SHARED_CONTAINER, true);

                                                You might also want to specify container idle timeout:

                                                client.getProperties().put(ClientProperties.SHARED_CONTAINER_IDLE_TIMEOUT, 5);

                                                Last but not least, you might want to specify thread pool sizes used by shared container (please use this feature only when you do know what are you doing. Grizzly by default does not limit max number of used threads, + so if you do that, please make sure thread pool size fits your purpose). Even though the default unlimited thread pool size is sufficient for the vast majority of client usages, it is also important ot note that + if the max. thread pool size is not specified and the clients which share the thread pool receive a large number of messages at the same moment, a new thread can be created for each of the received messages + which might demand large amount of system resources and might even lead to a program failure if the required resources are not available. Therefore for particularly busy clients setting the max thread pool + size can be only recommended. The following example shows how to set the maximal thread poll size.

                                                client.getProperties().put(GrizzlyClientProperties.SELECTOR_THREAD_POOL_CONFIG, ThreadPoolConfig.defaultConfig().setMaxPoolSize(3));
                                                +client.getProperties().put(GrizzlyClientProperties.WORKER_THREAD_POOL_CONFIG, ThreadPoolConfig.defaultConfig().setMaxPoolSize(10));

                                                8.5.1. Custom masking key generator

                                                + As a security measure, all frames originating on a websocket client have to be masked with a random 4B value, which must be generated for each frame. + Moreover to fully comply with the security requirements of RFC 6455, a masking key of a frame must not be predictable from masking keys of previous frames + and therefore Tyrus uses java.security.SecureRandom as a default masking key generator. While this is perfectly OK for most Tyrus client use cases, + usage of java.security.SecureRandom might prove to be a performance issue, when the client is used for instance for highly parallel stress testing, + as it uses a synchronized singleton as a random entropy provider in its internals. +

                                                + To overcome the limitations mentioned above, Tyrus allows replacing the default java.security.SecureRandom with more scalable masking key generator. + Please, be aware that there might be security implications if you decide not to use a cryptographically secure random number generator + in production like the one in the following sample. Moreover the supplied random number generator should be also thread safe. + The following example shows, how a custom masking key generator can be configured: +

                                                ClientManager client = ClientManager.createClient();
                                                +client.getProperties().put(ClientProperties.MASKING_KEY_GENERATOR, new MaskingKeyGenerator() {
                                                +
                                                +    private final Random random = new Random();
                                                +
                                                +    @Override
                                                +    public int nextInt() {
                                                +        return random.nextInt();
                                                +    }
                                                +});

                                                +

                                                + It is also important to note that the scalability issue connected to the default masking key generator is not limited to the shared container client configuration, + but it is discussed in this section as it is assumed that shared container is used for highly parallel clients handling a lot of traffic, where the method + of masking key generation starts to matter. +

                                                8.6. WebSocket Extensions

                                                Please note that Extensions support is considered to be experimental and any API can be changed anytime. Also, + you should ask yourself at least twice whether you don't want to achieve your goal by other means - WebSocket + Extension is very powerful and can easily break your application when not used with care or enough expertise. +

                                                WebSocket frame used in ExtendedExtension:

                                                public class Frame {
                                                +
                                                +    public boolean isFin() { .. }
                                                +    public boolean isRsv1() { .. }
                                                +    public boolean isRsv2() { .. }
                                                +    public boolean isRsv3() { .. }
                                                +    public boolean isMask() { .. }
                                                +    public byte getOpcode() { .. }
                                                +    public long getPayloadLength() { .. }
                                                +    public int getMaskingKey() { .. }
                                                +    public byte[] getPayloadData() { .. }
                                                +    public boolean isControlFrame() { .. }
                                                +
                                                +    public static Builder builder() { .. }
                                                +    public static Builder builder(Frame frame) { .. }
                                                +
                                                +    public final static class Builder {
                                                +
                                                +    public Builder() { .. }
                                                +    public Builder(Frame frame) { .. }
                                                +    public Frame build() { .. }
                                                +    public Builder fin(boolean fin) { .. }
                                                +    public Builder rsv1(boolean rsv1) { .. }
                                                +    public Builder rsv2(boolean rsv2) { .. }
                                                +    public Builder rsv3(boolean rsv3) { .. }
                                                +    public Builder mask(boolean mask) { .. }
                                                +    public Builder opcode(byte opcode) { .. }
                                                +    public Builder payloadLength(long payloadLength) { .. }
                                                +    public Builder maskingKey(int maskingKey) { .. }
                                                +    public Builder payloadData(byte[] payloadData) { .. }
                                                +}

                                                Frame is immutable, so if you want to create new one, you need to create new builder, modify what you want + and build it:

                                                Frame newFrame = Frame.builder(originalFrame).rsv1(true).build();

                                                Note that there is only one convenience method: isControlFrame. Other information about frame type etc needs + to be evaluated directly from opcode, simply because there might not be enough information to get the correct + outcome or the information itself would not be very useful. For example: opcode 0×00 means continuation frame, + but you don’t have any chance to get the information about actual type (text or binary) without intercepting + data from previous frames. Consider Frame class as raw representation as possible. isControlFrame() can be also + gathered from opcode, but it is at least always deterministic and it will be used by most of extension + implementations. It is not usual to modify control frames as it might end with half closed connections or + unanswered ping messages.

                                                ExtendedExtension representation needs to be able to handle extension parameter negotiation and actual processing + of incoming and outgoing frames. It also should be compatible with existing javax.websocket.Extension class, since we + want to re-use existing registration API and be able to return new extension instance included in response + from List<Extension> Session.getNegotiatedExtensions() call. Consider following:

                                                public interface ExtendedExtension extends Extension {
                                                +
                                                +    Frame processIncoming(ExtensionContext context, Frame frame);
                                                +    Frame processOutgoing(ExtensionContext context, Frame frame);
                                                +
                                                +    List onExtensionNegotiation(ExtensionContext context, List requestedParameters);
                                                +    void onHandshakeResponse(ExtensionContext context, List responseParameters);
                                                +
                                                +    void destroy(ExtensionContext context);
                                                +
                                                +    interface ExtensionContext {
                                                +
                                                +        Map<String, Object> getProperties();
                                                +    }
                                                +}

                                                ExtendedExtension is capable of processing frames and influence parameter values during the handshake. + Extension is used on both client and server side and since the negotiation is only place where this fact + applies, we needed to somehow differentiate these sides. On server side, only onExtensionNegotiation(..) + method is invoked and on client side onHandshakeResponse(..). Server side method is a must, client side could + be somehow solved by implementing ClientEndpointConfig.Configurator#afterResponse(..) or calling + Session.getNegotiatedExtenions(), but it won’t be as easy to get this information back to extension instance + and even if it was, it won’t be very elegant. Also, you might suggest replacing processIncoming and + processOutgoing methods by just oneprocess(Frame) method. That is also possible, but then you might have to + assume current direction from frame instance or somehow from ExtensionContext, which is generally not a bad + idea, but it resulted it slightly less readable code.

                                                ExtensionContext and related lifecycle method is there because original javax.websocket.Extension is singleton + and ExtendedExtension must obey this fact. But it does not meet some requirements we stated previously, like per + connection parameter negotiation and of course processing itself will most likely have some connection state. + Lifecycle of ExtensionContext is defined as follows: ExtensionContext instance is created right before onExtensionNegotiation + (server side) or onHandshakeResponse (client side) and destroyed after destroy method invocation. Obviously, processIncoming + or processOutgoing cannot be called before ExtensionContext is created or after is destroyed. You can think of handshake + related methods as @OnOpenand destroy as @OnClose.

                                                For those more familiar with WebSocket protocol: process*(ExtensionContext, Frame) is always invoked with unmasked + frame, you don’t need to care about it. On the other side, payload is as it was received from the wire, before any + validation (UTF-8 check for text messages). This fact is particularly important when you are modifying text + message content, you need to make sure it is properly encoded in relation to other messages, because encoding/decoding + process is stateful – remainder after UTF-8 coding is used as input to coding process for next message. If you + want just test this feature and save yourself some headaches, don’t modify text message content or try binary + messages instead.

                                                8.6.1. ExtendedExtension sample

                                                Let’s say we want to create extension which will encrypt and decrypt first byte of every binary message. Assume we have a key (one byte) and our symmetrical cipher will be XOR. (Just for simplicity (a XOR key XOR key) = a, so encrypt() and decrypt() functions are the same).

                                                public class CryptoExtension implements ExtendedExtension {
                                                +
                                                +    @Override
                                                +    public Frame processIncoming(ExtensionContext context, Frame frame) {
                                                +         return lameCrypt(context, frame);
                                                +    }
                                                +
                                                +    @Override
                                                +    public Frame processOutgoing(ExtensionContext context, Frame frame) {
                                                +        return lameCrypt(context, frame);
                                                +    }
                                                +
                                                +    private Frame lameCrypt(ExtensionContext context, Frame frame) {
                                                +        if(!frame.isControlFrame() && (frame.getOpcode() == 0x02)) {
                                                +            final byte[] payloadData = frame.getPayloadData();
                                                +            payloadData[0] ^= (Byte)(context.getProperties().get("key"));
                                                +
                                                +            return Frame.builder(frame).payloadData(payloadData).build();
                                                +        } else {
                                                +            return frame;
                                                +        }
                                                +    }
                                                +
                                                +    @Override
                                                +    public List onExtensionNegotiation(ExtensionContext context,
                                                +                                       List requestedParameters) {
                                                +        init(context);
                                                +        // no params.
                                                +        return null;
                                                +    }
                                                +
                                                +    @Override
                                                +    public void onHandshakeResponse(ExtensionContext context,
                                                +    List responseParameters) {
                                                +        init(context);
                                                +    }
                                                +
                                                +    private void init(ExtensionContext context) {
                                                +        context.getProperties().put("key", (byte)0x55);
                                                +    }
                                                +
                                                +    @Override
                                                +    public void destroy(ExtensionContext context) {
                                                +        context.getProperties().clear();
                                                +    }
                                                +
                                                +    @Override
                                                +    public String getName() {
                                                +        return "lame-crypto-extension";
                                                +    }
                                                +
                                                +    @Override
                                                +    public List getParameters() {
                                                +        // no params.
                                                +        return null;
                                                +    }
                                                +}

                                                You can see that ExtendedExtension is slightly more complicated that original Extension so the implementation + has to be also not as straightforward.. on the other hand, it does something. Sample code above shows possible + simplification mentioned earlier (one process method will be enough), but please take this as just sample + implementation. Real world case is usually more complicated.

                                                Now when we have our CryptoExtension implemented, we want to use it. There is nothing new compared to standard + WebSocket Java API, feel free to skip this part if you are already familiar with it. Only programmatic version + will be demonstrated. It is possible to do it for annotated version as well, but it is little bit more complicated + on the server side and I want to keep the code as compact as possible.

                                                Client registration

                                                ArrayList extensions = new ArrayList();
                                                +extensions.add(new CryptoExtension());
                                                +
                                                +final ClientEndpointConfig clientConfiguration =
                                                +    ClientEndpointConfig.Builder.create()
                                                +    .extensions(extensions).build();
                                                +
                                                +WebSocketContainer client = ContainerProvider.getWebSocketContainer();
                                                +final Session session = client.connectToServer(new Endpoint() {
                                                +    @Override
                                                +    public void onOpen(Session session, EndpointConfig config) {
                                                +        // ...
                                                +    }
                                                +}, clientConfiguration, URI.create(/* ... */));

                                                Server registration:

                                                public class CryptoExtensionApplicationConfig implements ServerApplicationConfig {
                                                +
                                                +    @Override
                                                +    public Set getEndpointConfigs(Set<Class<? extends Endpoint>> endpointClasses) {
                                                +        Set endpointConfigs = new HashSet();
                                                +        endpointConfigs.add(
                                                +            ServerEndpointConfig.Builder.create(EchoEndpoint.class, "/echo")
                                                +            .extensions(Arrays.asList(new CryptoExtension())).build()
                                                +        );
                                                +        return endpointConfigs;
                                                +    }
                                                +
                                                +    @Override
                                                +    public Set<Class<?>> getAnnotatedEndpointClasses(Set<Class<?>> scanned) {
                                                +        // all scanned endpoints will be used.
                                                +        return scanned;
                                                +    }
                                                +}
                                                +
                                                +public class EchoEndpoint extends Endpoint {
                                                +    @Override
                                                +    public void onOpen(Session session, EndpointConfig config) {
                                                +        // ...
                                                +    }
                                                +}

                                                CryptoExtensionApplicationConfig will be found by servlets scanning mechanism and automatically used for + application configuration, no need to add anything (or even have) web.xml.

                                                8.6.2. Per Message Deflate Extension

                                                The original goal of whole extension support was to implement Permessage extension as defined in + draft-ietf-hybi-permessage-compression-15 and we were able to achieve that goal. Well, not completely, current + implementation ignores parameters. But it seems like it does not matter much, it was tested with Chrome and it + works fine. Also it passes newest version of Autobahn test suite, which includes tests for this extension.

                                                see PerMessageDeflateExtension.java (compatible with draft-ietf-hybi-permessage-compression-15, autobahn test suite) and + XWebKitDeflateExtension.java (compatible with Chrome and Firefox – same as previous, just different extension name) +

                                                8.7. Client reconnect

                                                If you need semi-persistent client connection, you can always implement some reconnect logic by yourself, + but Tyrus Client offers useful feature which should be much easier to use. See short sample code:

                                                ClientManager client = ClientManager.createClient();
                                                +ClientManager.ReconnectHandler reconnectHandler = new ClientManager.ReconnectHandler() {
                                                +
                                                +  private int counter = 0;
                                                +
                                                +  @Override
                                                +  public boolean onDisconnect(CloseReason closeReason) {
                                                +    counter++;
                                                +    if (counter <= 3) {
                                                +      System.out.println("### Reconnecting... (reconnect count: " + counter + ")");
                                                +      return true;
                                                +    } else {
                                                +      return false;
                                                +    }
                                                +  }
                                                +
                                                +  @Override
                                                +  public boolean onConnectFailure(Exception exception) {
                                                +    counter++;
                                                +    if (counter <= 3) {
                                                +      System.out.println("### Reconnecting... (reconnect count: " + counter + ") " + exception.getMessage());
                                                +
                                                +      // Thread.sleep(...) or something other "sleep-like" expression can be put here - you might want
                                                +      // to do it here to avoid potential DDoS when you don't limit number of reconnects.
                                                +      return true;
                                                +    } else {
                                                +      return false;
                                                +    }
                                                +  }
                                                +
                                                +  @Override
                                                +  public long getDelay() {
                                                +    return 1;
                                                +  }
                                                +};
                                                +
                                                +client.getProperties().put(ClientProperties.RECONNECT_HANDLER, reconnectHandler);
                                                +
                                                +client.connectToServer(...)

                                                ReconnectHandler contains three methods, onDisconnect, onConnectFailure and getDelay. First will be executed + whenever @OnClose annotated method (or Endpoint.onClose(..)) is executed on client side - this should happen when + established connection is lost for any reason. You can find the reason in methods parameter. Other one, called + onConnectFailure is invoked when client fails to connect to remote endpoint, for example due to temporary network + issue or current high server load. Method getDelay is called after any of previous methods returns true + and the returned value will be used to determine delay before next connection attempt. Default value is 5 seconds.

                                                8.8. Client behind proxy

                                                + Tyrus client supports traversing proxies, but it is Tyrus specific feature and its configuration is shown + in the following code sample: +

                                                +ClientManager client = ClientManager.createClient();
                                                +client.getProperties().put(ClientProperties.PROXY_URI, "http://my.proxy.com:80");
                                                +            

                                                + Value is expected to be proxy URI. Protocol part is currently ignored, but must be present. +

                                                8.9. JDK 7 client

                                                + As has been said in previous chapters both Tyrus client and server were implemented on top of Grizzly NIO framework. + This still remains true, but an alternative Tyrus Websocket client implementation based on Java 7 Asynchronous Channel + API has been available since version 1.6. There are two options how to switch between client implementations. + If you do not mind using Tyrus specific API, the most straightforward way is to use: +

                                                +final ClientManager client = ClientManager.createClient(JdkClientContainer.class.getName());
                                                +            

                                                + You just have to make sure that the dependency on JDK client is included in your project: +

                                                +<dependency>
                                                +  <groupId>org.glassfish.tyrus</groupId>
                                                +  <artifactId>tyrus-container-jdk-client</artifactId>
                                                +  <version>1.19</version>
                                                +</dependency>
                                                +            

                                                + Grizzly client is the default option, so creating a client without any parameters will result in Grizzly client being used. +

                                                + There is also an option how to use JDK client with the standard Websocket API. +

                                                +final WebSocketContainer client = ContainerProvider.getWebSocketContainer();
                                                +            

                                                + The code listed above will scan class path for Websocket client implementations. A slight problem with this + approach is that if there is more than one client on the classpath, the first one discovered will be used. + Therefore if you intend to use JDK client with the standard API, you have to make sure that there is not + a Grizzly client on the classpath as it might be used instead. +

                                                + The main reason why JDK client has been implemented is that it does not have any extra dependencies + except JDK 7 and of course some other Tyrus modules, which makes it considerable more lightweight compared + to Tyrus Grizzly client, which requires 1.4 MB of dependencies. +

                                                + It is also important to note that the JDK client has been implemented in a way similar to Grizzly client + shared container option, which means that there is one thread pool shared among all clients. +

                                                + Proxy configuration for JDK client is the same as for Grizzly client shown above. +

                                                8.9.1. SSL configuration

                                                + Alike in case of Grizzly client, accessing "wss" URLs will cause Tyrus client to pick up whatever keystore + and trust store is actually set for the current JVM instance. However, specifying SSL parameters + to be used with JDK client instance is little different from Grizzly client, because Grizzly client supports + both + SSLEngineConfigurator + end + SSLContextConfigurator + from Grizzly project and + SslEngineConfigurator + and + SslContextConfigurator + from Tyrus project, but JDK client supports only the Tyrus version of these classes. + The following code sample shows an example of some SSL parameters configuration for the JDK client: +

                                                +SslContextConfigurator sslContextConfigurator = new SslContextConfigurator();
                                                +sslContextConfigurator.setTrustStoreFile("...");
                                                +sslContextConfigurator.setTrustStorePassword("...");
                                                +sslContextConfigurator.setTrustStoreType("...");
                                                +sslContextConfigurator.setKeyStoreFile("...");
                                                +sslContextConfigurator.setKeyStorePassword("...");
                                                +sslContextConfigurator.setKeyStoreType("...");
                                                +SslEngineConfigurator sslEngineConfigurator = new SslEngineConfigurator(sslContextConfigurator, true, false, false);
                                                +
                                                +client.getProperties().put(ClientProperties.SSL_ENGINE_CONFIGURATOR, sslEngineConfigurator);
                                                +                

                                                +

                                                8.10. Tracing support

                                                + Apart from logging, Tyrus supports another useful means for debugging and diagnosing a deployed application which will + be referred to as tracing on the following lines. Tracing consists of including vital information about handshake + handling into a handshake response. The provided information includes among other things an insight into how Tyrus matches + handshake request URI against the URI of the deployed endpoints and how the best matching endpoint is selected. + The tracing information is included in a handshake response as a content of HTTP headers with + X-Tyrus-Tracing- as the header names prefix. + All the tracing information will also be available in the server log if the appropriate logging level is set. + If it is still unclear, how Tyrus tracing works, please refer to the subsection with title Tracing Examples. +

                                                8.10.1. Configuration

                                                + Tracing support is disabled by default. You can enable it either "globally" for all application handshake requests + or selectively per handshake request. The tracing support activation is controlled by setting the + org.glassfish.tyrus.server.tracingType configuration property. The property value is expected to be one of the following: + +

                                                • OFF - tracing support is disabled (default value).

                                                • ON_DEMAND - tracing support is in a stand-by mode; it is enabled selectively per handshake, via a special + X-Tyrus-Tracing-Accept HTTP header in a handshake request.

                                                • ALL - tracing support is enabled for all handshake requests.

                                                + + The level of detail of the information provided by Tyrus tracing facility - the tracing threshold - can be customized. + The tracing threshold can be set at the application level via org.glassfish.tyrus.server.tracingThreshold + application configuration property in both Glassfish and Grizzly as will be shown in the following samples, + or at a request level, via X-Tyrus-Tracing-Threshold HTTP header in a handshake request. The request-level configuration + overrides any application level setting. There are 2 supported levels of detail for Tyrus tracing: + +

                                                • SUMMARY - very basic summary information about handshake processing

                                                • TRACE - detailed information about handshake processing (default threshold value).

                                                +

                                                8.10.1.1. Global configuration examples

                                                + As has been already said, tracing is disabled by default. The following code sample shows, how ON_DEMAND tracing with + level set to SUMMARY can be enabled on Grizzly server: +

                                                +                            serverProperties.put(TyrusWebSocketEngine.TRACING_TYPE, ON_DEMAND);
                                                +                            serverProperties.put(TyrusWebSocketEngine.TRACING_THRESHOLD, SUMMARY);
                                                +                        

                                                + Similarly ALL tracing with level set to TRACE (the default) can be enabled on Glassfish server in web.xml: +

                                                <web-app version="2.5" xmlns="http://java.sun.com/xml/ns/javaee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
                                                +                xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd">
                                                +
                                                +    <context-param>
                                                +        <param-name>org.glassfish.tyrus.server.tracingType</param-name>
                                                +        <param-value>ALL</param-value>
                                                +    </context-param>
                                                +</web-app>

                                                + + It has been also already mentioned that the tracing threshold configured on application level can be overridden per handshake request as + will be shown in the following section. +

                                                8.10.1.2. Configuring tracing via handshake request headers

                                                + Whenever the tracing support is active (ON_DEMAND or ALL) you can customize the tracing behaviour by including one or more of the following request HTTP headers + in the individual handshake requests: + +

                                                • X-Tyrus-Tracing-Accept - used to enable the tracing support for the particular request. It is applied only when the application-level tracing support is configured to + ON_DEMAND mode. The value of the header is not used by the Tyrus tracing facility and as such it can be any arbitrary (even empty) string.

                                                • X-Tyrus-Tracing-Threshold - used to override the tracing threshold. Allowed values are: SUMMARY, TRACE.

                                                +

                                                8.10.2. Tracing Examples

                                                + An example of a handshake request to a server in ON_DEMAND tracing mode requesting SUMMARY tracing information: +

                                                  1 GET /endpoint/b HTTP/1.1
                                                +  2 Connection: Upgrade
                                                +  3 Host: localhost:8025
                                                +  4 Origin: localhost:8025
                                                +  5 Sec-WebSocket-Key: YrFldD8nhRW+6hJ2K/TMqw==
                                                +  6 Sec-WebSocket-Version: 13
                                                +  7 Upgrade: websocket
                                                +  8 X-Tyrus-Tracing-Accept: Whatever
                                                +  9 X-Tyrus-Tracing-Threshold: SUMMARY

                                                + An example of a possible response to the request above: +

                                                  1 HTTP/1.1 404 Not found
                                                +  2 x-tyrus-tracing-00 : [0 ms] Matching request URI /samples-debug/endpoint/b against /samples-debug/endpoint/{a}/b
                                                +  3 x-tyrus-tracing-01 : [0 ms] URIs /samples-debug/endpoint/b and /samples-debug/endpoint/{a}/b have different length
                                                +  4 x-tyrus-tracing-02 : [0 ms] Matching request URI /samples-debug/endpoint/b against /samples-debug/endpoint/{a}/{b}
                                                +  5 x-tyrus-tracing-03 : [0 ms] URIs /samples-debug/endpoint/b and /samples-debug/endpoint/{a}/{b} have different length
                                                +  6 x-tyrus-tracing-04 : [0 ms] Matching request URI /samples-debug/endpoint/b against /samples-debug/endpoint/a/b
                                                +  7 x-tyrus-tracing-05 : [1 ms] URIs /samples-debug/endpoint/b and /samples-debug/endpoint/a/b have different length
                                                +  8 x-tyrus-tracing-06 : [1 ms] Matching request URI /samples-debug/endpoint/b against /samples-debug/endpoint/a/a
                                                +  9 x-tyrus-tracing-07 : [1 ms] URIs /samples-debug/endpoint/b and /samples-debug/endpoint/a/a have different length
                                                + 10 x-tyrus-tracing-08 : [1 ms] Matching request URI /samples-debug/endpoint/b against /samples-debug/endpoint/a
                                                + 11 x-tyrus-tracing-09 : [1 ms] Segment "a" does not match
                                                + 12 x-tyrus-tracing-10 : [1 ms] Matching request URI /samples-debug/endpoint/b against /samples-debug/endpoint/a/{b}
                                                + 13 x-tyrus-tracing-11 : [1 ms] URIs /samples-debug/endpoint/b and /samples-debug/endpoint/a/{b} have different length
                                                + 14 x-tyrus-tracing-12 : [3 ms] Endpoints matched to the request URI: []

                                                + The time in the square brackets in the sample above is the time since the handshake request has been received. +

                                                + An example of a possible handshake response from a server in ALL tracing mode with tracing threshold set to TRACE: +

                                                  1 HTTP/1.1 101
                                                +  2 connection: Upgrade
                                                +  3 sec-websocket-accept: C8/QbF4Mx9sX31sihUcnI19yqto=
                                                +  4 upgrade: websocket
                                                +  5 x-tyrus-tracing-00 : [0 ms] Matching request URI /samples-debug/endpoint/a/b against /samples-debug/endpoint/{a}/b
                                                +  6 x-tyrus-tracing-01 : [0 ms] Matching request URI /samples-debug/endpoint/a/b against /samples-debug/endpoint/{a}/{b}
                                                +  7 x-tyrus-tracing-02 : [0 ms] Matching request URI /samples-debug/endpoint/a/b against /samples-debug/endpoint/a/b
                                                +  8 x-tyrus-tracing-03 : [1 ms] Matching request URI /samples-debug/endpoint/a/b against /samples-debug/endpoint/a/a
                                                +  9 x-tyrus-tracing-04 : [1 ms] Segment "a" does not match
                                                + 10 x-tyrus-tracing-05 : [1 ms] Matching request URI /samples-debug/endpoint/a/b against /samples-debug/endpoint/a
                                                + 11 x-tyrus-tracing-06 : [1 ms] URIs /samples-debug/endpoint/a/b and /samples-debug/endpoint/a have different length
                                                + 12 x-tyrus-tracing-07 : [1 ms] Matching request URI /samples-debug/endpoint/a/b against /samples-debug/endpoint/a/{b}
                                                + 13 x-tyrus-tracing-08 : [3 ms] Choosing better match from /samples-debug/endpoint/{a}/b and /samples-debug/endpoint/a/b
                                                + 14 x-tyrus-tracing-09 : [3 ms] /samples-debug/endpoint/a/b is an exact match
                                                + 15 x-tyrus-tracing-10 : [3 ms] Choosing better match from /samples-debug/endpoint/a/{b} and /samples-debug/endpoint/{a}/b
                                                + 16 x-tyrus-tracing-11 : [3 ms] /samples-debug/endpoint/a/{b} is a  better match, because it has longer exact path
                                                + 17 x-tyrus-tracing-12 : [3 ms] Choosing better match from /samples-debug/endpoint/a/{b} and /samples-debug/endpoint/{a}/b
                                                + 18 x-tyrus-tracing-13 : [3 ms] /samples-debug/endpoint/a/{b} is a  better match, because it has longer exact path
                                                + 19 x-tyrus-tracing-14 : [3 ms] Choosing better match from /samples-debug/endpoint/a/{b} and /samples-debug/endpoint/a/b
                                                + 20 x-tyrus-tracing-15 : [3 ms] /samples-debug/endpoint/a/b is an exact match
                                                + 21 x-tyrus-tracing-16 : [3 ms] Choosing better match from /samples-debug/endpoint/{a}/{b} and /samples-debug/endpoint/a/{b}
                                                + 22 x-tyrus-tracing-17 : [4 ms] /samples-debug/endpoint/a/{b} is a  better match, because it has longer exact path
                                                + 23 x-tyrus-tracing-18 : [4 ms] Choosing better match from /samples-debug/endpoint/{a}/{b} and /samples-debug/endpoint/{a}/b
                                                + 24 x-tyrus-tracing-19 : [4 ms] /samples-debug/endpoint/{a}/b is a  better match, because /samples-debug/endpoint/{a}/{b} has more variables
                                                + 25 x-tyrus-tracing-20 : [4 ms] Endpoints matched to the request URI: [/samples-debug/endpoint/a/b, /samples-debug/endpoint/a/{b}, /samples-debug/endpoint/{a}/b, /samples-debug/endpoint/{a}/{b}]
                                                + 26 x-tyrus-tracing-21 : [4 ms] Endpoint selected as a match to the handshake URI: /samples-debug/endpoint/a/b 

                                                +

                                                8.11. Client handshake request and response logging

                                                + Tyrus client offers a possibility, how to enable printing of handshake requests and responses to standard output without having to configure Java logging, + which is essential when debugging a misbehaving websocket application. This feature is particularly useful with tracing enabled. The following sample shows, + how the handshake logging can be enabled: +

                                                +                ClientManager client = ClientManager.createClient();
                                                +                client.getProperties().put(ClientProperties.LOG_HTTP_UPGRADE, true);
                                                +            

                                                +

                                                8.12. JMX Monitoring

                                                + Tyrus allows monitoring and accessing some runtime properties and metrics at the server side using JMX (Java management extension technology). + The monitoring API has been available since version 1.6 and the following properties are available at runtime + through MXBeans. Number of open sessions, maximal number of open session since the start of monitoring and + list of deployed endpoint class names and paths are available for each application. Endpoint class name and path + the endpoint is registered on, number of open session and maximal number of open sessions are available for each + endpoint. Apart from that message as well as error statistics are collected both per application and per individual endpoint. +

                                                + The following message statistics are monitored for both sent and received messages: +

                                                • messages count

                                                • messages count per second

                                                • average message size

                                                • smallest message size

                                                • largest message size

                                                + Moreover all of them are collected separately for text, binary and control messages and apart from the statistics being available + for the three separate categories, total numbers summing up statistics from the three types of messages are also available. +

                                                + As has been already mentioned above, Tyrus also monitors errors on both application and endpoint level. + An error is identified by the Throwable class name that has been thrown. Statistics are collected about number of times each + Throwable has been thrown, so a list of errors together with a number of times each error occurred is available on both application and endpoint level. + The monitored errors correspond to invocation of @OnError method on an annotated endpoint or its equivalent on a programmatic endpoint + (The invocation of @OnError method is just an analogy and an error will be monitored even if no @OnError method is provided on the endpoint). + Errors that occur in @OnOpen, @OnClose methods and methods handling incoming messages are monitored. Errors that occurred during handshake + will not be among the monitored errors. +

                                                + The collected metrics as well as the endpoint properties mentioned above are accessible at runtime through Tyrus MXBeans. + As has been already mention the information is available on both application and endpoint level with each application + or endpoint being represented with four MXBeans. One of those MXBeans contains total message statistics for both sent and received + messages as well as any properties specific for applications or endpoints such as endpoint path in the case of an endpoint. + The other three MXBeans contain information about sent and received text, binary and control messages. +

                                                + When a user connects to a tyrus application MBean server using an JMX client such as JConsole, they will see + the following structure: +

                                                • + Application 1 - MXBean containing a list of deployed endpoint class names and paths, number of open sessions, + maximal number of open sessions, error and total message statistics for the application. +

                                                  • + message statistics - a directory containing message statistics MXBeans +

                                                    • + text - MXBean containing text message statistics +

                                                    • + binary - MXBean containing binary message statistics +

                                                    • + control - MXBean containing control message statistics +

                                                  • + endpoints - a directory containing application endpoint MXBeans +

                                                    • + Endpoint 1 - MXBean containing Endpoint 1 class name and path, number of open sessions, + maximal number of open sessions, error and total message statistics for the endpoint. +

                                                      • + text - MXBean containing text message statistics +

                                                      • + binary - MXBean containing binary message statistics +

                                                      • + control - MXBean containing control message statistics +

                                                    • + Endpoint 2 +

                                                • + Application 2 +

                                                +

                                                + In fact the monitoring structure described above was a little bit simplistic, because there is an additional + monitoring level available, which causes message metrics being also available per session. + The monitoring structure is very similar to the one described above, with a small difference that there are + four MXBeans registered for each session, which contain text, binary, control and total message statistics. + In order to distinguish the two monitoring levels, they will be referred to as endpoint-level monitoring + and session-level monitoring. +

                                                8.12.1. Configuration

                                                + As has been already mentioned, monitoring is supported only on the server side and is disabled by default. + The following code sample shows, how endpoint-level monitoring can be enabled on Grizzly server: +

                                                +serverProperties.put(ApplicationEventListener.APPLICATION_EVENT_LISTENER, new SessionlessApplicationMonitor());
                                                +                

                                                + Similarly endpoint-level monitoring can be enabled on Grizzly server in the following way: +

                                                +serverProperties.put(ApplicationEventListener.APPLICATION_EVENT_LISTENER, new SessionAwareApplicationMonitor());
                                                +                

                                                + Monitoring can be configured on Glassfish in web.xml and the following code sample shows endpoint-level configuration: +

                                                <web-app version="2.5" xmlns="http://java.sun.com/xml/ns/javaee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
                                                +                    xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd">
                                                +
                                                +    <context-param>
                                                +        <param-name>org.glassfish.tyrus.core.monitoring.ApplicationEventListener</param-name>
                                                +        <param-value>org.glassfish.tyrus.ext.monitoring.jmx.SessionlessApplicationMonitor</param-value>
                                                +    </context-param>
                                                +</web-app>
                                                +                

                                                + Similarly session-level monitoring can be configured on Glassfish in web.xml in the following way: +

                                                <web-app version="2.5" xmlns="http://java.sun.com/xml/ns/javaee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
                                                +                    xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd">
                                                +
                                                +    <context-param>
                                                +        <param-name>org.glassfish.tyrus.core.monitoring.ApplicationEventListener</param-name>
                                                +        <param-value>org.glassfish.tyrus.ext.monitoring.jmx.SessionAwareApplicationMonitor</param-value>
                                                +    </context-param>
                                                +</web-app>
                                                +                

                                                +

                                                8.13. Maximal number of open sessions on server-side

                                                + Tyrus offers a few ways to limit the number of open sessions, which can be used to save limited resources + on a server hosting system. The limits can be configured in several scopes: +

                                                • per whole application
                                                • per endpoint
                                                • per remote address (client IP address)

                                                + If the number of simultaneously opened sessions exceeds any of these limits, Tyrus will close the session + with close code 1013 - Try Again Later. +

                                                + Limits mentioned above can be combined together. For example, let's say we have + an application with two endpoints. Overall limit per application will be 1000 open sessions and the first + one, non-critical endpoint, will be limited to 75 open sessions at maximum. So we know that the second + endpoint can handle 925-1000 opened sessions, depends on how many open sessions are connected to + the first endpoint (0-75). +

                                                8.13.1. Maximal number of open sessions per application

                                                + This configuration property can be used to limit overall number of open sessions per whole application. + The main purpose of this configurable limit is to restrict how many resources the application can + consume. +

                                                + The number of open sessions per whole application can be configured by setting property + org.glassfish.tyrus.maxSessionsPerApp. Property can be used as + <context-param> + in + web.xml + or as an entry in parameter map in (standalone) Server properties. +

                                                + Note that only positive integer is allowed. +

                                                This example will set maximal number of open sessions per whole application to 500:

                                                +
                                                +<web-app version="2.5" xmlns="http://java.sun.com/xml/ns/javaee"
                                                +        xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
                                                +         xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd">
                                                +    <context-param>
                                                +        <param-name>org.glassfish.tyrus.maxSessionsPerApp</param-name>
                                                +        <param-value>500</param-value>
                                                +    </context-param>
                                                +</web-app>
                                                +
                                                +            

                                                8.13.2. Maximal number of open sessions per remote address

                                                + The number of open sessions per remote address can be configured by setting property + org.glassfish.tyrus.maxSessionsPerRemoteAddr. Property can be used as + <context-param> + in + web.xml + or as an entry in parameter map in (standalone) Server properties. +

                                                + Remote address + value is obtained from + + ServletRequest#getRemoteAddr() + + or its alternative when using Grizzly server implementation. + Beware that this method returns always the last node which sending HTTP request, so all clients + behind one proxy will be treated as clients from single remote address. +

                                                + Note that only positive integer is allowed. +

                                                This example will set maximal number of open sessions from unique IP address or last proxy to 5: +

                                                +                
                                                +<web-app version="2.5" xmlns="http://java.sun.com/xml/ns/javaee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
                                                +         xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd">
                                                +    <context-param>
                                                +        <param-name>org.glassfish.tyrus.maxSessionsPerRemoteAddr</param-name>
                                                +        <param-value>5</param-value>
                                                +    </context-param>
                                                +</web-app>
                                                +
                                                +            

                                                8.13.3. Maximal number of open sessions per endpoint

                                                + Set maximum number of sessions in annotated endpoint: +

                                                +import javax.websocket.OnOpen;
                                                +import javax.websocket.Session;
                                                +import javax.websocket.server.ServerEndpoint;
                                                +
                                                +import org.glassfish.tyrus.core.MaxSessions;
                                                +
                                                +/**
                                                + * Annotated endpoint.
                                                + */
                                                +@MaxSessions(100)
                                                +@ServerEndpoint(value = "/limited-sessions-endpoint")
                                                +public static class LimitedSessionsEndpoint {
                                                +    @OnOpen
                                                +    public void onOpen(Session s) {
                                                +        ...
                                                +    }
                                                +    ...
                                                +}
                                                +                

                                                +

                                                + Set maximum number of sessions for programmatic endpoint: +

                                                +TyrusServerEndpointConfig.Builder.create(LimitedSessionsEndpoint.class,
                                                +  "/limited-sessions-endpoint").maxSessions(100).build();
                                                +                

                                                +

                                                + Note that only positive integer is allowed. +

                                                8.14. Client HTTP Authentication

                                                + For server endpoints which is protected by HTTP authentication, Tyrus provides a mechanism to authenticate + client. + When client receives HTTP response status code401 - Unauthorized, then Tyrus extracts required + scheme from + WWW-Authenticate + challenge. Then it chooses an + authenticator from a map of registered authenticators and uses configuredcredentials. + If no proper authenticator is found or credentials are missing, then + AuthenticationException + is thrown before the handshake can be done. + There are implementations of the two most used authentication schemes in Tyrus: BASIC and DIGEST, but it is + also possible to implement your own authenticator and register it with a configuration builder + org.glassfish.tyrus.client.auth.AuthConfig.Builder + or even to override default BASIC or DIGEST + auth implementations. + If no + org.glassfish.tyrus.client.auth.AuthConfig + client property is set, then default + configuration is used. It is constructed as you can see bellow: BASIC and DIGEST internal implementations + are + enabled by default. +

                                                + Please note that Basic Authentication scheme should be used over HTTPS connection only. +

                                                8.14.1. Credentials

                                                + Credentials are required for both implemented authentication schemes in Tyrus. You can pass an instance + into ClientManager as a property: +

                                                +                    
                                                +  client.getProperties().put(ClientProperties.CREDENTIALS, new Credentials("ws_user", "password".getBytes(AuthConfig.CHARACTER_SET));
                                                +                    
                                                +                

                                                +

                                                8.14.2. Auth Configuration

                                                + org.glassfish.tyrus.client.auth.AuthConfig + provides a way to configure of HTTP authentication schemes. + Creating an instance of + org.glassfish.tyrus.client.auth.AuthConfig + is optional. + If you don't specify AuthConfig, then default instance will be created like in following code listing +

                                                +

                                                +                    
                                                +  AuthConfig authConfig = AuthConfig.Builder.create().build();
                                                +  ClientManager client = ClientManager.createClient();
                                                +  client.getProperties().put(ClientProperties.AUTH_CONFIG, authConfig);
                                                +                    
                                                +                

                                                +

                                                + If authentication is required after an initial upgrade request, Tyrus chooses a proper authentication + scheme based on a received challenge from server. There are two HTTP authentication scheme implemented + and registered + by default. +

                                                8.14.3. User defined authenticator

                                                + Tyrus provides an option to implement your own client HTTP authenticator by extending + org.glassfish.tyrus.client.auth.Authenticator + and implementinggenerateAuthorizationHeader. + Request URI, + WWW-Authenticate + response header and provided + Credentials + are + passed as parameters. Method must return response to authentication challenge as it is required by HTTP + server. + An instance of the implemented class must be passed to the Tyrus configuration with + org.glassfish.tyrus.client.auth.AuthConfig.Builder#setAuthScheme(String scheme, Authenticator + userDefinedAuthenticator) + + and created + AuthConfig + instance must be put into client properties. +

                                                Authenticator.java

                                                +                
                                                +package org.glassfish.tyrus.client;
                                                +
                                                +import java.net.URI;
                                                +
                                                +/**
                                                + * Http Authentication provider.
                                                + * Class generates authorization token as a input for {@code Authorization} HTTP request header.
                                                + *
                                                + * @author Ondrej Kosatka (ondrej.kosatka at oracle.com)
                                                + */
                                                +public abstract class Authenticator {
                                                +
                                                +    /**
                                                +     * Generates authorization tokens as a input for {@code Authorization} HTTP request header.
                                                +     * @param uri URI is needed for generating authorization tokens for some authentication scheme (DIGEST: {@link DigestAuthenticator})
                                                +     * @param wwwAuthenticateHeader a value of header {@code WWW-Authenticate} from HTTP response.
                                                +     * @param credentials credentials.
                                                +     * @return generated {@link String} value of {@code Authorization}.
                                                +     * @throws AuthenticationException if is not possible to create auth token.
                                                +     */
                                                +    public abstract String generateAuthorizationHeader(final URI uri, final String wwwAuthenticateHeader, final Credentials credentials) throws AuthenticationException;
                                                +
                                                +}
                                                +                
                                                +            

                                                8.14.4. Examples

                                                + The simplest way to setup Tyrus authentication is by adding client property + ClientProperties.CREDENTIALS +

                                                +                    
                                                +  client.getProperties().put(ClientProperties.CREDENTIALS, new Credentials("ws_user", "password");
                                                +                    
                                                +                

                                                +

                                                + How to configure Tyrus with suppressing Basic authentication, even if server side challenges Basic + authentication scheme. +

                                                +                    
                                                +  AuthConfig authConfig = AuthConfig.Builder.create().
                                                +                               disableBasicAuth().
                                                +                               build();
                                                +  Credentials credentials = new Credentials("ws_user", "password");
                                                +  client.getProperties().put(ClientProperties.AUTH_CONFIG, authConfig);
                                                +  client.getProperties().put(ClientProperties.CREDENTIALS, credentials);
                                                +                    
                                                +                

                                                +

                                                + How to configure Tyrus using user defined DIGEST authentication and Tyrus Basic authentication. User + defined + authentication provider + MyOwnDigestAuthenticator + must extendorg.glassfish.tyrus.client.auth.Authenticator. +

                                                +                    
                                                +  AuthConfig authConfig = AuthConfig.Builder.create().
                                                +                               putAuthProvider("Digest", new MyOwnDigestAuthenticator()).
                                                +                               build();
                                                +  Credentials credentials = new Credentials("ws_user", "password");
                                                +  client.getProperties().put(ClientProperties.AUTH_CONFIG, authConfig);
                                                +  client.getProperties().put(ClientProperties.CREDENTIALS, credentials);
                                                +                
                                                +                

                                                +

                                                + How to configure Tyrus using user defined NTLM authentication and suppress Tyrus Basic authentication, + even if server side challenges Basic authentication scheme.. User defined + authentication provider + MyOwnNTLMAuthenticator + must extendorg.glassfish.tyrus.client.auth.Authenticator. +

                                                +                    
                                                +  AuthConfig authConfig = AuthConfig.Builder.create().
                                                +                               disableBasicAuth().
                                                +                               putAuthProvider("NTLM", new MyOwnNTLMAuthenticator()).
                                                +                               build();
                                                +  Credentials credentials = new Credentials("ws_user", "password");
                                                +  client.getProperties().put(ClientProperties.AUTH_CONFIG, authConfig);
                                                +  client.getProperties().put(ClientProperties.CREDENTIALS, credentials);
                                                +                
                                                +                

                                                +

                                                8.15. Client HTTP Redirect

                                                + Another Tyrus feature is HTTP redirect. If client received 3xx HTTP Redirect response code during a + handshake and HTTP Redirect is allowed (by ClientProperty.REDIRECT_ENABLED + property) then client engine transparently follows the URI contained in received HTTP response header + Location and sends upgrade request to the new URI. Redirects can be chained up to limit set in + ClientProperty.REDIRECT_THRESHOLD, whilst default value is 5. + If HTTP redirect failed by any reason, RedirectException is thrown. +

                                                8.15.1. Supported HTTP response codes

                                                + List of 3xx HTTP response codes which can be automatically redirect +

                                                • 300 - Multiple Choices

                                                • 301 - Moved permanently

                                                • 302 - Found

                                                • 303 - See Other (since HTTP/1.1)

                                                • 307 - Temporary Redirect (since HTTP/1.1)

                                                • 308 - Permanent Redirect (Experimental RFC; RFC 7238)

                                                +

                                                8.15.2. Configuration

                                                8.15.2.1. Enabling

                                                + For enabling HTTP Redirect feature, ClientProperty.REDIRECT_ENABLED must be explicitly set to + true (default value isfalse), otherwise RedirectException + will be thrown, when any of supported HTTP Redirect response codes (see above). +

                                                +                    client.getProperties().put(ClientProperties.REDIRECT_ENABLED, true);
                                                +                

                                                8.15.2.2. Threshold

                                                + ClientProperty.REDIRECT_THRESHOLD is property which can be used to limit maximal + number of chained redirect. Positive integer is expected and default value is 5. +

                                                +                    client.getProperties().put(ClientProperties.REDIRECT_THRESHOLD, 3);
                                                +                

                                                8.15.3. Exception handling

                                                + RedirectException + is set as a cause of DeploymentException when any of the supported Redirection HTTP response + status codes (see above) was received and WebSocketContainer.connectToServer(...) fails + because of any of the following reasons: +

                                                • + ClientProperties.REDIRECT_ENABLED property is not set to true. +

                                                • + Value of ClientProperties.REDIRECT_THRESHOLD is not assignable to Integer. +

                                                • + Number of chained redirection exceeds a value of ClientProperties.REDIRECT_THRESHOLD + (default value is 5). +

                                                • Infinite redirection loop is detected.

                                                • + Location response header is missing, is empty or does not contain a valid URI. +

                                                +

                                                8.16. Client support for HTTP status 503 - Service Unavailable with Retry-After header

                                                + Tyrus offers automatic handling of HTTP status code 503 - Service Unavailable, which can be + returned from server when temporarily overloaded or down for maintenance. When Retry-After + header is included in the response, client will parse the value and schedule another reconnect attempt. +

                                                This feature is disabled by default.

                                                + The implementation limits connection attempts to 5, each with reconnect delay not bigger than 300 + seconds. Other values or conditions can be handled by custom ReconnectHandler + (see RetryAfterException). +

                                                8.16.1. Configuration

                                                +

                                                +                    
                                                +            final ClientManager client = ClientManager.createClient();
                                                +            client.getProperties().put(ClientProperties.RETRY_AFTER_SERVICE_UNAVAILABLE, true);
                                                +

                                                +

                                                \ No newline at end of file diff --git a/documentation/1.19/user-guide.pdf b/documentation/1.19/user-guide.pdf new file mode 100644 index 00000000..83fc43dc Binary files /dev/null and b/documentation/1.19/user-guide.pdf differ diff --git a/documentation/latest1x/index/configurations.html b/documentation/latest1x/index/configurations.html index bd468c27..3698c414 100644 --- a/documentation/latest1x/index/configurations.html +++ b/documentation/latest1x/index/configurations.html @@ -1,6 +1,6 @@ - Chapter 5. Configurations

                                                Chapter 5. Configurations

                                                + Chapter 5. Configurations

                                                Chapter 5. Configurations

                                                javax.websocket.server.ServerEndpointConfig and javax.websocket.ClientEndpointConfig objects are used to provide the user the ability to configure websocket endpoints. Both server and client endpoints have some part of configuration in common, namely encoders, decoders, and user properties. The user properties may developers diff --git a/documentation/latest1x/index/deployment.html b/documentation/latest1x/index/deployment.html index f74905cd..2957ba9a 100644 --- a/documentation/latest1x/index/deployment.html +++ b/documentation/latest1x/index/deployment.html @@ -1,6 +1,6 @@ - Chapter 3. Deploying WebSocket Endpoints

                                                Chapter 3. Deploying WebSocket Endpoints

                                                + Chapter 3. Deploying WebSocket Endpoints

                                                Chapter 3. Deploying WebSocket Endpoints

                                                Deploying WebSocket endpoints can be done in two ways. Either deploying via putting the endpoint in the WAR file, or using the ServerContainer methods to deploy the programmatic endpoint in the deployment phase.

                                                3.1. Deploying Endpoints as a WAR file

                                                diff --git a/documentation/latest1x/index/getting-started.html b/documentation/latest1x/index/getting-started.html index cf9e0bf6..124f5575 100644 --- a/documentation/latest1x/index/getting-started.html +++ b/documentation/latest1x/index/getting-started.html @@ -1,6 +1,6 @@ - Chapter 1. Getting Started

                                                Chapter 1. Getting Started

                                                + Chapter 1. Getting Started

                                                Chapter 1. Getting Started

                                                This chapter provides a quick introduction on how to get started building WebSocket services using Java API for WebSocket and Tyrus. The example described here presents how to implement simple websocket service as JavaEE web application that can be deployed on any servlet container @@ -135,13 +135,13 @@ public class EchoEndpointAnnotated {

                                                <dependency>
                                                     <groupId>org.glassfish.tyrus</groupId>
                                                     <artifactId>tyrus-server</artifactId>
                                                -    <version>1.18</version>
                                                +    <version>1.19</version>
                                                 </dependency>
                                                 
                                                 <dependency>
                                                     <groupId>org.glassfish.tyrus</groupId>
                                                     <artifactId>tyrus-container-grizzly-server</artifactId>
                                                -    <version>1.18</version>
                                                +    <version>1.19</version>
                                                 </dependency>

                                                Let's use the very same example like for Java API for WebSocket and deploy the EchoEndpointAnnotated on the diff --git a/documentation/latest1x/index/index.html b/documentation/latest1x/index/index.html index daaa79cc..e50be9e2 100644 --- a/documentation/latest1x/index/index.html +++ b/documentation/latest1x/index/index.html @@ -1,6 +1,6 @@ - Tyrus 1.18 User Guide

                                                Tyrus 1.18 User Guide


                                                Table of Contents

                                                Preface
                                                1. Getting Started
                                                1.1. WebSocket Services Using Java API for WebSocket
                                                1.1.1. Creating Annotated Server Endpoint
                                                1.1.2. Client Endpoint
                                                1.1.3. Creating Server Endpoint Programmatically
                                                1.1.4. Tyrus in Standalone Mode
                                                2. Tyrus Modules and Dependencies
                                                3. Deploying WebSocket Endpoints
                                                3.1. Deploying Endpoints as a WAR file
                                                3.1.1. Deployment Algorithm
                                                3.2. Deploying endpoints via javax.websocket.server.ServerContainer
                                                4. WebSocket API Endpoints, Sessions and MessageHandlers
                                                4.1. Endpoint Classes
                                                4.1.1. javax.websocket.server.ServerEndpoint
                                                4.1.2. javax.websocket.ClientEndpoint
                                                4.2. Endpoint method-level annotations
                                                4.2.1. @OnOpen
                                                4.2.2. @OnClose
                                                4.2.3. @OnError
                                                4.2.4. @OnMessage
                                                4.3. MessageHandlers
                                                5. Configurations
                                                5.1. javax.websocket.server.ServerEndpointConfig
                                                5.2. javax.websocket.ClientEndpointConfig
                                                6. Endpoint Lifecycle, Sessions, Sending Messages
                                                6.1. Endpoint Lifecycle
                                                6.2. javax.websocket.Session
                                                6.3. Sending Messages
                                                6.4. RemoteEndpoint
                                                6.4.1. javax.websocket.RemoteEndpoint.Basic
                                                6.4.2. javax.websocket.RemoteEndpoint.Async
                                                7. Injection Support
                                                7.1. javax.inject.Inject sample
                                                7.2. EJB sample
                                                8. Tyrus proprietary configuration
                                                8.1. Client-side SSL configuration
                                                8.1.1. Host verification
                                                8.2. Asynchronous connectToServer methods
                                                8.3. Optimized broadcast
                                                8.4. Incoming buffer size
                                                8.5. Shared client container
                                                8.5.1. Custom masking key generator
                                                8.6. WebSocket Extensions
                                                8.6.1. ExtendedExtension sample
                                                8.6.2. Per Message Deflate Extension
                                                8.7. Client reconnect
                                                8.8. Client behind proxy
                                                8.9. JDK 7 client
                                                8.9.1. SSL configuration
                                                8.10. Tracing support
                                                8.10.1. Configuration
                                                8.10.2. Tracing Examples
                                                8.11. Client handshake request and response logging
                                                8.12. JMX Monitoring
                                                8.12.1. Configuration
                                                8.13. Maximal number of open sessions on server-side
                                                8.13.1. Maximal number of open sessions per application
                                                8.13.2. Maximal number of open sessions per remote address
                                                8.13.3. Maximal number of open sessions per endpoint
                                                8.14. Client HTTP Authentication
                                                8.14.1. Credentials
                                                8.14.2. Auth Configuration
                                                8.14.3. User defined authenticator
                                                8.14.4. Examples
                                                8.15. Client HTTP Redirect
                                                8.15.1. Supported HTTP response codes
                                                8.15.2. Configuration
                                                8.15.3. Exception handling
                                                8.16. Client support for HTTP status 503 - Service Unavailable with Retry-After header
                                                8.16.1. Configuration

                                                List of Tables

                                                2.1. Tyrus core modules
                                                2.2. Tyrus containers
                                                \ No newline at end of file +
                                                \ No newline at end of file diff --git a/documentation/latest1x/index/tyrus-proprietary-config.html b/documentation/latest1x/index/tyrus-proprietary-config.html index 1508a0b2..34a9c2ae 100644 --- a/documentation/latest1x/index/tyrus-proprietary-config.html +++ b/documentation/latest1x/index/tyrus-proprietary-config.html @@ -1,11 +1,11 @@ - Chapter 8. Tyrus proprietary configuration

                                                Chapter 8. Tyrus proprietary configuration

                                                Following settings do have influence on Tyrus behaviour and are NOT part of WebSocket + Chapter 8. Tyrus proprietary configuration

                                                Chapter 8. Tyrus proprietary configuration

                                                Following settings do have influence on Tyrus behaviour and are NOT part of WebSocket specification. If you are using following configurable options, your application might not be easily transferable to other WebSocket API implementation.

                                                8.1. Client-side SSL configuration

                                                When accessing "wss" URLs, Tyrus client will pick up whatever keystore and truststore is actually set for current JVM instance, but that might not be always convenient. WebSocket API does not have this feature (yet, see WEBSOCKET_SPEC-210), so Tyrus exposed two SSL configuration classes SSLEngineConfigurator - and SslEngineConfigurator + and SslEngineConfigurator , which can be used for specifying all SSL parameters to be used with current client instance. The former configuration class belongs to Grizzly configuration API and therefore works only with Grizzly client. The latter configuration class works with both Grizzly and JDK client and offers some extensions over the Grizzly SSLEngineConfigurator @@ -13,7 +13,7 @@ please refer to the following subsection dealing with host verification. Additionally, WebSocket API does not have anything like a client, only WebSocketContainer and it does not have any properties, so you need to use Tyrus specific class - - ClientManager.

                                                final ClientManager client = ClientManager.createClient();
                                                +            ClientManager.

                                                final ClientManager client = ClientManager.createClient();
                                                 
                                                 System.getProperties().put("javax.net.debug", "all");
                                                 System.getProperties().put(SSLContextConfigurator.KEY_STORE_FILE, "...");
                                                @@ -51,7 +51,7 @@ client.connectToServer(... , ClientEndpointConfig.Builder.create().build(),
                                                                 to note that Grizzly specific
                                                                 SSLEngineConfigurator
                                                                 does not provide these options and for modifying the default host name verification policy
                                                -                SslEngineConfigurator
                                                +                SslEngineConfigurator
                                                                 must be used instead. The following sample shows how to disable host name verification:
                                                                 

                                                SslEngineConfigurator sslEngineConfigurator = new SslEngineConfigurator(new SslContextConfigurator());
                                                 sslEngineConfigurator.setHostVerificationEnabled(false)
                                                @@ -405,7 +405,7 @@ final ClientManager client = ClientManager.createClient(JdkClientContainer.class
                                                 <dependency>
                                                   <groupId>org.glassfish.tyrus</groupId>
                                                   <artifactId>tyrus-container-jdk-client</artifactId>
                                                -  <version>1.18</version>
                                                +  <version>1.19</version>
                                                 </dependency>
                                                             

                                                Grizzly client is the default option, so creating a client without any parameters will result in Grizzly client being used. @@ -436,9 +436,9 @@ final WebSocketContainer client = ContainerProvider.getWebSocketContainer(); end SSLContextConfigurator from Grizzly project and - SslEngineConfigurator + SslEngineConfigurator and - SslContextConfigurator + SslContextConfigurator from Tyrus project, but JDK client supports only the Tyrus version of these classes. The following code sample shows an example of some SSL parameters configuration for the JDK client:

                                                diff --git a/documentation/latest1x/index/websocket-api.html b/documentation/latest1x/index/websocket-api.html
                                                index c0203a12..0e28d9e2 100644
                                                --- a/documentation/latest1x/index/websocket-api.html
                                                +++ b/documentation/latest1x/index/websocket-api.html
                                                @@ -1,6 +1,6 @@
                                                 
                                                       
                                                -   Chapter 4. WebSocket API Endpoints, Sessions and MessageHandlers

                                                Chapter 4. WebSocket API Endpoints, Sessions and MessageHandlers

                                                This chapter presents an overview of the core WebSocket API concepts - endpoints, configurations and message + Chapter 4. WebSocket API Endpoints, Sessions and MessageHandlers

                                                Chapter 4. WebSocket API Endpoints, Sessions and MessageHandlers

                                                This chapter presents an overview of the core WebSocket API concepts - endpoints, configurations and message handlers.

                                                The JAVA API for WebSocket specification draft can be found online here.

                                                4.1. Endpoint Classes

                                                Server endpoint classes diff --git a/documentation/latest1x/user-guide.fo b/documentation/latest1x/user-guide.fo index 50e261dc..136a1b18 100644 --- a/documentation/latest1x/user-guide.fo +++ b/documentation/latest1x/user-guide.fo @@ -1,5 +1,5 @@ -Tyrus 1.18 User GuideTyrus 1.18 User GuideTyrus 1.18 User GuideTyrus 1.18 User GuideTable of ContentsPreface 1. Getting Started 1.1. WebSocket Services Using Java API for WebSocket 1.1.1. Creating Annotated Server Endpoint 1.1.2. Client Endpoint 1.1.3. Creating Server Endpoint Programmatically 1.1.4. Tyrus in Standalone Mode 2. Tyrus Modules and Dependencies 3. Deploying WebSocket Endpoints 3.1. Deploying Endpoints as a WAR file 3.1.1. Deployment Algorithm 3.2. Deploying endpoints via javax.websocket.server.ServerContainer 4. WebSocket API Endpoints, Sessions and MessageHandlers 4.1. Endpoint Classes 4.1.1. javax.websocket.server.ServerEndpoint 4.1.2. javax.websocket.ClientEndpoint 4.2. Endpoint method-level annotations 4.2.1. @OnOpen 4.2.2. @OnClose 4.2.3. @OnError 4.2.4. @OnMessage 4.3. MessageHandlers 5. Configurations 5.1. javax.websocket.server.ServerEndpointConfig 5.2. javax.websocket.ClientEndpointConfig 6. Endpoint Lifecycle, Sessions, Sending Messages 6.1. Endpoint Lifecycle 6.2. javax.websocket.Session 6.3. Sending Messages 6.4. RemoteEndpoint 6.4.1. javax.websocket.RemoteEndpoint.Basic 6.4.2. javax.websocket.RemoteEndpoint.Async 7. Injection Support 7.1. javax.inject.Inject sample 7.2. EJB sample 8. Tyrus proprietary configuration 8.1. Client-side SSL configuration 8.1.1. Host verification 8.2. Asynchronous connectToServer methods 8.3. Optimized broadcast 8.4. Incoming buffer size 8.5. Shared client container 8.5.1. Custom masking key generator 8.6. WebSocket Extensions 8.6.1. ExtendedExtension sample 8.6.2. Per Message Deflate Extension 8.7. Client reconnect 8.8. Client behind proxy 8.9. JDK 7 client 8.9.1. SSL configuration 8.10. Tracing support 8.10.1. Configuration 8.10.2. Tracing Examples 8.11. Client handshake request and response logging 8.12. JMX Monitoring 8.12.1. Configuration 8.13. Maximal number of open sessions on server-side 8.13.1. Maximal number of open sessions per application 8.13.2. Maximal number of open sessions per remote address 8.13.3. Maximal number of open sessions per endpoint 8.14. Client HTTP Authentication 8.14.1. Credentials 8.14.2. Auth Configuration 8.14.3. User defined authenticator 8.14.4. Examples 8.15. Client HTTP Redirect 8.15.1. Supported HTTP response codes 8.15.2. Configuration 8.15.3. Exception handling 8.16. Client support for HTTP status 503 - Service Unavailable with Retry-After header 8.16.1. Configuration Tyrus 1.18 User GuideTyrus 1.18 User GuideList of Tables2.1. Tyrus core modules 2.2. Tyrus containers Tyrus 1.18 User GuideTyrus 1.18 User GuideList of Examples1.1. Annotated Echo Endpoint 1.2. Client Endpoint 1.3. Programmatic Echo Endpoint 3.1. Deployment of WAR containing several classes extending javax.websocket.server.ServerApplicationConfig 3.2. Deployment of Annotated Endpoint Using ServerContainer 4.1. Echo sample server endpoint. 4.2. javax.websocket.server.ServerEndpoint with all fields specified 4.3. Specifying URI path parameter 4.4. SampleDecoder 4.5. SampleEncoder 4.6. SampleClientEndpoint 4.7. @OnOpen with Session and EndpointConfig parameters. 4.8. @OnClose with Session and CloseReason parameters. 4.9. @OnError with Session and Throwable parameters. 4.10. @OnError with Session and Throwable parameters. 4.11. MessageHandler basic example 5.1. Configuration for EchoEndpoint Deployment 5.2. ServerEndpointConfigu built using Builder 5.3. ClientEndpointConfig built using Builder 6.1. Lifecycle echo sample 6.2. Sending message in @OnMessage 6.3. Sending message via RemoteEndpoint.Basic instance 6.4. Method for sending partial text message 6.5. Sending mesage the async way using Future 7.1. Injecting bean into javax.websocket.server.ServerEndpoint 7.2. Echo sample server endpoint. PrefacePrefacePreface - This is user guide for Tyrus 1.18. We are trying to keep it up to date +Tyrus 1.19 User GuideTyrus 1.19 User GuideTyrus 1.19 User GuideTyrus 1.19 User GuideTable of ContentsPreface 1. Getting Started 1.1. WebSocket Services Using Java API for WebSocket 1.1.1. Creating Annotated Server Endpoint 1.1.2. Client Endpoint 1.1.3. Creating Server Endpoint Programmatically 1.1.4. Tyrus in Standalone Mode 2. Tyrus Modules and Dependencies 3. Deploying WebSocket Endpoints 3.1. Deploying Endpoints as a WAR file 3.1.1. Deployment Algorithm 3.2. Deploying endpoints via javax.websocket.server.ServerContainer 4. WebSocket API Endpoints, Sessions and MessageHandlers 4.1. Endpoint Classes 4.1.1. javax.websocket.server.ServerEndpoint 4.1.2. javax.websocket.ClientEndpoint 4.2. Endpoint method-level annotations 4.2.1. @OnOpen 4.2.2. @OnClose 4.2.3. @OnError 4.2.4. @OnMessage 4.3. MessageHandlers 5. Configurations 5.1. javax.websocket.server.ServerEndpointConfig 5.2. javax.websocket.ClientEndpointConfig 6. Endpoint Lifecycle, Sessions, Sending Messages 6.1. Endpoint Lifecycle 6.2. javax.websocket.Session 6.3. Sending Messages 6.4. RemoteEndpoint 6.4.1. javax.websocket.RemoteEndpoint.Basic 6.4.2. javax.websocket.RemoteEndpoint.Async 7. Injection Support 7.1. javax.inject.Inject sample 7.2. EJB sample 8. Tyrus proprietary configuration 8.1. Client-side SSL configuration 8.1.1. Host verification 8.2. Asynchronous connectToServer methods 8.3. Optimized broadcast 8.4. Incoming buffer size 8.5. Shared client container 8.5.1. Custom masking key generator 8.6. WebSocket Extensions 8.6.1. ExtendedExtension sample 8.6.2. Per Message Deflate Extension 8.7. Client reconnect 8.8. Client behind proxy 8.9. JDK 7 client 8.9.1. SSL configuration 8.10. Tracing support 8.10.1. Configuration 8.10.2. Tracing Examples 8.11. Client handshake request and response logging 8.12. JMX Monitoring 8.12.1. Configuration 8.13. Maximal number of open sessions on server-side 8.13.1. Maximal number of open sessions per application 8.13.2. Maximal number of open sessions per remote address 8.13.3. Maximal number of open sessions per endpoint 8.14. Client HTTP Authentication 8.14.1. Credentials 8.14.2. Auth Configuration 8.14.3. User defined authenticator 8.14.4. Examples 8.15. Client HTTP Redirect 8.15.1. Supported HTTP response codes 8.15.2. Configuration 8.15.3. Exception handling 8.16. Client support for HTTP status 503 - Service Unavailable with Retry-After header 8.16.1. Configuration Tyrus 1.19 User GuideTyrus 1.19 User GuideList of Tables2.1. Tyrus core modules 2.2. Tyrus containers Tyrus 1.19 User GuideTyrus 1.19 User GuideList of Examples1.1. Annotated Echo Endpoint 1.2. Client Endpoint 1.3. Programmatic Echo Endpoint 3.1. Deployment of WAR containing several classes extending javax.websocket.server.ServerApplicationConfig 3.2. Deployment of Annotated Endpoint Using ServerContainer 4.1. Echo sample server endpoint. 4.2. javax.websocket.server.ServerEndpoint with all fields specified 4.3. Specifying URI path parameter 4.4. SampleDecoder 4.5. SampleEncoder 4.6. SampleClientEndpoint 4.7. @OnOpen with Session and EndpointConfig parameters. 4.8. @OnClose with Session and CloseReason parameters. 4.9. @OnError with Session and Throwable parameters. 4.10. @OnError with Session and Throwable parameters. 4.11. MessageHandler basic example 5.1. Configuration for EchoEndpoint Deployment 5.2. ServerEndpointConfigu built using Builder 5.3. ClientEndpointConfig built using Builder 6.1. Lifecycle echo sample 6.2. Sending message in @OnMessage 6.3. Sending message via RemoteEndpoint.Basic instance 6.4. Method for sending partial text message 6.5. Sending mesage the async way using Future 7.1. Injecting bean into javax.websocket.server.ServerEndpoint 7.2. Echo sample server endpoint. PrefacePrefacePreface + This is user guide for Tyrus 1.19. We are trying to keep it up to date as we add new features. Please use also our API documentation linked from the Tyrus [https://projects.eclipse.org/projects/ee4j.tyrus] and @@ -144,13 +144,13 @@ <dependency> <groupId>org.glassfish.tyrus</groupId> <artifactId>tyrus-server</artifactId> - <version>1.18</version> + <version>1.19</version> </dependency> <dependency> <groupId>org.glassfish.tyrus</groupId> <artifactId>tyrus-container-grizzly-server</artifactId> - <version>1.18</version> + <version>1.19</version> </dependency> Let's use the very same example like for Java API for WebSocket and deploy the EchoEndpointAnnotated on the @@ -181,51 +181,51 @@ manage dependencies of their applications than developers using ant or other build technologies. The following table provides an overview of all Tyrus modules and their dependencies with links to the respective binaries. Table 2.1. Tyrus core modulesModuleDependenciesDescription - + tyrus-server - [http://search.maven.org/#artifactdetails|org.glassfish.tyrus|tyrus-server|1.18|jar] + [http://search.maven.org/#artifactdetails|org.glassfish.tyrus|tyrus-server|1.19|jar] tyrus-core, tyrus-spi, tyrus-websocket-coreBasic server functionality - + tyrus-core - [http://search.maven.org/#artifactdetails|org.glassfish.tyrus|tyrus-core|1.18|jar] + [http://search.maven.org/#artifactdetails|org.glassfish.tyrus|tyrus-core|1.19|jar] tyrus-spi, tyrus-websocket-coreCore Tyrus functionality - + tyrus-client - [http://search.maven.org/#artifactdetails|org.glassfish.tyrus|tyrus-client|1.18|jar] + [http://search.maven.org/#artifactdetails|org.glassfish.tyrus|tyrus-client|1.19|jar] tyrus-core, tyrus-spi, tyrus-websocket-coreBasic client functionality - + tyrus-documentation - [http://search.maven.org/#artifactdetails|org.glassfish.tyrus|tyrus-documentation|1.18|jar] + [http://search.maven.org/#artifactdetails|org.glassfish.tyrus|tyrus-documentation|1.19|jar] [nothing]Project documentation - + tyrus-websocket-core - [http://search.maven.org/#artifactdetails|org.glassfish.tyrus|tyrus-websocket-core|1.18|jar] + [http://search.maven.org/#artifactdetails|org.glassfish.tyrus|tyrus-websocket-core|1.19|jar] [nothing]The WebSocket protocol - + tyrus-samples - [http://search.maven.org/remotecontent?filepath=org/glassfish/tyrus/bundles/tyrus-samples/1.18/tyrus-samples-1.18-all.zip] + [http://search.maven.org/remotecontent?filepath=org/glassfish/tyrus/bundles/tyrus-samples/1.19/tyrus-samples-1.19-all.zip] tyrus-server, tyrus-client, tyrus-container-grizzly, tyrus-core, tyrus-spi, tyrus-websocket-core Samples of using Java API for WebSocket and Tyrus - + tyrus-spi - [http://search.maven.org/#artifactdetails|org.glassfish.tyrus|tyrus-spi|1.18|jar] + [http://search.maven.org/#artifactdetails|org.glassfish.tyrus|tyrus-spi|1.19|jar] [nothing]SPITable 2.2. Tyrus containersModuleDependenciesDescription - + tyrus-container-glassfish-cdi - [http://search.maven.org/#artifactdetails|org.glassfish.tyrus|tyrus-container-glassfish-cdi|1.18|jar] + [http://search.maven.org/#artifactdetails|org.glassfish.tyrus|tyrus-container-glassfish-cdi|1.19|jar] tyrus-spiCDI support - + tyrus-container-glassfish-ejb - [http://search.maven.org/#artifactdetails|org.glassfish.tyrus|tyrus-container-glassfish-ejb|1.18|jar] + [http://search.maven.org/#artifactdetails|org.glassfish.tyrus|tyrus-container-glassfish-ejb|1.19|jar] tyrus-spiEJB support - + tyrus-container-grizzly - [http://search.maven.org/#artifactdetails|org.glassfish.tyrus|tyrus-container-grizzly|1.18|jar] + [http://search.maven.org/#artifactdetails|org.glassfish.tyrus|tyrus-container-grizzly|1.19|jar] tyrus-core, tyrus-spi, tyrus-websocket-coreGrizzly integration for Tyrus client and standalone server usage - + tyrus-container-servlet - [http://search.maven.org/#artifactdetails|org.glassfish.tyrus|tyrus-container-servlet|1.18|bundle] + [http://search.maven.org/#artifactdetails|org.glassfish.tyrus|tyrus-container-servlet|1.19|bundle] tyrus-server, tyrus-core, tyrus-spi, tyrus-websocket-coreServlet support for integration into web containersDeploying WebSocket EndpointsDeploying WebSocket EndpointsChapter 3. Deploying WebSocket Endpoints Deploying WebSocket endpoints can be done in two ways. Either deploying via putting the endpoint in the WAR file, or using the ServerContainer methods to deploy the programmatic endpoint in the deployment phase. @@ -938,7 +938,7 @@ other WebSocket API implementation.Client-side SSL configuration8.1. Client-side SSL configurationWhen accessing "wss" URLs, Tyrus client will pick up whatever keystore and truststore is actually set for current JVM instance, but that might not be always convenient. WebSocket API does not have this feature (yet, see WEBSOCKET_SPEC-210 [https://java.net/jira/browse/WEBSOCKET_SPEC-210]), so Tyrus exposed two SSL configuration classes SSLEngineConfigurator [https://grizzly.java.net/docs/2.3/apidocs/org/glassfish/grizzly/ssl/SSLEngineConfigurator.html] - and SslEngineConfigurator [https://tyrus.java.net/apidocs/1.18/org/glassfish/tyrus/client/SslEngineConfigurator.html] + and SslEngineConfigurator [https://tyrus.java.net/apidocs/1.19/org/glassfish/tyrus/client/SslEngineConfigurator.html] , which can be used for specifying all SSL parameters to be used with current client instance. The former configuration class belongs to Grizzly configuration API and therefore works only with Grizzly client. The latter configuration class works with both Grizzly and JDK client and offers some extensions over the Grizzly SSLEngineConfigurator @@ -946,7 +946,7 @@ please refer to the following subsection dealing with host verification. Additionally, WebSocket API does not have anything like a client, only WebSocketContainer and it does not have any properties, so you need to use Tyrus specific class - - ClientManager [https://tyrus.java.net/apidocs/1.18/org/glassfish/tyrus/client/ClientManager.html].  1 final ClientManager client = ClientManager.createClient(); + ClientManager [https://tyrus.java.net/apidocs/1.19/org/glassfish/tyrus/client/ClientManager.html].  1 final ClientManager client = ClientManager.createClient();   2   3 System.getProperties().put("javax.net.debug", "all");   4 System.getProperties().put(SSLContextConfigurator.KEY_STORE_FILE, "..."); @@ -984,7 +984,7 @@ to note that Grizzly specific SSLEngineConfigurator [https://grizzly.java.net/docs/2.3/apidocs/org/glassfish/grizzly/ssl/SSLEngineConfigurator.html] does not provide these options and for modifying the default host name verification policy - SslEngineConfigurator [https://tyrus.java.net/apidocs/1.18/org/glassfish/tyrus/client/SslEngineConfigurator.html] + SslEngineConfigurator [https://tyrus.java.net/apidocs/1.19/org/glassfish/tyrus/client/SslEngineConfigurator.html] must be used instead. The following sample shows how to disable host name verification:   1 SslEngineConfigurator sslEngineConfigurator = new SslEngineConfigurator(new SslContextConfigurator());   2 sslEngineConfigurator.setHostVerificationEnabled(false) @@ -1338,7 +1338,7 @@ <dependency> <groupId>org.glassfish.tyrus</groupId> <artifactId>tyrus-container-jdk-client</artifactId> - <version>1.18</version> + <version>1.19</version> </dependency> Grizzly client is the default option, so creating a client without any parameters will result in Grizzly client being used. @@ -1369,9 +1369,9 @@ end SSLContextConfigurator [https://grizzly.java.net/docs/2.3/apidocs/org/glassfish/grizzly/ssl/SSLContextConfigurator.html] from Grizzly project and - SslEngineConfigurator [https://tyrus.java.net/apidocs/1.18/org/glassfish/tyrus/client/SslEngineConfigurator.html] + SslEngineConfigurator [https://tyrus.java.net/apidocs/1.19/org/glassfish/tyrus/client/SslEngineConfigurator.html] and - SslContextConfigurator [https://tyrus.java.net/apidocs/1.18/org/glassfish/tyrus/client/SslContextConfigurator.html] + SslContextConfigurator [https://tyrus.java.net/apidocs/1.19/org/glassfish/tyrus/client/SslContextConfigurator.html] from Tyrus project, but JDK client supports only the Tyrus version of these classes. The following code sample shows an example of some SSL parameters configuration for the JDK client:   1 diff --git a/documentation/latest1x/user-guide.html b/documentation/latest1x/user-guide.html index af00e2c0..1dc9f417 100644 --- a/documentation/latest1x/user-guide.html +++ b/documentation/latest1x/user-guide.html @@ -1,7 +1,7 @@ - Tyrus 1.18 User Guide

                                                Tyrus 1.18 User Guide


                                                Table of Contents

                                                Preface
                                                1. Getting Started
                                                1.1. WebSocket Services Using Java API for WebSocket
                                                1.1.1. Creating Annotated Server Endpoint
                                                1.1.2. Client Endpoint
                                                1.1.3. Creating Server Endpoint Programmatically
                                                1.1.4. Tyrus in Standalone Mode
                                                2. Tyrus Modules and Dependencies
                                                3. Deploying WebSocket Endpoints
                                                3.1. Deploying Endpoints as a WAR file
                                                3.1.1. Deployment Algorithm
                                                3.2. Deploying endpoints via javax.websocket.server.ServerContainer
                                                4. WebSocket API Endpoints, Sessions and MessageHandlers
                                                4.1. Endpoint Classes
                                                4.1.1. javax.websocket.server.ServerEndpoint
                                                4.1.2. javax.websocket.ClientEndpoint
                                                4.2. Endpoint method-level annotations
                                                4.2.1. @OnOpen
                                                4.2.2. @OnClose
                                                4.2.3. @OnError
                                                4.2.4. @OnMessage
                                                4.3. MessageHandlers
                                                5. Configurations
                                                5.1. javax.websocket.server.ServerEndpointConfig
                                                5.2. javax.websocket.ClientEndpointConfig
                                                6. Endpoint Lifecycle, Sessions, Sending Messages
                                                6.1. Endpoint Lifecycle
                                                6.2. javax.websocket.Session
                                                6.3. Sending Messages
                                                6.4. RemoteEndpoint
                                                6.4.1. javax.websocket.RemoteEndpoint.Basic
                                                6.4.2. javax.websocket.RemoteEndpoint.Async
                                                7. Injection Support
                                                7.1. javax.inject.Inject sample
                                                7.2. EJB sample
                                                8. Tyrus proprietary configuration
                                                8.1. Client-side SSL configuration
                                                8.1.1. Host verification
                                                8.2. Asynchronous connectToServer methods
                                                8.3. Optimized broadcast
                                                8.4. Incoming buffer size
                                                8.5. Shared client container
                                                8.5.1. Custom masking key generator
                                                8.6. WebSocket Extensions
                                                8.6.1. ExtendedExtension sample
                                                8.6.2. Per Message Deflate Extension
                                                8.7. Client reconnect
                                                8.8. Client behind proxy
                                                8.9. JDK 7 client
                                                8.9.1. SSL configuration
                                                8.10. Tracing support
                                                8.10.1. Configuration
                                                8.10.2. Tracing Examples
                                                8.11. Client handshake request and response logging
                                                8.12. JMX Monitoring
                                                8.12.1. Configuration
                                                8.13. Maximal number of open sessions on server-side
                                                8.13.1. Maximal number of open sessions per application
                                                8.13.2. Maximal number of open sessions per remote address
                                                8.13.3. Maximal number of open sessions per endpoint
                                                8.14. Client HTTP Authentication
                                                8.14.1. Credentials
                                                8.14.2. Auth Configuration
                                                8.14.3. User defined authenticator
                                                8.14.4. Examples
                                                8.15. Client HTTP Redirect
                                                8.15.1. Supported HTTP response codes
                                                8.15.2. Configuration
                                                8.15.3. Exception handling
                                                8.16. Client support for HTTP status 503 - Service Unavailable with Retry-After header
                                                8.16.1. Configuration

                                                List of Tables

                                                2.1. Tyrus core modules
                                                2.2. Tyrus containers

                                                Preface

                                                - This is user guide for Tyrus 1.18. We are trying to keep it up to date + Tyrus 1.19 User Guide

                                                Tyrus 1.19 User Guide


                                                Table of Contents

                                                Preface
                                                1. Getting Started
                                                1.1. WebSocket Services Using Java API for WebSocket
                                                1.1.1. Creating Annotated Server Endpoint
                                                1.1.2. Client Endpoint
                                                1.1.3. Creating Server Endpoint Programmatically
                                                1.1.4. Tyrus in Standalone Mode
                                                2. Tyrus Modules and Dependencies
                                                3. Deploying WebSocket Endpoints
                                                3.1. Deploying Endpoints as a WAR file
                                                3.1.1. Deployment Algorithm
                                                3.2. Deploying endpoints via javax.websocket.server.ServerContainer
                                                4. WebSocket API Endpoints, Sessions and MessageHandlers
                                                4.1. Endpoint Classes
                                                4.1.1. javax.websocket.server.ServerEndpoint
                                                4.1.2. javax.websocket.ClientEndpoint
                                                4.2. Endpoint method-level annotations
                                                4.2.1. @OnOpen
                                                4.2.2. @OnClose
                                                4.2.3. @OnError
                                                4.2.4. @OnMessage
                                                4.3. MessageHandlers
                                                5. Configurations
                                                5.1. javax.websocket.server.ServerEndpointConfig
                                                5.2. javax.websocket.ClientEndpointConfig
                                                6. Endpoint Lifecycle, Sessions, Sending Messages
                                                6.1. Endpoint Lifecycle
                                                6.2. javax.websocket.Session
                                                6.3. Sending Messages
                                                6.4. RemoteEndpoint
                                                6.4.1. javax.websocket.RemoteEndpoint.Basic
                                                6.4.2. javax.websocket.RemoteEndpoint.Async
                                                7. Injection Support
                                                7.1. javax.inject.Inject sample
                                                7.2. EJB sample
                                                8. Tyrus proprietary configuration
                                                8.1. Client-side SSL configuration
                                                8.1.1. Host verification
                                                8.2. Asynchronous connectToServer methods
                                                8.3. Optimized broadcast
                                                8.4. Incoming buffer size
                                                8.5. Shared client container
                                                8.5.1. Custom masking key generator
                                                8.6. WebSocket Extensions
                                                8.6.1. ExtendedExtension sample
                                                8.6.2. Per Message Deflate Extension
                                                8.7. Client reconnect
                                                8.8. Client behind proxy
                                                8.9. JDK 7 client
                                                8.9.1. SSL configuration
                                                8.10. Tracing support
                                                8.10.1. Configuration
                                                8.10.2. Tracing Examples
                                                8.11. Client handshake request and response logging
                                                8.12. JMX Monitoring
                                                8.12.1. Configuration
                                                8.13. Maximal number of open sessions on server-side
                                                8.13.1. Maximal number of open sessions per application
                                                8.13.2. Maximal number of open sessions per remote address
                                                8.13.3. Maximal number of open sessions per endpoint
                                                8.14. Client HTTP Authentication
                                                8.14.1. Credentials
                                                8.14.2. Auth Configuration
                                                8.14.3. User defined authenticator
                                                8.14.4. Examples
                                                8.15. Client HTTP Redirect
                                                8.15.1. Supported HTTP response codes
                                                8.15.2. Configuration
                                                8.15.3. Exception handling
                                                8.16. Client support for HTTP status 503 - Service Unavailable with Retry-After header
                                                8.16.1. Configuration

                                                List of Tables

                                                2.1. Tyrus core modules
                                                2.2. Tyrus containers

                                                Preface

                                                + This is user guide for Tyrus 1.19. We are trying to keep it up to date as we add new features. Please use also our API documentation linked from the Tyrus and @@ -146,13 +146,13 @@ public class EchoEndpointAnnotated {

                                                <dependency>
                                                     <groupId>org.glassfish.tyrus</groupId>
                                                     <artifactId>tyrus-server</artifactId>
                                                -    <version>1.18</version>
                                                +    <version>1.19</version>
                                                 </dependency>
                                                 
                                                 <dependency>
                                                     <groupId>org.glassfish.tyrus</groupId>
                                                     <artifactId>tyrus-container-grizzly-server</artifactId>
                                                -    <version>1.18</version>
                                                +    <version>1.19</version>
                                                 </dependency>

                                                Let's use the very same example like for Java API for WebSocket and deploy the EchoEndpointAnnotated on the @@ -183,49 +183,49 @@ public class EchoEndpointAnnotated { manage dependencies of their applications than developers using ant or other build technologies. The following table provides an overview of all Tyrus modules and their dependencies with links to the respective binaries.

                                                Table 2.1. Tyrus core modules

                                                ModuleDependenciesDescription
                                                - + tyrus-server tyrus-core, tyrus-spi, tyrus-websocket-coreBasic server functionality
                                                - + tyrus-core tyrus-spi, tyrus-websocket-coreCore Tyrus functionality
                                                - + tyrus-client tyrus-core, tyrus-spi, tyrus-websocket-coreBasic client functionality
                                                - + tyrus-documentation [nothing]Project documentation
                                                - + tyrus-websocket-core [nothing]The WebSocket protocol
                                                - + tyrus-samples tyrus-server, tyrus-client, tyrus-container-grizzly, tyrus-core, tyrus-spi, tyrus-websocket-core Samples of using Java API for WebSocket and Tyrus
                                                - + tyrus-spi [nothing]SPI

                                                Table 2.2. Tyrus containers

                                                ModuleDependenciesDescription
                                                - + tyrus-container-glassfish-cdi tyrus-spiCDI support
                                                - + tyrus-container-glassfish-ejb tyrus-spiEJB support
                                                - + tyrus-container-grizzly tyrus-core, tyrus-spi, tyrus-websocket-coreGrizzly integration for Tyrus client and standalone server usage
                                                - + tyrus-container-servlet tyrus-server, tyrus-core, tyrus-spi, tyrus-websocket-coreServlet support for integration into web containers

                                                Chapter 3. Deploying WebSocket Endpoints

                                                @@ -940,7 +940,7 @@ public class LoggingInterceptor { other WebSocket API implementation.

                                                8.1. Client-side SSL configuration

                                                When accessing "wss" URLs, Tyrus client will pick up whatever keystore and truststore is actually set for current JVM instance, but that might not be always convenient. WebSocket API does not have this feature (yet, see WEBSOCKET_SPEC-210), so Tyrus exposed two SSL configuration classes SSLEngineConfigurator - and SslEngineConfigurator + and SslEngineConfigurator , which can be used for specifying all SSL parameters to be used with current client instance. The former configuration class belongs to Grizzly configuration API and therefore works only with Grizzly client. The latter configuration class works with both Grizzly and JDK client and offers some extensions over the Grizzly SSLEngineConfigurator @@ -948,7 +948,7 @@ public class LoggingInterceptor { please refer to the following subsection dealing with host verification. Additionally, WebSocket API does not have anything like a client, only WebSocketContainer and it does not have any properties, so you need to use Tyrus specific class - - ClientManager.

                                                final ClientManager client = ClientManager.createClient();
                                                +            ClientManager.

                                                final ClientManager client = ClientManager.createClient();
                                                 
                                                 System.getProperties().put("javax.net.debug", "all");
                                                 System.getProperties().put(SSLContextConfigurator.KEY_STORE_FILE, "...");
                                                @@ -986,7 +986,7 @@ client.connectToServer(... , ClientEndpointConfig.Builder.create().build(),
                                                                 to note that Grizzly specific
                                                                 SSLEngineConfigurator
                                                                 does not provide these options and for modifying the default host name verification policy
                                                -                SslEngineConfigurator
                                                +                SslEngineConfigurator
                                                                 must be used instead. The following sample shows how to disable host name verification:
                                                                 

                                                SslEngineConfigurator sslEngineConfigurator = new SslEngineConfigurator(new SslContextConfigurator());
                                                 sslEngineConfigurator.setHostVerificationEnabled(false)
                                                @@ -1340,7 +1340,7 @@ final ClientManager client = ClientManager.createClient(JdkClientContainer.class
                                                 <dependency>
                                                   <groupId>org.glassfish.tyrus</groupId>
                                                   <artifactId>tyrus-container-jdk-client</artifactId>
                                                -  <version>1.18</version>
                                                +  <version>1.19</version>
                                                 </dependency>
                                                             

                                                Grizzly client is the default option, so creating a client without any parameters will result in Grizzly client being used. @@ -1371,9 +1371,9 @@ final WebSocketContainer client = ContainerProvider.getWebSocketContainer(); end SSLContextConfigurator from Grizzly project and - SslEngineConfigurator + SslEngineConfigurator and - SslContextConfigurator + SslContextConfigurator from Tyrus project, but JDK client supports only the Tyrus version of these classes. The following code sample shows an example of some SSL parameters configuration for the JDK client:

                                                diff --git a/documentation/latest1x/user-guide.pdf b/documentation/latest1x/user-guide.pdf
                                                index 246c620f..83fc43dc 100644
                                                Binary files a/documentation/latest1x/user-guide.pdf and b/documentation/latest1x/user-guide.pdf differ
                                                + git commit -m '[jenkins] automatic docbook update [1.19]'
                                                [master 8576262f] [jenkins] automatic docbook update [1.19]
                                                 26 files changed, 6310 insertions(+), 84 deletions(-)
                                                 create mode 100644 documentation/1.19/index/configurations.html
                                                 create mode 100644 documentation/1.19/index/deployment.html
                                                 create mode 100644 documentation/1.19/index/getting-started.html
                                                 create mode 100644 documentation/1.19/index/index.html
                                                 create mode 100644 documentation/1.19/index/injection.html
                                                 create mode 100644 documentation/1.19/index/lifecycle.html
                                                 create mode 100644 documentation/1.19/index/modules-and-dependencies.html
                                                 create mode 100644 documentation/1.19/index/preface.html
                                                 create mode 100644 documentation/1.19/index/tyrus-proprietary-config.html
                                                 create mode 100644 documentation/1.19/index/websocket-api.html
                                                 create mode 100644 documentation/1.19/user-guide.fo
                                                 create mode 100644 documentation/1.19/user-guide.html
                                                 create mode 100644 documentation/1.19/user-guide.pdf
                                                + git push origin master
                                                To github.com:eclipse-ee4j/tyrus-project.github.io.git
                                                   823f51a2..8576262f  master -> master
                                                $ ssh-agent -k
                                                unset SSH_AUTH_SOCK;
                                                unset SSH_AGENT_PID;
                                                echo Agent pid 71 killed;
                                                [ssh-agent] Stopped.
                                                Finished: SUCCESS