Class BadRequestException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- com.github.fmjsjx.libnetty.http.exception.HttpRuntimeException
-
- com.github.fmjsjx.libnetty.http.server.exception.HttpFailureException
-
- com.github.fmjsjx.libnetty.http.server.exception.BadRequestException
-
- All Implemented Interfaces:
java.io.Serializable
public class BadRequestException extends HttpFailureException
HTTP exception for 404 Bad Request.- Since:
- 1.1
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description BadRequestException(java.lang.Throwable cause)Constructs a new HTTP bad request exception with the specified cause.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description io.netty.handler.codec.http.HttpResponseStatusstatus()Returns the failure status.-
Methods inherited from class com.github.fmjsjx.libnetty.http.server.exception.HttpFailureException
getLocalizedMessage
-
-
-
-
Method Detail
-
status
public io.netty.handler.codec.http.HttpResponseStatus status()
Description copied from class:HttpFailureExceptionReturns the failure status.- Specified by:
statusin classHttpFailureException- Returns:
- the failure status
-
-