c

gitbucket.core.controller

FileUploadController

class FileUploadController extends HttpServlet with ScalatraServlet with FileUploadSupport with RepositoryService with AccountService

Provides Ajax based file upload functionality.

This servlet saves uploaded file.

Linear Supertypes
AccountService, RepositoryService, FileUploadSupport, HasMultipartConfig, ScalatraServlet, ServletBase, ScalatraBase, DefaultImplicitConversions, LowPriorityImplicitConversions, LowestPriorityImplicitConversions, TypeConverterSupport, ScalatraParamsImplicits, Initializable, DynamicScope, RequestResponseScope, CoreDsl, Control, Handler, ScalatraContext, CookieContext, SessionSupport, ServletApiImplicits, HttpServlet, GenericServlet, Serializable, ServletConfig, Servlet, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. FileUploadController
  2. AccountService
  3. RepositoryService
  4. FileUploadSupport
  5. HasMultipartConfig
  6. ScalatraServlet
  7. ServletBase
  8. ScalatraBase
  9. DefaultImplicitConversions
  10. LowPriorityImplicitConversions
  11. LowestPriorityImplicitConversions
  12. TypeConverterSupport
  13. ScalatraParamsImplicits
  14. Initializable
  15. DynamicScope
  16. RequestResponseScope
  17. CoreDsl
  18. Control
  19. Handler
  20. ScalatraContext
  21. CookieContext
  22. SessionSupport
  23. ServletApiImplicits
  24. HttpServlet
  25. GenericServlet
  26. Serializable
  27. ServletConfig
  28. Servlet
  29. AnyRef
  30. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new FileUploadController()

