Class AbstractPersistenceResource

    • Constructor Detail

      • AbstractPersistenceResource

        public AbstractPersistenceResource()
    • Method Detail

      • getContextsInternal

        protected javax.ws.rs.core.Response getContextsInternal​(java.lang.String version,
                                                                javax.ws.rs.core.HttpHeaders headers,
                                                                javax.ws.rs.core.UriInfo uriInfo)
        Produces a response containing a list of available persistence contexts. Returns different responses depending version.
        Parameters:
        version - the service version (null, "v1.0", "v2.0", "latest")
        headers - the HTTP headers
        uriInfo - the URL
        Returns:
        response containing a list of persistence contexts.
      • callSessionBeanInternal

        protected javax.ws.rs.core.Response callSessionBeanInternal​(java.lang.String version,
                                                                    javax.ws.rs.core.HttpHeaders headers,
                                                                    javax.ws.rs.core.UriInfo uriInfo,
                                                                    java.io.InputStream is)