menu
daravel package
documentation
daravel.dart
MethodNotAllowedHttpException class
MethodNotAllowedHttpException class
dark_mode
light_mode
MethodNotAllowedHttpException
class
final
Inheritance
Object
DaravelException
HttpException
MethodNotAllowedHttpException
Constructors
MethodNotAllowedHttpException
(
List
<
String
>
allowedMethods
,
String
message
)
Properties
allowedMethods
→
List
<
String
>
Methods that are supported for the requested path.
final
hashCode
→
int
The hash code for this object.
no setter
inherited
headers
→
Map
<
String
,
String
>
Extra headers to send with the rendered response.
final
inherited
message
→
String
Human readable description of the failure.
final
inherited
prettyJson
→
bool
Whether the default renderer writes the body pretty-printed, as Laravel's
Handler::prepareJsonResponse
does for every HTTP error (
JSON_PRETTY_PRINT
).
AuthenticationException
overrides it: Laravel answers that one with a plain
response()->json
.
no setter
inherited
runtimeType
→
Type
A representation of the runtime type of the object.
no setter
inherited
status
→
int
HTTP status code.
final
inherited
Methods
noSuchMethod
(
Invocation
invocation
)
→ dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString
(
)
→
String
A string representation of this object.
inherited
Operators
operator ==
(
Object
other
)
→
bool
The equality operator.
inherited
daravel package
documentation
daravel
MethodNotAllowedHttpException class
daravel library