Type Members

  1. trait Config extends AnyRef
    Definition Classes
    Initializable
  2. type ConfigT = ServletConfig
    Definition Classes
    ScalatraServlet → ServletBase → Initializable
  3. sealed class TypedMultiParams extends AnyRef
    Definition Classes
    ScalatraParamsImplicits
  4. sealed class TypedParams extends AnyRef
    Definition Classes
    ScalatraParamsImplicits

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. def addCollaborator(userName: String, repositoryName: String, collaboratorName: String, role: String)(implicit s: (blockingApi)#Session): Unit

    Add collaborator (user or group) to the repository.

    Add collaborator (user or group) to the repository.

    Definition Classes
    RepositoryService
  5. def addRoute(method: HttpMethod, transformers: Seq[RouteTransformer], action: ⇒ Any): Route
    Attributes
    protected
    Definition Classes
    ScalatraBase
  6. def addSessionId(uri: String)(implicit response: HttpServletResponse): String
    Attributes
    protected
    Definition Classes
    ScalatraBase
  7. def addStatusRoute(codes: Range, action: ⇒ Any): Unit
    Attributes
    protected[org.scalatra]
    Definition Classes
    ScalatraBase
  8. def after(transformers: RouteTransformer*)(fun: ⇒ Any): Unit
    Definition Classes
    ScalatraBase → CoreDsl
  9. implicit val anyToBoolean: TypeConverter[Any, Boolean]
    Definition Classes
    LowPriorityImplicitConversions
  10. implicit val anyToByte: TypeConverter[Any, Byte]
    Definition Classes
    LowPriorityImplicitConversions
  11. implicit val anyToDouble: TypeConverter[Any, Double]
    Definition Classes
    LowPriorityImplicitConversions
  12. implicit val anyToFloat: TypeConverter[Any, Float]
    Definition Classes
    LowPriorityImplicitConversions
  13. implicit val anyToInt: TypeConverter[Any, Int]
    Definition Classes
    LowPriorityImplicitConversions
  14. implicit val anyToLong: TypeConverter[Any, Long]
    Definition Classes
    LowPriorityImplicitConversions
  15. implicit val anyToShort: TypeConverter[Any, Short]
    Definition Classes
    LowPriorityImplicitConversions
  16. implicit val anyToString: TypeConverter[Any, String]
    Definition Classes
    LowPriorityImplicitConversions
  17. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  18. def authenticate(settings: SystemSettings, userName: String, password: String)(implicit s: (blockingApi)#Session): Option[Account]
    Definition Classes
    AccountService
  19. def before(transformers: RouteTransformer*)(fun: ⇒ Any): Unit
    Definition Classes
    ScalatraBase → CoreDsl
  20. implicit def booleanBlock2RouteMatcher(block: ⇒ Boolean): RouteMatcher
    Attributes
    protected
    Definition Classes
    ScalatraBase
  21. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  22. val config: ConfigT
    Definition Classes
    ScalatraBase
  23. implicit def configWrapper(config: ConfigT): Config { object initParameters }
    Attributes
    protected
    Definition Classes
    ServletBase → Initializable
  24. def configureMultipartHandling(config: MultipartConfig): Unit
    Definition Classes
    HasMultipartConfig
  25. def contentType: String
    Definition Classes
    ScalatraContext
  26. def contentTypeInferrer: ContentTypeInferrer
    Attributes
    protected
    Definition Classes
    ScalatraBase
  27. def contentType_=(contentType: String): Unit
    Definition Classes
    ScalatraContext
  28. def contextPath: String
    Attributes
    protected
    Definition Classes
    ScalatraBase
  29. implicit def cookieOptions: CookieOptions
    Definition Classes
    CookieContext
  30. def cookies(implicit request: HttpServletRequest): SweetCookies
    Definition Classes
    CookieContext
  31. def createAccount(userName: String, password: String, fullName: String, mailAddress: String, isAdmin: Boolean, description: Option[String], url: Option[String])(implicit s: (blockingApi)#Session): Unit
    Definition Classes
    AccountService
  32. def createGroup(groupName: String, description: Option[String], url: Option[String])(implicit s: (blockingApi)#Session): Unit
    Definition Classes
    AccountService
  33. val defaultCharacterEncoding: String
    Attributes
    protected
    Definition Classes
    ScalatraBase
  34. implicit def defaultStringToSeq[T](implicit elementConverter: TypeConverter[String, T], mf: Manifest[T]): TypeConverter[String, Seq[T]]
    Definition Classes
    DefaultImplicitConversions
  35. def delete(transformers: RouteTransformer*)(action: ⇒ Any): Route
    Definition Classes
    ScalatraBase → CoreDsl
  36. def deleteRepository(userName: String, repositoryName: String)(implicit s: (blockingApi)#Session): Unit
    Definition Classes
    RepositoryService
  37. def destroy(): Unit
    Definition Classes
    ScalatraServlet → GenericServlet → Servlet
  38. def doDelete(arg0: HttpServletRequest, arg1: HttpServletResponse): Unit
    Attributes
    protected[javax.servlet.http]
    Definition Classes
    HttpServlet
    Annotations
    @throws( classOf[java.io.IOException] ) @throws( ... )
  39. def doGet(arg0: HttpServletRequest, arg1: HttpServletResponse): Unit
    Attributes
    protected[javax.servlet.http]
    Definition Classes
    HttpServlet
    Annotations
    @throws( classOf[java.io.IOException] ) @throws( ... )
  40. def doHead(arg0: HttpServletRequest, arg1: HttpServletResponse): Unit
    Attributes
    protected[javax.servlet.http]
    Definition Classes
    HttpServlet
    Annotations
    @throws( classOf[java.io.IOException] ) @throws( ... )
  41. val doMethodNotAllowed: (Set[HttpMethod]) ⇒ Any
    Attributes
    protected
    Definition Classes
    ScalatraBase
  42. val doNotFound: Action
    Attributes
    protected
    Definition Classes
    ScalatraServlet → ScalatraBase
  43. def doOptions(arg0: HttpServletRequest, arg1: HttpServletResponse): Unit
    Attributes
    protected[javax.servlet.http]
    Definition Classes
    HttpServlet
    Annotations
    @throws( classOf[java.io.IOException] ) @throws( ... )
  44. def doPost(arg0: HttpServletRequest, arg1: HttpServletResponse): Unit
    Attributes
    protected[javax.servlet.http]
    Definition Classes
    HttpServlet
    Annotations
    @throws( classOf[java.io.IOException] ) @throws( ... )
  45. def doPut(arg0: HttpServletRequest, arg1: HttpServletResponse): Unit
    Attributes
    protected[javax.servlet.http]
    Definition Classes
    HttpServlet
    Annotations
    @throws( classOf[java.io.IOException] ) @throws( ... )
  46. def doTrace(arg0: HttpServletRequest, arg1: HttpServletResponse): Unit
    Attributes
    protected[javax.servlet.http]
    Definition Classes
    HttpServlet
    Annotations
    @throws( classOf[java.io.IOException] ) @throws( ... )
  47. implicit def enrichRequest(request: HttpServletRequest): RichRequest
    Definition Classes
    ServletApiImplicits
  48. implicit def enrichResponse(response: HttpServletResponse): RichResponse
    Definition Classes
    ServletApiImplicits
  49. implicit def enrichServletContext(servletContext: ServletContext): RichServletContext
    Definition Classes
    ServletApiImplicits
  50. implicit def enrichSession(session: HttpSession): RichSession
    Definition Classes
    ServletApiImplicits
  51. def environment: String
    Definition Classes
    ScalatraBase
  52. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  53. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  54. def error(handler: ErrorHandler): Unit
    Definition Classes
    ScalatraBase → CoreDsl
  55. val errorHandler: ErrorHandler
    Attributes
    protected
    Definition Classes
    ScalatraBase
  56. def executeRoutes(): Unit
    Attributes
    protected
    Definition Classes
    ScalatraBase
  57. def extractStatusCode(e: HaltException): Int
    Attributes
    protected
    Definition Classes
    ScalatraBase
  58. def fileMultiParams(key: String)(implicit request: HttpServletRequest): Seq[FileItem]
    Definition Classes
    FileUploadSupport
  59. def fileMultiParams(implicit request: HttpServletRequest): FileMultiParams
    Definition Classes
    FileUploadSupport
  60. def fileParams(key: String)(implicit request: HttpServletRequest): FileItem
    Definition Classes
    FileUploadSupport
  61. def fileParams(implicit request: HttpServletRequest): MultiMapHeadView[String, FileItem]
    Definition Classes
    FileUploadSupport
  62. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  63. def format_=(formatValue: String): Unit
    Definition Classes
    ScalatraContext
  64. def format_=(formatValue: Symbol): Unit
    Definition Classes
    ScalatraContext
  65. def fullUrl(path: String, params: Iterable[(String, Any)], includeContextPath: Boolean, includeServletPath: Boolean, withSessionId: Boolean)(implicit request: HttpServletRequest, response: HttpServletResponse): String
    Definition Classes
    ScalatraBase
  66. def get(transformers: RouteTransformer*)(action: ⇒ Any): Route
    Definition Classes
    ScalatraBase → CoreDsl
  67. def getAccountByMailAddress(mailAddress: String, includeRemoved: Boolean = false)(implicit s: (blockingApi)#Session): Option[Account]
    Definition Classes
    AccountService
  68. def getAccountByUserName(userName: String, includeRemoved: Boolean = false)(implicit s: (blockingApi)#Session): Option[Account]
    Definition Classes
    AccountService
  69. def getAccountsByUserNames(userNames: Set[String], knowns: Set[Account], includeRemoved: Boolean = false)(implicit s: (blockingApi)#Session): Map[String, Account]
    Definition Classes
    AccountService
  70. def getAllRepositories(userName: String)(implicit s: (blockingApi)#Session): List[(String, String)]

    Returns the repositories except private repository that user does not have access right.

    Returns the repositories except private repository that user does not have access right. Include public repository, private own repository and private but collaborator repository.

    userName

    the user name of collaborator

    returns

    the repository information list

    Definition Classes
    RepositoryService
  71. def getAllUsers(includeRemoved: Boolean = true)(implicit s: (blockingApi)#Session): List[Account]
    Definition Classes
    AccountService
  72. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
  73. def getCollaboratorUserNames(userName: String, repositoryName: String, filter: Seq[Role] = Nil)(implicit s: (blockingApi)#Session): List[String]

    Returns the list of all collaborator name and permission which is sorted with ascending order.

    Returns the list of all collaborator name and permission which is sorted with ascending order. If a group is added as a collaborator, this method returns users who are belong to that group.

    Definition Classes
    RepositoryService
  74. def getCollaborators(userName: String, repositoryName: String)(implicit s: (blockingApi)#Session): List[(Collaborator, Boolean)]

    Returns the list of collaborators name (user name or group name) which is sorted with ascending order.

    Returns the list of collaborators name (user name or group name) which is sorted with ascending order.

    Definition Classes
    RepositoryService
  75. def getContentTemplate(repository: RepositoryInfo, fileBaseName: String)(implicit s: (blockingApi)#Session): String

    Returns content of template set per repository.

    Returns content of template set per repository.

    repository

    the repository information

    fileBaseName

    the file basename without extension of template

    returns

    The content of template if the repository has it, otherwise empty string.

    Definition Classes
    RepositoryService
  76. def getForkedRepositories(userName: String, repositoryName: String)(implicit s: (blockingApi)#Session): List[(String, String)]
    Definition Classes
    RepositoryService
  77. def getGroupMembers(groupName: String)(implicit s: (blockingApi)#Session): List[GroupMember]
    Definition Classes
    AccountService
  78. def getGroupNames(userName: String)(implicit s: (blockingApi)#Session): List[String]
    Definition Classes
    AccountService
  79. def getGroupsByUserName(userName: String)(implicit s: (blockingApi)#Session): List[String]
    Definition Classes
    AccountService
  80. def getInitParameter(arg0: String): String
    Definition Classes
    GenericServlet → ServletConfig
  81. def getInitParameterNames(): Enumeration[String]
    Definition Classes
    GenericServlet → ServletConfig
  82. def getLastModified(arg0: HttpServletRequest): Long
    Attributes
    protected[javax.servlet.http]
    Definition Classes
    HttpServlet
  83. def getRepository(userName: String, repositoryName: String)(implicit s: (blockingApi)#Session): Option[RepositoryInfo]

    Returns the specified repository information.

    Returns the specified repository information.

    userName

    the user name of the repository owner

    repositoryName

    the repository name

    returns

    the repository information

    Definition Classes
    RepositoryService
  84. def getRepositoryNamesOfUser(userName: String)(implicit s: (blockingApi)#Session): List[String]

    Returns the repository names of the specified user.

    Returns the repository names of the specified user.

    userName

    the user name of repository owner

    returns

    the list of repository names

    Definition Classes
    RepositoryService
  85. def getServletConfig(): ServletConfig
    Definition Classes
    GenericServlet → Servlet
  86. def getServletContext(): ServletContext
    Definition Classes
    GenericServlet → ServletConfig
  87. def getServletInfo(): String
    Definition Classes
    GenericServlet → Servlet
  88. def getServletName(): String
    Definition Classes
    GenericServlet → ServletConfig
  89. def getUserRepositories(userName: String, withoutPhysicalInfo: Boolean = false)(implicit s: (blockingApi)#Session): List[RepositoryInfo]
    Definition Classes
    RepositoryService
  90. def getVisibleRepositories(loginAccount: Option[Account], repositoryUserName: Option[String] = None, withoutPhysicalInfo: Boolean = false)(implicit s: (blockingApi)#Session): List[RepositoryInfo]

    Returns the list of visible repositories for the specified user.

    Returns the list of visible repositories for the specified user. If repositoryUserName is given then filters results by repository owner.

    loginAccount

    the logged in account

    repositoryUserName

    the repository owner (if None then returns all repositories which are visible for logged in user)

    withoutPhysicalInfo

    if true then the result does not include physical repository information such as commit count, branches and tags

    returns

    the repository information which is sorted in descending order of lastActivityDate.

    Definition Classes
    RepositoryService
  91. def halt(result: ActionResult): Nothing
    Definition Classes
    Control
  92. def halt[T](status: Integer, body: T, headers: Map[String, String], reason: String)(implicit arg0: Manifest[T]): Nothing
    Definition Classes
    Control
  93. def handle(req: HttpServletRequest, res: HttpServletResponse): Unit
    Definition Classes
    FileUploadSupport → ServletBase → ScalatraBase → Handler
  94. def hasDeveloperRole(owner: String, repository: String, loginAccount: Option[Account])(implicit s: (blockingApi)#Session): Boolean
    Definition Classes
    RepositoryService
  95. def hasGuestRole(owner: String, repository: String, loginAccount: Option[Account])(implicit s: (blockingApi)#Session): Boolean
    Definition Classes
    RepositoryService
  96. def hashCode(): Int
    Definition Classes
    AnyRef → Any
  97. def head(transformers: RouteTransformer*)(action: ⇒ Any): Route
    Definition Classes
    ScalatraBase → CoreDsl
  98. def init(config: ServletConfig): Unit
    Definition Classes
    ScalatraServlet → GenericServlet → Servlet
  99. def init(): Unit
    Definition Classes
    GenericServlet
    Annotations
    @throws( ... )
  100. def initParameter(name: String): Option[String]
    Definition Classes
    ScalatraBase
  101. def initialize(config: ConfigT): Unit
    Definition Classes
    HasMultipartConfig → Initializable
  102. def insertRepository(repositoryName: String, userName: String, description: Option[String], isPrivate: Boolean, originRepositoryName: Option[String] = None, originUserName: Option[String] = None, parentRepositoryName: Option[String] = None, parentUserName: Option[String] = None)(implicit s: (blockingApi)#Session): Unit

    Creates a new repository.

    Creates a new repository.

    repositoryName

    the repository name

    userName

    the user name of the repository owner

    description

    the repository description

    isPrivate

    the repository type (private is true, otherwise false)

    originRepositoryName

    specify for the forked repository. (default is None)

    originUserName

    specify for the forked repository. (default is None)

    Definition Classes
    RepositoryService
  103. def invoke(matchedRoute: MatchedRoute): Option[Any]
    Attributes
    protected
    Definition Classes
    ScalatraBase
  104. def isAsyncExecutable(result: Any): Boolean
    Attributes
    protected
    Definition Classes
    ScalatraBase
  105. def isDevelopmentMode: Boolean
    Definition Classes
    ScalatraBase
  106. def isHttps(implicit request: HttpServletRequest): Boolean
    Attributes
    protected
    Definition Classes
    ScalatraBase
  107. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  108. def isLastAdministrator(account: Account)(implicit s: (blockingApi)#Session): Boolean
    Definition Classes
    AccountService
  109. def isSizeConstraintException(e: Exception): Boolean
    Attributes
    protected
    Definition Classes
    FileUploadSupport
  110. def log(arg0: String, arg1: Throwable): Unit
    Definition Classes
    GenericServlet
  111. def log(arg0: String): Unit
    Definition Classes
    GenericServlet
  112. implicit def lowestPriorityAny2T[T](implicit arg0: Manifest[T]): TypeConverter[Any, T]
    Definition Classes
    LowestPriorityImplicitConversions
  113. def methodNotAllowed(f: (Set[HttpMethod]) ⇒ Any): Unit
    Definition Classes
    ScalatraBase → CoreDsl
  114. def multiParams(implicit request: HttpServletRequest): MultiParams
    Definition Classes
    ScalatraBase
  115. def multiParams(key: String)(implicit request: HttpServletRequest): Seq[String]
    Definition Classes
    ScalatraBase
  116. def multipartConfig: MultipartConfig
    Definition Classes
    HasMultipartConfig
  117. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  118. def needsHttps: Boolean
    Attributes
    protected
    Definition Classes
    ScalatraBase
  119. def notFound(fun: ⇒ Any): Unit
    Definition Classes
    ScalatraBase → CoreDsl
  120. final def notify(): Unit
    Definition Classes
    AnyRef
  121. final def notifyAll(): Unit
    Definition Classes
    AnyRef
  122. def options(transformers: RouteTransformer*)(action: ⇒ Any): Route
    Definition Classes
    ScalatraBase → CoreDsl
  123. def params(implicit request: HttpServletRequest): Params
    Definition Classes
    ScalatraBase
  124. def params(key: Symbol)(implicit request: HttpServletRequest): String
    Definition Classes
    ScalatraBase
  125. def params(key: String)(implicit request: HttpServletRequest): String
    Definition Classes
    ScalatraBase
  126. def pass(): Nothing
    Definition Classes
    Control
  127. def patch(transformers: RouteTransformer*)(action: ⇒ Any): Route
    Definition Classes
    ScalatraBase → CoreDsl
  128. implicit def pathPatternParser2RouteMatcher(pattern: PathPattern): RouteMatcher
    Attributes
    protected
    Definition Classes
    ScalatraBase
  129. def post(transformers: RouteTransformer*)(action: ⇒ Any): Route
    Definition Classes
    ScalatraBase → CoreDsl
  130. def put(transformers: RouteTransformer*)(action: ⇒ Any): Route
    Definition Classes
    ScalatraBase → CoreDsl
  131. def redirect(uri: String)(implicit request: HttpServletRequest, response: HttpServletResponse): Nothing
    Definition Classes
    ScalatraBase
  132. implicit def regex2RouteMatcher(regex: Regex): RouteMatcher
    Attributes
    protected
    Definition Classes
    ScalatraBase
  133. def relativeUrl(path: String, params: Iterable[(String, Any)], includeContextPath: Boolean, includeServletPath: Boolean)(implicit request: HttpServletRequest, response: HttpServletResponse): String
    Definition Classes
    ScalatraBase
  134. def removeCollaborators(userName: String, repositoryName: String)(implicit s: (blockingApi)#Session): Unit

    Remove all collaborators from the repository.

    Remove all collaborators from the repository.

    Definition Classes
    RepositoryService
  135. def removeRoute(method: String, route: Route): Unit
    Attributes
    protected
    Definition Classes
    ScalatraBase
  136. def removeRoute(method: HttpMethod, route: Route): Unit
    Attributes
    protected
    Definition Classes
    ScalatraBase
  137. def removeUserRelatedData(userName: String)(implicit s: (blockingApi)#Session): Unit
    Definition Classes
    AccountService
  138. def renameRepository(oldUserName: String, oldRepositoryName: String, newUserName: String, newRepositoryName: String)(implicit s: (blockingApi)#Session): Unit
    Definition Classes
    RepositoryService
  139. def renderHaltException(e: HaltException): Unit
    Attributes
    protected
    Definition Classes
    ScalatraBase
  140. def renderPipeline: RenderPipeline
    Attributes
    protected
    Definition Classes
    ScalatraBase
  141. def renderResponse(actionResult: Any): Unit
    Attributes
    protected
    Definition Classes
    ScalatraBase
  142. def renderResponseBody(actionResult: Any): Unit
    Attributes
    protected
    Definition Classes
    ScalatraBase
  143. def renderUncaughtException(e: Throwable)(implicit request: HttpServletRequest, response: HttpServletResponse): Unit
    Attributes
    protected
    Definition Classes
    ScalatraBase
  144. implicit def request: HttpServletRequest
    Definition Classes
    DynamicScope → RequestResponseScope
  145. def requestPath(implicit request: HttpServletRequest): String
    Definition Classes
    ScalatraServlet → ScalatraBase
  146. def resourceNotFound()(implicit request: HttpServletRequest, response: HttpServletResponse): Any
    Attributes
    protected
    Definition Classes
    ScalatraServlet
  147. implicit def response: HttpServletResponse
    Definition Classes
    DynamicScope → RequestResponseScope
  148. def routeBasePath(implicit request: HttpServletRequest): String
    Attributes
    protected
    Definition Classes
    ScalatraServlet → ScalatraBase
  149. lazy val routes: RouteRegistry
    Definition Classes
    ScalatraBase
  150. def runFilters(filters: Traversable[Route]): Unit
    Attributes
    protected
    Definition Classes
    ScalatraBase
  151. def runRoutes(routes: Traversable[Route]): Stream[Any]
    Attributes
    protected
    Definition Classes
    ScalatraBase
  152. implicit def safe[S, T](f: (S) ⇒ T): TypeConverter[S, T]
    Definition Classes
    TypeConverterSupport
  153. implicit def safeOption[S, T](f: (S) ⇒ Option[T]): TypeConverter[S, T]
    Definition Classes
    TypeConverterSupport
  154. def saveRepositoryDefaultBranch(userName: String, repositoryName: String, defaultBranch: String)(implicit s: (blockingApi)#Session): Unit
    Definition Classes
    RepositoryService
  155. def saveRepositoryOptions(userName: String, repositoryName: String, description: Option[String], isPrivate: Boolean, issuesOption: String, externalIssuesUrl: Option[String], wikiOption: String, externalWikiUrl: Option[String], allowFork: Boolean)(implicit s: (blockingApi)#Session): Unit

    Save repository options.

    Save repository options.

    Definition Classes
    RepositoryService
  156. implicit def scalatraContext: ScalatraContext
    Attributes
    protected[this]
    Definition Classes
    ScalatraContext
  157. implicit def seqHead[T](implicit elementConverter: TypeConverter[String, T], mf: Manifest[T]): TypeConverter[Seq[String], T]
    Definition Classes
    DefaultImplicitConversions
  158. implicit def seqToSeq[T](implicit elementConverter: TypeConverter[String, T], mf: Manifest[T]): TypeConverter[Seq[String], Seq[T]]
    Definition Classes
    DefaultImplicitConversions
  159. def serveStaticResource()(implicit request: HttpServletRequest, response: HttpServletResponse): Option[Any]
    Attributes
    protected
    Definition Classes
    ScalatraServlet
  160. def serverHost(implicit request: HttpServletRequest): String
    Definition Classes
    ScalatraBase
  161. def serverPort(implicit request: HttpServletRequest): Int
    Definition Classes
    ScalatraBase
  162. def service(request: HttpServletRequest, response: HttpServletResponse): Unit
    Definition Classes
    ScalatraServlet → HttpServlet
  163. def service(arg0: ServletRequest, arg1: ServletResponse): Unit
    Definition Classes
    HttpServlet → GenericServlet → Servlet
    Annotations
    @throws( classOf[java.io.IOException] ) @throws( ... )
  164. def servletContext: ServletContext
    Definition Classes
    ScalatraBase → ScalatraContext
  165. def session(key: Symbol)(implicit request: HttpServletRequest): Any
    Definition Classes
    SessionSupport
  166. def session(key: String)(implicit request: HttpServletRequest): Any
    Definition Classes
    SessionSupport
  167. implicit def session(implicit request: HttpServletRequest): HttpSession
    Definition Classes
    SessionSupport
  168. def sessionOption(implicit request: HttpServletRequest): Option[HttpSession]
    Definition Classes
    SessionSupport
  169. def setMultiparams[S](matchedRoute: Option[MatchedRoute], originalParams: MultiParams)(implicit request: HttpServletRequest): Unit
    Attributes
    protected
    Definition Classes
    ScalatraBase
  170. def shutdown(): Unit
    Attributes
    protected
    Definition Classes
    Initializable
  171. def status: Int
    Definition Classes
    ScalatraContext
  172. def status_=(code: Int): Unit
    Definition Classes
    ScalatraContext
  173. implicit def string2RouteMatcher(path: String): RouteMatcher
    Attributes
    protected
    Definition Classes
    ScalatraBase
  174. implicit val stringToBoolean: TypeConverter[String, Boolean]
    Definition Classes
    DefaultImplicitConversions
  175. implicit val stringToByte: TypeConverter[String, Byte]
    Definition Classes
    DefaultImplicitConversions
  176. def stringToDate(format: ⇒ String): TypeConverter[String, Date]
    Definition Classes
    DefaultImplicitConversions
  177. def stringToDateFormat(format: ⇒ DateFormat): TypeConverter[String, Date]
    Definition Classes
    DefaultImplicitConversions
  178. implicit val stringToDouble: TypeConverter[String, Double]
    Definition Classes
    DefaultImplicitConversions
  179. implicit val stringToFloat: TypeConverter[String, Float]
    Definition Classes
    DefaultImplicitConversions
  180. implicit val stringToInt: TypeConverter[String, Int]
    Definition Classes
    DefaultImplicitConversions
  181. implicit val stringToLong: TypeConverter[String, Long]
    Definition Classes
    DefaultImplicitConversions
  182. implicit val stringToSelf: TypeConverter[String, String]
    Definition Classes
    DefaultImplicitConversions
  183. def stringToSeq[T](elementConverter: TypeConverter[String, T], separator: String)(implicit arg0: Manifest[T]): TypeConverter[String, Seq[T]]
    Definition Classes
    DefaultImplicitConversions
  184. implicit val stringToShort: TypeConverter[String, Short]
    Definition Classes
    DefaultImplicitConversions
  185. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  186. def toString(): String
    Definition Classes
    AnyRef → Any
  187. implicit def toTypedMultiParams(params: MultiParams): TypedMultiParams
    Definition Classes
    ScalatraParamsImplicits
  188. implicit def toTypedParams(params: Params): TypedParams
    Definition Classes
    ScalatraParamsImplicits
  189. def trap(codes: Range)(block: ⇒ Any): Unit
    Definition Classes
    ScalatraBase → CoreDsl
  190. def trap(code: Int)(block: ⇒ Any): Unit
    Definition Classes
    CoreDsl
  191. def updateAccount(account: Account)(implicit s: (blockingApi)#Session): Unit
    Definition Classes
    AccountService
  192. def updateAvatarImage(userName: String, image: Option[String])(implicit s: (blockingApi)#Session): Unit
    Definition Classes
    AccountService
  193. def updateGroup(groupName: String, description: Option[String], url: Option[String], removed: Boolean)(implicit s: (blockingApi)#Session): Unit
    Definition Classes
    AccountService
  194. def updateGroupMembers(groupName: String, members: List[(String, Boolean)])(implicit s: (blockingApi)#Session): Unit
    Definition Classes
    AccountService
  195. def updateLastActivityDate(userName: String, repositoryName: String)(implicit s: (blockingApi)#Session): Unit

    Updates the last activity date of the repository.

    Updates the last activity date of the repository.

    Definition Classes
    RepositoryService
  196. def updateLastLoginDate(userName: String)(implicit s: (blockingApi)#Session): Unit
    Definition Classes
    AccountService
  197. def url(path: String, params: Iterable[(String, Any)], includeContextPath: Boolean, includeServletPath: Boolean, absolutize: Boolean, withSessionId: Boolean)(implicit request: HttpServletRequest, response: HttpServletResponse): String
    Definition Classes
    ScalatraBase
  198. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  199. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  200. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  201. def withRequest[A](request: HttpServletRequest)(f: ⇒ A): A
    Attributes
    protected
    Definition Classes
    DynamicScope → RequestResponseScope
  202. def withRequestResponse[A](request: HttpServletRequest, response: HttpServletResponse)(f: ⇒ A): A
    Attributes
    protected[org.scalatra]
    Definition Classes
    DynamicScope → RequestResponseScope
  203. def withResponse[A](response: HttpServletResponse)(f: ⇒ A): A
    Attributes
    protected
    Definition Classes
    DynamicScope → RequestResponseScope
  204. def withRouteMultiParams[S](matchedRoute: Option[MatchedRoute])(thunk: ⇒ S)(implicit request: HttpServletRequest): S
    Attributes
    protected[org.scalatra]
    Definition Classes
    ScalatraBase

Deprecated Value Members

  1. def _request: DynamicVariable[HttpServletRequest]
    Attributes
    protected
    Definition Classes
    DynamicScope
    Annotations
    @deprecated
    Deprecated

    (Since version 2.1.0) Do not invoke directly. Use withRequest to change the binding, or request to get the value

  2. def _response: DynamicVariable[HttpServletResponse]
    Attributes
    protected
    Definition Classes
    DynamicScope
    Annotations
    @deprecated
    Deprecated

    (Since version 2.1.0) Do not invoke directly. Use withResponse to change the binding, or response to get the value

  3. def applicationContext: ServletContext
    Definition Classes
    ScalatraBase
    Annotations
    @deprecated
    Deprecated

    (Since version 2.1.0) Use servletContext instead

  4. def status(code: Int): Unit
    Definition Classes
    ScalatraContext
    Annotations
    @deprecated
    Deprecated

    (Since version 2.1.0) Use status_=(Int) instead

Inherited from AccountService

Inherited from RepositoryService

Inherited from FileUploadSupport

Inherited from HasMultipartConfig

Inherited from ScalatraServlet

Inherited from ServletBase

Inherited from ScalatraBase

Inherited from DefaultImplicitConversions

Inherited from LowPriorityImplicitConversions

Inherited from LowestPriorityImplicitConversions

Inherited from TypeConverterSupport

Inherited from ScalatraParamsImplicits

Inherited from Initializable

Inherited from DynamicScope

Inherited from RequestResponseScope

Inherited from CoreDsl

Inherited from Control

Inherited from Handler

Inherited from ScalatraContext

Inherited from CookieContext

Inherited from SessionSupport

Inherited from ServletApiImplicits

Inherited from HttpServlet

Inherited from GenericServlet

Inherited from Serializable

Inherited from ServletConfig

Inherited from Servlet

Inherited from AnyRef

Inherited from Any

Ungrouped