Example usage for org.springframework.http HttpStatus NOT_IMPLEMENTED

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

Introduction

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

Prototype

HttpStatus NOT_IMPLEMENTED

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

Click Source Link

Document

501 Not Implemented .

Usage

From source file:com.github.lynxdb.server.api.http.handlers.EpTree.java

@RequestMapping(path = "/branch", method = RequestMethod.GET, produces = MediaType.APPLICATION_JSON_VALUE)
public ResponseEntity branch() {
    return ResponseEntity.status(HttpStatus.NOT_IMPLEMENTED).build();
}

From source file:com.github.lynxdb.server.api.http.handlers.EpUid.java

@RequestMapping(path = "/tsmeta", method = { RequestMethod.GET, RequestMethod.POST, RequestMethod.PUT,
        RequestMethod.DELETE }, produces = MediaType.APPLICATION_JSON_VALUE)
public ResponseEntity tsmeta() {
    return ResponseEntity.status(HttpStatus.NOT_IMPLEMENTED).build();
}

From source file:com.github.lynxdb.server.api.http.handlers.EpSearch.java

@RequestMapping(path = "/lookup", method = { RequestMethod.GET,
        RequestMethod.POST }, produces = MediaType.APPLICATION_JSON_VALUE)
public ResponseEntity lookup() {
    return ResponseEntity.status(HttpStatus.NOT_IMPLEMENTED).build();
}

From source file:com.github.lynxdb.server.api.http.handlers.EpAnnotation.java

@RequestMapping(path = "/bulk", method = { RequestMethod.POST, RequestMethod.PUT,
        RequestMethod.DELETE }, produces = MediaType.APPLICATION_JSON_VALUE)
public ResponseEntity bulk() {
    return ResponseEntity.status(HttpStatus.NOT_IMPLEMENTED).build();
}

From source file:com.github.lynxdb.server.api.http.handlers.EpStats.java

@RequestMapping(path = "/query", method = RequestMethod.GET, produces = MediaType.APPLICATION_JSON_VALUE)
public ResponseEntity query() {
    return ResponseEntity.status(HttpStatus.NOT_IMPLEMENTED).build();
}

From source file:com.github.lynxdb.server.api.http.handlers.EpTree.java

@RequestMapping(path = "/collisions", method = RequestMethod.GET, produces = MediaType.APPLICATION_JSON_VALUE)
public ResponseEntity collisions() {
    return ResponseEntity.status(HttpStatus.NOT_IMPLEMENTED).build();
}

From source file:com.github.lynxdb.server.api.http.handlers.EpUid.java

@RequestMapping(path = "/uidmeta", method = { RequestMethod.GET,
        RequestMethod.POST }, produces = MediaType.APPLICATION_JSON_VALUE)
public ResponseEntity uidmeta() {
    return ResponseEntity.status(HttpStatus.NOT_IMPLEMENTED).build();
}

From source file:com.github.lynxdb.server.api.http.handlers.EpSearch.java

@RequestMapping(path = "/{type}", method = { RequestMethod.GET,
        RequestMethod.POST }, produces = MediaType.APPLICATION_JSON_VALUE)
public ResponseEntity type(@PathVariable("type") String _type) {
    return ResponseEntity.status(HttpStatus.NOT_IMPLEMENTED).build();
}

From source file:com.github.lynxdb.server.api.http.handlers.EpStats.java

@RequestMapping(path = "/region_clients", method = RequestMethod.GET, produces = MediaType.APPLICATION_JSON_VALUE)
public ResponseEntity regionClients() {
    return ResponseEntity.status(HttpStatus.NOT_IMPLEMENTED).build();
}

From source file:ca.hec.tenjin.tool.controller.ImportController.java

@RequestMapping(value = "/import/{siteId}", method = RequestMethod.POST)
public @ResponseBody ResponseEntity<Syllabus> importSyllabus(@PathVariable("siteId") String siteId)
        throws DeniedAccessException, SyllabusLockedException {

    if (importProvider == null) {
        return new ResponseEntity<Syllabus>(HttpStatus.NOT_IMPLEMENTED);
    }//from w w w.j  ava  2  s. c om

    Syllabus syllabus = syllabusService.importSyllabusFromSite(siteId);
    if (syllabus != null) {
        return new ResponseEntity<Syllabus>(syllabus, HttpStatus.OK);
    } else {
        return new ResponseEntity<Syllabus>(HttpStatus.NOT_FOUND);
    }

}