| Package | Description |
|---|---|
| com.blibli.oss.backend.common.helper | |
| com.blibli.oss.backend.common.webflux.controller |
| Modifier and Type | Method and Description |
|---|---|
static <T> Response<T> |
ResponseHelper.badRequest(Map<String,List<String>> errors) |
static <T> Response<T> |
ResponseHelper.internalServerError() |
static <T> Response<T> |
ResponseHelper.ok() |
static <T> Response<T> |
ResponseHelper.ok(T data) |
static <T> Response<T> |
ResponseHelper.ok(T data,
Paging paging) |
static <T> Response<T> |
ResponseHelper.status(org.springframework.http.HttpStatus status) |
static <T> Response<T> |
ResponseHelper.status(org.springframework.http.HttpStatus status,
T data) |
static <T> Response<T> |
ResponseHelper.status(org.springframework.http.HttpStatus status,
T data,
Paging paging) |
static <T> Response<T> |
ResponseHelper.status(org.springframework.http.HttpStatus status,
T data,
Paging paging,
Map<String,List<String>> errors) |
static <T> Response<T> |
ResponseHelper.unauthorized() |
| Modifier and Type | Method and Description |
|---|---|
default Response<Object> |
CommonErrorController.httpMessageNotReadableException(org.springframework.http.converter.HttpMessageNotReadableException e) |
default Response<Object> |
CommonErrorController.mediaTypeNotSupportedException(org.springframework.web.server.MediaTypeNotSupportedStatusException e) |
default Response<Object> |
CommonErrorController.methodNotAllowedException(org.springframework.web.server.MethodNotAllowedException e) |
default Response<Object> |
CommonErrorController.notAcceptableStatusException(org.springframework.web.server.NotAcceptableStatusException e) |
default Response<Object> |
CommonErrorController.serverErrorException(org.springframework.web.server.ServerErrorException e) |
default Response<Object> |
CommonErrorController.throwable(Throwable e) |
default Response<Object> |
CommonErrorController.unsupportedMediaTypeStatusException(org.springframework.web.server.UnsupportedMediaTypeStatusException e) |
| Modifier and Type | Method and Description |
|---|---|
default org.springframework.http.ResponseEntity<Response<Object>> |
CommonErrorController.constraintViolationException(javax.validation.ConstraintViolationException e) |
default org.springframework.http.ResponseEntity<Response<Object>> |
CommonErrorController.responseStatusException(org.springframework.web.server.ResponseStatusException e) |
default org.springframework.http.ResponseEntity<Response<Object>> |
CommonErrorController.serverWebInputException(org.springframework.web.server.ServerWebInputException e) |
default org.springframework.http.ResponseEntity<Response<Object>> |
CommonErrorController.webExchangeBindException(org.springframework.web.bind.support.WebExchangeBindException e) |
Copyright © 2021. All rights reserved.