EndpointClassHolder (Apache Tomcat 11.0.22 API Documentation)
Description: declaration: package: org.apache.tomcat.websocket, class: EndpointClassHolder

# Class EndpointClassHolder

java.lang.Object
org.apache.tomcat.websocket.EndpointClassHolder

All Implemented Interfaces:
  `ClientEndpointHolder`

public class EndpointClassHolder extends Object implements ClientEndpointHolder

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `EndpointClassHolder(Class<? extends Endpoint> clazz)`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `String`
  `getClassName()`
  `Endpoint`
  `getInstance(InstanceManager instanceManager)`

  ### Methods inherited from class Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- ## Constructor Details

  - ### EndpointClassHolder

    public EndpointClassHolder(Class<? extends Endpoint> clazz)

- ## Method Details

  - ### getClassName

    public String getClassName()
    Specified by:
      `getClassName` in interface `ClientEndpointHolder`

  - ### getInstance

    public Endpoint getInstance(InstanceManager instanceManager) throws DeploymentException
    Specified by:
      `getInstance` in interface `ClientEndpointHolder`
    Throws:
      `DeploymentException`