Class CertificateCredentialsImpl.UploadedKeyStoreSource.Upload
- java.lang.Object
-
- com.cloudbees.plugins.credentials.impl.CertificateCredentialsImpl.UploadedKeyStoreSource.Upload
-
- Enclosing class:
- CertificateCredentialsImpl.UploadedKeyStoreSource
@Deprecated public static class CertificateCredentialsImpl.UploadedKeyStoreSource.Upload extends Object
Deprecated.since 2.4. This is no longer required/supported due to the inlining of the file input. Deprecated for removal soon.Stapler binding object to handle a pop-up window for file upload.
-
-
Constructor Summary
Constructors Constructor Description Upload(String divId, SecretBytes uploadedKeystore)
Deprecated.Our constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description org.kohsuke.stapler.HttpResponse
doUpload(org.kohsuke.stapler.StaplerRequest req)
Deprecated.Performs the actual upload.String
getDivId()
Deprecated.Gets the id of the <input> element on thewindow.opener
of the pop-up to inject the uploaded content into.SecretBytes
getUploadedKeystore()
Deprecated.Returns the content.
-
-
-
Constructor Detail
-
Upload
public Upload(@NonNull String divId, @CheckForNull SecretBytes uploadedKeystore)
Deprecated.Our constructor.- Parameters:
divId
- id of the <input> element on thewindow.opener
of the pop-up to inject the uploaded content into.uploadedKeystore
- the content.
-
-
Method Detail
-
getDivId
@NonNull public String getDivId()
Deprecated.Gets the id of the <input> element on thewindow.opener
of the pop-up to inject the uploaded content into.- Returns:
- the id of the <input> element on the
window.opener
of the pop-up to inject the uploaded content into.
-
getUploadedKeystore
@CheckForNull public SecretBytes getUploadedKeystore()
Deprecated.Returns the content.- Returns:
- the content.
-
doUpload
@NonNull public org.kohsuke.stapler.HttpResponse doUpload(@NonNull org.kohsuke.stapler.StaplerRequest req)
Deprecated.Performs the actual upload.- Parameters:
req
- the request.- Returns:
- the response.
-
-