Skip to content

Commit

Permalink
Fix javadoc error
Browse files Browse the repository at this point in the history
  • Loading branch information
ctron committed Aug 28, 2018
1 parent b61d73f commit 9e459a9
Showing 1 changed file with 4 additions and 6 deletions.
Expand Up @@ -145,8 +145,8 @@ public String toString() {
Request.TelemetryWithoutTtd
);

private HttpClient httpClient;
private MultiMap standardRequestHeaders;
private final HttpClient httpClient;
private final MultiMap standardRequestHeaders;

private HonoHttpDevice() {
final HttpClientOptions options = new HttpClientOptions();
Expand All @@ -170,10 +170,8 @@ public static void main(final String[] args) {

/**
* Send a message to Hono HTTP adapter. Delay any successful response by 1000 milliseconds.
*
* @param payload JSON object that will be sent as UTF-8 encoded String.
* @param headersToAdd A map that contains all headers to add to the HTTP request.
* @param asEvent If {@code true}, an event message is sent, otherwise a telemetry message.
*
* @param request The request to send.
* @return The HTTP response headers.
*/
private CompletableFuture<Void> sendMessage(final Request request) {
Expand Down

0 comments on commit 9e459a9

Please sign in to comment.