de.esprit.netsuite.server.chreq

## Class RequestExecutionTask

- java.lang.Object
- - de.esprit.netsuite.server.chreq.RequestExecutionTask

- All Implemented Interfaces:
    java.util.concurrent.Callable<NetResponse>

      public class RequestExecutionTask
      extends java.lang.Object
      implements java.util.concurrent.Callable<NetResponse>

  This `Callable` task is supposed to be executed in the RequestThreadPool
  Author:
    Rainer Buesch
  See Also:
    `RequestServiceThreadPool`

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `RequestExecutionTask(RequestHandler handler, NetRequest request, NetResponse response)`

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `NetResponse` | `call()`
    `NetRequest` | `getRequest()`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### RequestExecutionTask

          public RequestExecutionTask(RequestHandler handler,
                              NetRequest request,
                              NetResponse response)

  - ### Method Detail

    - #### getRequest

          public NetRequest getRequest()

    - #### call

          public NetResponse call()
                           throws java.lang.Exception

      Specified by:
        `call` in interface `java.util.concurrent.Callable<NetResponse>`
      Throws:
        `java.lang.Exception`

Copyright © 2014 EsprIT-Systems. All Rights Reserved.