Skip to content

Commit b3b0616

Browse files
author
Michael Cretzman
committed
fixing links
1 parent f362c48 commit b3b0616

6 files changed

Lines changed: 13 additions & 13 deletions

File tree

amqp-0-9-1/doc/p_dev_java_client_amqp.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ To Use the Java AMQP Client Library
7070

7171
2. Review the common Java AMQP programming steps.
7272

73-
Now that you have set up your environment to develop Java applications using the Gateway's AMQP client library, you can start creating your application. You can either build a single application that both publishes and consumes messages, or create two different applications to handle each action. The AMQP Java demo located at [kaazing.org](http://kaazing.org) shows a single application that handles both actions. Refer to the [AmqpClient Java API](../apidoc/client/java/amqp/client/index.md) documentation for the complete list of all the AMQP command and callback functions.
73+
Now that you have set up your environment to develop Java applications using the Gateway's AMQP client library, you can start creating your application. You can either build a single application that both publishes and consumes messages, or create two different applications to handle each action. The AMQP Java demo located at [kaazing.org](http://kaazing.org) shows a single application that handles both actions. Refer to the [AmqpClient Java API](http://developer.kaazing.com/documentation/5.0/apidoc/client/java/amqp/index.html) documentation for the complete list of all the AMQP command and callback functions.
7474

