|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Uses of RequestContext in org.apache.abdera.examples.appserver.custom |
---|
Methods in org.apache.abdera.examples.appserver.custom with parameters of type RequestContext | |
---|---|
ResponseContext |
SimpleAdapter.deleteEntry(RequestContext request)
|
ResponseContext |
SimpleAdapter.extensionRequest(RequestContext request)
|
ResponseContext |
CustomProvider.SimpleFilter.filter(RequestContext request,
FilterChain chain)
|
String |
SimpleAdapter.getAuthor(RequestContext request)
|
ResponseContext |
SimpleAdapter.getCategories(RequestContext request)
|
CollectionAdapter |
CustomProvider.getCollectionAdapter(RequestContext request)
|
ResponseContext |
SimpleAdapter.getEntry(RequestContext request)
|
String |
SimpleAdapter.getEntryID(RequestContext request)
|
ResponseContext |
SimpleAdapter.getFeed(RequestContext request)
|
String |
SimpleAdapter.getHref(RequestContext request)
|
String |
SimpleAdapter.getId(RequestContext request)
|
String |
SimpleAdapter.getTitle(RequestContext request)
|
ResponseContext |
SimpleAdapter.postEntry(RequestContext request)
|
ResponseContext |
SimpleAdapter.putEntry(RequestContext request)
|
Uses of RequestContext in org.apache.abdera.examples.appserver.employee |
---|
Methods in org.apache.abdera.examples.appserver.employee with parameters of type RequestContext | |
---|---|
void |
EmployeeCollectionAdapter.deleteEntry(String resourceName,
RequestContext request)
|
String |
EmployeeCollectionAdapter.getAuthor(RequestContext request)
The author of this collection. |
List<Person> |
EmployeeCollectionAdapter.getAuthors(Employee entry,
RequestContext request)
|
Object |
EmployeeCollectionAdapter.getContent(Employee entry,
RequestContext request)
|
Iterable<Employee> |
EmployeeCollectionAdapter.getEntries(RequestContext request)
|
Employee |
EmployeeCollectionAdapter.getEntry(String resourceName,
RequestContext request)
|
String |
EmployeeCollectionAdapter.getId(RequestContext request)
A unique ID for this feed. |
String |
EmployeeCollectionAdapter.getTitle(RequestContext request)
The title of our collection. |
Employee |
EmployeeCollectionAdapter.postEntry(String title,
IRI id,
String summary,
Date updated,
List<Person> authors,
Content content,
RequestContext request)
|
void |
EmployeeCollectionAdapter.putEntry(Employee employee,
String title,
Date updated,
List<Person> authors,
String summary,
Content content,
RequestContext request)
|
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 |
CollectionInfo.getHref(RequestContext request)
Get the value of the app:collection element's href attribute. |
String |
CategoriesInfo.getHref(RequestContext request)
Return the value of the app:categories element href attribute or null if the href should be omitted |
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 |
CategoryInfo.getScheme(RequestContext request)
Return the value of the atom:category scheme attribute or null if the scheme should be omitted |
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.getTerm(RequestContext request)
Return the value of the atom:category term attribute. |
String |
WorkspaceInfo.getTitle(RequestContext requsest)
Return the value of the app:workspace element's atom:title. |
String |
CollectionInfo.getTitle(RequestContext request)
Get the value of the app:collection element's atom:title element. |
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 |
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 |
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 |
TargetBuilder.urlFor(RequestContext context,
Object key,
Object param)
Construct a URL for the specified key |
String |
Provider.urlFor(RequestContext request,
Object key,
Object param)
Construct a URL using to Provider's Target Builder |
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)
|
protected javax.jcr.Session |
JcrCollectionAdapter.getSession(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 |
RequestContextWrapper.setAttribute(String name,
Object value)
|
RequestContext |
AbstractRequestContext.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 |
OpenSearchFilter.filter(RequestContext request,
FilterChain chain)
|
ResponseContext |
MethodOverrideFilter.filter(RequestContext request,
FilterChain chain)
|
ResponseContext |
CompressionFilter.filter(RequestContext request,
FilterChain chain)
|
Uses of RequestContext in org.apache.abdera.protocol.server.multipart |
---|
Methods in org.apache.abdera.protocol.server.multipart with parameters of type RequestContext | |
---|---|
String[] |
AbstractMultipartCollectionAdapter.getAccepts(RequestContext request)
|
Map<String,String> |
MultipartRelatedCollectionInfo.getAlternateAccepts(RequestContext request)
Returns a map of MIME media types for the app:collection element's app:accept elements. |
protected AbstractMultipartCollectionAdapter.MultipartRelatedPost |
AbstractMultipartCollectionAdapter.getMultipartRelatedData(RequestContext request)
|
Uses of RequestContext in org.apache.abdera.protocol.server.processors |
---|
Methods in org.apache.abdera.protocol.server.processors with parameters of type RequestContext | |
---|---|
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 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 |
---|
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)
|
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |