Skip to content

Commit ace0840

Browse files
fix javadoc links
1 parent 05f551a commit ace0840

File tree

2 files changed

+28
-26
lines changed

2 files changed

+28
-26
lines changed

src/main/java/com/ibm/watson/developer_cloud/service/WatsonService.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -135,6 +135,8 @@ private URI buildRequestURI(HttpRequestBase request) {
135135
* Execute the Http request and discard the response.
136136
* Use this when you don't want to get the response but you want to make sure
137137
* we read it so that the underline connection is released
138+
*
139+
* @param request the request
138140
*/
139141
protected void executeWithoutResponse(HttpRequestBase request) {
140142
HttpResponse response = execute(request);

src/main/java/com/ibm/watson/developer_cloud/util/HttpHeaders.java

Lines changed: 26 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -21,132 +21,132 @@
2121
public interface HttpHeaders {
2222

2323
/**
24-
* See {@link <a href="http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.1">HTTP/1.1 documentation</a>}.
24+
* See <a href="http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.1">HTTP/1.1 documentation</a>.
2525
*/
2626
public static final String ACCEPT = "Accept";
2727

2828
/**
29-
* See {@link <a href="http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.2">HTTP/1.1 documentation</a>}.
29+
* See <a href="http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.2">HTTP/1.1 documentation</a>.
3030
*/
3131
public static final String ACCEPT_CHARSET = "Accept-Charset";
3232

3333
/**
34-
* See {@link <a href="http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.3">HTTP/1.1 documentation</a>}.
34+
* See <a href="http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.3">HTTP/1.1 documentation</a>.
3535
*/
3636
public static final String ACCEPT_ENCODING = "Accept-Encoding";
3737

3838
/**
39-
* See {@link <a href="http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.4">HTTP/1.1 documentation</a>}.
39+
* See <a href="http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.4">HTTP/1.1 documentation</a>.
4040
*/
4141
public static final String ACCEPT_LANGUAGE = "Accept-Language";
4242

4343
/**
44-
* See {@link <a href="http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.8">HTTP/1.1 documentation</a>}.
44+
* See <a href="http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.8">HTTP/1.1 documentation</a>.
4545
*/
4646
public static final String AUTHORIZATION = "Authorization";
4747

4848
/**
49-
* See {@link <a href="http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.9">HTTP/1.1 documentation</a>}.
49+
* See <a href="http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.9">HTTP/1.1 documentation</a>.
5050
*/
5151
public static final String CACHE_CONTROL = "Cache-Control";
5252

5353
/**
54-
* See {@link <a href="http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.11">HTTP/1.1 documentation</a>}.
54+
* See <a href="http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.11">HTTP/1.1 documentation</a>.
5555
*/
5656
public static final String CONTENT_ENCODING = "Content-Encoding";
5757

5858
/**
59-
* See {@link <a href="http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.12">HTTP/1.1 documentation</a>}.
59+
* See <a href="http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.12">HTTP/1.1 documentation</a>.
6060
*/
6161
public static final String CONTENT_LANGUAGE = "Content-Language";
6262

6363
/**
64-
* See {@link <a href="http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.13">HTTP/1.1 documentation</a>}.
64+
* See <a href="http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.13">HTTP/1.1 documentation</a>.
6565
*/
6666
public static final String CONTENT_LENGTH = "Content-Length";
6767

6868
/**
69-
* See {@link <a href="http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.14">HTTP/1.1 documentation</a>}.
69+
* See <a href="http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.14">HTTP/1.1 documentation</a>.
7070
*/
7171
public static final String CONTENT_LOCATION = "Content-Location";
7272

7373
/**
74-
* See {@link <a href="http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.17">HTTP/1.1 documentation</a>}.
74+
* See <a href="http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.17">HTTP/1.1 documentation</a>.
7575
*/
7676
public static final String CONTENT_TYPE = "Content-Type";
7777

7878
/**
79-
* See {@link <a href="http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.18">HTTP/1.1 documentation</a>}.
79+
* See <a href="http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.18">HTTP/1.1 documentation</a>.
8080
*/
8181
public static final String DATE = "Date";
8282

8383
/**
84-
* See {@link <a href="http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.19">HTTP/1.1 documentation</a>}.
84+
* See <a href="http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.19">HTTP/1.1 documentation</a>.
8585
*/
8686
public static final String ETAG = "ETag";
8787

8888
/**
89-
* See {@link <a href="http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.21">HTTP/1.1 documentation</a>}.
89+
* See <a href="http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.21">HTTP/1.1 documentation</a>.
9090
*/
9191
public static final String EXPIRES = "Expires";
9292

9393
/**
94-
* See {@link <a href="http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.23">HTTP/1.1 documentation</a>}.
94+
* See <a href="http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.23">HTTP/1.1 documentation</a>.
9595
*/
9696
public static final String HOST = "Host";
9797

9898
/**
99-
* See {@link <a href="http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.24">HTTP/1.1 documentation</a>}.
99+
* See <a href="http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.24">HTTP/1.1 documentation</a>.
100100
*/
101101
public static final String IF_MATCH = "If-Match";
102102

103103
/**
104-
* See {@link <a href="http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.25">HTTP/1.1 documentation</a>}.
104+
* See <a href="http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.25">HTTP/1.1 documentation</a>.
105105
*/
106106
public static final String IF_MODIFIED_SINCE = "If-Modified-Since";
107107

108108
/**
109-
* See {@link <a href="http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.26">HTTP/1.1 documentation</a>}.
109+
* See <a href="http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.26">HTTP/1.1 documentation</a>.
110110
*/
111111
public static final String IF_NONE_MATCH = "If-None-Match";
112112

113113
/**
114-
* See {@link <a href="http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.28">HTTP/1.1 documentation</a>}.
114+
* See <a href="http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.28">HTTP/1.1 documentation</a>.
115115
*/
116116
public static final String IF_UNMODIFIED_SINCE = "If-Unmodified-Since";
117117

118118
/**
119-
* See {@link <a href="http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.29">HTTP/1.1 documentation</a>}.
119+
* See <a href="http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.29">HTTP/1.1 documentation</a>.
120120
*/
121121
public static final String LAST_MODIFIED = "Last-Modified";
122122

123123
/**
124-
* See {@link <a href="http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.30">HTTP/1.1 documentation</a>}.
124+
* See <a href="http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.30">HTTP/1.1 documentation</a>.
125125
*/
126126
public static final String LOCATION = "Location";
127127

128128
/**
129-
* See {@link <a href="http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.43">HTTP/1.1 documentation</a>}.
129+
* See <a href="http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.43">HTTP/1.1 documentation</a>.
130130
*/
131131
public static final String USER_AGENT = "User-Agent";
132132

133133
/**
134-
* See {@link <a href="http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.44">HTTP/1.1 documentation</a>}.
134+
* See <a href="http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.44">HTTP/1.1 documentation</a>.
135135
*/
136136
public static final String VARY = "Vary";
137137

138138
/**
139-
* See {@link <a href="http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.47">HTTP/1.1 documentation</a>}.
139+
* See <a href="http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.47">HTTP/1.1 documentation</a>.
140140
*/
141141
public static final String WWW_AUTHENTICATE = "WWW-Authenticate";
142142

143143
/**
144-
* See {@link <a href="http://www.ietf.org/rfc/rfc2109.txt">IETF RFC 2109</a>}.
144+
* See <a href="http://www.ietf.org/rfc/rfc2109.txt">IETF RFC 2109</a>.
145145
*/
146146
public static final String COOKIE = "Cookie";
147147

148148
/**
149-
* See {@link <a href="http://www.ietf.org/rfc/rfc2109.txt">IETF RFC 2109</a>}.
149+
* See <a href="http://www.ietf.org/rfc/rfc2109.txt">IETF RFC 2109</a>.
150150
*/
151151
public static final String SET_COOKIE = "Set-Cookie";
152152

0 commit comments

Comments
 (0)