Interface SolrProxyResource


@Path("/solr") public interface SolrProxyResource
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final String
     
    static final String
     
  • Method Summary

    Modifier and Type
    Method
    Description
    javax.ws.rs.core.Response
    ok()
     
    javax.ws.rs.core.Response
    proxyDeleteRequestToSolr(String collectionId, String path, javax.ws.rs.core.HttpHeaders headers, javax.ws.rs.core.UriInfo uriInfo, InputStream entity)
     
    javax.ws.rs.core.Response
    proxyPostRequestToSolr(String collectionId, String path, javax.ws.rs.core.HttpHeaders headers, javax.ws.rs.core.UriInfo uriInfo, com.lucidworks.apollo.security.AuthorizationContext context, InputStream entity)
     
    javax.ws.rs.core.Response
    proxyPutRequestToSolr(String collectionId, String path, javax.ws.rs.core.HttpHeaders headers, javax.ws.rs.core.UriInfo uriInfo, InputStream entity)
     
    javax.ws.rs.core.Response
    proxyRequestToSolr(String collectionId, String path, javax.ws.rs.core.HttpHeaders headers, javax.ws.rs.core.UriInfo uriInfo, com.lucidworks.apollo.security.AuthorizationContext context, InputStream entity)
     
  • Field Details

  • Method Details

    • ok

      @GET @Produces("application/json") javax.ws.rs.core.Response ok()
    • proxyRequestToSolr

      @Path("{collection}/{path:.*}") @GET javax.ws.rs.core.Response proxyRequestToSolr(@PathParam("collection") String collectionId, @PathParam("path") String path, @Context javax.ws.rs.core.HttpHeaders headers, @Context javax.ws.rs.core.UriInfo uriInfo, @Context com.lucidworks.apollo.security.AuthorizationContext context, InputStream entity) throws Exception
      Throws:
      Exception
    • proxyPostRequestToSolr

      @Path("{collection}/{path:.*}") @POST javax.ws.rs.core.Response proxyPostRequestToSolr(@PathParam("collection") String collectionId, @PathParam("path") String path, @Context javax.ws.rs.core.HttpHeaders headers, @Context javax.ws.rs.core.UriInfo uriInfo, @Context com.lucidworks.apollo.security.AuthorizationContext context, InputStream entity) throws Exception
      Throws:
      Exception
    • proxyPutRequestToSolr

      @Path("{collection}/{path:.*}") @PUT javax.ws.rs.core.Response proxyPutRequestToSolr(@PathParam("collection") String collectionId, @PathParam("path") String path, @Context javax.ws.rs.core.HttpHeaders headers, @Context javax.ws.rs.core.UriInfo uriInfo, InputStream entity) throws Exception
      Throws:
      Exception
    • proxyDeleteRequestToSolr

      @Path("{collection}/{path:.*}") @DELETE javax.ws.rs.core.Response proxyDeleteRequestToSolr(@PathParam("collection") String collectionId, @PathParam("path") String path, @Context javax.ws.rs.core.HttpHeaders headers, @Context javax.ws.rs.core.UriInfo uriInfo, InputStream entity) throws Exception
      Throws:
      Exception