Uses of Class
atg.rest.RestException

Packages that use RestException
atg.droplet   
atg.rest.input   
atg.rest.output   
atg.rest.processor   
atg.rest.servlet   
atg.rest.util   
 

Uses of RestException in atg.droplet
 

Methods in atg.droplet that throw RestException
 boolean RestFormSubmissionHandler.execute(RestFormExceptions pFormErrors)
          This method handles execution of the form handler method.
 

Uses of RestException in atg.rest.input
 

Methods in atg.rest.input that throw RestException
 java.util.Map<java.lang.String,java.lang.Object> XMLInputCustomizer.convertToMap(java.lang.Object pObject, atg.servlet.DynamoHttpServletRequest pRequest, atg.servlet.DynamoHttpServletResponse pResponse)
          Converts the supplied object to a Map of parameters.
 java.util.Map<java.lang.String,java.lang.Object> JSONInputCustomizer.convertToMap(java.lang.Object pObject, atg.servlet.DynamoHttpServletRequest pRequest, atg.servlet.DynamoHttpServletResponse pResponse)
          Converts the supplied object to a Map of parameters.
 java.util.Map<java.lang.String,java.lang.Object> RestInputCustomizer.convertToMap(java.lang.Object pObject, atg.servlet.DynamoHttpServletRequest pRequest, atg.servlet.DynamoHttpServletResponse pResponse)
          Converts the supplied object to a Map of parameters
 java.lang.Object XMLInputCustomizer.instantiateObjectParameter(java.lang.Object pDocument, atg.servlet.DynamoHttpServletRequest pRequest, atg.servlet.DynamoHttpServletResponse pResponse)
          Instantiates an object argument from the given Document.
 java.lang.Object JSONInputCustomizer.instantiateObjectParameter(java.lang.Object pJSON, atg.servlet.DynamoHttpServletRequest pRequest, atg.servlet.DynamoHttpServletResponse pResponse)
          Instantiates an object argument from the given JSONObject.
 java.lang.Object RestInputCustomizer.instantiateObjectParameter(java.lang.Object pObject, atg.servlet.DynamoHttpServletRequest pRequest, atg.servlet.DynamoHttpServletResponse pResponse)
          Instantiates an object from the formatted data in pObject
protected  java.lang.Object RestInputCustomizerImpl.javaInstanceForClass(java.lang.String pClassName, atg.servlet.DynamoHttpServletResponse pResponse)
          for a given json object, return a java object instance
 java.lang.Object XMLInputCustomizer.parseString(java.lang.String pData, atg.servlet.DynamoHttpServletRequest pRequest, atg.servlet.DynamoHttpServletResponse pResponse)
          Returns a Document object representing the data from pData
 java.lang.Object JSONInputCustomizer.parseString(java.lang.String pData, atg.servlet.DynamoHttpServletRequest pRequest, atg.servlet.DynamoHttpServletResponse pResponse)
          Returns a JSONObject representing the data from the pData string
 java.lang.Object RestInputCustomizer.parseString(java.lang.String pData, atg.servlet.DynamoHttpServletRequest pRequest, atg.servlet.DynamoHttpServletResponse pResponse)
          Parses the given String and creates the appropriate representation of the data
 

Uses of RestException in atg.rest.output
 

Methods in atg.rest.output that throw RestException
protected  void XMLOutputCustomizer.addArrayToElement(ParsedURI pParsedURI, java.lang.Object pValue, org.dom4j.Element pElement, int pNestingDepth, atg.servlet.DynamoHttpServletRequest pRequest, atg.servlet.DynamoHttpServletResponse pResponse)
          This method will add an array to the given element.
protected  org.json.JSONArray JSONOutputCustomizer.addArrayToJSONObject(java.lang.String pResourceName, java.lang.Object pValue, java.lang.Object pJSON, java.lang.Object pContainer, int pNestingDepth, ParsedURI pParsedURI, atg.servlet.DynamoHttpServletRequest pRequest, atg.servlet.DynamoHttpServletResponse pResponse)
          This method will add an array to the JSONObject.
protected  void XMLOutputCustomizer.addListToElement(ParsedURI pParsedURI, java.util.List<?> pValue, org.dom4j.Element pElement, int pNestingDepth, atg.servlet.DynamoHttpServletRequest pRequest, atg.servlet.DynamoHttpServletResponse pResponse)
          This method will add the given java.util.List to the given element.
