|
16 | 16 | package com.dynatrace.oneagent.sdk.api;
|
17 | 17 |
|
18 | 18 | /**
|
19 |
| - * Interface for incoming webrequest tracer. |
20 |
| - * <a href="https://github.com/Dynatrace/OneAgent-SDK#webrequests">https://github.com/Dynatrace/OneAgent-SDK#webrequests</a> |
| 19 | + * Interface for incoming webrequest tracer. <a href= |
| 20 | + * "https://github.com/Dynatrace/OneAgent-SDK#webrequests">https://github.com/Dynatrace/OneAgent-SDK#webrequests</a> |
21 | 21 | *
|
22 | 22 | * @since 1.3
|
23 | 23 | */
|
24 | 24 | public interface IncomingWebRequestTracer extends Tracer, IncomingTaggable {
|
25 | 25 |
|
26 | 26 | /**
|
27 |
| - * Validates and sets the remote IP address of the incoming web request. This information is very useful to gain information about Load balancers, Proxies and ultimately the end user that is sending the request. |
| 27 | + * Validates and sets the remote IP address of the incoming web request. This |
| 28 | + * information is very useful to gain information about Load balancers, Proxies |
| 29 | + * and ultimately the end user that is sending the request. |
28 | 30 | *
|
29 |
| - * @param remoteAddress remote IP address |
| 31 | + * @param remoteAddress |
| 32 | + * remote IP address |
30 | 33 | */
|
31 | 34 | void setRemoteAddress(String remoteAddress);
|
32 | 35 |
|
33 | 36 | /**
|
34 |
| - * All HTTP request headers should be provided to this method. Selective capturing will be done based on sensor configuration. |
| 37 | + * All HTTP request headers should be provided to this method. Selective |
| 38 | + * capturing will be done based on sensor configuration. |
35 | 39 | *
|
36 |
| - * @param name HTTP request header field name |
37 |
| - * @param value HTTP request header field value |
| 40 | + * @param name |
| 41 | + * HTTP request header field name |
| 42 | + * @param value |
| 43 | + * HTTP request header field value |
38 | 44 | */
|
39 | 45 | void addRequestHeader(String name, String value);
|
40 | 46 |
|
41 | 47 | /**
|
42 |
| - * All HTTP parameters should be provided to this method. Selective capturing will be done based on sensor configuration. |
| 48 | + * All HTTP parameters should be provided to this method. Selective capturing |
| 49 | + * will be done based on sensor configuration. |
43 | 50 | *
|
44 |
| - * @param name HTTP parameter name |
45 |
| - * @param value HTTP parameter value |
| 51 | + * @param name |
| 52 | + * HTTP parameter name |
| 53 | + * @param value |
| 54 | + * HTTP parameter value |
46 | 55 | */
|
47 | 56 | void addParameter(String name, String value);
|
48 | 57 |
|
49 | 58 | /**
|
50 |
| - * All HTTP response headers should be provided to this method. Selective capturing will be done based on sensor configuration. |
| 59 | + * All HTTP response headers should be provided to this method. Selective |
| 60 | + * capturing will be done based on sensor configuration. |
51 | 61 | *
|
52 |
| - * @param name HTTP response header field name |
53 |
| - * @param value HTTP response header field value |
| 62 | + * @param name |
| 63 | + * HTTP response header field name |
| 64 | + * @param value |
| 65 | + * HTTP response header field value |
54 | 66 | */
|
55 | 67 | void addResponseHeader(String name, String value);
|
56 | 68 |
|
57 | 69 | /**
|
58 | 70 | * Sets the HTTP response status code.
|
59 | 71 | *
|
60 |
| - * @param statusCode HTTP status code returned to client |
| 72 | + * @param statusCode |
| 73 | + * HTTP status code returned to client |
61 | 74 | */
|
62 | 75 | void setStatusCode(int statusCode);
|
63 | 76 |
|
|
0 commit comments