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

Packages that use ResponseContext
org.apache.abdera.examples.appserver.custom   
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.processors   
org.apache.abdera.protocol.server.provider.basic   
 

Uses of ResponseContext in org.apache.abdera.examples.appserver.custom
 

Methods in org.apache.abdera.examples.appserver.custom that return ResponseContext
 ResponseContext SimpleAdapter.deleteEntry(RequestContext request)
           
 ResponseContext SimpleAdapter.extensionRequest(RequestContext request)
           
 ResponseContext CustomProvider.SimpleFilter.filter(RequestContext request, FilterChain chain)
           
 ResponseContext SimpleAdapter.getCategories(RequestContext request)
           
 ResponseContext SimpleAdapter.getEntry(RequestContext request)
           
 ResponseContext SimpleAdapter.getFeed(RequestContext request)
           
 ResponseContext SimpleAdapter.postEntry(RequestContext request)
           
 ResponseContext SimpleAdapter.putEntry(RequestContext request)
           
 

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

Methods in org.apache.abdera.protocol.server that return ResponseContext
 ResponseContext ResponseContext.addEncodedHeader(String name, String charset, String value)
          Add an RFC 2047 encoded header in the response
 ResponseContext ResponseContext.addEncodedHeaders(String name, String charset, String... vals)
          Add an RFC 2047 encoded header in the response
 ResponseContext ResponseContext.addHeader(String name, Object value)
          Add a header to the response
 ResponseContext ResponseContext.addHeaders(String name, Object... vals)
          Add a header to the response
static ResponseContext ProviderHelper.badrequest(RequestContext request)
           
static ResponseContext ProviderHelper.badrequest(RequestContext request, String reason)
          Return a 400 bad request error
static ResponseContext ProviderHelper.conflict(RequestContext request)
           
static ResponseContext ProviderHelper.conflict(RequestContext request, String reason)
          Return a 409 conflict error
 ResponseContext CollectionAdapter.deleteEntry(RequestContext request)
          Delete an entry from the collection
 ResponseContext MediaCollectionAdapter.deleteMedia(RequestContext request)
          Delete a media resource from the collection
 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
 ResponseContext CollectionAdapter.getCategories(RequestContext request)
          Get an Atompub Categories document
 ResponseContext CollectionAdapter.getEntry(RequestContext request)
          Get an entry from the collection
 ResponseContext CollectionAdapter.getFeed(RequestContext request)
          Get the collections Atom feed document
 ResponseContext MediaCollectionAdapter.getMedia(RequestContext request)
          Get a media resource
 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 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.nocontent()
           
static ResponseContext ProviderHelper.nocontent(String reason)
          Return a 204 No Content response
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 RequestProcessor.process(RequestContext requestContext, WorkspaceManager workspaceManager, CollectionAdapter collectionAdapter)
          Provide the actual request processing logic.
 ResponseContext CollectionAdapter.putEntry(RequestContext request)
          Update an existing entry
 ResponseContext MediaCollectionAdapter.putMedia(RequestContext request)
          Update a media resource
 ResponseContext ResponseContext.removeHeader(String name)
          Remove the specified header from the response