protected  org.json.JSONArray JSONOutputCustomizer.addListToJSONObject(java.lang.String pResourceName, java.util.List<?> pValue, java.lang.Object pJSON, java.lang.Object pContainer, int pNestingDepth, ParsedURI pParsedURI, atg.servlet.DynamoHttpServletRequest pRequest, atg.servlet.DynamoHttpServletResponse pResponse)
          This method will add a java.util.List object to the JSONObject.
protected  void XMLOutputCustomizer.addMapToElement(ParsedURI pParsedURI, java.util.Map<?,?> pValue, org.dom4j.Element pElement, int pNestingDepth, atg.servlet.DynamoHttpServletRequest pRequest, atg.servlet.DynamoHttpServletResponse pResponse)
          This method will add the given java.util.Map to the given element.
protected  java.util.Map JSONOutputCustomizer.addMapToJSONObject(java.lang.String pResourceName, java.util.Map<?,?> pValue, java.lang.Object pJSON, java.lang.Object pContainer, int pNestingDepth, ParsedURI pParsedURI, atg.servlet.DynamoHttpServletRequest pRequest, atg.servlet.DynamoHttpServletResponse pResponse)
          This method will add a java.util.Map object to the JSONObject.
protected  void XMLOutputCustomizer.addObjectArrayToElement(ParsedURI pParsedURI, java.lang.Object[] pValue, int pIndex, int pCount, org.dom4j.Element pElement, int pNestingDepth, atg.servlet.DynamoHttpServletRequest pRequest, atg.servlet.DynamoHttpServletResponse pResponse)
          This method will add the given object array to the given element.
protected  org.json.JSONArray JSONOutputCustomizer.addObjectArrayToJSONObject(java.lang.String pResourceName, java.lang.Object[] pValue, int pIndex, int pCount, java.lang.Object pJSON, java.lang.Object pContainer, int pNestingDepth, ParsedURI pParsedURI, atg.servlet.DynamoHttpServletRequest pRequest, atg.servlet.DynamoHttpServletResponse pResponse)
          This method will add an array of Objects to the JSONObject.
protected  void XMLOutputCustomizer.addObjectToElement(ParsedURI pParsedURI, java.lang.Object pValue, org.dom4j.Element pElement, int pNestingDepth, atg.servlet.DynamoHttpServletRequest pRequest, atg.servlet.DynamoHttpServletResponse pResponse)
          This method will add the given object value to the given element
protected  void JSONOutputCustomizer.addObjectToJSONObject(java.lang.String pResourceName, java.lang.Object pValue, java.lang.Object pJSON, java.lang.Object pContainer, int pNestingDepth, ParsedURI pParsedURI, atg.servlet.DynamoHttpServletRequest pRequest, atg.servlet.DynamoHttpServletResponse pResponse)
          This method will add the given object value to the given json object
protected  void XMLOutputCustomizer.addPrimitiveArrayToElement(java.lang.Object pValue, int pIndex, int pCount, org.dom4j.Element pElement, int pNestingDepth, atg.servlet.DynamoHttpServletRequest pRequest, atg.servlet.DynamoHttpServletResponse pResponse)
          This method will add the given primitive array to the given element.
protected  org.json.JSONArray JSONOutputCustomizer.addPrimitiveArrayToJSONObject(java.lang.String pResourceName, java.lang.Object pValue, int pIndex, int pCount, java.lang.Object pJSON, java.lang.Object pContainer, int pNestingDepth, ParsedURI pParsedURI, atg.servlet.DynamoHttpServletRequest pRequest, atg.servlet.DynamoHttpServletResponse pResponse)
          This method will add an array of primitives to the JSONObject.
protected  void XMLOutputCustomizer.addSetToElement(ParsedURI pParsedURI, java.util.Set<?> pValue, org.dom4j.Element pElement, int pNestingDepth, atg.servlet.DynamoHttpServletRequest pRequest, atg.servlet.DynamoHttpServletResponse pResponse)
          This method will add the given java.util.Set to the given element.
