Apache Abdera API

Uses of Interface
org.apache.abdera.protocol.server.RequestContext

Packages that use RequestContext
org.apache.abdera.protocol.server   
org.apache.abdera.protocol.server.adapters.couchdb   
org.apache.abdera.protocol.server.adapters.filesystem   
org.apache.abdera.protocol.server.adapters.jcr   
org.apache.abdera.protocol.server.context   
org.apache.abdera.protocol.server.filters   
org.apache.abdera.protocol.server.provider.basic   
org.apache.abdera.protocol.server.provider.managed   
org.apache.abdera.protocol.server.servlet   
 

Uses of RequestContext in org.apache.abdera.protocol.server
 

Methods in org.apache.abdera.protocol.server that return RequestContext
 RequestContext RequestContext.setAttribute(RequestContext.Scope scope, String name, Object value)
          Set the named attribute in the specified scope.
 RequestContext RequestContext.setAttribute(String name, Object value)
          Set the named attribute in the request scope
 

Methods in org.apache.abdera.protocol.server with parameters of type RequestContext
 Categories CategoriesInfo.asCategoriesElement(RequestContext request)
          Convert this into an instance of the FOM Categories interface
 Category CategoryInfo.asCategoryElement(RequestContext request)
          Convert this into an instance of the FOM Category interface
 Collection CollectionInfo.asCollectionElement(RequestContext request)
          Converts this to an instance of the FOM Collection interface
 Workspace WorkspaceInfo.asWorkspaceElement(RequestContext request)
          Returns an instance of the FOM Workspace interface
static ResponseContext ProviderHelper.badrequest(RequestContext request)
           
static ResponseContext ProviderHelper.badrequest(RequestContext request, String reason)
          Return a 400 bad request error
 void Transactional.compensate(RequestContext request, Throwable t)
          Called by the provider when a processing error occurs
static ResponseContext ProviderHelper.conflict(RequestContext request)
           
static ResponseContext ProviderHelper.conflict(RequestContext request, String reason)
          Return a 409 conflict error
static boolean ProviderHelper.defaultCheckMethod(RequestContext request, String[] methods)
           
 ResponseContext CollectionAdapter.deleteEntry(RequestContext request)
          Delete an entry from the collection
 ResponseContext MediaCollectionAdapter.deleteMedia(RequestContext request)
          Delete a media resource from the collection
 void Transactional.end(RequestContext request, ResponseContext response)
          Called by the provider after dispatching the request to the adapter
 ResponseContext CollectionAdapter.extensionRequest(RequestContext request)
          Any request that is not covered by the postEntry, deleteEntry, etc methods will be passed on to the extensionRequest method.
 ResponseContext Filter.filter(RequestContext request, FilterChain chain)
          Process the filter request.
static ResponseContext ProviderHelper.forbidden(RequestContext request)
           
static ResponseContext ProviderHelper.forbidden(RequestContext request, String reason)
          Return an unauthorized error
static String[] ProviderHelper.getAcceptableTypes(RequestContext request)
           
 String[] CollectionInfo.getAccepts(RequestContext request)
          Returns an array of MIME media types for the app:collection element's app:accept elements.
 ResponseContext CollectionAdapter.getCategories(RequestContext request)
          Get an Atompub Categories document
 CategoriesInfo[] CollectionInfo.getCategoriesInfo(RequestContext request)
          Return the collection of CategoriesInfo objects for the app:collection element's app:categories elements.
 CollectionAdapter WorkspaceManager.getCollectionAdapter(RequestContext request)
          Get the Collection Adapter that will handle this request
 Collection<CollectionInfo> WorkspaceInfo.getCollections(RequestContext request)
          Return the listing of collections available as part of the workspace
static String[] ProviderHelper.getDefaultMethods(RequestContext request)
           
 ResponseContext CollectionAdapter.getEntry(RequestContext request)
          Get an entry from the collection
 ResponseContext CollectionAdapter.getFeed(RequestContext request)
          Get the collections Atom feed document
 Filter[] Provider.getFilters(RequestContext request)
          Return the listing of filters for this request
 String CategoriesInfo.getHref(RequestContext request)
          Return the value of the app:categories element href attribute or null if the href should be omitted
 String CollectionInfo.getHref(RequestContext request)
          Get the value of the app:collection element's href attribute.
 String CategoryInfo.getLabel(RequestContext request)
          Return the value of the atom:category label attribute or null if the label should be omitted.
 ResponseContext MediaCollectionAdapter.getMedia(RequestContext request)
          Get a media resource