static ResponseContext ProviderHelper.returnBase(Base base, int status, Date lastModified)
          Return a document
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
 ResponseContext ResponseContext.setAge(long age)
          Set the value of the Age header
 ResponseContext ResponseContext.setAllow(String... methods)
          Specify the HTTP methods allowed
 ResponseContext ResponseContext.setAllow(String method)
          Specify the HTTP methods allowed
 ResponseContext ResponseContext.setBinary(boolean binary)
          True if the response contains a binary entity as opposed to a character based entity.
 ResponseContext ResponseContext.setContentLanguage(String language)
          Set the value of the Content-Language header
 ResponseContext ResponseContext.setContentLength(long length)
          Set the value of the Content-Length header
 ResponseContext ResponseContext.setContentLocation(String uri)
          Set the value of the Content-Location header
 ResponseContext ResponseContext.setContentType(String type)
          Set the value of the Content-Type header
 ResponseContext ResponseContext.setContentType(String type, String charset)
          Set the value of the Content-Type header
 ResponseContext ResponseContext.setEncodedHeader(String name, String charset, String... vals)
          Set an RFC 2047 encoded header in the response
 ResponseContext ResponseContext.setEncodedHeader(String name, String charset, String value)
          Set an RFC 2047 encoded header in the response
 ResponseContext ResponseContext.setEntityTag(org.apache.abdera.util.EntityTag etag)
          Set the value of the ETag header
 ResponseContext ResponseContext.setEntityTag(String etag)
          Set the value of the ETag header
 ResponseContext ResponseContext.setEscapedHeader(String name, CharUtils.Profile profile, String value)
          Set a pct-encoded header in the response
 ResponseContext ResponseContext.setExpires(Date date)
          Set the value of the Expires header
 ResponseContext ResponseContext.setHeader(String name, Object... vals)
          Set the value of a header in the response
 ResponseContext ResponseContext.setHeader(String name, Object value)
          Set the value of a header in the response
 ResponseContext ResponseContext.setLastModified(Date date)
          Set the value of the Last-Modified header
 ResponseContext ResponseContext.setLocation(String uri)
          Set the value of the Location header
 ResponseContext ResponseContext.setSlug(String slug)
          Set the value of the Slug header
 ResponseContext ResponseContext.setStatus(int status)
          Set the response status code
 ResponseContext ResponseContext.setStatusText(String text)
          Set the response status text
 ResponseContext ResponseContext.setWriter(Writer writer)
          Set the Abdera Writer for this response.
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
 

Methods in org.apache.abdera.protocol.server with parameters of type ResponseContext
 void Transactional.end(RequestContext request, ResponseContext response)
          Called by the provider after dispatching the request to the adapter
 

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

Classes in org.apache.abdera.protocol.server.adapters.couchdb that implement ResponseContext
 class JsonObjectResponseContext
          ResponseContext implementation that serializes a JSON Document from a CouchDB database as an Atom document using the Abdera StreamWriter.
 

Methods in org.apache.abdera.protocol.server.adapters.couchdb that return ResponseContext
 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 ResponseContext in org.apache.abdera.protocol.server.adapters.filesystem
 

Methods in org.apache.abdera.protocol.server.adapters.filesystem that return ResponseContext
 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 ResponseContext in org.apache.abdera.protocol.server.adapters.jcr
 

Methods in org.apache.abdera.protocol.server.adapters.jcr that return ResponseContext
 ResponseContext JcrCollectionAdapter.getCategories(RequestContext request)
           
 

Methods in org.apache.abdera.protocol.server.adapters.jcr with parameters of type ResponseContext
 void JcrCollectionAdapter.end(RequestContext request, ResponseContext response)
           
 

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

Classes in org.apache.abdera.protocol.server.context that implement ResponseContext
 class AbstractResponseContext
           
 class BaseResponseContext<T extends Base>
           
 class EmptyResponseContext
           
 class EntityProviderResponseContext
          StreamWriterResponseContext implementation based on the EntityProvider interface
 class MediaResponseContext
          ResponseContext implementation for arbitrary media resources
 class ResponseContextWrapper
           
 class SimpleResponseContext
          A simple base implementation of AbstractResponseContext that makes it a bit easier to create custom ResponseContext implementations e.g. new SimpleResponseContext() { public boolean hasEntity() { return true; } public void writeEntity(Writer writer) { ... } }
 class StreamWriterResponseContext
          Abstract base class for creating ResponseContext implementations that use the StreamWriter interface.
 

Fields in org.apache.abdera.protocol.server.context declared as ResponseContext
protected  ResponseContext ResponseContextWrapper.response
           
 