protected  org.json.JSONArray JSONOutputCustomizer.addSetToJSONObject(java.lang.String pResourceName, java.util.Set<?> pValue, java.lang.Object pJSON, java.lang.Object pContainer, int pNestingDepth, ParsedURI pParsedURI, atg.servlet.DynamoHttpServletRequest pRequest, atg.servlet.DynamoHttpServletResponse pResponse)
          This method will add a java.util.Set object to the JSONObject.
 void JSONOutputCustomizer.addValueToOutputObject(java.lang.String pResourceName, java.lang.Object pValue, ParsedURI pParsedURI, java.lang.Object pContainer, java.lang.Object pParent, int pNestingDepth, atg.servlet.DynamoHttpServletRequest pRequest, atg.servlet.DynamoHttpServletResponse pResponse)
          This method will add the given value to the JSON Object
 void XMLOutputCustomizer.addValueToOutputObject(java.lang.String pPropertyName, java.lang.Object pValue, ParsedURI pParsedURI, java.lang.Object pContainer, java.lang.Object pParent, int pNestingDepth, atg.servlet.DynamoHttpServletRequest pRequest, atg.servlet.DynamoHttpServletResponse pResponse)
          This method will add the given value to the given Element object
 void RestOutputCustomizer.addValueToOutputObject(java.lang.String pPropertyName, java.lang.Object pValue, ParsedURI pParsedURI, java.lang.Object pContainer, java.lang.Object pParent, int pNestingDepth, atg.servlet.DynamoHttpServletRequest pRequest, atg.servlet.DynamoHttpServletResponse pResponse)
          This method will add the given value to the Object representing the data that will be output.
 java.lang.Object XMLOutputCustomizer.createBeanOutput(ParsedURI pParsedURI, java.lang.Object pResContainer, int pNestingDepth, atg.servlet.DynamoHttpServletRequest pRequest, atg.servlet.DynamoHttpServletResponse pResponse)
          This method outputs all the properties of an object to the response's output stream
 java.lang.Object RestOutputCustomizerImpl.createBeanOutput(ParsedURI pParsedURI, java.lang.Object pResContainer, int pNestingDepth, atg.servlet.DynamoHttpServletRequest pRequest, atg.servlet.DynamoHttpServletResponse pResponse)
          This method creates an object which contains a representation of the data to be output
 java.lang.Object RestOutputCustomizer.createBeanOutput(ParsedURI pParsedURI, java.lang.Object pResContainer, int pNestingDepth, atg.servlet.DynamoHttpServletRequest pRequest, atg.servlet.DynamoHttpServletResponse pResponse)
          Creates the object representing the output for a bean
 java.lang.Object XMLOutputCustomizer.createBeanValueOutput(ParsedURI pParsedURI, java.lang.String pResourceName, java.lang.Object pValue, int pNestingDepth, atg.servlet.DynamoHttpServletRequest pRequest, atg.servlet.DynamoHttpServletResponse pResponse)
          Outputs a bean property value to the output stream in XML.
 java.lang.Object RestOutputCustomizerImpl.createBeanValueOutput(ParsedURI pParsedURI, java.lang.String pResourceName, java.lang.Object pValue, int pNestingDepth, atg.servlet.DynamoHttpServletRequest pRequest, atg.servlet.DynamoHttpServletResponse pResponse)
          Outputs a bean property value to the output stream in the appropriate format.
 java.lang.Object RestOutputCustomizer.createBeanValueOutput(ParsedURI pParsedURI, java.lang.String pResourceName, java.lang.Object pValue, int pNestingDepth, atg.servlet.DynamoHttpServletRequest pRequest, atg.servlet.DynamoHttpServletResponse pResponse)
          Creates the object representing the output for a property value
protected  void RestOutputCustomizerImpl.createOutputObject(ParsedURI pParsedURI, java.lang.Object pResContainer, java.lang.Object pParent, int pNestingDepth, atg.servlet.DynamoHttpServletRequest pRequest, atg.servlet.DynamoHttpServletResponse pResponse)
          This method creates and returns a child element representing the data which will be written to the response's output stream.
protected  void RestOutputCustomizerImpl.createOutputObjectNoFiltering(ParsedURI pParsedURI, java.lang.Object pResContainer, java.lang.Object pParent, int pNestingDepth, atg.servlet.DynamoHttpServletRequest pRequest, atg.servlet.DynamoHttpServletResponse pResponse)
          This method creates and returns a child element representing the data which will be written to the response's output stream.
