public interface UploadResponder
UploadResponder responds to HTTP POST upload request for any type that extends ManagedArtifact.
The response Content-Type is decided by the implementations. The response URLs are REST styled formed after the user
Id folder and artifact name. Application folder is inserted if available.| Modifier and Type | Interface and Description |
|---|---|
static class |
UploadResponder.AbstractUploadResponder
AbstractUploadResponder is abstract super class for concrete implementations that work on types of
ManagedArtifact. |
static class |
UploadResponder.AcceptHeaderEnum
Enum holding the MIME types for HTTP Accept header and the corresponding class that implements the logic for
serving the respective content.
|
static class |
UploadResponder.JsonUploadResponder
JsonUploadResponder for UploadResponder.AbstractUploadResponder which sends out application/json responses
to HttpServletResponse |
static class |
UploadResponder.TextPlainUploadResponder
TextPlainUploadResponder for UploadResponder.AbstractUploadResponder which sends out text/plain responses to
HttpServletResponse |
| Modifier and Type | Method and Description |
|---|---|
void |
respond()
Responds into
HttpServletResponse. |
Copyright © 2016 PayPal Open Source. All rights reserved.