public class VitroRequest
extends javax.servlet.http.HttpServletRequestWrapper
| Modifier and Type | Field and Description |
|---|---|
static String |
ID_FOR_ABOX_MODEL |
static String |
ID_FOR_DISPLAY_MODEL |
static String |
ID_FOR_TBOX_MODEL |
static String |
ID_FOR_WRITE_MODEL |
static String |
SPECIAL_WRITE_MODEL |
| Constructor and Description |
|---|
VitroRequest(javax.servlet.http.HttpServletRequest _req) |
| Modifier and Type | Method and Description |
|---|---|
ApplicationBean |
getAppBean() |
String |
getClientAddr()
Gets the the ip of the client.
|
Collator |
getCollator() |
com.hp.hpl.jena.query.Dataset |
getDataset() |
com.hp.hpl.jena.ontology.OntModel |
getDisplayModel() |
org.apache.commons.fileupload.FileItem |
getFileItem(String name)
There may be more than one file item with the given name.
|
Map<String,List<org.apache.commons.fileupload.FileItem>> |
getFiles() |
org.apache.commons.fileupload.FileUploadException |
getFileSizeException()
Could be either FileSizeLimitExceededException or
SizeLimitExceededException, so return their common ancestor.
|
String |
getIdForDisplayModel()
Gets an identifier for the display model associated
with this request.
|
com.hp.hpl.jena.ontology.OntModel |
getJenaOntModel() |
com.hp.hpl.jena.ontology.OntModel |
getLanguageNeutralUnionFullModel() |
WebappDaoFactory |
getLanguageNeutralWebappDaoFactory() |
String |
getNameForABOXModel()
Gets an identifier for the a-box model associated
with this request.
|
String |
getNameForTBOXModel()
Gets an identifier for the t-box model associated
with this request.
|
String |
getNameForWriteModel()
Gets an identifier for the write model associated
with this request.
|
OntModelSelector |
getOntModelSelector() |
String |
getParameter(String name) |
Map<String,String[]> |
getParameterMap() |
String[] |
getParameterValues(String name) |
RDFService |
getRDFService() |
WebappDaoFactory |
getUnfilteredAssertionsWebappDaoFactory()
gets assertions-only WebappDaoFactory with no policy filtering
|
com.hp.hpl.jena.query.Dataset |
getUnfilteredDataset() |
RDFService |
getUnfilteredRDFService() |
WebappDaoFactory |
getUnfilteredWebappDaoFactory()
gets assertions+inference WebappDaoFactory with no policy filtering
|
WebappDaoFactory |
getWebappDaoFactory()
Gets WebappDaoFactory with appropriate filtering for the request
|
com.hp.hpl.jena.ontology.OntModel |
getWriteModel() |
boolean |
hasFileSizeException()
If the uploaded file exceeded the maximum size, and if the strategy said
to stash the exception, it will be stored as a request attribute.
|
boolean |
isMultipart() |
void |
setCollator(Collator collator) |
getAuthType, getContextPath, getCookies, getDateHeader, getHeader, getHeaderNames, getHeaders, getIntHeader, getMethod, getPathInfo, getPathTranslated, getQueryString, getRemoteUser, getRequestedSessionId, getRequestURI, getRequestURL, getServletPath, getSession, getSession, getUserPrincipal, isRequestedSessionIdFromCookie, isRequestedSessionIdFromUrl, isRequestedSessionIdFromURL, isRequestedSessionIdValid, isUserInRolegetAttribute, getAttributeNames, getCharacterEncoding, getContentLength, getContentType, getInputStream, getLocalAddr, getLocale, getLocales, getLocalName, getLocalPort, getParameterNames, getProtocol, getReader, getRealPath, getRemoteAddr, getRemoteHost, getRemotePort, getRequest, getRequestDispatcher, getScheme, getServerName, getServerPort, isSecure, removeAttribute, setAttribute, setCharacterEncoding, setRequestclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetAttribute, getAttributeNames, getCharacterEncoding, getContentLength, getContentType, getInputStream, getLocalAddr, getLocale, getLocales, getLocalName, getLocalPort, getParameterNames, getProtocol, getReader, getRealPath, getRemoteAddr, getRemoteHost, getRemotePort, getRequestDispatcher, getScheme, getServerName, getServerPort, isSecure, removeAttribute, setAttribute, setCharacterEncodingpublic static final String SPECIAL_WRITE_MODEL
public static final String ID_FOR_WRITE_MODEL
public static final String ID_FOR_TBOX_MODEL
public static final String ID_FOR_ABOX_MODEL
public static final String ID_FOR_DISPLAY_MODEL
public RDFService getRDFService()
public RDFService getUnfilteredRDFService()
public WebappDaoFactory getWebappDaoFactory()
public WebappDaoFactory getUnfilteredWebappDaoFactory()
public WebappDaoFactory getUnfilteredAssertionsWebappDaoFactory()
public com.hp.hpl.jena.query.Dataset getDataset()
public com.hp.hpl.jena.query.Dataset getUnfilteredDataset()
public com.hp.hpl.jena.ontology.OntModel getWriteModel()
public OntModelSelector getOntModelSelector()
public com.hp.hpl.jena.ontology.OntModel getJenaOntModel()
public com.hp.hpl.jena.ontology.OntModel getDisplayModel()
public String getIdForDisplayModel()
VitroModelSource.ModelNamepublic String getNameForABOXModel()
VitroModelSource.ModelNamepublic String getNameForTBOXModel()
VitroModelSource.ModelNamepublic String getNameForWriteModel()
VitroModelSource.ModelNamepublic ApplicationBean getAppBean()
public String getClientAddr()
public Map<String,String[]> getParameterMap()
getParameterMap in interface javax.servlet.ServletRequestgetParameterMap in class javax.servlet.ServletRequestWrapperpublic String getParameter(String name)
getParameter in interface javax.servlet.ServletRequestgetParameter in class javax.servlet.ServletRequestWrapperpublic String[] getParameterValues(String name)
getParameterValues in interface javax.servlet.ServletRequestgetParameterValues in class javax.servlet.ServletRequestWrapperpublic com.hp.hpl.jena.ontology.OntModel getLanguageNeutralUnionFullModel()
public void setCollator(Collator collator)
public Collator getCollator()
public WebappDaoFactory getLanguageNeutralWebappDaoFactory()
public boolean isMultipart()
public org.apache.commons.fileupload.FileItem getFileItem(String name)
public boolean hasFileSizeException()
public org.apache.commons.fileupload.FileUploadException getFileSizeException()
Copyright © 2016. All rights reserved.