static int ProviderHelper.getOffset(RequestContext request, String pageparam, int pageSize)
           
static int ProviderHelper.getPageSize(RequestContext request, String pagesizeparam, int defaultpagesize)
           
 String CategoriesInfo.getScheme(RequestContext request)
          Return the value of the app:categories element scheme attribute or null if the scheme should be omitted
 String CategoryInfo.getScheme(RequestContext request)
          Return the value of the atom:category scheme attribute or null if the scheme should be omitted
 String CategoryInfo.getTerm(RequestContext request)
          Return the value of the atom:category term attribute.
 String CollectionInfo.getTitle(RequestContext request)
          Get the value of the app:collection element's atom:title element.
 String WorkspaceInfo.getTitle(RequestContext requsest)
          Return the value of the app:workspace element's atom:title.
 Collection<WorkspaceInfo> WorkspaceManager.getWorkspaces(RequestContext request)
          Return the list of available workspaces
 ResponseContext CollectionAdapter.headEntry(RequestContext request)
          Get metadata for an entry from the collection
 ResponseContext MediaCollectionAdapter.headMedia(RequestContext request)
          Get metdata for a media resource
static boolean ProviderHelper.isAtom(RequestContext request)
           
 boolean CategoriesInfo.isFixed(RequestContext request)
          Return true of the app:categories element fixed attribute should be set
static boolean ProviderHelper.isPreferred(RequestContext request, String s1, String s2)
           
static ResponseContext ProviderHelper.locked(RequestContext request)
           
static ResponseContext ProviderHelper.locked(RequestContext request, String reason)
          Return a 423 locked error
 ResponseContext FilterChain.next(RequestContext request)
          Invoke the next filter in the chain.
static ResponseContext ProviderHelper.notallowed(RequestContext request)
           
static ResponseContext ProviderHelper.notallowed(RequestContext request, String... methods)
           
static ResponseContext ProviderHelper.notallowed(RequestContext request, String reason, String... methods)
          Return a 405 method not allowed error
static ResponseContext ProviderHelper.notfound(RequestContext request)
           
static ResponseContext ProviderHelper.notfound(RequestContext request, String reason)
          Return a 404 not found error
static ResponseContext ProviderHelper.notmodified(RequestContext request)
           
static ResponseContext ProviderHelper.notmodified(RequestContext request, String reason)
           
static ResponseContext ProviderHelper.notsupported(RequestContext request)
           
static ResponseContext ProviderHelper.notsupported(RequestContext request, String reason)
          Return a 415 media type not-supported error
 ResponseContext CollectionAdapter.optionsEntry(RequestContext request)
          Get options for an entry from the collection
 ResponseContext MediaCollectionAdapter.optionsMedia(RequestContext request)
          Get a media resource's options.
 ResponseContext CollectionAdapter.postEntry(RequestContext request)
          Post a new entry to the collection
 ResponseContext MediaCollectionAdapter.postMedia(RequestContext request)
          Add a new media resource to the collection, resulting in the creation of a new Media Link Entry.
static ResponseContext ProviderHelper.preconditionfailed(RequestContext request)
           
static ResponseContext ProviderHelper.preconditionfailed(RequestContext request, String reason)
           
 ResponseContext Provider.process(RequestContext request)
          Process the request
 ResponseContext CollectionAdapter.putEntry(RequestContext request)
          Update an existing entry
 ResponseContext MediaCollectionAdapter.putMedia(RequestContext request)
          Update a media resource
static IRI ProviderHelper.resolveBase(RequestContext request)
           
 Subject Provider.resolveSubject(RequestContext request)
          Resolve the subject using the Provider's Subject Resolver
 Target Provider.resolveTarget(RequestContext request)
          Resolve the target using the Provider's Target Resolver