protected  void RestOutputCustomizerImpl.createOutputObjectWithDefaultIncludes(ComponentConfiguration pComponentConfig, ParsedURI pParsedURI, java.lang.Object pResContainer, java.lang.Object pParent, int pNestingDepth, atg.servlet.DynamoHttpServletRequest pRequest, atg.servlet.DynamoHttpServletResponse pResponse)
          This method creates and returns a child element representing the data which will be written to the response's output stream.
protected  void RestOutputCustomizerImpl.createOutputObjectWithoutDefaultIncludes(ComponentConfiguration pComponentConfig, ParsedURI pParsedURI, java.lang.Object pResContainer, java.lang.Object pParent, int pNestingDepth, atg.servlet.DynamoHttpServletRequest pRequest, atg.servlet.DynamoHttpServletResponse pResponse)
          This method creates and returns a child element representing the data which will be written to the response's output stream.
protected  ComponentConfiguration RestOutputCustomizerImpl.getComponentConfiguration(ParsedURI pParsedURI, java.lang.Object pResContainer, atg.servlet.DynamoHttpServletRequest pRequest, atg.servlet.DynamoHttpServletResponse pResponse)
          Returns the component configuration for the resource container
protected  ComponentConfiguration RestOutputCustomizerImpl.getComponentConfiguration(ParsedURI pParsedURI, java.lang.Object pResContainer, int pNestingDepth, atg.servlet.DynamoHttpServletRequest pRequest, atg.servlet.DynamoHttpServletResponse pResponse)
          Returns the component configuration for the resource container
protected  org.json.JSONObject JSONOutputCustomizer.getNucleusComponentReferenceObject(atg.nucleus.GenericService pService, atg.servlet.DynamoHttpServletRequest pRequest, atg.servlet.DynamoHttpServletResponse pResponse)
          Returns a skeleton JSON Object for the given nucleus component
protected  java.lang.Object XMLOutputCustomizer.getNucleusComponentReferenceObject(atg.nucleus.GenericService pService, atg.servlet.DynamoHttpServletRequest pRequest, atg.servlet.DynamoHttpServletResponse pResponse)
          create a nucleus component reference object
protected  java.lang.String RestOutputCustomizerImpl.getRepositoryItemPropertyReferenceString(atg.repository.RepositoryItem pItem, java.lang.String pPropertyName, atg.servlet.DynamoHttpServletRequest pRequest, atg.servlet.DynamoHttpServletResponse pResponse)
          Returns a REST URL string for the given repository item property
protected  org.json.JSONObject JSONOutputCustomizer.getRepositoryItemReferenceObject(atg.repository.RepositoryItem pItem, atg.servlet.DynamoHttpServletRequest pRequest, atg.servlet.DynamoHttpServletResponse pResponse)
          Returns a skeleton JSON object for the given repository item
protected  java.lang.Object XMLOutputCustomizer.getRepositoryItemReferenceObject(atg.repository.RepositoryItem pItem, atg.servlet.DynamoHttpServletRequest pRequest, atg.servlet.DynamoHttpServletResponse pResponse)
          create a repository item reference object
protected  java.lang.String RestOutputCustomizerImpl.getRepositoryItemReferenceString(atg.repository.RepositoryItem pItem, atg.servlet.DynamoHttpServletRequest pRequest, atg.servlet.DynamoHttpServletResponse pResponse)
          Returns a REST URL string for the given repository item
 void RestOutputCustomizerImpl.outputBean(ParsedURI pParsedURI, java.lang.Object pResContainer, int pNestingDepth, atg.servlet.DynamoHttpServletRequest pRequest, atg.servlet.DynamoHttpServletResponse pResponse)
          This method outputs all the properties of an object to the response's output stream
 void RestOutputCustomizer.outputBean(ParsedURI pParsedURI, java.lang.Object pResContainer, int pNestingDepth, atg.servlet.DynamoHttpServletRequest pRequest, atg.servlet.DynamoHttpServletResponse pResponse)
          This method outputs all the properties of an object to the response's output stream
 void RestOutputCustomizerImpl.outputBeanProperty(ParsedURI pParsedURI, java.lang.Object pResContainer, atg.servlet.DynamoHttpServletRequest pRequest, atg.servlet.DynamoHttpServletResponse pResponse)
          This method outputs a single bean property to the response's output stream by passing it to the output customizer
 void RestOutputCustomizer.outputBeanProperty(ParsedURI pParsedURI, java.lang.Object pResContainer, atg.servlet.DynamoHttpServletRequest pRequest, atg.servlet.DynamoHttpServletResponse pResponse)
          This method outputs a single bean property to the response's output stream by passing it to the output customizer
 void RestOutputCustomizerImpl.outputBeanValue(ParsedURI pParsedURI, java.lang.String pResourceName, java.lang.Object pValue, int pNestingDepth, atg.servlet.DynamoHttpServletRequest pRequest, atg.servlet.DynamoHttpServletResponse pResponse)
          Outputs a bean property value to the output stream
 void RestOutputCustomizer.outputBeanValue(ParsedURI pParsedURI, java.lang.String pResourceName, java.lang.Object pValue, int pNestingDepth, atg.servlet.DynamoHttpServletRequest pRequest, atg.servlet.DynamoHttpServletResponse pResponse)
          Called to output the property value of a bean property to the output stream for a REST GET request.