Methods in org.apache.abdera.protocol.server.context that return ResponseContext
 ResponseContext ResponseContextWrapper.addEncodedHeader(String name, String charset, String value)
           
 ResponseContext AbstractResponseContext.addEncodedHeader(String name, String charset, String value)
           
 ResponseContext ResponseContextWrapper.addEncodedHeaders(String name, String charset, String... vals)
           
 ResponseContext AbstractResponseContext.addEncodedHeaders(String name, String charset, String... vals)
           
 ResponseContext ResponseContextWrapper.addHeader(String name, Object value)
           
 ResponseContext AbstractResponseContext.addHeader(String name, Object value)
           
 ResponseContext ResponseContextWrapper.addHeaders(String name, Object... vals)
           
 ResponseContext AbstractResponseContext.addHeaders(String name, Object... vals)
           
 ResponseContext ResponseContextException.getResponseContext()
           
 ResponseContext ResponseContextWrapper.removeHeader(String name)
           
 ResponseContext AbstractResponseContext.removeHeader(String name)
           
 ResponseContext ResponseContextWrapper.setAge(long age)
           
 ResponseContext AbstractResponseContext.setAge(long age)
           
 ResponseContext ResponseContextWrapper.setAllow(String... methods)
           
 ResponseContext AbstractResponseContext.setAllow(String... methods)
           
 ResponseContext ResponseContextWrapper.setAllow(String method)
           
 ResponseContext AbstractResponseContext.setAllow(String method)
           
 ResponseContext ResponseContextWrapper.setBinary(boolean binary)
           
 ResponseContext AbstractResponseContext.setBinary(boolean binary)
           
 ResponseContext ResponseContextWrapper.setContentLanguage(String language)
           
 ResponseContext AbstractResponseContext.setContentLanguage(String language)
           
 ResponseContext ResponseContextWrapper.setContentLength(long length)
           
 ResponseContext AbstractResponseContext.setContentLength(long length)
           
 ResponseContext ResponseContextWrapper.setContentLocation(String uri)
           
 ResponseContext AbstractResponseContext.setContentLocation(String uri)
           
 ResponseContext ResponseContextWrapper.setContentType(String type)
           
 ResponseContext AbstractResponseContext.setContentType(String type)
           
 ResponseContext ResponseContextWrapper.setContentType(String type, String charset)
           
 ResponseContext AbstractResponseContext.setContentType(String type, String charset)
           
 ResponseContext ResponseContextWrapper.setEncodedHeader(String name, String charset, String... vals)
           
 ResponseContext AbstractResponseContext.setEncodedHeader(String name, String charset, String... vals)
           
 ResponseContext ResponseContextWrapper.setEncodedHeader(String name, String charset, String value)
           
 ResponseContext AbstractResponseContext.setEncodedHeader(String name, String charset, String value)
           
 ResponseContext ResponseContextWrapper.setEntityTag(org.apache.abdera.util.EntityTag etag)
           
 ResponseContext AbstractResponseContext.setEntityTag(org.apache.abdera.util.EntityTag etag)
           
 ResponseContext ResponseContextWrapper.setEntityTag(String etag)
           
 ResponseContext AbstractResponseContext.setEntityTag(String etag)
           
 ResponseContext ResponseContextWrapper.setEscapedHeader(String name, CharUtils.Profile profile, String value)
           
 ResponseContext AbstractResponseContext.setEscapedHeader(String name, CharUtils.Profile profile, String value)
           
 ResponseContext ResponseContextWrapper.setExpires(Date date)
           
 ResponseContext AbstractResponseContext.setExpires(Date date)
           
 ResponseContext ResponseContextWrapper.setHeader(String name, Object... vals)
           
 ResponseContext AbstractResponseContext.setHeader(String name, Object... vals)
           
 ResponseContext ResponseContextWrapper.setHeader(String name, Object value)
           
 ResponseContext AbstractResponseContext.setHeader(String name, Object value)
           
 ResponseContext ResponseContextWrapper.setLastModified(Date date)
           
 ResponseContext AbstractResponseContext.setLastModified(Date date)
           
 ResponseContext ResponseContextWrapper.setLocation(String uri)
           
 ResponseContext AbstractResponseContext.setLocation(String uri)
           
 ResponseContext ResponseContextWrapper.setSlug(String slug)
           
 ResponseContext AbstractResponseContext.setSlug(String slug)
           
 ResponseContext ResponseContextWrapper.setStatus(int status)
           
 ResponseContext AbstractResponseContext.setStatus(int status)
           
 ResponseContext ResponseContextWrapper.setStatusText(String text)
           
 ResponseContext AbstractResponseContext.setStatusText(String text)
           
 ResponseContext ResponseContextWrapper.setWriter(Writer writer)
           
 ResponseContext AbstractResponseContext.setWriter(Writer writer)
           
 

