public class MethodNotAllowedException extends HttpException
| Constructor and Description |
|---|
MethodNotAllowedException(io.netty.handler.codec.http.HttpMethod method,
String uri,
Collection<io.netty.handler.codec.http.HttpMethod> allowedMethods) |
| Modifier and Type | Method and Description |
|---|---|
List<io.netty.handler.codec.http.HttpMethod> |
getAllowedMethods() |
io.netty.handler.codec.http.HttpResponseStatus |
getStatus() |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic MethodNotAllowedException(io.netty.handler.codec.http.HttpMethod method,
String uri,
Collection<io.netty.handler.codec.http.HttpMethod> allowedMethods)
public List<io.netty.handler.codec.http.HttpMethod> getAllowedMethods()
public io.netty.handler.codec.http.HttpResponseStatus getStatus()
getStatus in class HttpExceptionCopyright © 2018 Space Applications Services. All rights reserved.