protected  void RestOutputCustomizerImpl.outputFilteredProperty(PropertyConfiguration pPropertyConfig, ParsedURI pParsedURI, java.lang.Object pResContainer, java.lang.Object pParent, int pNestingDepth, atg.servlet.DynamoHttpServletRequest pRequest, atg.servlet.DynamoHttpServletResponse pResponse)
          This method adds a single property and value to the output object.
protected  void RestOutputCustomizerImpl.outputNonFilteredProperty(java.lang.String pPropertyName, ParsedURI pParsedURI, java.lang.Object pResContainer, java.lang.Object pParent, int pNestingDepth, atg.servlet.DynamoHttpServletRequest pRequest, atg.servlet.DynamoHttpServletResponse pResponse)
          This method adds a single property and value to the output object.
 void JSONOutputCustomizer.sendToOutputStream(java.lang.Object pJSON, atg.servlet.DynamoHttpServletResponse pResponse)
          Writes the JSONObject to the servlet output stream
 void XMLOutputCustomizer.sendToOutputStream(java.lang.Object pDocument, atg.servlet.DynamoHttpServletResponse pResponse)
          Writes the XML document to the servlet output stream
 void RestOutputCustomizer.sendToOutputStream(java.lang.Object pObject, atg.servlet.DynamoHttpServletResponse pResponse)
          Writes the output to the servlet output stream
 

Uses of RestException in atg.rest.processor
 

Methods in atg.rest.processor that throw RestException
protected  void RestSecurityProcessor.checkAccess(BeanURI pParsedURI, RestSecurityConfiguration pRestSecurityConfiguration, atg.security.AccessRight pAccessRight, atg.servlet.DynamoHttpServletResponse pResponse)
          Checks security for component resource access.
protected  void RepositoryProcessor.createRepositoryItem(atg.repository.MutableRepository pRep, RepositoryURI pParsedURI, atg.servlet.DynamoHttpServletRequest pRequest, atg.servlet.DynamoHttpServletResponse pResponse)
          This method handles creating a repository item
