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

java.lang.Object
  extended by org.apache.maven.wagon.AbstractWagon
      extended by org.apache.maven.wagon.StreamWagon
          extended by org.apache.maven.wagon.providers.http.LightweightHttpWagon
              extended by org.apache.maven.wagon.providers.http.LightweightHttpsWagon
All Implemented Interfaces:
StreamingWagon, Wagon

public class LightweightHttpsWagon
extends LightweightHttpWagon

LightweightHttpsWagon, using JDK's HttpURLConnection.

Version:
$Id: LightweightHttpsWagon.java 1173334 2011-09-20 20:17:48Z hboutemy $
Author:
Joakim Erdfelt
Plexus component:
role-hint:
"https"
instantiation-strategy:
"per-lookup"
role:
"org.apache.maven.wagon.Wagon"

Field Summary
 
Fields inherited from class org.apache.maven.wagon.providers.http.LightweightHttpWagon
MAX_REDIRECTS
 
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
LightweightHttpsWagon()
           
 
Method Summary
 void closeConnection()
           
 void openConnection()
          Initiate the connection to the repository.
 
Methods inherited from class org.apache.maven.wagon.providers.http.LightweightHttpWagon
fillInputData, fillOutputData, finishPutTransfer, getFileList, getHttpHeaders, getSocketAddress, isUseCache, openConnectionInternal, requestProxyAuthentication, requestServerAuthentication, resourceExists, setHttpHeaders, setPreemptiveAuthentication, setUseCache
 
Methods inherited from class org.apache.maven.wagon.StreamWagon
checkInputStream, checkOutputStream, get, getIfNewer, getIfNewerToStream, getInputStream, getOutputStream, getToStream, put, putFromStream, putFromStream
 
Methods inherited from class org.apache.maven.wagon.AbstractWagon
addSessionListener, addTransferListener, cleanupGetTransfer, cleanupPutTransfer, connect, connect, connect, connect, connect, connect, createParentDirectories, disconnect, finishGetTransfer, fireGetCompleted, fireGetInitiated, fireGetStarted, firePutCompleted, firePutInitiated, firePutStarted, fireSessionConnectionRefused, fireSessionDebug, fireSessionDisconnected, fireSessionDisconnecting, fireSessionError, fireSessionLoggedIn, fireSessionLoggedOff, fireSessionOpened, fireSessionOpening, fireTransferDebug, fireTransferError, fireTransferProgress, getAuthenticationInfo, getPath, getPermissionsOverride, getProxyInfo, getProxyInfo, getRepository, getSessionEventSupport, getTimeout, getTransfer, getTransfer, getTransfer, getTransfer, getTransferEventSupport, hasSessionListener, hasTransferListener, isInteractive, postProcessListeners, putDirectory, putTransfer, putTransfer, removeSessionListener, removeTransferListener, setInteractive, setPermissionsOverride, setSessionEventSupport, setTimeout, setTransferEventSupport, supportsDirectoryCopy, transfer, transfer, transfer
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.apache.maven.wagon.Wagon
addSessionListener, addTransferListener, connect, connect, connect, connect, connect, connect, disconnect, getRepository, getTimeout, hasSessionListener, hasTransferListener, isInteractive, putDirectory, removeSessionListener, removeTransferListener, setInteractive, setTimeout, supportsDirectoryCopy
 

Constructor Detail

LightweightHttpsWagon

public LightweightHttpsWagon()
Method Detail

openConnection

public void openConnection()
                    throws ConnectionException,
                           AuthenticationException
Description copied from interface: Wagon
Initiate the connection to the repository.

Specified by:
openConnection in interface Wagon
Overrides:
openConnection in class AbstractWagon
Throws:
ConnectionException - if there is a problem connecting
AuthenticationException - if ther credentials for connecting are not sufficient

closeConnection

public void closeConnection()
                     throws ConnectionException
Overrides:
closeConnection in class LightweightHttpWagon
Throws:
ConnectionException


Copyright © 2003-2011 The Apache Software Foundation. All Rights Reserved.