List of usage examples for org.springframework.web.bind.annotation RequestMethod TRACE
RequestMethod TRACE
To view the source code for org.springframework.web.bind.annotation RequestMethod TRACE.
Click Source Link
From source file:org.ow2.proactive.scheduling.api.controllers.ApiController.java
@RequestMapping(value = "/v1/rest", method = { RequestMethod.DELETE, RequestMethod.GET, RequestMethod.HEAD, RequestMethod.OPTIONS, RequestMethod.POST, RequestMethod.PUT, RequestMethod.TRACE }) @ResponseBody// ww w. j a va 2s .co m public String v1() { return "TODO: forward to /rest/"; }
From source file:org.openmrs.module.webservices.rest.web.v1_0.controller.HL7MessageController.java
/** * Overridden to disable handling POST requests by this method as they need to be handled in a * special way by {@link #create(String, HttpServletRequest, HttpServletResponse)}. No two * methods can handle the same RequestMethod. * /* ww w . j av a 2s . c om*/ * @see org.openmrs.module.webservices.rest.web.v1_0.controller.BaseCrudController#create(org.openmrs.module.webservices.rest.SimpleObject, * javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse) */ @RequestMapping(method = RequestMethod.TRACE) @Override public Object create(SimpleObject post, HttpServletRequest request, HttpServletResponse response) throws ResponseException { throw new ResourceDoesNotSupportOperationException(); }
From source file:be.dnsbelgium.rdap.DomainController.java
@RequestMapping(value = "/{domainName}", method = { RequestMethod.DELETE, RequestMethod.PUT, RequestMethod.OPTIONS, RequestMethod.PATCH, RequestMethod.POST, RequestMethod.TRACE }, produces = Controllers.CONTENT_TYPE) @ResponseBody//from www. j av a2 s. c om public Domain any(@PathVariable("domainName") final String domainName) throws RDAPError { throw RDAPError.methodNotAllowed(); }
From source file:com.castlemock.web.mock.rest.web.rest.controller.RestServiceController.java
/** * The service is responsible for handling all the incoming REST requests. The REST requests will be processed * and a response will be generated and returned to the service consumer. * @param projectId The id of the project that the request belongs to * @param applicationId The id of the application that the request belongs to * @param httpServletRequest The incoming request that will be processed * @param httpServletResponse The outgoing response * @return Returns a mocked response//from www . j a v a 2s .c o m * @see RestProject * @see RestResource * @see RestMockResponse */ @ResponseBody @RequestMapping(method = RequestMethod.TRACE, value = "/{projectId}/application/{applicationId}/**") public ResponseEntity traceMethod(@PathVariable final String projectId, @PathVariable final String applicationId, final HttpServletRequest httpServletRequest, final HttpServletResponse httpServletResponse) { return process(projectId, applicationId, HttpMethod.TRACE, httpServletRequest, httpServletResponse); }
From source file:org.georchestra.security.Proxy.java
@RequestMapping(params = { "url", "!login" }, method = RequestMethod.TRACE) public void handleUrlTRACERequest(HttpServletRequest request, HttpServletResponse response, @RequestParam("url") String sURL) throws IOException { handleUrlParamRequest(request, response, RequestType.TRACE, sURL); }
From source file:org.georchestra.security.Proxy.java
@RequestMapping(params = { "!url", "!login" }, method = RequestMethod.TRACE) public void handleTRACERequest(HttpServletRequest request, HttpServletResponse response) { handlePathEncodedRequests(request, response, RequestType.TRACE); }