protected  org.json.JSONObject GenericRestProcessor.determineJSONControlParams()
          This method determines JSON control params
 void ServiceProcessor.doRESTDelete(atg.servlet.DynamoHttpServletRequest pRequest, atg.servlet.DynamoHttpServletResponse pResponse)
          Handle the delete request
 void RepositoryProcessor.doRESTDelete(atg.servlet.DynamoHttpServletRequest pRequest, atg.servlet.DynamoHttpServletResponse pResponse)
          This method handles the processing for a rest DELETE request.
 void RestSecurityProcessor.doRESTDelete(atg.servlet.DynamoHttpServletRequest pRequest, atg.servlet.DynamoHttpServletResponse pResponse)
          This method handles a REST "DELETE" request.
 void BeanProcessor.doRESTDelete(atg.servlet.DynamoHttpServletRequest pRequest, atg.servlet.DynamoHttpServletResponse pResponse)
          This method handles a REST "DELETE" request.
 void RestProcessor.doRESTDelete(atg.servlet.DynamoHttpServletRequest pRequest, atg.servlet.DynamoHttpServletResponse pResponse)
          This method is called when a DELETE" request is made.
 void ServiceProcessor.doRESTGet(atg.servlet.DynamoHttpServletRequest pRequest, atg.servlet.DynamoHttpServletResponse pResponse)
          Handle the get request
 void RepositoryProcessor.doRESTGet(atg.servlet.DynamoHttpServletRequest pRequest, atg.servlet.DynamoHttpServletResponse pResponse)
          This method handles the processing for a rest GET request.
 void RestSecurityProcessor.doRESTGet(atg.servlet.DynamoHttpServletRequest pRequest, atg.servlet.DynamoHttpServletResponse pResponse)
          This method handles a REST "GET" request.
 void BeanProcessor.doRESTGet(atg.servlet.DynamoHttpServletRequest pRequest, atg.servlet.DynamoHttpServletResponse pResponse)
          This method handles the processing for a rest GET request.
 void RestProcessor.doRESTGet(atg.servlet.DynamoHttpServletRequest pRequest, atg.servlet.DynamoHttpServletResponse pResponse)
          This method is called when a "GET" request is made.
 void ServiceProcessor.doRESTPost(atg.servlet.DynamoHttpServletRequest pRequest, atg.servlet.DynamoHttpServletResponse pResponse)
          Handle the post request
 void RepositoryProcessor.doRESTPost(atg.servlet.DynamoHttpServletRequest pRequest, atg.servlet.DynamoHttpServletResponse pResponse)
          This method handles the processing for a rest POST resource request.
 void RestSecurityProcessor.doRESTPost(atg.servlet.DynamoHttpServletRequest pRequest, atg.servlet.DynamoHttpServletResponse pResponse)
          This method handles a REST "POST" request.
 void BeanProcessor.doRESTPost(atg.servlet.DynamoHttpServletRequest pRequest, atg.servlet.DynamoHttpServletResponse pResponse)
          This method handles the processing for a rest POST resource request.
 void RestProcessor.doRESTPost(atg.servlet.DynamoHttpServletRequest pRequest, atg.servlet.DynamoHttpServletResponse pResponse)
          This method is called when a "POST" request is made.
 void ServiceProcessor.doRESTPut(atg.servlet.DynamoHttpServletRequest pRequest, atg.servlet.DynamoHttpServletResponse pResponse)
          Handle the put request
 void RepositoryProcessor.doRESTPut(atg.servlet.DynamoHttpServletRequest pRequest, atg.servlet.DynamoHttpServletResponse pResponse)
          This method handles the processing for a rest PUT request.
 void RestSecurityProcessor.doRESTPut(atg.servlet.DynamoHttpServletRequest pRequest, atg.servlet.DynamoHttpServletResponse pResponse)
          This method handles a REST "PUT" request.
 void BeanProcessor.doRESTPut(atg.servlet.DynamoHttpServletRequest pRequest, atg.servlet.DynamoHttpServletResponse pResponse)
          This method handles the processing for a rest PUT request.
 void RestProcessor.doRESTPut(atg.servlet.DynamoHttpServletRequest pRequest, atg.servlet.DynamoHttpServletResponse pResponse)
          This method is called when a "PUT" request is made.
protected  java.lang.reflect.Method BeanProcessor.findMethodBySignature(java.util.List<java.lang.reflect.Method> pAllMethods, atg.servlet.DynamoHttpServletRequest pRequest, atg.servlet.DynamoHttpServletResponse pResponse)
          Attempts to find a method by method signature if the "atg-rest-method" parameter was supplied
protected  java.lang.Object[] BeanProcessor.getMethodArguments(java.lang.reflect.Method pMethod, atg.servlet.DynamoHttpServletRequest pRequest, atg.servlet.DynamoHttpServletResponse pResponse)
          This method gets the method arguments from either the input stream or url parameters
 RestOutputCustomizer GenericRestProcessor.getOutputCustomizer()
          Returns the requested or configured rest output customizer.
protected  void RestSecurityProcessor.handleRepositoryRequest(RepositoryURI pRepositoryURI, atg.servlet.DynamoHttpServletRequest pRequest, atg.servlet.DynamoHttpServletResponse pResponse)
          Checks security for repository access.
protected  void ServiceProcessor.handleRequest(atg.servlet.DynamoHttpServletRequest pRequest, atg.servlet.DynamoHttpServletResponse pResponse)
          Handles the request.
protected  void RepositoryProcessor.setPropertyValueFromString(java.lang.Object pContainer, java.lang.String pName, NameValuePair pValuePair, ParsedURI pParsedURI, atg.servlet.DynamoHttpServletRequest pRequest, atg.servlet.DynamoHttpServletResponse pResponse)
          This method sets a property value from a String.
