Uses of Class
dev.voidframework.web.http.Result
Packages that use Result
Package
Description
-
Uses of Result in dev.voidframework.web.http
Methods in dev.voidframework.web.http that return ResultModifier and TypeMethodDescriptionstatic ResultResult.badRequest()Bad request (400).static ResultResult.badRequest(byte[] content, String contentType) Bad request (400).static ResultResult.badRequest(byte[] content, String contentType, Charset charset) Bad request (400).static ResultResult.badRequest(com.fasterxml.jackson.databind.JsonNode content) Bad request (400).static ResultResult.badRequest(TemplateResult templateResult) Bad request (400).static ResultResult.badRequest(String content) Bad request (400).static ResultResult.badRequest(String content, String contentType, Charset charset) Bad request (400).static ResultResult.created()Created (201).static ResultCreated (201).static ResultCreated (201).static ResultResult.created(com.fasterxml.jackson.databind.JsonNode content) Created (201).static ResultResult.created(TemplateResult templateResult) Created (201).static ResultCreated (201).static ResultCreated (201).static ResultCreated (201).static ResultResult.forbidden()Forbidden (403).static ResultForbidden (403).static ResultForbidden (403).static ResultResult.forbidden(com.fasterxml.jackson.databind.JsonNode content) Forbidden (403).static ResultResult.forbidden(TemplateResult templateResult) Forbidden (403).static ResultForbidden (403).static ResultForbidden (403).static ResultForbidden (403).static ResultResult.internalServerError()Internal Server Error (500).static ResultResult.internalServerError(byte[] content, String contentType) Internal Server Error (500).static ResultResult.internalServerError(byte[] content, String contentType, Charset charset) Internal Server Error (500).static ResultResult.internalServerError(com.fasterxml.jackson.databind.JsonNode content) Internal Server Error (500).static ResultResult.internalServerError(TemplateResult templateResult) Internal Server Error (500).static ResultResult.internalServerError(String content) Internal Server Error (500).static ResultResult.internalServerError(String content, String contentType) Internal Server Error (500).static ResultResult.internalServerError(String content, String contentType, Charset charset) Internal Server Error (500).static ResultResult.noContent()No Content (204).static ResultResult.notFound()Not Found (404).static ResultNot Found (404).static ResultNot Found (404).static ResultResult.notFound(com.fasterxml.jackson.databind.JsonNode content) Not Found (404).static ResultResult.notFound(TemplateResult templateResult) Not Found (404).static ResultNot Found (404).static ResultNot Found (404).static ResultNot Found (404).static ResultResult.notImplemented()Not Implemented (501).static ResultResult.notImplemented(byte[] content, String contentType) Not Implemented (501).static ResultResult.notImplemented(byte[] content, String contentType, Charset charset) Not Implemented (501).static ResultResult.notImplemented(com.fasterxml.jackson.databind.JsonNode content) Not Implemented (501).static ResultResult.notImplemented(TemplateResult templateResult) Not Implemented (501).static ResultResult.notImplemented(String content) Not Implemented (501).static ResultResult.notImplemented(String content, String contentType) Not Implemented (501).static ResultResult.notImplemented(String content, String contentType, Charset charset) Not Implemented (501).static ResultResult.ok()Ok (200).static ResultOk (200).static ResultOk (200).static ResultResult.ok(com.fasterxml.jackson.databind.JsonNode content) Ok (200).static ResultResult.ok(TemplateResult templateResult) Ok (200).static ResultResult.ok(InputStream content, String contentType) Ok (200).static ResultOk (200).static ResultOk (200).static ResultOk (200).static ResultResult.redirectFound(String uri) Found (302).static ResultResult.redirectMovedPermanently(String uri) Moved Permanently (301).static ResultResult.redirectPermanentRedirect(String uri) Permanent Redirect (308).static ResultResult.redirectSeeOther(String uri) See other (303).static ResultResult.redirectTemporaryRedirect(String uri) See other (307).Result.withCookie(Cookie cookie) Assigns a new cookie.Result.withHeader(String headerName, String value) Assigns a new header.Result.withHeaders(Map<String, String> headerMap) Assigns a multiple headers.Result.withoutCookie(Cookie cookie) Removes a cookie.Result.withoutCookie(String cookieName) Removes a cookie.Result.withoutHeader(String headerName) Removes a header. -
Uses of Result in dev.voidframework.web.http.controller
Methods in dev.voidframework.web.http.controller that return ResultModifier and TypeMethodDescriptionAbstractJavaScriptInternationalizationController.jsInternationalizationScript(Locale locale) Retrieves JS I18N script.AbstractStaticAssetsController.staticAsset(Context context) Retrieves a static asset.AbstractStaticAssetsController.staticAsset(String fileName) Retrieves a static asset.AbstractStaticAssetsController.webjarAsset(String fileName) Retrieves a webjar asset. -
Uses of Result in dev.voidframework.web.http.errorhandler
Methods in dev.voidframework.web.http.errorhandler that return ResultModifier and TypeMethodDescriptionDefaultErrorHandler.onBadRequest(Context context, HttpException.BadRequest badRequestException) ErrorHandler.onBadRequest(Context context, HttpException.BadRequest badRequestException) This method is called when the provided request is invalid.DefaultErrorHandler.onNotFound(Context context, HttpException.NotFound notFoundException) ErrorHandler.onNotFound(Context context, HttpException.NotFound notFoundException) This method is called when no route has been found to satisfy the request.DefaultErrorHandler.onServerError(Context context, Throwable throwable) ErrorHandler.onServerError(Context context, Throwable throwable) This method is called when an unexpected error occurs during the processing of the request. -
Uses of Result in dev.voidframework.web.http.filter
Methods in dev.voidframework.web.http.filter that return Result -
Uses of Result in dev.voidframework.web.http.filter.csrf
Methods in dev.voidframework.web.http.filter.csrf that return Result -
Uses of Result in dev.voidframework.web.http.filter.security
Methods in dev.voidframework.web.http.filter.security that return ResultModifier and TypeMethodDescriptionSecurityHeadersFilter.apply(Context context, FilterChain filterChain) -
Uses of Result in dev.voidframework.web.server.http
Methods in dev.voidframework.web.server.http that return ResultModifier and TypeMethodDescriptionHttpRequestHandler.onBadRequest(Context context, HttpException.BadRequest cause) This method is called each time a bad request occur.HttpRequestHandler.onRouteRequest(Context context) This method is called each time the framework need to route a request.