static ResponseContext ProviderHelper.servererror(RequestContext request, String reason, Throwable t)
          Return a server error
static ResponseContext ProviderHelper.servererror(RequestContext request, Throwable t)
          Return a server error
 void Transactional.start(RequestContext request)
          Called by the provider before dispatching the request to the adapter
static ResponseContext ProviderHelper.unauthorized(RequestContext request)
           
static ResponseContext ProviderHelper.unauthorized(RequestContext request, String reason)
          Return an unauthorized error
static ResponseContext ProviderHelper.unavailable(RequestContext request)
           
static ResponseContext ProviderHelper.unavailable(RequestContext request, String reason)
          Return a service unavailable error
 String Provider.urlFor(RequestContext request, Object key, Object param)
          Construct a URL using to Provider's Target Builder
 String TargetBuilder.urlFor(RequestContext context, Object key, Object param)
          Construct a URL for the specified key
 

Constructors in org.apache.abdera.protocol.server with parameters of type RequestContext
FilterChain(Provider provider, RequestContext request)
           
 

Uses of RequestContext in org.apache.abdera.protocol.server.adapters.couchdb
 

Methods in org.apache.abdera.protocol.server.adapters.couchdb with parameters of type RequestContext
 ResponseContext CouchDbAdapter.deleteEntry(RequestContext request)
           
 ResponseContext CouchDbAdapter.extensionRequest(RequestContext request)
           
 ResponseContext CouchDbAdapter.getCategories(RequestContext request)
           
 ResponseContext CouchDbAdapter.getEntry(RequestContext request)
           
 ResponseContext CouchDbAdapter.getFeed(RequestContext request)
           
 ResponseContext CouchDbAdapter.postEntry(RequestContext request)
           
 ResponseContext CouchDbAdapter.putEntry(RequestContext request)
           
 

Uses of RequestContext in org.apache.abdera.protocol.server.adapters.filesystem
 

Methods in org.apache.abdera.protocol.server.adapters.filesystem with parameters of type RequestContext
 ResponseContext FilesystemAdapter.deleteEntry(RequestContext request)
           
 ResponseContext FilesystemAdapter.getEntry(RequestContext request)
           
 ResponseContext FilesystemAdapter.getFeed(RequestContext request)
           
 ResponseContext FilesystemAdapter.postEntry(RequestContext request)
           
 ResponseContext FilesystemAdapter.putEntry(RequestContext request)
           
 

Uses of RequestContext in org.apache.abdera.protocol.server.adapters.jcr
 

Methods in org.apache.abdera.protocol.server.adapters.jcr with parameters of type RequestContext
 void JcrCollectionAdapter.deleteEntry(String resourceName, RequestContext request)
           
 void JcrCollectionAdapter.end(RequestContext request, ResponseContext response)
           
 String JcrCollectionAdapter.getAuthor(RequestContext request)
           
 List<Person> JcrCollectionAdapter.getAuthors(javax.jcr.Node entry, RequestContext request)
           
 ResponseContext JcrCollectionAdapter.getCategories(RequestContext request)
           
 Object JcrCollectionAdapter.getContent(javax.jcr.Node entry, RequestContext request)
           
 Iterable<javax.jcr.Node> JcrCollectionAdapter.getEntries(RequestContext request)
           
 javax.jcr.Node JcrCollectionAdapter.getEntry(String resourceName, RequestContext request)
           
 String JcrCollectionAdapter.getId(RequestContext request)
           
 Text JcrCollectionAdapter.getSummary(javax.jcr.Node entry, RequestContext request)
           
 String JcrCollectionAdapter.getTitle(RequestContext request)
           
 javax.jcr.Node JcrCollectionAdapter.postEntry(String title, IRI id, String summary, Date updated, List<Person> authors, Content content, RequestContext request)
           
 javax.jcr.Node JcrCollectionAdapter.postMedia(javax.activation.MimeType mimeType, String slug, InputStream inputStream, RequestContext request)
           
 void JcrCollectionAdapter.putEntry(javax.jcr.Node entry, String title, Date updated, List<Person> authors, String summary, Content content, RequestContext request)
           
 void JcrCollectionAdapter.start(RequestContext request)
           
 

