mirror of
https://github.com/corda/corda.git
synced 2025-06-17 14:48:16 +00:00
Minor: auto-format of module: webserver
This commit is contained in:
@ -7,7 +7,7 @@ import javax.ws.rs.ext.Provider
|
|||||||
|
|
||||||
// Provides basic exception logging to all APIs
|
// Provides basic exception logging to all APIs
|
||||||
@Provider
|
@Provider
|
||||||
class AllExceptionMapper: ExceptionMapper<Exception> {
|
class AllExceptionMapper : ExceptionMapper<Exception> {
|
||||||
companion object {
|
companion object {
|
||||||
val logger = loggerFor<APIServerImpl>()
|
val logger = loggerFor<APIServerImpl>()
|
||||||
}
|
}
|
||||||
|
@ -11,7 +11,7 @@ import javax.servlet.http.HttpServletResponse
|
|||||||
/**
|
/**
|
||||||
* Uploads to the node via the [CordaRPCOps] uploadFile interface.
|
* Uploads to the node via the [CordaRPCOps] uploadFile interface.
|
||||||
*/
|
*/
|
||||||
class DataUploadServlet: HttpServlet() {
|
class DataUploadServlet : HttpServlet() {
|
||||||
private val log = loggerFor<DataUploadServlet>()
|
private val log = loggerFor<DataUploadServlet>()
|
||||||
|
|
||||||
override fun doPost(req: HttpServletRequest, resp: HttpServletResponse) {
|
override fun doPost(req: HttpServletRequest, resp: HttpServletResponse) {
|
||||||
|
Reference in New Issue
Block a user