|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.glassfish.tyrus.DefaultEndpointConfiguration.Builder<T>
protected static class DefaultEndpointConfiguration.Builder<T extends DefaultEndpointConfiguration.Builder>
| Field Summary | |
|---|---|
protected List<Decoder> |
decoders
|
protected List<Encoder> |
encoders
|
protected List<String> |
extensions
|
protected List<String> |
protocols
|
protected String |
uri
|
| Constructor Summary | |
|---|---|
DefaultEndpointConfiguration.Builder(String uri)
Create new DefaultEndpointConfiguration.Builder. |
|
| Method Summary | |
|---|---|
T |
decoders(List<Decoder> decoders)
Set decoders. |
T |
encoders(List<Encoder> encoders)
Set encoders. |
T |
extensions(List<String> extensions)
Set of extensions that this Endpoint would like to use for its sessions. |
T |
protocols(List<String> protocols)
Set preferred sub-protocols that this Endpoint would like to use for its sessions. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected String uri
protected List<Encoder> encoders
protected List<Decoder> decoders
protected List<String> protocols
protected List<String> extensions
| Constructor Detail |
|---|
public DefaultEndpointConfiguration.Builder(String uri)
DefaultEndpointConfiguration.Builder.
uri - URI the corresponding Endpoint will use to connect to.| Method Detail |
|---|
public final T encoders(List<Encoder> encoders)
List has to be ordered in order of preference, favorite first.
encoders - List of encoders ordered as specified above.
DefaultEndpointConfiguration.Builder.public final T decoders(List<Decoder> decoders)
List has to be ordered in order of preference, favorite first.
decoders - List of decoders ordered as specified above.
DefaultEndpointConfiguration.Builder.public T protocols(List<String> protocols)
Endpoint would like to use for its sessions.
The List has to be ordered in order of preference, favorite first.
protocols - List of sub-protocols ordered as specified above.
DefaultEndpointConfiguration.Builder.public T extensions(List<String> extensions)
Endpoint would like to use for its sessions.
The List has to be ordered in order of preference, favorite first.
extensions - List of extensions ordered as specified above.
DefaultEndpointConfiguration.Builder.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||