Uses of Class
net.craftforge.essential.controller.ControllerException

Packages that use ControllerException
net.craftforge.essential.client   
net.craftforge.essential.controller   
net.craftforge.essential.controller.managers   
net.craftforge.essential.controller.phases   
net.craftforge.essential.controller.phases.flow   
net.craftforge.essential.controller.utils   
net.craftforge.essential.supply   
net.craftforge.essential.supply.jaxb   
 

Uses of ControllerException in net.craftforge.essential.client
 

Methods in net.craftforge.essential.client that throw ControllerException
 Object ClientResponse.getBodyObject(Consumer consumer, Class<?> clazz)
          Gets the HTTP response body as an object of the given class.
 void ClientRequest.setBody(Object object, Producer producer, String mediaType)
          Sets the request body for this request and specifies the media type and charset used in the Content-Type header.
 void ClientRequest.setBody(Object object, Producer producer, String mediaType, String charset)
          Sets the request body for this request and specifies the media type and charset used in the Content-Type header.
 

Uses of ControllerException in net.craftforge.essential.controller
 

Methods in net.craftforge.essential.controller that throw ControllerException
 String Setup.getAcceptedCharset()
          Gets the encoding charset for result serialization.
 String Setup.getAcceptedMediaType()
          Gets the media type for result serialization.
 int Controller.perform(Request request, Response response)
          Performs a request on the controller, using the response to write back the serialized result.
 int Controller.perform(String httpMethod, String urlInfoPart, Map<String,String[]> requestHeaders, Map<String,String[]> requestParameters, InputStream inputStream, OutputStream outputStream)
          Performs a request on a controller using the HTTP method and info part to allocate the resource.
 void Phase.run()
          Runs the phase.
 

Uses of ControllerException in net.craftforge.essential.controller.managers
 

Methods in net.craftforge.essential.controller.managers that return ControllerException
protected  ControllerException HeaderHandler.getMissingHeaderException(String headerName)
           
protected  ControllerException ParameterHandler.getMissingParameterException(String paramName)
           
 

Methods in net.craftforge.essential.controller.managers that throw ControllerException
protected  Object ParameterHandler.convertToObject(Consumer consumer, Class<?> type, String parameterValue)
           
 Object InjectionManager.getBodyInput(Consumer consumer, Class<?> type)
           
 Object BodyHandler.getBodyObject(Consumer consumer, Class<?> type, String mediaType, String charset)
           
 Object InjectionManager.getHeaderInput(Class<?> type, String headerName, String[] defaultValues)
           
 String HeaderHandler.getHeaderValue(String headerName, String defaultValue)
           
 String HeaderHandler.getHeaderValue(String headerName, String[] defaultValues)
           
 String[] HeaderHandler.getHeaderValues(String headerName, String[] defaultValues)
           
 Object InjectionManager.getInputForField(Field field)
          Gets the input for a field annotated with @Param from the corresponding parameter.
 List<Object> InjectionManager.getInputForMethodParameters(Method method)
          Gets the input for a method's parameters annotated with @Param from the corresponding parameter.
 Object InjectionManager.getParameterInput(Consumer consumer, Class<?> type, Type genericType, String parameterName, String[] defaultValues)
           
 String ParameterHandler.getParameterValue(String parameterName, String[] defaultValues)
           
 Object ParameterHandler.getParameterValueAsObject(Consumer consumer, Class<?> type, String parameterName, String[] defaultValues)
           
 String[] ParameterHandler.getParameterValues(String parameterName, String[] defaultValues)
           
<G> Collection<G>
ParameterHandler.getParameterValuesAsObject(Consumer consumer, Class<?> collectionType, Class<G> typeArgument, String parameterName, String[] defaultValues)
          Gets the input for a collection type using the generic type as deserialization hint for the parameter values associated to the given parameter name.
 Map<String,String> PropertyHandler.getProperties(String propertyName, String[] defaultValues)
           
 String PropertyHandler.getProperty(String propertyName, String[] defaultValues)
           
 Object InjectionManager.getPropertyInput(Class<?> type, String propertyName, String[] defaultValues)
           
 

Uses of ControllerException in net.craftforge.essential.controller.phases
 

Methods in net.craftforge.essential.controller.phases that throw ControllerException
protected  Map<String,String[]> ProductionPhase.getHeadersWithContent(Producer producer)
           
protected  Map<String,String[]> ProductionPhase.getHeadersWithoutContent()
           
protected  Producer ProductionPhase.getProducer()
           
 void ProductionPhase.run()
          Runs the phase.
 void InvocationPhase.run()
          Runs the phase.
 void DocumentationPhase.run()
          Runs the phase.
 void AuthenticationPhase.run()
          Runs the phase.
 void AllocationPhase.run()
          Runs the phase.
 

Uses of ControllerException in net.craftforge.essential.controller.phases.flow
 

Methods in net.craftforge.essential.controller.phases.flow that throw ControllerException
 Phase StandardPhaseFlow.getPhaseAfter(Phase phase)
          Gets the controller phase which follows after the given phase.
 Phase PhaseFlow.getPhaseAfter(Phase phase)
          Gets the controller phase which follows after the given phase.
 

Uses of ControllerException in net.craftforge.essential.controller.utils
 

Methods in net.craftforge.essential.controller.utils that throw ControllerException
static String AnnotationUtils.getBestMatchingMediaType(Object supplier, Class<? extends Annotation> annotationType, String mediaTypes)
          Gets the media type of a consumer or producer being annotated with the @Produces or @Consumes annotation which value matches best the specified media types.
static Method AnnotationUtils.getBestMatchingMethod(Object supplier, Class<? extends Annotation> annotationType, String mediaTypes)
          Gets the method of a consumer or producer being annotated with the @Produces or @Consumes annotation which value matches best the specified media types.
static Method AnnotationUtils.getConsumerMethod(Object consumer, String mediaTypes)
          Gets the method of a consumer being annotated with the @Consumes annotation which value matches best the media types.
static Method AnnotationUtils.getProducerMethod(Object producer, String mediaTypes)
          Gets the method of a producer being annotated with the @Produces annotation which value matches best the specified media types.
static boolean AnnotationUtils.isStreamingSupported(Consumer consumer, String mediaType)
          Checks if for the given media type streaming is supported by the specified consumer.
static boolean AnnotationUtils.isStreamingSupported(Producer producer, String mediaType)
          Checks if for the given media type streaming is supported by the specified producer.
 

Uses of ControllerException in net.craftforge.essential.supply
 

Methods in net.craftforge.essential.supply that throw ControllerException
 Object Consumer.consume(Class<?> clazz, String mediaType, InputStream inputStream, String charset)
          Consumes the given input stream, deserializing it to an object of the specified class.
 Object Consumer.consume(Class<?> clazz, String mediaType, String input)
          Consumes the given input string, deserializing it to an object of the specified class.
 String Producer.getBestMatchingMediaType(String accepted)
           
 Object Consumer.plain(Class<?> clazz, String input)
          Consumes the given input string, deserializing it to an object of the specified class.
 void Producer.produce(String accepted, Object result, OutputStream outputStream, String charset)
          Produces the given result object, serializing to the given media type and streaming it using the specified output stream.
 

Uses of ControllerException in net.craftforge.essential.supply.jaxb
 

Methods in net.craftforge.essential.supply.jaxb that throw ControllerException
 void JaxbProducer.json(Object result, OutputStream out, String charset)
          Serializes the result object to JSON, using the specified character encoding.
 



Copyright © 2011. All Rights Reserved.