Class SharePointRepository.ExecuteMethodThread

  • All Implemented Interfaces:
    java.lang.Runnable
    Enclosing class:
    SharePointRepository

    protected static class SharePointRepository.ExecuteMethodThread
    extends java.lang.Thread
    • Nested Class Summary

      • Nested classes/interfaces inherited from class java.lang.Thread

        java.lang.Thread.State, java.lang.Thread.UncaughtExceptionHandler
    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected java.lang.Throwable exception  
      protected org.apache.http.client.HttpClient httpClient  
      protected java.io.OutputStream os  
      protected int returnCode  
      protected java.lang.String url  
      • Fields inherited from class java.lang.Thread

        MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
    • Constructor Summary

      Constructors 
      Constructor Description
      ExecuteMethodThread​(org.apache.http.client.HttpClient httpClient, java.lang.String url, java.io.OutputStream os)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      int finishUp()  
      void run()  
      • Methods inherited from class java.lang.Thread

        activeCount, checkAccess, clone, countStackFrames, currentThread, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, onSpinWait, resume, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, start, stop, suspend, toString, yield
      • Methods inherited from class java.lang.Object

        equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Field Detail

      • httpClient

        protected final org.apache.http.client.HttpClient httpClient
      • url

        protected final java.lang.String url
      • os

        protected final java.io.OutputStream os
      • exception

        protected java.lang.Throwable exception
      • returnCode

        protected int returnCode
    • Constructor Detail

      • ExecuteMethodThread

        public ExecuteMethodThread​(org.apache.http.client.HttpClient httpClient,
                                   java.lang.String url,
                                   java.io.OutputStream os)
    • Method Detail

      • run

        public void run()
        Specified by:
        run in interface java.lang.Runnable
        Overrides:
        run in class java.lang.Thread
      • finishUp

        public int finishUp()
                     throws java.lang.InterruptedException,
                            java.io.IOException,
                            org.apache.http.HttpException
        Throws:
        java.lang.InterruptedException
        java.io.IOException
        org.apache.http.HttpException