protected  boolean GenericRestProcessor.validateResource(atg.servlet.DynamoHttpServletRequest pRequest, atg.servlet.DynamoHttpServletResponse pResponse)
          Validates that the REST request is for a valid resource type.
 

Uses of RestException in atg.rest.servlet
 

Methods in atg.rest.servlet that throw RestException
protected  void HeadRestServlet.postCreateTransaction(atg.servlet.DynamoHttpServletRequest pRequest, atg.servlet.DynamoHttpServletResponse pResponse)
          This method is called after the transaction is created.
protected  void RestPipelineServlet.postCreateTransaction(atg.servlet.DynamoHttpServletRequest pRequest, atg.servlet.DynamoHttpServletResponse pResponse)
          This method is called after the transaction is created.
protected  void RestPipelineServlet.preCreateTransaction(atg.servlet.DynamoHttpServletRequest pRequest, atg.servlet.DynamoHttpServletResponse pResponse)
          This method is called before the transaction is created.
 void HeadRestServlet.serviceRESTRequest(atg.servlet.DynamoHttpServletRequest pRequest, atg.servlet.DynamoHttpServletResponse pResponse)
          Override serviceRESTRequest() so that this servlet does not do anything other than print a line of debug if loggingDebug is true.
 void RestPipelineServlet.serviceRESTRequest(atg.servlet.DynamoHttpServletRequest pRequest, atg.servlet.DynamoHttpServletResponse pResponse)
          This is the method which determines the type of request made and hands it off to one of the handle methods in the RestProcessor.
 

Uses of RestException in atg.rest.util
 

Methods in atg.rest.util that throw RestException
protected static java.util.Collection<?> BeanUtils.convertCollectionType(java.lang.Class<?> pClass, java.lang.Class<?> pComponentClass, java.lang.String pValue, boolean pUseStandardJSON, org.json.JSONObject pControlParamsForJSON, atg.servlet.DynamoHttpServletRequest pRequest, atg.servlet.DynamoHttpServletResponse pResponse)
          Converts the given string into an object of the specified Collection type.
protected static java.util.Collection<?> BeanUtils.convertCollectionType(java.lang.Class<?> pClass, java.lang.String pValue, atg.servlet.DynamoHttpServletRequest pRequest, atg.servlet.DynamoHttpServletResponse pResponse)
          Converts the given string into an object of the specified Collection type.
static java.lang.Object BeanUtils.convertDataToType(java.lang.Class<?> pClass, java.lang.Class<?> pKeyClass, java.lang.Class<?> pComponentClass, java.lang.String pValue, boolean pUseStandardJSON, org.json.JSONObject pControlParamsForJSON, atg.servlet.DynamoHttpServletRequest pRequest, atg.servlet.DynamoHttpServletResponse pResponse)
          This method converts the given value to an object of the given Class type.
static java.lang.Object BeanUtils.convertDataToType(java.lang.Class<?> pClass, java.lang.String pValue, atg.servlet.DynamoHttpServletRequest pRequest, atg.servlet.DynamoHttpServletResponse pResponse)
          This method converts the given value to an object of the given Class type.
protected static java.util.Map<?,?> BeanUtils.convertMapType(java.lang.Class<?> pClass, java.lang.Class<?> pKeyClass, java.lang.Class<?> pValueClass, java.lang.String pValue, boolean pUseStandardJSON, org.json.JSONObject pControlParamsForJSON, atg.servlet.DynamoHttpServletRequest pRequest, atg.servlet.DynamoHttpServletResponse pResponse)
          Converts the given string into an object of the specified Map type.
protected static java.util.Map<?,?> BeanUtils.convertMapType(java.lang.Class<?> pClass, java.lang.String pValue, atg.servlet.DynamoHttpServletRequest pRequest, atg.servlet.DynamoHttpServletResponse pResponse)
          Converts the given string into an object of the specified Map type.
protected static java.lang.Object BeanUtils.convertObjectArrayType(java.lang.Class<?> pClass, java.lang.String pValue, boolean pUseStandardJSON, atg.servlet.DynamoHttpServletRequest pRequest, atg.servlet.DynamoHttpServletResponse pResponse)
          This method converts the given value to an object of the given object array Class type.
protected static java.lang.Object BeanUtils.convertObjectArrayType(java.lang.Class<?> pClass, java.lang.String pValue, atg.servlet.DynamoHttpServletRequest pRequest, atg.servlet.DynamoHttpServletResponse pResponse)
          This method converts the given value to an object of the given object array Class type.
