Skip to content

Commit

Permalink
Deprecated the internal client and server HTTP/HTTPS connectors
Browse files Browse the repository at this point in the history
  • Loading branch information
Thierry Boileau committed Mar 2, 2025
1 parent 83d45f3 commit 2ef8d14
Show file tree
Hide file tree
Showing 8 changed files with 15 additions and 2 deletions.
3 changes: 2 additions & 1 deletion changes.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@ Changes log

- 2.6 Release Candidate 1 (??-02-2025)
- Misc
- Deprecated the GWT edition.
- Deprecated the GWT edition.
- Deprecated the internal client and server HTTP/HTTPS connectors.

- 2.6 Milestone 1 (26-01-2025)
- Enhancements
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
* several threads at the same time and therefore must be thread-safe. You
* should be especially careful when storing state in member variables.<br>
* <br>
* For advanced cases, it is possible to obtained the wrapped
* For advanced cases, it is possible to obtain the wrapped
* {@link RestletHelper} instance that is used by this client to handle the
* calls via the "org.restlet.client.engine.helper" attribute stored in the
* {@link Context} object.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,9 @@
* "https://docs.oracle.com/javase/1.5.0/docs/guide/net/index.html">Networking
* Features</a>
* @author Jerome Louvel
* @deprecated Will be removed in the next 2.7/3.0 release.
*/
@Deprecated
public class HttpClientHelper extends org.restlet.engine.adapter.HttpClientHelper {

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,9 @@
* Call that is used by the Basic HTTP server.
*
* @author Jerome Louvel
* @deprecated Will be removed in the next 2.7/3.0 release.
*/
@Deprecated
public class HttpExchangeCall extends ServerCall {

/** The wrapped HTTP exchange. */
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,9 @@
* Internal HTTP server connector.
*
* @author Jerome Louvel
* @deprecated Will be removed in the next 2.7/3.0 release.
*/
@Deprecated
public class HttpServerHelper extends NetServerHelper {
/** The underlying HTTP server. */
private volatile HttpServer server;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,9 @@
* HTTP client connector call based on JDK's java.net.HttpURLConnection class.
*
* @author Jerome Louvel
* @deprecated Will be removed in the next 2.7/3.0 release.
*/
@Deprecated
public class HttpUrlConnectionCall extends ClientCall {

/** The wrapped HTTP URL connection. */
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,9 @@
* {@link DefaultSslContextFactory} class.
*
* @author Jerome Louvel
* @deprecated Will be removed in the next 2.7/3.0 release.
*/
@Deprecated
public class HttpsServerHelper extends NetServerHelper {
/** The underlying HTTPS server. */
private volatile HttpsServer server;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,9 @@
* </table>
*
* @author Jerome Louvel
* @deprecated Will be removed in the next 2.7/3.0 release.
*/
@Deprecated
public abstract class NetServerHelper extends HttpServerHelper {
/**
* Socket this server is listening to.
Expand Down

0 comments on commit 2ef8d14

Please sign in to comment.