Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
*
* @param <T> self
*/
public abstract class HttpMsg<T extends HttpMsg<T>> extends AbstractMessage<T> {
public abstract sealed class HttpMsg<T extends HttpMsg<T>> extends AbstractMessage<T> {

/**
* Use this as the field path to set the HTTP request version
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
* An HTTP request message, which probably encapsulates another {@link Message}
* as the request body
*/
public class HttpReq extends HttpMsg<HttpReq> {
public final class HttpReq extends HttpMsg<HttpReq> {

/**
* Use this as the field path to set the HTTP request method
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
* An HTTP response message, which probably encapsulates another {@link Message}
* as the response body
*/
public class HttpRes extends HttpMsg<HttpRes> {
public final class HttpRes extends HttpMsg<HttpRes> {

/**
* Use this as the field path to set the HTTP status code
Expand Down