public class Main extends ModuleRoot
httpHeaders, request, uriInfo| Constructor and Description |
|---|
Main() |
| Modifier and Type | Method and Description |
|---|---|
protected String |
doSearchWithPayload(String indices,
String types,
String rawQuery,
String payload) |
String |
getDocument(String indices,
String types,
String documentId,
javax.ws.rs.core.UriInfo uriInf) |
protected String |
getElasticsearchBaseUrl() |
NuxeoPrincipal |
getPrincipal() |
String |
searchWithPayload(String indices,
String types,
javax.ws.rs.core.UriInfo uriInf,
javax.ws.rs.core.MultivaluedMap<String,String> formParams) |
String |
searchWithPayload(String indices,
javax.ws.rs.core.UriInfo uriInf,
javax.ws.rs.core.MultivaluedMap<String,String> formParams) |
String |
searchWithPayload(javax.ws.rs.core.UriInfo uriInf,
javax.ws.rs.core.MultivaluedMap<String,String> formParams) |
String |
searchWithPost(String indices,
String types,
javax.ws.rs.core.UriInfo uriInf,
String payload) |
String |
searchWithPost(String indices,
javax.ws.rs.core.UriInfo uriInf,
String payload) |
String |
searchWithPost(javax.ws.rs.core.UriInfo uriInf,
String payload) |
String |
searchWithUri(String indices,
String types,
javax.ws.rs.core.UriInfo uriInf) |
getLink, getSkinResource, handleError, setHttpHeaders, setHttpRequest, setUriInfodisptachAdapter, isAdaptercheckGuard, dispose, getActiveAdapter, getAdapter, getContext, getFacets, getLinks, getModule, getName, getNext, getNextSegment, getPath, getPrevious, getTemplate, getTrailingPath, getType, getURL, getView, hasFacet, initialize, initialize, isInstanceOf, isRoot, newAdapter, newObject, redirect, setNext, setPrevious, setRoot, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitcheckGuard, dispose, getActiveAdapter, getContext, getFacets, getLinks, getModule, getName, getNext, getNextSegment, getPath, getPrevious, getTemplate, getTrailingPath, getType, getURL, getView, hasFacet, initialize, isAdapter, isInstanceOf, isRoot, newAdapter, newObject, redirect, setNext, setPrevious, setRootgetAdapterpublic Main()
public String searchWithPayload(@Context javax.ws.rs.core.UriInfo uriInf, javax.ws.rs.core.MultivaluedMap<String,String> formParams) throws IOException, org.json.JSONException
IOExceptionorg.json.JSONExceptionpublic String searchWithPost(@Context javax.ws.rs.core.UriInfo uriInf, String payload) throws IOException, org.json.JSONException
IOExceptionorg.json.JSONExceptionpublic String searchWithPayload(String indices, @Context javax.ws.rs.core.UriInfo uriInf, javax.ws.rs.core.MultivaluedMap<String,String> formParams) throws IOException, org.json.JSONException
IOExceptionorg.json.JSONExceptionpublic String searchWithPost(String indices, @Context javax.ws.rs.core.UriInfo uriInf, String payload) throws IOException, org.json.JSONException
IOExceptionorg.json.JSONExceptionpublic String searchWithPayload(String indices, String types, @Context javax.ws.rs.core.UriInfo uriInf, javax.ws.rs.core.MultivaluedMap<String,String> formParams) throws IOException, org.json.JSONException
IOExceptionorg.json.JSONExceptionpublic String searchWithPost(String indices, String types, @Context javax.ws.rs.core.UriInfo uriInf, String payload) throws IOException, org.json.JSONException
IOExceptionorg.json.JSONExceptionprotected String doSearchWithPayload(String indices, String types, String rawQuery, String payload) throws IOException, org.json.JSONException
IOExceptionorg.json.JSONExceptionpublic String searchWithUri(String indices, String types, @Context javax.ws.rs.core.UriInfo uriInf) throws IOException, org.json.JSONException
IOExceptionorg.json.JSONExceptionpublic String getDocument(String indices, String types, String documentId, @Context javax.ws.rs.core.UriInfo uriInf) throws IOException, org.json.JSONException
IOExceptionorg.json.JSONExceptionprotected String getElasticsearchBaseUrl()
@NotNull public NuxeoPrincipal getPrincipal()
Copyright © 2016 Nuxeo SA. All rights reserved.