Example usage for org.springframework.http HttpStatus CONTINUE

List of usage examples for org.springframework.http HttpStatus CONTINUE

Introduction

In this page you can find the example usage for org.springframework.http HttpStatus CONTINUE.

Prototype

HttpStatus CONTINUE

To view the source code for org.springframework.http HttpStatus CONTINUE.

Click Source Link

Document

100 Continue .

Usage

From source file:org.terasoluna.gfw.functionaltest.app.exceptionhandling.ExceptionHandlingController.java

@ExceptionHandler(ContinueException.class)
@ResponseStatus(HttpStatus.CONTINUE)
public ModelAndView handleException(ContinueException e) {
    ExtendedModelMap modelMap = new ExtendedModelMap();

    modelMap.addAttribute("exceptionMessage", e.getMessage());
    return new ModelAndView("exceptionhandling/exceptionHandler", modelMap);
}