Modifier and Type | Method and Description |
---|---|
protected void |
AbstractAtomPubService.delete(UrlBuilder url)
Performs a DELETE on an URL, checks the response code and returns the
result.
|
protected Response |
AbstractAtomPubService.post(UrlBuilder url,
String contentType,
Output writer)
Performs a POST on an URL, checks the response code and returns the
result.
|
protected Response |
AbstractAtomPubService.put(UrlBuilder url,
String contentType,
Map<String,String> headers,
Output writer)
Performs a PUT on an URL, checks the response code and returns the
result.
|
protected Response |
AbstractAtomPubService.put(UrlBuilder url,
String contentType,
Output writer)
Performs a PUT on an URL, checks the response code and returns the
result.
|
protected Response |
AbstractAtomPubService.read(UrlBuilder url)
Performs a GET on an URL, checks the response code and returns the
result.
|
Modifier and Type | Method and Description |
---|---|
UrlBuilder |
RepositoryUrlCache.getObjectUrl(String repositoryId,
String objectId)
Returns an object URL with the given selector.
|
protected UrlBuilder |
AbstractBrowserBindingService.getObjectUrl(String repositoryId,
String objectId) |
UrlBuilder |
RepositoryUrlCache.getObjectUrl(String repositoryId,
String objectId,
String selector)
Returns an object URL with the given selector.
|
protected UrlBuilder |
AbstractBrowserBindingService.getObjectUrl(String repositoryId,
String objectId,
String selector) |
UrlBuilder |
RepositoryUrlCache.getPathUrl(String repositoryId,
String path)
Returns an object URL with the given selector.
|
UrlBuilder |
RepositoryUrlCache.getPathUrl(String repositoryId,
String path,
String selector)
Returns an object URL with the given selector.
|
protected UrlBuilder |
AbstractBrowserBindingService.getPathUrl(String repositoryId,
String objectId,
String selector) |
UrlBuilder |
RepositoryUrlCache.getRepositoryUrl(String repositoryId)
Returns the repository URL.
|
protected UrlBuilder |
AbstractBrowserBindingService.getRepositoryUrl(String repositoryId) |
UrlBuilder |
RepositoryUrlCache.getRepositoryUrl(String repositoryId,
String selector)
Returns the repository URL with the given selector.
|
protected UrlBuilder |
AbstractBrowserBindingService.getRepositoryUrl(String repositoryId,
String selector) |
Modifier and Type | Method and Description |
---|---|
protected Response |
AbstractBrowserBindingService.post(UrlBuilder url,
String contentType,
Output writer)
Performs a POST on an URL, checks the response code and returns the
result.
|
protected void |
AbstractBrowserBindingService.postAndConsume(UrlBuilder url,
String contentType,
Output writer)
Performs a POST on an URL, checks the response code and returns the
result.
|
protected Response |
AbstractBrowserBindingService.read(UrlBuilder url)
Performs a GET on an URL, checks the response code and returns the
result.
|
Modifier and Type | Method and Description |
---|---|
Response |
HttpInvoker.invokeDELETE(UrlBuilder url,
BindingSession session)
Executes a HTTP DELETE request.
|
Response |
DefaultHttpInvoker.invokeDELETE(UrlBuilder url,
BindingSession session) |
Response |
HttpInvoker.invokeGET(UrlBuilder url,
BindingSession session)
Executes a HTTP GET request.
|
Response |
DefaultHttpInvoker.invokeGET(UrlBuilder url,
BindingSession session) |
Response |
HttpInvoker.invokeGET(UrlBuilder url,
BindingSession session,
BigInteger offset,
BigInteger length)
Executes a HTTP GET request.
|
Response |
DefaultHttpInvoker.invokeGET(UrlBuilder url,
BindingSession session,
BigInteger offset,
BigInteger length) |
Response |
HttpInvoker.invokePOST(UrlBuilder url,
String contentType,
Output writer,
BindingSession session)
Executes a HTTP POST request.
|
Response |
DefaultHttpInvoker.invokePOST(UrlBuilder url,
String contentType,
Output writer,
BindingSession session) |
Response |
HttpInvoker.invokePUT(UrlBuilder url,
String contentType,
Map<String,String> headers,
Output writer,
BindingSession session)
Executes a HTTP PUT request.
|
Response |
DefaultHttpInvoker.invokePUT(UrlBuilder url,
String contentType,
Map<String,String> headers,
Output writer,
BindingSession session) |
Modifier and Type | Method and Description |
---|---|
UrlBuilder |
UrlBuilder.addParameter(String name,
Object value)
Adds a parameter to the URL.
|
UrlBuilder |
UrlBuilder.addPath(String path)
Adds a path to the URL.
|
protected UrlBuilder |
UrlBuilder.addPathPart(String part,
boolean quoteSlash) |
UrlBuilder |
UrlBuilder.addPathSegment(String pathSegment)
Adds a path segment to the URL.
|
Constructor and Description |
---|
UrlBuilder(UrlBuilder urlBuilder)
Copy constructor.
|
Modifier and Type | Method and Description |
---|---|
static UrlBuilder |
AtomPubUtils.compileBaseUrl(javax.servlet.http.HttpServletRequest request,
String repositoryId)
Compiles the base URL for links, collections and templates.
|
static UrlBuilder |
AtomPubUtils.compileUrlBuilder(UrlBuilder baseUrl,
String resource,
String id)
Compiles a URL for links, collections and templates.
|
Modifier and Type | Method and Description |
---|---|
static String |
AtomPubUtils.compileUrl(UrlBuilder baseUrl,
String resource,
String id)
Compiles a URL for links, collections and templates.
|
static UrlBuilder |
AtomPubUtils.compileUrlBuilder(UrlBuilder baseUrl,
String resource,
String id)
Compiles a URL for links, collections and templates.
|
static void |
AtomPubUtils.writeContentChangesObjectEntry(CmisService service,
AtomEntry entry,
ObjectData object,
List<ObjectInFolderContainer> children,
String repositoryId,
String pathSegment,
String relativePathSegment,
UrlBuilder baseUrl,
boolean isRoot)
Writes the a object entry in a content changes list.
|
static void |
AtomPubUtils.writeObjectChildren(CmisService service,
AtomEntry entry,
ObjectInfo folderInfo,
List<ObjectInFolderContainer> children,
String repositoryId,
UrlBuilder baseUrl)
Writes an objects entry children feed.
|
static void |
AtomPubUtils.writeObjectEntry(CmisService service,
AtomEntry entry,
ObjectData object,
List<ObjectInFolderContainer> children,
String repositoryId,
String pathSegment,
String relativePathSegment,
UrlBuilder baseUrl,
boolean isRoot)
Writes the a object entry.
|
void |
AtomFeed.writePagingLinks(UrlBuilder pagingUrl,
BigInteger maxItems,
BigInteger skipCount,
BigInteger numItems,
Boolean hasMoreItems,
BigInteger pageSize)
Writes paging links.
|
static void |
AtomPubUtils.writeTypeEntry(AtomEntry entry,
TypeDefinition type,
List<TypeDefinitionContainer> children,
String repositoryId,
UrlBuilder baseUrl,
boolean isRoot)
Writes the a type entry.
|
Modifier and Type | Method and Description |
---|---|
static UrlBuilder |
BrowserBindingUtils.compileBaseUrl(javax.servlet.http.HttpServletRequest request)
Compiles the base URL for links, collections and templates.
|
static UrlBuilder |
BrowserBindingUtils.compileRepositoryUrl(javax.servlet.http.HttpServletRequest request,
String repositoryId) |
static UrlBuilder |
BrowserBindingUtils.compileRootUrl(javax.servlet.http.HttpServletRequest request,
String repositoryId) |
Copyright © 2009-2013 The Apache Software Foundation. All Rights Reserved.