Class ServiceHelpers
java.lang.Object
edu.suffolk.litlab.efsp.server.utils.ServiceHelpers
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic jakarta.ws.rs.core.Response.ResponseBuildergetCourts(CodeDatabase cd, boolean fileableOnly, boolean withNames) Helper for getting all of the valid courts that can be passed to a particular endpoint,static Optional<TylerFirmClient> setupFirmPort(TylerFirmFactory firmFactory, jakarta.ws.rs.core.HttpHeaders httpHeaders, Supplier<LoginDatabase> ldSupplier, boolean needsSoapHeader, Jurisdiction jurisdiction) static Optional<TylerFirmClient> setupFirmPort(TylerFirmFactory firmFactory, jakarta.ws.rs.core.HttpHeaders httpHeaders, Supplier<LoginDatabase> ldSupplier, Jurisdiction jurisdiction) static Optional<TylerFirmClient> setupFirmPort(TylerFirmFactory firmFactory, String tylerToken) static voidsetupServicePort(jakarta.xml.ws.BindingProvider bp) Sets up a connection to Tyler's SOAP API WITHOUT any Auth headers, but does handle the X.509 certificate and signing parameters.static voidsetupServicePort(jakarta.xml.ws.BindingProvider bp, TylerUserNamePassword creds) static voidsetupServicePort(jakarta.xml.ws.BindingProvider bp, List<org.apache.cxf.headers.Header> headerList)
-
Field Details
-
MDE_PROFILE_CODE
One of the ways that you can communicate over ECF. For more information, see https://docs.oasis-open.org/legalxml-courtfiling/specs/ecf/v4.01/ecf-v4.01-spec/errata02/os/ecf-v4.01-spec-errata02-os-complete.html#_Toc425241629- See Also:
-
MDE_PROFILE_CODE_5
- See Also:
-
ASSEMBLY_PORT
-
ASSEMBLY_PORT_V5
-
BASE_LOCAL_URL
-
EXTERNAL_URL
-
SERVICE_URL
-
REST_CALLBACK_URL
-
-
Constructor Details
-
ServiceHelpers
public ServiceHelpers()
-
-
Method Details
-
setupServicePort
public static void setupServicePort(jakarta.xml.ws.BindingProvider bp) Sets up a connection to Tyler's SOAP API WITHOUT any Auth headers, but does handle the X.509 certificate and signing parameters.Can be used to make an Auth request, or can have the header inserted later.
-
setupServicePort
-
setupServicePort
public static void setupServicePort(jakarta.xml.ws.BindingProvider bp, List<org.apache.cxf.headers.Header> headerList) -
getCourts
public static jakarta.ws.rs.core.Response.ResponseBuilder getCourts(CodeDatabase cd, boolean fileableOnly, boolean withNames) Helper for getting all of the valid courts that can be passed to a particular endpoint,- Parameters:
cd-fileableOnly-withNames-- Returns:
-
setupFirmPort
public static Optional<TylerFirmClient> setupFirmPort(TylerFirmFactory firmFactory, jakarta.ws.rs.core.HttpHeaders httpHeaders, Supplier<LoginDatabase> ldSupplier, Jurisdiction jurisdiction) -
setupFirmPort
public static Optional<TylerFirmClient> setupFirmPort(TylerFirmFactory firmFactory, jakarta.ws.rs.core.HttpHeaders httpHeaders, Supplier<LoginDatabase> ldSupplier, boolean needsSoapHeader, Jurisdiction jurisdiction) -
setupFirmPort
public static Optional<TylerFirmClient> setupFirmPort(TylerFirmFactory firmFactory, String tylerToken)
-