static atg.repository.RepositoryItem[] RepositoryUtils.convertRepositoryReferenceArrayParameter(java.lang.String pStrValue, ComponentResolver pResolver, atg.servlet.DynamoHttpServletRequest pRequest, atg.servlet.DynamoHttpServletResponse pResponse)
          Converts a string of the form /path/to/repository:item-descriptor:itemId,...
static atg.repository.RepositoryItem RepositoryUtils.convertRepositoryReferenceParameter(java.lang.String pRepRefString, ComponentResolver pResolver, atg.servlet.DynamoHttpServletRequest pRequest, atg.servlet.DynamoHttpServletResponse pResponse)
          Converts a string of the form /path/to/repository:item-descriptor:itemId to the referenced RepositoryItem
static ParameterContext ParameterContext.create(atg.servlet.DynamoHttpServletRequest pRequest, atg.servlet.DynamoHttpServletResponse pResponse)
           
static java.lang.String RepositoryUtils.formatRepositoryReferenceParameter(java.lang.String pRepRefString, atg.servlet.DynamoHttpServletRequest pRequest, atg.servlet.DynamoHttpServletResponse pResponse)
          Converts a string of the form /path/to/repository/item-descriptor/itemId to /path/to/repository:item-descriptor:itemId so it can be passed to DynamicBeans.setPropertyValueAsString()
 int ParameterContext.getCountParameter()
          Returns the count parameter from the URL if present
static java.lang.Object BeanUtils.getFilteredPropertyValue(PropertyConfiguration pPropertyConfig, java.lang.Object pResContainer, atg.servlet.DynamoHttpServletRequest pRequest, atg.servlet.DynamoHttpServletResponse pResponse)
          This method a filtered property value.
 int ParameterContext.getIndexParameter()
          Returns the index parameter from the URL if present
 int ParameterContext.getMaxNestingDepth()
          Returns the maximum allowed nesting depth for this request.
static NameValuePair BeanUtils.getPropertyNameAndValue(java.lang.String[] pPropertyNames, java.lang.Object pResContainer, ComponentConfiguration pCFC, atg.servlet.DynamoHttpServletRequest pRequest, atg.servlet.DynamoHttpServletResponse pResponse)
          This method returns the property value for a property that is a child or grandchild of the resource container.
static NameValuePair BeanUtils.getPropertyNameAndValue(java.lang.String pPropertyName, java.lang.Object pResContainer, ComponentConfiguration pCFC, atg.servlet.DynamoHttpServletRequest pRequest, atg.servlet.DynamoHttpServletResponse pResponse)
          Convenience method for getting the property name from the given property descriptor and the value from the given resource container.
protected  void ParameterContext.initialize(atg.servlet.DynamoHttpServletRequest pRequest, atg.servlet.DynamoHttpServletResponse pResponse)
          Initializes the parameter context object by reading parameters from the input stream and the request
protected  java.util.Map<java.lang.String,java.lang.Object> ParameterContext.parseFormUrlEncodedRequest(atg.servlet.DynamoHttpServletRequest pRequest, atg.servlet.DynamoHttpServletResponse pResponse)
          Returns a map of parameters which were read from the input stream of a request whose content type is application/x-www-form-urlencoded
protected  java.lang.Object ParameterContext.parseMultiPartRequest(atg.servlet.DynamoHttpServletRequest pRequest, atg.servlet.DynamoHttpServletResponse pResponse)
          Parses a multi-part request and returns each item in a List.
protected  java.lang.String ParameterContext.readInputStreamFromRequest(atg.servlet.DynamoHttpServletRequest pRequest, atg.servlet.DynamoHttpServletResponse pResponse)
          Returns the content of the input stream as a string from the given request/response.
protected  java.util.Map<java.lang.String,java.lang.Object> ParameterContext.readParametersFromInputStream(atg.servlet.DynamoHttpServletRequest pRequest, atg.servlet.DynamoHttpServletResponse pResponse)
          Returns a map of parameters which were read from the input stream
static void BeanUtils.setArrayEntryValue(java.lang.Object pArray, java.lang.String pIndex, java.lang.String pValue, atg.servlet.DynamoHttpServletRequest pRequest, atg.servlet.DynamoHttpServletResponse pResponse)
          Sets the given value into an array element
 



Copyright © 2012. All Rights Reserved.