org.openxri.urimapper
Interface URIMapper

All Superinterfaces:
Component, java.io.Serializable
All Known Implementing Classes:
FolderURIMapper, NullURIMapper, QueryURIMapper, RegexURIMapper, SingleNamespaceURIMapper

public interface URIMapper
extends Component

Provides an interface for taking the HTTP Request and mapping it to a data structure that describes the type of XRI resolution request it is. Designed to be overriden so that custom schemes can be used to

Author:
=chetan

Method Summary
 void completeURI(java.lang.StringBuffer uri, java.lang.String namespace)
          Appends the needed namespace to the provided URI for resolution to this server
 URIMapperResult parseRequest(URIMapperRequest request)
          Parses an incoming request (containing of path and query part of a URI)
 
Methods inherited from interface org.openxri.config.Component
getProperties, init
 

Method Detail

parseRequest

URIMapperResult parseRequest(URIMapperRequest request)
Parses an incoming request (containing of path and query part of a URI)

Parameters:
request - The path and query of the HTTP request.

completeURI

void completeURI(java.lang.StringBuffer uri,
                 java.lang.String namespace)
Appends the needed namespace to the provided URI for resolution to this server



Copyright © 2005-2012. All Rights Reserved.