Class HttpGate
- java.lang.Object
-
- com.e1c.g5.v8.dt.platform.standaloneserver.core.config.AbstractGate
-
- com.e1c.g5.v8.dt.platform.standaloneserver.core.config.HttpGate
-
public class HttpGate extends AbstractGate
The HTTP gateway node of the 1C:Enterprise Standalone server config.
-
-
Constructor Summary
Constructors Constructor Description HttpGate()
Initializes gate using default address and port values.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description HttpGate
copy()
Creates a copy of the instance.boolean
equals(Object object)
String
getBaseUrl()
Returns the gate base URL.List<Publication>
getEndpoint()
String
getPublicationUrl(Publication publication)
Returns the specified publication URL within this gate.int
hashCode()
void
setEndpoint(List<Publication> endpoint)
-
Methods inherited from class com.e1c.g5.v8.dt.platform.standaloneserver.core.config.AbstractGate
getAddress, getPort, setAddress, setPort
-
-
-
-
Method Detail
-
copy
public HttpGate copy()
Creates a copy of the instance.- Returns:
- the copy instance, never
null
-
getEndpoint
public List<Publication> getEndpoint()
- Returns:
- the endpoint
-
setEndpoint
public void setEndpoint(List<Publication> endpoint)
- Parameters:
endpoint
- the endpoint to set
-
getBaseUrl
public String getBaseUrl()
Returns the gate base URL.- Specified by:
getBaseUrl
in classAbstractGate
- Returns:
- the gate base URL, never
null
-
getPublicationUrl
public String getPublicationUrl(Publication publication)
Returns the specified publication URL within this gate.- Parameters:
publication
- the publication to get gate URL for, cannot benull
- Returns:
- the provided publication URL within this gate, never
null
-
equals
public boolean equals(Object object)
- Overrides:
equals
in classAbstractGate
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classAbstractGate
-
-