Use to create a new WebSocket endpoint and specify the class name and WebSocket URI of the endpoint.
In the Create WebSocket Endpoint panel, you set the following properties:
Element | Description |
---|---|
Class Name |
Specifies the class name of the WebSocket endpoint. The IDE names the class NewWSEndpoint by default. |
Project |
Specifies the project where the endpoint is located. You cannot change this value. |
Location |
Specifies the location where you want to store the new class. |
Package |
Specifies the package where you want to store the file containing the WebSocket endpoint class. Select the package from the drop down list.
Warning: It is highly recommended that you do not place Java classes in the default package. |
Created File |
Specifies the file created containing the endpoint. The name of the file is identical to the class name. |
WebSocket URI |
Specifies the URI that is the name of the new endpoint. |
When you click Finish, the IDE creates the class based on the parameters that you specified. The new class appears in the Project window under the package-name node.
Related Topics
Developing Applications with NetBeans IDE,
Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements; and to You under the Apache License, Version 2.0. |