throws exception in case of invalid request . concode_field_sep HttpRequestWrapperFactory requestFactory concode_elem_sep Logger LOGGER concode_elem_sep Socket socket concode_elem_sep ServerConfig serverConfig concode_field_sep String getNormalizedDirectoryPath concode_elem_sep boolean isPathIllegal concode_elem_sep boolean loadDirectoryIndexResource concode_elem_sep boolean loadResourceByPath concode_elem_sep Socket getSocket concode_elem_sep String getAllowedMethods concode_elem_sep boolean isMethodSupported concode_elem_sep void run concode_elem_sep HttpErrorHandler getProtocolExceptionHandler concode_elem_sep HttpErrorHandler getHandler concode_elem_sep void setDefaultResponseHeaders
void function ( HttpRequest arg0 ) { if ( ! isMethodSupported ( arg0 . getMethod ( ) ) ) { throw new MethodNotAllowedException ( ) ; } }