Class LightweightHttpsWagon
- java.lang.Object
-
- org.apache.maven.wagon.AbstractWagon
-
- org.apache.maven.wagon.StreamWagon
-
- org.apache.maven.wagon.providers.http.LightweightHttpWagon
-
- org.apache.maven.wagon.providers.http.LightweightHttpsWagon
-
- All Implemented Interfaces:
StreamingWagon,Wagon
public class LightweightHttpsWagon extends LightweightHttpWagon
LightweightHttpsWagon, using JDK's HttpURLConnection.
-
-
Field Summary
Fields Modifier and Type Field Description private java.lang.StringpreviousHttpsProxyExclusionsprivate java.lang.StringpreviousHttpsProxyHostprivate java.lang.StringpreviousHttpsProxyPort-
Fields inherited from class org.apache.maven.wagon.providers.http.LightweightHttpWagon
MAX_REDIRECTS
-
Fields inherited from class org.apache.maven.wagon.AbstractWagon
authenticationInfo, BUFFER_SEGMENT_SIZE, DEFAULT_BUFFER_SIZE, interactive, MAXIMUM_BUFFER_SIZE, MINIMUM_AMOUNT_OF_TRANSFER_CHUNKS, proxyInfo, repository, sessionEventSupport, transferEventSupport
-
Fields inherited from interface org.apache.maven.wagon.Wagon
DEFAULT_CONNECTION_TIMEOUT, DEFAULT_READ_TIMEOUT, ROLE
-
-
Constructor Summary
Constructors Constructor Description LightweightHttpsWagon()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidcloseConnection()voidopenConnection()Initiate the connection to the repository.-
Methods inherited from class org.apache.maven.wagon.providers.http.LightweightHttpWagon
fillInputData, fillOutputData, finishPutTransfer, getAuthenticator, getFileList, getHttpHeaders, getSocketAddress, isUseCache, openConnectionInternal, requestProxyAuthentication, requestServerAuthentication, resourceExists, setAuthenticator, setHttpHeaders, setPreemptiveAuthentication, setSystemProperty, setUseCache
-
Methods inherited from class org.apache.maven.wagon.StreamWagon
checkInputStream, checkOutputStream, get, getIfNewer, getIfNewerToStream, getInputStream, getOutputStream, getToStream, put, putFromStream, 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, getBufferCapacityForTransfer, getPath, getPermissionsOverride, getProxyInfo, getProxyInfo, getReadTimeout, getRepository, getSessionEventSupport, getTimeout, getTransfer, getTransfer, getTransfer, getTransfer, getTransfer, getTransfer, getTransferEventSupport, hasSessionListener, hasTransferListener, isInteractive, postProcessListeners, putDirectory, putTransfer, putTransfer, removeSessionListener, removeTransferListener, setInteractive, setPermissionsOverride, setReadTimeout, setSessionEventSupport, setTimeout, setTransferEventSupport, supportsDirectoryCopy, transfer, 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, getReadTimeout, getRepository, getTimeout, hasSessionListener, hasTransferListener, isInteractive, putDirectory, removeSessionListener, removeTransferListener, setInteractive, setReadTimeout, setTimeout, supportsDirectoryCopy
-
-
-
-
Method Detail
-
openConnection
public void openConnection() throws ConnectionException, AuthenticationExceptionDescription copied from interface:WagonInitiate the connection to the repository.- Specified by:
openConnectionin interfaceWagon- Overrides:
openConnectionin classAbstractWagon- Throws:
ConnectionException- if there is a problem connectingAuthenticationException- if ther credentials for connecting are not sufficient
-
closeConnection
public void closeConnection() throws ConnectionException- Overrides:
closeConnectionin classLightweightHttpWagon- Throws:
ConnectionException
-
-