object HttpEndpoint extends Serializable
HttpEndpoint construction factory
- Alphabetic
- By Inheritance
- HttpEndpoint
- Serializable
- Serializable
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
apply(host: String, port: Integer, path: String, authentication: Option[Authentication] = None): HttpEndpoint
Construct an endpoint from individual parts with the desired path.
-
def
apply(host: String, port: Integer, authentication: Option[Authentication]): HttpEndpoint
Construct an HTTP endpoint from individual parts.
-
def
apply(protocol: String, host: String, port: Integer, path: String, authentication: Option[Authentication]): HttpEndpoint
Construct an endpoint from individual parts.
-
def
apply(endpointString: String, authentication: Option[Authentication]): HttpEndpoint
Construct an endpoint from a string URL representation, which corresponds to [{protocol}://]{host}[:{port}][{path}] Protocol, port and path are optional.
Construct an endpoint from a string URL representation, which corresponds to [{protocol}://]{host}[:{port}][{path}] Protocol, port and path are optional. Default protocol is http://, default port is 80, the default path is empty.
-
def
apply(endpointString: String): HttpEndpoint
Construct an endpoint from a string URL representation, which corresponds to [{protocol}://]{host}[:{port}][{path}] Protocol, port and path are optional.
Construct an endpoint from a string URL representation, which corresponds to [{protocol}://]{host}[:{port}][{path}] Protocol, port and path are optional. Default protocol is http://, default port is 80, the default path is empty.
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
def
localhostWithAutomaticPort(path: String): HttpEndpoint
Get an HTTP endpoint bound to 'localhost' where a free port is automatically assigned and can be used to be bound to.
Get an HTTP endpoint bound to 'localhost' where a free port is automatically assigned and can be used to be bound to.
The generated endpoint will be http://localhost:{assigned-port}{path}
- path
the desired path part for the endpoint
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )