org.apache.maven.wagon.providers.http
Class LightweightHttpWagon

java.lang.Object
  extended byorg.apache.maven.wagon.AbstractWagon
      extended byorg.apache.maven.wagon.StreamWagon
          extended byorg.apache.maven.wagon.providers.http.LightweightHttpWagon
All Implemented Interfaces:
org.apache.maven.wagon.Wagon

public class LightweightHttpWagon
extends org.apache.maven.wagon.StreamWagon

Version:
$Id: LightweightHttpWagon.java 485098 2006-12-10 00:20:06Z joakime $
Author:
Michal Maczka

Field Summary
 
Fields inherited from class org.apache.maven.wagon.AbstractWagon
authenticationInfo, DEFAULT_BUFFER_SIZE, interactive, proxyInfo, repository, sessionEventSupport, transferEventSupport
 
Fields inherited from interface org.apache.maven.wagon.Wagon
ROLE
 
Constructor Summary
LightweightHttpWagon()
           
 
Method Summary
 void closeConnection()
           
 void fillInputData(org.apache.maven.wagon.InputData inputData)
           
 void fillOutputData(org.apache.maven.wagon.OutputData outputData)
           
 java.util.List getFileList(java.lang.String destinationDirectory)
           
 void openConnection()
           
 void put(java.io.File source, java.lang.String resourceName)
           
 boolean resourceExists(java.lang.String resourceName)
           
 
Methods inherited from class org.apache.maven.wagon.StreamWagon
get, getIfNewer
 
Methods inherited from class org.apache.maven.wagon.AbstractWagon
addSessionListener, addTransferListener, connect, connect, connect, connect, createParentDirectories, createZip, disconnect, fireGetCompleted, fireGetInitiated, fireGetStarted, firePutCompleted, firePutInitiated, firePutStarted, fireSessionConnectionRefused, fireSessionDebug, fireSessionDisconnected, fireSessionDisconnecting, fireSessionError, fireSessionLoggedIn, fireSessionLoggedOff, fireSessionOpened, fireSessionOpening, fireTransferDebug, fireTransferError, fireTransferProgress, getAuthenticationInfo, getPath, getProxyInfo, getRepository, getSessionEventSupport, getTransfer, getTransfer, getTransferEventSupport, hasSessionListener, hasTransferListener, isInteractive, postProcessListeners, putDirectory, putTransfer, removeSessionListener, removeTransferListener, setInteractive, setSessionEventSupport, setTransferEventSupport, supportsDirectoryCopy, transfer, transfer, transfer
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LightweightHttpWagon

public LightweightHttpWagon()
Method Detail

fillInputData

public void fillInputData(org.apache.maven.wagon.InputData inputData)
                   throws org.apache.maven.wagon.TransferFailedException,
                          org.apache.maven.wagon.ResourceDoesNotExistException
Throws:
org.apache.maven.wagon.TransferFailedException
org.apache.maven.wagon.ResourceDoesNotExistException

fillOutputData

public void fillOutputData(org.apache.maven.wagon.OutputData outputData)
                    throws org.apache.maven.wagon.TransferFailedException
Throws:
org.apache.maven.wagon.TransferFailedException

put

public void put(java.io.File source,
                java.lang.String resourceName)
         throws org.apache.maven.wagon.TransferFailedException,
                org.apache.maven.wagon.ResourceDoesNotExistException,
                org.apache.maven.wagon.authorization.AuthorizationException
Throws:
org.apache.maven.wagon.TransferFailedException
org.apache.maven.wagon.ResourceDoesNotExistException
org.apache.maven.wagon.authorization.AuthorizationException

openConnection

public void openConnection()
                    throws org.apache.maven.wagon.ConnectionException,
                           org.apache.maven.wagon.authentication.AuthenticationException
Throws:
org.apache.maven.wagon.ConnectionException
org.apache.maven.wagon.authentication.AuthenticationException

closeConnection

public void closeConnection()
                     throws org.apache.maven.wagon.ConnectionException
Throws:
org.apache.maven.wagon.ConnectionException

getFileList

public java.util.List getFileList(java.lang.String destinationDirectory)
                           throws org.apache.maven.wagon.TransferFailedException,
                                  org.apache.maven.wagon.ResourceDoesNotExistException,
                                  org.apache.maven.wagon.authorization.AuthorizationException
Throws:
org.apache.maven.wagon.TransferFailedException
org.apache.maven.wagon.ResourceDoesNotExistException
org.apache.maven.wagon.authorization.AuthorizationException

resourceExists

public boolean resourceExists(java.lang.String resourceName)
                       throws org.apache.maven.wagon.TransferFailedException,
                              org.apache.maven.wagon.authorization.AuthorizationException
Throws:
org.apache.maven.wagon.TransferFailedException
org.apache.maven.wagon.authorization.AuthorizationException


Copyright © 2003-2007 Apache Software Foundation. All Rights Reserved.