Uses of RequestContext in org.apache.abdera.protocol.server.context
 

Classes in org.apache.abdera.protocol.server.context that implement RequestContext
 class AbstractRequestContext
           
 class RequestContextWrapper
           
 

Fields in org.apache.abdera.protocol.server.context declared as RequestContext
protected  RequestContext RequestContextWrapper.request
           
 

Methods in org.apache.abdera.protocol.server.context that return RequestContext
 RequestContext RequestContextWrapper.setAttribute(RequestContext.Scope scope, String name, Object value)
           
 RequestContext AbstractRequestContext.setAttribute(String name, Object value)
           
 RequestContext RequestContextWrapper.setAttribute(String name, Object value)
           
 

Constructors in org.apache.abdera.protocol.server.context with parameters of type RequestContext
RequestContextWrapper(RequestContext request)
           
 

Uses of RequestContext in org.apache.abdera.protocol.server.filters
 

Methods in org.apache.abdera.protocol.server.filters with parameters of type RequestContext
 ResponseContext CompressionFilter.filter(RequestContext request, FilterChain chain)
           
 ResponseContext MethodOverrideFilter.filter(RequestContext request, FilterChain chain)
           
 

Uses of RequestContext in org.apache.abdera.protocol.server.provider.basic
 

Methods in org.apache.abdera.protocol.server.provider.basic with parameters of type RequestContext
 ResponseContext BasicAdapter.deleteEntry(RequestContext request)
           
 ResponseContext BasicAdapter.extensionRequest(RequestContext request)
           
 ResponseContext BasicAdapter.getCategories(RequestContext request)
           
 CollectionAdapter BasicProvider.getCollectionAdapter(RequestContext request)
           
 ResponseContext BasicAdapter.getEntry(RequestContext request)
           
 ResponseContext BasicAdapter.getFeed(RequestContext request)
           
protected  ServerConfiguration BasicProvider.getServerConfiguration(RequestContext request)
           
 ResponseContext BasicAdapter.postEntry(RequestContext request)
           
 ResponseContext BasicAdapter.putEntry(RequestContext request)
           
 

Uses of RequestContext in org.apache.abdera.protocol.server.provider.managed
 

Methods in org.apache.abdera.protocol.server.provider.managed with parameters of type RequestContext
 Collection FeedConfiguration.asCollectionElement(RequestContext request)
           
 Workspace ManagedWorkspace.asWorkspaceElement(RequestContext request)
           
 String[] FeedConfiguration.getAccepts(RequestContext request)
           
 String ManagedCollectionAdapter.getAuthor(RequestContext request)
           
 CategoriesInfo[] FeedConfiguration.getCategoriesInfo(RequestContext request)
           
 CollectionAdapterManager ManagedProvider.getCollectionAdapterManager(RequestContext request)
           
 Collection<CollectionInfo> ManagedWorkspace.getCollections(RequestContext request)
           
 String FeedConfiguration.getHref(RequestContext request)
           
 String ManagedCollectionAdapter.getId(RequestContext request)
           
protected abstract  ServerConfiguration ManagedProvider.getServerConfiguration(RequestContext request)
           
 String FeedConfiguration.getTitle(RequestContext request)
           
 String ManagedCollectionAdapter.getTitle(RequestContext request)
           
 String ManagedWorkspace.getTitle(RequestContext request)
           
 

Constructors in org.apache.abdera.protocol.server.provider.managed with parameters of type RequestContext
AbstractServerConfiguration(RequestContext request)
           
BasicServerConfiguration(RequestContext request)
           
 

Uses of RequestContext in org.apache.abdera.protocol.server.servlet
 

Classes in org.apache.abdera.protocol.server.servlet that implement RequestContext
 class ServletRequestContext
           
 

Methods in org.apache.abdera.protocol.server.servlet that return RequestContext
 RequestContext ServletRequestContext.setAttribute(RequestContext.Scope scope, String name, Object value)
           
 


Apache Abdera API

Copyright © 2006-2008 Apache Software Foundation. All Rights Reserved.