File tree Expand file tree Collapse file tree
src/main/java/org/htmlunit Expand file tree Collapse file tree Original file line number Diff line number Diff line change 4848 */
4949public class WebResponse implements Serializable {
5050
51+ /**
52+ * Forwarder to HttpStatus.SC_OK.
53+ * @deprecated as of version 3.1.0; use {@link HttpClientConverter#OK} instead
54+ */
55+ @ Deprecated
56+ public static final int OK = HttpClientConverter .OK ;
57+
58+ /**
59+ * Forwarder to HttpStatus.SC_FORBIDDEN.
60+ * @deprecated as of version 3.1.0; use {@link HttpClientConverter#FORBIDDEN} instead
61+ */
62+ @ Deprecated
63+ public static final int FORBIDDEN = HttpClientConverter .FORBIDDEN ;
64+
65+ /**
66+ * Forwarder to HttpStatus.SC_NOT_FOUND.
67+ * @deprecated as of version 3.1.0; use {@link HttpClientConverter#NOT_FOUND} instead
68+ */
69+ @ Deprecated
70+ public static final int NOT_FOUND = HttpClientConverter .NOT_FOUND ;
71+
72+ /**
73+ * Forwarder to HttpStatus.SC_NO_CONTENT.
74+ * @deprecated as of version 3.1.0; use {@link HttpClientConverter#NO_CONTENT} instead
75+ */
76+ @ Deprecated
77+ public static final int NO_CONTENT = HttpClientConverter .NO_CONTENT ;
78+
79+ /**
80+ * Forwarder to HttpStatus.SC_INTERNAL_SERVER_ERROR.
81+ * @deprecated as of version 3.1.0; use {@link HttpClientConverter#INTERNAL_SERVER_ERROR} instead
82+ */
83+ @ Deprecated
84+ public static final int INTERNAL_SERVER_ERROR = HttpClientConverter .INTERNAL_SERVER_ERROR ;
85+
5186 private static final Log LOG = LogFactory .getLog (WebResponse .class );
5287 private static final ByteOrderMark [] BOM_HEADERS = {
5388 ByteOrderMark .UTF_8 ,
You can’t perform that action at this time.
0 commit comments