Class MockServices

java.lang.Object
de.joergdev.mosy.backend.api.impl.MockServices

@Path("mosy/api/v_5_0/mock-services") public class MockServices extends Object
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    jakarta.ws.rs.core.Response
    captureRestDelete(String path, jakarta.ws.rs.core.HttpHeaders headers, jakarta.ws.rs.core.UriInfo uriInfo, String content)
     
    jakarta.ws.rs.core.Response
    captureRestGet(String path, jakarta.ws.rs.core.HttpHeaders headers, jakarta.ws.rs.core.UriInfo uriInfo, String content)
     
    jakarta.ws.rs.core.Response
    captureRestPost(String path, jakarta.ws.rs.core.HttpHeaders headers, jakarta.ws.rs.core.UriInfo uriInfo, String content)
     
    jakarta.ws.rs.core.Response
    captureRestPut(String path, jakarta.ws.rs.core.HttpHeaders headers, jakarta.ws.rs.core.UriInfo uriInfo, String content)
     
    jakarta.ws.rs.core.Response
    captureSoap(String path, jakarta.ws.rs.core.HttpHeaders headers, jakarta.ws.rs.core.UriInfo uriInfo, String content)
     
    jakarta.ws.rs.core.Response
    captureSoapWsdlRequest(String path, jakarta.ws.rs.core.HttpHeaders headers, jakarta.ws.rs.core.UriInfo uriInfo)
     
    jakarta.ws.rs.core.Response
    customRequest(jakarta.ws.rs.core.HttpHeaders headers, de.joergdev.mosy.api.request.mockservices.CustomRequestRequest request)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • MockServices

      public MockServices()
  • Method Details

    • captureSoap

      @Path("soap/{pth:.+}") @POST @Produces("text/xml") public jakarta.ws.rs.core.Response captureSoap(@PathParam("pth") String path, @Context jakarta.ws.rs.core.HttpHeaders headers, @Context jakarta.ws.rs.core.UriInfo uriInfo, String content)
    • captureSoapWsdlRequest

      @Path("soap/{pth:.+}") @GET @Produces("text/html") public jakarta.ws.rs.core.Response captureSoapWsdlRequest(@PathParam("pth") String path, @Context jakarta.ws.rs.core.HttpHeaders headers, @Context jakarta.ws.rs.core.UriInfo uriInfo)
    • captureRestPost

      @Path("rest/{pth:.+}") @POST public jakarta.ws.rs.core.Response captureRestPost(@PathParam("pth") String path, @Context jakarta.ws.rs.core.HttpHeaders headers, @Context jakarta.ws.rs.core.UriInfo uriInfo, String content)
    • captureRestPut

      @Path("rest/{pth:.+}") @PUT public jakarta.ws.rs.core.Response captureRestPut(@PathParam("pth") String path, @Context jakarta.ws.rs.core.HttpHeaders headers, @Context jakarta.ws.rs.core.UriInfo uriInfo, String content)
    • captureRestDelete

      @Path("rest/{pth:.+}") @DELETE public jakarta.ws.rs.core.Response captureRestDelete(@PathParam("pth") String path, @Context jakarta.ws.rs.core.HttpHeaders headers, @Context jakarta.ws.rs.core.UriInfo uriInfo, String content)
    • captureRestGet

      @Path("rest/{pth:.+}") @GET public jakarta.ws.rs.core.Response captureRestGet(@PathParam("pth") String path, @Context jakarta.ws.rs.core.HttpHeaders headers, @Context jakarta.ws.rs.core.UriInfo uriInfo, String content)
    • customRequest

      @Path("custom-request") @POST public jakarta.ws.rs.core.Response customRequest(@Context jakarta.ws.rs.core.HttpHeaders headers, de.joergdev.mosy.api.request.mockservices.CustomRequestRequest request)