apidocs / com.srv4pos.server.api.infrastructure

Package com.srv4pos.server.api.infrastructure

Types

ApplicationNameAndVersionValidator

open class ApplicationNameAndVersionValidator : ConstraintValidator<ApplicationNameAndVersionConstraint!, String!>

Base64Validator

open class Base64Validator : ConstraintValidator<Base64!, String!>

ConnectionWriter

interface ConnectionWriter

Interface which writes data to HttpUrlConnection.

Constraints

class Constraints

Constraints for entities.

DiagnosticsUtil

class DiagnosticsUtil

Utility calls for compatibility for future versions of java and 3rd party libraries. for com.srv4pos.server.api.Diagnostics

EmptyConnectionWriter

open class EmptyConnectionWriter : StringConnectionWriter

Body is empty content.

HttpMethod

enum class HttpMethod

User: Kirill, Date: 28.07.13 10:53.

IdentifierInfo

class IdentifierInfo : Info

Methods called "new" will return the identifier of newly created entity by using this class.

IdInfo

class IdInfo : Info

Methods called "create" will return the id of type long.

Info

interface Info

User: Kirill, Date: 09.08.13 15:18.

Logger

interface Logger

Interface for com.srv4pos.server.api.Diagnostics to run over different engines.

NotNegativeValueInMapValidator

open class NotNegativeValueInMapValidator : ConstraintValidator<NotNegativeValueInMap!, MutableMap<Int!, Long!>!>

PrintStreamLogger

open class PrintStreamLogger : Logger

User: Kirill, Date: 09.09.13 16:55

SignService

class SignService

Spring-friendly class for signatures. Use


  # generate private key
  openssl genrsa -out mykey.pem 1024
  # generate public key
  openssl rsa -in mykey.pem -pubout > mykey.pub
  # create der files for keys
  openssl rsa -in mykey.pub -inform PEM -pubin -outform DER -out development.pub.der
  openssl pkcs8 -nocrypt -in mykey.pem -inform PEM -topk8 -outform DER -out mykey.pem.der
  
to generate certificates

StringConnectionWriter

open class StringConnectionWriter : ConnectionWriter

Implementation of ConnectionWriter which write data from String.

SyncEntityInfo

interface SyncEntityInfo : Info

User: Pavel Abizyaev, Date: 04.02.15 21:49.

Annotations

ApplicationNameAndVersionConstraint

class ApplicationNameAndVersionConstraint

Base64

class Base64

NotNegativeValueInMap

class NotNegativeValueInMap