Constructors in org.apache.abdera.protocol.server.context with parameters of type ResponseContext
ResponseContextException(ResponseContext responseContext)
           
ResponseContextException(ResponseContext responseContext, Throwable t)
           
ResponseContextWrapper(ResponseContext response)
           
 

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

Classes in org.apache.abdera.protocol.server.filters that implement ResponseContext
static class CompressionFilter.CompressingResponseContextWrapper
          A HttpServletResponseWrapper implementation that applies GZip or Deflate compression to response output.
 

Methods in org.apache.abdera.protocol.server.filters that return ResponseContext
 ResponseContext OpenSearchFilter.filter(RequestContext request, FilterChain chain)
           
 ResponseContext MethodOverrideFilter.filter(RequestContext request, FilterChain chain)
           
 ResponseContext CompressionFilter.filter(RequestContext request, FilterChain chain)
           
 

Constructors in org.apache.abdera.protocol.server.filters with parameters of type ResponseContext
CompressionFilter.CompressingResponseContextWrapper(ResponseContext response, CompressionUtil.CompressionCodec codec)
           
 

Uses of ResponseContext in org.apache.abdera.protocol.server.processors
 

Methods in org.apache.abdera.protocol.server.processors that return ResponseContext
protected  ResponseContext ServiceRequestProcessor.getServiceDocument(RequestContext request, WorkspaceManager workspaceManager)
           
protected  ResponseContext MultipartRelatedServiceRequestProcessor.getServiceDocument(RequestContext request, WorkspaceManager workspaceManager)
           
 ResponseContext ServiceRequestProcessor.process(RequestContext context, WorkspaceManager workspaceManager, CollectionAdapter collectionAdapter)
           
 ResponseContext MediaRequestProcessor.process(RequestContext context, WorkspaceManager workspaceManager, CollectionAdapter collectionAdapter)
           
 ResponseContext EntryRequestProcessor.process(RequestContext context, WorkspaceManager workspaceManager, CollectionAdapter collectionAdapter)
           
 ResponseContext CollectionRequestProcessor.process(RequestContext context, WorkspaceManager workspaceManager, CollectionAdapter collectionAdapter)
           
 ResponseContext CategoriesRequestProcessor.process(RequestContext context, WorkspaceManager workspaceManager, CollectionAdapter collectionAdapter)
           
protected  ResponseContext CategoriesRequestProcessor.processCategories(RequestContext context, CollectionAdapter adapter)
           
protected  ResponseContext EntryRequestProcessor.processEntry(RequestContext context, CollectionAdapter adapter)
           
protected  ResponseContext MediaRequestProcessor.processMedia(RequestContext context, CollectionAdapter adapter)
           
 

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

Methods in org.apache.abdera.protocol.server.provider.basic that return ResponseContext
 ResponseContext BasicAdapter.deleteEntry(RequestContext request)
           
 ResponseContext BasicAdapter.extensionRequest(RequestContext request)
           
 ResponseContext BasicAdapter.getCategories(RequestContext request)
           
 ResponseContext BasicAdapter.getEntry(RequestContext request)
           
 ResponseContext BasicAdapter.getFeed(RequestContext request)
           
 ResponseContext BasicAdapter.postEntry(RequestContext request)
           
 ResponseContext BasicAdapter.putEntry(RequestContext request)
           
 



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