com.atlassian.jira.rest.api.util
Class AttachmentHelper

java.lang.Object
  extended by com.atlassian.jira.rest.api.util.AttachmentHelper

public class AttachmentHelper
extends Object

Since:
v5.0

Nested Class Summary
static class AttachmentHelper.ValidationError
           
static class AttachmentHelper.ValidationResult
           
 
Constructor Summary
AttachmentHelper(XsrfInvocationChecker xsrfChecker, JiraAuthenticationContext jiraAuthenticationContext)
           
 
Method Summary
 AttachmentHelper.ValidationResult validate(javax.servlet.http.HttpServletRequest request, String filename, Long size)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AttachmentHelper

public AttachmentHelper(XsrfInvocationChecker xsrfChecker,
                        JiraAuthenticationContext jiraAuthenticationContext)
Method Detail

validate

public AttachmentHelper.ValidationResult validate(javax.servlet.http.HttpServletRequest request,
                                                  String filename,
                                                  @Nullable
                                                  Long size)


Copyright © 2002-2011 Atlassian. All Rights Reserved.