Package org.eclipse.jetty.http
Class BadMessageException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- org.eclipse.jetty.http.BadMessageException
-
- All Implemented Interfaces:
java.io.Serializable
@Deprecated(since="2021-05-27") public class BadMessageException extends java.lang.RuntimeException
Deprecated.The Eclipse Jetty and Apache Felix Http Jetty packages are no longer supported.Exception thrown to indicate a Bad HTTP Message has either been received or attempted to be generated. Typically these are handled with either 400 or 500 responses.
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description BadMessageException()
Deprecated.BadMessageException(int code)
Deprecated.BadMessageException(int code, java.lang.String reason)
Deprecated.BadMessageException(int code, java.lang.String reason, java.lang.Throwable cause)
Deprecated.BadMessageException(java.lang.String reason)
Deprecated.BadMessageException(java.lang.String reason, java.lang.Throwable cause)
Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description int
getCode()
Deprecated.java.lang.String
getReason()
Deprecated.
-
-
-
Constructor Detail
-
BadMessageException
public BadMessageException()
Deprecated.
-
BadMessageException
public BadMessageException(int code)
Deprecated.
-
BadMessageException
public BadMessageException(java.lang.String reason)
Deprecated.
-
BadMessageException
public BadMessageException(java.lang.String reason, java.lang.Throwable cause)
Deprecated.
-
BadMessageException
public BadMessageException(int code, java.lang.String reason)
Deprecated.
-
BadMessageException
public BadMessageException(int code, java.lang.String reason, java.lang.Throwable cause)
Deprecated.
-
-