7575
**Note:** The Java AMQP programming examples listed in this topic use the Java code in the demo at [kaazing.org](http://kaazing.org) . Using the demo as an example when learning the AmqpClient Java API helps you to understand how the API classes are used in an application that captures and responds to user and message events.
7676

@@ -171,7 +171,7 @@ To Use the Java AMQP Client Library
171171
private String myTxnConsumerTag = "txnClientkey";
172172
```
173173

174-
There are more variables declared in the Java AMQP demo for handling text fields and buttons, but the variables listed above are used explicitly for the [Java AMQP API](../apidoc/client/java/amqp/client/index.md).
174+
There are more variables declared in the Java AMQP demo for handling text fields and buttons, but the variables listed above are used explicitly for the [Java AMQP API](http://developer.kaazing.com/documentation/5.0/apidoc/client/java/amqp/index.html).
175175

176176
6. Create the AmqpClient Object.
177177

@@ -374,7 +374,7 @@ To Use the Java AMQP Client Library
374374
publishChannel.declareExchange(jTextField5.getText(), "fanout", false, false, false, null);
375375
```
376376

377-
In this example, the exchange value is obtained from the text field in the client application (`jTextField5.getText()`), "fanout" is the exchange type, and false specifies whether the exchange is passive, durable, and noWait. null indicates that there are no [AmqpArguments](../apidoc/client/java/amqp/client/com/kaazing/net/ws/amqp/AmqpArguments.md).
377+
In this example, the exchange value is obtained from the text field in the client application (`jTextField5.getText()`), "fanout" is the exchange type, and false specifies whether the exchange is passive, durable, and noWait. null indicates that there are no [AmqpArguments](http://developer.kaazing.com/documentation/5.0/apidoc/client/java/amqp/index.html).
378378

379379
10. Declare a queue.
380380

@@ -396,7 +396,7 @@ To Use the Java AMQP Client Library
396396
private String queueName = "queue" + new Random().nextInt();
397397
```
398398

399-
`false` specifies that the queue is not `passive`, `durable`, `exclusive`, `autoDelete` is not enabled, and `noWait` is not set. `null` indicates that there are no [AmqpArguments](../apidoc/client/java/amqp/client/com/kaazing/net/ws/amqp/AmqpArguments.md).
399+
`false` specifies that the queue is not `passive`, `durable`, `exclusive`, `autoDelete` is not enabled, and `noWait` is not set. `null` indicates that there are no [AmqpArguments](http://developer.kaazing.com/documentation/5.0/apidoc/client/java/amqp/index.html).
400400

401401
11. Bind an exchange to a queue.
402402

@@ -467,7 +467,7 @@ To Use the Java AMQP Client Library
467467

468468
A custom parameter is passed in for the message. The message text entered by the user is stored in a variable and converted to binary (`buffer.putString(jTextField6.getText(), Charset.forName("UTF-8"));`), and then sent to the exchange specified by the user (`jTextField5.getText()`). Also note that the last two arguments use boolean values for `mandatory` and `immediate`.
469469

470-
The `AmqpProperties` class defines pre-defined properties as per AMQP 0-9-1 spec and provides type-safe getters and setters for those pre-defined properties. The value of AMQP 0-9-1's standard "headers" property is of type [AmqpArguments](../apidoc/client/java/amqp/client/com/kaazing/net/ws/amqp/AmqpArguments.md). The KAAZING Gateway Java AMQP library implementation uses `AmqpArguments` to encode the table. Similarly, the KAAZING Gateway AMQP implementation decodes the table and constructs an instance of `AmqpArguments`.
470+
The `AmqpProperties` class defines pre-defined properties as per AMQP 0-9-1 spec and provides type-safe getters and setters for those pre-defined properties. The value of AMQP 0-9-1's standard "headers" property is of type [AmqpArguments](http://developer.kaazing.com/documentation/5.0/apidoc/client/java/amqp/index.html). The KAAZING Gateway Java AMQP library implementation uses `AmqpArguments` to encode the table. Similarly, the KAAZING Gateway AMQP implementation decodes the table and constructs an instance of `AmqpArguments`.
471471

472472
The username set with the `setUserId()` method must match the user that is currently authenticated with the AMQP broker. If they do not match you will see the following error:
473473
`PRECONDITION_FAILED - user_id property set to '<name>' but authenticated user was '<name>'`

ws/doc/o_dev_java.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,4 +92,4 @@ Running the out of the box Java demo in Eclipse enables you to see the code and
9292
See Also
9393
--------
9494
95-
[Java Client API](../apidoc/client/java/gateway/index.md)
95+
[Java Client API](http://developer.kaazing.com/documentation/5.0/apidoc/client/java/gateway/index.html)

ws/doc/p_dev_java_logging.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ This procedure is part of [Build Java WebSocket Clients](o_dev_java.md):
2323
To Enable the Java Client Logs
2424
------------------------------
2525

26-
1. Build your Java client, as described in [Build Java WebSocket Clients](../dev-java/o_dev_java.md).
26+
1. Build your Java client, as described in [Build Java WebSocket Clients](o_dev_java.md).
2727
2. Add the following line to the `logging.properties` file to display the complete log output:
2828

2929
`org.kaazing.gateway.client.level = ALL`
@@ -62,5 +62,5 @@ Next Step
6262
See Also
6363
--------
6464

65-
You have completed the Java client howtos. For more information on client API development, see the [Java Client API](../apidoc/client/java/gateway/index.md).
65+
You have completed the Java client howtos. For more information on client API development, see the [Java Client API](http://developer.kaazing.com/documentation/5.0/apidoc/client/java/gateway/index.html).
6666

ws/doc/p_dev_java_secure.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ A challenge handler is responsible for producing responses to authentication cha
3636
2. The authentication request and the header are converted into a ChallengeRequest (as defined in RFC 2617) and sent to a challenge handler registered in the client application for authentication challenge responses.
3737
3. The ChallengeResponse credentials generated by a registered challenge handler are included in a replay of the original request to the Gateway, which allows access to the resource (assuming the credentials are sufficient).
3838

39-
Authenticating your Java client involves implementing a [challenge handler](../apidoc/client/java/gateway/com/kaazing/net/auth/ChallengeHandler.md) to respond to authentication challenges from the Gateway. If your challenge handler is responsible for obtaining user credentials, then implement a [login handler](http://developer.kaazing.com/documentation/5.0/apidoc/client/java/gateway/com/kaazing/net/auth/LoginHandler.html).
39+
Authenticating your Java client involves implementing a [challenge handler](http://developer.kaazing.com/documentation/5.0/apidoc/client/java/gateway/index.html) to respond to authentication challenges from the Gateway. If your challenge handler is responsible for obtaining user credentials, then implement a [login handler](http://developer.kaazing.com/documentation/5.0/apidoc/client/java/gateway/com/kaazing/net/auth/LoginHandler.html).
4040

4141
Challenge Handler Class Imports
4242
-----------------------------------------------------
@@ -87,7 +87,7 @@ challengeHandler.setLoginHandler(loginHandler);
8787
ws.setChallengeHandler(challengeHandler);
8888
```
8989

90-
**Note:** The challenge handler API is very flexible and there are many different ways to implement challenge handlers to suit the needs of your client application. For more detailed information on challenge handlers, see the [Java Client API](../apidoc/client/java/gateway/index.md).
90+
**Note:** The challenge handler API is very flexible and there are many different ways to implement challenge handlers to suit the needs of your client application. For more detailed information on challenge handlers, see the [Java Client API](http://developer.kaazing.com/documentation/5.0/apidoc/client/java/gateway/index.html).
9191

9292
Creating a Login Handler
9393
------------------------
@@ -289,7 +289,7 @@ You can use wildcards (“\*”) when registering locations using `locationDescr
289289
Creating Kerberos Challenge Handlers![This feature is available in KAAZING Gateway - Enterprise Edition](images/enterprise-feature.png)
290290
---------------------------------------------------------------------------------------
291291
292-
The following examples demonstrate different implementations of Kerberos challenge handlers. When registered with the `DispatchChallengeHandler`, a `KerberosChallengeHandler` directly responds to Negotiate challenges where Kerberos-generated authentication credentials are required. In addition, you can use a `KerberosChallengeHandler` indirectly in conjunction with a `NegotiateChallengeHandler` to assist in the construction of a challenge response using object identifiers. For more information, see the [Java Client API](../apidoc/client/java/gateway/index.md).
292+
The following examples demonstrate different implementations of Kerberos challenge handlers. When registered with the `DispatchChallengeHandler`, a `KerberosChallengeHandler` directly responds to Negotiate challenges where Kerberos-generated authentication credentials are required. In addition, you can use a `KerberosChallengeHandler` indirectly in conjunction with a `NegotiateChallengeHandler` to assist in the construction of a challenge response using object identifiers. For more information, see the [Java Client API](http://developer.kaazing.com/documentation/5.0/apidoc/client/java/gateway/index.html).
293293
294294
This abstract class captures common requirements for a number of implementation flavors for Kerberos, including [Microsoft's SPNEGO implementation](http://tools.ietf.org/html/rfc4559), and a [SPNEGO](http://tools.ietf.org/html/rfc4178) [Kerberos v5 GSS](http://tools.ietf.org/html/rfc4121) implementation.
295295

ws/doc/p_dev_java_tshoot.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,6 @@ Kerberos challenge handler not working
6666
Next Step
6767
---------
6868

69-
You have completed the Java client checklist. For more information on client API development, see the [Java Client API](../apidoc/client/java/gateway/index.md).
69+
You have completed the Java client checklist. For more information on client API development, see the [Java Client API](http://developer.kaazing.com/documentation/5.0/apidoc/client/java/gateway/index.html).
7070

7171

ws/doc/p_dev_java_websocket.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -557,7 +557,7 @@ The following procedure uses the Eclipse IDE. You can download Eclipse from [www
557557
});
558558
```
559559

560-
This event listener gets the text submitted by the user using `message.getText()` and then uses the [WebSocketMessageWriter](../apidoc/client/java/gateway/com/kaazing/net/ws/WebSocketMessageWriter.md) class to send the text message to the Gateway using the `writeText()` method. The WebSocketMessageWriter class is invoked by the `getMessageWriter()` method. Once the WebSocket connection is closed, a new WebSocketMessageReader should be obtained after the connection has been established. Using the old reader will result in IOException.
560+
This event listener gets the text submitted by the user using `message.getText()` and then uses the [WebSocketMessageWriter](http://developer.kaazing.com/documentation/5.0/apidoc/client/java/gateway/index.html) class to send the text message to the Gateway using the `writeText()` method. The WebSocketMessageWriter class is invoked by the `getMessageWriter()` method. Once the WebSocket connection is closed, a new WebSocketMessageReader should be obtained after the connection has been established. Using the old reader will result in IOException.
561561

562562
14. Within the `start()` function, add an event listener for when the **Send Binary** button is clicked:
563563

0 commit comments

Comments
 (0)