本文整理了Java中org.commonjava.maven.galley.model.Transfer.getSiblingMeta()
方法的一些代码示例,展示了Transfer.getSiblingMeta()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Transfer.getSiblingMeta()
方法的具体详情如下:
包路径:org.commonjava.maven.galley.model.Transfer
类名称:Transfer
方法名:getSiblingMeta
暂无
代码示例来源:origin: org.commonjava.maven.galley/galley-core
private Transfer getChecksumFile( final Transfer transfer )
{
return transfer.getSiblingMeta( checksumExtension );
}
代码示例来源:origin: org.commonjava.indy/indy-core
@Override
public HttpExchangeMetadata getHttpMetadata( final Transfer txfr )
throws IndyWorkflowException
{
final Transfer meta = txfr.getSiblingMeta( HttpExchangeMetadata.FILE_EXTENSION );
return readExchangeMetadata( meta );
}
代码示例来源:origin: org.commonjava.aprox/aprox-core
@Override
public HttpExchangeMetadata getHttpMetadata( final Transfer txfr )
throws AproxWorkflowException
{
final Transfer meta = txfr.getSiblingMeta( HttpExchangeMetadata.FILE_EXTENSION );
return readExchangeMetadata( meta );
}
代码示例来源:origin: org.commonjava.aprox/aprox-promote-common
@Override
public Transfer getSiblingMeta( String extension )
{
return readOnlyWrapper( delegate.getSiblingMeta( extension ) );
}
代码示例来源:origin: org.commonjava.aprox/aprox-core
@Override
public void handleContentStorage( final ArtifactStore store, final String path, final Transfer result,
final EventMetadata eventMetadata )
throws AproxWorkflowException
{
final Transfer meta = result.getSiblingMeta( HttpExchangeMetadata.FILE_EXTENSION );
if ( meta.exists() )
{
try
{
meta.delete( false );
}
catch ( final IOException e )
{
logger.debug( "Failed to delete HTTP exchange metadata: " + meta, e );
}
}
}
代码示例来源:origin: org.commonjava.maven.galley/galley-transport-httpclient
Transfer metaTxfr = target.getSiblingMeta( HttpExchangeMetadata.FILE_EXTENSION );
if ( metaTxfr == null )
代码示例来源:origin: org.commonjava.maven.galley/galley-transport-httpclient
private void writeMetadata( final Transfer target, final ObjectMapper mapper, final Map<String, List<String>> requestHeaders )
Transfer metaTxfr = target.getSiblingMeta( HttpExchangeMetadata.FILE_EXTENSION );
if ( metaTxfr == null )
代码示例来源:origin: org.commonjava.indy/indy-core
@Override
public HttpExchangeMetadata getHttpMetadata( final StoreKey key, final String path )
throws IndyWorkflowException
{
Transfer transfer = getTransfer( key, path, TransferOperation.DOWNLOAD );
if ( transfer != null && transfer.exists() )
{
Transfer meta = transfer.getSiblingMeta( HttpExchangeMetadata.FILE_EXTENSION );
if ( meta != null && meta.exists() )
{
return readExchangeMetadata( meta );
}
}
return null;
}
代码示例来源:origin: org.commonjava.indy/indy-core
Transfer httpMeta = item.getSiblingMeta( HTTP_METADATA_EXT );
try
内容来源于网络,如有侵权,请联系作者删除!