1

データストリームとJavaを扱う割り当てを受けました。私がする必要があるのは、与えられたデータストリームとそのための API に接続する Java クラスを書くことです。

URI:http://<hostname>/ws/DataStream

HTTP operations supported:
GET: query one or more data streams

Elements include:

cstId - customer ID of customer that owns the data stream
streamId - the stream ID
forwardTo - comma separated list of streams to replicate data points to

得る

GET は、データ ストリームのリスト、または ID による特定のストリームを取得するために使用されます。

Example #1:
To get a list of all data streams:
GET ws/DataStream
Returns a list of data streams.
Example #2:
To get information about a specific data stream using its stream ID:
GET ws/DataStream/{streamId}

私はその仕組みを理解しています、

  1. この値を取得するクラスを作成するにはどうすればよいですか?

  2. それらを保存するためにどのような種類のオブジェクトを使用する必要がありますか

  3. たとえば、データベースに挿入するにはどうすればよいですか?

4

0 に答える 0