Class UriInfo.BuilderBase.UriInfoImpl
java.lang.Object
io.helidon.common.uri.UriInfo.BuilderBase.UriInfoImpl
- All Implemented Interfaces:
Prototype.Api, UriInfo
- Enclosing class:
UriInfo.BuilderBase<BUILDER extends UriInfo.BuilderBase<BUILDER, PROTOTYPE>, PROTOTYPE extends UriInfo>
-
Nested Class Summary
Nested classes/interfaces inherited from interface UriInfo
UriInfo.Builder, UriInfo.BuilderBase<BUILDER, PROTOTYPE>Modifier and TypeInterfaceDescriptionstatic classFluent API builder forUriInfo.static classUriInfo.BuilderBase<BUILDER extends UriInfo.BuilderBase<BUILDER, PROTOTYPE>, PROTOTYPE extends UriInfo>Fluent API builder base forUriInfo. -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedUriInfoImpl(UriInfo.BuilderBase<?, ?> builder) Create an instance providing a builder. -
Method Summary
Modifier and TypeMethodDescriptionbooleanfragment()Uri Fragment of the request.inthashCode()host()Host part of authority of the request.path()Path of the request.intport()Port part of authority of the request.query()URI Query of the request.scheme()Scheme of the request (http,https).toString()
-
Constructor Details
-
UriInfoImpl
Create an instance providing a builder.- Parameters:
builder- extending builder base of this prototype
-
-
Method Details
-
scheme
-
host
-
port
public int port()Description copied from interface:UriInfoPort part of authority of the request. If port is not defined (e.g. authority without a port is used, or none is configured), the default port is used based on the definedUriInfo.scheme()- forhttpthe port would be80, and forhttpsthe port would be443. If the scheme is different, if it ends withs, port would be443, otherwise80. -
path
-
query
-
fragment
Description copied from interface:UriInfoUri Fragment of the request. -
toString
-
equals
-
hashCode
-