Uses of Class
org.springframework.http.ResponseEntity
Packages that use ResponseEntity
Package
Description
Contains a basic abstraction over client/server-side HTTP.
Core package of the client-side web support.
Classes supporting the
org.springframework.web.client package.Provides a reactive
WebClient
that builds on top of the
org.springframework.http.client.reactive reactive HTTP adapter layer.Classes supporting the
org.springframework.web.reactive.function.client package.Infrastructure for annotation-based handler method processing.
Support for creating a client proxy for an HTTP service annotated with
HttpExchange methods.MVC infrastructure for annotation-based handler method processing, building on the
org.springframework.web.method.annotation package.SockJS client implementation of
WebSocketClient.-
Uses of ResponseEntity in org.springframework.http
Methods in org.springframework.http that return ResponseEntityModifier and TypeMethodDescription<T> ResponseEntity<T> Set the body of the response entity and returns it.<T> ResponseEntity<T> ResponseEntity.HeadersBuilder.build()Build the response entity with no body.static <T> ResponseEntity<T> A shortcut for creating aResponseEntitywith the given body and the OK status, or an empty body and a NOT FOUND status in case of an Optional.empty() parameter.static <T> ResponseEntity<T> ResponseEntity.ofNullable(@Nullable T body) static <T> ResponseEntity<T> A shortcut for creating aResponseEntitywith the given body and the status set to OK. -
Uses of ResponseEntity in org.springframework.web.client
Methods in org.springframework.web.client that return ResponseEntityModifier and TypeMethodDescription<T> ResponseEntity<T> RestOperations.exchange(String url, HttpMethod method, @Nullable HttpEntity<?> requestEntity, Class<T> responseType, @Nullable Object... uriVariables) Execute the HTTP method to the given URI template, writing the given request entity to the request, and return the response asResponseEntity.<T> ResponseEntity<T> RestOperations.exchange(String url, HttpMethod method, @Nullable HttpEntity<?> requestEntity, Class<T> responseType, Map<String, ? extends @Nullable Object> uriVariables) Execute the HTTP method to the given URI template, writing the given request entity to the request, and return the response asResponseEntity.<T> ResponseEntity<T> RestOperations.exchange(String url, HttpMethod method, @Nullable HttpEntity<?> requestEntity, ParameterizedTypeReference<T> responseType, @Nullable Object... uriVariables) Execute the HTTP method to the given URI template, writing the given request entity to the request, and return the response asResponseEntity.<T> ResponseEntity<T> RestOperations.exchange(String url, HttpMethod method, @Nullable HttpEntity<?> requestEntity, ParameterizedTypeReference<T> responseType, Map<String, ? extends @Nullable Object> uriVariables) Execute the HTTP method to the given URI template, writing the given request entity to the request, and return the response asResponseEntity.<T> ResponseEntity<T> RestOperations.exchange(URI url, HttpMethod method, @Nullable HttpEntity<?> requestEntity, Class<T> responseType) Execute the HTTP method to the given URI template, writing the given request entity to the request, and return the response asResponseEntity.<T> ResponseEntity<T> RestOperations.exchange(URI url, HttpMethod method, @Nullable HttpEntity<?> requestEntity, ParameterizedTypeReference<T> responseType) Execute the HTTP method to the given URI template, writing the given request entity to the request, and return the response asResponseEntity.<T> ResponseEntity<T> RestOperations.exchange(RequestEntity<?> requestEntity, Class<T> responseType) Execute the request specified in the givenRequestEntityand return the response asResponseEntity.<T> ResponseEntity<T> RestOperations.exchange(RequestEntity<?> requestEntity, ParameterizedTypeReference<T> responseType) Execute the request specified in the givenRequestEntityand return the response asResponseEntity.<T> ResponseEntity<T> RestTemplate.exchange(String url, HttpMethod method, @Nullable HttpEntity<?> requestEntity, Class<T> responseType, @Nullable Object... uriVariables) <T> ResponseEntity<T> RestTemplate.exchange(String url, HttpMethod method, @Nullable HttpEntity<?> requestEntity, Class<T> responseType, Map<String, ? extends @Nullable Object> uriVariables) <T> ResponseEntity<T> RestTemplate.exchange(String url, HttpMethod method, @Nullable HttpEntity<?> requestEntity, ParameterizedTypeReference<T> responseType, @Nullable Object... uriVariables) <T> ResponseEntity<T> RestTemplate.exchange(String url, HttpMethod method, @Nullable HttpEntity<?> requestEntity, ParameterizedTypeReference<T> responseType, Map<String, ? extends @Nullable Object> uriVariables) <T> ResponseEntity<T> RestTemplate.exchange(URI url, HttpMethod method, @Nullable HttpEntity<?> requestEntity, Class<T> responseType) <T> ResponseEntity<T> RestTemplate.exchange(URI url, HttpMethod method, @Nullable HttpEntity<?> requestEntity, ParameterizedTypeReference<T> responseType) <T> ResponseEntity<T> RestTemplate.exchange(RequestEntity<?> entity, Class<T> responseType) <T> ResponseEntity<T> RestTemplate.exchange(RequestEntity<?> entity, ParameterizedTypeReference<T> responseType) <T> ResponseEntity<T> RestOperations.getForEntity(String url, Class<T> responseType, @Nullable Object... uriVariables) Retrieve an entity by doing a GET on the specified URL.<T> ResponseEntity<T> RestOperations.getForEntity(String url, Class<T> responseType, Map<String, ? extends @Nullable Object> uriVariables) Retrieve a representation by doing a GET on the URI template.<T> ResponseEntity<T> RestOperations.getForEntity(URI url, Class<T> responseType) Retrieve a representation by doing a GET on the URL.<T> ResponseEntity<T> RestTemplate.getForEntity(String url, Class<T> responseType, @Nullable Object... uriVariables) <T> ResponseEntity<T> RestTemplate.getForEntity(String url, Class<T> responseType, Map<String, ? extends @Nullable Object> uriVariables) <T> ResponseEntity<T> RestTemplate.getForEntity(URI url, Class<T> responseType) <T> ResponseEntity<T> RestOperations.postForEntity(String url, @Nullable Object request, Class<T> responseType, @Nullable Object... uriVariables) Create a new resource by POSTing the given object to the URI template, and return the response asResponseEntity.<T> ResponseEntity<T> RestOperations.postForEntity(String url, @Nullable Object request, Class<T> responseType, Map<String, ? extends @Nullable Object> uriVariables) Create a new resource by POSTing the given object to the URI template, and return the response asHttpEntity.<T> ResponseEntity<T> RestOperations.postForEntity(URI url, @Nullable Object request, Class<T> responseType) Create a new resource by POSTing the given object to the URL, and return the response asResponseEntity.<T> ResponseEntity<T> RestTemplate.postForEntity(String url, @Nullable Object request, Class<T> responseType, @Nullable Object... uriVariables) <T> ResponseEntity<T> RestTemplate.postForEntity(String url, @Nullable Object request, Class<T> responseType, Map<String, ? extends @Nullable Object> uriVariables) <T> ResponseEntity<T> RestTemplate.postForEntity(URI url, @Nullable Object request, Class<T> responseType) RestClient.ResponseSpec.toBodilessEntity()Return aResponseEntitywithout a body.<T> ResponseEntity<T> Return aResponseEntitywith the body decoded to an Object of the given type.<T> ResponseEntity<T> RestClient.ResponseSpec.toEntity(ParameterizedTypeReference<T> bodyType) Return aResponseEntitywith the body decoded to an Object of the given type.Methods in org.springframework.web.client that return types with arguments of type ResponseEntityModifier and TypeMethodDescription<T> ResponseExtractor<ResponseEntity<T>> RestTemplate.responseEntityExtractor(Type responseType) Return aResponseExtractorthat prepares aResponseEntity. -
Uses of ResponseEntity in org.springframework.web.client.support
Methods in org.springframework.web.client.support that return ResponseEntityModifier and TypeMethodDescriptionNotFoundRestClientAdapterDecorator.exchangeForBodilessEntity(HttpRequestValues values) RestClientAdapter.exchangeForBodilessEntity(HttpRequestValues values) RestTemplateAdapter.exchangeForBodilessEntity(HttpRequestValues values) <T> ResponseEntity<T> NotFoundRestClientAdapterDecorator.exchangeForEntity(HttpRequestValues values, ParameterizedTypeReference<T> bodyType) <T> ResponseEntity<T> RestClientAdapter.exchangeForEntity(HttpRequestValues values, ParameterizedTypeReference<T> bodyType) <T> ResponseEntity<T> RestTemplateAdapter.exchangeForEntity(HttpRequestValues values, ParameterizedTypeReference<T> bodyType) -
Uses of ResponseEntity in org.springframework.web.reactive.function.client
Methods in org.springframework.web.reactive.function.client that return types with arguments of type ResponseEntityModifier and TypeMethodDescriptionreactor.core.publisher.Mono<ResponseEntity<Void>> ClientResponse.toBodilessEntity()Return this response as a delayedResponseEntitycontaining status and headers, but no body.reactor.core.publisher.Mono<ResponseEntity<Void>> WebClient.ResponseSpec.toBodilessEntity()Return aResponseEntitywithout a body.<T> reactor.core.publisher.Mono<ResponseEntity<T>> Return this response as a delayedResponseEntity.<T> reactor.core.publisher.Mono<ResponseEntity<T>> ClientResponse.toEntity(ParameterizedTypeReference<T> bodyTypeReference) Return this response as a delayedResponseEntity.<T> reactor.core.publisher.Mono<ResponseEntity<T>> Return aResponseEntitywith the body decoded to an Object of the given type.<T> reactor.core.publisher.Mono<ResponseEntity<T>> WebClient.ResponseSpec.toEntity(ParameterizedTypeReference<T> bodyTypeReference) Variant ofWebClient.ResponseSpec.toEntity(Class)with aParameterizedTypeReference.<T> reactor.core.publisher.Mono<ResponseEntity<reactor.core.publisher.Flux<T>>> WebClient.ResponseSpec.toEntityFlux(Class<T> elementType) Return aResponseEntitywith the body decoded to aFluxof elements of the given type.<T> reactor.core.publisher.Mono<ResponseEntity<reactor.core.publisher.Flux<T>>> WebClient.ResponseSpec.toEntityFlux(ParameterizedTypeReference<T> elementTypeReference) Variant ofWebClient.ResponseSpec.toEntityFlux(Class)with aParameterizedTypeReference.<T> reactor.core.publisher.Mono<ResponseEntity<reactor.core.publisher.Flux<T>>> WebClient.ResponseSpec.toEntityFlux(BodyExtractor<reactor.core.publisher.Flux<T>, ? super ClientHttpResponse> bodyExtractor) Variant ofWebClient.ResponseSpec.toEntityFlux(Class)with aBodyExtractor.<T> reactor.core.publisher.Mono<ResponseEntity<List<T>>> ClientResponse.toEntityList(Class<T> elementClass) Return this response as a delayed list ofResponseEntitys.<T> reactor.core.publisher.Mono<ResponseEntity<List<T>>> ClientResponse.toEntityList(ParameterizedTypeReference<T> elementTypeRef) Return this response as a delayed list ofResponseEntitys.<T> reactor.core.publisher.Mono<ResponseEntity<List<T>>> WebClient.ResponseSpec.toEntityList(Class<T> elementClass) Return aResponseEntitywith the body decoded to aListof elements of the given type.<T> reactor.core.publisher.Mono<ResponseEntity<List<T>>> WebClient.ResponseSpec.toEntityList(ParameterizedTypeReference<T> elementTypeRef) Variant ofWebClient.ResponseSpec.toEntityList(Class)with aParameterizedTypeReference. -
Uses of ResponseEntity in org.springframework.web.reactive.function.client.support
Methods in org.springframework.web.reactive.function.client.support that return ResponseEntityModifier and TypeMethodDescriptionNotFoundWebClientAdapterDecorator.exchangeForBodilessEntity(HttpRequestValues values) <T> ResponseEntity<T> NotFoundWebClientAdapterDecorator.exchangeForEntity(HttpRequestValues values, ParameterizedTypeReference<T> bodyType) Methods in org.springframework.web.reactive.function.client.support that return types with arguments of type ResponseEntityModifier and TypeMethodDescriptionreactor.core.publisher.Mono<ResponseEntity<Void>> NotFoundWebClientAdapterDecorator.exchangeForBodilessEntityMono(HttpRequestValues values) reactor.core.publisher.Mono<ResponseEntity<Void>> WebClientAdapter.exchangeForBodilessEntityMono(HttpRequestValues requestValues) <T> reactor.core.publisher.Mono<ResponseEntity<reactor.core.publisher.Flux<T>>> NotFoundWebClientAdapterDecorator.exchangeForEntityFlux(HttpRequestValues values, ParameterizedTypeReference<T> bodyType) <T> reactor.core.publisher.Mono<ResponseEntity<reactor.core.publisher.Flux<T>>> WebClientAdapter.exchangeForEntityFlux(HttpRequestValues requestValues, ParameterizedTypeReference<T> bodyType) <T> reactor.core.publisher.Mono<ResponseEntity<T>> NotFoundWebClientAdapterDecorator.exchangeForEntityMono(HttpRequestValues values, ParameterizedTypeReference<T> bodyType) <T> reactor.core.publisher.Mono<ResponseEntity<T>> WebClientAdapter.exchangeForEntityMono(HttpRequestValues requestValues, ParameterizedTypeReference<T> bodyType) reactor.core.publisher.Mono<ResponseEntity<Void>> ClientResponseWrapper.toBodilessEntity()<T> reactor.core.publisher.Mono<ResponseEntity<T>> <T> reactor.core.publisher.Mono<ResponseEntity<T>> ClientResponseWrapper.toEntity(ParameterizedTypeReference<T> bodyTypeReference) <T> reactor.core.publisher.Mono<ResponseEntity<List<T>>> ClientResponseWrapper.toEntityList(Class<T> elementClass) <T> reactor.core.publisher.Mono<ResponseEntity<List<T>>> ClientResponseWrapper.toEntityList(ParameterizedTypeReference<T> elementTypeRef) -
Uses of ResponseEntity in org.springframework.web.reactive.result.method.annotation
Methods in org.springframework.web.reactive.result.method.annotation that return types with arguments of type ResponseEntityModifier and TypeMethodDescriptionprotected reactor.core.publisher.Mono<ResponseEntity<Object>> ResponseEntityExceptionHandler.createResponseEntity(@Nullable Object body, @Nullable HttpHeaders headers, HttpStatusCode status, ServerWebExchange exchange) Create theResponseEntityto use from the given body, headers, and statusCode.protected reactor.core.publisher.Mono<ResponseEntity<Object>> ResponseEntityExceptionHandler.handleErrorResponseException(ErrorResponseException ex, HttpHeaders headers, HttpStatusCode status, ServerWebExchange exchange) Customize the handling of anyErrorResponseException.final reactor.core.publisher.Mono<ResponseEntity<Object>> ResponseEntityExceptionHandler.handleException(Exception ex, ServerWebExchange exchange) Handle all exceptions raised within Spring WebFlux handling of the request.protected reactor.core.publisher.Mono<ResponseEntity<Object>> ResponseEntityExceptionHandler.handleExceptionInternal(Exception ex, @Nullable Object body, @Nullable HttpHeaders headers, HttpStatusCode status, ServerWebExchange exchange) Internal handler method that all others in this class delegate to, for common handling, and for the creation of aResponseEntity.protected reactor.core.publisher.Mono<ResponseEntity<Object>> ResponseEntityExceptionHandler.handleHandlerMethodValidationException(HandlerMethodValidationException ex, HttpHeaders headers, HttpStatusCode status, ServerWebExchange exchange) Customize the handling ofHandlerMethodValidationException.protected reactor.core.publisher.Mono<ResponseEntity<Object>> ResponseEntityExceptionHandler.handleMethodNotAllowedException(MethodNotAllowedException ex, HttpHeaders headers, HttpStatusCode status, ServerWebExchange exchange) Customize the handling ofMethodNotAllowedException.protected reactor.core.publisher.Mono<ResponseEntity<Object>> ResponseEntityExceptionHandler.handleMethodValidationException(MethodValidationException ex, HttpStatus status, ServerWebExchange exchange) Customize the handling ofMethodValidationException.protected reactor.core.publisher.Mono<ResponseEntity<Object>> ResponseEntityExceptionHandler.handleMissingRequestValueException(MissingRequestValueException ex, HttpHeaders headers, HttpStatusCode status, ServerWebExchange exchange) Customize the handling ofMissingRequestValueException.protected reactor.core.publisher.Mono<ResponseEntity<Object>> ResponseEntityExceptionHandler.handleNotAcceptableStatusException(NotAcceptableStatusException ex, HttpHeaders headers, HttpStatusCode status, ServerWebExchange exchange) Customize the handling ofNotAcceptableStatusException.protected reactor.core.publisher.Mono<ResponseEntity<Object>> ResponseEntityExceptionHandler.handleResponseStatusException(ResponseStatusException ex, HttpHeaders headers, HttpStatusCode status, ServerWebExchange exchange) Customize the handling of anyResponseStatusException.protected reactor.core.publisher.Mono<ResponseEntity<Object>> ResponseEntityExceptionHandler.handleServerErrorException(ServerErrorException ex, HttpHeaders headers, HttpStatusCode status, ServerWebExchange exchange) Customize the handling ofServerErrorException.protected reactor.core.publisher.Mono<ResponseEntity<Object>> ResponseEntityExceptionHandler.handleServerWebInputException(ServerWebInputException ex, HttpHeaders headers, HttpStatusCode status, ServerWebExchange exchange) Customize the handling ofServerWebInputException.protected reactor.core.publisher.Mono<ResponseEntity<Object>> ResponseEntityExceptionHandler.handleUnsatisfiedRequestParameterException(UnsatisfiedRequestParameterException ex, HttpHeaders headers, HttpStatusCode status, ServerWebExchange exchange) Customize the handling ofUnsatisfiedRequestParameterException.protected reactor.core.publisher.Mono<ResponseEntity<Object>> ResponseEntityExceptionHandler.handleUnsupportedMediaTypeStatusException(UnsupportedMediaTypeStatusException ex, HttpHeaders headers, HttpStatusCode status, ServerWebExchange exchange) Customize the handling ofUnsupportedMediaTypeStatusException.protected reactor.core.publisher.Mono<ResponseEntity<Object>> ResponseEntityExceptionHandler.handleWebExchangeBindException(WebExchangeBindException ex, HttpHeaders headers, HttpStatusCode status, ServerWebExchange exchange) Customize the handling ofWebExchangeBindException. -
Uses of ResponseEntity in org.springframework.web.service.invoker
Methods in org.springframework.web.service.invoker that return ResponseEntityModifier and TypeMethodDescriptionAbstractReactorHttpExchangeAdapter.exchangeForBodilessEntity(HttpRequestValues requestValues) HttpExchangeAdapter.exchangeForBodilessEntity(HttpRequestValues requestValues) Variant ofHttpExchangeAdapter.exchange(HttpRequestValues)with additional access to the response status and headers.HttpExchangeAdapterDecorator.exchangeForBodilessEntity(HttpRequestValues requestValues) ReactorHttpExchangeAdapterDecorator.exchangeForBodilessEntity(HttpRequestValues requestValues) <T> ResponseEntity<T> AbstractReactorHttpExchangeAdapter.exchangeForEntity(HttpRequestValues requestValues, ParameterizedTypeReference<T> bodyType) <T> ResponseEntity<T> HttpExchangeAdapter.exchangeForEntity(HttpRequestValues requestValues, ParameterizedTypeReference<T> bodyType) Variant ofHttpExchangeAdapter.exchangeForBody(HttpRequestValues, ParameterizedTypeReference)with additional access to the response status and headers.<T> ResponseEntity<T> HttpExchangeAdapterDecorator.exchangeForEntity(HttpRequestValues requestValues, ParameterizedTypeReference<T> bodyType) <T> ResponseEntity<T> ReactorHttpExchangeAdapterDecorator.exchangeForEntity(HttpRequestValues requestValues, ParameterizedTypeReference<T> bodyType) Methods in org.springframework.web.service.invoker that return types with arguments of type ResponseEntityModifier and TypeMethodDescriptionreactor.core.publisher.Mono<ResponseEntity<Void>> ReactorHttpExchangeAdapter.exchangeForBodilessEntityMono(HttpRequestValues requestValues) Variant ofReactorHttpExchangeAdapter.exchangeForMono(HttpRequestValues)with additional access to the response status and headers.reactor.core.publisher.Mono<ResponseEntity<Void>> ReactorHttpExchangeAdapterDecorator.exchangeForBodilessEntityMono(HttpRequestValues values) <T> reactor.core.publisher.Mono<ResponseEntity<reactor.core.publisher.Flux<T>>> ReactorHttpExchangeAdapter.exchangeForEntityFlux(HttpRequestValues requestValues, ParameterizedTypeReference<T> bodyType) Variant ofReactorHttpExchangeAdapter.exchangeForBodyFlux(HttpRequestValues, ParameterizedTypeReference)with additional access to the response status and headers.<T> reactor.core.publisher.Mono<ResponseEntity<reactor.core.publisher.Flux<T>>> ReactorHttpExchangeAdapterDecorator.exchangeForEntityFlux(HttpRequestValues values, ParameterizedTypeReference<T> bodyType) <T> reactor.core.publisher.Mono<ResponseEntity<T>> ReactorHttpExchangeAdapter.exchangeForEntityMono(HttpRequestValues requestValues, ParameterizedTypeReference<T> bodyType) Variant ofReactorHttpExchangeAdapter.exchangeForBodyMono(HttpRequestValues, ParameterizedTypeReference)with additional access to the response status and headers.<T> reactor.core.publisher.Mono<ResponseEntity<T>> ReactorHttpExchangeAdapterDecorator.exchangeForEntityMono(HttpRequestValues values, ParameterizedTypeReference<T> bodyType) -
Uses of ResponseEntity in org.springframework.web.servlet.mvc.method.annotation
Methods in org.springframework.web.servlet.mvc.method.annotation that return ResponseEntityModifier and TypeMethodDescriptionprotected ResponseEntity<Object> ResponseEntityExceptionHandler.createResponseEntity(@Nullable Object body, HttpHeaders headers, HttpStatusCode statusCode, WebRequest request) Create theResponseEntityto use from the given body, headers, and statusCode.protected @Nullable ResponseEntity<Object> ResponseEntityExceptionHandler.handleAsyncRequestNotUsableException(AsyncRequestNotUsableException ex, WebRequest request) Customize the handling ofAsyncRequestNotUsableException.protected @Nullable ResponseEntity<Object> ResponseEntityExceptionHandler.handleAsyncRequestTimeoutException(AsyncRequestTimeoutException ex, HttpHeaders headers, HttpStatusCode status, WebRequest request) Customize the handling ofAsyncRequestTimeoutException.protected @Nullable ResponseEntity<Object> ResponseEntityExceptionHandler.handleConversionNotSupported(ConversionNotSupportedException ex, HttpHeaders headers, HttpStatusCode status, WebRequest request) Customize the handling ofConversionNotSupportedException.protected @Nullable ResponseEntity<Object> ResponseEntityExceptionHandler.handleErrorResponseException(ErrorResponseException ex, HttpHeaders headers, HttpStatusCode status, WebRequest request) Customize the handling of anyErrorResponseException.final @Nullable ResponseEntity<Object> ResponseEntityExceptionHandler.handleException(Exception ex, WebRequest request) Handle all exceptions raised within Spring MVC handling of the request.protected @Nullable ResponseEntity<Object> ResponseEntityExceptionHandler.handleExceptionInternal(Exception ex, @Nullable Object body, HttpHeaders headers, HttpStatusCode statusCode, WebRequest request) Internal handler method that all others in this class delegate to, for common handling, and for the creation of aResponseEntity.protected @Nullable ResponseEntity<Object> ResponseEntityExceptionHandler.handleHandlerMethodValidationException(HandlerMethodValidationException ex, HttpHeaders headers, HttpStatusCode status, WebRequest request) Customize the handling ofHandlerMethodValidationException.protected @Nullable ResponseEntity<Object> ResponseEntityExceptionHandler.handleHttpMediaTypeNotAcceptable(HttpMediaTypeNotAcceptableException ex, HttpHeaders headers, HttpStatusCode status, WebRequest request) Customize the handling ofHttpMediaTypeNotAcceptableException.protected @Nullable ResponseEntity<Object> ResponseEntityExceptionHandler.handleHttpMediaTypeNotSupported(HttpMediaTypeNotSupportedException ex, HttpHeaders headers, HttpStatusCode status, WebRequest request) Customize the handling ofHttpMediaTypeNotSupportedException.protected @Nullable ResponseEntity<Object> ResponseEntityExceptionHandler.handleHttpMessageNotReadable(HttpMessageNotReadableException ex, HttpHeaders headers, HttpStatusCode status, WebRequest request) Customize the handling ofHttpMessageNotReadableException.protected @Nullable ResponseEntity<Object> ResponseEntityExceptionHandler.handleHttpMessageNotWritable(HttpMessageNotWritableException ex, HttpHeaders headers, HttpStatusCode status, WebRequest request) Customize the handling ofHttpMessageNotWritableException.protected @Nullable ResponseEntity<Object> ResponseEntityExceptionHandler.handleHttpRequestMethodNotSupported(HttpRequestMethodNotSupportedException ex, HttpHeaders headers, HttpStatusCode status, WebRequest request) Customize the handling ofHttpRequestMethodNotSupportedException.protected @Nullable ResponseEntity<Object> ResponseEntityExceptionHandler.handleMaxUploadSizeExceededException(MaxUploadSizeExceededException ex, HttpHeaders headers, HttpStatusCode status, WebRequest request) Customize the handling of anyMaxUploadSizeExceededException.protected @Nullable ResponseEntity<Object> ResponseEntityExceptionHandler.handleMethodArgumentNotValid(MethodArgumentNotValidException ex, HttpHeaders headers, HttpStatusCode status, WebRequest request) Customize the handling ofMethodArgumentNotValidException.protected @Nullable ResponseEntity<Object> ResponseEntityExceptionHandler.handleMethodValidationException(MethodValidationException ex, HttpHeaders headers, HttpStatus status, WebRequest request) Customize the handling ofMethodValidationException.protected @Nullable ResponseEntity<Object> ResponseEntityExceptionHandler.handleMissingPathVariable(MissingPathVariableException ex, HttpHeaders headers, HttpStatusCode status, WebRequest request) Customize the handling ofMissingPathVariableException.protected @Nullable ResponseEntity<Object> ResponseEntityExceptionHandler.handleMissingServletRequestParameter(MissingServletRequestParameterException ex, HttpHeaders headers, HttpStatusCode status, WebRequest request) Customize the handling ofMissingServletRequestParameterException.protected @Nullable ResponseEntity<Object> ResponseEntityExceptionHandler.handleMissingServletRequestPart(MissingServletRequestPartException ex, HttpHeaders headers, HttpStatusCode status, WebRequest request) Customize the handling ofMissingServletRequestPartException.protected @Nullable ResponseEntity<Object> ResponseEntityExceptionHandler.handleNoHandlerFoundException(NoHandlerFoundException ex, HttpHeaders headers, HttpStatusCode status, WebRequest request) Customize the handling ofNoHandlerFoundException.protected @Nullable ResponseEntity<Object> ResponseEntityExceptionHandler.handleNoResourceFoundException(NoResourceFoundException ex, HttpHeaders headers, HttpStatusCode status, WebRequest request) Customize the handling ofNoResourceFoundException.protected @Nullable ResponseEntity<Object> ResponseEntityExceptionHandler.handleServletRequestBindingException(ServletRequestBindingException ex, HttpHeaders headers, HttpStatusCode status, WebRequest request) Customize the handling ofServletRequestBindingException.protected @Nullable ResponseEntity<Object> ResponseEntityExceptionHandler.handleTypeMismatch(TypeMismatchException ex, HttpHeaders headers, HttpStatusCode status, WebRequest request) Customize the handling ofTypeMismatchException. -
Uses of ResponseEntity in org.springframework.web.socket.sockjs.client
Methods in org.springframework.web.socket.sockjs.client that return ResponseEntityModifier and TypeMethodDescriptionprotected abstract ResponseEntity<String> AbstractXhrTransport.executeInfoRequestInternal(URI infoUrl, HttpHeaders headers) protected ResponseEntity<String> JettyXhrTransport.executeInfoRequestInternal(URI infoUrl, HttpHeaders headers) protected ResponseEntity<String> RestTemplateXhrTransport.executeInfoRequestInternal(URI infoUrl, HttpHeaders headers) protected ResponseEntity<String> JettyXhrTransport.executeRequest(URI url, org.eclipse.jetty.http.HttpMethod method, HttpHeaders headers, @Nullable String body) protected abstract ResponseEntity<String> AbstractXhrTransport.executeSendRequestInternal(URI url, HttpHeaders headers, TextMessage message) JettyXhrTransport.executeSendRequestInternal(URI url, HttpHeaders headers, TextMessage message) RestTemplateXhrTransport.executeSendRequestInternal(URI url, HttpHeaders headers, TextMessage message)